Class: Google::Shopping::Merchant::Products::V1beta::Product
- Inherits:
-
Object
- Object
- Google::Shopping::Merchant::Products::V1beta::Product
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/shopping/merchant/products/v1beta/products.rb
Overview
The processed product, built from multiple [product inputs][[google.shopping.content.bundles.Products.ProductInput] after applying rules and supplemental data sources. This processed product matches what is shown in your Merchant Center account and in Shopping ads and other surfaces across Google. Each product is built from exactly one primary data source product input, and multiple supplemental data source inputs. After inserting, updating, or deleting a product input, it may take several minutes before the updated processed product can be retrieved.
All fields in the processed product and its sub-messages match the name of their corresponding attribute in the Product data specification with some exceptions.
Instance Attribute Summary collapse
-
#attributes ⇒ ::Google::Shopping::Merchant::Products::V1beta::Attributes
readonly
Output only.
-
#channel ⇒ ::Google::Shopping::Type::Channel::ChannelEnum
readonly
Output only.
-
#content_language ⇒ ::String
readonly
Output only.
-
#custom_attributes ⇒ ::Array<::Google::Shopping::Type::CustomAttribute>
readonly
Output only.
-
#data_source ⇒ ::String
readonly
Output only.
-
#feed_label ⇒ ::String
readonly
Output only.
-
#name ⇒ ::String
The name of the product.
-
#offer_id ⇒ ::String
readonly
Output only.
-
#product_status ⇒ ::Google::Shopping::Merchant::Products::V1beta::ProductStatus
readonly
Output only.
-
#version_number ⇒ ::Integer
readonly
Output only.
Instance Attribute Details
#attributes ⇒ ::Google::Shopping::Merchant::Products::V1beta::Attributes (readonly)
Returns Output only. A list of product attributes.
97 98 99 100 |
# File 'proto_docs/google/shopping/merchant/products/v1beta/products.rb', line 97 class Product include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#channel ⇒ ::Google::Shopping::Type::Channel::ChannelEnum (readonly)
Returns Output only. The channel of the product.
97 98 99 100 |
# File 'proto_docs/google/shopping/merchant/products/v1beta/products.rb', line 97 class Product include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#content_language ⇒ ::String (readonly)
Returns Output only. The two-letter ISO 639-1 language code for the product.
97 98 99 100 |
# File 'proto_docs/google/shopping/merchant/products/v1beta/products.rb', line 97 class Product include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#custom_attributes ⇒ ::Array<::Google::Shopping::Type::CustomAttribute> (readonly)
Returns Output only. A list of custom (merchant-provided) attributes. It can also
be used to submit any attribute of the data specification in its generic
form (for example,
{ "name": "size type", "value": "regular" }
).
This is useful for submitting attributes not explicitly exposed by the
API, such as additional attributes used for Buy on Google.
97 98 99 100 |
# File 'proto_docs/google/shopping/merchant/products/v1beta/products.rb', line 97 class Product include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#data_source ⇒ ::String (readonly)
Returns Output only. The primary data source of the product.
97 98 99 100 |
# File 'proto_docs/google/shopping/merchant/products/v1beta/products.rb', line 97 class Product include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#feed_label ⇒ ::String (readonly)
Returns Output only. The feed label for the product.
97 98 99 100 |
# File 'proto_docs/google/shopping/merchant/products/v1beta/products.rb', line 97 class Product include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns The name of the product.
Format:
"{product.name=accounts/{account}/products/{product}}"
.
97 98 99 100 |
# File 'proto_docs/google/shopping/merchant/products/v1beta/products.rb', line 97 class Product include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#offer_id ⇒ ::String (readonly)
Returns Output only. Your unique identifier for the product. This is the same for the product input and processed product. Leading and trailing whitespaces are stripped and multiple whitespaces are replaced by a single whitespace upon submission. See the product data specification for details.
97 98 99 100 |
# File 'proto_docs/google/shopping/merchant/products/v1beta/products.rb', line 97 class Product include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#product_status ⇒ ::Google::Shopping::Merchant::Products::V1beta::ProductStatus (readonly)
Returns Output only. The status of a product, data validation issues, that is, information about a product computed asynchronously.
97 98 99 100 |
# File 'proto_docs/google/shopping/merchant/products/v1beta/products.rb', line 97 class Product include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#version_number ⇒ ::Integer (readonly)
Returns Output only. Represents the existing version (freshness) of the product, which can be used to preserve the right order when multiple updates are done at the same time.
If set, the insertion is prevented when version number is lower than
the current version number of the existing product. Re-insertion (for
example, product refresh after 30 days) can be performed with the current
version_number
.
Only supported for insertions into primary data sources.
If the operation is prevented, the aborted exception will be thrown.
97 98 99 100 |
# File 'proto_docs/google/shopping/merchant/products/v1beta/products.rb', line 97 class Product include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |