Kinetica C# API  Version 7.1.10.0
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Pages
GrantPermissionDatasource.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 
21  {
22 
41  public struct Permission
42  {
43 
45  public const string ADMIN = "admin";
46 
48  public const string CONNECT = "connect";
49  } // end struct Permission
50 
51 
54  public string name { get; set; }
55 
72  public string permission { get; set; }
73 
77  public string datasource_name { get; set; }
78 
81  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
82 
83 
87 
116  string permission,
117  string datasource_name,
118  IDictionary<string, string> options = null)
119  {
120  this.name = name ?? "";
121  this.permission = permission ?? "";
122  this.datasource_name = datasource_name ?? "";
123  this.options = options ?? new Dictionary<string, string>();
124  } // end constructor
125 
126  } // end class GrantPermissionDatasourceRequest
127 
128 
129 
134  {
135 
138  public string name { get; set; }
139 
142  public string permission { get; set; }
143 
147  public string datasource_name { get; set; }
148 
150  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
151 
152  } // end class GrantPermissionDatasourceResponse
153 
154 
155 
156 
157 } // end namespace kinetica
Permission to grant to the user or role Supported values: ADMIN: Admin access on the given data sourc...
string datasource_name
Name of the data source on which the permission will be granted.
A set of parameters for Kinetica.grantPermissionDatasource(string,string,string,IDictionary{string, string}).
GrantPermissionDatasourceRequest(string name, string permission, string datasource_name, IDictionary< string, string > options=null)
Constructs a GrantPermissionDatasourceRequest object with the specified parameters.
A set of results returned by Kinetica.grantPermissionDatasource(string,string,string,IDictionary{string, string}).
GrantPermissionDatasourceRequest()
Constructs a GrantPermissionDatasourceRequest object with default parameters.
const string CONNECT
Connect access on the given data source
IDictionary< string, string > options
Optional parameters.
const string ADMIN
Admin access on the given data source
string name
Name of the user or role to which the permission will be granted.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
string permission
Permission to grant to the user or role Supported values: ADMIN: Admin access on the given data sourc...
IDictionary< string, string > info
Additional information.