Liking cljdoc? Tell your friends :D
Clojure only.

happygapi.cloudkms.projects

Cloud Key Management Service (KMS) API: projects. Manages keys and performs cryptographic operations in a central cloud service, for direct use by other cloud resources and applications. See: https://cloud.google.com/kms/api/reference/rest/v1/projects

Cloud Key Management Service (KMS) API: projects.
Manages keys and performs cryptographic operations in a central cloud service, for direct use by other cloud resources and applications. 
See: https://cloud.google.com/kms/api/reference/rest/v1/projects
raw docstring

locations-generateRandomBytes$clj

(locations-generateRandomBytes$ auth parameters body)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/generateRandomBytes

Required parameters: location

Optional parameters: none

Body:

{:lengthBytes integer, :protectionLevel string}

Generate random bytes using the Cloud KMS randomness source in the provided location.

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/generateRandomBytes

Required parameters: location

Optional parameters: none

Body: 

{:lengthBytes integer, :protectionLevel string}

Generate random bytes using the Cloud KMS randomness source in the provided location.
sourceraw docstring

locations-get$clj

(locations-get$ auth parameters)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/get

Required parameters: name

Optional parameters: none

Gets information about a location.

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/get

Required parameters: name

Optional parameters: none

Gets information about a location.
sourceraw docstring

locations-keyRings-create$clj

(locations-keyRings-create$ auth parameters body)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/create

Required parameters: parent

Optional parameters: keyRingId

Body:

{:createTime string, :name string}

Create a new KeyRing in a given Project and Location.

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/create

Required parameters: parent

Optional parameters: keyRingId

Body: 

{:createTime string, :name string}

Create a new KeyRing in a given Project and Location.
sourceraw docstring

locations-keyRings-cryptoKeys-create$clj

(locations-keyRings-cryptoKeys-create$ auth parameters body)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/create

Required parameters: parent

Optional parameters: cryptoKeyId, skipInitialVersionCreation

Body:

{:labels {}, :nextRotationTime string, :importOnly boolean, :primary {:reimportEligible boolean, :algorithm string, :generateTime string, :importFailureReason string, :name string, :importTime string, :createTime string, :state string, :externalProtectionLevelOptions ExternalProtectionLevelOptions, :importJob string, :attestation KeyOperationAttestation, :protectionLevel string, :destroyTime string, :destroyEventTime string}, :purpose string, :name string, :createTime string, :rotationPeriod string, :versionTemplate {:algorithm string, :protectionLevel string}, :destroyScheduledDuration string}

Create a new CryptoKey within a KeyRing. CryptoKey.purpose and CryptoKey.version_template.algorithm are required.

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/create

Required parameters: parent

Optional parameters: cryptoKeyId, skipInitialVersionCreation

Body: 

{:labels {},
 :nextRotationTime string,
 :importOnly boolean,
 :primary {:reimportEligible boolean,
           :algorithm string,
           :generateTime string,
           :importFailureReason string,
           :name string,
           :importTime string,
           :createTime string,
           :state string,
           :externalProtectionLevelOptions ExternalProtectionLevelOptions,
           :importJob string,
           :attestation KeyOperationAttestation,
           :protectionLevel string,
           :destroyTime string,
           :destroyEventTime string},
 :purpose string,
 :name string,
 :createTime string,
 :rotationPeriod string,
 :versionTemplate {:algorithm string, :protectionLevel string},
 :destroyScheduledDuration string}

Create a new CryptoKey within a KeyRing. CryptoKey.purpose and CryptoKey.version_template.algorithm are required.
sourceraw docstring

locations-keyRings-cryptoKeys-cryptoKeyVersions-asymmetricDecrypt$clj

(locations-keyRings-cryptoKeys-cryptoKeyVersions-asymmetricDecrypt$ auth
                                                                    parameters
                                                                    body)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/asymmetricDecrypt

Required parameters: name

Optional parameters: none

Body:

{:ciphertextCrc32c string, :ciphertext string}

Decrypts data that was encrypted with a public key retrieved from GetPublicKey corresponding to a CryptoKeyVersion with CryptoKey.purpose ASYMMETRIC_DECRYPT.

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/asymmetricDecrypt

Required parameters: name

Optional parameters: none

Body: 

