Kinetica   C#   API  Version 7.2.3.1
RevokePermissionTable.cs
Go to the documentation of this file.
1 /*
2  * This file was autogenerated by the Kinetica schema processor.
3  *
4  * DO NOT EDIT DIRECTLY.
5  */
6 
7 using System.Collections.Generic;
8 
9 namespace kinetica;
10 
17 {
22  public struct Permission
23  {
26  public const string TABLE_ADMIN = "table_admin";
27 
29  public const string TABLE_INSERT = "table_insert";
30 
32  public const string TABLE_UPDATE = "table_update";
33 
35  public const string TABLE_DELETE = "table_delete";
36 
38  public const string TABLE_READ = "table_read";
39  } // end struct Permission
40 
44  public struct Options
45  {
49  public const string COLUMNS = "columns";
50  } // end struct Options
51 
55  public string name { get; set; }
56 
87  public string permission { get; set; }
88 
95  public string table_name { get; set; }
96 
106  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
107 
111 
162  string permission,
163  string table_name,
164  IDictionary<string, string> options = null)
165  {
166  this.name = name ?? "";
167  this.permission = permission ?? "";
168  this.table_name = table_name ?? "";
169  this.options = options ?? new Dictionary<string, string>();
170  } // end constructor
171 } // end class RevokePermissionTableRequest
172 
177 {
180  public string name { get; set; }
181 
185  public string permission { get; set; }
186 
190  public string table_name { get; set; }
191 
193  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
194 } // end class RevokePermissionTableResponse
RevokePermissionTableRequest()
Constructs a RevokePermissionTableRequest object with default parameters.
string table_name
Name of the table to which the permission grants access, in [schema_name.
string permission
Permission to revoke from the user or role.
A set of string constants for the parameter options.
const string TABLE_INSERT
Insert access to the table.
const string TABLE_DELETE
Delete access to the table.
IDictionary< string, string > info
Additional information.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
A set of string constants for the parameter permission.
string table_name
Value of table_name.
const string COLUMNS
Apply security to these columns, comma-separated.
string permission
Value of permission.
const string TABLE_UPDATE
Update access to the table.
string name
Name of the user or role from which the permission will be revoked.
A set of parameters for Kinetica.revokePermissionTable.
const string TABLE_READ
Read access to the table.
const string TABLE_ADMIN
Full read/write and administrative access to the table.
RevokePermissionTableRequest(string name, string permission, string table_name, IDictionary< string, string > options=null)
Constructs a RevokePermissionTableRequest object with the specified parameters.
IDictionary< string, string > options
Optional parameters.
A set of results returned by Kinetica.revokePermissionTable.