[][src]Struct gcp_client::google::cloud::dataproc::v1beta2::CreateClusterRequest

pub struct CreateClusterRequest {
    pub project_id: String,
    pub region: String,
    pub cluster: Option<Cluster>,
    pub request_id: String,
}

A request to create a cluster.

Fields

project_id: String

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

region: String

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

cluster: Option<Cluster>

Required. The cluster to create.

request_id: String

Optional. A unique id used to identify the request. If the server receives two [CreateClusterRequest][google.cloud.dataproc.v1beta2.CreateClusterRequest] requests 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.

It is recommended to always 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 CreateClusterRequest[src]

impl Debug for CreateClusterRequest[src]

impl Default for CreateClusterRequest[src]

impl Message for CreateClusterRequest[src]

impl PartialEq<CreateClusterRequest> for CreateClusterRequest[src]

impl StructuralPartialEq for CreateClusterRequest[src]

Auto Trait Implementations

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, 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>, 

impl<T> WithSubscriber for T[src]