Kinetica C# API  Version 6.2.0.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 
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 
77  public string name { get; set; }
78 
109  public string permission { get; set; }
110 
115  public string table_name { get; set; }
116 
119  public string filter_expression { get; set; } = "";
120 
123  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
124 
125 
129 
175  string permission,
176  string table_name,
177  string filter_expression = null,
178  IDictionary<string, string> options = null)
179  {
180  this.name = name ?? "";
181  this.permission = permission ?? "";
182  this.table_name = table_name ?? "";
184  this.options = options ?? new Dictionary<string, string>();
185  } // end constructor
186 
187  } // end class GrantPermissionTableRequest
188 
189 
190 
195  {
196 
199  public string name { get; set; }
200 
203  public string permission { get; set; }
204 
207  public string table_name { get; set; }
208 
212  public string filter_expression { get; set; }
213 
214  } // end class GrantPermissionTableResponse
215 
216 
217 
218 
219 } // end namespace kinetica
GrantPermissionTableRequest()
Constructs a GrantPermissionTableRequest object with default parameters.
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
Reserved for future use.
string name
Name of the user or role to which the permission will be granted.
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.
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.