Class: Google::Cloud::Vision::V1p3beta1::UpdateProductRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/vision/v1p3beta1/product_search_service.rb

Overview

Request message for the UpdateProduct method.

Instance Attribute Summary collapse

Instance Attribute Details

#product::Google::Cloud::Vision::V1p3beta1::Product

Returns Required. The Product resource which replaces the one on the server. product.name is immutable.

Returns:



217
218
219
220
# File 'proto_docs/google/cloud/vision/v1p3beta1/product_search_service.rb', line 217

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.



217
218
219
220
# File 'proto_docs/google/cloud/vision/v1p3beta1/product_search_service.rb', line 217

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