Cloud Storage JSON API . projects . serviceAccount

Instance Methods

get(projectId)

Get the email address of this project's GCS service account.

Method Details

get(projectId)
Get the email address of this project's GCS service account.

Args:
  projectId: string, Project ID (required)

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.
  }