updateBucket method
Updates a log bucket. This method replaces the following fields in the
existing bucket with values from the new bucket: retention_period
If the retention period is decreased and the bucket is locked,
FAILED_PRECONDITION will be returned.
If the bucket has a lifecycle_state of DELETE_REQUESTED, then
FAILED_PRECONDITION will be returned.
After a bucket has been created, the bucket's location cannot be changed.
Implementation
$grpc.ResponseFuture<$0.LogBucket> updateBucket(
$0.UpdateBucketRequest request, {
$grpc.CallOptions? options,
}) {
return $createUnaryCall(_$updateBucket, request, options: options);
}