Class: Google::Apis::DfareportingV2_1::ListMetrosResponse

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

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

#kindString

Identifies what kind of resource this is. Value: the fixed string " dfareporting#metrosListResponse". Corresponds to the JSON property kind

Returns:

  • (String)


6413
6414
6415
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 6413

def kind
  @kind
end

#metrosArray<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