[][src]Struct gcp_client::google::cloud::redis::v1beta1::CreateInstanceRequest

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

Request for [CreateInstance][google.cloud.redis.v1beta1.CloudRedis.CreateInstance].

Fields

parent: String

Required. The resource name of the instance location using the form: projects/{project_id}/locations/{location_id} where location_id refers to a GCP region.

instance_id: String

Required. The logical name of the Redis instance in the customer project with the following restrictions:

  • Must contain only lowercase letters, numbers, and hyphens.
  • Must start with a letter.
  • Must be between 1-40 characters.
  • Must end with a number or a letter.
  • Must be unique within the customer project / location
instance: Option<Instance>

Required. A Redis Instance resource

Trait Implementations

impl Clone for CreateInstanceRequest[src]

impl Debug for CreateInstanceRequest[src]

impl Default for CreateInstanceRequest[src]

impl Message for CreateInstanceRequest[src]

impl PartialEq<CreateInstanceRequest> for CreateInstanceRequest[src]

impl StructuralPartialEq for CreateInstanceRequest[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]