Cloud Vision V1 Client - Class UpdateProductSetRequest (2.1.1)

Reference documentation and code samples for the Cloud Vision V1 Client class UpdateProductSetRequest.

Request message for the UpdateProductSet method.

Generated from protobuf message google.cloud.vision.v1.UpdateProductSetRequest

Namespace

Google \ Cloud \ Vision \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ product_set
ProductSet

Required. The ProductSet resource which replaces the one on the server.

↳ update_mask
Google\Protobuf\FieldMask

The FieldMask that specifies which fields to update. If update_mask isn't specified, all mutable fields are to be updated. Valid mask path is display_name .

getProductSet

Required. The ProductSet resource which replaces the one on the server.

Returns
Type
Description
ProductSet |null

hasProductSet

clearProductSet

setProductSet

Required. The ProductSet resource which replaces the one on the server.

Parameter
Name
Description
Returns
Type
Description
$this

getUpdateMask

The FieldMask that specifies which fields to update.

If update_mask isn't specified, all mutable fields are to be updated. Valid mask path is display_name .

Returns
Type
Description

hasUpdateMask

clearUpdateMask

setUpdateMask

The FieldMask that specifies which fields to update.

If update_mask isn't specified, all mutable fields are to be updated. Valid mask path is display_name .

Parameter
Name
Description
Returns
Type
Description
$this

static::build

Parameters
Name
Description
productSet
ProductSet

Required. The ProductSet resource which replaces the one on the server.

updateMask
Google\Protobuf\FieldMask

The FieldMask that specifies which fields to update. If update_mask isn't specified, all mutable fields are to be updated. Valid mask path is display_name .

Returns
Type
Description
Create a Mobile Website
View Site in Mobile | Classic
Share by: