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
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ attributes_config |
string
Required. Full AttributesConfig resource name. Format: |
↳ 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
Generated from protobuf field string attributes_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Returns | |
---|---|
Type | Description |
string |
setAttributesConfig
Required. Full AttributesConfig resource name. Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig
Generated from protobuf field string attributes_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getKey
Required. The attribute name key of the CatalogAttribute to remove.
Generated from protobuf field string key = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
string |
setKey
Required. The attribute name key of the CatalogAttribute to remove.
Generated from protobuf field string key = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |