lib/google/cloud/bigquery/reservation/v1/reservation_services_pb.rb in google-cloud-bigquery-reservation-v1-0.4.2 vs lib/google/cloud/bigquery/reservation/v1/reservation_services_pb.rb in google-cloud-bigquery-reservation-v1-0.5.0
- old
+ new
@@ -83,11 +83,11 @@
#
# A common use case is to enable downgrading commitments.
#
# For example, in order to downgrade from 10000 slots to 8000, you might
# split a 10000 capacity commitment into commitments of 2000 and 8000. Then,
- # you would change the plan of the first one to `FLEX` and then delete it.
+ # you delete the first one after the commitment end time passes.
rpc :SplitCapacityCommitment, ::Google::Cloud::Bigquery::Reservation::V1::SplitCapacityCommitmentRequest, ::Google::Cloud::Bigquery::Reservation::V1::SplitCapacityCommitmentResponse
# Merges capacity commitments of the same plan into a single commitment.
#
# The resulting capacity commitment has the greater commitment_end_time
# out of the to-be-merged capacity commitments.
@@ -167,12 +167,12 @@
# In this example, deletion of the `<organizationA, res1>` assignment won't
# affect the other assignment `<project1, res1>`. After said deletion,
# queries from `project1` will still use `res1` while queries from
# `project2` will switch to use on-demand mode.
rpc :DeleteAssignment, ::Google::Cloud::Bigquery::Reservation::V1::DeleteAssignmentRequest, ::Google::Protobuf::Empty
- # Deprecated: Looks up assignments for a specified resource for a particular region.
- # If the request is about a project:
+ # Deprecated: Looks up assignments for a specified resource for a particular
+ # region. If the request is about a project:
#
# 1. Assignments created on the project will be returned if they exist.
# 2. Otherwise assignments created on the closest ancestor will be
# returned.
# 3. Assignments for different JobTypes will all be returned.
@@ -218,9 +218,13 @@
#
# This differs from removing an existing assignment and recreating a new one
# by providing a transactional change that ensures an assignee always has an
# associated reservation.
rpc :MoveAssignment, ::Google::Cloud::Bigquery::Reservation::V1::MoveAssignmentRequest, ::Google::Cloud::Bigquery::Reservation::V1::Assignment
+ # Updates an existing assignment.
+ #
+ # Only the `priority` field can be updated.
+ rpc :UpdateAssignment, ::Google::Cloud::Bigquery::Reservation::V1::UpdateAssignmentRequest, ::Google::Cloud::Bigquery::Reservation::V1::Assignment
# Retrieves a BI reservation.
rpc :GetBiReservation, ::Google::Cloud::Bigquery::Reservation::V1::GetBiReservationRequest, ::Google::Cloud::Bigquery::Reservation::V1::BiReservation
# Updates a BI reservation.
#
# Only fields specified in the `field_mask` are updated.