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.



1399
1400
1401
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1399

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>)


1397
1398
1399
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1397

def region_codes
  @region_codes
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1404
1405
1406
# File 'lib/google/apis/datamanager_v1/classes.rb', line 1404

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