Kinetica   C#   API  Version 7.2.3.0
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 
102  public string filter_expression { get; set; } = "";
103 
113  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
114 
118 
173  string permission,
174  string table_name,
175  string filter_expression = null,
176  IDictionary<string, string> options = null)
177  {
178  this.name = name ?? "";
179  this.permission = permission ?? "";
180  this.table_name = table_name ?? "";
182  this.options = options ?? new Dictionary<string, string>();
183  } // end constructor
184  } // end class GrantPermissionTableRequest
185 
190  {
193  public string name { get; set; }
194 
198  public string permission { get; set; }
199 
203  public string table_name { get; set; }
204 
208  public string filter_expression { get; set; }
209 
211  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
212  } // end class GrantPermissionTableResponse
213 } // end namespace kinetica
string filter_expression
Value of filter_expression.
GrantPermissionTableRequest()
Constructs a GrantPermissionTableRequest object with default parameters.
const string COLUMNS
Apply security to these columns, comma-separated.
const string TABLE_ADMIN
Full read/write and administrative access to the table.
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.
const string TABLE_DELETE
Delete access to the table.
A set of parameters for Kinetica.grantPermissionTable.
A set of results returned by Kinetica.grantPermissionTable.
const string TABLE_INSERT
Insert access to the table.
IDictionary< string, string > options
Optional parameters.
A set of string constants for the parameter options.
string filter_expression
Optional filter expression to apply to this grant.
string name
Name of the user or role to which the permission will be granted.
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
Name of the table to which the permission grants access, in [schema_name.
string permission
Permission to grant to the user or role.
const string TABLE_UPDATE
Update access to the table.
const string TABLE_READ
Read access to the table.