{:ciphertextCrc32c string, :ciphertext string}

Decrypts data that was encrypted with a public key retrieved from GetPublicKey corresponding to a CryptoKeyVersion with CryptoKey.purpose ASYMMETRIC_DECRYPT.
sourceraw docstring

locations-keyRings-cryptoKeys-cryptoKeyVersions-asymmetricSign$clj

(locations-keyRings-cryptoKeys-cryptoKeyVersions-asymmetricSign$ auth
                                                                 parameters
                                                                 body)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/asymmetricSign

Required parameters: name

Optional parameters: none

Body:

{:digestCrc32c string, :digest {:sha384 string, :sha256 string, :sha512 string}}

Signs data using a CryptoKeyVersion with CryptoKey.purpose ASYMMETRIC_SIGN, producing a signature that can be verified with the public key retrieved from GetPublicKey.

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/asymmetricSign

Required parameters: name

Optional parameters: none

Body: 

{:digestCrc32c string,
 :digest {:sha384 string, :sha256 string, :sha512 string}}

Signs data using a CryptoKeyVersion with CryptoKey.purpose ASYMMETRIC_SIGN, producing a signature that can be verified with the public key retrieved from GetPublicKey.
sourceraw docstring

locations-keyRings-cryptoKeys-cryptoKeyVersions-create$clj

(locations-keyRings-cryptoKeys-cryptoKeyVersions-create$ auth parameters body)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/create

Required parameters: parent

Optional parameters: none

Body:

{:reimportEligible boolean, :algorithm string, :generateTime string, :importFailureReason string, :name string, :importTime string, :createTime string, :state string, :externalProtectionLevelOptions {:externalKeyUri string}, :importJob string, :attestation {:content string, :certChains CertificateChains, :format string}, :protectionLevel string, :destroyTime string, :destroyEventTime string}

Create a new CryptoKeyVersion in a CryptoKey. The server will assign the next sequential id. If unset, state will be set to ENABLED.

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/create

Required parameters: parent

Optional parameters: none

Body: 

{:reimportEligible boolean,
 :algorithm string,
 :generateTime string,
 :importFailureReason string,
 :name string,
 :importTime string,
 :createTime string,
 :state string,
 :externalProtectionLevelOptions {:externalKeyUri string},
 :importJob string,
 :attestation {:content string,
               :certChains CertificateChains,
               :format string},
 :protectionLevel string,
 :destroyTime string,
 :destroyEventTime string}

Create a new CryptoKeyVersion in a CryptoKey. The server will assign the next sequential id. If unset, state will be set to ENABLED.
sourceraw docstring

locations-keyRings-cryptoKeys-cryptoKeyVersions-destroy$clj

(locations-keyRings-cryptoKeys-cryptoKeyVersions-destroy$ auth parameters body)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/destroy

Required parameters: name

Optional parameters: none

Body:

{}

Schedule a CryptoKeyVersion for destruction. Upon calling this method, CryptoKeyVersion.state will be set to DESTROY_SCHEDULED, and destroy_time will be set to the time destroy_scheduled_duration in the future. At that time, the state will automatically change to DESTROYED, and the key material will be irrevocably destroyed. Before the destroy_time is reached, RestoreCryptoKeyVersion may be called to reverse the process.

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/destroy

Required parameters: name

Optional parameters: none

Body: 

{}

Schedule a CryptoKeyVersion for destruction. Upon calling this method, CryptoKeyVersion.state will be set to DESTROY_SCHEDULED, and destroy_time will be set to the time destroy_scheduled_duration in the future. At that time, the state will automatically change to DESTROYED, and the key material will be irrevocably destroyed. Before the destroy_time is reached, RestoreCryptoKeyVersion may be called to reverse the process.
sourceraw docstring

locations-keyRings-cryptoKeys-cryptoKeyVersions-get$clj

(locations-keyRings-cryptoKeys-cryptoKeyVersions-get$ auth parameters)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/get

Required parameters: name

Optional parameters: none

Returns metadata for a given CryptoKeyVersion.

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/get

Required parameters: name

Optional parameters: none

Returns metadata for a given CryptoKeyVersion.
sourceraw docstring

locations-keyRings-cryptoKeys-cryptoKeyVersions-getPublicKey$clj

