Class ProjectsResource.LocationsResource.NotebookExecutionJobsResource.GenerateAccessTokenRequest
Internal only: Called from Compute Engine instance to obtain EUC for owner Anonymous access: authenticates caller using VM identity JWT. Design doc: go/colab-on-vertex-euc-dd
Inheritance
ProjectsResource.LocationsResource.NotebookExecutionJobsResource.GenerateAccessTokenRequest
Implements
Inherited Members
AiplatformBaseServiceRequest<GoogleCloudAiplatformV1beta1GenerateAccessTokenResponse>.UploadProtocol
Namespace: Google.Apis.Aiplatform.v1beta1
Assembly: Google.Apis.Aiplatform.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.NotebookExecutionJobsResource.GenerateAccessTokenRequest : AiplatformBaseServiceRequest<GoogleCloudAiplatformV1beta1GenerateAccessTokenResponse>, IClientServiceRequest<GoogleCloudAiplatformV1beta1GenerateAccessTokenResponse>, IClientServiceRequest
Constructors
GenerateAccessTokenRequest(IClientService, GoogleCloudAiplatformV1beta1GenerateAccessTokenRequest, string)
Constructs a new GenerateAccessToken request.
Declaration
public GenerateAccessTokenRequest(IClientService service, GoogleCloudAiplatformV1beta1GenerateAccessTokenRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudAiplatformV1beta1GenerateAccessTokenRequest | body | |
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. The name of the resource requesting the OAuth2 token. Format:
projects/{project}/locations/{location}/notebookRuntimes/{notebook_runtime}
projects/{project}/locations/{location}/notebookExecutionJobs/{notebook_execution_job}
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
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()