Skip to content

Commit 633c51d

Browse files
feat(healthcare): update the api
#### healthcare:v1beta1 The following keys were added: - schemas.CryptoHashConfig.properties.kmsWrapped.$ref (Total Keys: 1) - schemas.DateShiftConfig.properties.kmsWrapped.$ref (Total Keys: 1) - schemas.KmsWrappedCryptoKey (Total Keys: 5)
1 parent f913baf commit 633c51d

5 files changed

+50
-2
lines changed

docs/dyn/healthcare_v1beta1.projects.locations.datasets.dicomStores.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,9 +246,17 @@ <h3>Method Details</h3>
246246
},
247247
&quot;cryptoHashConfig&quot;: { # Pseudonymization method that generates surrogates via cryptographic hashing. Uses SHA-256. Outputs a base64-encoded representation of the hashed output. For example, `L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=`. # Config for crypto hash.
248248
&quot;cryptoKey&quot;: &quot;A String&quot;, # An AES 128/192/256 bit key. Causes the hash to be computed based on this key. A default key is generated for each Deidentify operation and is used when neither `crypto_key` nor `kms_wrapped` is specified. Must not be set if `kms_wrapped` is set.
249+
&quot;kmsWrapped&quot;: { # Include to use an existing data crypto key wrapped by KMS. The wrapped key must be a 128-, 192-, or 256-bit key. The key must grant the Cloud IAM permission `cloudkms.cryptoKeyVersions.useToDecrypt` to the project&#x27;s Cloud Healthcare Service Agent service account. For more information, see [Creating a wrapped key] (https://cloud.google.com/dlp/docs/create-wrapped-key). # KMS wrapped key. Must not be set if `crypto_key` is set.
250+
&quot;cryptoKey&quot;: &quot;A String&quot;, # Required. The resource name of the KMS CryptoKey to use for unwrapping.
251+
&quot;wrappedKey&quot;: &quot;A String&quot;, # Required. The wrapped data crypto key.
252+
},
249253
},
250254
&quot;dateShiftConfig&quot;: { # Shift a date forward or backward in time by a random amount which is consistent for a given patient and crypto key combination. # Config for date shift.
251255
&quot;cryptoKey&quot;: &quot;A String&quot;, # An AES 128/192/256 bit key. Causes the shift to be computed based on this key and the patient ID. A default key is generated for each de-identification operation and is used when neither `crypto_key` nor `kms_wrapped` is specified. Must not be set if `kms_wrapped` is set.
256+
&quot;kmsWrapped&quot;: { # Include to use an existing data crypto key wrapped by KMS. The wrapped key must be a 128-, 192-, or 256-bit key. The key must grant the Cloud IAM permission `cloudkms.cryptoKeyVersions.useToDecrypt` to the project&#x27;s Cloud Healthcare Service Agent service account. For more information, see [Creating a wrapped key] (https://cloud.google.com/dlp/docs/create-wrapped-key). # KMS wrapped key. Must not be set if `crypto_key` is set.
257+
&quot;cryptoKey&quot;: &quot;A String&quot;, # Required. The resource name of the KMS CryptoKey to use for unwrapping.
258+
&quot;wrappedKey&quot;: &quot;A String&quot;, # Required. The wrapped data crypto key.
259+
},
252260
},
253261
&quot;infoTypes&quot;: [ # InfoTypes to apply this transformation to. If this is not specified, this transformation becomes the default transformation, and is used for any info_type that is not specified in another transformation.
254262
&quot;A String&quot;,

docs/dyn/healthcare_v1beta1.projects.locations.datasets.fhirStores.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,9 +340,17 @@ <h3>Method Details</h3>
340340
},
341341
&quot;cryptoHashConfig&quot;: { # Pseudonymization method that generates surrogates via cryptographic hashing. Uses SHA-256. Outputs a base64-encoded representation of the hashed output. For example, `L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=`. # Config for crypto hash.
342342
&quot;cryptoKey&quot;: &quot;A String&quot;, # An AES 128/192/256 bit key. Causes the hash to be computed based on this key. A default key is generated for each Deidentify operation and is used when neither `crypto_key` nor `kms_wrapped` is specified. Must not be set if `kms_wrapped` is set.
343+
&quot;kmsWrapped&quot;: { # Include to use an existing data crypto key wrapped by KMS. The wrapped key must be a 128-, 192-, or 256-bit key. The key must grant the Cloud IAM permission `cloudkms.cryptoKeyVersions.useToDecrypt` to the project&#x27;s Cloud Healthcare Service Agent service account. For more information, see [Creating a wrapped key] (https://cloud.google.com/dlp/docs/create-wrapped-key). # KMS wrapped key. Must not be set if `crypto_key` is set.
344+
&quot;cryptoKey&quot;: &quot;A String&quot;, # Required. The resource name of the KMS CryptoKey to use for unwrapping.
345+
&quot;wrappedKey&quot;: &quot;A String&quot;, # Required. The wrapped data crypto key.
346+
},
343347
},
344348
&quot;dateShiftConfig&quot;: { # Shift a date forward or backward in time by a random amount which is consistent for a given patient and crypto key combination. # Config for date shift.
345349
&quot;cryptoKey&quot;: &quot;A String&quot;, # An AES 128/192/256 bit key. Causes the shift to be computed based on this key and the patient ID. A default key is generated for each de-identification operation and is used when neither `crypto_key` nor `kms_wrapped` is specified. Must not be set if `kms_wrapped` is set.
350+
&quot;kmsWrapped&quot;: { # Include to use an existing data crypto key wrapped by KMS. The wrapped key must be a 128-, 192-, or 256-bit key. The key must grant the Cloud IAM permission `cloudkms.cryptoKeyVersions.useToDecrypt` to the project&#x27;s Cloud Healthcare Service Agent service account. For more information, see [Creating a wrapped key] (https://cloud.google.com/dlp/docs/create-wrapped-key). # KMS wrapped key. Must not be set if `crypto_key` is set.
351+
&quot;cryptoKey&quot;: &quot;A String&quot;, # Required. The resource name of the KMS CryptoKey to use for unwrapping.
352+
&quot;wrappedKey&quot;: &quot;A String&quot;, # Required. The wrapped data crypto key.
353+
},
346354
},
347355
&quot;infoTypes&quot;: [ # InfoTypes to apply this transformation to. If this is not specified, this transformation becomes the default transformation, and is used for any info_type that is not specified in another transformation.
348356
&quot;A String&quot;,

docs/dyn/healthcare_v1beta1.projects.locations.datasets.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,9 +238,17 @@ <h3>Method Details</h3>
238238
},
239239
&quot;cryptoHashConfig&quot;: { # Pseudonymization method that generates surrogates via cryptographic hashing. Uses SHA-256. Outputs a base64-encoded representation of the hashed output. For example, `L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=`. # Config for crypto hash.
240240
&quot;cryptoKey&quot;: &quot;A String&quot;, # An AES 128/192/256 bit key. Causes the hash to be computed based on this key. A default key is generated for each Deidentify operation and is used when neither `crypto_key` nor `kms_wrapped` is specified. Must not be set if `kms_wrapped` is set.
241+
&quot;kmsWrapped&quot;: { # Include to use an existing data crypto key wrapped by KMS. The wrapped key must be a 128-, 192-, or 256-bit key. The key must grant the Cloud IAM permission `cloudkms.cryptoKeyVersions.useToDecrypt` to the project&#x27;s Cloud Healthcare Service Agent service account. For more information, see [Creating a wrapped key] (https://cloud.google.com/dlp/docs/create-wrapped-key). # KMS wrapped key. Must not be set if `crypto_key` is set.
242+
&quot;cryptoKey&quot;: &quot;A String&quot;, # Required. The resource name of the KMS CryptoKey to use for unwrapping.
243+
&quot;wrappedKey&quot;: &quot;A String&quot;, # Required. The wrapped data crypto key.
244+
},
241245
},
242246
&quot;dateShiftConfig&quot;: { # Shift a date forward or backward in time by a random amount which is consistent for a given patient and crypto key combination. # Config for date shift.
243247
&quot;cryptoKey&quot;: &quot;A String&quot;, # An AES 128/192/256 bit key. Causes the shift to be computed based on this key and the patient ID. A default key is generated for each de-identification operation and is used when neither `crypto_key` nor `kms_wrapped` is specified. Must not be set if `kms_wrapped` is set.
248+
&quot;kmsWrapped&quot;: { # Include to use an existing data crypto key wrapped by KMS. The wrapped key must be a 128-, 192-, or 256-bit key. The key must grant the Cloud IAM permission `cloudkms.cryptoKeyVersions.useToDecrypt` to the project&#x27;s Cloud Healthcare Service Agent service account. For more information, see [Creating a wrapped key] (https://cloud.google.com/dlp/docs/create-wrapped-key). # KMS wrapped key. Must not be set if `crypto_key` is set.
249+
&quot;cryptoKey&quot;: &quot;A String&quot;, # Required. The resource name of the KMS CryptoKey to use for unwrapping.
250+
&quot;wrappedKey&quot;: &quot;A String&quot;, # Required. The wrapped data crypto key.
251+
},
244252
},
245253
&quot;infoTypes&quot;: [ # InfoTypes to apply this transformation to. If this is not specified, this transformation becomes the default transformation, and is used for any info_type that is not specified in another transformation.
246254
&quot;A String&quot;,

googleapiclient/discovery_cache/documents/healthcare.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4053,7 +4053,7 @@
40534053
}
40544054
}
40554055
},
4056-
"revision": "20220104",
4056+
"revision": "20220111",
40574057
"rootUrl": "https://healthcare.googleapis.com/",
40584058
"schemas": {
40594059
"ActivateConsentRequest": {

googleapiclient/discovery_cache/documents/healthcare.v1beta1.json

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4865,7 +4865,7 @@
48654865
}
48664866
}
48674867
},
4868-
"revision": "20220104",
4868+
"revision": "20220111",
48694869
"rootUrl": "https://healthcare.googleapis.com/",
48704870
"schemas": {
48714871
"ActivateConsentRequest": {
@@ -5506,6 +5506,10 @@
55065506
"description": "An AES 128/192/256 bit key. Causes the hash to be computed based on this key. A default key is generated for each Deidentify operation and is used when neither `crypto_key` nor `kms_wrapped` is specified. Must not be set if `kms_wrapped` is set.",
55075507
"format": "byte",
55085508
"type": "string"
5509+
},
5510+
"kmsWrapped": {
5511+
"$ref": "KmsWrappedCryptoKey",
5512+
"description": "KMS wrapped key. Must not be set if `crypto_key` is set."
55095513
}
55105514
},
55115515
"type": "object"
@@ -5533,6 +5537,10 @@
55335537
"description": "An AES 128/192/256 bit key. Causes the shift to be computed based on this key and the patient ID. A default key is generated for each de-identification operation and is used when neither `crypto_key` nor `kms_wrapped` is specified. Must not be set if `kms_wrapped` is set.",
55345538
"format": "byte",
55355539
"type": "string"
5540+
},
5541+
"kmsWrapped": {
5542+
"$ref": "KmsWrappedCryptoKey",
5543+
"description": "KMS wrapped key. Must not be set if `crypto_key` is set."
55365544
}
55375545
},
55385546
"type": "object"
@@ -6887,6 +6895,22 @@
68876895
},
68886896
"type": "object"
68896897
},
6898+
"KmsWrappedCryptoKey": {
6899+
"description": "Include to use an existing data crypto key wrapped by KMS. The wrapped key must be a 128-, 192-, or 256-bit key. The key must grant the Cloud IAM permission `cloudkms.cryptoKeyVersions.useToDecrypt` to the project's Cloud Healthcare Service Agent service account. For more information, see [Creating a wrapped key] (https://cloud.google.com/dlp/docs/create-wrapped-key).",
6900+
"id": "KmsWrappedCryptoKey",
6901+
"properties": {
6902+
"cryptoKey": {
6903+
"description": "Required. The resource name of the KMS CryptoKey to use for unwrapping.",
6904+
"type": "string"
6905+
},
6906+
"wrappedKey": {
6907+
"description": "Required. The wrapped data crypto key.",
6908+
"format": "byte",
6909+
"type": "string"
6910+
}
6911+
},
6912+
"type": "object"
6913+
},
68906914
"LinkedEntity": {
68916915
"description": "EntityMentions can be linked to multiple entities using a LinkedEntity message lets us add other fields, e.g. confidence.",
68926916
"id": "LinkedEntity",

0 commit comments

Comments
 (0)