Class: Google::Apis::DfareportingV4::RegionsListResponse

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



10280
10281
10282
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 10280

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)


10273
10274
10275
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 10273

def kind
  @kind
end

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

Region collection. Corresponds to the JSON property regions



10278
10279
10280
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 10278

def regions
  @regions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10285
10286
10287
10288
# File 'lib/google/apis/dfareporting_v4/classes.rb', line 10285

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