Struct google_api_proto::google::cloud::aiplatform::v1beta1::dataset_service_client::DatasetServiceClient
source · pub struct DatasetServiceClient<T> { /* private fields */ }
Expand description
The service that manages Vertex AI Dataset and its child resources.
Implementations§
source§impl<T> DatasetServiceClient<T>where
T: GrpcService<BoxBody>,
T::Error: Into<StdError>,
T::ResponseBody: Body<Data = Bytes> + Send + 'static,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
impl<T> DatasetServiceClient<T>where
T: GrpcService<BoxBody>,
T::Error: Into<StdError>,
T::ResponseBody: Body<Data = Bytes> + Send + 'static,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
pub fn new(inner: T) -> Self
pub fn with_origin(inner: T, origin: Uri) -> Self
pub fn with_interceptor<F>(
inner: T,
interceptor: F,
) -> DatasetServiceClient<InterceptedService<T, F>>where
F: Interceptor,
T::ResponseBody: Default,
T: Service<Request<BoxBody>, Response = Response<<T as GrpcService<BoxBody>>::ResponseBody>>,
<T as Service<Request<BoxBody>>>::Error: Into<StdError> + Send + Sync,
sourcepub fn send_compressed(self, encoding: CompressionEncoding) -> Self
pub fn send_compressed(self, encoding: CompressionEncoding) -> Self
Compress requests with the given encoding.
This requires the server to support it otherwise it might respond with an error.
sourcepub fn accept_compressed(self, encoding: CompressionEncoding) -> Self
pub fn accept_compressed(self, encoding: CompressionEncoding) -> Self
Enable decompressing responses.
sourcepub fn max_decoding_message_size(self, limit: usize) -> Self
pub fn max_decoding_message_size(self, limit: usize) -> Self
Limits the maximum size of a decoded message.
Default: 4MB
sourcepub fn max_encoding_message_size(self, limit: usize) -> Self
pub fn max_encoding_message_size(self, limit: usize) -> Self
Limits the maximum size of an encoded message.
Default: usize::MAX
sourcepub async fn create_dataset(
&mut self,
request: impl IntoRequest<CreateDatasetRequest>,
) -> Result<Response<Operation>, Status>
pub async fn create_dataset( &mut self, request: impl IntoRequest<CreateDatasetRequest>, ) -> Result<Response<Operation>, Status>
Creates a Dataset.
sourcepub async fn get_dataset(
&mut self,
request: impl IntoRequest<GetDatasetRequest>,
) -> Result<Response<Dataset>, Status>
pub async fn get_dataset( &mut self, request: impl IntoRequest<GetDatasetRequest>, ) -> Result<Response<Dataset>, Status>
Gets a Dataset.
sourcepub async fn update_dataset(
&mut self,
request: impl IntoRequest<UpdateDatasetRequest>,
) -> Result<Response<Dataset>, Status>
pub async fn update_dataset( &mut self, request: impl IntoRequest<UpdateDatasetRequest>, ) -> Result<Response<Dataset>, Status>
Updates a Dataset.
sourcepub async fn list_datasets(
&mut self,
request: impl IntoRequest<ListDatasetsRequest>,
) -> Result<Response<ListDatasetsResponse>, Status>
pub async fn list_datasets( &mut self, request: impl IntoRequest<ListDatasetsRequest>, ) -> Result<Response<ListDatasetsResponse>, Status>
Lists Datasets in a Location.
sourcepub async fn delete_dataset(
&mut self,
request: impl IntoRequest<DeleteDatasetRequest>,
) -> Result<Response<Operation>, Status>
pub async fn delete_dataset( &mut self, request: impl IntoRequest<DeleteDatasetRequest>, ) -> Result<Response<Operation>, Status>
Deletes a Dataset.
sourcepub async fn import_data(
&mut self,
request: impl IntoRequest<ImportDataRequest>,
) -> Result<Response<Operation>, Status>
pub async fn import_data( &mut self, request: impl IntoRequest<ImportDataRequest>, ) -> Result<Response<Operation>, Status>
Imports data into a Dataset.
sourcepub async fn export_data(
&mut self,
request: impl IntoRequest<ExportDataRequest>,
) -> Result<Response<Operation>, Status>
pub async fn export_data( &mut self, request: impl IntoRequest<ExportDataRequest>, ) -> Result<Response<Operation>, Status>
Exports data from a Dataset.
sourcepub async fn create_dataset_version(
&mut self,
request: impl IntoRequest<CreateDatasetVersionRequest>,
) -> Result<Response<Operation>, Status>
pub async fn create_dataset_version( &mut self, request: impl IntoRequest<CreateDatasetVersionRequest>, ) -> Result<Response<Operation>, Status>
Create a version from a Dataset.
sourcepub async fn update_dataset_version(
&mut self,
request: impl IntoRequest<UpdateDatasetVersionRequest>,
) -> Result<Response<DatasetVersion>, Status>
pub async fn update_dataset_version( &mut self, request: impl IntoRequest<UpdateDatasetVersionRequest>, ) -> Result<Response<DatasetVersion>, Status>
Updates a DatasetVersion.
sourcepub async fn delete_dataset_version(
&mut self,
request: impl IntoRequest<DeleteDatasetVersionRequest>,
) -> Result<Response<Operation>, Status>
pub async fn delete_dataset_version( &mut self, request: impl IntoRequest<DeleteDatasetVersionRequest>, ) -> Result<Response<Operation>, Status>
Deletes a Dataset version.
sourcepub async fn get_dataset_version(
&mut self,
request: impl IntoRequest<GetDatasetVersionRequest>,
) -> Result<Response<DatasetVersion>, Status>
pub async fn get_dataset_version( &mut self, request: impl IntoRequest<GetDatasetVersionRequest>, ) -> Result<Response<DatasetVersion>, Status>
Gets a Dataset version.
sourcepub async fn list_dataset_versions(
&mut self,
request: impl IntoRequest<ListDatasetVersionsRequest>,
) -> Result<Response<ListDatasetVersionsResponse>, Status>
pub async fn list_dataset_versions( &mut self, request: impl IntoRequest<ListDatasetVersionsRequest>, ) -> Result<Response<ListDatasetVersionsResponse>, Status>
Lists DatasetVersions in a Dataset.
sourcepub async fn restore_dataset_version(
&mut self,
request: impl IntoRequest<RestoreDatasetVersionRequest>,
) -> Result<Response<Operation>, Status>
pub async fn restore_dataset_version( &mut self, request: impl IntoRequest<RestoreDatasetVersionRequest>, ) -> Result<Response<Operation>, Status>
Restores a dataset version.
sourcepub async fn list_data_items(
&mut self,
request: impl IntoRequest<ListDataItemsRequest>,
) -> Result<Response<ListDataItemsResponse>, Status>
pub async fn list_data_items( &mut self, request: impl IntoRequest<ListDataItemsRequest>, ) -> Result<Response<ListDataItemsResponse>, Status>
Lists DataItems in a Dataset.
sourcepub async fn search_data_items(
&mut self,
request: impl IntoRequest<SearchDataItemsRequest>,
) -> Result<Response<SearchDataItemsResponse>, Status>
pub async fn search_data_items( &mut self, request: impl IntoRequest<SearchDataItemsRequest>, ) -> Result<Response<SearchDataItemsResponse>, Status>
Searches DataItems in a Dataset.
sourcepub async fn list_saved_queries(
&mut self,
request: impl IntoRequest<ListSavedQueriesRequest>,
) -> Result<Response<ListSavedQueriesResponse>, Status>
pub async fn list_saved_queries( &mut self, request: impl IntoRequest<ListSavedQueriesRequest>, ) -> Result<Response<ListSavedQueriesResponse>, Status>
Lists SavedQueries in a Dataset.
sourcepub async fn delete_saved_query(
&mut self,
request: impl IntoRequest<DeleteSavedQueryRequest>,
) -> Result<Response<Operation>, Status>
pub async fn delete_saved_query( &mut self, request: impl IntoRequest<DeleteSavedQueryRequest>, ) -> Result<Response<Operation>, Status>
Deletes a SavedQuery.
sourcepub async fn get_annotation_spec(
&mut self,
request: impl IntoRequest<GetAnnotationSpecRequest>,
) -> Result<Response<AnnotationSpec>, Status>
pub async fn get_annotation_spec( &mut self, request: impl IntoRequest<GetAnnotationSpecRequest>, ) -> Result<Response<AnnotationSpec>, Status>
Gets an AnnotationSpec.
sourcepub async fn list_annotations(
&mut self,
request: impl IntoRequest<ListAnnotationsRequest>,
) -> Result<Response<ListAnnotationsResponse>, Status>
pub async fn list_annotations( &mut self, request: impl IntoRequest<ListAnnotationsRequest>, ) -> Result<Response<ListAnnotationsResponse>, Status>
Lists Annotations belongs to a dataitem
Trait Implementations§
source§impl<T: Clone> Clone for DatasetServiceClient<T>
impl<T: Clone> Clone for DatasetServiceClient<T>
source§fn clone(&self) -> DatasetServiceClient<T>
fn clone(&self) -> DatasetServiceClient<T>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl<T> !Freeze for DatasetServiceClient<T>
impl<T> RefUnwindSafe for DatasetServiceClient<T>where
T: RefUnwindSafe,
impl<T> Send for DatasetServiceClient<T>where
T: Send,
impl<T> Sync for DatasetServiceClient<T>where
T: Sync,
impl<T> Unpin for DatasetServiceClient<T>where
T: Unpin,
impl<T> UnwindSafe for DatasetServiceClient<T>where
T: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request