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 \ V1Methods
__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 |
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 |
var |
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 |
|
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 |
| Returns | |
|---|---|
| Type | Description |
UpdateProductSetRequest |
|