Class: Google::Apis::ContentV2::ShippingsettingsGetSupportedCarriersResponse
- Inherits:
-
Object
- Object
- Google::Apis::ContentV2::ShippingsettingsGetSupportedCarriersResponse
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/content_v2/classes.rb,
lib/google/apis/content_v2/representations.rb,
lib/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.
Constructor Details
#initialize(**args) ⇒ ShippingsettingsGetSupportedCarriersResponse
Returns a new instance of ShippingsettingsGetSupportedCarriersResponse.
10481 10482 10483 |
# File 'lib/google/apis/content_v2/classes.rb', line 10481 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
10473 10474 10475 |
# File 'lib/google/apis/content_v2/classes.rb', line 10473 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
10479 10480 10481 |
# File 'lib/google/apis/content_v2/classes.rb', line 10479 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10486 10487 10488 10489 |
# File 'lib/google/apis/content_v2/classes.rb', line 10486 def update!(**args) @carriers = args[:carriers] if args.key?(:carriers) @kind = args[:kind] if args.key?(:kind) end |