Struct gapi_grpc::google::genomics::v1alpha2::pipelines_v1_alpha2_client::PipelinesV1Alpha2Client[][src]

pub struct PipelinesV1Alpha2Client<T> { /* fields omitted */ }

A service for running genomics pipelines.

Implementations

impl PipelinesV1Alpha2Client<Channel>[src]

pub async fn connect<D>(dst: D) -> Result<Self, Error> where
    D: TryInto<Endpoint>,
    D::Error: Into<StdError>, 
[src]

Attempt to create a new client by connecting to a given endpoint.

impl<T> PipelinesV1Alpha2Client<T> where
    T: GrpcService<BoxBody>,
    T::ResponseBody: Body + HttpBody + Send + 'static,
    T::Error: Into<StdError>,
    <T::ResponseBody as HttpBody>::Error: Into<StdError> + Send
[src]

pub fn new(inner: T) -> Self[src]

pub fn with_interceptor(inner: T, interceptor: impl Into<Interceptor>) -> Self[src]

pub async fn create_pipeline(
    &mut self,
    request: impl IntoRequest<CreatePipelineRequest>
) -> Result<Response<Pipeline>, Status>
[src]

Creates a pipeline that can be run later. Create takes a Pipeline that has all fields other than pipelineId populated, and then returns the same pipeline with pipelineId populated. This id can be used to run the pipeline.

Caller must have WRITE permission to the project.

pub async fn run_pipeline(
    &mut self,
    request: impl IntoRequest<RunPipelineRequest>
) -> Result<Response<Operation>, Status>
[src]

Runs a pipeline. If pipelineId is specified in the request, then run a saved pipeline. If ephemeralPipeline is specified, then run that pipeline once without saving a copy.

The caller must have READ permission to the project where the pipeline is stored and WRITE permission to the project where the pipeline will be run, as VMs will be created and storage will be used.

pub async fn get_pipeline(
    &mut self,
    request: impl IntoRequest<GetPipelineRequest>
) -> Result<Response<Pipeline>, Status>
[src]

Retrieves a pipeline based on ID.

Caller must have READ permission to the project.

pub async fn list_pipelines(
    &mut self,
    request: impl IntoRequest<ListPipelinesRequest>
) -> Result<Response<ListPipelinesResponse>, Status>
[src]

Lists pipelines.

Caller must have READ permission to the project.

pub async fn delete_pipeline(
    &mut self,
    request: impl IntoRequest<DeletePipelineRequest>
) -> Result<Response<()>, Status>
[src]

Deletes a pipeline based on ID.

Caller must have WRITE permission to the project.

pub async fn get_controller_config(
    &mut self,
    request: impl IntoRequest<GetControllerConfigRequest>
) -> Result<Response<ControllerConfig>, Status>
[src]

Gets controller configuration information. Should only be called by VMs created by the Pipelines Service and not by end users.

pub async fn set_operation_status(
    &mut self,
    request: impl IntoRequest<SetOperationStatusRequest>
) -> Result<Response<()>, Status>
[src]

Sets status of a given operation. Any new timestamps (as determined by description) are appended to TimestampEvents. Should only be called by VMs created by the Pipelines Service and not by end users.

Trait Implementations

impl<T: Clone> Clone for PipelinesV1Alpha2Client<T>[src]

impl<T> Debug for PipelinesV1Alpha2Client<T>[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for PipelinesV1Alpha2Client<T>

impl<T> Send for PipelinesV1Alpha2Client<T> where
    T: Send

impl<T> Sync for PipelinesV1Alpha2Client<T> where
    T: Sync

impl<T> Unpin for PipelinesV1Alpha2Client<T> where
    T: Unpin

impl<T> !UnwindSafe for PipelinesV1Alpha2Client<T>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]