Kinetica C# API  Version 7.1.10.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
RevokePermission.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 
21  {
22 
89  public struct ObjectType
90  {
91 
93  public const string CONTEXT = "context";
94 
96  public const string CREDENTIAL = "credential";
97 
99  public const string DATASINK = "datasink";
100 
102  public const string DATASOURCE = "datasource";
103 
105  public const string DIRECTORY = "directory";
106 
108  public const string GRAPH = "graph";
109 
111  public const string PROC = "proc";
112 
114  public const string SCHEMA = "schema";
115 
117  public const string SQL_PROC = "sql_proc";
118 
120  public const string SYSTEM = "system";
121 
123  public const string TABLE = "table";
124 
126  public const string TABLE_MONITOR = "table_monitor";
127  } // end struct ObjectType
128 
129 
187  public struct Permission
188  {
189 
192  public const string ADMIN = "admin";
193 
196  public const string CONNECT = "connect";
197 
199  public const string DELETE = "delete";
200 
202  public const string EXECUTE = "execute";
203 
205  public const string INSERT = "insert";
206 
208  public const string READ = "read";
209 
211  public const string UPDATE = "update";
212 
215  public const string USER_ADMIN = "user_admin";
216 
218  public const string WRITE = "write";
219  } // end struct Permission
220 
221 
234  public struct Options
235  {
236 
239  public const string COLUMNS = "columns";
240  } // end struct Options
241 
242 
246  public string principal { get; set; } = "";
247 
251  public string _object { get; set; }
252 
317  public string object_type { get; set; }
318 
374  public string permission { get; set; }
375 
386  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
387 
388 
392 
533  string _object,
534  string object_type,
535  string permission,
536  IDictionary<string, string> options = null)
537  {
538  this.principal = principal ?? "";
539  this._object = _object ?? "";
540  this.object_type = object_type ?? "";
541  this.permission = permission ?? "";
542  this.options = options ?? new Dictionary<string, string>();
543  } // end constructor
544 
545  } // end class RevokePermissionRequest
546 
547 
548 
553  {
554 
557  public string principal { get; set; }
558 
561  public string _object { get; set; }
562 
565  public string object_type { get; set; }
566 
569  public string permission { get; set; }
570 
572  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
573 
574  } // end class RevokePermissionResponse
575 
576 
577 
578 
579 } // end namespace kinetica
const string ADMIN
Full read/write and administrative access on the object.
string permission
Permission being revoked.
RevokePermissionRequest(string principal, string _object, string object_type, string permission, IDictionary< string, string > options=null)
Constructs a RevokePermissionRequest object with the specified parameters.
const string COLUMNS
Revoke table security from these columns, comma-separated.
string _object
Name of object permission is being revoked from.
const string EXECUTE
Ability to Execute the Procedure object.
A set of results returned by Kinetica.revokePermission(string,string,string,string,IDictionary{string, string}).
const string WRITE
Access to write, change and delete objects.
const string INSERT
Insert access to tables.
string principal
Name of the user or role for which the permission is being revoked.
const string UPDATE
Update access to the table.
const string USER_ADMIN
Access to administer users and roles that do not have system_admin permission.
string object_type
The type of object being revoked Supported values: CONTEXT: Context CREDENTIAL: Credential DATASINK...
A set of parameters for Kinetica.revokePermission(string,string,string,string,IDictionary{string, string}).
const string DELETE
Delete rows from tables.
const string READ
Ability to read, list and use the object.
const string SYSTEM
System-level access
const string DIRECTORY
KIFS File Directory
IDictionary< string, string > options
Optional parameters.
The type of object being revoked Supported values: CONTEXT: Context CREDENTIAL: Credential DATASINK...
IDictionary< string, string > info
Additional information.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
const string CONNECT
Connect access on the given data source or data sink.
RevokePermissionRequest()
Constructs a RevokePermissionRequest object with default parameters.