# Developer Connect V1 API - Class Google::Cloud::DeveloperConnect::V1::FetchReadTokenResponse (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::FetchReadTokenResponse.

Message for responding to get read token.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #expiration_time

    def expiration_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Protobuf-Timestamp)) --- Expiration timestamp. Can be empty if unknown or non-expiring.

### #expiration_time=

    def expiration_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Protobuf-Timestamp)) --- Expiration timestamp. Can be empty if unknown or non-expiring.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-developer_connect-v1/latest/Google-Protobuf-Timestamp)) --- Expiration timestamp. Can be empty if unknown or non-expiring.

### #git_username

    def git_username() -> ::String

**Returns**

- (::String) --- The git_username to specify when making a git clone with the token. For example, for GitHub GitRepositoryLinks, this would be "x-access-token"

### #git_username=

    def git_username=(value) -> ::String

**Parameter**

- **value** (::String) --- The git_username to specify when making a git clone with the token. For example, for GitHub GitRepositoryLinks, this would be "x-access-token"
**Returns**

- (::String) --- The git_username to specify when making a git clone with the token. For example, for GitHub GitRepositoryLinks, this would be "x-access-token"

### #token

    def token() -> ::String

**Returns**

- (::String) --- The token content.

### #token=

    def token=(value) -> ::String

**Parameter**

- **value** (::String) --- The token content.
**Returns**

- (::String) --- The token content.