Class: Google::Cloud::Bigquery::Reservation::V1::CreateCapacityCommitmentRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/bigquery/reservation/v1/reservation.rb

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#capacity_commitment::Google::Cloud::Bigquery::Reservation::V1::CapacityCommitment

Returns Content of the capacity commitment to create.

Returns:



389
390
391
392
# File 'proto_docs/google/cloud/bigquery/reservation/v1/reservation.rb', line 389

class CreateCapacityCommitmentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#capacity_commitment_id::String

Returns 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.



389
390
391
392
# File 'proto_docs/google/cloud/bigquery/reservation/v1/reservation.rb', line 389

class CreateCapacityCommitmentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#enforce_single_admin_project_per_org::Boolean

Returns 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.



389
390
391
392
# File 'proto_docs/google/cloud/bigquery/reservation/v1/reservation.rb', line 389

class CreateCapacityCommitmentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

Returns 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



389
390
391
392
# File 'proto_docs/google/cloud/bigquery/reservation/v1/reservation.rb', line 389

class CreateCapacityCommitmentRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end