Class ProjectsResource.LocationsResource.WorkstationClustersResource.WorkstationConfigsResource.WorkstationsResource.GenerateAccessTokenRequest
Returns a short-lived credential that can be used to send authenticated and authorized traffic to a workstation.
Inheritance
ProjectsResource.LocationsResource.WorkstationClustersResource.WorkstationConfigsResource.WorkstationsResource.GenerateAccessTokenRequest
Inherited Members
Namespace: Google.Apis.CloudWorkstations.v1
Assembly: Google.Apis.CloudWorkstations.v1.dll
Syntax
public class ProjectsResource.LocationsResource.WorkstationClustersResource.WorkstationConfigsResource.WorkstationsResource.GenerateAccessTokenRequest : CloudWorkstationsBaseServiceRequest<GenerateAccessTokenResponse>, IClientServiceRequest<GenerateAccessTokenResponse>, IClientServiceRequest
Constructors
GenerateAccessTokenRequest(IClientService, GenerateAccessTokenRequest, string)
Constructs a new GenerateAccessToken request.
Declaration
public GenerateAccessTokenRequest(IClientService service, GenerateAccessTokenRequest body, string workstation)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GenerateAccessTokenRequest | body | |
string | workstation |
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
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Workstation
Required. Name of the workstation for which the access token should be generated.
Declaration
[RequestParameter("workstation", RequestParameterType.Path)]
public virtual string Workstation { get; }
Property Value
Type | Description |
---|---|
string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes GenerateAccessToken parameter list.
Declaration
protected override void InitParameters()