Class: Google::Cloud::Vision::V1::UpdateProductRequest

Inherits:
Object
  • Object
show all
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

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.

Returns:



221
222
223
224
# File 'proto_docs/google/cloud/vision/v1/product_search_service.rb', line 221

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.

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.



221
222
223
224
# File 'proto_docs/google/cloud/vision/v1/product_search_service.rb', line 221

class UpdateProductRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end