Struct gapi_grpc::google::cloud::bigquery::datatransfer::v1::data_transfer_service_client::DataTransferServiceClient [−][src]
The Google BigQuery Data Transfer Service API enables BigQuery users to configure the transfer of their data from other Google Products into BigQuery. This service contains methods that are end user exposed. It backs up the frontend.
Implementations
impl DataTransferServiceClient<Channel>
[src]
pub async fn connect<D>(dst: D) -> Result<Self, Error> where
D: TryInto<Endpoint>,
D::Error: Into<StdError>,
[src]
D: TryInto<Endpoint>,
D::Error: Into<StdError>,
Attempt to create a new client by connecting to a given endpoint.
impl<T> DataTransferServiceClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + HttpBody + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as HttpBody>::Error: Into<StdError> + Send,
[src]
T: GrpcService<BoxBody>,
T::ResponseBody: Body + HttpBody + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as HttpBody>::Error: Into<StdError> + Send,
pub fn new(inner: T) -> Self
[src]
pub fn with_interceptor(inner: T, interceptor: impl Into<Interceptor>) -> Self
[src]
pub async fn get_data_source(
&mut self,
request: impl IntoRequest<GetDataSourceRequest>
) -> Result<Response<DataSource>, Status>
[src]
&mut self,
request: impl IntoRequest<GetDataSourceRequest>
) -> Result<Response<DataSource>, Status>
Retrieves a supported data source and returns its settings, which can be used for UI rendering.
pub async fn list_data_sources(
&mut self,
request: impl IntoRequest<ListDataSourcesRequest>
) -> Result<Response<ListDataSourcesResponse>, Status>
[src]
&mut self,
request: impl IntoRequest<ListDataSourcesRequest>
) -> Result<Response<ListDataSourcesResponse>, Status>
Lists supported data sources and returns their settings, which can be used for UI rendering.
pub async fn create_transfer_config(
&mut self,
request: impl IntoRequest<CreateTransferConfigRequest>
) -> Result<Response<TransferConfig>, Status>
[src]
&mut self,
request: impl IntoRequest<CreateTransferConfigRequest>
) -> Result<Response<TransferConfig>, Status>
Creates a new data transfer configuration.
pub async fn update_transfer_config(
&mut self,
request: impl IntoRequest<UpdateTransferConfigRequest>
) -> Result<Response<TransferConfig>, Status>
[src]
&mut self,
request: impl IntoRequest<UpdateTransferConfigRequest>
) -> Result<Response<TransferConfig>, Status>
Updates a data transfer configuration. All fields must be set, even if they are not updated.
pub async fn delete_transfer_config(
&mut self,
request: impl IntoRequest<DeleteTransferConfigRequest>
) -> Result<Response<()>, Status>
[src]
&mut self,
request: impl IntoRequest<DeleteTransferConfigRequest>
) -> Result<Response<()>, Status>
Deletes a data transfer configuration, including any associated transfer runs and logs.
pub async fn get_transfer_config(
&mut self,
request: impl IntoRequest<GetTransferConfigRequest>
) -> Result<Response<TransferConfig>, Status>
[src]
&mut self,
request: impl IntoRequest<GetTransferConfigRequest>
) -> Result<Response<TransferConfig>, Status>
Returns information about a data transfer config.
pub async fn list_transfer_configs(
&mut self,
request: impl IntoRequest<ListTransferConfigsRequest>
) -> Result<Response<ListTransferConfigsResponse>, Status>
[src]
&mut self,
request: impl IntoRequest<ListTransferConfigsRequest>
) -> Result<Response<ListTransferConfigsResponse>, Status>
Returns information about all data transfers in the project.
pub async fn schedule_transfer_runs(
&mut self,
request: impl IntoRequest<ScheduleTransferRunsRequest>
) -> Result<Response<ScheduleTransferRunsResponse>, Status>
[src]
&mut self,
request: impl IntoRequest<ScheduleTransferRunsRequest>
) -> Result<Response<ScheduleTransferRunsResponse>, Status>
Creates transfer runs for a time range [start_time, end_time]. For each date - or whatever granularity the data source supports - in the range, one transfer run is created. Note that runs are created per UTC time in the time range. DEPRECATED: use StartManualTransferRuns instead.
pub async fn start_manual_transfer_runs(
&mut self,
request: impl IntoRequest<StartManualTransferRunsRequest>
) -> Result<Response<StartManualTransferRunsResponse>, Status>
[src]
&mut self,
request: impl IntoRequest<StartManualTransferRunsRequest>
) -> Result<Response<StartManualTransferRunsResponse>, Status>
Start manual transfer runs to be executed now with schedule_time equal to current time. The transfer runs can be created for a time range where the run_time is between start_time (inclusive) and end_time (exclusive), or for a specific run_time.
pub async fn get_transfer_run(
&mut self,
request: impl IntoRequest<GetTransferRunRequest>
) -> Result<Response<TransferRun>, Status>
[src]
&mut self,
request: impl IntoRequest<GetTransferRunRequest>
) -> Result<Response<TransferRun>, Status>
Returns information about the particular transfer run.
pub async fn delete_transfer_run(
&mut self,
request: impl IntoRequest<DeleteTransferRunRequest>
) -> Result<Response<()>, Status>
[src]
&mut self,
request: impl IntoRequest<DeleteTransferRunRequest>
) -> Result<Response<()>, Status>
Deletes the specified transfer run.
pub async fn list_transfer_runs(
&mut self,
request: impl IntoRequest<ListTransferRunsRequest>
) -> Result<Response<ListTransferRunsResponse>, Status>
[src]
&mut self,
request: impl IntoRequest<ListTransferRunsRequest>
) -> Result<Response<ListTransferRunsResponse>, Status>
Returns information about running and completed jobs.
pub async fn list_transfer_logs(
&mut self,
request: impl IntoRequest<ListTransferLogsRequest>
) -> Result<Response<ListTransferLogsResponse>, Status>
[src]
&mut self,
request: impl IntoRequest<ListTransferLogsRequest>
) -> Result<Response<ListTransferLogsResponse>, Status>
Returns user facing log messages for the data transfer run.
pub async fn check_valid_creds(
&mut self,
request: impl IntoRequest<CheckValidCredsRequest>
) -> Result<Response<CheckValidCredsResponse>, Status>
[src]
&mut self,
request: impl IntoRequest<CheckValidCredsRequest>
) -> Result<Response<CheckValidCredsResponse>, Status>
Returns true if valid credentials exist for the given data source and requesting user. Some data sources doesn’t support service account, so we need to talk to them on behalf of the end user. This API just checks whether we have OAuth token for the particular user, which is a pre-requisite before user can create a transfer config.
Trait Implementations
impl<T: Clone> Clone for DataTransferServiceClient<T>
[src]
fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T> Debug for DataTransferServiceClient<T>
[src]
Auto Trait Implementations
impl<T> !RefUnwindSafe for DataTransferServiceClient<T>
impl<T> Send for DataTransferServiceClient<T> where
T: Send,
T: Send,
impl<T> Sync for DataTransferServiceClient<T> where
T: Sync,
T: Sync,
impl<T> Unpin for DataTransferServiceClient<T> where
T: Unpin,
T: Unpin,
impl<T> !UnwindSafe for DataTransferServiceClient<T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoRequest<T> for T
[src]
pub fn into_request(self) -> Request<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,