Google Cloud Retail V2 Client - Class RemoveCatalogAttributeRequest (2.0.0-RC1)

Reference documentation and code samples for the Google Cloud Retail V2 Client class RemoveCatalogAttributeRequest.

Request for CatalogService.RemoveCatalogAttribute method.

Generated from protobuf message google.cloud.retail.v2.RemoveCatalogAttributeRequest

Namespace

Google \ Cloud \ Retail \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ attributes_config string

Required. Full AttributesConfig resource name. Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig

↳ key string

Required. The attribute name key of the CatalogAttribute to remove.

getAttributesConfig

Required. Full AttributesConfig resource name. Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig

Returns
Type Description
string

setAttributesConfig

Required. Full AttributesConfig resource name. Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig

Parameter
Name Description
var string
Returns
Type Description
$this

getKey

Required. The attribute name key of the CatalogAttribute to remove.

Returns
Type Description
string

setKey

Required. The attribute name key of the CatalogAttribute to remove.

Parameter
Name Description
var string
Returns
Type Description
$this