google-apis-healthcare_v1 0.40.0 → 0.42.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: aaea132f567100b10982bdbb286f918243cbab2864171aef277f56e2a6d4c9b4
4
- data.tar.gz: 980ea5f1a92e057e1dc16ab258ce423899fbf16dc7bc9b57aff367670a1104c7
3
+ metadata.gz: ef902ed07a1c25ecdf1e3a77edc1d06ffe5324e241c35a336e3a387b850f54db
4
+ data.tar.gz: d2f6ede93b859a6c270b0a73b8638d6b2d53eabfd9eb62cb49c36e527b59554c
5
5
  SHA512:
6
- metadata.gz: 5ac3ebc2b0aaa772fe64c2c14305ad67c904a01a77200c671996cedb3bca2aed7b3e38920f0f0b7b35aef8c93abf04d2daf9469e5d560022f683a6e651dfc86d
7
- data.tar.gz: 3f5f9f7f504e580ae7bf81f2c200fa9382f4f1d029f02d303b46fec134089d3627e930fab772ab648e678ed29bc9034c22c0b08a379dade67890ff6a497f0b01
6
+ metadata.gz: abbd85f1aa077499bf401296ecfdf5b831aad0f779905807897868da29e9a4c2c7860c7b75909baaa2785a7a1ad0d8a80bdaade036d970a22f226d2bc1a05105
7
+ data.tar.gz: 0c65ee82a1de714a7a443d15c57e0fb549c26d72e48590853a20ee9f429138935bb9a03016fc59abf6717078bfe1472fb2cc517e86cbb57e47a715863e862042
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.41.0 (2023-04-02)
8
+
9
+ * Regenerated from discovery document revision 20230321
10
+
3
11
  ### v0.40.0 (2023-03-19)
4
12
 
5
13
  * Regenerated from discovery document revision 20230310
@@ -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.40.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 = "20230310"
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
@@ -4301,17 +4301,18 @@ module Google
4301
4301
  # _count`, `_include`, `_revinclude`, `_summary=text`, `_summary=data`, and `
4302
4302
  # _elements`. The maximum number of search results returned defaults to 100,
4303
4303
  # which can be overridden by the `_count` parameter up to a maximum limit of
4304
- # 1000. If there are additional results, the returned `Bundle` contains a link
4305
- # of `relation` "next", which has a `_page_token` parameter for an opaque
4306
- # pagination token that can be used to retrieve the next page. Resources with a
4307
- # total size larger than 5MB or a field count larger than 50,000 might not be
4308
- # fully searchable as the server might trim its generated search index in those
4309
- # cases. Note: FHIR resources are indexed asynchronously, so there might be a
4310
- # slight delay between the time a resource is created or changes and when the
4311
- # change is reflected in search results. For samples and detailed information,
4312
- # see [Searching for FHIR resources](https://cloud.google.com/healthcare/docs/
4313
- # how-tos/fhir-search) and [Advanced FHIR search features](https://cloud.google.
4314
- # com/healthcare/docs/how-tos/fhir-advanced-search).
4304
+ # 1000. The server might return fewer resources than requested to prevent
4305
+ # excessively large responses. If there are additional results, the returned `
4306
+ # Bundle` contains a link of `relation` "next", which has a `_page_token`
4307
+ # parameter for an opaque pagination token that can be used to retrieve the next
4308
+ # page. Resources with a total size larger than 5MB or a field count larger than
4309
+ # 50,000 might not be fully searchable as the server might trim its generated
4310
+ # search index in those cases. Note: FHIR resources are indexed asynchronously,
4311
+ # so there might be a slight delay between the time a resource is created or
4312
+ # changes and when the change is reflected in search results. For samples and
4313
+ # detailed information, see [Searching for FHIR resources](https://cloud.google.
4314
+ # com/healthcare/docs/how-tos/fhir-search) and [Advanced FHIR search features](
4315
+ # https://cloud.google.com/healthcare/docs/how-tos/fhir-advanced-search).
4315
4316
  # @param [String] parent
4316
4317
  # Name of the FHIR store to retrieve resources from.
4317
4318
  # @param [Google::Apis::HealthcareV1::SearchResourcesRequest] search_resources_request_object
@@ -4378,17 +4379,18 @@ module Google
4378
4379
  # _count`, `_include`, `_revinclude`, `_summary=text`, `_summary=data`, and `
4379
4380
  # _elements`. The maximum number of search results returned defaults to 100,
4380
4381
  # which can be overridden by the `_count` parameter up to a maximum limit of
4381
- # 1000. If there are additional results, the returned `Bundle` contains a link
4382
- # of `relation` "next", which has a `_page_token` parameter for an opaque
4383
- # pagination token that can be used to retrieve the next page. Resources with a
4384
- # total size larger than 5MB or a field count larger than 50,000 might not be
4385
- # fully searchable as the server might trim its generated search index in those
4386
- # cases. Note: FHIR resources are indexed asynchronously, so there might be a
4387
- # slight delay between the time a resource is created or changes and when the
4388
- # change is reflected in search results. For samples and detailed information,
4389
- # see [Searching for FHIR resources](https://cloud.google.com/healthcare/docs/
4390
- # how-tos/fhir-search) and [Advanced FHIR search features](https://cloud.google.
4391
- # com/healthcare/docs/how-tos/fhir-advanced-search).
4382
+ # 1000. The server might return fewer resources than requested to prevent
4383
+ # excessively large responses. If there are additional results, the returned `
4384
+ # Bundle` contains a link of `relation` "next", which has a `_page_token`
4385
+ # parameter for an opaque pagination token that can be used to retrieve the next
4386
+ # page. Resources with a total size larger than 5MB or a field count larger than
4387
+ # 50,000 might not be fully searchable as the server might trim its generated
4388
+ # search index in those cases. Note: FHIR resources are indexed asynchronously,
4389
+ # so there might be a slight delay between the time a resource is created or
4390
+ # changes and when the change is reflected in search results. For samples and
4391
+ # detailed information, see [Searching for FHIR resources](https://cloud.google.
4392
+ # com/healthcare/docs/how-tos/fhir-search) and [Advanced FHIR search features](
4393
+ # https://cloud.google.com/healthcare/docs/how-tos/fhir-advanced-search).
4392
4394
  # @param [String] parent
4393
4395
  # Name of the FHIR store to retrieve resources from.
4394
4396
  # @param [String] resource_type
@@ -4943,7 +4945,7 @@ module Google
4943
4945
  # adapter is configured to listen to a Pub/Sub topic, the adapter transmits the
4944
4946
  # message when a notification is received.
4945
4947
  # @param [String] parent
4946
- # The name of the dataset this message belongs to.
4948
+ # The name of the HL7v2 store this message belongs to.
4947
4949
  # @param [Google::Apis::HealthcareV1::CreateMessageRequest] create_message_request_object
4948
4950
  # @param [String] fields
4949
4951
  # Selector specifying which fields to include in a partial response.
@@ -5285,13 +5287,7 @@ module Google
5285
5287
  end
5286
5288
 
5287
5289
  # Lists operations that match the specified filter in the request. If the server
5288
- # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
5289
- # binding allows API services to override the binding to use different resource
5290
- # name schemes, such as `users/*/operations`. To override the binding, API
5291
- # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
5292
- # service configuration. For backwards compatibility, the default name includes
5293
- # the operations collection id, however overriding users must ensure the name
5294
- # binding is the parent resource, without the operations collection id.
5290
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
5295
5291
  # @param [String] name
5296
5292
  # The name of the operation's parent resource.
5297
5293
  # @param [String] filter
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.40.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-03-19 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.40.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: []