# Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/api/servicemanagement/v1/resources.proto require 'google/api/annotations_pb' require 'google/api/config_change_pb' require 'google/api/field_behavior_pb' require 'google/api/metric_pb' require 'google/api/quota_pb' require 'google/api/service_pb' require 'google/longrunning/operations_pb' require 'google/protobuf/any_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/api/servicemanagement/v1/resources.proto", :syntax => :proto3) do add_message "google.api.servicemanagement.v1.ManagedService" do optional :service_name, :string, 2 optional :producer_project_id, :string, 3 end add_message "google.api.servicemanagement.v1.OperationMetadata" do repeated :resource_names, :string, 1 repeated :steps, :message, 2, "google.api.servicemanagement.v1.OperationMetadata.Step" optional :progress_percentage, :int32, 3 optional :start_time, :message, 4, "google.protobuf.Timestamp" end add_message "google.api.servicemanagement.v1.OperationMetadata.Step" do optional :description, :string, 2 optional :status, :enum, 4, "google.api.servicemanagement.v1.OperationMetadata.Status" end add_enum "google.api.servicemanagement.v1.OperationMetadata.Status" do value :STATUS_UNSPECIFIED, 0 value :DONE, 1 value :NOT_STARTED, 2 value :IN_PROGRESS, 3 value :FAILED, 4 value :CANCELLED, 5 end add_message "google.api.servicemanagement.v1.Diagnostic" do optional :location, :string, 1 optional :kind, :enum, 2, "google.api.servicemanagement.v1.Diagnostic.Kind" optional :message, :string, 3 end add_enum "google.api.servicemanagement.v1.Diagnostic.Kind" do value :WARNING, 0 value :ERROR, 1 end add_message "google.api.servicemanagement.v1.ConfigSource" do optional :id, :string, 5 repeated :files, :message, 2, "google.api.servicemanagement.v1.ConfigFile" end add_message "google.api.servicemanagement.v1.ConfigFile" do optional :file_path, :string, 1 optional :file_contents, :bytes, 3 optional :file_type, :enum, 4, "google.api.servicemanagement.v1.ConfigFile.FileType" end add_enum "google.api.servicemanagement.v1.ConfigFile.FileType" do value :FILE_TYPE_UNSPECIFIED, 0 value :SERVICE_CONFIG_YAML, 1 value :OPEN_API_JSON, 2 value :OPEN_API_YAML, 3 value :FILE_DESCRIPTOR_SET_PROTO, 4 value :PROTO_FILE, 6 end add_message "google.api.servicemanagement.v1.ConfigRef" do optional :name, :string, 1 end add_message "google.api.servicemanagement.v1.ChangeReport" do repeated :config_changes, :message, 1, "google.api.ConfigChange" end add_message "google.api.servicemanagement.v1.Rollout" do optional :rollout_id, :string, 1 optional :create_time, :message, 2, "google.protobuf.Timestamp" optional :created_by, :string, 3 optional :status, :enum, 4, "google.api.servicemanagement.v1.Rollout.RolloutStatus" optional :service_name, :string, 8 oneof :strategy do optional :traffic_percent_strategy, :message, 5, "google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy" optional :delete_service_strategy, :message, 200, "google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy" end end add_message "google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy" do map :percentages, :string, :double, 1 end add_message "google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy" do end add_enum "google.api.servicemanagement.v1.Rollout.RolloutStatus" do value :ROLLOUT_STATUS_UNSPECIFIED, 0 value :IN_PROGRESS, 1 value :SUCCESS, 2 value :CANCELLED, 3 value :FAILED, 4 value :PENDING, 5 value :FAILED_ROLLED_BACK, 6 end end end module Google module Cloud module ServiceManagement module V1 ManagedService = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.servicemanagement.v1.ManagedService").msgclass OperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.servicemanagement.v1.OperationMetadata").msgclass OperationMetadata::Step = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.servicemanagement.v1.OperationMetadata.Step").msgclass OperationMetadata::Status = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.servicemanagement.v1.OperationMetadata.Status").enummodule Diagnostic = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.servicemanagement.v1.Diagnostic").msgclass Diagnostic::Kind = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.servicemanagement.v1.Diagnostic.Kind").enummodule ConfigSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.servicemanagement.v1.ConfigSource").msgclass ConfigFile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.servicemanagement.v1.ConfigFile").msgclass ConfigFile::FileType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.servicemanagement.v1.ConfigFile.FileType").enummodule ConfigRef = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.servicemanagement.v1.ConfigRef").msgclass ChangeReport = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.servicemanagement.v1.ChangeReport").msgclass Rollout = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.servicemanagement.v1.Rollout").msgclass Rollout::TrafficPercentStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy").msgclass Rollout::DeleteServiceStrategy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy").msgclass Rollout::RolloutStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.api.servicemanagement.v1.Rollout.RolloutStatus").enummodule end end end end