Class: Google::Shopping::Merchant::Inventories::V1beta::RegionalInventory

Inherits:
Object
  • Object
show all
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

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.

Returns:

  • (::Integer)

    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.

Returns:



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.

Returns:

  • (::Array<::Google::Shopping::Type::CustomAttribute>)

    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}.

Returns:

  • (::String)

    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.

Returns:



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.

Returns:



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.

Returns:



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.

Returns:



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