google-apis-healthcare_v1 0.41.0 → 0.42.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8c3eb5b6d2effa0e6ea4757805ec96afd238a1c3c3533f8c4f2b21b3071affd8
4
- data.tar.gz: b1c62e2327b2b19f04cf6a748cd72e123223d1bc5a6e9ed60ff0d5a64210a1de
3
+ metadata.gz: ef902ed07a1c25ecdf1e3a77edc1d06ffe5324e241c35a336e3a387b850f54db
4
+ data.tar.gz: d2f6ede93b859a6c270b0a73b8638d6b2d53eabfd9eb62cb49c36e527b59554c
5
5
  SHA512:
6
- metadata.gz: 2538360829508eb2e75a2d60f4862be4f37a75ba9ead19647cfb6252333916a44ab3f8b66d00d9282853aa0c3673e597873d6b94a196b7865cfcaaa1ffc35c84
7
- data.tar.gz: d346b399b86602cb406940e6abd6b41c1ed3f9c6ac409144be2e60a138da331338757f96fb3b46f00e3d545eae6b7261b4d00caf53199878ad2ffe91e45c4c23
6
+ metadata.gz: abbd85f1aa077499bf401296ecfdf5b831aad0f779905807897868da29e9a4c2c7860c7b75909baaa2785a7a1ad0d8a80bdaade036d970a22f226d2bc1a05105
7
+ data.tar.gz: 0c65ee82a1de714a7a443d15c57e0fb549c26d72e48590853a20ee9f429138935bb9a03016fc59abf6717078bfe1472fb2cc517e86cbb57e47a715863e862042
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-healthcare_v1
2
2
 
3
+ ### v0.42.0 (2023-04-30)
4
+
5
+ * Regenerated from discovery document revision 20230412
6
+
3
7
  ### v0.41.0 (2023-04-02)
4
8
 
5
9
  * Regenerated from discovery document revision 20230321
@@ -1715,6 +1715,60 @@ module Google
1715
1715
  end
1716
1716
  end
1717
1717
 
1718
+ # Contains the configuration for FHIR notifications.
1719
+ class FhirNotificationConfig
1720
+ include Google::Apis::Core::Hashable
1721
+
1722
+ # The [Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that notifications
1723
+ # of changes are published on. Supplied by the client. The notification is a `
1724
+ # PubsubMessage` with the following fields: * `PubsubMessage.Data` contains the
1725
+ # resource name. * `PubsubMessage.MessageId` is the ID of this notification. It
1726
+ # is guaranteed to be unique within the topic. * `PubsubMessage.PublishTime` is
1727
+ # the time when the message was published. Note that notifications are only sent
1728
+ # if the topic is non-empty. [Topic names](https://cloud.google.com/pubsub/docs/
1729
+ # overview#names) must be scoped to a project. The Cloud Healthcare API service
1730
+ # account, service-@gcp-sa-healthcare.iam.gserviceaccount.com, must have
1731
+ # publisher permissions on the given Pub/Sub topic. Not having adequate
1732
+ # permissions causes the calls that send notifications to fail (https://cloud.
1733
+ # google.com/healthcare-api/docs/permissions-healthcare-api-gcp-products#
1734
+ # dicom_fhir_and_hl7v2_store_cloud_pubsub_permissions). If a notification can't
1735
+ # be published to Pub/Sub, errors are logged to Cloud Logging. For more
1736
+ # information, see [Viewing error logs in Cloud Logging](https://cloud.google.
1737
+ # com/healthcare-api/docs/how-tos/logging).
1738
+ # Corresponds to the JSON property `pubsubTopic`
1739
+ # @return [String]
1740
+ attr_accessor :pubsub_topic
1741
+
1742
+ # Whether to send full FHIR resource to this Pub/Sub topic.
1743
+ # Corresponds to the JSON property `sendFullResource`
1744
+ # @return [Boolean]
1745
+ attr_accessor :send_full_resource
1746
+ alias_method :send_full_resource?, :send_full_resource
1747
+
1748
+ # Whether to send full FHIR resource to this pubsub topic for deleting FHIR
1749
+ # resource. Note that setting this to true does not guarantee that all previous
1750
+ # resources will be sent in the format of full FHIR resource. When a resource
1751
+ # change is too large or during heavy traffic, only the resource name will be
1752
+ # sent. Clients should always check the "payloadType" label from a Pub/Sub
1753
+ # message to determine whether it needs to fetch the full previous resource as a
1754
+ # separate operation.
1755
+ # Corresponds to the JSON property `sendPreviousResourceOnDelete`
1756
+ # @return [Boolean]
1757
+ attr_accessor :send_previous_resource_on_delete
1758
+ alias_method :send_previous_resource_on_delete?, :send_previous_resource_on_delete
1759
+
1760
+ def initialize(**args)
1761
+ update!(**args)
1762
+ end
1763
+
1764
+ # Update properties of this object
1765
+ def update!(**args)
1766
+ @pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
1767
+ @send_full_resource = args[:send_full_resource] if args.key?(:send_full_resource)
1768
+ @send_previous_resource_on_delete = args[:send_previous_resource_on_delete] if args.key?(:send_previous_resource_on_delete)
1769
+ end
1770
+ end
1771
+
1718
1772
  # Represents a FHIR store.
