Struct gapi_grpc::google::cloud::kms::v1::CreateCryptoKeyRequest[][src]

pub struct CreateCryptoKeyRequest {
    pub parent: String,
    pub crypto_key_id: String,
    pub crypto_key: Option<CryptoKey>,
    pub skip_initial_version_creation: bool,
}

Request message for [KeyManagementService.CreateCryptoKey][google.cloud.kms.v1.KeyManagementService.CreateCryptoKey].

Fields

parent: String

Required. The [name][google.cloud.kms.v1.KeyRing.name] of the KeyRing associated with the [CryptoKeys][google.cloud.kms.v1.CryptoKey].

crypto_key_id: String

Required. It must be unique within a KeyRing and match the regular expression [a-zA-Z0-9_-]{1,63}

crypto_key: Option<CryptoKey>

Required. A [CryptoKey][google.cloud.kms.v1.CryptoKey] with initial field values.

skip_initial_version_creation: bool

If set to true, the request will create a [CryptoKey][google.cloud.kms.v1.CryptoKey] without any [CryptoKeyVersions][google.cloud.kms.v1.CryptoKeyVersion]. You must manually call [CreateCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.CreateCryptoKeyVersion] or [ImportCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion] before you can use this [CryptoKey][google.cloud.kms.v1.CryptoKey].

Trait Implementations

impl Clone for CreateCryptoKeyRequest[src]

impl Debug for CreateCryptoKeyRequest[src]

impl Default for CreateCryptoKeyRequest[src]

impl Message for CreateCryptoKeyRequest[src]

impl PartialEq<CreateCryptoKeyRequest> for CreateCryptoKeyRequest[src]

impl StructuralPartialEq for CreateCryptoKeyRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for CreateCryptoKeyRequest

impl Send for CreateCryptoKeyRequest

impl Sync for CreateCryptoKeyRequest

impl Unpin for CreateCryptoKeyRequest

impl UnwindSafe for CreateCryptoKeyRequest

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]