# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: google/cloud/connectors/v1/connectors_service.proto for package 'google.cloud.connectors.v1'
# Original file comments:
# Copyright 2024 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/connectors/v1/connectors_service_pb'

module Google
  module Cloud
    module Connectors
      module V1
        module Connectors
          # Connectors is the interface for managing Connectors.
          class Service

            include ::GRPC::GenericService

            self.marshal_class_method = :encode
            self.unmarshal_class_method = :decode
            self.service_name = 'google.cloud.connectors.v1.Connectors'

            # Lists Connections in a given project and location.
            rpc :ListConnections, ::Google::Cloud::Connectors::V1::ListConnectionsRequest, ::Google::Cloud::Connectors::V1::ListConnectionsResponse
            # Gets details of a single Connection.
            rpc :GetConnection, ::Google::Cloud::Connectors::V1::GetConnectionRequest, ::Google::Cloud::Connectors::V1::Connection
            # Creates a new Connection in a given project and location.
            rpc :CreateConnection, ::Google::Cloud::Connectors::V1::CreateConnectionRequest, ::Google::Longrunning::Operation
            # Updates the parameters of a single Connection.
            rpc :UpdateConnection, ::Google::Cloud::Connectors::V1::UpdateConnectionRequest, ::Google::Longrunning::Operation
            # Deletes a single Connection.
            rpc :DeleteConnection, ::Google::Cloud::Connectors::V1::DeleteConnectionRequest, ::Google::Longrunning::Operation
            # Lists Providers in a given project and location.
            rpc :ListProviders, ::Google::Cloud::Connectors::V1::ListProvidersRequest, ::Google::Cloud::Connectors::V1::ListProvidersResponse
            # Gets details of a provider.
            rpc :GetProvider, ::Google::Cloud::Connectors::V1::GetProviderRequest, ::Google::Cloud::Connectors::V1::Provider
            # Lists Connectors in a given project and location.
            rpc :ListConnectors, ::Google::Cloud::Connectors::V1::ListConnectorsRequest, ::Google::Cloud::Connectors::V1::ListConnectorsResponse
            # Gets details of a single Connector.
            rpc :GetConnector, ::Google::Cloud::Connectors::V1::GetConnectorRequest, ::Google::Cloud::Connectors::V1::Connector
            # Lists Connector Versions in a given project and location.
            rpc :ListConnectorVersions, ::Google::Cloud::Connectors::V1::ListConnectorVersionsRequest, ::Google::Cloud::Connectors::V1::ListConnectorVersionsResponse
            # Gets details of a single connector version.
            rpc :GetConnectorVersion, ::Google::Cloud::Connectors::V1::GetConnectorVersionRequest, ::Google::Cloud::Connectors::V1::ConnectorVersion
            # Gets schema metadata of a connection.
            # SchemaMetadata is a singleton resource for each connection.
            rpc :GetConnectionSchemaMetadata, ::Google::Cloud::Connectors::V1::GetConnectionSchemaMetadataRequest, ::Google::Cloud::Connectors::V1::ConnectionSchemaMetadata
            # Refresh runtime schema of a connection.
            rpc :RefreshConnectionSchemaMetadata, ::Google::Cloud::Connectors::V1::RefreshConnectionSchemaMetadataRequest, ::Google::Longrunning::Operation
            # List schema of a runtime entities filtered by entity name.
            rpc :ListRuntimeEntitySchemas, ::Google::Cloud::Connectors::V1::ListRuntimeEntitySchemasRequest, ::Google::Cloud::Connectors::V1::ListRuntimeEntitySchemasResponse
            # List schema of a runtime actions filtered by action name.
            rpc :ListRuntimeActionSchemas, ::Google::Cloud::Connectors::V1::ListRuntimeActionSchemasRequest, ::Google::Cloud::Connectors::V1::ListRuntimeActionSchemasResponse
            # Gets the runtimeConfig of a location.
            # RuntimeConfig is a singleton resource for each location.
            rpc :GetRuntimeConfig, ::Google::Cloud::Connectors::V1::GetRuntimeConfigRequest, ::Google::Cloud::Connectors::V1::RuntimeConfig
            # GetGlobalSettings gets settings of a project.
            # GlobalSettings is a singleton resource.
            rpc :GetGlobalSettings, ::Google::Cloud::Connectors::V1::GetGlobalSettingsRequest, ::Google::Cloud::Connectors::V1::Settings
          end

          Stub = Service.rpc_stub_class
        end
      end
    end
  end
end
