class ProvidersAccounts extends Resource (View source)

The "accounts" collection of methods.

Typical usage is:

 $cloudcommerceprocurementService = new Google\Service\CloudCommercePartnerProcurementService(...);
 $accounts = $cloudcommerceprocurementService->providers_accounts;

Methods

approve(string $name, ApproveAccountRequest $postBody, array $optParams = [])

Grants an approval on an Account. (accounts.approve)

get(string $name, array $optParams = [])

Gets a requested Account resource. (accounts.get)

listProvidersAccounts(string $parent, array $optParams = [])

Lists Accounts that the provider has access to.

reject(string $name, RejectAccountRequest $postBody, array $optParams = [])

Rejects an approval on an Account. (accounts.reject)

reset(string $name, ResetAccountRequest $postBody, array $optParams = [])

Resets an Account and cancels all associated Entitlements. Partner can only reset accounts they own rather than customer accounts. (accounts.reset)

Details

CloudcommerceprocurementEmpty approve(string $name, ApproveAccountRequest $postBody, array $optParams = [])

Grants an approval on an Account. (accounts.approve)

Parameters

string $name

Required. The resource name of the account, with the format providers/{providerId}/accounts/{accountId}.

ApproveAccountRequest $postBody
array $optParams

Optional parameters.

Return Value

CloudcommerceprocurementEmpty

Exceptions

Exception

Account get(string $name, array $optParams = [])

Gets a requested Account resource. (accounts.get)

Parameters

string $name

Required. The name of the account to retrieve.

array $optParams

Optional parameters.

Return Value

Account

Exceptions

Exception

ListAccountsResponse listProvidersAccounts(string $parent, array $optParams = [])

Lists Accounts that the provider has access to.

(accounts.listProvidersAccounts)

Parameters

string $parent

Required. The parent resource name.

array $optParams

Optional parameters.

Return Value

ListAccountsResponse

Exceptions

Exception

CloudcommerceprocurementEmpty reject(string $name, RejectAccountRequest $postBody, array $optParams = [])

Rejects an approval on an Account. (accounts.reject)

Parameters

string $name

Required. The resource name of the account.

RejectAccountRequest $postBody
array $optParams

Optional parameters.

Return Value

CloudcommerceprocurementEmpty

Exceptions

Exception

CloudcommerceprocurementEmpty reset(string $name, ResetAccountRequest $postBody, array $optParams = [])

Resets an Account and cancels all associated Entitlements. Partner can only reset accounts they own rather than customer accounts. (accounts.reset)

Parameters

string $name

Required. The resource name of the account.

ResetAccountRequest $postBody
array $optParams

Optional parameters.

Return Value

CloudcommerceprocurementEmpty

Exceptions

Exception