google-apis-healthcare_v1beta1 0.20.0 → 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4d5fa5b921994c897033e58a42779890b90b700623461c9778161df9fde5c57e
4
- data.tar.gz: e7ef761208526efe49a597352fbd768e8e09518fd4ccf0171b990c315d825a57
3
+ metadata.gz: 7e956ecdb5ba57eb7e378660991b77578da5fdbbfa5e9c3dc6efcc431eade56f
4
+ data.tar.gz: ff20a15b6f4c7d18549a81446eee96f12cd69e04f900f15a4aee2aefd1d7a7a1
5
5
  SHA512:
6
- metadata.gz: 6e8255d726fe3a99186bce5ec4787baa790724e48aee13fe3375f19416c9d8cbcf4acf389a3e07d0743f45f9da9112844e13be5283e6cefca8d99af5b40c08d7
7
- data.tar.gz: e2eb3d7905541bc294b376394d09d03d336e94843e26c1537341906666cd71f776df7a00f6d07258d1f9213fa2a01eff65472bffd8c02abc8928f84836606756
6
+ metadata.gz: 9b99a98ef2f85a604bf4dd34f8d5f17333f4954ba95876282fc30491df2b96d4f05e7eae843b44ba05d5d48dc93dbf6bb82dbdfed40c627e9ab9a7178861fec3
7
+ data.tar.gz: 6449bb5fe8bdd9df97aaaf3d60bbbd9c4c50e05b8c8ad3968ebae14780e8b99d30611f57ddbfdbbb587c2f3fdb80d245277436dc43a3a945957b707d87fca139
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-healthcare_v1beta1
2
2
 
3
+ ### v0.21.0 (2022-01-20)
4
+
5
+ * Regenerated from discovery document revision 20220111
6
+ * Regenerated using generator version 0.4.1
7
+
3
8
  ### v0.20.0 (2022-01-05)
4
9
 
5
10
  * Regenerated from discovery document revision 20220104
@@ -986,6 +986,15 @@ module Google
986
986
  # @return [String]
987
987
  attr_accessor :crypto_key
988
988
 
989
+ # Include to use an existing data crypto key wrapped by KMS. The wrapped key
990
+ # must be a 128-, 192-, or 256-bit key. The key must grant the Cloud IAM
991
+ # permission `cloudkms.cryptoKeyVersions.useToDecrypt` to the project's Cloud
992
+ # Healthcare Service Agent service account. For more information, see [Creating
993
+ # a wrapped key] (https://cloud.google.com/dlp/docs/create-wrapped-key).
994
+ # Corresponds to the JSON property `kmsWrapped`
995
+ # @return [Google::Apis::HealthcareV1beta1::KmsWrappedCryptoKey]
996
+ attr_accessor :kms_wrapped
997
+
989
998
  def initialize(**args)
990
999
  update!(**args)
991
1000
  end
@@ -993,6 +1002,7 @@ module Google
993
1002
  # Update properties of this object
994
1003
  def update!(**args)
995
1004
  @crypto_key = args[:crypto_key] if args.key?(:crypto_key)
1005
+ @kms_wrapped = args[:kms_wrapped] if args.key?(:kms_wrapped)
996
1006
  end
997
1007
  end
998
1008
 
@@ -1042,6 +1052,15 @@ module Google
1042
1052
  # @return [String]
1043
1053
  attr_accessor :crypto_key
1044
1054
 
1055
+ # Include to use an existing data crypto key wrapped by KMS. The wrapped key
1056
+ # must be a 128-, 192-, or 256-bit key. The key must grant the Cloud IAM
1057
+ # permission `cloudkms.cryptoKeyVersions.useToDecrypt` to the project's Cloud
1058
+ # Healthcare Service Agent service account. For more information, see [Creating
1059
+ # a wrapped key] (https://cloud.google.com/dlp/docs/create-wrapped-key).
1060
+ # Corresponds to the JSON property `kmsWrapped`
1061
+ # @return [Google::Apis::HealthcareV1beta1::KmsWrappedCryptoKey]
1062
+ attr_accessor :kms_wrapped
1063
+
1045
1064
  def initialize(**args)
1046
1065
  update!(**args)
1047
1066
  end
@@ -1049,6 +1068,7 @@ module Google
1049
1068
  # Update properties of this object
1050
1069
  def update!(**args)
1051
1070
  @crypto_key = args[:crypto_key] if args.key?(:crypto_key)
1071
+ @kms_wrapped = args[:kms_wrapped] if args.key?(:kms_wrapped)
1052
1072
  end
