Class: Google::Apis::DfareportingV2_1::ListRegionsResponse

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

Region List Response

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListRegionsResponse

Returns a new instance of ListRegionsResponse



8625
8626
8627
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8625

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)


8618
8619
8620
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8618

def kind
  @kind
end

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

Region collection. Corresponds to the JSON property regions



8623
8624
8625
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8623

def regions
  @regions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8630
8631
8632
8633
# File 'generated/google/apis/dfareporting_v2_1/classes.rb', line 8630

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