Interface CreateCapacityCommitmentRequestOrBuilder

    • Method Detail

      • getParent

        String getParent()
         Required. Resource name of the parent reservation. E.g.,
            `projects/myproject/locations/US`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The parent.
      • getParentBytes

        com.google.protobuf.ByteString getParentBytes()
         Required. Resource name of the parent reservation. E.g.,
            `projects/myproject/locations/US`
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for parent.
      • hasCapacityCommitment

        boolean hasCapacityCommitment()
         Content of the capacity commitment to create.
         
        .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitment = 2;
        Returns:
        Whether the capacityCommitment field is set.
      • getCapacityCommitment

        CapacityCommitment getCapacityCommitment()
         Content of the capacity commitment to create.
         
        .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitment = 2;
        Returns:
        The capacityCommitment.
      • getCapacityCommitmentOrBuilder

        CapacityCommitmentOrBuilder getCapacityCommitmentOrBuilder()
         Content of the capacity commitment to create.
         
        .google.cloud.bigquery.reservation.v1.CapacityCommitment capacity_commitment = 2;
      • getEnforceSingleAdminProjectPerOrg

        boolean getEnforceSingleAdminProjectPerOrg()
         If true, fail the request if another project in the organization has a
         capacity commitment.
         
        bool enforce_single_admin_project_per_org = 4;
        Returns:
        The enforceSingleAdminProjectPerOrg.
      • getCapacityCommitmentId

        String getCapacityCommitmentId()
         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.
         
        string capacity_commitment_id = 5;
        Returns:
        The capacityCommitmentId.
      • getCapacityCommitmentIdBytes

        com.google.protobuf.ByteString getCapacityCommitmentIdBytes()
         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.
         
        string capacity_commitment_id = 5;
        Returns:
        The bytes for capacityCommitmentId.