1053
1073
  end
1054
1074
 
@@ -3395,6 +3415,36 @@ module Google
3395
3415
  end
3396
3416
  end
3397
3417
 
3418
+ # Include to use an existing data crypto key wrapped by KMS. The wrapped key
3419
+ # must be a 128-, 192-, or 256-bit key. The key must grant the Cloud IAM
3420
+ # permission `cloudkms.cryptoKeyVersions.useToDecrypt` to the project's Cloud
3421
+ # Healthcare Service Agent service account. For more information, see [Creating
3422
+ # a wrapped key] (https://cloud.google.com/dlp/docs/create-wrapped-key).
3423
+ class KmsWrappedCryptoKey
3424
+ include Google::Apis::Core::Hashable
3425
+
3426
+ # Required. The resource name of the KMS CryptoKey to use for unwrapping.
3427
+ # Corresponds to the JSON property `cryptoKey`
3428
+ # @return [String]
3429
+ attr_accessor :crypto_key
3430
+
3431
+ # Required. The wrapped data crypto key.
3432
+ # Corresponds to the JSON property `wrappedKey`
3433
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
3434
+ # @return [String]
3435
+ attr_accessor :wrapped_key
3436
+
3437
+ def initialize(**args)
3438
+ update!(**args)
3439
+ end
3440
+
3441
+ # Update properties of this object
3442
+ def update!(**args)
3443
+ @crypto_key = args[:crypto_key] if args.key?(:crypto_key)
3444
+ @wrapped_key = args[:wrapped_key] if args.key?(:wrapped_key)
3445
+ end
3446
+ end
3447
+
3398
3448
  # EntityMentions can be linked to multiple entities using a LinkedEntity message
3399
3449
  # lets us add other fields, e.g. confidence.
3400
3450
  class LinkedEntity
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module HealthcareV1beta1
18
18
  # Version of the google-apis-healthcare_v1beta1 gem
19
- GEM_VERSION = "0.20.0"
19
+ GEM_VERSION = "0.21.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220104"
25
+ REVISION = "20220111"
26
26
  end
27
27
  end
28
28
  end
@@ -634,6 +634,12 @@ module Google
634
634
  include Google::Apis::Core::JsonObjectSupport
635
635
  end
636
636
 
637
+ class KmsWrappedCryptoKey
638
+ class Representation < Google::Apis::Core::JsonRepresentation; end
639
+
640
+ include Google::Apis::Core::JsonObjectSupport
641
+ end
642
+
637
643
  class LinkedEntity
638
644
  class Representation < Google::Apis::Core::JsonRepresentation; end
639
645
 
@@ -1252,6 +1258,8 @@ module Google
1252
1258
  # @private
1253
1259
  class Representation < Google::Apis::Core::JsonRepresentation
1254
1260
  property :crypto_key, :base64 => true, as: 'cryptoKey'
1261
+ property :kms_wrapped, as: 'kmsWrapped', class: Google::Apis::HealthcareV1beta1::KmsWrappedCryptoKey, decorator: Google::Apis::HealthcareV1beta1::KmsWrappedCryptoKey::Representation
1262
+
1255
1263
  end
1256
1264
  end
1257
1265
 
@@ -1267,6 +1275,8 @@ module Google
1267
1275
  # @private
1268
1276
  class Representation < Google::Apis::Core::JsonRepresentation
1269
1277
  property :crypto_key, :base64 => true, as: 'cryptoKey'
1278
+ property :kms_wrapped, as: 'kmsWrapped', class: Google::Apis::HealthcareV1beta1::KmsWrappedCryptoKey, decorator: Google::Apis::HealthcareV1beta1::KmsWrappedCryptoKey::Representation
1279
+
1270
1280
  end
1271
1281
  end
1272
1282
 
@@ -1921,6 +1931,14 @@ module Google
1921
1931
  end
1922
1932
  end
1923
1933
 
1934
+ class KmsWrappedCryptoKey
1935
+ # @private
1936
+ class Representation < Google::Apis::Core::JsonRepresentation
1937
+ property :crypto_key, as: 'cryptoKey'
1938
+ property :wrapped_key, :base64 => true, as: 'wrappedKey'
1939
+ end
1940
+ end
1941
+
1924
1942
  class LinkedEntity
1925
1943
  # @private
1926
1944
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-healthcare_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-10 00:00:00.000000000 Z
11
+ date: 2022-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-healthcare_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1beta1/v0.20.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1beta1/v0.21.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-healthcare_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.4
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Healthcare API V1beta1