Google Cloud Gke Backup V1 Client - Class GroupKind (1.0.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
Name Description
data array

Optional. Data for populating the Message object.

↳ resource_group string

Optional. 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

Optional. Kind of a Kubernetes resource, must be in UpperCamelCase (PascalCase) and singular form. E.g. "CustomResourceDefinition", "StorageClass", etc.

getResourceGroup

Optional. 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
Type Description
string

setResourceGroup

Optional. 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
Name Description
var string
Returns
Type Description
$this

getResourceKind

Optional. Kind of a Kubernetes resource, must be in UpperCamelCase (PascalCase) and singular form. E.g. "CustomResourceDefinition", "StorageClass", etc.

Returns
Type Description
string

setResourceKind

Optional. Kind of a Kubernetes resource, must be in UpperCamelCase (PascalCase) and singular form. E.g. "CustomResourceDefinition", "StorageClass", etc.

Parameter
Name Description
var string
Returns
Type Description
$this