pub struct DiagnoseClusterRequest {
pub diagnosis_interval: Option<Interval>,
pub job: Option<String>,
pub jobs: Option<Vec<String>>,
pub tarball_access: Option<String>,
pub tarball_gcs_dir: Option<String>,
pub yarn_application_id: Option<String>,
pub yarn_application_ids: Option<Vec<String>>,
}
Expand description
A request to collect cluster diagnostic information.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- regions clusters diagnose projects (request)
Fields§
§diagnosis_interval: Option<Interval>
Optional. Time interval in which diagnosis should be carried out on the cluster.
job: Option<String>
Optional. DEPRECATED Specifies the job on which diagnosis is to be performed. Format: projects/{project}/regions/{region}/jobs/{job}
jobs: Option<Vec<String>>
Optional. Specifies a list of jobs on which diagnosis is to be performed. Format: projects/{project}/regions/{region}/jobs/{job}
tarball_access: Option<String>
Optional. (Optional) The access type to the diagnostic tarball. If not specified, falls back to default access of the bucket
tarball_gcs_dir: Option<String>
Optional. (Optional) The output Cloud Storage directory for the diagnostic tarball. If not specified, a task-specific directory in the cluster’s staging bucket will be used.
yarn_application_id: Option<String>
Optional. DEPRECATED Specifies the yarn application on which diagnosis is to be performed.
yarn_application_ids: Option<Vec<String>>
Optional. Specifies a list of yarn applications on which diagnosis is to be performed.
Trait Implementations§
Source§impl Clone for DiagnoseClusterRequest
impl Clone for DiagnoseClusterRequest
Source§fn clone(&self) -> DiagnoseClusterRequest
fn clone(&self) -> DiagnoseClusterRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for DiagnoseClusterRequest
impl Debug for DiagnoseClusterRequest
Source§impl Default for DiagnoseClusterRequest
impl Default for DiagnoseClusterRequest
Source§fn default() -> DiagnoseClusterRequest
fn default() -> DiagnoseClusterRequest
Source§impl<'de> Deserialize<'de> for DiagnoseClusterRequest
impl<'de> Deserialize<'de> for DiagnoseClusterRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for DiagnoseClusterRequest
impl Serialize for DiagnoseClusterRequest
impl RequestValue for DiagnoseClusterRequest
Auto Trait Implementations§
impl Freeze for DiagnoseClusterRequest
impl RefUnwindSafe for DiagnoseClusterRequest
impl Send for DiagnoseClusterRequest
impl Sync for DiagnoseClusterRequest
impl Unpin for DiagnoseClusterRequest
impl UnwindSafe for DiagnoseClusterRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more