Class: Google::Apis::ContentV2::ShippingsettingsGetSupportedCarriersResponse
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::ShippingsettingsGetSupportedCarriersResponse
- Defined in:
- generated/google/apis/content_v2/classes.rb,
generated/google/apis/content_v2/representations.rb,
generated/google/apis/content_v2/representations.rb
Instance Attribute Summary collapse
-
#carriers ⇒ Array<Google::Apis::ContentV2::CarriersCarrier>
A list of supported carriers.
-
#kind ⇒ String
Identifies what kind of resource this is.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ShippingsettingsGetSupportedCarriersResponse
constructor
A new instance of ShippingsettingsGetSupportedCarriersResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ShippingsettingsGetSupportedCarriersResponse
Returns a new instance of ShippingsettingsGetSupportedCarriersResponse.
6398 6399 6400 |
# File 'generated/google/apis/content_v2/classes.rb', line 6398 def initialize(**args) update!(**args) end |
Instance Attribute Details
#carriers ⇒ Array<Google::Apis::ContentV2::CarriersCarrier>
A list of supported carriers. May be empty.
Corresponds to the JSON property carriers
6390 6391 6392 |
# File 'generated/google/apis/content_v2/classes.rb', line 6390 def carriers @carriers end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "content#
shippingsettingsGetSupportedCarriersResponse".
Corresponds to the JSON property kind
6396 6397 6398 |
# File 'generated/google/apis/content_v2/classes.rb', line 6396 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6403 6404 6405 6406 |
# File 'generated/google/apis/content_v2/classes.rb', line 6403 def update!(**args) @carriers = args[:carriers] if args.key?(:carriers) @kind = args[:kind] if args.key?(:kind) end |