Reference documentation and code samples for the Cloud Vision V1p3beta1 API class Google::Cloud::Vision::V1p3beta1::UpdateProductRequest.
Request message for the UpdateProduct
method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#product
def product() -> ::Google::Cloud::Vision::V1p3beta1::Product
Returns
- (::Google::Cloud::Vision::V1p3beta1::Product) — Required. The Product resource which replaces the one on the server. product.name is immutable.
#product=
def product=(value) -> ::Google::Cloud::Vision::V1p3beta1::Product
Parameter
- value (::Google::Cloud::Vision::V1p3beta1::Product) — Required. The Product resource which replaces the one on the server. product.name is immutable.
Returns
- (::Google::Cloud::Vision::V1p3beta1::Product) — Required. The Product resource which replaces the one on the server. product.name is immutable.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
-
(::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 paths include
product_labels
,display_name
, anddescription
.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
-
value (::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 paths include
product_labels
,display_name
, anddescription
.
Returns
-
(::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 paths include
product_labels
,display_name
, anddescription
.