pub struct RepairClusterRequest {
pub cluster: Option<ClusterToRepair>,
pub cluster_uuid: Option<String>,
pub dataproc_super_user: Option<bool>,
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: Option<ClusterToRepair>Optional. Cluster to be repaired
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.
dataproc_super_user: Option<bool>Optional. Whether the request is submitted by Dataproc super user. If true, IAM will check ‘dataproc.clusters.repair’ permission instead of ‘dataproc.clusters.update’ permission. This is to give Dataproc superuser the ability to repair clusters without granting the overly broad update permission.
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 more