Backup for GKE v1 API - Class Backup.Types.ClusterMetadata (2.2.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
NameDescription
otherBackupTypesClusterMetadata

Properties

AnthosVersion

public string AnthosVersion { get; set; }

Anthos version

Property Value
TypeDescription
string

BackupCrdVersions

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

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

Property Value
TypeDescription
MapFieldstringstring

Cluster

public string Cluster { get; set; }

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
TypeDescription
string

GkeVersion

public string GkeVersion { get; set; }

GKE version

Property Value
TypeDescription
string

HasAnthosVersion

public bool HasAnthosVersion { get; }

Gets whether the "anthos_version" field is set

Property Value
TypeDescription
bool

HasGkeVersion

public bool HasGkeVersion { get; }

Gets whether the "gke_version" field is set

Property Value
TypeDescription
bool

K8SVersion

public string K8SVersion { get; set; }

The Kubernetes server version of the source cluster.

Property Value
TypeDescription
string

PlatformVersionCase

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