Kinetica   C#   API  Version 7.2.3.1
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 CATALOG = "catalog";
25 
27  public const string CONTEXT = "context";
28 
30  public const string CREDENTIAL = "credential";
31 
33  public const string DATASINK = "datasink";
34 
36  public const string DATASOURCE = "datasource";
37 
39  public const string DIRECTORY = "directory";
40 
42  public const string GRAPH = "graph";
43 
45  public const string PROC = "proc";
46 
48  public const string SCHEMA = "schema";
49 
51  public const string SQL_PROC = "sql_proc";
52 
54  public const string SYSTEM = "system";
55 
57  public const string TABLE = "table";
58 
60  public const string TABLE_MONITOR = "table_monitor";
61  } // end struct ObjectType
62 
66  public struct Permission
67  {
70  public const string ADMIN = "admin";
71 
74  public const string CONNECT = "connect";
75 
77  public const string CREATE = "create";
78 
80  public const string DELETE = "delete";
81 
83  public const string EXECUTE = "execute";
84 
86  public const string INSERT = "insert";
87 
89  public const string MONITOR = "monitor";
90 
92  public const string READ = "read";
93 
95  public const string SEND_ALERT = "send_alert";
96 
98  public const string UPDATE = "update";
99 
102  public const string USER_ADMIN = "user_admin";
103 
105  public const string WRITE = "write";
106  } // end struct Permission
107 
111  public struct Options
112  {
116  public const string COLUMNS = "columns";
117  } // end struct Options
118 
123  public string principal { get; set; } = "";
124 
128  public string _object { get; set; }
129 
189  public string object_type { get; set; }
190 
252  public string permission { get; set; }
253 
263  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
264 
268 
407  string _object,
408  string object_type,
409  string permission,
410  IDictionary<string, string> options = null)
411  {
412  this.principal = principal ?? "";
413  this._object = _object ?? "";
414  this.object_type = object_type ?? "";
415  this.permission = permission ?? "";
416  this.options = options ?? new Dictionary<string, string>();
417  } // end constructor
418 } // end class RevokePermissionRequest
419 
424 {
427  public string principal { get; set; }
428 
431  public string _object { get; set; }
432 
435  public string object_type { get; set; }
436 
439  public string permission { get; set; }
440 
442  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
443 } // end class RevokePermissionResponse
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 USER_ADMIN
Access to administer users and roles that do not have system_admin permission.
const string COLUMNS
Revoke table security from these columns, comma-separated.
string principal
Value of principal.
const string WRITE
Access to write, change and delete objects.
const string SEND_ALERT
Ability to send system alerts.
A set of string constants for the parameter options.
string _object
Value of _object.
const string DATASOURCE
Data Source
const string INSERT
Insert access to tables.
const string SYSTEM
System-level access
const string PROC
UDF Procedure
A set of string constants for the parameter permission.
string permission
Permission being revoked.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
const string MONITOR
Monitor logs and statistics.
const string UPDATE
Update access to the table.
const string TABLE_MONITOR
Table monitor
const string ADMIN
Full read/write and administrative access on the object.
const string TABLE
Database Table
string object_type
The type of object being revoked.
string _object
Name of object permission is being revoked from.
const string READ
Ability to read, list and use the object.
const string CONNECT
Connect access on the given data source or data sink.
const string EXECUTE
Ability to Execute the Procedure object.
const string CREATE
Ability to create new objects of this type.
IDictionary< string, string > options
Optional parameters.
string principal
Name of the user or role for which the permission is being revoked.
string object_type
Value of object_type.
const string CREDENTIAL
Credential
A set of parameters for Kinetica.revokePermission.
const string GRAPH
A Graph object
A set of string constants for the parameter object_type.
RevokePermissionRequest()
Constructs a RevokePermissionRequest object with default parameters.
IDictionary< string, string > info
Additional information.
A set of results returned by Kinetica.revokePermission.
const string DIRECTORY
KIFS File Directory
string permission
Value of permission.
const string DELETE
Delete rows from tables.
const string SQL_PROC
SQL Procedure