# TypedObjectReferenceV1 Properties

- Package: [Aspire.Hosting.Kubernetes](/reference/api/csharp/aspire.hosting.kubernetes.md)
- Type: [TypedObjectReferenceV1](/reference/api/csharp/aspire.hosting.kubernetes/typedobjectreferencev1.md)
- Kind: `Properties`
- Members: `4`

Represents a reference to a Kubernetes object with a specified kind and API group.

## ApiGroup

- Name: `ApiGroup`
- Modifiers: `get; set`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Kubernetes/Resources/TypedObjectReferenceV1.cs)

Gets or sets the API group for the referenced resource. This typically specifies the group under which the Kubernetes resource is classified, for example, "apps", "core", or other custom API groups.

```csharp
public string ApiGroup { get; set; }
```

## Kind

- Name: `Kind`
- Modifiers: `get; set`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Kubernetes/Resources/TypedObjectReferenceV1.cs)

Represents the type of the Kubernetes resource referenced. This property denotes the kind of the resource (e.g., Pod, Service, Deployment) being referred to, allowing identification of the specific resource type.

```csharp
public string Kind { get; set; }
```

## Name

- Name: `Name`
- Modifiers: `get; set`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Kubernetes/Resources/TypedObjectReferenceV1.cs)

Gets or sets the name of the Kubernetes resource.

```csharp
public string Name { get; set; }
```

## Namespace

- Name: `Namespace`
- Modifiers: `get; set`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/5bd693ae1897dee5e2ce71c2cc08879c1c7eff51/src/Aspire.Hosting.Kubernetes/Resources/TypedObjectReferenceV1.cs)

Gets or sets the namespace in which the Kubernetes object resides.

```csharp
public string Namespace { get; set; }
```
