Kinetica C# API  Version 6.1.0.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 
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 
118  public string filter_expression { get; set; } = "";
119 
121  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
122 
123 
127 
171  string permission,
172  string table_name,
173  string filter_expression,
174  IDictionary<string, string> options)
175  {
176  this.name = name ?? "";
177  this.permission = permission ?? "";
178  this.table_name = table_name ?? "";
179  this.filter_expression = filter_expression ?? "";
180  this.options = options ?? new Dictionary<string, string>();
181  } // end constructor
182 
183  } // end class GrantPermissionTableRequest
184 
185 
186 
191  {
192 
195  public string name { get; set; }
196 
199  public string permission { get; set; }
200 
203  public string table_name { get; set; }
204 
208  public string filter_expression { get; set; }
209 
210  } // end class GrantPermissionTableResponse
211 
212 
213 
214 
215 } // 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, IDictionary< string, string > options)
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.