Reference documentation and code samples for the Google Cloud Gke Backup V1 Client class ClusterMetadata.
Information about the GKE cluster from which this Backup was created.
Generated from protobuf message google.cloud.gkebackup.v1.Backup.ClusterMetadata
Namespace
Google \ Cloud \ GkeBackup \ V1 \ BackupMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ cluster
string
The source cluster from which this Backup was created. Valid formats: - projects/*/locations/*/clusters/*
- projects/*/zones/*/clusters/*
This is inherited from the parent BackupPlan's cluster
field.
↳ k8s_version
string
The Kubernetes server version of the source cluster.
↳ backup_crd_versions
array| Google\Protobuf\Internal\MapField
A list of the Backup for GKE CRD versions found in the cluster.
↳ gke_version
string
GKE version
↳ anthos_version
string
Anthos version
getCluster
The source cluster from which this Backup was created.
Valid formats:
-
projects/*/locations/*/clusters/*
-
projects/*/zones/*/clusters/*
This is inherited from the parent BackupPlan's cluster field.
string
setCluster
The source cluster from which this Backup was created.
Valid formats:
-
projects/*/locations/*/clusters/*
-
projects/*/zones/*/clusters/*
This is inherited from the parent BackupPlan's cluster field.
var
string
$this
getK8SVersion
The Kubernetes server version of the source cluster.
string
setK8SVersion
The Kubernetes server version of the source cluster.
var
string
$this
getBackupCrdVersions
A list of the Backup for GKE CRD versions found in the cluster.
setBackupCrdVersions
A list of the Backup for GKE CRD versions found in the cluster.
$this
getGkeVersion
GKE version
string
hasGkeVersion
setGkeVersion
GKE version
var
string
$this
getAnthosVersion
Anthos version
string
hasAnthosVersion
setAnthosVersion
Anthos version
var
string
$this
getPlatformVersion
string