pub struct StopClusterRequest {
pub cluster_uuid: Option<String>,
pub request_id: Option<String>,
}Expand description
A request to stop 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 stop 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.
request_id: Option<String>Optional. A unique ID used to identify the request. If the server receives two StopClusterRequest (https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.StopClusterRequest)s with the same id, then the second request will be 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 StopClusterRequest
impl Clone for StopClusterRequest
Source§fn clone(&self) -> StopClusterRequest
fn clone(&self) -> StopClusterRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more