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

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

Request for getting a bucket.

## Inheritance

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

## Implements

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

### GetBucketRequest()

    public GetBucketRequest()

### GetBucketRequest(GetBucketRequest)

    public GetBucketRequest(GetBucketRequest other)

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

## Properties

### BucketName

    public BucketName BucketName { get; set; }

[BucketName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Observability.V1/latest/Google.Cloud.Observability.V1.BucketName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Observability.V1/latest/Google.Cloud.Observability.V1.GetBucketRequest#Google_Cloud_Observability_V1_GetBucketRequest_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.BucketName` |   |

### Name

    public string Name { get; set; }

Required. Name of the bucket to retrieve. The format is:

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

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