Kinetica C# API  Version 7.1.10.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
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 
10 
11 namespace kinetica
12 {
13 
20  {
21 
38  public struct Permission
39  {
40 
42  public const string PROC_ADMIN = "proc_admin";
43 
45  public const string PROC_EXECUTE = "proc_execute";
46  } // end struct Permission
47 
48 
51  public string name { get; set; }
52 
67  public string permission { get; set; }
68 
72  public string proc_name { get; set; }
73 
76  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
77 
78 
82 
111  string permission,
112  string proc_name,
113  IDictionary<string, string> options = null)
114  {
115  this.name = name ?? "";
116  this.permission = permission ?? "";
117  this.proc_name = proc_name ?? "";
118  this.options = options ?? new Dictionary<string, string>();
119  } // end constructor
120 
121  } // end class RevokePermissionProcRequest
122 
123 
124 
129  {
130 
133  public string name { get; set; }
134 
137  public string permission { get; set; }
138 
141  public string proc_name { get; set; }
142 
144  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
145 
146  } // end class RevokePermissionProcResponse
147 
148 
149 
150 
151 } // end namespace kinetica
string name
Name of the user or role from which the permission will be revoked.
RevokePermissionProcRequest()
Constructs a RevokePermissionProcRequest object with default parameters.
string permission
Permission to revoke from the user or role.
Permission to revoke from the user or role.
A set of results returned by Kinetica.revokePermissionProc(string,string,string,IDictionary{string, string}).
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.
IDictionary< string, string > options
Optional parameters.
A set of parameters for Kinetica.revokePermissionProc(string,string,string,IDictionary{string, string}).
const string PROC_EXECUTE
Execute access to the proc.
string proc_name
Name of the proc to which the permission grants access.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
const string PROC_ADMIN
Admin access to the proc.