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
Output only. 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
Output only. The Kubernetes server version of the source cluster.
↳ backup_crd_versions
array| Google\Protobuf\Internal\MapField
Output only. A list of the Backup for GKE CRD versions found in the cluster.
↳ gke_version
string
Output only. GKE version
↳ anthos_version
string
Output only. Anthos version
getCluster
Output only. 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
Output only. 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
Output only. The Kubernetes server version of the source cluster.
string
setK8SVersion
Output only. The Kubernetes server version of the source cluster.
var
string
$this
getBackupCrdVersions
Output only. A list of the Backup for GKE CRD versions found in the cluster.
setBackupCrdVersions
Output only. A list of the Backup for GKE CRD versions found in the cluster.
$this
getGkeVersion
Output only. GKE version
string
hasGkeVersion
setGkeVersion
Output only. GKE version
var
string
$this
getAnthosVersion
Output only. Anthos version
string
hasAnthosVersion
setAnthosVersion
Output only. Anthos version
var
string
$this
getPlatformVersion
string