Struct googapis::google::dataflow::v1beta3::metrics_v1_beta3_client::MetricsV1Beta3Client [−][src]
pub struct MetricsV1Beta3Client<T> { /* fields omitted */ }
Expand description
The Dataflow Metrics API lets you monitor the progress of Dataflow jobs.
Implementations
impl<T> MetricsV1Beta3Client<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
impl<T> MetricsV1Beta3Client<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
) -> MetricsV1Beta3Client<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 get_job_metrics(
&mut self,
request: impl IntoRequest<GetJobMetricsRequest>
) -> Result<Response<JobMetrics>, Status>
pub async fn get_job_metrics(
&mut self,
request: impl IntoRequest<GetJobMetricsRequest>
) -> Result<Response<JobMetrics>, Status>
Request the job status.
To request the status of a job, we recommend using
projects.locations.jobs.getMetrics
with a [regional endpoint]
(https://cloud.google.com/dataflow/docs/concepts/regional-endpoints). Using
projects.jobs.getMetrics
is not recommended, as you can only request the
status of jobs that are running in us-central1
.
pub async fn get_job_execution_details(
&mut self,
request: impl IntoRequest<GetJobExecutionDetailsRequest>
) -> Result<Response<JobExecutionDetails>, Status>
pub async fn get_job_execution_details(
&mut self,
request: impl IntoRequest<GetJobExecutionDetailsRequest>
) -> Result<Response<JobExecutionDetails>, Status>
Request detailed information about the execution status of the job.
EXPERIMENTAL. This API is subject to change or removal without notice.
pub async fn get_stage_execution_details(
&mut self,
request: impl IntoRequest<GetStageExecutionDetailsRequest>
) -> Result<Response<StageExecutionDetails>, Status>
pub async fn get_stage_execution_details(
&mut self,
request: impl IntoRequest<GetStageExecutionDetailsRequest>
) -> Result<Response<StageExecutionDetails>, Status>
Request detailed information about the execution status of a stage of the job.
EXPERIMENTAL. This API is subject to change or removal without notice.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for MetricsV1Beta3Client<T> where
T: RefUnwindSafe,
impl<T> Send for MetricsV1Beta3Client<T> where
T: Send,
impl<T> Sync for MetricsV1Beta3Client<T> where
T: Sync,
impl<T> Unpin for MetricsV1Beta3Client<T> where
T: Unpin,
impl<T> UnwindSafe for MetricsV1Beta3Client<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