Kinetica   C#   API  Version 7.2.3.1
GrantPermissionCredential.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 
19 {
24  public struct Permission
25  {
28  public const string CREDENTIAL_ADMIN = "credential_admin";
29 
31  public const string CREDENTIAL_READ = "credential_read";
32  } // end struct Permission
33 
37  public string name { get; set; }
38 
56  public string permission { get; set; }
57 
62  public string credential_name { get; set; }
63 
67  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
68 
72 
101  string permission,
102  string credential_name,
103  IDictionary<string, string> options = null)
104  {
105  this.name = name ?? "";
106  this.permission = permission ?? "";
107  this.credential_name = credential_name ?? "";
108  this.options = options ?? new Dictionary<string, string>();
109  } // end constructor
110 } // end class GrantPermissionCredentialRequest
111 
116 {
119  public string name { get; set; }
120 
124  public string permission { get; set; }
125 
129  public string credential_name { get; set; }
130 
132  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
133 } // end class GrantPermissionCredentialResponse
IDictionary< string, string > info
Additional information.
GrantPermissionCredentialRequest()
Constructs a GrantPermissionCredentialRequest object with default parameters.
const string CREDENTIAL_READ
Ability to read and use the credential.
GrantPermissionCredentialRequest(string name, string permission, string credential_name, IDictionary< string, string > options=null)
Constructs a GrantPermissionCredentialRequest object with the specified parameters.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
A set of results returned by Kinetica.grantPermissionCredential.
IDictionary< string, string > options
Optional parameters.
string credential_name
Value of credential_name.
string credential_name
Name of the credential on which the permission will be granted.
string name
Name of the user or role to which the permission will be granted.
string permission
Permission to grant to the user or role.
const string CREDENTIAL_ADMIN
Full read/write and administrative access on the credential.
A set of parameters for Kinetica.grantPermissionCredential.
A set of string constants for the parameter permission.