Sha256: 4f64fed0de6576b7b69a7d43c3d79c0280a8eb3e98b956b84a3df4292a96eedc

Contents?: true

Size: 1.3 KB

Versions: 6

Compression:

Stored size: 1.3 KB

Contents

# Copyright 2023 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
#
#     https://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.

module Gapic
  module Rest
    ##
    # Surfaces information about the active call
    # from the underlying transport library.
    #
    class TransportOperation
      ##
      # @private
      # The underlying transport's library object that describes the active call, if any.
      # It is not guaranteed to be any specific type, and its value is not guarateed to be stable.
      # @return [::Object, nil, ::Faraday::Response]
      attr_reader :underlying_op

      ##
      # @private
      # @param underlying_op [::Object, nil, ::Faraday::Response]
      #   The underlying transport's library object that describes the active call, if any.
      def initialize underlying_op
        @underlying_op = underlying_op
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/gapic-common-0.24.0/lib/gapic/rest/transport_operation.rb
gapic-common-0.24.0 lib/gapic/rest/transport_operation.rb
gapic-common-0.23.0 lib/gapic/rest/transport_operation.rb
gapic-common-0.22.0 lib/gapic/rest/transport_operation.rb
gapic-common-0.21.1 lib/gapic/rest/transport_operation.rb
gapic-common-0.20.0 lib/gapic/rest/transport_operation.rb