public sealed class UpdateBucketRequest : IMessage<UpdateBucketRequest>, IEquatable<UpdateBucketRequest>, IDeepCloneable<UpdateBucketRequest>, IBufferMessage, IMessage
The parameters to UpdateBucket
.
Inheritance
System.Object > UpdateBucketRequestImplements
IMessage<UpdateBucketRequest>, IEquatable<UpdateBucketRequest>, IDeepCloneable<UpdateBucketRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Logging.V2Assembly
Google.Cloud.Logging.V2.dll
Constructors
UpdateBucketRequest()
public UpdateBucketRequest()
UpdateBucketRequest(UpdateBucketRequest)
public UpdateBucketRequest(UpdateBucketRequest other)
Parameter | |
---|---|
Name | Description |
other | UpdateBucketRequest |
Properties
Bucket
public LogBucket Bucket { get; set; }
Required. The updated bucket.
Property Value | |
---|---|
Type | Description |
LogBucket |
LogBucketName
public LogBucketName LogBucketName { get; set; }
LogBucketName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
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:
"projects/my-project-id/locations/my-location/buckets/my-bucket-id"
. Also
requires permission "resourcemanager.projects.updateLiens" to set the
locked property
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
FieldMask |