Class: Google::Shopping::Merchant::Lfp::V1beta::LfpInventory
- Inherits:
-
Object
- Object
- Google::Shopping::Merchant::Lfp::V1beta::LfpInventory
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/shopping/merchant/lfp/v1beta/lfpinventory.rb
Overview
Local Inventory for the merchant.
Instance Attribute Summary collapse
-
#availability ⇒ ::String
Required.
-
#collection_time ⇒ ::Google::Protobuf::Timestamp
Optional.
-
#content_language ⇒ ::String
Required.
-
#feed_label ⇒ ::String
Optional.
-
#gtin ⇒ ::String
Optional.
-
#name ⇒ ::String
readonly
Output only.
-
#offer_id ⇒ ::String
Required.
-
#pickup_method ⇒ ::String
Optional.
-
#pickup_sla ⇒ ::String
Optional.
-
#price ⇒ ::Google::Shopping::Type::Price
Optional.
-
#quantity ⇒ ::Integer
Optional.
-
#region_code ⇒ ::String
Required.
-
#store_code ⇒ ::String
Required.
-
#target_account ⇒ ::Integer
Required.
Instance Attribute Details
#availability ⇒ ::String
Returns Required. Availability of the product at this store. For accepted attribute values, see the local product inventory data specification.
92 93 94 95 |
# File 'proto_docs/google/shopping/merchant/lfp/v1beta/lfpinventory.rb', line 92 class LfpInventory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#collection_time ⇒ ::Google::Protobuf::Timestamp
Returns Optional. The time when the inventory is collected. If not set, it will be set to the time when the inventory is submitted.
92 93 94 95 |
# File 'proto_docs/google/shopping/merchant/lfp/v1beta/lfpinventory.rb', line 92 class LfpInventory 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 item.
92 93 94 95 |
# File 'proto_docs/google/shopping/merchant/lfp/v1beta/lfpinventory.rb', line 92 class LfpInventory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#feed_label ⇒ ::String
Returns Optional. The feed
label
for the product. If this is not set, it will default to regionCode
.
92 93 94 95 |
# File 'proto_docs/google/shopping/merchant/lfp/v1beta/lfpinventory.rb', line 92 class LfpInventory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#gtin ⇒ ::String
Returns Optional. The Global Trade Item Number of the product.
92 93 94 95 |
# File 'proto_docs/google/shopping/merchant/lfp/v1beta/lfpinventory.rb', line 92 class LfpInventory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String (readonly)
Returns Output only. Identifier. The name for the LfpInventory
resource.
Format:
accounts/{account}/lfpInventories/{target_merchant}~{store_code}~{offer}
.
92 93 94 95 |
# File 'proto_docs/google/shopping/merchant/lfp/v1beta/lfpinventory.rb', line 92 class LfpInventory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#offer_id ⇒ ::String
Returns Required. Immutable. A unique identifier for the product. If both inventories and sales are submitted for a merchant, this id should match for the same product.
Note: if the merchant sells the same product new and used, they should have different IDs.
92 93 94 95 |
# File 'proto_docs/google/shopping/merchant/lfp/v1beta/lfpinventory.rb', line 92 class LfpInventory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#pickup_method ⇒ ::String
Returns Optional. Supported pickup method for this offer. 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.
92 93 94 95 |
# File 'proto_docs/google/shopping/merchant/lfp/v1beta/lfpinventory.rb', line 92 class LfpInventory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#pickup_sla ⇒ ::String
Returns Optional. Expected date that an order will be ready for pickup relative to
the order date. Must be submitted together with pickupMethod
. For
accepted attribute values, see the local product inventory data
specification.
92 93 94 95 |
# File 'proto_docs/google/shopping/merchant/lfp/v1beta/lfpinventory.rb', line 92 class LfpInventory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#price ⇒ ::Google::Shopping::Type::Price
Returns Optional. The current price of the product.
92 93 94 95 |
# File 'proto_docs/google/shopping/merchant/lfp/v1beta/lfpinventory.rb', line 92 class LfpInventory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#quantity ⇒ ::Integer
Returns Optional. Quantity of the product available at this store. Must be greater than or equal to zero.
92 93 94 95 |
# File 'proto_docs/google/shopping/merchant/lfp/v1beta/lfpinventory.rb', line 92 class LfpInventory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#region_code ⇒ ::String
Returns Required. The CLDR territory code for the country where the product is sold.
92 93 94 95 |
# File 'proto_docs/google/shopping/merchant/lfp/v1beta/lfpinventory.rb', line 92 class LfpInventory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#store_code ⇒ ::String
Returns Required. The identifier of the merchant's store. Either the store code
inserted through InsertLfpStore
or the store code in the Business
Profile.
92 93 94 95 |
# File 'proto_docs/google/shopping/merchant/lfp/v1beta/lfpinventory.rb', line 92 class LfpInventory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#target_account ⇒ ::Integer
Returns Required. The Merchant Center ID of the merchant to submit the inventory for.
92 93 94 95 |
# File 'proto_docs/google/shopping/merchant/lfp/v1beta/lfpinventory.rb', line 92 class LfpInventory include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |