Class: Google::Apis::DfareportingV3_0::RegionsListResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v3_0/classes.rb,
generated/google/apis/dfareporting_v3_0/representations.rb,
generated/google/apis/dfareporting_v3_0/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) ⇒ RegionsListResponse

Returns a new instance of RegionsListResponse



9518
9519
9520
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 9518

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)


9511
9512
9513
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 9511

def kind
  @kind
end

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

Region collection. Corresponds to the JSON property regions



9516
9517
9518
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 9516

def regions
  @regions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9523
9524
9525
9526
# File 'generated/google/apis/dfareporting_v3_0/classes.rb', line 9523

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