Class: Google::Apis::DfareportingV2_1::ListCountriesResponse

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

Country List Response

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

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

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

#kindString

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

Returns:

  • (String)


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