Struct googapis::google::cloud::aiplatform::v1beta1::dataset_service_client::DatasetServiceClient [−][src]
pub struct DatasetServiceClient<T> { /* fields omitted */ }
Expand description
The service that handles the CRUD of Vertex AI Dataset and its child resources.
Implementations
impl<T> DatasetServiceClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
impl<T> DatasetServiceClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
pub fn with_interceptor<F>(
inner: T,
interceptor: F
) -> DatasetServiceClient<InterceptedService<T, F>> where
F: Interceptor,
T: Service<Request<BoxBody>, Response = Response<<T as GrpcService<BoxBody>>::ResponseBody>>,
<T as Service<Request<BoxBody>>>::Error: Into<StdError> + Send + Sync,
Compress requests with gzip
.
This requires the server to support it otherwise it might respond with an error.
Enable decompressing responses with gzip
.
pub 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.
pub 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.
pub 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.
pub 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.
pub 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.
pub 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.
pub 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.
pub 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.
pub 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.
pub 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
Auto Trait Implementations
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
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more