google-cloud-run-v2 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
 - data/.yardopts +12 -0
 - data/AUTHENTICATION.md +149 -0
 - data/LICENSE.md +201 -0
 - data/README.md +139 -0
 - data/lib/google/cloud/run/v2/condition_pb.rb +111 -0
 - data/lib/google/cloud/run/v2/k8s.min_pb.rb +88 -0
 - data/lib/google/cloud/run/v2/revision_pb.rb +81 -0
 - data/lib/google/cloud/run/v2/revision_services_pb.rb +49 -0
 - data/lib/google/cloud/run/v2/revision_template_pb.rb +39 -0
 - data/lib/google/cloud/run/v2/revisions/client.rb +619 -0
 - data/lib/google/cloud/run/v2/revisions/credentials.rb +47 -0
 - data/lib/google/cloud/run/v2/revisions/operations.rb +767 -0
 - data/lib/google/cloud/run/v2/revisions/paths.rb +73 -0
 - data/lib/google/cloud/run/v2/revisions.rb +50 -0
 - data/lib/google/cloud/run/v2/service_pb.rb +100 -0
 - data/lib/google/cloud/run/v2/service_services_pb.rb +65 -0
 - data/lib/google/cloud/run/v2/services/client.rb +1154 -0
 - data/lib/google/cloud/run/v2/services/credentials.rb +47 -0
 - data/lib/google/cloud/run/v2/services/operations.rb +767 -0
 - data/lib/google/cloud/run/v2/services/paths.rb +166 -0
 - data/lib/google/cloud/run/v2/services.rb +50 -0
 - data/lib/google/cloud/run/v2/traffic_target_pb.rb +41 -0
 - data/lib/google/cloud/run/v2/vendor_settings_pb.rb +56 -0
 - data/lib/google/cloud/run/v2/version.rb +28 -0
 - data/lib/google/cloud/run/v2.rb +41 -0
 - data/lib/google-cloud-run-v2.rb +21 -0
 - data/proto_docs/README.md +4 -0
 - data/proto_docs/google/api/field_behavior.rb +71 -0
 - data/proto_docs/google/api/launch_stage.rb +71 -0
 - data/proto_docs/google/api/resource.rb +222 -0
 - data/proto_docs/google/cloud/run/v2/condition.rb +260 -0
 - data/proto_docs/google/cloud/run/v2/k8s.min.rb +290 -0
 - data/proto_docs/google/cloud/run/v2/revision.rb +225 -0
 - data/proto_docs/google/cloud/run/v2/revision_template.rb +98 -0
 - data/proto_docs/google/cloud/run/v2/service.rb +307 -0
 - data/proto_docs/google/cloud/run/v2/traffic_target.rb +81 -0
 - data/proto_docs/google/cloud/run/v2/vendor_settings.rb +109 -0
 - data/proto_docs/google/iam/v1/iam_policy.rb +87 -0
 - data/proto_docs/google/iam/v1/options.rb +50 -0
 - data/proto_docs/google/iam/v1/policy.rb +418 -0
 - data/proto_docs/google/longrunning/operations.rb +164 -0
 - data/proto_docs/google/protobuf/any.rb +141 -0
 - data/proto_docs/google/protobuf/duration.rb +98 -0
 - data/proto_docs/google/protobuf/empty.rb +36 -0
 - data/proto_docs/google/protobuf/field_mask.rb +229 -0
 - data/proto_docs/google/protobuf/timestamp.rb +129 -0
 - data/proto_docs/google/rpc/status.rb +46 -0
 - data/proto_docs/google/type/expr.rb +75 -0
 - metadata +253 -0
 
| 
         @@ -0,0 +1,73 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # frozen_string_literal: true
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            # Copyright 2022 Google LLC
         
     | 
| 
      
 4 
     | 
    
         
            +
            #
         
     | 
| 
      
 5 
     | 
    
         
            +
            # Licensed under the Apache License, Version 2.0 (the "License");
         
     | 
| 
      
 6 
     | 
    
         
            +
            # you may not use this file except in compliance with the License.
         
     | 
| 
      
 7 
     | 
    
         
            +
            # You may obtain a copy of the License at
         
     | 
| 
      
 8 
     | 
    
         
            +
            #
         
     | 
| 
      
 9 
     | 
    
         
            +
            #     https://www.apache.org/licenses/LICENSE-2.0
         
     | 
| 
      
 10 
     | 
    
         
            +
            #
         
     | 
| 
      
 11 
     | 
    
         
            +
            # Unless required by applicable law or agreed to in writing, software
         
     | 
| 
      
 12 
     | 
    
         
            +
            # distributed under the License is distributed on an "AS IS" BASIS,
         
     | 
| 
      
 13 
     | 
    
         
            +
            # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
         
     | 
| 
      
 14 
     | 
    
         
            +
            # See the License for the specific language governing permissions and
         
     | 
| 
      
 15 
     | 
    
         
            +
            # limitations under the License.
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
             
     | 
| 
      
 20 
     | 
    
         
            +
            module Google
         
     | 
| 
      
 21 
     | 
    
         
            +
              module Cloud
         
     | 
| 
      
 22 
     | 
    
         
            +
                module Run
         
     | 
| 
      
 23 
     | 
    
         
            +
                  module V2
         
     | 
| 
      
 24 
     | 
    
         
            +
                    module Revisions
         
     | 
| 
      
 25 
     | 
    
         
            +
                      # Path helper methods for the Revisions API.
         
     | 
| 
      
 26 
     | 
    
         
            +
                      module Paths
         
     | 
| 
      
 27 
     | 
    
         
            +
                        ##
         
     | 
| 
      
 28 
     | 
    
         
            +
                        # Create a fully-qualified Revision resource string.
         
     | 
| 
      
 29 
     | 
    
         
            +
                        #
         
     | 
| 
      
 30 
     | 
    
         
            +
                        # The resource will be in the following format:
         
     | 
| 
      
 31 
     | 
    
         
            +
                        #
         
     | 
| 
      
 32 
     | 
    
         
            +
                        # `projects/{project}/locations/{location}/services/{service}/revisions/{revision}`
         
     | 
| 
      
 33 
     | 
    
         
            +
                        #
         
     | 
| 
      
 34 
     | 
    
         
            +
                        # @param project [String]
         
     | 
| 
      
 35 
     | 
    
         
            +
                        # @param location [String]
         
     | 
| 
      
 36 
     | 
    
         
            +
                        # @param service [String]
         
     | 
| 
      
 37 
     | 
    
         
            +
                        # @param revision [String]
         
     | 
| 
      
 38 
     | 
    
         
            +
                        #
         
     | 
| 
      
 39 
     | 
    
         
            +
                        # @return [::String]
         
     | 
| 
      
 40 
     | 
    
         
            +
                        def revision_path project:, location:, service:, revision:
         
     | 
| 
      
 41 
     | 
    
         
            +
                          raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
         
     | 
| 
      
 42 
     | 
    
         
            +
                          raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
         
     | 
| 
      
 43 
     | 
    
         
            +
                          raise ::ArgumentError, "service cannot contain /" if service.to_s.include? "/"
         
     | 
| 
      
 44 
     | 
    
         
            +
             
     | 
| 
      
 45 
     | 
    
         
            +
                          "projects/#{project}/locations/#{location}/services/#{service}/revisions/#{revision}"
         
     | 
| 
      
 46 
     | 
    
         
            +
                        end
         
     | 
| 
      
 47 
     | 
    
         
            +
             
     | 
| 
      
 48 
     | 
    
         
            +
                        ##
         
     | 
| 
      
 49 
     | 
    
         
            +
                        # Create a fully-qualified Service resource string.
         
     | 
| 
      
 50 
     | 
    
         
            +
                        #
         
     | 
| 
      
 51 
     | 
    
         
            +
                        # The resource will be in the following format:
         
     | 
| 
      
 52 
     | 
    
         
            +
                        #
         
     | 
| 
      
 53 
     | 
    
         
            +
                        # `projects/{project}/locations/{location}/services/{service}`
         
     | 
| 
      
 54 
     | 
    
         
            +
                        #
         
     | 
| 
      
 55 
     | 
    
         
            +
                        # @param project [String]
         
     | 
| 
      
 56 
     | 
    
         
            +
                        # @param location [String]
         
     | 
| 
      
 57 
     | 
    
         
            +
                        # @param service [String]
         
     | 
| 
      
 58 
     | 
    
         
            +
                        #
         
     | 
| 
      
 59 
     | 
    
         
            +
                        # @return [::String]
         
     | 
| 
      
 60 
     | 
    
         
            +
                        def service_path project:, location:, service:
         
     | 
| 
      
 61 
     | 
    
         
            +
                          raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
         
     | 
| 
      
 62 
     | 
    
         
            +
                          raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
         
     | 
| 
      
 63 
     | 
    
         
            +
             
     | 
| 
      
 64 
     | 
    
         
            +
                          "projects/#{project}/locations/#{location}/services/#{service}"
         
     | 
| 
      
 65 
     | 
    
         
            +
                        end
         
     | 
| 
      
 66 
     | 
    
         
            +
             
     | 
| 
      
 67 
     | 
    
         
            +
                        extend self
         
     | 
| 
      
 68 
     | 
    
         
            +
                      end
         
     | 
| 
      
 69 
     | 
    
         
            +
                    end
         
     | 
| 
      
 70 
     | 
    
         
            +
                  end
         
     | 
| 
      
 71 
     | 
    
         
            +
                end
         
     | 
| 
      
 72 
     | 
    
         
            +
              end
         
     | 
| 
      
 73 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -0,0 +1,50 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # frozen_string_literal: true
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            # Copyright 2022 Google LLC
         
     | 
| 
      
 4 
     | 
    
         
            +
            #
         
     | 
| 
      
 5 
     | 
    
         
            +
            # Licensed under the Apache License, Version 2.0 (the "License");
         
     | 
| 
      
 6 
     | 
    
         
            +
            # you may not use this file except in compliance with the License.
         
     | 
| 
      
 7 
     | 
    
         
            +
            # You may obtain a copy of the License at
         
     | 
| 
      
 8 
     | 
    
         
            +
            #
         
     | 
| 
      
 9 
     | 
    
         
            +
            #     https://www.apache.org/licenses/LICENSE-2.0
         
     | 
| 
      
 10 
     | 
    
         
            +
            #
         
     | 
| 
      
 11 
     | 
    
         
            +
            # Unless required by applicable law or agreed to in writing, software
         
     | 
| 
      
 12 
     | 
    
         
            +
            # distributed under the License is distributed on an "AS IS" BASIS,
         
     | 
| 
      
 13 
     | 
    
         
            +
            # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
         
     | 
| 
      
 14 
     | 
    
         
            +
            # See the License for the specific language governing permissions and
         
     | 
| 
      
 15 
     | 
    
         
            +
            # limitations under the License.
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
            require "gapic/common"
         
     | 
| 
      
 20 
     | 
    
         
            +
            require "gapic/config"
         
     | 
| 
      
 21 
     | 
    
         
            +
            require "gapic/config/method"
         
     | 
| 
      
 22 
     | 
    
         
            +
             
     | 
| 
      
 23 
     | 
    
         
            +
            require "google/cloud/run/v2/version"
         
     | 
| 
      
 24 
     | 
    
         
            +
             
     | 
| 
      
 25 
     | 
    
         
            +
            require "google/cloud/run/v2/revisions/credentials"
         
     | 
| 
      
 26 
     | 
    
         
            +
            require "google/cloud/run/v2/revisions/paths"
         
     | 
| 
      
 27 
     | 
    
         
            +
            require "google/cloud/run/v2/revisions/operations"
         
     | 
