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

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

Request for getting a dataset.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GetDatasetRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Observability.V1/latest/Google.Cloud.Observability.V1.GetDatasetRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GetDatasetRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Observability.V1/latest/Google.Cloud.Observability.V1.GetDatasetRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GetDatasetRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Observability.V1/latest/Google.Cloud.Observability.V1.GetDatasetRequest), [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

### GetDatasetRequest()

    public GetDatasetRequest()

### GetDatasetRequest(GetDatasetRequest)

    public GetDatasetRequest(GetDatasetRequest other)

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

## Properties

### DatasetName

    public DatasetName DatasetName { 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 [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Observability.V1/latest/Google.Cloud.Observability.V1.GetDatasetRequest#Google_Cloud_Observability_V1_GetDatasetRequest_Name) 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` |   |

### Name

    public string Name { get; set; }

Required. Name of the dataset to retrieve. 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` |   |