Backup for GKE V1 API - Class Google::Cloud::GkeBackup::V1::RestoreConfig::GroupKind (v0.7.2)

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

This is a direct map to the Kubernetes GroupKind type GroupKind and is used for identifying specific "types" of resources to restore.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#resource_group

def resource_group() -> ::String
Returns
  • (::String) — API group string of a Kubernetes resource, e.g. "apiextensions.k8s.io", "storage.k8s.io", etc. Note: use empty string for core API group

#resource_group=

def resource_group=(value) -> ::String
Parameter
  • value (::String) — API group string of a Kubernetes resource, e.g. "apiextensions.k8s.io", "storage.k8s.io", etc. Note: use empty string for core API group
Returns
  • (::String) — API group string of a Kubernetes resource, e.g. "apiextensions.k8s.io", "storage.k8s.io", etc. Note: use empty string for core API group

#resource_kind

def resource_kind() -> ::String
Returns
  • (::String) — Kind of a Kubernetes resource, e.g. "CustomResourceDefinition", "StorageClass", etc.

#resource_kind=

def resource_kind=(value) -> ::String
Parameter
  • value (::String) — Kind of a Kubernetes resource, e.g. "CustomResourceDefinition", "StorageClass", etc.
Returns
  • (::String) — Kind of a Kubernetes resource, e.g. "CustomResourceDefinition", "StorageClass", etc.