Class: Google::Apis::DfareportingV3_4::RegionsListResponse

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

Overview

Region List Response

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RegionsListResponse

Returns a new instance of RegionsListResponse.



10206
10207
10208
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 10206

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#kindString

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

Returns:

  • (String)


10199
10200
10201
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 10199

def kind
  @kind
end

#regionsArray<Google::Apis::DfareportingV3_4::Region>

Region collection. Corresponds to the JSON property regions



10204
10205
10206
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 10204

def regions
  @regions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10211
10212
10213
10214
# File 'generated/google/apis/dfareporting_v3_4/classes.rb', line 10211

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