Class: Google::Shopping::Merchant::Inventories::V1::LocalInventory

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/shopping/merchant/inventories/v1/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.



49
50
51
52
# File 'proto_docs/google/shopping/merchant/inventories/v1/localinventory.rb', line 49

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

#local_inventory_attributes::Google::Shopping::Merchant::Inventories::V1::LocalInventoryAttributes

Returns Optional. A list of local inventory attributes.

Returns:



49
50
51
52
# File 'proto_docs/google/shopping/merchant/inventories/v1/localinventory.rb', line 49

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}



49
50
51
52
# File 'proto_docs/google/shopping/merchant/inventories/v1/localinventory.rb', line 49

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:



49
50
51
52
# File 'proto_docs/google/shopping/merchant/inventories/v1/localinventory.rb', line 49

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