Class: Google::Shopping::Css::V1::CssProductInput
- Inherits:
-
Object
- Object
- Google::Shopping::Css::V1::CssProductInput
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/shopping/css/v1/css_product_inputs.rb
Overview
This resource represents input data you submit for a CSS Product, not the processed CSS Product that you see in CSS Center, in Shopping Ads, or across Google surfaces.
Instance Attribute Summary collapse
-
#attributes ⇒ ::Google::Shopping::Css::V1::Attributes
A list of CSS Product attributes.
-
#content_language ⇒ ::String
Required.
-
#custom_attributes ⇒ ::Array<::Google::Shopping::Type::CustomAttribute>
A list of custom (CSS-provided) attributes.
-
#feed_label ⇒ ::String
Required.
-
#final_name ⇒ ::String
readonly
Output only.
-
#freshness_time ⇒ ::Google::Protobuf::Timestamp
Represents the existing version (freshness) of the CSS Product, which can be used to preserve the right order when multiple updates are done at the same time.
-
#name ⇒ ::String
The name of the CSS Product input.
-
#raw_provided_id ⇒ ::String
Required.
Instance Attribute Details
#attributes ⇒ ::Google::Shopping::Css::V1::Attributes
Returns A list of CSS Product attributes.
87 88 89 90 |
# File 'proto_docs/google/shopping/css/v1/css_product_inputs.rb', line 87 class CssProductInput include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#content_language ⇒ ::String
Returns Required. The two-letter ISO 639-1 language code for the CSS Product.
87 88 89 90 |
# File 'proto_docs/google/shopping/css/v1/css_product_inputs.rb', line 87 class CssProductInput include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#custom_attributes ⇒ ::Array<::Google::Shopping::Type::CustomAttribute>
Returns A list of custom (CSS-provided) attributes. It can also be used for
submitting any attribute of the feed 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.
87 88 89 90 |
# File 'proto_docs/google/shopping/css/v1/css_product_inputs.rb', line 87 class CssProductInput include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#feed_label ⇒ ::String
Returns Required. The feed label for the CSS Product. Feed Label is synonymous to "target country" and hence should always be a valid region code. For example: 'DE' for Germany, 'FR' for France.
87 88 89 90 |
# File 'proto_docs/google/shopping/css/v1/css_product_inputs.rb', line 87 class CssProductInput include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#final_name ⇒ ::String (readonly)
Returns Output only. The name of the processed CSS Product.
Format:
accounts/{account}/cssProducts/{css_product}
".
87 88 89 90 |
# File 'proto_docs/google/shopping/css/v1/css_product_inputs.rb', line 87 class CssProductInput include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#freshness_time ⇒ ::Google::Protobuf::Timestamp
Returns Represents the existing version (freshness) of the CSS Product, which can be used to preserve the right order when multiple updates are done at the same time.
This field must not be set to the future time.
If set, the update is prevented if a newer version of the item already exists in our system (that is the last update time of the existing CSS products is later than the freshness time set in the update). If the update happens, the last update time is then set to this freshness time.
If not set, the update will not be prevented and the last update time will default to when this request was received by the CSS API.
If the operation is prevented, the aborted exception will be thrown.
87 88 89 90 |
# File 'proto_docs/google/shopping/css/v1/css_product_inputs.rb', line 87 class CssProductInput include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns The name of the CSS Product input.
Format:
accounts/{account}/cssProductInputs/{css_product_input}
.
87 88 89 90 |
# File 'proto_docs/google/shopping/css/v1/css_product_inputs.rb', line 87 class CssProductInput include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#raw_provided_id ⇒ ::String
Returns Required. Your unique identifier for the CSS Product. This is the same for the CSS Product input and processed CSS Product. We only allow ids with alphanumerics, underscores and dashes. See the products feed specification for details.
87 88 89 90 |
# File 'proto_docs/google/shopping/css/v1/css_product_inputs.rb', line 87 class CssProductInput include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |