Class: Google::Apis::OsconfigV2::GoogleCloudOsconfigV2OrchestrationScopeLocationSelector

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

Overview

Selector containing locations in scope.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudOsconfigV2OrchestrationScopeLocationSelector

Returns a new instance of GoogleCloudOsconfigV2OrchestrationScopeLocationSelector.



313
314
315
# File 'lib/google/apis/osconfig_v2/classes.rb', line 313

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

Instance Attribute Details

#included_locationsArray<String>

Optional. Names of the locations in scope. Format: us-central1-a Corresponds to the JSON property includedLocations

Returns:

  • (Array<String>)


311
312
313
# File 'lib/google/apis/osconfig_v2/classes.rb', line 311

def included_locations
  @included_locations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



318
319
320
# File 'lib/google/apis/osconfig_v2/classes.rb', line 318

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