google-apis-healthcare_v1 0.41.0 → 0.43.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: 8c3eb5b6d2effa0e6ea4757805ec96afd238a1c3c3533f8c4f2b21b3071affd8
4
- data.tar.gz: b1c62e2327b2b19f04cf6a748cd72e123223d1bc5a6e9ed60ff0d5a64210a1de
3
+ metadata.gz: f6b987e9fe31a0cf36098a3e6a3cb79a9ac92a4d98357412e5d14d20d749cef2
4
+ data.tar.gz: 035fed54cfe6012281540addf3385fe4a4adf38c82d7ffae16fd2e5d38db291f
5
5
  SHA512:
6
- metadata.gz: 2538360829508eb2e75a2d60f4862be4f37a75ba9ead19647cfb6252333916a44ab3f8b66d00d9282853aa0c3673e597873d6b94a196b7865cfcaaa1ffc35c84
7
- data.tar.gz: d346b399b86602cb406940e6abd6b41c1ed3f9c6ac409144be2e60a138da331338757f96fb3b46f00e3d545eae6b7261b4d00caf53199878ad2ffe91e45c4c23
6
+ metadata.gz: 9c9f0a2379418ed1ccf3b3c0b7230b58d3851e538e1064a802ec31f4b2d7d44c51b57a4d1f75ad283252e73664f33f76c94ebc47bfee41182b7e7749d45f0c61
7
+ data.tar.gz: 38223bc46500bfbbbe513b5d6f07a56bf9fa7c447ca97fa998424beeecc37ffb5f73b9d294e3b982adba26ed1834f143f5ed0dbf950a4ef4149b826b434295bc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-healthcare_v1
2
2
 
3
+ ### v0.43.0 (2023-05-14)
4
+
5
+ * Regenerated from discovery document revision 20230427
6
+
7
+ ### v0.42.0 (2023-04-30)
8
+
9
+ * Regenerated from discovery document revision 20230412
10
+
3
11
  ### v0.41.0 (2023-04-02)
4
12
 
5
13
  * Regenerated from discovery document revision 20230321
@@ -904,6 +904,16 @@ module Google
904
904
  # @return [Google::Apis::HealthcareV1::TextConfig]
905
905
  attr_accessor :text
906
906
 
907
+ # Ensures in-flight data remains in the region of origin during de-
908
+ # identification. Using this option results in a significant reduction of
909
+ # throughput, and is not compatible with `LOCATION` or `ORGANIZATION_NAME`
910
+ # infoTypes. `LOCATION` must be excluded within `TextConfig`, and must also be
911
+ # excluded within `ImageConfig` if image redaction is required.
912
+ # Corresponds to the JSON property `useRegionalDataProcessing`
913
+ # @return [Boolean]
914
+ attr_accessor :use_regional_data_processing
915
+ alias_method :use_regional_data_processing?, :use_regional_data_processing
916
+
907
917
  def initialize(**args)
908
918
  update!(**args)
909
919
  end
@@ -914,6 +924,7 @@ module Google
914
924
  @fhir = args[:fhir] if args.key?(:fhir)
915
925
  @image = args[:image] if args.key?(:image)
916
926
  @text = args[:text] if args.key?(:text)
927
+ @use_regional_data_processing = args[:use_regional_data_processing] if args.key?(:use_regional_data_processing)
917
928
  end
918
929
  end
919
930
 
@@ -1715,6 +1726,60 @@ module Google
1715
1726
  end
1716
1727
  end
1717
1728
 
