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
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ product_set |
Google\Cloud\Vision\V1\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 |
getProductSet
Required. The ProductSet resource which replaces the one on the server.
Returns | |
---|---|
Type | Description |
Google\Cloud\Vision\V1\ProductSet|null |
hasProductSet
clearProductSet
setProductSet
Required. The ProductSet resource which replaces the one on the server.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Vision\V1\ProductSet
|
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 |
Google\Protobuf\FieldMask|null |
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 |
var |
Google\Protobuf\FieldMask
|
Returns | |
---|---|
Type | Description |
$this |