Cloud Storage JSON API . projects . serviceAccount

Instance Methods

close()

Close httplib2 connections.

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

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

Method Details

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

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

Returns:
  An object of the form:

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