# CrossVersionObjectReferenceV1 Properties

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

Represents a reference to an object across different API versions in Kubernetes.

## Name

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

Gets or sets the name of the Kubernetes resource being referenced.

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

## Remarks

The Name property specifies the name of the Kubernetes object that is being identified or targeted. It is a required value that enables the user to refer to a specific resource within the desired namespace.
