BigQuery Reservation V1 API - Class Google::Cloud::Bigquery::Reservation::V1::CreateCapacityCommitmentRequest (v1.1.0)

Reference documentation and code samples for the BigQuery Reservation V1 API class Google::Cloud::Bigquery::Reservation::V1::CreateCapacityCommitmentRequest.

The request for ReservationService.CreateCapacityCommitment.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#capacity_commitment

def capacity_commitment() -> ::Google::Cloud::Bigquery::Reservation::V1::CapacityCommitment
Returns

#capacity_commitment=

def capacity_commitment=(value) -> ::Google::Cloud::Bigquery::Reservation::V1::CapacityCommitment
Parameter
Returns

#capacity_commitment_id

def capacity_commitment_id() -> ::String
Returns
  • (::String) — 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 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.

#capacity_commitment_id=

def capacity_commitment_id=(value) -> ::String
Parameter
  • value (::String) — 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 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.
Returns
  • (::String) — 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 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.

#enforce_single_admin_project_per_org

def enforce_single_admin_project_per_org() -> ::Boolean
Returns
  • (::Boolean) — If true, fail the request if another project in the organization has a capacity commitment.

#enforce_single_admin_project_per_org=

def enforce_single_admin_project_per_org=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If true, fail the request if another project in the organization has a capacity commitment.
Returns
  • (::Boolean) — If true, fail the request if another project in the organization has a capacity commitment.

#parent

def parent() -> ::String
Returns
  • (::String) — Required. Resource name of the parent reservation. E.g., projects/myproject/locations/US

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. Resource name of the parent reservation. E.g., projects/myproject/locations/US
Returns
  • (::String) — Required. Resource name of the parent reservation. E.g., projects/myproject/locations/US