Kinetica   C#   API  Version 7.2.3.1
RevokePermissionProc.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 {
22  public struct Permission
23  {
25  public const string PROC_ADMIN = "proc_admin";
26 
28  public const string PROC_EXECUTE = "proc_execute";
29  } // end struct Permission
30 
34  public string name { get; set; }
35 
50  public string permission { get; set; }
51 
56  public string proc_name { get; set; }
57 
61  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
62 
66 
92  string permission,
93  string proc_name,
94  IDictionary<string, string> options = null)
95  {
96  this.name = name ?? "";
97  this.permission = permission ?? "";
98  this.proc_name = proc_name ?? "";
99  this.options = options ?? new Dictionary<string, string>();
100  } // end constructor
101 } // end class RevokePermissionProcRequest
102 
107 {
110  public string name { get; set; }
111 
115  public string permission { get; set; }
116 
119  public string proc_name { get; set; }
120 
122  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
123 } // end class RevokePermissionProcResponse
string name
Name of the user or role from which the permission will be revoked.
string permission
Permission to revoke from the user or role.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
RevokePermissionProcRequest()
Constructs a RevokePermissionProcRequest object with default parameters.
A set of results returned by Kinetica.revokePermissionProc.
A set of string constants for the parameter permission.
A set of parameters for Kinetica.revokePermissionProc.
const string PROC_ADMIN
Admin access to the proc.
const string PROC_EXECUTE
Execute access to the proc.
IDictionary< string, string > options
Optional parameters.
string proc_name
Value of proc_name.
string permission
Value of permission.
IDictionary< string, string > info
Additional information.
RevokePermissionProcRequest(string name, string permission, string proc_name, IDictionary< string, string > options=null)
Constructs a RevokePermissionProcRequest object with the specified parameters.
string proc_name
Name of the proc to which the permission grants access.