Class: Google::Apis::DfareportingV2_1::ListMetrosResponse
- Inherits:
-
Object
- Object
- Google::Apis::DfareportingV2_1::ListMetrosResponse
- 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
Metro List Response
Instance Attribute Summary collapse
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#metros ⇒ Array<Google::Apis::DfareportingV2_1::Metro>
Metro collection.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListMetrosResponse
constructor
A new instance of ListMetrosResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ListMetrosResponse
Returns a new instance of ListMetrosResponse.
6420 6421 6422 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6420 def initialize(**args) update!(**args) end |
Instance Attribute Details
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "
dfareporting#metrosListResponse".
Corresponds to the JSON property kind
6413 6414 6415 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6413 def kind @kind end |
#metros ⇒ Array<Google::Apis::DfareportingV2_1::Metro>
Metro collection.
Corresponds to the JSON property metros
6418 6419 6420 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6418 def metros @metros end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6425 6426 6427 6428 |
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6425 def update!(**args) @kind = args[:kind] unless args[:kind].nil? @metros = args[:metros] unless args[:metros].nil? end |