Kinetica   C#   API  Version 7.2.3.0
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 namespace kinetica
10 {
17  {
21  public struct ObjectType
22  {
24  public const string CONTEXT = "context";
25 
27  public const string CREDENTIAL = "credential";
28 
30  public const string DATASINK = "datasink";
31 
33  public const string DATASOURCE = "datasource";
34 
36  public const string DIRECTORY = "directory";
37 
39  public const string GRAPH = "graph";
40 
42  public const string PROC = "proc";
43 
45  public const string SCHEMA = "schema";
46 
48  public const string SQL_PROC = "sql_proc";
49 
51  public const string SYSTEM = "system";
52 
54  public const string TABLE = "table";
55 
57  public const string TABLE_MONITOR = "table_monitor";
58  } // end struct ObjectType
59 
63  public struct Permission
64  {
67  public const string ADMIN = "admin";
68 
71  public const string CONNECT = "connect";
72 
74  public const string CREATE = "create";
75 
77  public const string DELETE = "delete";
78 
80  public const string EXECUTE = "execute";
81 
83  public const string INSERT = "insert";
84 
86  public const string READ = "read";
87 
89  public const string UPDATE = "update";
90 
93  public const string USER_ADMIN = "user_admin";
94 
96  public const string WRITE = "write";
97  } // end struct Permission
98 
102  public struct Options
103  {
107  public const string COLUMNS = "columns";
108  } // end struct Options
109 
114  public string principal { get; set; } = "";
115 
119  public string _object { get; set; }
120 
179  public string object_type { get; set; }
180 
233  public string permission { get; set; }
234 
244  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
245 
249 
379  string _object,
380  string object_type,
381  string permission,
382  IDictionary<string, string> options = null)
383  {
384  this.principal = principal ?? "";
385  this._object = _object ?? "";
386  this.object_type = object_type ?? "";
387  this.permission = permission ?? "";
388  this.options = options ?? new Dictionary<string, string>();
389  } // end constructor
390  } // end class RevokePermissionRequest
391 
396  {
399  public string principal { get; set; }
400 
403  public string _object { get; set; }
404 
408  public string object_type { get; set; }
409 
413  public string permission { get; set; }
414 
416  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
417  } // end class RevokePermissionResponse
418 } // 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.
string object_type
Value of object_type.
const string COLUMNS
Revoke table security from these columns, comma-separated.
string _object
Name of object permission is being revoked from.
const string CREATE
Ability to create new objects of this type.
string principal
Value of principal.
const string EXECUTE
Ability to Execute the Procedure object.
A set of results returned by Kinetica.revokePermission.
const string WRITE
Access to write, change and delete objects.
const string INSERT
Insert access to tables.
string permission
Value of permission.
string principal
Name of the user or role for which the permission is being revoked.
const string UPDATE
Update access to the table.
A set of string constants for the parameter options.
A set of string constants for the parameter permission.
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.
A set of parameters for Kinetica.revokePermission.
string _object
Value of _object.
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.
A set of string constants for the parameter object_type.
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.