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
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getResourceKind
Kind of a Kubernetes resource, e.g.
"CustomResourceDefinition", "StorageClass", etc.
Returns | |
---|---|
Type | Description |
string |
setResourceKind
Kind of a Kubernetes resource, e.g.
"CustomResourceDefinition", "StorageClass", etc.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |