Class: Google::Cloud::Build::V2::UserCredential

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 a personal access token that authorized the Connection, and associated metadata.

Instance Attribute Summary collapse

Instance Attribute Details

#user_token_secret_version::String

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

Returns:

  • (::String)

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



314
315
316
317
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 314

class UserCredential
  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.



314
315
316
317
# File 'proto_docs/google/devtools/cloudbuild/v2/repositories.rb', line 314

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