Cloudkms_v1Functions

Functions

Link copied to clipboard

Returns metadata for a given CryptoKey, as well as its primary CryptoKeyVersion.

suspend fun getCryptoKey(cryptoKeyId: String, keyRingId: String, location: String, project: String? = null): GetCryptoKeyResult
Link copied to clipboard

Returns metadata for a given CryptoKeyVersion.

suspend fun getCryptoKeyVersion(cryptoKeyId: String, cryptoKeyVersionId: String, keyRingId: String, location: String, project: String? = null): GetCryptoKeyVersionResult
Link copied to clipboard

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

suspend fun getEkmConfigIamPolicy(location: String, optionsRequestedPolicyVersion: Int? = null, project: String? = null): GetEkmConfigIamPolicyResult
Link copied to clipboard

Returns metadata for a given EkmConnection.

suspend fun getEkmConnection(ekmConnectionId: String, location: String, project: String? = null): GetEkmConnectionResult
Link copied to clipboard

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

suspend fun getEkmConnectionIamPolicy(ekmConnectionId: String, location: String, optionsRequestedPolicyVersion: Int? = null, project: String? = null): GetEkmConnectionIamPolicyResult
Link copied to clipboard

Returns metadata for a given ImportJob.

suspend fun getImportJob(importJobId: String, keyRingId: String, location: String, project: String? = null): GetImportJobResult
Link copied to clipboard

Returns metadata for a given KeyRing.

suspend fun getKeyRing(argument: suspend GetKeyRingPlainArgsBuilder.() -> Unit): GetKeyRingResult
suspend fun getKeyRing(keyRingId: String, location: String, project: String? = null): GetKeyRingResult
Link copied to clipboard

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

suspend fun getKeyRingCryptoKeyIamPolicy(cryptoKeyId: String, keyRingId: String, location: String, optionsRequestedPolicyVersion: Int? = null, project: String? = null): GetKeyRingCryptoKeyIamPolicyResult
Link copied to clipboard

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

suspend fun getKeyRingIamPolicy(keyRingId: String, location: String, optionsRequestedPolicyVersion: Int? = null, project: String? = null): GetKeyRingIamPolicyResult
Link copied to clipboard

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

suspend fun getKeyRingImportJobIamPolicy(importJobId: String, keyRingId: String, location: String, optionsRequestedPolicyVersion: Int? = null, project: String? = null): GetKeyRingImportJobIamPolicyResult