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.



160
161
162
# File 'lib/google/apis/osconfig_v2/classes.rb', line 160

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


153
154
155
# File 'lib/google/apis/osconfig_v2/classes.rb', line 153

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


158
159
160
# File 'lib/google/apis/osconfig_v2/classes.rb', line 158

def included_projects
  @included_projects
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



165
166
167
168
# File 'lib/google/apis/osconfig_v2/classes.rb', line 165

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