Cloud Build API . projects . locations

Instance Methods

bitbucketServerConfigs()

Returns the bitbucketServerConfigs Resource.

builds()

Returns the builds Resource.

gitLabConfigs()

Returns the gitLabConfigs Resource.

githubEnterpriseConfigs()

Returns the githubEnterpriseConfigs Resource.

operations()

Returns the operations Resource.

triggers()

Returns the triggers Resource.

workerPools()

Returns the workerPools Resource.

close()

Close httplib2 connections.

getDefaultServiceAccount(name, x__xgafv=None)

Returns the `DefaultServiceAccount` used by the project.

Method Details

close()
Close httplib2 connections.
getDefaultServiceAccount(name, x__xgafv=None)
Returns the `DefaultServiceAccount` used by the project.

Args:
  name: string, Required. The name of the `DefaultServiceAccount` to retrieve. Format: `projects/{project}/locations/{location}/defaultServiceAccount` (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # The default service account used for `Builds`.
  "name": "A String", # Identifier. Format: `projects/{project}/locations/{location}/defaultServiceAccount
  "serviceAccountEmail": "A 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]-compute@developer.gserviceaccount.com. If no service account will be used by default, this will be empty.
}