lib/google/apis/bigqueryreservation_v1beta1/service.rb in google-apis-bigqueryreservation_v1beta1-0.13.0 vs lib/google/apis/bigqueryreservation_v1beta1/service.rb in google-apis-bigqueryreservation_v1beta1-0.14.0
- old
+ new
@@ -178,12 +178,13 @@
# locations/US`
# @param [Google::Apis::BigqueryreservationV1beta1::CapacityCommitment] capacity_commitment_object
# @param [String] capacity_commitment_id
# The optional capacity commitment ID. Capacity commitment name will be
# generated automatically if this field is empty. This field must only contain
- # lower case alphanumeric characters or dash. Max length is 64 characters. NOTE:
- # this ID won't be kept if the capacity commitment is split or merged.
+ # lower case alphanumeric characters or dashes. The first and last character
+ # cannot be a dash. Max length is 64 characters. NOTE: this ID won't be kept if
+ # the capacity commitment is split or merged.
# @param [Boolean] enforce_single_admin_project_per_org
# If true, fail the request if another project in the organization has a
# capacity commitment.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -364,11 +365,13 @@
# can be updated. Plan can only be changed to a plan of a longer commitment
# period. Attempting to change to a plan with shorter commitment period will
# fail with the error code `google.rpc.Code.FAILED_PRECONDITION`.
# @param [String] name
# Output only. The resource name of the capacity commitment, e.g., `projects/
- # myproject/locations/US/capacityCommitments/123`
+ # myproject/locations/US/capacityCommitments/123` For the commitment id, it must
+ # only contain lower case alphanumeric characters or dashes.It must start with a
+ # letter and must not end with a dash. Its maximum length is 64 characters.
# @param [Google::Apis::BigqueryreservationV1beta1::CapacityCommitment] capacity_commitment_object
# @param [String] update_mask
# Standard field mask for the set of fields to be updated.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -441,12 +444,13 @@
# Creates a new reservation resource.
# @param [String] parent
# Required. Project, location. E.g., `projects/myproject/locations/US`
# @param [Google::Apis::BigqueryreservationV1beta1::Reservation] reservation_object
# @param [String] reservation_id
- # The reservation ID. This field must only contain lower case alphanumeric
- # characters or dash. Max length is 64 characters.
+ # The reservation ID. It must only contain lower case alphanumeric characters or
+ # dashes.It must start with a letter and must not end with a dash. Its maximum
+ # length is 64 characters.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -582,11 +586,13 @@
end
# Updates an existing reservation resource.
# @param [String] name
# The resource name of the reservation, e.g., `projects/*/locations/*/
- # reservations/team1-prod`.
+ # reservations/team1-prod`. For the reservation id, it must only contain lower
+ # case alphanumeric characters or dashes.It must start with a letter and must
+ # not end with a dash. Its maximum length is 64 characters.
# @param [Google::Apis::BigqueryreservationV1beta1::Reservation] reservation_object
# @param [String] update_mask
# Standard field mask for the set of fields to be updated.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
@@ -643,11 +649,11 @@
# locations/US/reservations/team1-prod`
# @param [Google::Apis::BigqueryreservationV1beta1::Assignment] assignment_object
# @param [String] assignment_id
# The optional assignment ID. Assignment name will be generated automatically if
# this field is empty. This field must only contain lower case alphanumeric
- # characters or dash. Max length is 64 characters.
+ # characters or dashes. Max length is 64 characters.
# @param [String] fields
# Selector specifying which fields to include in a partial response.
# @param [String] quota_user
# Available to use for quota purposes for server-side applications. Can be any
# arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -797,10 +803,12 @@
end
# Updates an existing assignment. Only the `priority` field can be updated.
# @param [String] name
# Output only. Name of the resource. E.g.: `projects/myproject/locations/US/
- # reservations/team1-prod/assignments/123`.
+ # reservations/team1-prod/assignments/123`. For the assignment id, it must only
+ # contain lower case alphanumeric characters or dashes and the max length is 64
+ # characters.
# @param [Google::Apis::BigqueryreservationV1beta1::Assignment] assignment_object
# @param [String] update_mask
# Standard field mask for the set of fields to be updated.
# @param [String] fields
# Selector specifying which fields to include in a partial response.