(locations-keyRings-cryptoKeys-cryptoKeyVersions-getPublicKey$ auth parameters)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/getPublicKey

Required parameters: name

Optional parameters: none

Returns the public key for the given CryptoKeyVersion. The CryptoKey.purpose must be ASYMMETRIC_SIGN or ASYMMETRIC_DECRYPT.

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/getPublicKey

Required parameters: name

Optional parameters: none

Returns the public key for the given CryptoKeyVersion. The CryptoKey.purpose must be ASYMMETRIC_SIGN or ASYMMETRIC_DECRYPT.
sourceraw docstring

locations-keyRings-cryptoKeys-cryptoKeyVersions-import$clj

(locations-keyRings-cryptoKeys-cryptoKeyVersions-import$ auth parameters body)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/import

Required parameters: parent

Optional parameters: none

Body:

{:algorithm string, :importJob string, :cryptoKeyVersion string, :rsaAesWrappedKey string}

Import wrapped key material into a CryptoKeyVersion. All requests must specify a CryptoKey. If a CryptoKeyVersion is additionally specified in the request, key material will be reimported into that version. Otherwise, a new version will be created, and will be assigned the next sequential id within the CryptoKey.

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/import

Required parameters: parent

Optional parameters: none

Body: 

{:algorithm string,
 :importJob string,
 :cryptoKeyVersion string,
 :rsaAesWrappedKey string}

Import wrapped key material into a CryptoKeyVersion. All requests must specify a CryptoKey. If a CryptoKeyVersion is additionally specified in the request, key material will be reimported into that version. Otherwise, a new version will be created, and will be assigned the next sequential id within the CryptoKey.
sourceraw docstring

locations-keyRings-cryptoKeys-cryptoKeyVersions-list$clj

(locations-keyRings-cryptoKeys-cryptoKeyVersions-list$ auth parameters)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/list

Required parameters: parent

Optional parameters: pageToken, view, orderBy, filter, pageSize

Lists CryptoKeyVersions.

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/list

Required parameters: parent

Optional parameters: pageToken, view, orderBy, filter, pageSize

Lists CryptoKeyVersions.
sourceraw docstring

locations-keyRings-cryptoKeys-cryptoKeyVersions-macSign$clj

(locations-keyRings-cryptoKeys-cryptoKeyVersions-macSign$ auth parameters body)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/macSign

Required parameters: name

Optional parameters: none

Body:

{:data string, :dataCrc32c string}

Signs data using a CryptoKeyVersion with CryptoKey.purpose MAC, producing a tag that can be verified by another source with the same key.

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/macSign

Required parameters: name

Optional parameters: none

Body: 

{:data string, :dataCrc32c string}

Signs data using a CryptoKeyVersion with CryptoKey.purpose MAC, producing a tag that can be verified by another source with the same key.
sourceraw docstring

locations-keyRings-cryptoKeys-cryptoKeyVersions-macVerify$clj

(locations-keyRings-cryptoKeys-cryptoKeyVersions-macVerify$ auth
                                                            parameters
                                                            body)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/macVerify

Required parameters: name

Optional parameters: none

Body:

{:mac string, :dataCrc32c string, :macCrc32c string, :data string}

Verifies MAC tag using a CryptoKeyVersion with CryptoKey.purpose MAC, and returns a response that indicates whether or not the verification was successful.

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/macVerify

Required parameters: name

Optional parameters: none

Body: 

{:mac string, :dataCrc32c string, :macCrc32c string, :data string}

Verifies MAC tag using a CryptoKeyVersion with CryptoKey.purpose MAC, and returns a response that indicates whether or not the verification was successful.
sourceraw docstring

locations-keyRings-cryptoKeys-cryptoKeyVersions-patch$clj

(locations-keyRings-cryptoKeys-cryptoKeyVersions-patch$ auth parameters body)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/patch

Required parameters: name

Optional parameters: updateMask

Body:

{:reimportEligible boolean, :algorithm string, :generateTime string, :importFailureReason string, :name string, :importTime string, :createTime string, :state string, :externalProtectionLevelOptions {:externalKeyUri string}, :importJob string, :attestation {:content string, :certChains CertificateChains, :format string}, :protectionLevel string, :destroyTime string, :destroyEventTime string}

