Cloud Build V2 API - Class Google::Cloud::Build::V2::UserCredential (v0.4.0)

Reference documentation and code samples for the Cloud Build V2 API class Google::Cloud::Build::V2::UserCredential.

Represents a personal access token that authorized the Connection, and associated metadata.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#user_token_secret_version

def user_token_secret_version() -> ::String
Returns
  • (::String) — Required. A SecretManager resource containing the user token that authorizes the Cloud Build connection. Format: projects/*/secrets/*/versions/*.

#user_token_secret_version=

def user_token_secret_version=(value) -> ::String
Parameter
  • value (::String) — 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/*.

#username

def username() -> ::String
Returns
  • (::String) — Output only. The username associated to this token.