Google Cloud Design Center V1 Client - Class UpdateCatalogTemplateRequest (0.1.0)

Reference documentation and code samples for the Google Cloud Design Center V1 Client class UpdateCatalogTemplateRequest.

Message for updating a catalog template.

Generated from protobuf message google.cloud.designcenter.v1.UpdateCatalogTemplateRequest

Namespace

Google \ Cloud \ DesignCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ catalog_template CatalogTemplate

Required. The catalog template to update. Format: projects/$project/locations/$location/spaces/$space/catalogs/$catalog/templates/$template

↳ update_mask Google\Protobuf\FieldMask

Optional. The fields to overwrite in the catalog template update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If you don't provide a mask, all fields are overwritten.

getCatalogTemplate

Required. The catalog template to update.

Format: projects/$project/locations/$location/spaces/$space/catalogs/$catalog/templates/$template

Returns
Type Description
CatalogTemplate|null

hasCatalogTemplate

clearCatalogTemplate

setCatalogTemplate

Required. The catalog template to update.

Format: projects/$project/locations/$location/spaces/$space/catalogs/$catalog/templates/$template

Parameter
Name Description
var CatalogTemplate
Returns
Type Description
$this

getUpdateMask

Optional. The fields to overwrite in the catalog template update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If you don't provide a mask, all fields are overwritten.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. The fields to overwrite in the catalog template update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If you don't provide a mask, all fields are overwritten.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
catalogTemplate CatalogTemplate

Required. The catalog template to update. Format: projects/$project/locations/$location/spaces/$space/catalogs/$catalog/templates/$template

updateMask Google\Protobuf\FieldMask

Optional. The fields to overwrite in the catalog template update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If you don't provide a mask, all fields are overwritten.

Returns
Type Description
UpdateCatalogTemplateRequest