[][src]Struct google_bigtableadmin2::CreateInstanceRequest

pub struct CreateInstanceRequest {
    pub instance_id: Option<String>,
    pub clusters: Option<HashMap<String, Cluster>>,
    pub parent: Option<String>,
    pub instance: Option<Instance>,
}

Request message for BigtableInstanceAdmin.CreateInstance.

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).

Fields

instance_id: Option<String>

The ID to be used when referring to the new instance within its project, e.g., just myinstance rather than projects/myproject/instances/myinstance.

clusters: Option<HashMap<String, Cluster>>

The clusters to be created within the instance, mapped by desired cluster ID, e.g., just mycluster rather than projects/myproject/instances/myinstance/clusters/mycluster. Fields marked OutputOnly must be left blank. Currently, at most two clusters can be specified.

parent: Option<String>

The unique name of the project in which to create the new instance. Values are of the form projects/<project>.

instance: Option<Instance>

The instance to create. Fields marked OutputOnly must be left blank.

Trait Implementations

impl RequestValue for CreateInstanceRequest[src]

impl Default for CreateInstanceRequest[src]

impl Clone for CreateInstanceRequest[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for CreateInstanceRequest[src]

impl Serialize for CreateInstanceRequest[src]

impl<'de> Deserialize<'de> for CreateInstanceRequest[src]

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]