1719
1773
  class FhirStore
1720
1774
  include Google::Apis::Core::Hashable
@@ -1803,6 +1857,11 @@ module Google
1803
1857
  # @return [Google::Apis::HealthcareV1::NotificationConfig]
1804
1858
  attr_accessor :notification_config
1805
1859
 
1860
+ # Specifies where and whether to send notifications upon changes to a FHIR store.
1861
+ # Corresponds to the JSON property `notificationConfigs`
1862
+ # @return [Array<Google::Apis::HealthcareV1::FhirNotificationConfig>]
1863
+ attr_accessor :notification_configs
1864
+
1806
1865
  # A list of streaming configs that configure the destinations of streaming
1807
1866
  # export for every resource mutation in this FHIR store. Each store is allowed
1808
1867
  # to have up to 10 streaming configs. After a new config is added, the next
@@ -1845,6 +1904,7 @@ module Google
1845
1904
  @labels = args[:labels] if args.key?(:labels)
1846
1905
  @name = args[:name] if args.key?(:name)
1847
1906
  @notification_config = args[:notification_config] if args.key?(:notification_config)
1907
+ @notification_configs = args[:notification_configs] if args.key?(:notification_configs)
1848
1908
  @stream_configs = args[:stream_configs] if args.key?(:stream_configs)
1849
1909
  @validation_config = args[:validation_config] if args.key?(:validation_config)
1850
1910
  @version = args[:version] if args.key?(:version)
@@ -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.42.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 = "20230412"
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
 
@@ -1296,6 +1302,15 @@ module Google
1296
1302
  end
1297
1303
  end
1298
1304
 
1305
+ class FhirNotificationConfig
1306
+ # @private
1307
+ class Representation < Google::Apis::Core::JsonRepresentation
1308
+ property :pubsub_topic, as: 'pubsubTopic'
1309
+ property :send_full_resource, as: 'sendFullResource'
1310
+ property :send_previous_resource_on_delete, as: 'sendPreviousResourceOnDelete'
1311
+ end
1312
+ end
1313
+
1299
1314
  class FhirStore
1300
1315
  # @private
1301
1316
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1308,6 +1323,8 @@ module Google
1308
1323
  property :name, as: 'name'
1309
1324
  property :notification_config, as: 'notificationConfig', class: Google::Apis::HealthcareV1::NotificationConfig, decorator: Google::Apis::HealthcareV1::NotificationConfig::Representation
1310
1325
 
1326
+ collection :notification_configs, as: 'notificationConfigs', class: Google::Apis::HealthcareV1::FhirNotificationConfig, decorator: Google::Apis::HealthcareV1::FhirNotificationConfig::Representation
1327
+
1311
1328
  collection :stream_configs, as: 'streamConfigs', class: Google::Apis::HealthcareV1::StreamConfig, decorator: Google::Apis::HealthcareV1::StreamConfig::Representation
1312
1329
 
1313
1330
  property :validation_config, as: 'validationConfig', class: Google::Apis::HealthcareV1::ValidationConfig, decorator: Google::Apis::HealthcareV1::ValidationConfig::Representation
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.42.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-04-30 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.42.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: []