Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.AuthProvidersResource.CredentialsResource

The "credentials" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.AuthProvidersResource.CredentialsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.AgentIdentityCredentials.v1beta
Assembly: Google.Apis.AgentIdentityCredentials.v1beta.dll
Syntax
public class ProjectsResource.LocationsResource.AuthProvidersResource.CredentialsResource

Constructors

CredentialsResource(IClientService)

Constructs a new resource.

Declaration
public CredentialsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Finalize(GoogleCloudAgentidentitycredentialsV1betaFinalizeCredentialsRequest, string)

Finalizes the credentials after a successful consent flow.

Declaration
public virtual ProjectsResource.LocationsResource.AuthProvidersResource.CredentialsResource.FinalizeRequest Finalize(GoogleCloudAgentidentitycredentialsV1betaFinalizeCredentialsRequest body, string authProvider)
Parameters
Type Name Description
GoogleCloudAgentidentitycredentialsV1betaFinalizeCredentialsRequest body

The body of the request.

string authProvider

Required. The resource name of the AuthProvider. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}

Returns
Type Description
ProjectsResource.LocationsResource.AuthProvidersResource.CredentialsResource.FinalizeRequest

Retrieve(GoogleCloudAgentidentitycredentialsV1betaRetrieveCredentialsRequest, string)

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.

Declaration
public virtual ProjectsResource.LocationsResource.AuthProvidersResource.CredentialsResource.RetrieveRequest Retrieve(GoogleCloudAgentidentitycredentialsV1betaRetrieveCredentialsRequest body, string authProvider)
Parameters
Type Name Description
GoogleCloudAgentidentitycredentialsV1betaRetrieveCredentialsRequest body

The body of the request.

string authProvider

Required. The parent resource name of the AuthProvider. Format: projects/{project}/locations/{location}/authProviders/{auth_provider}

Returns
Type Description
ProjectsResource.LocationsResource.AuthProvidersResource.CredentialsResource.RetrieveRequest
In this article
Back to top Generated by DocFX