Class: Google::Apis::OsconfigV2::GoogleCloudOsconfigV2OrchestrationScopeSelector

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 for the resources in scope of orchestration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudOsconfigV2OrchestrationScopeSelector

Returns a new instance of GoogleCloudOsconfigV2OrchestrationScopeSelector.



362
363
364
# File 'lib/google/apis/osconfig_v2/classes.rb', line 362

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

Instance Attribute Details

#location_selectorGoogle::Apis::OsconfigV2::GoogleCloudOsconfigV2OrchestrationScopeLocationSelector

Selector containing locations in scope. Corresponds to the JSON property locationSelector



355
356
357
# File 'lib/google/apis/osconfig_v2/classes.rb', line 355

def location_selector
  @location_selector
end

#resource_hierarchy_selectorGoogle::Apis::OsconfigV2::GoogleCloudOsconfigV2OrchestrationScopeResourceHierarchySelector

Selector containing Cloud Resource Manager resource hierarchy nodes. Corresponds to the JSON property resourceHierarchySelector



360
361
362
# File 'lib/google/apis/osconfig_v2/classes.rb', line 360

def resource_hierarchy_selector
  @resource_hierarchy_selector
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



367
368
369
370
# File 'lib/google/apis/osconfig_v2/classes.rb', line 367

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