Class: Google::Apis::DfareportingV3_3::RegionsListResponse

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



9394
9395
9396
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 9394

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)


9387
9388
9389
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 9387

def kind
  @kind
end

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

Region collection. Corresponds to the JSON property regions



9392
9393
9394
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 9392

def regions
  @regions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9399
9400
9401
9402
# File 'generated/google/apis/dfareporting_v3_3/classes.rb', line 9399

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