Update a CryptoKeyVersion's metadata. state may be changed between ENABLED and DISABLED using this method. See DestroyCryptoKeyVersion and RestoreCryptoKeyVersion to move between other states.

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/patch

Required parameters: name

Optional parameters: updateMask

Body: 

{:reimportEligible boolean,
 :algorithm string,
 :generateTime string,
 :importFailureReason string,
 :name string,
 :importTime string,
 :createTime string,
 :state string,
 :externalProtectionLevelOptions {:externalKeyUri string},
 :importJob string,
 :attestation {:content string,
               :certChains CertificateChains,
               :format string},
 :protectionLevel string,
 :destroyTime string,
 :destroyEventTime string}

Update a CryptoKeyVersion's metadata. state may be changed between ENABLED and DISABLED using this method. See DestroyCryptoKeyVersion and RestoreCryptoKeyVersion to move between other states.
sourceraw docstring

locations-keyRings-cryptoKeys-cryptoKeyVersions-restore$clj

(locations-keyRings-cryptoKeys-cryptoKeyVersions-restore$ auth parameters body)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/restore

Required parameters: name

Optional parameters: none

Body:

{}

Restore a CryptoKeyVersion in the DESTROY_SCHEDULED state. Upon restoration of the CryptoKeyVersion, state will be set to DISABLED, and destroy_time will be cleared.

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/cryptoKeyVersions/restore

Required parameters: name

Optional parameters: none

Body: 

{}

Restore a CryptoKeyVersion in the DESTROY_SCHEDULED state. Upon restoration of the CryptoKeyVersion, state will be set to DISABLED, and destroy_time will be cleared.
sourceraw docstring

locations-keyRings-cryptoKeys-decrypt$clj

(locations-keyRings-cryptoKeys-decrypt$ auth parameters body)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/decrypt

Required parameters: name

Optional parameters: none

Body:

{:ciphertext string, :additionalAuthenticatedDataCrc32c string, :additionalAuthenticatedData string, :ciphertextCrc32c string}

Decrypts data that was protected by Encrypt. The CryptoKey.purpose must be ENCRYPT_DECRYPT.

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/decrypt

Required parameters: name

Optional parameters: none

Body: 

{:ciphertext string,
 :additionalAuthenticatedDataCrc32c string,
 :additionalAuthenticatedData string,
 :ciphertextCrc32c string}

Decrypts data that was protected by Encrypt. The CryptoKey.purpose must be ENCRYPT_DECRYPT.
sourceraw docstring

locations-keyRings-cryptoKeys-encrypt$clj

(locations-keyRings-cryptoKeys-encrypt$ auth parameters body)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/encrypt

Required parameters: name

Optional parameters: none

Body:

{:plaintextCrc32c string, :plaintext string, :additionalAuthenticatedDataCrc32c string, :additionalAuthenticatedData string}

Encrypts data, so that it can only be recovered by a call to Decrypt. The CryptoKey.purpose must be ENCRYPT_DECRYPT.

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/encrypt

Required parameters: name

Optional parameters: none

Body: 

{:plaintextCrc32c string,
 :plaintext string,
 :additionalAuthenticatedDataCrc32c string,
 :additionalAuthenticatedData string}

Encrypts data, so that it can only be recovered by a call to Decrypt. The CryptoKey.purpose must be ENCRYPT_DECRYPT.
sourceraw docstring

locations-keyRings-cryptoKeys-get$clj

(locations-keyRings-cryptoKeys-get$ auth parameters)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/get

Required parameters: name

Optional parameters: none

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

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/get

Required parameters: name

Optional parameters: none

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

locations-keyRings-cryptoKeys-getIamPolicy$clj

(locations-keyRings-cryptoKeys-getIamPolicy$ auth parameters)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/getIamPolicy

Required parameters: resource

Optional parameters: options.requestedPolicyVersion

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

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/getIamPolicy

Required parameters: resource

Optional parameters: options.requestedPolicyVersion

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

locations-keyRings-cryptoKeys-list$clj

(locations-keyRings-cryptoKeys-list$ auth parameters)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/list

Required parameters: parent

Optional parameters: versionView, orderBy, filter, pageSize, pageToken

Lists CryptoKeys.

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/list

Required parameters: parent

