Sha256: 73ca49fd6d9789eebfaccdb0adf22efe48d6be1b875d955f3c11368c397f9475

Contents?: true

Size: 1.8 KB

Versions: 4

Compression:

Stored size: 1.8 KB

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: google/cloud/run/v2/revision.proto for package 'google.cloud.run.v2'
# Original file comments:
# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

require 'grpc'
require 'google/cloud/run/v2/revision_pb'

module Google
  module Cloud
    module Run
      module V2
        module Revisions
          # Cloud Run Revision Control Plane API.
          class Service

            include ::GRPC::GenericService

            self.marshal_class_method = :encode
            self.unmarshal_class_method = :decode
            self.service_name = 'google.cloud.run.v2.Revisions'

            # Gets information about a Revision.
            rpc :GetRevision, ::Google::Cloud::Run::V2::GetRevisionRequest, ::Google::Cloud::Run::V2::Revision
            # Lists Revisions from a given Service, or from a given location.  Results
            # are sorted by creation time, descending.
            rpc :ListRevisions, ::Google::Cloud::Run::V2::ListRevisionsRequest, ::Google::Cloud::Run::V2::ListRevisionsResponse
            # Deletes a Revision.
            rpc :DeleteRevision, ::Google::Cloud::Run::V2::DeleteRevisionRequest, ::Google::Longrunning::Operation
          end

          Stub = Service.rpc_stub_class
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
google-cloud-run-v2-0.18.0 lib/google/cloud/run/v2/revision_services_pb.rb
google-cloud-run-v2-0.17.0 lib/google/cloud/run/v2/revision_services_pb.rb
google-cloud-run-v2-0.16.1 lib/google/cloud/run/v2/revision_services_pb.rb
google-cloud-run-v2-0.16.0 lib/google/cloud/run/v2/revision_services_pb.rb