Class: Google::Apis::OsconfigV2::GoogleCloudOsconfigV2OrchestrationScopeResourceHierarchySelector

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 Cloud Resource Manager resource hierarchy nodes.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_foldersArray<String>

Optional. Names of the folders in scope. Format: folders/folder_id` Corresponds to the JSON propertyincludedFolders`

Returns:

  • (Array<String>)


330
331
332
# File 'lib/google/apis/osconfig_v2/classes.rb', line 330

def included_folders
  @included_folders
end

#included_projectsArray<String>

Optional. Names of the projects in scope. Format: projects/project_number` Corresponds to the JSON propertyincludedProjects`

Returns:

  • (Array<String>)


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