# ObjectMetaV1

- Module: [Aspire.Hosting.Kubernetes](/reference/api/go/aspire.hosting.kubernetes.md)
- Version: `17.0.0`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)

Represents metadata for Kubernetes resources, encapsulating standard properties such as the resource's name, namespace, labels, annotations, and owner references.

## Remarks

This class is used to define and handle key metadata information associated with Kubernetes objects, such as:
- Unique identifier (UID) of the resource.
- Name and namespace of the resource.
- Labels and annotations for organizing and categorizing resources.
- Managed fields for tracking changes to the resource.
- Owner references to define dependencies between resources.
- Creation and deletion timestamps, along with optional deletion grace period.
It is a core component for properly managing Kubernetes resources and ensuring compliance with Kubernetes object standards.

## Definition

```go
type ObjectMetaV1 interface{}
```

## Properties

- `Annotations`: `*Dict[string, string]` `get` -- Represents a collection of annotations associated with a Kubernetes object metadata.
- `Labels`: `*Dict[string, string]` `get/set` -- A collection of key-value pairs used to organize and categorize Kubernetes resources.
