# 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` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-agentidentitycredentials/latest/google.cloud.agentidentitycredentials_v1.types.RetrieveCredentialsResponse.Success` Message indicating credentials were successfully retrieved. This field is a member of `oneof`_ `result`. |
| `pending` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-agentidentitycredentials/latest/google.cloud.agentidentitycredentials_v1.types.RetrieveCredentialsResponse.Pending` Message indicating credential retrieval is pending. This field is a member of `oneof`_ `result`. |
| `uri_consent_required` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-agentidentitycredentials/latest/google.cloud.agentidentitycredentials_v1.types.RetrieveCredentialsResponse.UriConsentRequired` Message indicating uri based consent is required. This field is a member of `oneof`_ `result`. |
| `consent_rejected` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-agentidentitycredentials/latest/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