Reference documentation and code samples for the Developer Connect V1 API class Google::Cloud::DeveloperConnect::V1::FetchReadWriteTokenResponse.
Message for responding to get read/write 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) — Expiration timestamp. Can be empty if unknown or non-expiring.
#expiration_time=
def expiration_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Expiration timestamp. Can be empty if unknown or non-expiring.
Returns
- (::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.