Kinetica   C#   API  Version 7.2.3.1
GrantPermissionTable.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 
96  public string table_name { get; set; }
97 
101  public string filter_expression { get; set; } = "";
102 
112  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
113 
117 
172  string permission,
173  string table_name,
174  string filter_expression = null,
175  IDictionary<string, string> options = null)
176  {
177  this.name = name ?? "";
178  this.permission = permission ?? "";
179  this.table_name = table_name ?? "";
181  this.options = options ?? new Dictionary<string, string>();
182  } // end constructor
183 } // end class GrantPermissionTableRequest
184 
189 {
192  public string name { get; set; }
193 
197  public string permission { get; set; }
198 
202  public string table_name { get; set; }
203 
207  public string filter_expression { get; set; }
208 
210  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
211 } // end class GrantPermissionTableResponse
string permission
Value of permission.
string name
Name of the user or role to which the permission will be granted.
IDictionary< string, string > options
Optional parameters.
string table_name
Value of table_name.
const string TABLE_UPDATE
Update access to the table.
string permission
Permission to grant to the user or role.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
string filter_expression
Optional filter expression to apply to this grant.
A set of results returned by Kinetica.grantPermissionTable.
const string TABLE_INSERT
Insert access to the table.
IDictionary< string, string > info
Additional information.
string filter_expression
Value of filter_expression.
const string TABLE_DELETE
Delete access to the table.
const string TABLE_ADMIN
Full read/write and administrative access to the table.
A set of parameters for Kinetica.grantPermissionTable.
A set of string constants for the parameter options.
const string COLUMNS
Apply security to these columns, comma-separated.
const string TABLE_READ
Read access to the table.
A set of string constants for the parameter permission.
GrantPermissionTableRequest()
Constructs a GrantPermissionTableRequest object with default parameters.
string table_name
Name of the table to which the permission grants access, in [schema_name.
GrantPermissionTableRequest(string name, string permission, string table_name, string filter_expression=null, IDictionary< string, string > options=null)
Constructs a GrantPermissionTableRequest object with the specified parameters.