class AccountsCredentials extends Resource (View source)

The "credentials" collection of methods.

Typical usage is:

 $contentService = new Google\Service\ShoppingContent(...);
 $credentials = $contentService->accounts_credentials;

Methods

create(string $accountId, AccountCredentials $postBody, array $optParams = [])

Uploads credentials for the Merchant Center account. If credentials already exist for this Merchant Center account and purpose, this method updates them.

Details

AccountCredentials create(string $accountId, AccountCredentials $postBody, array $optParams = [])

Uploads credentials for the Merchant Center account. If credentials already exist for this Merchant Center account and purpose, this method updates them.

(credentials.create)

Parameters

string $accountId

Required. The merchant id of the account these credentials belong to.

AccountCredentials $postBody
array $optParams

Optional parameters.

Return Value

AccountCredentials

Exceptions

Exception