Struct gapi_grpc::google::cloud::dataproc::v1::StopClusterRequest[][src]

pub struct StopClusterRequest {
    pub project_id: String,
    pub region: String,
    pub cluster_name: String,
    pub cluster_uuid: String,
    pub request_id: String,
}

A request to stop a cluster.

Fields

project_id: String

Required. The ID of the Google Cloud Platform project the cluster belongs to.

region: String

Required. The Dataproc region in which to handle the request.

cluster_name: String

Required. The cluster name.

cluster_uuid: 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: String

Optional. A unique id used to identify the request. If the server receives two StopClusterRequests with the same id, then the second request will be ignored and the first [google.longrunning.Operation][google.longrunning.Operation] created and stored in the backend is returned.

Recommendation: Set this value to a UUID.

The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

Trait Implementations

impl Clone for StopClusterRequest[src]

impl Debug for StopClusterRequest[src]

impl Default for StopClusterRequest[src]

impl Message for StopClusterRequest[src]

impl PartialEq<StopClusterRequest> for StopClusterRequest[src]

impl StructuralPartialEq for StopClusterRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for StopClusterRequest

impl Send for StopClusterRequest

impl Sync for StopClusterRequest

impl Unpin for StopClusterRequest

impl UnwindSafe for StopClusterRequest

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]