Cloud Storage JSON API . projects . serviceAccount

Instance Methods

get(projectId, userProject=None, provisionalUserProject=None)

Get the email address of this project's Google Cloud Storage service account.

Method Details

get(projectId, userProject=None, provisionalUserProject=None)
Get the email address of this project's Google Cloud Storage service account.

Args:
  projectId: string, Project ID (required)
  userProject: string, The project to be billed for this request.
  provisionalUserProject: string, The project to be billed for this request if the target bucket is requester-pays bucket.

Returns:
  An object of the form:

    { # A subscription to receive Google PubSub notifications.
    "kind": "storage#serviceAccount", # The kind of item this is. For notifications, this is always storage#notification.
    "email_address": "A String", # The ID of the notification.
  }