Method: providers.accounts.get

Gets a requested Account resource.

HTTP request

GET https://cloudcommerceprocurement.googleapis.com/v1/{name=providers/*/accounts/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the account to retrieve.

Authorization requires the following IAM permission on the specified resource name:

  • commerceprocurement.providerAccounts.get

Query parameters

Parameters
view

enum (AccountView)

Optional. What information to include in the response.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Account.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

AccountView

Indicates the view of the account.

Enums
ACCOUNT_VIEW_UNSPECIFIED The default / unset value. For accounts.get it defaults to the FULL view. accounts.list only supports BASIC view.
ACCOUNT_VIEW_BASIC Include base account information. This is the default view. All fields from Account are included except for the resellerParentBillingAccount field.
ACCOUNT_VIEW_FULL Includes all available account information, inclusive of the accounts resellerParentBillingAccount, if it's a resold account.