1729
+ # Contains the configuration for FHIR notifications.
1730
+ class FhirNotificationConfig
1731
+ include Google::Apis::Core::Hashable
1732
+
1733
+ # The [Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that notifications
1734
+ # of changes are published on. Supplied by the client. The notification is a `
1735
+ # PubsubMessage` with the following fields: * `PubsubMessage.Data` contains the
1736
+ # resource name. * `PubsubMessage.MessageId` is the ID of this notification. It
1737
+ # is guaranteed to be unique within the topic. * `PubsubMessage.PublishTime` is
1738
+ # the time when the message was published. Note that notifications are only sent
1739
+ # if the topic is non-empty. [Topic names](https://cloud.google.com/pubsub/docs/
1740
+ # overview#names) must be scoped to a project. The Cloud Healthcare API service
1741
+ # account, service-@gcp-sa-healthcare.iam.gserviceaccount.com, must have
1742
+ # publisher permissions on the given Pub/Sub topic. Not having adequate
1743
+ # permissions causes the calls that send notifications to fail (https://cloud.
1744
+ # google.com/healthcare-api/docs/permissions-healthcare-api-gcp-products#
1745
+ # dicom_fhir_and_hl7v2_store_cloud_pubsub_permissions). If a notification can't
1746
+ # be published to Pub/Sub, errors are logged to Cloud Logging. For more
1747
+ # information, see [Viewing error logs in Cloud Logging](https://cloud.google.
1748
+ # com/healthcare-api/docs/how-tos/logging).
1749
+ # Corresponds to the JSON property `pubsubTopic`
1750
+ # @return [String]
1751
+ attr_accessor :pubsub_topic
1752
+
1753
+ # Whether to send full FHIR resource to this Pub/Sub topic.
1754
+ # Corresponds to the JSON property `sendFullResource`
1755
+ # @return [Boolean]
1756
+ attr_accessor :send_full_resource
1757
+ alias_method :send_full_resource?, :send_full_resource
1758
+
1759
+ # Whether to send full FHIR resource to this pubsub topic for deleting FHIR
1760
+ # resource. Note that setting this to true does not guarantee that all previous
1761
+ # resources will be sent in the format of full FHIR resource. When a resource
1762
+ # change is too large or during heavy traffic, only the resource name will be
1763
+ # sent. Clients should always check the "payloadType" label from a Pub/Sub
1764
+ # message to determine whether it needs to fetch the full previous resource as a
1765
+ # separate operation.
1766
+ # Corresponds to the JSON property `sendPreviousResourceOnDelete`
1767
+ # @return [Boolean]
1768
+ attr_accessor :send_previous_resource_on_delete
1769
+ alias_method :send_previous_resource_on_delete?, :send_previous_resource_on_delete
1770
+
1771
+ def initialize(**args)
1772
+ update!(**args)
1773
+ end
1774
+
1775
+ # Update properties of this object
1776
+ def update!(**args)
1777
+ @pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
1778
+ @send_full_resource = args[:send_full_resource] if args.key?(:send_full_resource)
1779
+ @send_previous_resource_on_delete = args[:send_previous_resource_on_delete] if args.key?(:send_previous_resource_on_delete)
1780
+ end
1781
+ end
1782
+
1718
1783
  # Represents a FHIR store.
1719
1784
  class FhirStore
1720
1785
  include Google::Apis::Core::Hashable
@@ -1803,6 +1868,11 @@ module Google
1803
1868
  # @return [Google::Apis::HealthcareV1::NotificationConfig]
1804
1869
  attr_accessor :notification_config
1805
1870
 
1871
+ # Specifies where and whether to send notifications upon changes to a FHIR store.
1872
+ # Corresponds to the JSON property `notificationConfigs`
1873
+ # @return [Array<Google::Apis::HealthcareV1::FhirNotificationConfig>]
1874
+ attr_accessor :notification_configs
1875
+
1806
1876
  # A list of streaming configs that configure the destinations of streaming
1807
1877
  # export for every resource mutation in this FHIR store. Each store is allowed
1808
1878
  # to have up to 10 streaming configs. After a new config is added, the next
@@ -1845,6 +1915,7 @@ module Google
1845
1915
  @labels = args[:labels] if args.key?(:labels)
1846
1916
  @name = args[:name] if args.key?(:name)
1847
1917
  @notification_config = args[:notification_config] if args.key?(:notification_config)
1918
+ @notification_configs = args[:notification_configs] if args.key?(:notification_configs)
1848
1919
  @stream_configs = args[:stream_configs] if args.key?(:stream_configs)
1849
1920
  @validation_config = args[:validation_config] if args.key?(:validation_config)
1850
1921
  @version = args[:version] if args.key?(:version)
@@ -3290,7 +3361,7 @@ module Google
3290
3361
  end
3291
3362
  end
3292
3363
 
3293
- # A resource that represents Google Cloud Platform location.
3364
+ # A resource that represents a Google Cloud location.
3294
3365
  class Location
3295
3366
  include Google::Apis::Core::Hashable
3296
3367
 
@@ -4456,6 +4527,17 @@ module Google
4456
4527
  class TextConfig
4457
4528
  include Google::Apis::Core::Hashable
4458
4529
 
