Class: Google::Apis::GkebackupV1::RestoreOrder

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

Overview

Allows customers to specify dependencies between resources that Backup for GKE can use to compute a resasonable restore order.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RestoreOrder

Returns a new instance of RestoreOrder.



2024
2025
2026
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 2024

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

Instance Attribute Details

#group_kind_dependenciesArray<Google::Apis::GkebackupV1::GroupKindDependency>

Optional. Contains a list of group kind dependency pairs provided by the customer, that is used by Backup for GKE to generate a group kind restore order. Corresponds to the JSON property groupKindDependencies



2022
2023
2024
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 2022

def group_kind_dependencies
  @group_kind_dependencies
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2029
2030
2031
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 2029

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