Class: Google::Shopping::Merchant::Inventories::V1beta::LocalInventory

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/shopping/merchant/inventories/v1beta/localinventory.rb

Overview

Local inventory information for the product. Represents in-store information for a specific product at the store specified by storeCode. For a list of all accepted attribute values, see the local 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.



89
90
91
92
# File 'proto_docs/google/shopping/merchant/inventories/v1beta/localinventory.rb', line 89

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

#availability::String

Returns Availability of the product at this store. For accepted attribute values, see the local product inventory data specification.

Returns:



89
90
91
92
# File 'proto_docs/google/shopping/merchant/inventories/v1beta/localinventory.rb', line 89

class LocalInventory
  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.



89
90
91
92
# File 'proto_docs/google/shopping/merchant/inventories/v1beta/localinventory.rb', line 89

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

#instore_product_location::String

Returns Location of the product inside the store. Maximum length is 20 bytes.

Returns:

  • (::String)

    Location of the product inside the store. Maximum length is 20 bytes.



89
90
91
92
# File 'proto_docs/google/shopping/merchant/inventories/v1beta/localinventory.rb', line 89

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

#name::String (readonly)

Returns Output only. The name of the LocalInventory resource. Format: accounts/{account}/products/{product}/localInventories/{store_code}.

Returns:

  • (::String)

    Output only. The name of the LocalInventory resource. Format: accounts/{account}/products/{product}/localInventories/{store_code}



89
90
91
92
# File 'proto_docs/google/shopping/merchant/inventories/v1beta/localinventory.rb', line 89

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

#pickup_method::String

Returns Supported pickup method for this product. Unless the value is "not supported", this field must be submitted together with pickupSla. For accepted attribute values, see the local product inventory data specification.

Returns:

  • (::String)

    Supported pickup method for this product. Unless the value is "not supported", this field must be submitted together with pickupSla. For accepted attribute values, see the local product inventory data specification



89
90
91
92
# File 'proto_docs/google/shopping/merchant/inventories/v1beta/localinventory.rb', line 89

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

#pickup_sla::String

Returns Relative time period from the order date for an order for this product, from this store, to be ready for pickup. Must be submitted with pickupMethod. For accepted attribute values, see the local product inventory data specification.

Returns:

  • (::String)

    Relative time period from the order date for an order for this product, from this store, to be ready for pickup. Must be submitted with pickupMethod. For accepted attribute values, see the local product inventory data specification



89
90
91
92
# File 'proto_docs/google/shopping/merchant/inventories/v1beta/localinventory.rb', line 89

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

#price::Google::Shopping::Type::Price

Returns Price of the product at this store.

Returns:



89
90
91
92
# File 'proto_docs/google/shopping/merchant/inventories/v1beta/localinventory.rb', line 89

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

#quantity::Integer

Returns Quantity of the product available at this store. Must be greater than or equal to zero.

Returns:

  • (::Integer)

    Quantity of the product available at this store. Must be greater than or equal to zero.



89
90
91
92
# File 'proto_docs/google/shopping/merchant/inventories/v1beta/localinventory.rb', line 89

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

#sale_price::Google::Shopping::Type::Price

Returns Sale price of the product at this store. Mandatory if salePriceEffectiveDate is defined.

Returns:



89
90
91
92
# File 'proto_docs/google/shopping/merchant/inventories/v1beta/localinventory.rb', line 89

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

#sale_price_effective_date::Google::Type::Interval

Returns The TimePeriod of the sale at this store.

Returns:



89
90
91
92
# File 'proto_docs/google/shopping/merchant/inventories/v1beta/localinventory.rb', line 89

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

#store_code::String

Returns Required. Immutable. Store code (the store ID from your Business Profile) of the physical store the product is sold in. See the Local product inventory data specification for more information.

Returns:



89
90
91
92
# File 'proto_docs/google/shopping/merchant/inventories/v1beta/localinventory.rb', line 89

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