Class: Google::Apis::OsconfigV2::GoogleCloudOsconfigV2OrchestrationScopeResourceHierarchySelector
- Inherits:
-
Object
- Object
- Google::Apis::OsconfigV2::GoogleCloudOsconfigV2OrchestrationScopeResourceHierarchySelector
- 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 Cloud Resource Manager resource hierarchy nodes.
Instance Attribute Summary collapse
-
#included_folders ⇒ Array<String>
Optional.
-
#included_projects ⇒ Array<String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudOsconfigV2OrchestrationScopeResourceHierarchySelector
constructor
A new instance of GoogleCloudOsconfigV2OrchestrationScopeResourceHierarchySelector.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudOsconfigV2OrchestrationScopeResourceHierarchySelector
Returns a new instance of GoogleCloudOsconfigV2OrchestrationScopeResourceHierarchySelector.
337 338 339 |
# File 'lib/google/apis/osconfig_v2/classes.rb', line 337 def initialize(**args) update!(**args) end |
Instance Attribute Details
#included_folders ⇒ Array<String>
Optional. Names of the folders in scope. Format: folders/folder_id`
Corresponds to the JSON propertyincludedFolders`
330 331 332 |
# File 'lib/google/apis/osconfig_v2/classes.rb', line 330 def included_folders @included_folders end |
#included_projects ⇒ Array<String>
Optional. Names of the projects in scope. Format: projects/project_number`
Corresponds to the JSON propertyincludedProjects`
335 336 337 |
# File 'lib/google/apis/osconfig_v2/classes.rb', line 335 def included_projects @included_projects end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
342 343 344 345 |
# File 'lib/google/apis/osconfig_v2/classes.rb', line 342 def update!(**args) @included_folders = args[:included_folders] if args.key?(:included_folders) @included_projects = args[:included_projects] if args.key?(:included_projects) end |