Reference documentation and code samples for the Developer Connect V1 API class Google::Cloud::DeveloperConnect::V1::OAuthCredential.
Represents an OAuth token of the account that authorized the Connection, and associated metadata.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#oauth_token_secret_version
def oauth_token_secret_version() -> ::String
Returns
-
(::String) — Required. A SecretManager resource containing the OAuth token that
authorizes the connection. Format:
projects/*/secrets/*/versions/*
.
#oauth_token_secret_version=
def oauth_token_secret_version=(value) -> ::String
Parameter
-
value (::String) — Required. A SecretManager resource containing the OAuth token that
authorizes the connection. Format:
projects/*/secrets/*/versions/*
.
Returns
-
(::String) — Required. A SecretManager resource containing the OAuth token that
authorizes the connection. Format:
projects/*/secrets/*/versions/*
.
#username
def username() -> ::String
Returns
- (::String) — Output only. The username associated with this token.