# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/osconfig/v1/patch_deployments.proto require 'google/protobuf' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/cloud/osconfig/v1/patch_jobs_pb' require 'google/protobuf/duration_pb' require 'google/protobuf/field_mask_pb' require 'google/protobuf/timestamp_pb' require 'google/type/datetime_pb' require 'google/type/dayofweek_pb' require 'google/type/timeofday_pb' Google::Protobuf::DescriptorPool.generated_pool.build do add_file("google/cloud/osconfig/v1/patch_deployments.proto", :syntax => :proto3) do add_message "google.cloud.osconfig.v1.PatchDeployment" do optional :name, :string, 1 optional :description, :string, 2 optional :instance_filter, :message, 3, "google.cloud.osconfig.v1.PatchInstanceFilter" optional :patch_config, :message, 4, "google.cloud.osconfig.v1.PatchConfig" optional :duration, :message, 5, "google.protobuf.Duration" optional :create_time, :message, 8, "google.protobuf.Timestamp" optional :update_time, :message, 9, "google.protobuf.Timestamp" optional :last_execute_time, :message, 10, "google.protobuf.Timestamp" optional :rollout, :message, 11, "google.cloud.osconfig.v1.PatchRollout" optional :state, :enum, 12, "google.cloud.osconfig.v1.PatchDeployment.State" oneof :schedule do optional :one_time_schedule, :message, 6, "google.cloud.osconfig.v1.OneTimeSchedule" optional :recurring_schedule, :message, 7, "google.cloud.osconfig.v1.RecurringSchedule" end end add_enum "google.cloud.osconfig.v1.PatchDeployment.State" do value :STATE_UNSPECIFIED, 0 value :ACTIVE, 1 value :PAUSED, 2 end add_message "google.cloud.osconfig.v1.OneTimeSchedule" do optional :execute_time, :message, 1, "google.protobuf.Timestamp" end add_message "google.cloud.osconfig.v1.RecurringSchedule" do optional :time_zone, :message, 1, "google.type.TimeZone" optional :start_time, :message, 2, "google.protobuf.Timestamp" optional :end_time, :message, 3, "google.protobuf.Timestamp" optional :time_of_day, :message, 4, "google.type.TimeOfDay" optional :frequency, :enum, 5, "google.cloud.osconfig.v1.RecurringSchedule.Frequency" optional :last_execute_time, :message, 9, "google.protobuf.Timestamp" optional :next_execute_time, :message, 10, "google.protobuf.Timestamp" oneof :schedule_config do optional :weekly, :message, 6, "google.cloud.osconfig.v1.WeeklySchedule" optional :monthly, :message, 7, "google.cloud.osconfig.v1.MonthlySchedule" end end add_enum "google.cloud.osconfig.v1.RecurringSchedule.Frequency" do value :FREQUENCY_UNSPECIFIED, 0 value :WEEKLY, 1 value :MONTHLY, 2 value :DAILY, 3 end add_message "google.cloud.osconfig.v1.WeeklySchedule" do optional :day_of_week, :enum, 1, "google.type.DayOfWeek" end add_message "google.cloud.osconfig.v1.MonthlySchedule" do oneof :day_of_month do optional :week_day_of_month, :message, 1, "google.cloud.osconfig.v1.WeekDayOfMonth" optional :month_day, :int32, 2 end end add_message "google.cloud.osconfig.v1.WeekDayOfMonth" do optional :week_ordinal, :int32, 1 optional :day_of_week, :enum, 2, "google.type.DayOfWeek" optional :day_offset, :int32, 3 end add_message "google.cloud.osconfig.v1.CreatePatchDeploymentRequest" do optional :parent, :string, 1 optional :patch_deployment_id, :string, 2 optional :patch_deployment, :message, 3, "google.cloud.osconfig.v1.PatchDeployment" end add_message "google.cloud.osconfig.v1.GetPatchDeploymentRequest" do optional :name, :string, 1 end add_message "google.cloud.osconfig.v1.ListPatchDeploymentsRequest" do optional :parent, :string, 1 optional :page_size, :int32, 2 optional :page_token, :string, 3 end add_message "google.cloud.osconfig.v1.ListPatchDeploymentsResponse" do repeated :patch_deployments, :message, 1, "google.cloud.osconfig.v1.PatchDeployment" optional :next_page_token, :string, 2 end add_message "google.cloud.osconfig.v1.DeletePatchDeploymentRequest" do optional :name, :string, 1 end add_message "google.cloud.osconfig.v1.UpdatePatchDeploymentRequest" do optional :patch_deployment, :message, 1, "google.cloud.osconfig.v1.PatchDeployment" optional :update_mask, :message, 2, "google.protobuf.FieldMask" end add_message "google.cloud.osconfig.v1.PausePatchDeploymentRequest" do optional :name, :string, 1 end add_message "google.cloud.osconfig.v1.ResumePatchDeploymentRequest" do optional :name, :string, 1 end end end module Google module Cloud module OsConfig module V1 PatchDeployment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1.PatchDeployment").msgclass PatchDeployment::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1.PatchDeployment.State").enummodule OneTimeSchedule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1.OneTimeSchedule").msgclass RecurringSchedule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1.RecurringSchedule").msgclass RecurringSchedule::Frequency = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1.RecurringSchedule.Frequency").enummodule WeeklySchedule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1.WeeklySchedule").msgclass MonthlySchedule = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1.MonthlySchedule").msgclass WeekDayOfMonth = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1.WeekDayOfMonth").msgclass CreatePatchDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1.CreatePatchDeploymentRequest").msgclass GetPatchDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1.GetPatchDeploymentRequest").msgclass ListPatchDeploymentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1.ListPatchDeploymentsRequest").msgclass ListPatchDeploymentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1.ListPatchDeploymentsResponse").msgclass DeletePatchDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1.DeletePatchDeploymentRequest").msgclass UpdatePatchDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1.UpdatePatchDeploymentRequest").msgclass PausePatchDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1.PausePatchDeploymentRequest").msgclass ResumePatchDeploymentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1.ResumePatchDeploymentRequest").msgclass end end end end