Backup for GKE V1 API - Class Google::Cloud::GkeBackup::V1::Backup::ClusterMetadata (v0.8.0)

Reference documentation and code samples for the Backup for GKE V1 API class Google::Cloud::GkeBackup::V1::Backup::ClusterMetadata.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#anthos_version

def anthos_version() -> ::String
Returns
  • (::String) — Anthos version

#anthos_version=

def anthos_version=(value) -> ::String
Parameter
  • value (::String) — Anthos version
Returns
  • (::String) — Anthos version

#backup_crd_versions

def backup_crd_versions() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — A list of the Backup for GKE CRD versions found in the cluster.

#backup_crd_versions=

def backup_crd_versions=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — A list of the Backup for GKE CRD versions found in the cluster.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — A list of the Backup for GKE CRD versions found in the cluster.

#cluster

def cluster() -> ::String
Returns
  • (::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.

#cluster=

def cluster=(value) -> ::String
Parameter
  • value (::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.

Returns
  • (::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.

#gke_version

def gke_version() -> ::String
Returns
  • (::String) — GKE version

#gke_version=

def gke_version=(value) -> ::String
Parameter
  • value (::String) — GKE version
Returns
  • (::String) — GKE version

#k8s_version

def k8s_version() -> ::String
Returns
  • (::String) — The Kubernetes server version of the source cluster.

#k8s_version=

def k8s_version=(value) -> ::String
Parameter
  • value (::String) — The Kubernetes server version of the source cluster.
Returns
  • (::String) — The Kubernetes server version of the source cluster.