# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: google/cloud/networkconnectivity/v1/cross_network_automation.proto for package 'Google.Cloud.NetworkConnectivity.V1'
# Original file comments:
# Copyright 2025 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/networkconnectivity/v1/cross_network_automation_pb'

module Google
  module Cloud
    module NetworkConnectivity
      module V1
        module CrossNetworkAutomationService
          # The service for CrossNetworkAutomation resources.
          class Service

            include ::GRPC::GenericService

            self.marshal_class_method = :encode
            self.unmarshal_class_method = :decode
            self.service_name = 'google.cloud.networkconnectivity.v1.CrossNetworkAutomationService'

            # Lists ServiceConnectionMaps in a given project and location.
            rpc :ListServiceConnectionMaps, ::Google::Cloud::NetworkConnectivity::V1::ListServiceConnectionMapsRequest, ::Google::Cloud::NetworkConnectivity::V1::ListServiceConnectionMapsResponse
            # Gets details of a single ServiceConnectionMap.
            rpc :GetServiceConnectionMap, ::Google::Cloud::NetworkConnectivity::V1::GetServiceConnectionMapRequest, ::Google::Cloud::NetworkConnectivity::V1::ServiceConnectionMap
            # Creates a new ServiceConnectionMap in a given project and location.
            rpc :CreateServiceConnectionMap, ::Google::Cloud::NetworkConnectivity::V1::CreateServiceConnectionMapRequest, ::Google::Longrunning::Operation
            # Updates the parameters of a single ServiceConnectionMap.
            rpc :UpdateServiceConnectionMap, ::Google::Cloud::NetworkConnectivity::V1::UpdateServiceConnectionMapRequest, ::Google::Longrunning::Operation
            # Deletes a single ServiceConnectionMap.
            rpc :DeleteServiceConnectionMap, ::Google::Cloud::NetworkConnectivity::V1::DeleteServiceConnectionMapRequest, ::Google::Longrunning::Operation
            # Lists ServiceConnectionPolicies in a given project and location.
            rpc :ListServiceConnectionPolicies, ::Google::Cloud::NetworkConnectivity::V1::ListServiceConnectionPoliciesRequest, ::Google::Cloud::NetworkConnectivity::V1::ListServiceConnectionPoliciesResponse
            # Gets details of a single ServiceConnectionPolicy.
            rpc :GetServiceConnectionPolicy, ::Google::Cloud::NetworkConnectivity::V1::GetServiceConnectionPolicyRequest, ::Google::Cloud::NetworkConnectivity::V1::ServiceConnectionPolicy
            # Creates a new ServiceConnectionPolicy in a given project and location.
            rpc :CreateServiceConnectionPolicy, ::Google::Cloud::NetworkConnectivity::V1::CreateServiceConnectionPolicyRequest, ::Google::Longrunning::Operation
            # Updates the parameters of a single ServiceConnectionPolicy.
            rpc :UpdateServiceConnectionPolicy, ::Google::Cloud::NetworkConnectivity::V1::UpdateServiceConnectionPolicyRequest, ::Google::Longrunning::Operation
            # Deletes a single ServiceConnectionPolicy.
            rpc :DeleteServiceConnectionPolicy, ::Google::Cloud::NetworkConnectivity::V1::DeleteServiceConnectionPolicyRequest, ::Google::Longrunning::Operation
            # Lists ServiceClasses in a given project and location.
            rpc :ListServiceClasses, ::Google::Cloud::NetworkConnectivity::V1::ListServiceClassesRequest, ::Google::Cloud::NetworkConnectivity::V1::ListServiceClassesResponse
            # Gets details of a single ServiceClass.
            rpc :GetServiceClass, ::Google::Cloud::NetworkConnectivity::V1::GetServiceClassRequest, ::Google::Cloud::NetworkConnectivity::V1::ServiceClass
            # Updates the parameters of a single ServiceClass.
            rpc :UpdateServiceClass, ::Google::Cloud::NetworkConnectivity::V1::UpdateServiceClassRequest, ::Google::Longrunning::Operation
            # Deletes a single ServiceClass.
            rpc :DeleteServiceClass, ::Google::Cloud::NetworkConnectivity::V1::DeleteServiceClassRequest, ::Google::Longrunning::Operation
            # Gets details of a single ServiceConnectionToken.
            rpc :GetServiceConnectionToken, ::Google::Cloud::NetworkConnectivity::V1::GetServiceConnectionTokenRequest, ::Google::Cloud::NetworkConnectivity::V1::ServiceConnectionToken
            # Lists ServiceConnectionTokens in a given project and location.
            rpc :ListServiceConnectionTokens, ::Google::Cloud::NetworkConnectivity::V1::ListServiceConnectionTokensRequest, ::Google::Cloud::NetworkConnectivity::V1::ListServiceConnectionTokensResponse
            # Creates a new ServiceConnectionToken in a given project and location.
            rpc :CreateServiceConnectionToken, ::Google::Cloud::NetworkConnectivity::V1::CreateServiceConnectionTokenRequest, ::Google::Longrunning::Operation
            # Deletes a single ServiceConnectionToken.
            rpc :DeleteServiceConnectionToken, ::Google::Cloud::NetworkConnectivity::V1::DeleteServiceConnectionTokenRequest, ::Google::Longrunning::Operation
          end

          Stub = Service.rpc_stub_class
        end
      end
    end
  end
end
