My Business Account Management API . locations

Instance Methods

admins()

Returns the admins Resource.

close()

Close httplib2 connections.

transfer(name, body=None, x__xgafv=None)

Moves a location from an account that the user owns to another account that the same user administers. The user must be an owner of the account the location is currently associated with and must also be at least a manager of the destination account.

Method Details

close()
Close httplib2 connections.
transfer(name, body=None, x__xgafv=None)
Moves a location from an account that the user owns to another account that the same user administers. The user must be an owner of the account the location is currently associated with and must also be at least a manager of the destination account.

Args:
  name: string, Required. The name of the location to transfer. `locations/{location_id}`. (required)
  body: object, The request body.
    The object takes the form of:

{ # Request message for AccessControl.TransferLocation.
  "destinationAccount": "A String", # Required. Name of the account resource to transfer the location to (for example, "accounts/{account}").
}

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

Returns:
  An object of the form:

    { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
}