class AccountsLanguagesProductCertifications extends Resource (View source)

The "productCertifications" collection of methods.

Typical usage is:

 $manufacturersService = new Google\Service\ManufacturerCenter(...);
 $productCertifications = $manufacturersService->accounts_languages_productCertifications;

Methods

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

Deletes a product certification by its name. This method can only be called by certification bodies. (productCertifications.delete)

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

Gets a product certification by its name. This method can only be called by certification bodies. (productCertifications.get)

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

Lists product certifications from a specified certification body. This method can only be called by certification bodies.

patch(string $name, ProductCertification $postBody, array $optParams = [])

Updates (or creates if allow_missing = true) a product certification which links certifications with products. This method can only be called by certification bodies. (productCertifications.patch)

Details

ManufacturersEmpty delete(string $name, array $optParams = [])

Deletes a product certification by its name. This method can only be called by certification bodies. (productCertifications.delete)

Parameters

string $name

Required. The name of the product certification to delete. Format: accounts/{account}/languages/{language_code}/productCertifications/{id}

array $optParams

Optional parameters.

Return Value

ManufacturersEmpty

Exceptions

Exception

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

Gets a product certification by its name. This method can only be called by certification bodies. (productCertifications.get)

Parameters

string $name

Required. The name of the product certification to get. Format: accounts/{account}/languages/{language_code}/productCertifications/{id}

array $optParams

Optional parameters.

Return Value

ProductCertification

Exceptions

Exception

ListProductCertificationsResponse listAccountsLanguagesProductCertifications(string $parent, array $optParams = [])

Lists product certifications from a specified certification body. This method can only be called by certification bodies.

(productCertifications.listAccountsLanguagesProductCertifications)

Parameters

string $parent

Required. The parent, which owns this collection of product certifications. Format: accounts/{account}/languages/{language_code}

array $optParams

Optional parameters.

Return Value

ListProductCertificationsResponse

Exceptions

Exception

ProductCertification patch(string $name, ProductCertification $postBody, array $optParams = [])

Updates (or creates if allow_missing = true) a product certification which links certifications with products. This method can only be called by certification bodies. (productCertifications.patch)

Parameters

string $name

Required. The unique name identifier of a product certification Format: accounts/{account}/languages/{language_code}/productCertifications/{id} Where id is a some unique identifier and language_code is a 2-letter ISO 639-1 code of a Shopping supported language according to https://support.google.com/merchants/answer/160637.

ProductCertification $postBody
array $optParams

Optional parameters.

Return Value

ProductCertification

Exceptions

Exception