class AccountsBusinessmessageslinks extends Resource (View source)

The "businessmessageslinks" collection of methods.

Typical usage is:

 $contentService = new Google\Service\ShoppingContent(...);
 $businessmessageslinks = $contentService->accounts_businessmessageslinks;

Methods

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

Creates a BusinessMessagesLink in Merchant Center account.

delete(string $accountId, string $businessMessagesLinkId, array $optParams = [])

Deletes the specified BusinessMessagesLink resource from Merchant Center account. (businessmessageslinks.delete)

get(string $accountId, string $businessMessagesLinkId, array $optParams = [])

Retrieves BusinessMessagesLink in Merchant Center account.

listAccountsBusinessmessageslinks(string $accountId, array $optParams = [])

Lists the BusinessMessagesLink resources for Merchant Center account.

Details

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

Creates a BusinessMessagesLink in Merchant Center account.

(businessmessageslinks.create)

Parameters

string $accountId

Required. The ID of the Merchant Center account.

BusinessMessagesLink $postBody
array $optParams

Optional parameters.

Return Value

BusinessMessagesLink

delete(string $accountId, string $businessMessagesLinkId, array $optParams = [])

Deletes the specified BusinessMessagesLink resource from Merchant Center account. (businessmessageslinks.delete)

Parameters

string $accountId

Required. The ID of the Merchant Center account.

string $businessMessagesLinkId

Required. The identifier for the Business Messages Link.

array $optParams

Optional parameters.

BusinessMessagesLink get(string $accountId, string $businessMessagesLinkId, array $optParams = [])

Retrieves BusinessMessagesLink in Merchant Center account.

(businessmessageslinks.get)

Parameters

string $accountId

Required. The ID of the Merchant Center account.

string $businessMessagesLinkId

Required. The identifier for the Business Messages Link.

array $optParams

Optional parameters.

Return Value

BusinessMessagesLink

Lists the BusinessMessagesLink resources for Merchant Center account.

(businessmessageslinks.listAccountsBusinessmessageslinks)

Parameters

string $accountId

Required. The ID of the account.

array $optParams

Optional parameters.

Return Value

ListBusinessMessagesLinksResponse