Kinetica C# API  Version 6.0.1.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 
18  {
19 
25  public struct Permission
26  {
27 
30  public const string TABLE_ADMIN = "table_admin";
31 
33  public const string TABLE_INSERT = "table_insert";
34 
36  public const string TABLE_UPDATE = "table_update";
37 
39  public const string TABLE_DELETE = "table_delete";
40 
42  public const string TABLE_READ = "table_read";
43  } // end struct Permission
44 
45 
48  public string name { get; set; }
49 
53  public string permission { get; set; }
54 
59  public string table_name { get; set; }
60 
62  public string filter_expression { get; set; } = "";
63 
65  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
66 
67 
71 
89  string permission,
90  string table_name,
91  string filter_expression,
92  IDictionary<string, string> options)
93  {
94  this.name = name ?? "";
95  this.permission = permission ?? "";
96  this.table_name = table_name ?? "";
97  this.filter_expression = filter_expression ?? "";
98  this.options = options ?? new Dictionary<string, string>();
99  } // end constructor
100 
101  } // end class GrantPermissionTableRequest
102 
103 
104 
108  {
109 
112  public string name { get; set; }
113 
116  public string permission { get; set; }
117 
120  public string table_name { get; set; }
121 
125  public string filter_expression { get; set; }
126 
127  } // end class GrantPermissionTableResponse
128 
129 
130 
131 
132 } // 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 /grant/permission/table.
A set of results returned by /grant/permission/table.
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.