Class: Google::Apis::GkebackupV1::ClusterResourceRestoreScope
- Inherits:
-
Object
- Object
- Google::Apis::GkebackupV1::ClusterResourceRestoreScope
- 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
Identifies the cluster-scoped resources to restore from the Backup.
Instance Attribute Summary collapse
-
#selected_group_kinds ⇒ Array<Google::Apis::GkebackupV1::GroupKind>
A list of "types" of cluster-scoped resources to be restored from the Backup.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ClusterResourceRestoreScope
constructor
A new instance of ClusterResourceRestoreScope.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ClusterResourceRestoreScope
Returns a new instance of ClusterResourceRestoreScope.
599 600 601 |
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 599 def initialize(**args) update!(**args) end |
Instance Attribute Details
#selected_group_kinds ⇒ Array<Google::Apis::GkebackupV1::GroupKind>
A list of "types" of cluster-scoped resources to be restored from the Backup.
An empty list means that NO cluster-scoped resources will be restored. Note
that Namespaces and PersistentVolume restoration is handled separately and is
not governed by this field.
Corresponds to the JSON property selectedGroupKinds
597 598 599 |
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 597 def selected_group_kinds @selected_group_kinds end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
604 605 606 |
# File 'lib/google/apis/gkebackup_v1/classes.rb', line 604 def update!(**args) @selected_group_kinds = args[:selected_group_kinds] if args.key?(:selected_group_kinds) end |