pub struct AutokeyConfig {
pub etag: Option<String>,
pub key_project: Option<String>,
pub name: Option<String>,
pub state: Option<String>,
}Expand description
Cloud KMS Autokey configuration for a folder.
§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).
- get autokey config folders (response)
- update autokey config folders (request|response)
Fields§
§etag: Option<String>Optional. A checksum computed by the server based on the value of other fields. This may be sent on update requests to ensure that the client has an up-to-date value before proceeding. The request will be rejected with an ABORTED error on a mismatched etag.
key_project: Option<String>Optional. Name of the key project, e.g. projects/{PROJECT_ID} or projects/{PROJECT_NUMBER}, where Cloud KMS Autokey will provision a new CryptoKey when a KeyHandle is created. On UpdateAutokeyConfig, the caller will require cloudkms.cryptoKeys.setIamPolicy permission on this key project. Once configured, for Cloud KMS Autokey to function properly, this key project must have the Cloud KMS API activated and the Cloud KMS Service Agent for this key project must be granted the cloudkms.admin role (or pertinent permissions). A request with an empty key project field will clear the configuration.
name: Option<String>Identifier. Name of the AutokeyConfig resource, e.g. folders/{FOLDER_NUMBER}/autokeyConfig
state: Option<String>Output only. The state for the AutokeyConfig.
Trait Implementations§
Source§impl Clone for AutokeyConfig
impl Clone for AutokeyConfig
Source§fn clone(&self) -> AutokeyConfig
fn clone(&self) -> AutokeyConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more