Class RetrieveCredentialsResponse (0.1.0)

RetrieveCredentialsResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Response message for RetrieveCredentials. Contains the access tokens and related artifacts.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
success google.cloud.agentidentitycredentials_v1.types.RetrieveCredentialsResponse.Success
Message indicating credentials were successfully retrieved. This field is a member of oneof_ result.
pending google.cloud.agentidentitycredentials_v1.types.RetrieveCredentialsResponse.Pending
Message indicating credential retrieval is pending. This field is a member of oneof_ result.
uri_consent_required google.cloud.agentidentitycredentials_v1.types.RetrieveCredentialsResponse.UriConsentRequired
Message indicating uri based consent is required. This field is a member of oneof_ result.
consent_rejected google.cloud.agentidentitycredentials_v1.types.RetrieveCredentialsResponse.ConsentRejected
Message indicating consent was rejected. This field is a member of oneof_ result.

Classes

ConsentRejected

ConsentRejected(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Indicates the user has rejected the permission delegation or cancelled the request.

Pending

Pending(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Indicates that the credential retrieval is pending. The caller should retry the RetrieveCredentials request after some time.

Success

Success(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Message indicating successful retrieval of credentials.

UriConsentRequired

UriConsentRequired(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Indicates that the user must visit the provided URI to consent to delegate permission to the agent to act on their behalf. The caller can either poll the provided operation, or await the user ID validation callback