# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/run/v2/job.proto require 'google/protobuf' require 'google/cloud/run/v2/execution_pb' require 'google/api/annotations_pb' require 'google/api/client_pb' require 'google/api/field_behavior_pb' require 'google/api/launch_stage_pb' require 'google/api/resource_pb' require 'google/cloud/run/v2/condition_pb' require 'google/cloud/run/v2/execution_template_pb' require 'google/cloud/run/v2/vendor_settings_pb' require 'google/iam/v1/iam_policy_pb' require 'google/iam/v1/policy_pb' require 'google/longrunning/operations_pb' require 'google/protobuf/timestamp_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/run/v2/job.proto", :syntax => :proto3) do add_message "google.cloud.run.v2.CreateJobRequest" do optional :parent, :string, 1 optional :job, :message, 2, "google.cloud.run.v2.Job" optional :job_id, :string, 3 optional :validate_only, :bool, 4 end add_message "google.cloud.run.v2.GetJobRequest" do optional :name, :string, 1 end add_message "google.cloud.run.v2.UpdateJobRequest" do optional :job, :message, 1, "google.cloud.run.v2.Job" optional :validate_only, :bool, 3 optional :allow_missing, :bool, 4 end add_message "google.cloud.run.v2.ListJobsRequest" do optional :parent, :string, 1 optional :page_size, :int32, 2 optional :page_token, :string, 3 optional :show_deleted, :bool, 4 end add_message "google.cloud.run.v2.ListJobsResponse" do repeated :jobs, :message, 1, "google.cloud.run.v2.Job" optional :next_page_token, :string, 2 end add_message "google.cloud.run.v2.DeleteJobRequest" do optional :name, :string, 1 optional :validate_only, :bool, 3 optional :etag, :string, 4 end add_message "google.cloud.run.v2.RunJobRequest" do optional :name, :string, 1 optional :validate_only, :bool, 2 optional :etag, :string, 3 end add_message "google.cloud.run.v2.Job" do optional :name, :string, 1 optional :uid, :string, 2 optional :generation, :int64, 3 map :labels, :string, :string, 4 map :annotations, :string, :string, 5 optional :create_time, :message, 6, "google.protobuf.Timestamp" optional :update_time, :message, 7, "google.protobuf.Timestamp" optional :delete_time, :message, 8, "google.protobuf.Timestamp" optional :expire_time, :message, 9, "google.protobuf.Timestamp" optional :creator, :string, 10 optional :last_modifier, :string, 11 optional :client, :string, 12 optional :client_version, :string, 13 optional :launch_stage, :enum, 14, "google.api.LaunchStage" optional :binary_authorization, :message, 15, "google.cloud.run.v2.BinaryAuthorization" optional :template, :message, 16, "google.cloud.run.v2.ExecutionTemplate" optional :observed_generation, :int64, 17 optional :terminal_condition, :message, 18, "google.cloud.run.v2.Condition" repeated :conditions, :message, 19, "google.cloud.run.v2.Condition" optional :execution_count, :int32, 20 optional :latest_created_execution, :message, 22, "google.cloud.run.v2.ExecutionReference" optional :reconciling, :bool, 23 optional :etag, :string, 99 end add_message "google.cloud.run.v2.ExecutionReference" do optional :name, :string, 1 optional :create_time, :message, 2, "google.protobuf.Timestamp" optional :completion_time, :message, 3, "google.protobuf.Timestamp" end end end module Google module Cloud module Run module V2 CreateJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.CreateJobRequest").msgclass GetJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.GetJobRequest").msgclass UpdateJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.UpdateJobRequest").msgclass ListJobsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.ListJobsRequest").msgclass ListJobsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.ListJobsResponse").msgclass DeleteJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.DeleteJobRequest").msgclass RunJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.RunJobRequest").msgclass Job = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.Job").msgclass ExecutionReference = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.ExecutionReference").msgclass end end end end