pub struct RepairClusterRequest {
pub cluster_uuid: Option<String>,
pub graceful_decommission_timeout: Option<Duration>,
pub node_pools: Option<Vec<NodePool>>,
pub parent_operation_id: Option<String>,
pub request_id: Option<String>,
}
Expand description
A request to repair a cluster.
§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 repair projects (request)
Fields§
§cluster_uuid: Option<String>
Optional. Specifying the cluster_uuid means the RPC will fail (with error NOT_FOUND) if a cluster with the specified UUID does not exist.
graceful_decommission_timeout: Option<Duration>
Optional. Timeout for graceful YARN decommissioning. Graceful decommissioning facilitates the removal of cluster nodes without interrupting jobs in progress. The timeout specifies the amount of time to wait for jobs finish before forcefully removing nodes. The default timeout is 0 for forceful decommissioning, and the maximum timeout period is 1 day. (see JSON Mapping—Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).graceful_decommission_timeout is supported in Dataproc image versions 1.2+.
node_pools: Option<Vec<NodePool>>
Optional. Node pools and corresponding repair action to be taken. All node pools should be unique in this request. i.e. Multiple entries for the same node pool id are not allowed.
parent_operation_id: Option<String>
Optional. operation id of the parent operation sending the repair request
request_id: Option<String>
Optional. A unique ID used to identify the request. If the server receives two RepairClusterRequests with the same ID, the second request is ignored, and the first google.longrunning.Operation created and stored in the backend is returned.Recommendation: Set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
Trait Implementations§
Source§impl Clone for RepairClusterRequest
impl Clone for RepairClusterRequest
Source§fn clone(&self) -> RepairClusterRequest
fn clone(&self) -> RepairClusterRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for RepairClusterRequest
impl Debug for RepairClusterRequest
Source§impl Default for RepairClusterRequest
impl Default for RepairClusterRequest
Source§fn default() -> RepairClusterRequest
fn default() -> RepairClusterRequest
Source§impl<'de> Deserialize<'de> for RepairClusterRequest
impl<'de> Deserialize<'de> for RepairClusterRequest
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 RepairClusterRequest
impl Serialize for RepairClusterRequest
impl RequestValue for RepairClusterRequest
Auto Trait Implementations§
impl Freeze for RepairClusterRequest
impl RefUnwindSafe for RepairClusterRequest
impl Send for RepairClusterRequest
impl Sync for RepairClusterRequest
impl Unpin for RepairClusterRequest
impl UnwindSafe for RepairClusterRequest
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