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

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

Request for updating a bucket.

## Inheritance

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

## Implements

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

### UpdateBucketRequest()

    public UpdateBucketRequest()

### UpdateBucketRequest(UpdateBucketRequest)

    public UpdateBucketRequest(UpdateBucketRequest other)

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

## Properties

### Bucket

    public Bucket Bucket { get; set; }

Required. The bucket to update.

The name field of bucket identifies the resource to update.

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

### UpdateMask

    public FieldMask UpdateMask { get; set; }

Optional. The list of fields to update.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.FieldMask.html` |   |