ProjectsLocationsKeyRingsCryptoKeysResource class
Methods
-
create(CryptoKey request, String parent, {String? cryptoKeyId, bool? skipInitialVersionCreation, String? $fields})
→ Future<CryptoKey>
-
Create a new CryptoKey within a KeyRing.
-
decrypt(DecryptRequest request, String name, {String? $fields})
→ Future<DecryptResponse>
-
Decrypts data that was protected by Encrypt.
-
encrypt(EncryptRequest request, String name, {String? $fields})
→ Future<EncryptResponse>
-
Encrypts data, so that it can only be recovered by a call to Decrypt.
-
get(String name, {String? $fields})
→ Future<CryptoKey>
-
Returns metadata for a given CryptoKey, as well as its primary
CryptoKeyVersion.
-
getIamPolicy(String resource, {int? options_requestedPolicyVersion, String? $fields})
→ Future<Policy>
-
Gets the access control policy for a resource.
-
list(String parent, {String? filter, String? orderBy, int? pageSize, String? pageToken, String? versionView, String? $fields})
→ Future<ListCryptoKeysResponse>
-
Lists CryptoKeys.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
patch(CryptoKey request, String name, {String? updateMask, String? $fields})
→ Future<CryptoKey>
-
Update a CryptoKey.
-
setIamPolicy(SetIamPolicyRequest request, String resource, {String? $fields})
→ Future<Policy>
-
Sets the access control policy on the specified resource.
-
testIamPermissions(TestIamPermissionsRequest request, String resource, {String? $fields})
→ Future<TestIamPermissionsResponse>
-
Returns permissions that a caller has on the specified resource.
-
toString()
→ String
-
A string representation of this object.
inherited
-
updatePrimaryVersion(UpdateCryptoKeyPrimaryVersionRequest request, String name, {String? $fields})
→ Future<CryptoKey>
-
Update the version of a CryptoKey that will be used in Encrypt.