Struct gapi_grpc::google::cloud::kms::v1::ImportCryptoKeyVersionRequest [−][src]
Request message for [KeyManagementService.ImportCryptoKeyVersion][google.cloud.kms.v1.KeyManagementService.ImportCryptoKeyVersion].
Fields
parent: String
Required. The [name][google.cloud.kms.v1.CryptoKey.name] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] to be imported into.
algorithm: i32
Required. The [algorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm] of the key being imported. This does not need to match the [version_template][google.cloud.kms.v1.CryptoKey.version_template] of the [CryptoKey][google.cloud.kms.v1.CryptoKey] this version imports into.
import_job: String
Required. The [name][google.cloud.kms.v1.ImportJob.name] of the [ImportJob][google.cloud.kms.v1.ImportJob] that was used to wrap this key material.
wrapped_key_material: Option<WrappedKeyMaterial>
Required. The incoming wrapped key material that is to be imported.
Implementations
impl ImportCryptoKeyVersionRequest
[src][−]
pub fn algorithm(&self) -> CryptoKeyVersionAlgorithm
[src][−]
Returns the enum value of algorithm
, or the default if the field is set to an invalid enum value.
pub fn set_algorithm(&mut self, value: CryptoKeyVersionAlgorithm)
[src][−]
Sets algorithm
to the provided enum value.
Trait Implementations
impl Clone for ImportCryptoKeyVersionRequest
[src][+]
impl Debug for ImportCryptoKeyVersionRequest
[src][+]
impl Default for ImportCryptoKeyVersionRequest
[src][+]
impl Message for ImportCryptoKeyVersionRequest
[src][+]
impl PartialEq<ImportCryptoKeyVersionRequest> for ImportCryptoKeyVersionRequest
[src][+]
impl StructuralPartialEq for ImportCryptoKeyVersionRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for ImportCryptoKeyVersionRequest
impl Send for ImportCryptoKeyVersionRequest
impl Sync for ImportCryptoKeyVersionRequest
impl Unpin for ImportCryptoKeyVersionRequest
impl UnwindSafe for ImportCryptoKeyVersionRequest
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
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][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,