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.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ cluster |
string
The source cluster from which this Backup was created. Valid formats: - |
↳ 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.
Returns | |
---|---|
Type | Description |
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.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getK8SVersion
The Kubernetes server version of the source cluster.
Returns | |
---|---|
Type | Description |
string |
setK8SVersion
The Kubernetes server version of the source cluster.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getBackupCrdVersions
A list of the Backup for GKE CRD versions found in the cluster.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\MapField |
setBackupCrdVersions
A list of the Backup for GKE CRD versions found in the cluster.
Parameter | |
---|---|
Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
Returns | |
---|---|
Type | Description |
$this |
getGkeVersion
GKE version
Returns | |
---|---|
Type | Description |
string |
hasGkeVersion
setGkeVersion
GKE version
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getAnthosVersion
Anthos version
Returns | |
---|---|
Type | Description |
string |
hasAnthosVersion
setAnthosVersion
Anthos version
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPlatformVersion
Returns | |
---|---|
Type | Description |
string |