Reference documentation and code samples for the Google Cloud Gke Backup V1 Client class ClusterResourceRestoreScope.
Identifies the cluster-scoped resources to restore from the Backup.
Generated from protobuf message google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceRestoreScope
Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ selected_group_kinds |
array<Google\Cloud\GkeBackup\V1\RestoreConfig\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. |
getSelectedGroupKinds
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.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setSelectedGroupKinds
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.
| Parameter | |
|---|---|
| Name | Description |
var |
array<Google\Cloud\GkeBackup\V1\RestoreConfig\GroupKind>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|