Class: Google::Shopping::Merchant::Accounts::V1beta::ShippingSettings

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

Overview

The merchant account's shipping setting.

Instance Attribute Summary collapse

Instance Attribute Details

#etag::String

Returns Required. This field is used for avoid async issue. Make sure shipping setting data didn't change between get call and insert call. The user should do following steps:

  1. Set etag field as empty string for initial shipping setting creation.

  2. After initial creation, call get method to obtain an etag and current shipping setting data before call insert.

  3. Modify to wanted shipping setting information.

  4. Call insert method with the wanted shipping setting information with the etag obtained from step 2.

  5. If shipping setting data changed between step 2 and step 4. Insert request will fail because the etag changes every time the shipping setting data changes. User should repeate step 2-4 with the new etag.

Returns:

  • (::String)

    Required. This field is used for avoid async issue. Make sure shipping setting data didn't change between get call and insert call. The user should do following steps:

    1. Set etag field as empty string for initial shipping setting creation.

    2. After initial creation, call get method to obtain an etag and current shipping setting data before call insert.

    3. Modify to wanted shipping setting information.

    4. Call insert method with the wanted shipping setting information with the etag obtained from step 2.

    5. If shipping setting data changed between step 2 and step 4. Insert request will fail because the etag changes every time the shipping setting data changes. User should repeate step 2-4 with the new etag.



57
58
59
60
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 57

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

#name::String

Returns Identifier. The resource name of the shipping setting. Format: accounts/{account}/shippingSetting.

Returns:

  • (::String)

    Identifier. The resource name of the shipping setting. Format: accounts/{account}/shippingSetting



57
58
59
60
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 57

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

#services::Array<::Google::Shopping::Merchant::Accounts::V1beta::Service>

Returns Optional. The target account's list of services.

Returns:



57
58
59
60
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 57

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

#warehouses::Array<::Google::Shopping::Merchant::Accounts::V1beta::Warehouse>

Returns Optional. A list of warehouses which can be referred to in services.

Returns:



57
58
59
60
# File 'proto_docs/google/shopping/merchant/accounts/v1beta/shippingsettings.rb', line 57

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