Sha256: 9552de296493410459136d32f450e31ce7390697148254c17f6e543adc5d20ab

Contents?: true

Size: 1.92 KB

Versions: 1

Compression:

Stored size: 1.92 KB

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: google/cloud/documentai/v1beta3/document_service.proto for package 'Google.Cloud.DocumentAI.V1beta3'
# Original file comments:
# 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
#
#     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/documentai/v1beta3/document_service_pb'

module Google
  module Cloud
    module DocumentAI
      module V1beta3
        module DocumentService
          # Service to call Cloud DocumentAI to manage document collection (dataset).
          class Service

            include ::GRPC::GenericService

            self.marshal_class_method = :encode
            self.unmarshal_class_method = :decode
            self.service_name = 'google.cloud.documentai.v1beta3.DocumentService'

            # Updates metadata associated with a dataset.
            rpc :UpdateDataset, ::Google::Cloud::DocumentAI::V1beta3::UpdateDatasetRequest, ::Google::Longrunning::Operation
            # Gets the `DatasetSchema` of a `Dataset`.
            rpc :GetDatasetSchema, ::Google::Cloud::DocumentAI::V1beta3::GetDatasetSchemaRequest, ::Google::Cloud::DocumentAI::V1beta3::DatasetSchema
            # Updates a `DatasetSchema`.
            rpc :UpdateDatasetSchema, ::Google::Cloud::DocumentAI::V1beta3::UpdateDatasetSchemaRequest, ::Google::Cloud::DocumentAI::V1beta3::DatasetSchema
          end

          Stub = Service.rpc_stub_class
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
google-cloud-document_ai-v1beta3-0.24.0 lib/google/cloud/documentai/v1beta3/document_service_services_pb.rb