Optional parameters: versionView, orderBy, filter, pageSize, pageToken

Lists CryptoKeys.
sourceraw docstring

locations-keyRings-cryptoKeys-patch$clj

(locations-keyRings-cryptoKeys-patch$ auth parameters body)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/patch

Required parameters: name

Optional parameters: updateMask

Body:

{:labels {}, :nextRotationTime string, :importOnly boolean, :primary {:reimportEligible boolean, :algorithm string, :generateTime string, :importFailureReason string, :name string, :importTime string, :createTime string, :state string, :externalProtectionLevelOptions ExternalProtectionLevelOptions, :importJob string, :attestation KeyOperationAttestation, :protectionLevel string, :destroyTime string, :destroyEventTime string}, :purpose string, :name string, :createTime string, :rotationPeriod string, :versionTemplate {:algorithm string, :protectionLevel string}, :destroyScheduledDuration string}

Update a CryptoKey.

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/patch

Required parameters: name

Optional parameters: updateMask

Body: 

{:labels {},
 :nextRotationTime string,
 :importOnly boolean,
 :primary {:reimportEligible boolean,
           :algorithm string,
           :generateTime string,
           :importFailureReason string,
           :name string,
           :importTime string,
           :createTime string,
           :state string,
           :externalProtectionLevelOptions ExternalProtectionLevelOptions,
           :importJob string,
           :attestation KeyOperationAttestation,
           :protectionLevel string,
           :destroyTime string,
           :destroyEventTime string},
 :purpose string,
 :name string,
 :createTime string,
 :rotationPeriod string,
 :versionTemplate {:algorithm string, :protectionLevel string},
 :destroyScheduledDuration string}

Update a CryptoKey.
sourceraw docstring

locations-keyRings-cryptoKeys-setIamPolicy$clj

(locations-keyRings-cryptoKeys-setIamPolicy$ auth parameters body)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/setIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:policy {:auditConfigs [AuditConfig], :bindings [Binding], :version integer, :etag string}, :updateMask string}

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/setIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:policy {:auditConfigs [AuditConfig],
          :bindings [Binding],
          :version integer,
          :etag string},
 :updateMask string}

Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
sourceraw docstring

locations-keyRings-cryptoKeys-testIamPermissions$clj

(locations-keyRings-cryptoKeys-testIamPermissions$ auth parameters body)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/testIamPermissions

Required parameters: resource

Optional parameters: none

Body:

{:permissions [string]}

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/testIamPermissions

Required parameters: resource

Optional parameters: none

Body: 

{:permissions [string]}

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
sourceraw docstring

locations-keyRings-cryptoKeys-updatePrimaryVersion$clj

(locations-keyRings-cryptoKeys-updatePrimaryVersion$ auth parameters body)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/updatePrimaryVersion

Required parameters: name

Optional parameters: none

Body:

{:cryptoKeyVersionId string}

Update the version of a CryptoKey that will be used in Encrypt. Returns an error if called on a key whose purpose is not ENCRYPT_DECRYPT.

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/cryptoKeys/updatePrimaryVersion

Required parameters: name

Optional parameters: none

Body: 

{:cryptoKeyVersionId string}

Update the version of a CryptoKey that will be used in Encrypt. Returns an error if called on a key whose purpose is not ENCRYPT_DECRYPT.
sourceraw docstring

locations-keyRings-get$clj

(locations-keyRings-get$ auth parameters)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/get

Required parameters: name

Optional parameters: none

Returns metadata for a given KeyRing.

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/get

Required parameters: name

Optional parameters: none

Returns metadata for a given KeyRing.
sourceraw docstring

locations-keyRings-getIamPolicy$clj

(locations-keyRings-getIamPolicy$ auth parameters)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/getIamPolicy

Required parameters: resource

Optional parameters: options.requestedPolicyVersion

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

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/getIamPolicy

Required parameters: resource

Optional parameters: options.requestedPolicyVersion

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

locations-keyRings-importJobs-create$clj

(locations-keyRings-importJobs-create$ auth parameters body)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/importJobs/create

Required parameters: parent

Optional parameters: importJobId

Body:

{:generateTime string, :name string, :createTime string, :expireEventTime string, :state string, :publicKey {:pem string}, :attestation {:content string, :certChains CertificateChains, :format string}, :expireTime string, :importMethod string, :protectionLevel string}

