Class ProjectsResource.LocationsResource.NetworkMonitoringProvidersResource.GenerateProviderAccessTokenRequest
Generates a provider access token for a given Google access token. Provider access token is a short-lived token that is used to access resources in the provider's platform.
Inheritance
ProjectsResource.LocationsResource.NetworkMonitoringProvidersResource.GenerateProviderAccessTokenRequest
Inherited Members
Namespace: Google.Apis.NetworkManagement.v1
Assembly: Google.Apis.NetworkManagement.v1.dll
Syntax
public class ProjectsResource.LocationsResource.NetworkMonitoringProvidersResource.GenerateProviderAccessTokenRequest : NetworkManagementBaseServiceRequest<GenerateProviderAccessTokenResponse>, IClientServiceRequest<GenerateProviderAccessTokenResponse>, IClientServiceRequest
Constructors
GenerateProviderAccessTokenRequest(IClientService, string)
Constructs a new GenerateProviderAccessToken request.
Declaration
public GenerateProviderAccessTokenRequest(IClientService service, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | name |
Properties
GcpAccessToken
Required. Google access token.
Declaration
[RequestParameter("gcpAccessToken", RequestParameterType.Query)]
public virtual string GcpAccessToken { get; set; }
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
Name
Required. Name of the resource. Format: projects/{project}/locations/{location}/networkMonitoringProviders/{network_monitoring_provider}
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 GenerateProviderAccessToken parameter list.
Declaration
protected override void InitParameters()