Backup for GKE v1 API - Class Backup.Types.ClusterMetadata (2.6.0)

public sealed class Backup.Types.ClusterMetadata : IMessage<Backup.Types.ClusterMetadata>, IEquatable<Backup.Types.ClusterMetadata>, IDeepCloneable<Backup.Types.ClusterMetadata>, IBufferMessage, IMessage

Reference documentation and code samples for the Backup for GKE v1 API class Backup.Types.ClusterMetadata.

Information about the GKE cluster from which this Backup was created.

Inheritance

object > Backup.Types.ClusterMetadata

Namespace

Google.Cloud.GkeBackup.V1

Assembly

Google.Cloud.GkeBackup.V1.dll

Constructors

ClusterMetadata()

public ClusterMetadata()

ClusterMetadata(ClusterMetadata)

public ClusterMetadata(Backup.Types.ClusterMetadata other)
Parameter
Name Description
other BackupTypesClusterMetadata

Properties

AnthosVersion

public string AnthosVersion { get; set; }

Output only. Anthos version

Property Value
Type Description
string

BackupCrdVersions

public MapField<string, string> BackupCrdVersions { get; }

Output only. A list of the Backup for GKE CRD versions found in the cluster.

Property Value
Type Description
MapFieldstringstring

Cluster

public string Cluster { get; set; }

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][google.cloud.gkebackup.v1.BackupPlan.cluster] field.

Property Value
Type Description
string

GkeVersion

public string GkeVersion { get; set; }

Output only. GKE version

Property Value
Type Description
string

HasAnthosVersion

public bool HasAnthosVersion { get; }

Gets whether the "anthos_version" field is set

Property Value
Type Description
bool

HasGkeVersion

public bool HasGkeVersion { get; }

Gets whether the "gke_version" field is set

Property Value
Type Description
bool

K8SVersion

public string K8SVersion { get; set; }

Output only. The Kubernetes server version of the source cluster.

Property Value
Type Description
string

PlatformVersionCase

public Backup.Types.ClusterMetadata.PlatformVersionOneofCase PlatformVersionCase { get; }
Property Value
Type Description
BackupTypesClusterMetadataPlatformVersionOneofCase