| 
      
 28 
     | 
    
         
            +
            require "google/cloud/run/v2/revisions/client"
         
     | 
| 
      
 29 
     | 
    
         
            +
             
     | 
| 
      
 30 
     | 
    
         
            +
            module Google
         
     | 
| 
      
 31 
     | 
    
         
            +
              module Cloud
         
     | 
| 
      
 32 
     | 
    
         
            +
                module Run
         
     | 
| 
      
 33 
     | 
    
         
            +
                  module V2
         
     | 
| 
      
 34 
     | 
    
         
            +
                    ##
         
     | 
| 
      
 35 
     | 
    
         
            +
                    # Cloud Run Revision Control Plane API.
         
     | 
| 
      
 36 
     | 
    
         
            +
                    #
         
     | 
| 
      
 37 
     | 
    
         
            +
                    # To load this service and instantiate a client:
         
     | 
| 
      
 38 
     | 
    
         
            +
                    #
         
     | 
| 
      
 39 
     | 
    
         
            +
                    #     require "google/cloud/run/v2/revisions"
         
     | 
| 
      
 40 
     | 
    
         
            +
                    #     client = ::Google::Cloud::Run::V2::Revisions::Client.new
         
     | 
| 
      
 41 
     | 
    
         
            +
                    #
         
     | 
| 
      
 42 
     | 
    
         
            +
                    module Revisions
         
     | 
| 
      
 43 
     | 
    
         
            +
                    end
         
     | 
| 
      
 44 
     | 
    
         
            +
                  end
         
     | 
| 
      
 45 
     | 
    
         
            +
                end
         
     | 
| 
      
 46 
     | 
    
         
            +
              end
         
     | 
| 
      
 47 
     | 
    
         
            +
            end
         
     | 
| 
      
 48 
     | 
    
         
            +
             
     | 
| 
      
 49 
     | 
    
         
            +
            helper_path = ::File.join __dir__, "revisions", "helpers.rb"
         
     | 
| 
      
 50 
     | 
    
         
            +
            require "google/cloud/run/v2/revisions/helpers" if ::File.file? helper_path
         
     | 
| 
         @@ -0,0 +1,100 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         
     | 
| 
      
 2 
     | 
    
         
            +
            # source: google/cloud/run/v2/service.proto
         
     | 
| 
      
 3 
     | 
    
         
            +
             
     | 
| 
      
 4 
     | 
    
         
            +
            require 'google/protobuf'
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
            require 'google/api/annotations_pb'
         
     | 
| 
      
 7 
     | 
    
         
            +
            require 'google/api/client_pb'
         
     | 
| 
      
 8 
     | 
    
         
            +
            require 'google/api/field_behavior_pb'
         
     | 
| 
      
 9 
     | 
    
         
            +
            require 'google/api/launch_stage_pb'
         
     | 
| 
      
 10 
     | 
    
         
            +
            require 'google/api/resource_pb'
         
     | 
| 
      
 11 
     | 
    
         
            +
            require 'google/cloud/run/v2/condition_pb'
         
     | 
| 
      
 12 
     | 
    
         
            +
            require 'google/cloud/run/v2/revision_template_pb'
         
     | 
| 
      
 13 
     | 
    
         
            +
            require 'google/cloud/run/v2/traffic_target_pb'
         
     | 
| 
      
 14 
     | 
    
         
            +
            require 'google/cloud/run/v2/vendor_settings_pb'
         
     | 
| 
      
 15 
     | 
    
         
            +
            require 'google/iam/v1/iam_policy_pb'
         
     | 
| 
      
 16 
     | 
    
         
            +
            require 'google/iam/v1/policy_pb'
         
     | 
| 
      
 17 
     | 
    
         
            +
            require 'google/longrunning/operations_pb'
         
     | 
| 
      
 18 
     | 
    
         
            +
            require 'google/protobuf/field_mask_pb'
         
     | 
| 
      
 19 
     | 
    
         
            +
            require 'google/protobuf/timestamp_pb'
         
     | 
| 
      
 20 
     | 
    
         
            +
             
     | 
| 
      
 21 
     | 
    
         
            +
            Google::Protobuf::DescriptorPool.generated_pool.build do
         
     | 
| 
      
 22 
     | 
    
         
            +
              add_file("google/cloud/run/v2/service.proto", :syntax => :proto3) do
         
     | 
| 
      
 23 
     | 
    
         
            +
                add_message "google.cloud.run.v2.CreateServiceRequest" do
         
     | 
| 
      
 24 
     | 
    
         
            +
                  optional :parent, :string, 1
         
     | 
| 
      
 25 
     | 
    
         
            +
                  optional :service, :message, 2, "google.cloud.run.v2.Service"
         
     | 
| 
      
 26 
     | 
    
         
            +
                  optional :service_id, :string, 3
         
     | 
| 
      
 27 
     | 
    
         
            +
                  optional :validate_only, :bool, 4
         
     | 
| 
      
 28 
     | 
    
         
            +
                end
         
     | 
| 
      
 29 
     | 
    
         
            +
                add_message "google.cloud.run.v2.UpdateServiceRequest" do
         
     | 
| 
      
 30 
     | 
    
         
            +
                  optional :service, :message, 1, "google.cloud.run.v2.Service"
         
     | 
| 
      
 31 
     | 
    
         
            +
                  optional :update_mask, :message, 2, "google.protobuf.FieldMask"
         
     | 
| 
      
 32 
     | 
    
         
            +
                  optional :validate_only, :bool, 3
         
     | 
| 
      
 33 
     | 
    
         
            +
                  optional :allow_missing, :bool, 4
         
     | 
| 
      
 34 
     | 
    
         
            +
                end
         
     | 
| 
      
 35 
     | 
    
         
            +
                add_message "google.cloud.run.v2.ListServicesRequest" do
         
     | 
| 
      
 36 
     | 
    
         
            +
                  optional :parent, :string, 1
         
     | 
| 
      
 37 
     | 
    
         
            +
                  optional :page_size, :int32, 2
         
     | 
| 
      
 38 
     | 
    
         
            +
                  optional :page_token, :string, 3
         
     | 
| 
      
 39 
     | 
    
         
            +
                  optional :show_deleted, :bool, 4
         
     | 
| 
      
 40 
     | 
    
         
            +
                end
         
     | 
| 
      
 41 
     | 
    
         
            +
                add_message "google.cloud.run.v2.ListServicesResponse" do
         
     | 
| 
      
 42 
     | 
    
         
            +
                  repeated :services, :message, 1, "google.cloud.run.v2.Service"
         
     | 
| 
      
 43 
     | 
    
         
            +
                  optional :next_page_token, :string, 2
         
     | 
| 
      
 44 
     | 
    
         
            +
                end
         
     | 
| 
      
 45 
     | 
    
         
            +
                add_message "google.cloud.run.v2.GetServiceRequest" do
         
     | 
| 
      
 46 
     | 
    
         
            +
                  optional :name, :string, 1
         
     | 
| 
      
 47 
     | 
    
         
            +
                end
         
     | 
| 
      
 48 
     | 
    
         
            +
                add_message "google.cloud.run.v2.DeleteServiceRequest" do
         
     | 
| 
      
 49 
     | 
    
         
            +
                  optional :name, :string, 1
         
     | 
| 
      
 50 
     | 
    
         
            +
                  optional :validate_only, :bool, 2
         
     | 
| 
      
 51 
     | 
    
         
            +
                  optional :etag, :string, 3
         
     | 
| 
      
 52 
     | 
    
         
            +
                end
         
     | 
| 
      
 53 
     | 
    
         
            +
                add_message "google.cloud.run.v2.Service" do
         
     | 
| 
      
 54 
     | 
    
         
            +
                  optional :name, :string, 1
         
     | 
| 
      
 55 
     | 
    
         
            +
                  optional :description, :string, 2
         
     | 
| 
      
 56 
     | 
    
         
            +
                  optional :uid, :string, 3
         
     | 
| 
      
 57 
     | 
    
         
            +
                  optional :generation, :int64, 4
         
     | 
| 
      
 58 
     | 
    
         
            +
                  map :labels, :string, :string, 5
         
     | 
| 
      
 59 
     | 
    
         
            +
                  map :annotations, :string, :string, 6
         
     | 
| 
      
 60 
     | 
    
         
            +
                  optional :create_time, :message, 7, "google.protobuf.Timestamp"
         
     | 
| 
      
 61 
     | 
    
         
            +
                  optional :update_time, :message, 8, "google.protobuf.Timestamp"
         
     | 
| 
      
 62 
     | 
    
         
            +
                  optional :delete_time, :message, 9, "google.protobuf.Timestamp"
         
     | 
| 
      
 63 
     | 
    
         
            +
                  optional :expire_time, :message, 10, "google.protobuf.Timestamp"
         
     | 
| 
      
 64 
     | 
    
         
            +
                  optional :creator, :string, 11
         
     | 
| 
      
 65 
     | 
    
         
            +
                  optional :last_modifier, :string, 12
         
     | 
| 
      
 66 
     | 
    
         
            +
                  optional :client, :string, 13
         
     | 
| 
      
 67 
     | 
    
         
            +
                  optional :client_version, :string, 14
         
     | 
| 
      
 68 
     | 
    
         
            +
                  optional :ingress, :enum, 15, "google.cloud.run.v2.IngressTraffic"
         
     | 
| 
      
 69 
     | 
    
         
            +
                  optional :launch_stage, :enum, 16, "google.api.LaunchStage"
         
     | 
| 
      
 70 
     | 
    
         
            +
                  optional :binary_authorization, :message, 17, "google.cloud.run.v2.BinaryAuthorization"
         
     | 
| 
      
 71 
     | 
    
         
            +
                  optional :template, :message, 18, "google.cloud.run.v2.RevisionTemplate"
         
     | 
| 
      
 72 
     | 
    
         
            +
                  repeated :traffic, :message, 19, "google.cloud.run.v2.TrafficTarget"
         
     | 
| 
      
 73 
     | 
    
         
            +
                  optional :observed_generation, :int64, 30
         
     | 
| 
      
 74 
     | 
    
         
            +
                  optional :terminal_condition, :message, 31, "google.cloud.run.v2.Condition"
         
     | 
| 
      
 75 
     | 
    
         
            +
                  repeated :conditions, :message, 32, "google.cloud.run.v2.Condition"
         
     | 
| 
      
 76 
     | 
    
         
            +
                  optional :latest_ready_revision, :string, 33
         
     | 
| 
      
 77 
     | 
    
         
            +
                  optional :latest_created_revision, :string, 34
         
     | 
| 
      
 78 
     | 
    
         
            +
                  repeated :traffic_statuses, :message, 35, "google.cloud.run.v2.TrafficTargetStatus"
         
     | 
| 
      
 79 
     | 
    
         
            +
                  optional :uri, :string, 36
         
     | 
| 
      
 80 
     | 
    
         
            +
                  optional :reconciling, :bool, 98
         
     | 
| 
      
 81 
     | 
    
         
            +
                  optional :etag, :string, 99
         
     | 
| 
      
 82 
     | 
    
         
            +
                end
         
     | 
| 
      
 83 
     | 
    
         
            +
              end
         
     | 
| 
      
 84 
     | 
    
         
            +
            end
         
     | 
| 
      
 85 
     | 
    
         
            +
             
     | 
| 
      
 86 
     | 
    
         
            +
            module Google
         
     | 
| 
      
 87 
     | 
    
         
            +
              module Cloud
         
     | 
| 
      
 88 
     | 
    
         
            +
                module Run
         
     | 
| 
      
 89 
     | 
    
         
            +
                  module V2
         
     | 
