Class: Google::Apis::ComputeV1::RolloutPlanWaveSelectorResourceHierarchySelector

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb

Overview

Roll out to resources by Cloud Resource Manager resource hierarchy nodes such as projects, folders, orgs.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RolloutPlanWaveSelectorResourceHierarchySelector

Returns a new instance of RolloutPlanWaveSelectorResourceHierarchySelector.



50728
50729
50730
# File 'lib/google/apis/compute_v1/classes.rb', line 50728

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

Instance Attribute Details

#included_foldersArray<String>

Optional. Format: "folders/folder_id" Corresponds to the JSON property includedFolders

Returns:

  • (Array<String>)


50716
50717
50718
# File 'lib/google/apis/compute_v1/classes.rb', line 50716

def included_folders
  @included_folders
end

#included_organizationsArray<String>

Optional. Format: "organizations/organization_id" Corresponds to the JSON property includedOrganizations

Returns:

  • (Array<String>)


50721
50722
50723
# File 'lib/google/apis/compute_v1/classes.rb', line 50721

def included_organizations
  @included_organizations
end

#included_projectsArray<String>

Optional. Format: "projects/project_id" Corresponds to the JSON property includedProjects

Returns:

  • (Array<String>)


50726
50727
50728
# File 'lib/google/apis/compute_v1/classes.rb', line 50726

def included_projects
  @included_projects
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



50733
50734
50735
50736
50737
# File 'lib/google/apis/compute_v1/classes.rb', line 50733

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