Kinetica   C#   API  Version 7.2.3.0
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 
164  string permission,
165  string table_name,
166  IDictionary<string, string> options = null)
167  {
168  this.name = name ?? "";
169  this.permission = permission ?? "";
170  this.table_name = table_name ?? "";
171  this.options = options ?? new Dictionary<string, string>();
172  } // end constructor
173  } // end class RevokePermissionTableRequest
174 
179  {
182  public string name { get; set; }
183 
187  public string permission { get; set; }
188 
192  public string table_name { get; set; }
193 
195  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
196  } // end class RevokePermissionTableResponse
197 } // end namespace kinetica
const string TABLE_READ
Read access to the table.
IDictionary< string, string > info
Additional information.
const string TABLE_INSERT
Insert access to the table.
RevokePermissionTableRequest()
Constructs a RevokePermissionTableRequest object with default parameters.
A set of results returned by Kinetica.revokePermissionTable.
A set of string constants for the parameter options.
RevokePermissionTableRequest(string name, string permission, string table_name, IDictionary< string, string > options=null)
Constructs a RevokePermissionTableRequest object with the specified parameters.
string permission
Permission to revoke from the user or role.
const string COLUMNS
Apply security to these columns, comma-separated.
const string TABLE_DELETE
Delete access to the table.
const string TABLE_UPDATE
Update access to the table.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
A set of string constants for the parameter permission.
const string TABLE_ADMIN
Full read/write and administrative access to the table.
string table_name
Name of the table to which the permission grants access, in [schema_name.
IDictionary< string, string > options
Optional parameters.
string name
Name of the user or role from which the permission will be revoked.
A set of parameters for Kinetica.revokePermissionTable.