Kinetica C# API  Version 6.2.0.1
RevokePermissionTable.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 
113  public string table_name { get; set; }
114 
117  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
118 
119 
123 
168  string permission,
169  string table_name,
170  IDictionary<string, string> options = null)
171  {
172  this.name = name ?? "";
173  this.permission = permission ?? "";
174  this.table_name = table_name ?? "";
175  this.options = options ?? new Dictionary<string, string>();
176  } // end constructor
177 
178  } // end class RevokePermissionTableRequest
179 
180 
181 
186  {
187 
190  public string name { get; set; }
191 
194  public string permission { get; set; }
195 
198  public string table_name { get; set; }
199 
200  } // end class RevokePermissionTableResponse
201 
202 
203 
204 
205 } // end namespace kinetica
const string TABLE_READ
Read access to the table.
const string TABLE_INSERT
Insert access to the table.
RevokePermissionTableRequest()
Constructs a RevokePermissionTableRequest object with default parameters.
A set of results returned by Kinetica.revokePermissionTable(string,string,string,IDictionary<string, string>).
RevokePermissionTableRequest(string name, string permission, string table_name, IDictionary< string, string > options=null)
Constructs a RevokePermissionTableRequest object with the specified parameters.
string permission
Permission to revoke from the user or role.
const string TABLE_DELETE
Delete access to the table.
const string TABLE_UPDATE
Update access to the table.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
Permission to revoke from the user or role.
const string TABLE_ADMIN
Full read/write and administrative access to the table.
string table_name
Name of the table to which the permission grants access.
IDictionary< string, string > options
Optional parameters.
string name
Name of the user or role from which the permission will be revoked.
A set of parameters for Kinetica.revokePermissionTable(string,string,string,IDictionary<string, string>).