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.



136
137
138
# File 'lib/google/apis/osconfig_v2/classes.rb', line 136

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


134
135
136
# File 'lib/google/apis/osconfig_v2/classes.rb', line 134

def included_locations
  @included_locations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



141
142
143
# File 'lib/google/apis/osconfig_v2/classes.rb', line 141

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