Google Cloud Gke Backup V1 Client - Class GroupKind (0.3.1)

Reference documentation and code samples for the Google Cloud Gke Backup V1 Client class GroupKind.

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

Generated from protobuf message google.cloud.gkebackup.v1.RestoreConfig.GroupKind

Namespace

Google \ Cloud \ GkeBackup \ V1 \ RestoreConfig

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ resource_group 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 string

Kind of a Kubernetes resource, e.g. "CustomResourceDefinition", "StorageClass", etc.

getResourceGroup

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

setResourceGroup

API group string of a Kubernetes resource, e.g.

"apiextensions.k8s.io", "storage.k8s.io", etc. Note: use empty string for core API group

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getResourceKind

Kind of a Kubernetes resource, e.g.

"CustomResourceDefinition", "StorageClass", etc.

Returns
TypeDescription
string

setResourceKind

Kind of a Kubernetes resource, e.g.

"CustomResourceDefinition", "StorageClass", etc.

Parameter
NameDescription
var string
Returns
TypeDescription
$this