Storage Transfer API . googleServiceAccounts

Instance Methods

close()

Close httplib2 connections.

get(projectId, x__xgafv=None)

Returns the Google service account that is used by Storage Transfer Service to access buckets in the project where transfers run or in other projects. Each Google service account is associated with one Google Cloud project. Users should add this service account to the Google Cloud Storage bucket ACLs to grant access to Storage Transfer Service. This service account is created and owned by Storage Transfer Service and can only be used by Storage Transfer Service.

Method Details

close()
Close httplib2 connections.
get(projectId, x__xgafv=None)
Returns the Google service account that is used by Storage Transfer Service to access buckets in the project where transfers run or in other projects. Each Google service account is associated with one Google Cloud project. Users should add this service account to the Google Cloud Storage bucket ACLs to grant access to Storage Transfer Service. This service account is created and owned by Storage Transfer Service and can only be used by Storage Transfer Service.

Args:
  projectId: string, Required. The ID of the Google Cloud project that the Google service account is associated with. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Google service account
  "accountEmail": "A String", # Email address of the service account.
  "subjectId": "A String", # Unique identifier for the service account.
}