Create a new ImportJob within a KeyRing. ImportJob.import_method is required.

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/importJobs/create

Required parameters: parent

Optional parameters: importJobId

Body: 

{:generateTime string,
 :name string,
 :createTime string,
 :expireEventTime string,
 :state string,
 :publicKey {:pem string},
 :attestation {:content string,
               :certChains CertificateChains,
               :format string},
 :expireTime string,
 :importMethod string,
 :protectionLevel string}

Create a new ImportJob within a KeyRing. ImportJob.import_method is required.
sourceraw docstring

locations-keyRings-importJobs-get$clj

(locations-keyRings-importJobs-get$ auth parameters)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/importJobs/get

Required parameters: name

Optional parameters: none

Returns metadata for a given ImportJob.

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/importJobs/get

Required parameters: name

Optional parameters: none

Returns metadata for a given ImportJob.
sourceraw docstring

locations-keyRings-importJobs-getIamPolicy$clj

(locations-keyRings-importJobs-getIamPolicy$ auth parameters)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/importJobs/getIamPolicy

Required parameters: resource

Optional parameters: options.requestedPolicyVersion

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

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/importJobs/getIamPolicy

Required parameters: resource

Optional parameters: options.requestedPolicyVersion

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

locations-keyRings-importJobs-list$clj

(locations-keyRings-importJobs-list$ auth parameters)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/importJobs/list

Required parameters: parent

Optional parameters: pageToken, filter, orderBy, pageSize

Lists ImportJobs.

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/importJobs/list

Required parameters: parent

Optional parameters: pageToken, filter, orderBy, pageSize

Lists ImportJobs.
sourceraw docstring

locations-keyRings-importJobs-setIamPolicy$clj

(locations-keyRings-importJobs-setIamPolicy$ auth parameters body)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/importJobs/setIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:policy {:auditConfigs [AuditConfig], :bindings [Binding], :version integer, :etag string}, :updateMask string}

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/importJobs/setIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:policy {:auditConfigs [AuditConfig],
          :bindings [Binding],
          :version integer,
          :etag string},
 :updateMask string}

Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
sourceraw docstring

locations-keyRings-importJobs-testIamPermissions$clj

(locations-keyRings-importJobs-testIamPermissions$ auth parameters body)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/importJobs/testIamPermissions

Required parameters: resource

Optional parameters: none

Body:

{:permissions [string]}

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/importJobs/testIamPermissions

Required parameters: resource

Optional parameters: none

Body: 

{:permissions [string]}

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
sourceraw docstring

locations-keyRings-list$clj

(locations-keyRings-list$ auth parameters)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/list

Required parameters: parent

Optional parameters: orderBy, filter, pageToken, pageSize

Lists KeyRings.

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/list

Required parameters: parent

Optional parameters: orderBy, filter, pageToken, pageSize

Lists KeyRings.
sourceraw docstring

locations-keyRings-setIamPolicy$clj

(locations-keyRings-setIamPolicy$ auth parameters body)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/setIamPolicy

Required parameters: resource

Optional parameters: none

Body:

{:policy {:auditConfigs [AuditConfig], :bindings [Binding], :version integer, :etag string}, :updateMask string}

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/setIamPolicy

Required parameters: resource

Optional parameters: none

Body: 

{:policy {:auditConfigs [AuditConfig],
          :bindings [Binding],
          :version integer,
          :etag string},
 :updateMask string}

Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
sourceraw docstring

locations-keyRings-testIamPermissions$clj

(locations-keyRings-testIamPermissions$ auth parameters body)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/testIamPermissions

Required parameters: resource

Optional parameters: none

Body:

{:permissions [string]}

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/keyRings/testIamPermissions

Required parameters: resource

Optional parameters: none

Body: 

{:permissions [string]}

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
sourceraw docstring

locations-list$clj

(locations-list$ auth parameters)

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/list

Required parameters: name

Optional parameters: pageSize, filter, pageToken

Lists information about the supported locations for this service.

https://cloud.google.com/kms/api/reference/rest/v1/projects/locations/list

Required parameters: name

Optional parameters: pageSize, filter, pageToken

Lists information about the supported locations for this service.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close