Cloud Vision V1 API - Class Google::Cloud::Vision::V1::UpdateProductRequest (v0.11.1)

Reference documentation and code samples for the Cloud Vision V1 API class Google::Cloud::Vision::V1::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::V1::Product
Returns

#product=

def product=(value) -> ::Google::Cloud::Vision::V1::Product
Parameter
Returns

#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, and description.

#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, and description.
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, and description.