Class ProjectsResource.LocationsResource.AuthProvidersResource.CredentialsResource.RetrieveRequest
Retrieves authorization credentials for an auth provider, 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 result 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<GoogleCloudAgentidentitycredentialsV1RetrieveCredentialsResponse>
ProjectsResource.LocationsResource.AuthProvidersResource.CredentialsResource.RetrieveRequest
Implements
Inherited Members
Namespace: Google.Apis.AgentIdentityCredentials.v1
Assembly: Google.Apis.AgentIdentityCredentials.v1.dll
Syntax
public class ProjectsResource.LocationsResource.AuthProvidersResource.CredentialsResource.RetrieveRequest : AgentIdentityCredentialsBaseServiceRequest<GoogleCloudAgentidentitycredentialsV1RetrieveCredentialsResponse>, IClientServiceRequest<GoogleCloudAgentidentitycredentialsV1RetrieveCredentialsResponse>, IClientServiceRequest
Constructors
RetrieveRequest(IClientService, GoogleCloudAgentidentitycredentialsV1RetrieveCredentialsRequest, string)
Constructs a new Retrieve request.
Declaration
public RetrieveRequest(IClientService service, GoogleCloudAgentidentitycredentialsV1RetrieveCredentialsRequest body, string authProvider)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleCloudAgentidentitycredentialsV1RetrieveCredentialsRequest | body | |
| string | authProvider |
Properties
AuthProvider
Required. The resource name of the auth provider. 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
InitParameters()
Initializes Retrieve parameter list.
Declaration
protected override void InitParameters()