Google Cloud Retail V2 Client - Class UpdateCatalogRequest (1.0.1)

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

Request for CatalogService.UpdateCatalog method.

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

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ catalog
Google\Cloud\Retail\V2\Catalog

Required. The Catalog to update. If the caller does not have permission to update the Catalog , regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the Catalog to update does not exist, a NOT_FOUND error is returned.

↳ update_mask
Google\Protobuf\FieldMask

Indicates which fields in the provided Catalog to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.

getCatalog

Required. The Catalog to update.

If the caller does not have permission to update the Catalog , regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the Catalog to update does not exist, a NOT_FOUND error is returned.

Generated from protobuf field .google.cloud.retail.v2.Catalog catalog = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type
Description

hasCatalog

clearCatalog

setCatalog

Required. The Catalog to update.

If the caller does not have permission to update the Catalog , regardless of whether or not it exists, a PERMISSION_DENIED error is returned. If the Catalog to update does not exist, a NOT_FOUND error is returned.

Generated from protobuf field .google.cloud.retail.v2.Catalog catalog = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name
Description
Returns
Type
Description
$this

getUpdateMask

Indicates which fields in the provided Catalog to update.

If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.

Generated from protobuf field .google.protobuf.FieldMask update_mask = 2;

Returns
Type
Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Indicates which fields in the provided Catalog to update.

If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.

Generated from protobuf field .google.protobuf.FieldMask update_mask = 2;

Parameter
Name
Description
var
Google\Protobuf\FieldMask
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: