gapic-generator/lib/gapic/presenters/service_presenter.rb
def drift_manifest
        {
          clients: {
            grpc: {
              libraryClient: client_name_full,
              # The methods should grouped by grpc_method_name and then
              # their names are returned together in an array.
              # For Ruby currently we have 1:1 proto to code
              # correspondence for methods, so our generation is easier
              rpcs:       methods.map { |m| [m.grpc_method_name, m.drift_manifest] }.to_h
            }
          }
        }
      end
##
# Returns a hash with a drift_manifest of this service,
# describing correspondence between the proto description
# of the service with the generated code for the service.
# See https://github.com/googleapis/googleapis/blob/master/gapic/metadata/gapic_metadata.proto
#
# @return [Hash]
Returns a hash with a drift_manifest of this service,
describing correspondence between the proto description
of the service with the generated code for the service.
Returns a hash with a drift_manifest of this service describing correspondence between the proto description of the service with the generated code for the service .
def drift_manifest
        {
          clients: {
            grpc: {
              libraryClient: client_name_full,
              rpcs:       methods.map { |m| [m.grpc_method_name, m.drift_manifest] }.to_h
            }
          }
        }
      end
def drift_manifest { clients : { grpc : { libraryClient : client_name_full , rpcs : methods . map { | m | [ m . grpc_method_name , m . drift_manifest ] } . to_h } } } end
Returns a hash with a drift_manifest of this service,
describing correspondence between the proto description
of the service with the generated code for the service.
Returns a hash with a drift_manifest of this service describing correspondence between the proto description of the service with the generated code for the service .
# The methods should grouped by grpc_method_name and then # their names are returned together in an array. # For Ruby currently we have 1:1 proto to code # correspondence for methods, so our generation is easier
None
Hash