| 
      
 90 
     | 
    
         
            +
                    CreateServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.CreateServiceRequest").msgclass
         
     | 
| 
      
 91 
     | 
    
         
            +
                    UpdateServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.UpdateServiceRequest").msgclass
         
     | 
| 
      
 92 
     | 
    
         
            +
                    ListServicesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.ListServicesRequest").msgclass
         
     | 
| 
      
 93 
     | 
    
         
            +
                    ListServicesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.ListServicesResponse").msgclass
         
     | 
| 
      
 94 
     | 
    
         
            +
                    GetServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.GetServiceRequest").msgclass
         
     | 
| 
      
 95 
     | 
    
         
            +
                    DeleteServiceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.DeleteServiceRequest").msgclass
         
     | 
| 
      
 96 
     | 
    
         
            +
                    Service = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.run.v2.Service").msgclass
         
     | 
| 
      
 97 
     | 
    
         
            +
                  end
         
     | 
| 
      
 98 
     | 
    
         
            +
                end
         
     | 
| 
      
 99 
     | 
    
         
            +
              end
         
     | 
| 
      
 100 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -0,0 +1,65 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         
     | 
| 
      
 2 
     | 
    
         
            +
            # Source: google/cloud/run/v2/service.proto for package 'google.cloud.run.v2'
         
     | 
| 
      
 3 
     | 
    
         
            +
            # Original file comments:
         
     | 
| 
      
 4 
     | 
    
         
            +
            # Copyright 2022 Google LLC
         
     | 
| 
      
 5 
     | 
    
         
            +
            #
         
     | 
| 
      
 6 
     | 
    
         
            +
            # Licensed under the Apache License, Version 2.0 (the "License");
         
     | 
| 
      
 7 
     | 
    
         
            +
            # you may not use this file except in compliance with the License.
         
     | 
| 
      
 8 
     | 
    
         
            +
            # You may obtain a copy of the License at
         
     | 
| 
      
 9 
     | 
    
         
            +
            #
         
     | 
| 
      
 10 
     | 
    
         
            +
            #     http://www.apache.org/licenses/LICENSE-2.0
         
     | 
| 
      
 11 
     | 
    
         
            +
            #
         
     | 
| 
      
 12 
     | 
    
         
            +
            # Unless required by applicable law or agreed to in writing, software
         
     | 
| 
      
 13 
     | 
    
         
            +
            # distributed under the License is distributed on an "AS IS" BASIS,
         
     | 
| 
      
 14 
     | 
    
         
            +
            # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
         
     | 
| 
      
 15 
     | 
    
         
            +
            # See the License for the specific language governing permissions and
         
     | 
| 
      
 16 
     | 
    
         
            +
            # limitations under the License.
         
     | 
| 
      
 17 
     | 
    
         
            +
            #
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
            require 'grpc'
         
     | 
| 
      
 20 
     | 
    
         
            +
            require 'google/cloud/run/v2/service_pb'
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
            module Google
         
     | 
| 
      
 23 
     | 
    
         
            +
              module Cloud
         
     | 
| 
      
 24 
     | 
    
         
            +
                module Run
         
     | 
| 
      
 25 
     | 
    
         
            +
                  module V2
         
     | 
| 
      
 26 
     | 
    
         
            +
                    module Services
         
     | 
| 
      
 27 
     | 
    
         
            +
                      # Cloud Run Service Control Plane API
         
     | 
| 
      
 28 
     | 
    
         
            +
                      class Service
         
     | 
| 
      
 29 
     | 
    
         
            +
             
     | 
| 
      
 30 
     | 
    
         
            +
                        include ::GRPC::GenericService
         
     | 
| 
      
 31 
     | 
    
         
            +
             
     | 
| 
      
 32 
     | 
    
         
            +
                        self.marshal_class_method = :encode
         
     | 
| 
      
 33 
     | 
    
         
            +
                        self.unmarshal_class_method = :decode
         
     | 
