# io.k8s.apimachinery.pkg.apis.meta.v1.GroupVersionForDiscovery

From **Kubernetes**.

GroupVersion contains the "group/version" and "version" string of a version. It is made a struct to keep extensibility.

- Type: `object`

## Properties

### `groupVersion`

- Required: true
- Type: `string`

groupVersion specifies the API group and version in the form "group/version"

### `version`

- Required: true
- Type: `string`

version specifies the version in the form of "version". This is to save the clients the trouble of splitting the GroupVersion.

## JSON Schema

```json
{"description":"GroupVersion contains the \"group/version\" and \"version\" string of a version. It is made a struct to keep extensibility.","properties":{"groupVersion":{"default":"","description":"groupVersion specifies the API group and version in the form \"group/version\"","type":"string"},"version":{"default":"","description":"version specifies the version in the form of \"version\". This is to save the clients the trouble of splitting the GroupVersion.","type":"string"}},"required":["groupVersion","version"],"type":"object"}
```
