Class: Google::Apis::DatamanagerV1::Location

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

Overview

The baseline location of the request. Baseline location is on OR-list of ISO 3166-1 alpha-2 region codes of the requested regions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Location

Returns a new instance of Location.



1618
1619
1620
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1618

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#region_codesArray<String>

List of ISO 3166-1 alpha-2 region codes. Corresponds to the JSON property regionCodes

Returns:

  • (Array<String>)


1616
1617
1618
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1616

def region_codes
  @region_codes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1623
1624
1625
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1623

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