Class: Google::Cloud::Build::V1::DefaultServiceAccount

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

Overview

The default service account used for Builds.

Instance Attribute Summary collapse

Instance Attribute Details

#name::String

Returns Identifier. Format: projects/{project}/locations/{location}/defaultServiceAccount.

Returns:

  • (::String)

    Identifier. Format: projects/{project}/locations/{location}/defaultServiceAccount



52
53
54
55
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 52

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

#service_account_email::String (readonly)

Returns Output only. The email address of the service account identity that will be used for a build by default.

This is returned in the format projects/{project}/serviceAccounts/{service_account} where {service_account} could be the legacy Cloud Build SA, in the format [PROJECT_NUMBER]@cloudbuild.gserviceaccount.com or the Compute SA, in the format [PROJECT_NUMBER][email protected].

If no service account will be used by default, this will be empty.

Returns:

  • (::String)

    Output only. The email address of the service account identity that will be used for a build by default.

    This is returned in the format projects/{project}/serviceAccounts/{service_account} where {service_account} could be the legacy Cloud Build SA, in the format [PROJECT_NUMBER]@cloudbuild.gserviceaccount.com or the Compute SA, in the format [PROJECT_NUMBER][email protected].

    If no service account will be used by default, this will be empty.



52
53
54
55
# File 'proto_docs/google/devtools/cloudbuild/v1/cloudbuild.rb', line 52

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