# Developer Connect V1 API - Class Google::Cloud::DeveloperConnect::V1::UserCredential (v1.6.0)

1.6.0 (latest) 1.5.0 1.4.1 1.3.0 1.2.0 1.1.0 1.0.1 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Developer Connect V1 API class Google::Cloud::DeveloperConnect::V1::UserCredential.

Represents a personal access token that authorized the Connection,
and associated metadata.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #user_token_secret_version

    def user_token_secret_version() -> ::String

**Returns**

- (::String) --- Required. A SecretManager resource containing the user token that authorizes the Developer Connect connection. Format: `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location).

### #user_token_secret_version=

    def user_token_secret_version=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. A SecretManager resource containing the user token that authorizes the Developer Connect connection. Format: `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location).
**Returns**

- (::String) --- Required. A SecretManager resource containing the user token that authorizes the Developer Connect connection. Format: `projects/*/secrets/*/versions/*` or `projects/*/locations/*/secrets/*/versions/*` (if regional secrets are supported in that location).

### #username

    def username() -> ::String

**Returns**

- (::String) --- Output only. The username associated with this token.