Class: Google::Apis::DfareportingV2_3::ListRegionsResponse

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

Overview

Region List Response

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListRegionsResponse

Returns a new instance of ListRegionsResponse



8655
8656
8657
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 8655

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)


8648
8649
8650
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 8648

def kind
  @kind
end

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

Region collection. Corresponds to the JSON property regions



8653
8654
8655
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 8653

def regions
  @regions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8660
8661
8662
8663
# File 'generated/google/apis/dfareporting_v2_3/classes.rb', line 8660

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