Class UpdateBucketRequest (3.3.0)

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

The parameters to UpdateBucket.

Inheritance

Object > UpdateBucketRequest

Namespace

Google.Cloud.Logging.V2

Assembly

Google.Cloud.Logging.V2.dll

Constructors

UpdateBucketRequest()

public UpdateBucketRequest()

UpdateBucketRequest(UpdateBucketRequest)

public UpdateBucketRequest(UpdateBucketRequest other)
Parameter
NameDescription
otherUpdateBucketRequest

Properties

Bucket

public LogBucket Bucket { get; set; }

Required. The updated bucket.

Property Value
TypeDescription
LogBucket

LogBucketName

public LogBucketName LogBucketName { get; set; }

LogBucketName-typed view over the Name resource name property.

Property Value
TypeDescription
LogBucketName

Name

public string Name { get; set; }

Required. The full resource name of the bucket to update.

"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"

Example: &quot;projects/my-project-id/locations/my-location/buckets/my-bucket-id&quot;. Also requires permission "resourcemanager.projects.updateLiens" to set the locked property

Property Value
TypeDescription
String

UpdateMask

public FieldMask UpdateMask { get; set; }

Required. Field mask that specifies the fields in bucket that need an update. A bucket field will be overwritten if, and only if, it is in the update mask. name and output only fields cannot be updated.

For a detailed FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask

Example: updateMask=retention_days.

Property Value
TypeDescription
FieldMask