Sha256: 283da6e990e1ea3469d6786c6f25488975c3d486f32ab8f01b9f2f87c23a7ac1

Contents?: true

Size: 1.57 KB

Versions: 9

Compression:

Stored size: 1.57 KB

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/run/v2/traffic_target.proto

require 'google/protobuf'

require 'google/api/resource_pb'

Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("google/cloud/run/v2/traffic_target.proto", :syntax => :proto3) do
    add_message "google.cloud.run.v2.TrafficTarget" do
      optional :type, :enum, 1, "google.cloud.run.v2.TrafficTargetAllocationType"
      optional :revision, :string, 2
      optional :percent, :int32, 3
      optional :tag, :string, 4
    end
    add_message "google.cloud.run.v2.TrafficTargetStatus" do
      optional :type, :enum, 1, "google.cloud.run.v2.TrafficTargetAllocationType"
      optional :revision, :string, 2
      optional :percent, :int32, 3
      optional :tag, :string, 4
      optional :uri, :string, 5
    end
    add_enum "google.cloud.run.v2.TrafficTargetAllocationType" do
      value :TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED, 0
      value :TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST, 1
      value :TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION, 2
    end
  end
end

module Google
  module Cloud
    module Run
      module V2
        TrafficTarget = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.TrafficTarget").msgclass
        TrafficTargetStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.TrafficTargetStatus").msgclass
        TrafficTargetAllocationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.TrafficTargetAllocationType").enummodule
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
google-cloud-run-v2-0.8.0 lib/google/cloud/run/v2/traffic_target_pb.rb
google-cloud-run-v2-0.7.0 lib/google/cloud/run/v2/traffic_target_pb.rb
google-cloud-run-v2-0.6.0 lib/google/cloud/run/v2/traffic_target_pb.rb
google-cloud-run-v2-0.5.0 lib/google/cloud/run/v2/traffic_target_pb.rb
google-cloud-run-v2-0.4.0 lib/google/cloud/run/v2/traffic_target_pb.rb
google-cloud-run-v2-0.3.1 lib/google/cloud/run/v2/traffic_target_pb.rb
google-cloud-run-v2-0.3.0 lib/google/cloud/run/v2/traffic_target_pb.rb
google-cloud-run-v2-0.2.0 lib/google/cloud/run/v2/traffic_target_pb.rb
google-cloud-run-v2-0.1.0 lib/google/cloud/run/v2/traffic_target_pb.rb