Class: Google::Cloud::Vision::V1::UpdateProductRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Vision::V1::UpdateProductRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/vision/v1/product_search_service.rb
Overview
Request message for the UpdateProduct
method.
Instance Attribute Summary collapse
-
#product ⇒ ::Google::Cloud::Vision::V1::Product
Required.
-
#update_mask ⇒ ::Google::Protobuf::FieldMask
The FieldMask that specifies which fields to update.
Instance Attribute Details
#product ⇒ ::Google::Cloud::Vision::V1::Product
Returns Required. The Product resource which replaces the one on the server. product.name is immutable.
222 223 224 225 |
# File 'proto_docs/google/cloud/vision/v1/product_search_service.rb', line 222 class UpdateProductRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#update_mask ⇒ ::Google::Protobuf::FieldMask
Returns The FieldMask that specifies which fields
to update.
If update_mask isn't specified, all mutable fields are to be updated.
Valid mask paths include product_labels
, display_name
, and
description
.
222 223 224 225 |
# File 'proto_docs/google/cloud/vision/v1/product_search_service.rb', line 222 class UpdateProductRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |