# Google Cloud Gke Backup V1 Client - Class GroupKind (1.3.3)

1.3.3 (latest) 1.3.2 1.2.1 1.0.3 0.8.1 0.7.2 0.6.0 0.5.3 0.4.0 0.3.1 0.2.0 0.1.7 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](https://godoc.org/k8s.io/apimachinery/pkg/runtime/schema#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` |   |