Google Cloud Gke Backup V1 Client - Class ClusterResourceRestoreScope (0.1.7)

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
NameDescription
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
TypeDescription
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
NameDescription
var array<Google\Cloud\GkeBackup\V1\RestoreConfig\GroupKind>
Returns
TypeDescription
$this