Google Cloud Logging v2 API - Class UpdateBucketRequest (4.1.0)

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

Reference documentation and code samples for the Google Cloud Logging v2 API class UpdateBucketRequest.

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]"

For example:

"projects/my-project/locations/global/buckets/my-bucket"

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

For example: updateMask=retention_days

Property Value
TypeDescription
FieldMask