Google Wallet API . permissions

Instance Methods

close()

Close httplib2 connections.

get(resourceId, x__xgafv=None)

Returns the permissions for the given issuer id.

update(resourceId, body=None, x__xgafv=None)

Updates the permissions for the given issuer.

Method Details

close()
Close httplib2 connections.
get(resourceId, x__xgafv=None)
Returns the permissions for the given issuer id.

Args:
  resourceId: string, The unique identifier for an issuer. This ID must be unique across all issuers. (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    {
  "issuerId": "A String", # ID of the issuer the list of permissions refer to.
  "permissions": [ # The complete list of permissions for the issuer account.
    {
      "emailAddress": "A String", # The email address of the user, group, or service account to which this permission refers to.
      "role": "A String", # The role granted by this permission.
    },
  ],
}
update(resourceId, body=None, x__xgafv=None)
Updates the permissions for the given issuer.

Args:
  resourceId: string, The unique identifier for an issuer. This ID must be unique across all issuers. (required)
  body: object, The request body.
    The object takes the form of:

{
  "issuerId": "A String", # ID of the issuer the list of permissions refer to.
  "permissions": [ # The complete list of permissions for the issuer account.
    {
      "emailAddress": "A String", # The email address of the user, group, or service account to which this permission refers to.
      "role": "A String", # The role granted by this permission.
    },
  ],
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    {
  "issuerId": "A String", # ID of the issuer the list of permissions refer to.
  "permissions": [ # The complete list of permissions for the issuer account.
    {
      "emailAddress": "A String", # The email address of the user, group, or service account to which this permission refers to.
      "role": "A String", # The role granted by this permission.
    },
  ],
}