Class: Google::Cloud::Build::V2::OAuthCredential

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/devtools/cloudbuild/v2/repositories.rb

Overview

Represents an OAuth token of the account that authorized the Connection, and associated metadata.

Instance Attribute Summary collapse

Instance Attribute Details

#oauth_token_secret_version::String

Returns A SecretManager resource containing the OAuth token that authorizes the Cloud Build connection. Format: projects/*/secrets/*/versions/*.

Returns:

  • (::String)

    A SecretManager resource containing the OAuth token that authorizes the Cloud Build connection. Format: projects/*/secrets/*/versions/*.



365
366
367
368
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 365

class OAuthCredential
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#username::String (readonly)

Returns Output only. The username associated to this token.

Returns:

  • (::String)

    Output only. The username associated to this token.



365
366
367
368
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 365

class OAuthCredential
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end