Class ProjectsResource.LocationsResource.ClustersResource.AddTokenAuthUserRequest
Adds a token auth user for a token based auth enabled cluster.
Inheritance
ProjectsResource.LocationsResource.ClustersResource.AddTokenAuthUserRequest
Inherited Members
Namespace: Google.Apis.CloudRedis.v1beta1
Assembly: Google.Apis.CloudRedis.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.ClustersResource.AddTokenAuthUserRequest : CloudRedisBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
AddTokenAuthUserRequest(IClientService, AddTokenAuthUserRequest, string)
Constructs a new AddTokenAuthUser request.
Declaration
public AddTokenAuthUserRequest(IClientService service, AddTokenAuthUserRequest body, string cluster)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| AddTokenAuthUserRequest | body | |
| string | cluster |
Properties
Cluster
Required. The cluster resource that this token auth user will be added for. Format: projects/{project}/locations/{location}/clusters/{cluster}
Declaration
[RequestParameter("cluster", RequestParameterType.Path)]
public virtual string Cluster { get; }
Property Value
| Type | Description |
|---|---|
| string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes AddTokenAuthUser parameter list.
Declaration
protected override void InitParameters()