Class ProjectsResource.LocationsResource.InstancesResource.GetAuthStringRequest
Gets the AUTH string for a Redis instance. If AUTH is not enabled for the instance the response will be empty. This information is not included in the details returned to GetInstance.
Inheritance
ProjectsResource.LocationsResource.InstancesResource.GetAuthStringRequest
Inherited Members
Namespace: Google.Apis.CloudRedis.v1
Assembly: Google.Apis.CloudRedis.v1.dll
Syntax
public class ProjectsResource.LocationsResource.InstancesResource.GetAuthStringRequest : CloudRedisBaseServiceRequest<InstanceAuthString>, IClientServiceRequest<InstanceAuthString>, IClientServiceRequest
Constructors
GetAuthStringRequest(IClientService, string)
Constructs a new GetAuthString request.
Declaration
public GetAuthStringRequest(IClientService service, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | name |
Properties
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
Name
Required. Redis instance resource name using the form:
projects/{project_id}/locations/{location_id}/instances/{instance_id}
where location_id
refers to a GCP region.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes GetAuthString parameter list.
Declaration
protected override void InitParameters()