Kinetica C# API  Version 7.1.10.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
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 
10 
11 namespace kinetica
12 {
13 
20  {
21 
54  public struct Permission
55  {
56 
59  public const string TABLE_ADMIN = "table_admin";
60 
62  public const string TABLE_INSERT = "table_insert";
63 
65  public const string TABLE_UPDATE = "table_update";
66 
68  public const string TABLE_DELETE = "table_delete";
69 
71  public const string TABLE_READ = "table_read";
72  } // end struct Permission
73 
74 
87  public struct Options
88  {
89 
92  public const string COLUMNS = "columns";
93  } // end struct Options
94 
95 
98  public string name { get; set; }
99 
130  public string permission { get; set; }
131 
138  public string table_name { get; set; }
139 
143  public string filter_expression { get; set; } = "";
144 
155  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
156 
157 
161 
218  string permission,
219  string table_name,
220  string filter_expression = null,
221  IDictionary<string, string> options = null)
222  {
223  this.name = name ?? "";
224  this.permission = permission ?? "";
225  this.table_name = table_name ?? "";
226  this.filter_expression = filter_expression ?? "";
227  this.options = options ?? new Dictionary<string, string>();
228  } // end constructor
229 
230  } // end class GrantPermissionTableRequest
231 
232 
233 
238  {
239 
242  public string name { get; set; }
243 
246  public string permission { get; set; }
247 
250  public string table_name { get; set; }
251 
255  public string filter_expression { get; set; }
256 
258  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
259 
260  } // end class GrantPermissionTableResponse
261 
262 
263 
264 
265 } // end namespace kinetica
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(string,string,string,string,IDictionary{string, string}).
A set of results returned by Kinetica.grantPermissionTable(string,string,string,string,IDictionary{string, string}).
const string TABLE_INSERT
Insert access to the table.
IDictionary< string, string > options
Optional parameters.
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
Permission to grant to the user or role.
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.