    public sealed class CreateLinkRequest : IMessage<CreateLinkRequest>, IEquatable<CreateLinkRequest>, IDeepCloneable<CreateLinkRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Observability v1 API class CreateLinkRequest.

Request for creating a link.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> CreateLinkRequest

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateLinkRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Observability.V1/latest/Google.Cloud.Observability.V1.CreateLinkRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateLinkRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Observability.V1/latest/Google.Cloud.Observability.V1.CreateLinkRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateLinkRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Observability.V1/latest/Google.Cloud.Observability.V1.CreateLinkRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Observability.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Observability.V1/latest/Google.Cloud.Observability.V1)

## Assembly

Google.Cloud.Observability.V1.dll

## Constructors

### CreateLinkRequest()

    public CreateLinkRequest()

### CreateLinkRequest(CreateLinkRequest)

    public CreateLinkRequest(CreateLinkRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Observability.V1/latest/Google.Cloud.Observability.V1.CreateLinkRequest` |

## Properties

### Link

    public Link Link { get; set; }

Required. Link to create.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Observability.V1/latest/Google.Cloud.Observability.V1.Link` |   |

### LinkId

    public string LinkId { get; set; }

Required. Id of the link to create.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Parent

    public string Parent { get; set; }

Required. Name of the containing dataset for this link. The format is:

    projects/[PROJECT_ID]/locations/[LOCATION]/buckets/[BUCKET_ID]/datasets/[DATASET_ID]

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ParentAsDatasetName

    public DatasetName ParentAsDatasetName { get; set; }

[DatasetName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Observability.V1/latest/Google.Cloud.Observability.V1.DatasetName)-typed view over the [Parent](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Observability.V1/latest/Google.Cloud.Observability.V1.CreateLinkRequest#Google_Cloud_Observability_V1_CreateLinkRequest_Parent) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Observability.V1/latest/Google.Cloud.Observability.V1.DatasetName` |   |