# io.k8s.api.core.v1.ObjectFieldSelector

From **Kubernetes**.

ObjectFieldSelector selects an APIVersioned field of an object.

- Type: `object`

## Properties

### `apiVersion`

- Required: false
- Type: `string`

Version of the schema the FieldPath is written in terms of, defaults to "v1".

### `fieldPath`

- Required: true
- Type: `string`

Path of the field to select in the specified API version.

## JSON Schema

```json
{"description":"ObjectFieldSelector selects an APIVersioned field of an object.","properties":{"apiVersion":{"description":"Version of the schema the FieldPath is written in terms of, defaults to \"v1\".","type":"string"},"fieldPath":{"default":"","description":"Path of the field to select in the specified API version.","type":"string"}},"required":["fieldPath"],"type":"object","x-kubernetes-map-type":"atomic"}
```
