[][src]Struct gcp_client::google::cloud::secrets::v1beta1::CreateSecretRequest

pub struct CreateSecretRequest {
    pub parent: String,
    pub secret_id: String,
    pub secret: Option<Secret>,
}

Request message for [SecretManagerService.CreateSecret][google.cloud.secrets.v1beta1.SecretManagerService.CreateSecret].

Fields

parent: String

Required. The resource name of the project to associate with the [Secret][google.cloud.secrets.v1beta1.Secret], in the format projects/*.

secret_id: String

Required. This must be unique within the project.

A secret ID is a string with a maximum length of 255 characters and can contain uppercase and lowercase letters, numerals, and the hyphen (-) and underscore (_) characters.

secret: Option<Secret>

Required. A [Secret][google.cloud.secrets.v1beta1.Secret] with initial field values.

Trait Implementations

impl Clone for CreateSecretRequest[src]

impl Debug for CreateSecretRequest[src]

impl Default for CreateSecretRequest[src]

impl Message for CreateSecretRequest[src]

impl PartialEq<CreateSecretRequest> for CreateSecretRequest[src]

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