Liking cljdoc? Tell your friends :D

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-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.
raw 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.
raw 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: skipInitialVersionCreation, cryptoKeyId

Body:

{:name string, :rotationPeriod string, :primary {: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}, :nextRotationTime string, :purpose string, :labels {}, :createTime string, :versionTemplate {:protectionLevel string, :algorithm 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: skipInitialVersionCreation, cryptoKeyId

Body: 

{:name string,
 :rotationPeriod string,
 :primary {: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},
 :nextRotationTime string,
 :purpose string,
 :labels {},
 :createTime string,
 :versionTemplate {:protectionLevel string, :algorithm string}}

Create a new CryptoKey within a KeyRing. CryptoKey.purpose and CryptoKey.version_template.algorithm are required.
raw 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:

{:ciphertext string, :ciphertextCrc32c 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: 

{:ciphertext string, :ciphertextCrc32c string}

Decrypts data that was encrypted with a public key retrieved from GetPublicKey corresponding to a CryptoKeyVersion with CryptoKey.purpose ASYMMETRIC_DECRYPT.
raw 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.
raw 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:

{: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: 

{: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.
raw 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 a time 24 hours in the future, at which point the state will be changed 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 a time 24 hours in the future, at which point the state will be changed to DESTROYED, and the key material will be irrevocably destroyed. Before the destroy_time is reached, RestoreCryptoKeyVersion may be called to reverse the process.
raw 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.
raw 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.
raw 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, :rsaAesWrappedKey string, :importJob string}

Imports a new CryptoKeyVersion into an existing CryptoKey using the wrapped key material provided in the request. The version ID 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, :rsaAesWrappedKey string, :importJob string}

Imports a new CryptoKeyVersion into an existing CryptoKey using the wrapped key material provided in the request. The version ID will be assigned the next sequential id within the CryptoKey.
raw 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: filter, view, pageSize, orderBy, pageToken

Lists CryptoKeyVersions.

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

Required parameters: parent

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

Lists CryptoKeyVersions.
raw 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:

{: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: 

{: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.
raw 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.
raw 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:

{:additionalAuthenticatedDataCrc32c string, :ciphertextCrc32c string, :ciphertext string, :additionalAuthenticatedData 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: 

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

Decrypts data that was protected by Encrypt. The CryptoKey.purpose must be ENCRYPT_DECRYPT.
raw 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, :additionalAuthenticatedDataCrc32c string, :additionalAuthenticatedData string, :plaintext 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,
 :additionalAuthenticatedDataCrc32c string,
 :additionalAuthenticatedData string,
 :plaintext string}

Encrypts data, so that it can only be recovered by a call to Decrypt. The CryptoKey.purpose must be ENCRYPT_DECRYPT.
raw 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.
raw 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.
raw 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: pageToken, pageSize, versionView, orderBy, filter

Lists CryptoKeys.

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

Required parameters: parent

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

Lists CryptoKeys.
raw 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:

{:name string, :rotationPeriod string, :primary {: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}, :nextRotationTime string, :purpose string, :labels {}, :createTime string, :versionTemplate {:protectionLevel string, :algorithm 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: 

{:name string,
 :rotationPeriod string,
 :primary {: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},
 :nextRotationTime string,
 :purpose string,
 :labels {},
 :createTime string,
 :versionTemplate {:protectionLevel string, :algorithm string}}

Update a CryptoKey.
raw 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 {:version integer, :auditConfigs [AuditConfig], :etag string, :bindings [Binding]}, :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 {:version integer,
          :auditConfigs [AuditConfig],
          :etag string,
          :bindings [Binding]},
 :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.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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: orderBy, pageToken, pageSize, filter

Lists ImportJobs.

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

Required parameters: parent

Optional parameters: orderBy, pageToken, pageSize, filter

Lists ImportJobs.
raw 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 {:version integer, :auditConfigs [AuditConfig], :etag string, :bindings [Binding]}, :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 {:version integer,
          :auditConfigs [AuditConfig],
          :etag string,
          :bindings [Binding]},
 :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.
raw 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.
raw 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: pageToken, filter, pageSize, orderBy

Lists KeyRings.

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

Required parameters: parent

Optional parameters: pageToken, filter, pageSize, orderBy

Lists KeyRings.
raw 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 {:version integer, :auditConfigs [AuditConfig], :etag string, :bindings [Binding]}, :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 {:version integer,
          :auditConfigs [AuditConfig],
          :etag string,
          :bindings [Binding]},
 :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.
raw 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.
raw 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: filter, pageSize, 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: filter, pageSize, pageToken

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

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

× close