Class: Google::Apis::DfareportingV2_1::ListCountriesResponse
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::ListCountriesResponse
- Includes:
- Core::Hashable
- Defined in:
- generated/google/apis/dfareporting_v2_1/classes.rb,
generated/google/apis/dfareporting_v2_1/representations.rb,
generated/google/apis/dfareporting_v2_1/representations.rb
Overview
Country List Response
Instance Attribute Summary collapse
-
#countries ⇒ Array<Google::Apis::DfareportingV2_1::Country>
Country collection.
-
#kind ⇒ String
Identifies what kind of resource this is.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListCountriesResponse
constructor
A new instance of ListCountriesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListCountriesResponse
Returns a new instance of ListCountriesResponse.
2207 2208 2209 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 2207 def initialize(**args) update!(**args) end |
Instance Attribute Details
#countries ⇒ Array<Google::Apis::DfareportingV2_1::Country>
Country collection.
Corresponds to the JSON property countries
2199 2200 2201 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 2199 def countries @countries end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#countriesListResponse".
Corresponds to the JSON property kind
2205 2206 2207 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 2205 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2212 2213 2214 2215 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 2212 def update!(**args) @countries = args[:countries] unless args[:countries].nil? @kind = args[:kind] unless args[:kind].nil? end |