Class: Google::Shopping::Merchant::Products::V1::UpdateProductInputRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/shopping/merchant/products/v1/productinputs.rb

Overview

Request message for the UpdateProductInput method. The product (primary input) must exist for the update to succeed. If the update is for a primary product input, the existing primary product input must be from the same data source.

Instance Attribute Summary collapse

Instance Attribute Details

#data_source::String

Returns Required. The primary or supplemental product data source where data_source name identifies the product input to be updated.

Only API data sources are supported.

Format: accounts/{account}/dataSources/{datasource}. For example, accounts/123456/dataSources/104628.

Returns:

  • (::String)

    Required. The primary or supplemental product data source where data_source name identifies the product input to be updated.

    Only API data sources are supported.

    Format: accounts/{account}/dataSources/{datasource}. For example, accounts/123456/dataSources/104628.



193
194
195
196
# File 'proto_docs/google/shopping/merchant/products/v1/productinputs.rb', line 193

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

#product_input::Google::Shopping::Merchant::Products::V1::ProductInput

Returns Required. The product input resource to update. Information you submit will be applied to the processed product as well.

Returns:



193
194
195
196
# File 'proto_docs/google/shopping/merchant/products/v1/productinputs.rb', line 193

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

#update_mask::Google::Protobuf::FieldMask

Returns Optional. The list of product attributes to be updated.

If the update mask is omitted, then it is treated as implied field mask equivalent to all fields that are populated (have a non-empty value).

Attributes specified in the update mask without a value specified in the body will be deleted from the product.

Update mask can only be specified for top level fields in attributes and custom attributes.

To specify the update mask for custom attributes you need to add the custom_attribute. prefix.

Providing special "*" value for full product replacement is not supported.

Returns:

  • (::Google::Protobuf::FieldMask)

    Optional. The list of product attributes to be updated.

    If the update mask is omitted, then it is treated as implied field mask equivalent to all fields that are populated (have a non-empty value).

    Attributes specified in the update mask without a value specified in the body will be deleted from the product.

    Update mask can only be specified for top level fields in attributes and custom attributes.

    To specify the update mask for custom attributes you need to add the custom_attribute. prefix.

    Providing special "*" value for full product replacement is not supported.



193
194
195
196
# File 'proto_docs/google/shopping/merchant/products/v1/productinputs.rb', line 193

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