| 
      
 34 
     | 
    
         
            +
                        self.service_name = 'google.cloud.run.v2.Services'
         
     | 
| 
      
 35 
     | 
    
         
            +
             
     | 
| 
      
 36 
     | 
    
         
            +
                        # Creates a new Service in a given project and location.
         
     | 
| 
      
 37 
     | 
    
         
            +
                        rpc :CreateService, ::Google::Cloud::Run::V2::CreateServiceRequest, ::Google::Longrunning::Operation
         
     | 
| 
      
 38 
     | 
    
         
            +
                        # Gets information about a Service.
         
     | 
| 
      
 39 
     | 
    
         
            +
                        rpc :GetService, ::Google::Cloud::Run::V2::GetServiceRequest, ::Google::Cloud::Run::V2::Service
         
     | 
| 
      
 40 
     | 
    
         
            +
                        # List Services.
         
     | 
| 
      
 41 
     | 
    
         
            +
                        rpc :ListServices, ::Google::Cloud::Run::V2::ListServicesRequest, ::Google::Cloud::Run::V2::ListServicesResponse
         
     | 
| 
      
 42 
     | 
    
         
            +
                        # Updates a Service.
         
     | 
| 
      
 43 
     | 
    
         
            +
                        rpc :UpdateService, ::Google::Cloud::Run::V2::UpdateServiceRequest, ::Google::Longrunning::Operation
         
     | 
| 
      
 44 
     | 
    
         
            +
                        # Deletes a Service.
         
     | 
| 
      
 45 
     | 
    
         
            +
                        # This will cause the Service to stop serving traffic and will delete all
         
     | 
| 
      
 46 
     | 
    
         
            +
                        # revisions.
         
     | 
| 
      
 47 
     | 
    
         
            +
                        rpc :DeleteService, ::Google::Cloud::Run::V2::DeleteServiceRequest, ::Google::Longrunning::Operation
         
     | 
| 
      
 48 
     | 
    
         
            +
                        # Get the IAM Access Control policy currently in effect for the given
         
     | 
| 
      
 49 
     | 
    
         
            +
                        # Cloud Run Service. This result does not include any inherited policies.
         
     | 
| 
      
 50 
     | 
    
         
            +
                        rpc :GetIamPolicy, ::Google::Iam::V1::GetIamPolicyRequest, ::Google::Iam::V1::Policy
         
     | 
| 
      
 51 
     | 
    
         
            +
                        # Sets the IAM Access control policy for the specified Service. Overwrites
         
     | 
| 
      
 52 
     | 
    
         
            +
                        # any existing policy.
         
     | 
| 
      
 53 
     | 
    
         
            +
                        rpc :SetIamPolicy, ::Google::Iam::V1::SetIamPolicyRequest, ::Google::Iam::V1::Policy
         
     | 
| 
      
 54 
     | 
    
         
            +
                        # Returns permissions that a caller has on the specified Project.
         
     | 
| 
      
 55 
     | 
    
         
            +
                        #
         
     | 
| 
      
 56 
     | 
    
         
            +
                        # There are no permissions required for making this API call.
         
     | 
| 
      
 57 
     | 
    
         
            +
                        rpc :TestIamPermissions, ::Google::Iam::V1::TestIamPermissionsRequest, ::Google::Iam::V1::TestIamPermissionsResponse
         
     | 
| 
      
 58 
     | 
    
         
            +
                      end
         
     | 
| 
      
 59 
     | 
    
         
            +
             
     | 
| 
      
 60 
     | 
    
         
            +
                      Stub = Service.rpc_stub_class
         
     | 
| 
      
 61 
     | 
    
         
            +
                    end
         
     | 
| 
      
 62 
     | 
    
         
            +
                  end
         
     | 
| 
      
 63 
     | 
    
         
            +
                end
         
     | 
| 
      
 64 
     | 
    
         
            +
              end
         
     | 
| 
      
 65 
     | 
    
         
            +
            end
         
     |