Kinetica C# API  Version 7.0.19.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 
136  public string table_name { get; set; }
137 
141  public string filter_expression { get; set; } = "";
142 
153  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
154 
155 
159 
214  string permission,
215  string table_name,
216  string filter_expression = null,
217  IDictionary<string, string> options = null)
218  {
219  this.name = name ?? "";
220  this.permission = permission ?? "";
221  this.table_name = table_name ?? "";
222  this.filter_expression = filter_expression ?? "";
223  this.options = options ?? new Dictionary<string, string>();
224  } // end constructor
225 
226  } // end class GrantPermissionTableRequest
227 
228 
229 
234  {
235 
238  public string name { get; set; }
239 
242  public string permission { get; set; }
243 
246  public string table_name { get; set; }
247 
251  public string filter_expression { get; set; }
252 
254  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
255 
256  } // end class GrantPermissionTableResponse
257 
258 
259 
260 
261 } // 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.
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.