Class: Google::Shopping::Merchant::Inventories::V1beta::RegionalInventory
- Inherits:
-
Object
- Object
- Google::Shopping::Merchant::Inventories::V1beta::RegionalInventory
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/shopping/merchant/inventories/v1beta/regionalinventory.rb
Overview
Regional inventory information for the product. Represents specific
information like price and availability for a given product in a specific
region
.
For a list of all accepted attribute values, see the regional product
inventory data
specification.
Instance Attribute Summary collapse
-
#account ⇒ ::Integer
readonly
Output only.
-
#availability ⇒ ::String
Availability of the product in this region.
-
#custom_attributes ⇒ ::Array<::Google::Shopping::Type::CustomAttribute>
A list of custom (merchant-provided) attributes.
-
#name ⇒ ::String
readonly
Output only.
-
#price ⇒ ::Google::Shopping::Type::Price
Price of the product in this region.
-
#region ⇒ ::String
Required.
-
#sale_price ⇒ ::Google::Shopping::Type::Price
Sale price of the product in this region.
-
#sale_price_effective_date ⇒ ::Google::Type::Interval
The
TimePeriod
of the sale price in this region.
Instance Attribute Details
#account ⇒ ::Integer (readonly)
Returns Output only. The account that owns the product. This field will be ignored if set by the client.
68 69 70 71 |
# File 'proto_docs/google/shopping/merchant/inventories/v1beta/regionalinventory.rb', line 68 class RegionalInventory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#availability ⇒ ::String
Returns Availability of the product in this region. For accepted attribute values, see the regional product inventory data specification.
68 69 70 71 |
# File 'proto_docs/google/shopping/merchant/inventories/v1beta/regionalinventory.rb', line 68 class RegionalInventory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#custom_attributes ⇒ ::Array<::Google::Shopping::Type::CustomAttribute>
Returns A list of custom (merchant-provided) attributes. You can also use
CustomAttribute
to submit any attribute of the data specification in its
generic form.
68 69 70 71 |
# File 'proto_docs/google/shopping/merchant/inventories/v1beta/regionalinventory.rb', line 68 class RegionalInventory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String (readonly)
Returns Output only. The name of the RegionalInventory
resource.
Format:
{regional_inventory.name=accounts/{account}/products/{product}/regionalInventories/{region}
.
68 69 70 71 |
# File 'proto_docs/google/shopping/merchant/inventories/v1beta/regionalinventory.rb', line 68 class RegionalInventory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#price ⇒ ::Google::Shopping::Type::Price
Returns Price of the product in this region.
68 69 70 71 |
# File 'proto_docs/google/shopping/merchant/inventories/v1beta/regionalinventory.rb', line 68 class RegionalInventory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#region ⇒ ::String
Returns Required. Immutable. ID of the region for this
RegionalInventory
resource. See the Regional availability and
pricing for more
details.
68 69 70 71 |
# File 'proto_docs/google/shopping/merchant/inventories/v1beta/regionalinventory.rb', line 68 class RegionalInventory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#sale_price ⇒ ::Google::Shopping::Type::Price
Returns Sale price of the product in this region. Mandatory if
salePriceEffectiveDate
is defined.
68 69 70 71 |
# File 'proto_docs/google/shopping/merchant/inventories/v1beta/regionalinventory.rb', line 68 class RegionalInventory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#sale_price_effective_date ⇒ ::Google::Type::Interval
Returns The TimePeriod
of the
sale price in this region.
68 69 70 71 |
# File 'proto_docs/google/shopping/merchant/inventories/v1beta/regionalinventory.rb', line 68 class RegionalInventory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |