# Generated by the protocol buffer compiler. DO NOT EDIT! # Source: google/cloud/aiplatform/v1/dataset_service.proto for package 'Google.Cloud.AIPlatform.V1' # Original file comments: # Copyright 2022 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/aiplatform/v1/dataset_service_pb' module Google module Cloud module AIPlatform module V1 module DatasetService # The service that manages Vertex AI Dataset and its child resources. class Service include ::GRPC::GenericService self.marshal_class_method = :encode self.unmarshal_class_method = :decode self.service_name = 'google.cloud.aiplatform.v1.DatasetService' # Creates a Dataset. rpc :CreateDataset, ::Google::Cloud::AIPlatform::V1::CreateDatasetRequest, ::Google::Longrunning::Operation # Gets a Dataset. rpc :GetDataset, ::Google::Cloud::AIPlatform::V1::GetDatasetRequest, ::Google::Cloud::AIPlatform::V1::Dataset # Updates a Dataset. rpc :UpdateDataset, ::Google::Cloud::AIPlatform::V1::UpdateDatasetRequest, ::Google::Cloud::AIPlatform::V1::Dataset # Lists Datasets in a Location. rpc :ListDatasets, ::Google::Cloud::AIPlatform::V1::ListDatasetsRequest, ::Google::Cloud::AIPlatform::V1::ListDatasetsResponse # Deletes a Dataset. rpc :DeleteDataset, ::Google::Cloud::AIPlatform::V1::DeleteDatasetRequest, ::Google::Longrunning::Operation # Imports data into a Dataset. rpc :ImportData, ::Google::Cloud::AIPlatform::V1::ImportDataRequest, ::Google::Longrunning::Operation # Exports data from a Dataset. rpc :ExportData, ::Google::Cloud::AIPlatform::V1::ExportDataRequest, ::Google::Longrunning::Operation # Create a version from a Dataset. rpc :CreateDatasetVersion, ::Google::Cloud::AIPlatform::V1::CreateDatasetVersionRequest, ::Google::Longrunning::Operation # Updates a DatasetVersion. rpc :UpdateDatasetVersion, ::Google::Cloud::AIPlatform::V1::UpdateDatasetVersionRequest, ::Google::Cloud::AIPlatform::V1::DatasetVersion # Deletes a Dataset version. rpc :DeleteDatasetVersion, ::Google::Cloud::AIPlatform::V1::DeleteDatasetVersionRequest, ::Google::Longrunning::Operation # Gets a Dataset version. rpc :GetDatasetVersion, ::Google::Cloud::AIPlatform::V1::GetDatasetVersionRequest, ::Google::Cloud::AIPlatform::V1::DatasetVersion # Lists DatasetVersions in a Dataset. rpc :ListDatasetVersions, ::Google::Cloud::AIPlatform::V1::ListDatasetVersionsRequest, ::Google::Cloud::AIPlatform::V1::ListDatasetVersionsResponse # Restores a dataset version. rpc :RestoreDatasetVersion, ::Google::Cloud::AIPlatform::V1::RestoreDatasetVersionRequest, ::Google::Longrunning::Operation # Lists DataItems in a Dataset. rpc :ListDataItems, ::Google::Cloud::AIPlatform::V1::ListDataItemsRequest, ::Google::Cloud::AIPlatform::V1::ListDataItemsResponse # Searches DataItems in a Dataset. rpc :SearchDataItems, ::Google::Cloud::AIPlatform::V1::SearchDataItemsRequest, ::Google::Cloud::AIPlatform::V1::SearchDataItemsResponse # Lists SavedQueries in a Dataset. rpc :ListSavedQueries, ::Google::Cloud::AIPlatform::V1::ListSavedQueriesRequest, ::Google::Cloud::AIPlatform::V1::ListSavedQueriesResponse # Deletes a SavedQuery. rpc :DeleteSavedQuery, ::Google::Cloud::AIPlatform::V1::DeleteSavedQueryRequest, ::Google::Longrunning::Operation # Gets an AnnotationSpec. rpc :GetAnnotationSpec, ::Google::Cloud::AIPlatform::V1::GetAnnotationSpecRequest, ::Google::Cloud::AIPlatform::V1::AnnotationSpec # Lists Annotations belongs to a dataitem # This RPC is only available in InternalDatasetService. It is only used for # exporting conversation data to CCAI Insights. rpc :ListAnnotations, ::Google::Cloud::AIPlatform::V1::ListAnnotationsRequest, ::Google::Cloud::AIPlatform::V1::ListAnnotationsResponse end Stub = Service.rpc_stub_class end end end end end