# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/bigquery/reservation/v1/reservation.proto require 'google/api/annotations_pb' require 'google/api/client_pb' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/protobuf/empty_pb' require 'google/protobuf/field_mask_pb' require 'google/protobuf/timestamp_pb' require 'google/rpc/status_pb' require 'google/protobuf' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/bigquery/reservation/v1/reservation.proto", :syntax => :proto3) do add_message "google.cloud.bigquery.reservation.v1.Reservation" do optional :name, :string, 1 optional :slot_capacity, :int64, 2 optional :ignore_idle_slots, :bool, 4 optional :concurrency, :int64, 16 optional :creation_time, :message, 8, "google.protobuf.Timestamp" optional :update_time, :message, 9, "google.protobuf.Timestamp" optional :multi_region_auxiliary, :bool, 14 end add_message "google.cloud.bigquery.reservation.v1.CapacityCommitment" do optional :name, :string, 1 optional :slot_count, :int64, 2 optional :plan, :enum, 3, "google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan" optional :state, :enum, 4, "google.cloud.bigquery.reservation.v1.CapacityCommitment.State" optional :commitment_start_time, :message, 9, "google.protobuf.Timestamp" optional :commitment_end_time, :message, 5, "google.protobuf.Timestamp" optional :failure_status, :message, 7, "google.rpc.Status" optional :renewal_plan, :enum, 8, "google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan" optional :multi_region_auxiliary, :bool, 10 end add_enum "google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan" do value :COMMITMENT_PLAN_UNSPECIFIED, 0 value :FLEX, 3 value :TRIAL, 5 value :MONTHLY, 2 value :ANNUAL, 4 end add_enum "google.cloud.bigquery.reservation.v1.CapacityCommitment.State" do value :STATE_UNSPECIFIED, 0 value :PENDING, 1 value :ACTIVE, 2 value :FAILED, 3 end add_message "google.cloud.bigquery.reservation.v1.CreateReservationRequest" do optional :parent, :string, 1 optional :reservation_id, :string, 2 optional :reservation, :message, 3, "google.cloud.bigquery.reservation.v1.Reservation" end add_message "google.cloud.bigquery.reservation.v1.ListReservationsRequest" do optional :parent, :string, 1 optional :page_size, :int32, 2 optional :page_token, :string, 3 end add_message "google.cloud.bigquery.reservation.v1.ListReservationsResponse" do repeated :reservations, :message, 1, "google.cloud.bigquery.reservation.v1.Reservation" optional :next_page_token, :string, 2 end add_message "google.cloud.bigquery.reservation.v1.GetReservationRequest" do optional :name, :string, 1 end add_message "google.cloud.bigquery.reservation.v1.DeleteReservationRequest" do optional :name, :string, 1 end add_message "google.cloud.bigquery.reservation.v1.UpdateReservationRequest" do optional :reservation, :message, 1, "google.cloud.bigquery.reservation.v1.Reservation" optional :update_mask, :message, 2, "google.protobuf.FieldMask" end add_message "google.cloud.bigquery.reservation.v1.CreateCapacityCommitmentRequest" do optional :parent, :string, 1 optional :capacity_commitment, :message, 2, "google.cloud.bigquery.reservation.v1.CapacityCommitment" optional :enforce_single_admin_project_per_org, :bool, 4 optional :capacity_commitment_id, :string, 5 end add_message "google.cloud.bigquery.reservation.v1.ListCapacityCommitmentsRequest" do optional :parent, :string, 1 optional :page_size, :int32, 2 optional :page_token, :string, 3 end add_message "google.cloud.bigquery.reservation.v1.ListCapacityCommitmentsResponse" do repeated :capacity_commitments, :message, 1, "google.cloud.bigquery.reservation.v1.CapacityCommitment" optional :next_page_token, :string, 2 end add_message "google.cloud.bigquery.reservation.v1.GetCapacityCommitmentRequest" do optional :name, :string, 1 end add_message "google.cloud.bigquery.reservation.v1.DeleteCapacityCommitmentRequest" do optional :name, :string, 1 optional :force, :bool, 3 end add_message "google.cloud.bigquery.reservation.v1.UpdateCapacityCommitmentRequest" do optional :capacity_commitment, :message, 1, "google.cloud.bigquery.reservation.v1.CapacityCommitment" optional :update_mask, :message, 2, "google.protobuf.FieldMask" end add_message "google.cloud.bigquery.reservation.v1.SplitCapacityCommitmentRequest" do optional :name, :string, 1 optional :slot_count, :int64, 2 end add_message "google.cloud.bigquery.reservation.v1.SplitCapacityCommitmentResponse" do optional :first, :message, 1, "google.cloud.bigquery.reservation.v1.CapacityCommitment" optional :second, :message, 2, "google.cloud.bigquery.reservation.v1.CapacityCommitment" end add_message "google.cloud.bigquery.reservation.v1.MergeCapacityCommitmentsRequest" do optional :parent, :string, 1 repeated :capacity_commitment_ids, :string, 2 end add_message "google.cloud.bigquery.reservation.v1.Assignment" do optional :name, :string, 1 optional :assignee, :string, 4 optional :job_type, :enum, 3, "google.cloud.bigquery.reservation.v1.Assignment.JobType" optional :state, :enum, 6, "google.cloud.bigquery.reservation.v1.Assignment.State" end add_enum "google.cloud.bigquery.reservation.v1.Assignment.JobType" do value :JOB_TYPE_UNSPECIFIED, 0 value :PIPELINE, 1 value :QUERY, 2 value :ML_EXTERNAL, 3 end add_enum "google.cloud.bigquery.reservation.v1.Assignment.State" do value :STATE_UNSPECIFIED, 0 value :PENDING, 1 value :ACTIVE, 2 end add_message "google.cloud.bigquery.reservation.v1.CreateAssignmentRequest" do optional :parent, :string, 1 optional :assignment, :message, 2, "google.cloud.bigquery.reservation.v1.Assignment" optional :assignment_id, :string, 4 end add_message "google.cloud.bigquery.reservation.v1.ListAssignmentsRequest" do optional :parent, :string, 1 optional :page_size, :int32, 2 optional :page_token, :string, 3 end add_message "google.cloud.bigquery.reservation.v1.ListAssignmentsResponse" do repeated :assignments, :message, 1, "google.cloud.bigquery.reservation.v1.Assignment" optional :next_page_token, :string, 2 end add_message "google.cloud.bigquery.reservation.v1.DeleteAssignmentRequest" do optional :name, :string, 1 end add_message "google.cloud.bigquery.reservation.v1.SearchAssignmentsRequest" do optional :parent, :string, 1 optional :query, :string, 2 optional :page_size, :int32, 3 optional :page_token, :string, 4 end add_message "google.cloud.bigquery.reservation.v1.SearchAllAssignmentsRequest" do optional :parent, :string, 1 optional :query, :string, 2 optional :page_size, :int32, 3 optional :page_token, :string, 4 end add_message "google.cloud.bigquery.reservation.v1.SearchAssignmentsResponse" do repeated :assignments, :message, 1, "google.cloud.bigquery.reservation.v1.Assignment" optional :next_page_token, :string, 2 end add_message "google.cloud.bigquery.reservation.v1.SearchAllAssignmentsResponse" do repeated :assignments, :message, 1, "google.cloud.bigquery.reservation.v1.Assignment" optional :next_page_token, :string, 2 end add_message "google.cloud.bigquery.reservation.v1.MoveAssignmentRequest" do optional :name, :string, 1 optional :destination_id, :string, 3 end add_message "google.cloud.bigquery.reservation.v1.UpdateAssignmentRequest" do optional :assignment, :message, 1, "google.cloud.bigquery.reservation.v1.Assignment" optional :update_mask, :message, 2, "google.protobuf.FieldMask" end add_message "google.cloud.bigquery.reservation.v1.TableReference" do optional :project_id, :string, 1 optional :dataset_id, :string, 2 optional :table_id, :string, 3 end add_message "google.cloud.bigquery.reservation.v1.BiReservation" do optional :name, :string, 1 optional :update_time, :message, 3, "google.protobuf.Timestamp" optional :size, :int64, 4 repeated :preferred_tables, :message, 5, "google.cloud.bigquery.reservation.v1.TableReference" end add_message "google.cloud.bigquery.reservation.v1.GetBiReservationRequest" do optional :name, :string, 1 end add_message "google.cloud.bigquery.reservation.v1.UpdateBiReservationRequest" do optional :bi_reservation, :message, 1, "google.cloud.bigquery.reservation.v1.BiReservation" optional :update_mask, :message, 2, "google.protobuf.FieldMask" end end end module Google module Cloud module Bigquery module Reservation module V1 Reservation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.Reservation").msgclass CapacityCommitment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.CapacityCommitment").msgclass CapacityCommitment::CommitmentPlan = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.CapacityCommitment.CommitmentPlan").enummodule CapacityCommitment::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.CapacityCommitment.State").enummodule CreateReservationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.CreateReservationRequest").msgclass ListReservationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.ListReservationsRequest").msgclass ListReservationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.ListReservationsResponse").msgclass GetReservationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.GetReservationRequest").msgclass DeleteReservationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.DeleteReservationRequest").msgclass UpdateReservationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.UpdateReservationRequest").msgclass CreateCapacityCommitmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.CreateCapacityCommitmentRequest").msgclass ListCapacityCommitmentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.ListCapacityCommitmentsRequest").msgclass ListCapacityCommitmentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.ListCapacityCommitmentsResponse").msgclass GetCapacityCommitmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.GetCapacityCommitmentRequest").msgclass DeleteCapacityCommitmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.DeleteCapacityCommitmentRequest").msgclass UpdateCapacityCommitmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.UpdateCapacityCommitmentRequest").msgclass SplitCapacityCommitmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.SplitCapacityCommitmentRequest").msgclass SplitCapacityCommitmentResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.SplitCapacityCommitmentResponse").msgclass MergeCapacityCommitmentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.MergeCapacityCommitmentsRequest").msgclass Assignment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.Assignment").msgclass Assignment::JobType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.Assignment.JobType").enummodule Assignment::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.Assignment.State").enummodule CreateAssignmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.CreateAssignmentRequest").msgclass ListAssignmentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.ListAssignmentsRequest").msgclass ListAssignmentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.ListAssignmentsResponse").msgclass DeleteAssignmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.DeleteAssignmentRequest").msgclass SearchAssignmentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.SearchAssignmentsRequest").msgclass SearchAllAssignmentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.SearchAllAssignmentsRequest").msgclass SearchAssignmentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.SearchAssignmentsResponse").msgclass SearchAllAssignmentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.SearchAllAssignmentsResponse").msgclass MoveAssignmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.MoveAssignmentRequest").msgclass UpdateAssignmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.UpdateAssignmentRequest").msgclass TableReference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.TableReference").msgclass BiReservation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.BiReservation").msgclass GetBiReservationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.GetBiReservationRequest").msgclass UpdateBiReservationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.bigquery.reservation.v1.UpdateBiReservationRequest").msgclass end end end end end