# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: google/cloud/geminidataanalytics/v1beta/data_agent_service.proto for package 'Google.Cloud.GeminiDataAnalytics.V1beta'
# 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/geminidataanalytics/v1beta/data_agent_service_pb'

module Google
  module Cloud
    module GeminiDataAnalytics
      module V1beta
        module DataAgentService
          # Service describing handlers for resources.
          class Service

            include ::GRPC::GenericService

            self.marshal_class_method = :encode
            self.unmarshal_class_method = :decode
            self.service_name = 'google.cloud.geminidataanalytics.v1beta.DataAgentService'

            # Lists DataAgents in a given project and location.
            rpc :ListDataAgents, ::Google::Cloud::GeminiDataAnalytics::V1beta::ListDataAgentsRequest, ::Google::Cloud::GeminiDataAnalytics::V1beta::ListDataAgentsResponse
            # Lists DataAgents that are accessible to the caller in a given project and
            # location.
            rpc :ListAccessibleDataAgents, ::Google::Cloud::GeminiDataAnalytics::V1beta::ListAccessibleDataAgentsRequest, ::Google::Cloud::GeminiDataAnalytics::V1beta::ListAccessibleDataAgentsResponse
            # Gets details of a single DataAgent.
            rpc :GetDataAgent, ::Google::Cloud::GeminiDataAnalytics::V1beta::GetDataAgentRequest, ::Google::Cloud::GeminiDataAnalytics::V1beta::DataAgent
            # Creates a new DataAgent in a given project and location.
            rpc :CreateDataAgent, ::Google::Cloud::GeminiDataAnalytics::V1beta::CreateDataAgentRequest, ::Google::Longrunning::Operation
            # Updates the parameters of a single DataAgent.
            rpc :UpdateDataAgent, ::Google::Cloud::GeminiDataAnalytics::V1beta::UpdateDataAgentRequest, ::Google::Longrunning::Operation
            # Deletes a single DataAgent.
            rpc :DeleteDataAgent, ::Google::Cloud::GeminiDataAnalytics::V1beta::DeleteDataAgentRequest, ::Google::Longrunning::Operation
            # Gets the IAM policy for DataAgent
            rpc :GetIamPolicy, ::Google::Iam::V1::GetIamPolicyRequest, ::Google::Iam::V1::Policy
            # Sets the IAM policy for a DataAgent.
            rpc :SetIamPolicy, ::Google::Iam::V1::SetIamPolicyRequest, ::Google::Iam::V1::Policy
          end

          Stub = Service.rpc_stub_class
        end
      end
    end
  end
end
