Class: Google::Apis::DfareportingV3_3::MetrosListResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v3_3/classes.rb,
generated/google/apis/dfareporting_v3_3/representations.rb,
generated/google/apis/dfareporting_v3_3/representations.rb

Overview

Metro List Response

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MetrosListResponse

Returns a new instance of MetrosListResponse.



7126
7127
7128
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 7126

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)


7119
7120
7121
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 7119

def kind
  @kind
end

#metrosArray<Google::Apis::DfareportingV3_3::Metro>

Metro collection. Corresponds to the JSON property metros



7124
7125
7126
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 7124

def metros
  @metros
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7131
7132
7133
7134
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 7131

def update!(**args)
  @kind = args[:kind] if args.key?(:kind)
  @metros = args[:metros] if args.key?(:metros)
end