4530
+ # Transformations to apply to the detected data, overridden by `
4531
+ # exclude_info_types`.
4532
+ # Corresponds to the JSON property `additionalTransformations`
4533
+ # @return [Array<Google::Apis::HealthcareV1::InfoTypeTransformation>]
4534
+ attr_accessor :additional_transformations
4535
+
4536
+ # InfoTypes to skip transforming, overriding `additional_transformations`.
4537
+ # Corresponds to the JSON property `excludeInfoTypes`
4538
+ # @return [Array<String>]
4539
+ attr_accessor :exclude_info_types
4540
+
4459
4541
  # The transformations to apply to the detected data. Deprecated. Use `
4460
4542
  # additional_transformations` instead.
4461
4543
  # Corresponds to the JSON property `transformations`
@@ -4468,6 +4550,8 @@ module Google
4468
4550
 
4469
4551
  # Update properties of this object
4470
4552
  def update!(**args)
4553
+ @additional_transformations = args[:additional_transformations] if args.key?(:additional_transformations)
4554
+ @exclude_info_types = args[:exclude_info_types] if args.key?(:exclude_info_types)
4471
4555
  @transformations = args[:transformations] if args.key?(:transformations)
4472
4556
  end
4473
4557
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module HealthcareV1
18
18
  # Version of the google-apis-healthcare_v1 gem
19
- GEM_VERSION = "0.41.0"
19
+ GEM_VERSION = "0.43.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230321"
25
+ REVISION = "20230427"
26
26
  end
27
27
  end
28
28
  end
@@ -310,6 +310,12 @@ module Google
310
310
  include Google::Apis::Core::JsonObjectSupport
311
311
  end
312
312
 
313
+ class FhirNotificationConfig
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
313
319
  class FhirStore
314
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
321
 
@@ -1072,6 +1078,7 @@ module Google
1072
1078
 
1073
1079
  property :text, as: 'text', class: Google::Apis::HealthcareV1::TextConfig, decorator: Google::Apis::HealthcareV1::TextConfig::Representation
1074
1080
 
1081
+ property :use_regional_data_processing, as: 'useRegionalDataProcessing'
1075
1082
  end
1076
1083
  end
1077
1084
 
@@ -1296,6 +1303,15 @@ module Google
1296
1303
  end
1297
1304
  end
1298
1305
 
1306
+ class FhirNotificationConfig
1307
+ # @private
1308
+ class Representation < Google::Apis::Core::JsonRepresentation
1309
+ property :pubsub_topic, as: 'pubsubTopic'
1310
+ property :send_full_resource, as: 'sendFullResource'
1311
+ property :send_previous_resource_on_delete, as: 'sendPreviousResourceOnDelete'
1312
+ end
1313
+ end
1314
+
1299
1315
  class FhirStore
1300
1316
  # @private
1301
1317
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1308,6 +1324,8 @@ module Google
1308
1324
  property :name, as: 'name'
1309
1325
  property :notification_config, as: 'notificationConfig', class: Google::Apis::HealthcareV1::NotificationConfig, decorator: Google::Apis::HealthcareV1::NotificationConfig::Representation
1310
1326
 
1327
+ collection :notification_configs, as: 'notificationConfigs', class: Google::Apis::HealthcareV1::FhirNotificationConfig, decorator: Google::Apis::HealthcareV1::FhirNotificationConfig::Representation
1328
+
1311
1329
  collection :stream_configs, as: 'streamConfigs', class: Google::Apis::HealthcareV1::StreamConfig, decorator: Google::Apis::HealthcareV1::StreamConfig::Representation
1312
1330
 
1313
1331
  property :validation_config, as: 'validationConfig', class: Google::Apis::HealthcareV1::ValidationConfig, decorator: Google::Apis::HealthcareV1::ValidationConfig::Representation
@@ -2033,6 +2051,9 @@ module Google
2033
2051
  class TextConfig
2034
2052
  # @private
2035
2053
  class Representation < Google::Apis::Core::JsonRepresentation
2054
+ collection :additional_transformations, as: 'additionalTransformations', class: Google::Apis::HealthcareV1::InfoTypeTransformation, decorator: Google::Apis::HealthcareV1::InfoTypeTransformation::Representation
2055
+
2056
+ collection :exclude_info_types, as: 'excludeInfoTypes'
2036
2057
  collection :transformations, as: 'transformations', class: Google::Apis::HealthcareV1::InfoTypeTransformation, decorator: Google::Apis::HealthcareV1::InfoTypeTransformation::Representation
2037
2058
 
2038
2059
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-healthcare_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.41.0
4
+ version: 0.43.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: 2023-04-02 00:00:00.000000000 Z
11
+ date: 2023-05-14 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1/v0.41.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1/v0.43.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-healthcare_v1
63
63
  post_install_message:
64
64
  rdoc_options: []