Class ProjectsResource.LocationsResource.AuthProvidersResource.CredentialsResource.RetrieveRequest
Retrieves authorization credentials for an authprovider, or indicates what action needs to be
taken to obtain credentials. If the token field in the response is populated, credential
retrieval was successful. If one of the fields in the status oneof is populated, further
action is required to obtain credentials, such as redirecting the user for consent. View
comments on RetrieveCredentialsResponse for more information.
Inheritance
AgentIdentityCredentialsBaseServiceRequest<GoogleCloudAgentidentitycredentialsV1betaRetrieveCredentialsResponse>
ProjectsResource.LocationsResource.AuthProvidersResource.CredentialsResource.RetrieveRequest
Implements
Inherited Members
Namespace: Google.Apis.AgentIdentityCredentials.v1beta
Assembly: Google.Apis.AgentIdentityCredentials.v1beta.dll
Syntax
public class ProjectsResource.LocationsResource.AuthProvidersResource.CredentialsResource.RetrieveRequest : AgentIdentityCredentialsBaseServiceRequest<GoogleCloudAgentidentitycredentialsV1betaRetrieveCredentialsResponse>, IClientServiceRequest<GoogleCloudAgentidentitycredentialsV1betaRetrieveCredentialsResponse>, IClientServiceRequest
Constructors
RetrieveRequest(IClientService, GoogleCloudAgentidentitycredentialsV1betaRetrieveCredentialsRequest, string)
Constructs a new Retrieve request.
Declaration
public RetrieveRequest(IClientService service, GoogleCloudAgentidentitycredentialsV1betaRetrieveCredentialsRequest body, string authProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleCloudAgentidentitycredentialsV1betaRetrieveCredentialsRequest | body | |
| string | authProvider |
Properties
AuthProvider
Required. The parent resource name of the AuthProvider. Format:
projects/{project}/locations/{location}/authProviders/{auth_provider}
Declaration
[RequestParameter("authProvider", RequestParameterType.Path)]
public virtual string AuthProvider { 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
ClientServiceRequest<GoogleCloudAgentidentitycredentialsV1betaRetrieveCredentialsResponse>.GetBody()
InitParameters()
Initializes Retrieve parameter list.
Declaration
protected override void InitParameters()