google-apis-healthcare_v1beta1 0.83.0 → 0.84.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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/healthcare_v1beta1/classes.rb +57 -0
- data/lib/google/apis/healthcare_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/healthcare_v1beta1/representations.rb +15 -0
- data/lib/google/apis/healthcare_v1beta1/service.rb +5 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d1739e4fbef5ef36ed63839cc98d156a346adca93125754ce474968b469b726
|
4
|
+
data.tar.gz: 85fb6bdadc829b3ae8e7f4e6810a1e9bc97025087d2145c37a4074fd7ff4391a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 832f8c3a52f270da43e0b97e462acbfd86570c530b4a126b087469a8a687dbbd992a215b6c96ef576d1cedb14cbb81a1b13eec7978908acb43da7cd132dff992
|
7
|
+
data.tar.gz: b6236846823186b995a67ed0edb6b16d4c75a82701d9e70b07272a7757cfaec782c657708d66c9d47053c6adb369e2b9a96c68cfc2c75e31f1eb1af11305b80a
|
data/CHANGELOG.md
CHANGED
@@ -1970,6 +1970,56 @@ module Google
|
|
1970
1970
|
end
|
1971
1971
|
end
|
1972
1972
|
|
1973
|
+
# Contains the configuration for DICOM notifications.
|
1974
|
+
class DicomNotificationConfig
|
1975
|
+
include Google::Apis::Core::Hashable
|
1976
|
+
|
1977
|
+
# Required. The [Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that
|
1978
|
+
# notifications of changes are published on. Supplied by the client. The
|
1979
|
+
# notification is a `PubsubMessage` with the following fields: * `PubsubMessage.
|
1980
|
+
# Data` contains the resource name. * `PubsubMessage.MessageId` is the ID of
|
1981
|
+
# this notification. It is guaranteed to be unique within the topic. * `
|
1982
|
+
# PubsubMessage.PublishTime` is the time when the message was published. * `
|
1983
|
+
# PubsubMessage.Attributes` contains the following attributes: * `action`: The
|
1984
|
+
# name of the endpoint that generated the notification. Possible values are `
|
1985
|
+
# StoreInstances`, `SetBlobSettings`, `ImportDicomData`, etc. * `lastUpdatedTime`
|
1986
|
+
# : The latest timestamp when the DICOM instance was updated. * `storeName`: The
|
1987
|
+
# resource name of the DICOM store, of the form `projects/`project_id`/locations/
|
1988
|
+
# `location_id`/datasets/`dataset_id`/dicomStores/`dicom_store_id``. * `
|
1989
|
+
# studyInstanceUID`: The study UID of the DICOM instance that was changed. * `
|
1990
|
+
# seriesInstanceUID`: The series UID of the DICOM instance that was changed. * `
|
1991
|
+
# sopInstanceUID`: The instance UID of the DICOM instance that was changed. * `
|
1992
|
+
# versionId`: The version ID of the DICOM instance that was changed. * `modality`
|
1993
|
+
# : The modality tag of the DICOM instance that was changed. * `
|
1994
|
+
# previousStorageClass`: The storage class where the DICOM instance was
|
1995
|
+
# previously stored if the storage class was changed. * `storageClass`: The
|
1996
|
+
# storage class where the DICOM instance is currently stored. Note that
|
1997
|
+
# notifications are only sent if the topic is non-empty. [Topic names](https://
|
1998
|
+
# cloud.google.com/pubsub/docs/overview#names) must be scoped to a project. The
|
1999
|
+
# Cloud Healthcare API service account, service-@gcp-sa-healthcare.iam.
|
2000
|
+
# gserviceaccount.com, must have the `pubsub.topics.publish` permission (which
|
2001
|
+
# is typically included in `roles/pubsub.publisher` role) on the given Pub/Sub
|
2002
|
+
# topic. Not having adequate permissions causes the calls that send
|
2003
|
+
# notifications to fail (https://cloud.google.com/healthcare-api/docs/
|
2004
|
+
# permissions-healthcare-api-gcp-products#
|
2005
|
+
# dicom_fhir_and_hl7v2_store_cloud_pubsub_permissions). If a notification can't
|
2006
|
+
# be published to Pub/Sub, errors are logged to Cloud Logging. For more
|
2007
|
+
# information, see [Viewing error logs in Cloud Logging](https://cloud.google.
|
2008
|
+
# com/healthcare-api/docs/how-tos/logging).
|
2009
|
+
# Corresponds to the JSON property `pubsubTopic`
|
2010
|
+
# @return [String]
|
2011
|
+
attr_accessor :pubsub_topic
|
2012
|
+
|
2013
|
+
def initialize(**args)
|
2014
|
+
update!(**args)
|
2015
|
+
end
|
2016
|
+
|
2017
|
+
# Update properties of this object
|
2018
|
+
def update!(**args)
|
2019
|
+
@pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
|
2020
|
+
end
|
2021
|
+
end
|
2022
|
+
|
1973
2023
|
# Represents a DICOM store.
|
1974
2024
|
class DicomStore
|
1975
2025
|
include Google::Apis::Core::Hashable
|
@@ -1997,6 +2047,12 @@ module Google
|
|
1997
2047
|
# @return [Google::Apis::HealthcareV1beta1::NotificationConfig]
|
1998
2048
|
attr_accessor :notification_config
|
1999
2049
|
|
2050
|
+
# Optional. Specifies where and whether to send notifications upon changes to a
|
2051
|
+
# DICOM store.
|
2052
|
+
# Corresponds to the JSON property `notificationConfigs`
|
2053
|
+
# @return [Array<Google::Apis::HealthcareV1beta1::DicomNotificationConfig>]
|
2054
|
+
attr_accessor :notification_configs
|
2055
|
+
|
2000
2056
|
# Optional. A list of streaming configs used to configure the destination of
|
2001
2057
|
# streaming exports for every DICOM instance insertion in this DICOM store.
|
2002
2058
|
# After a new config is added to `stream_configs`, DICOM instance insertions are
|
@@ -2016,6 +2072,7 @@ module Google
|
|
2016
2072
|
@labels = args[:labels] if args.key?(:labels)
|
2017
2073
|
@name = args[:name] if args.key?(:name)
|
2018
2074
|
@notification_config = args[:notification_config] if args.key?(:notification_config)
|
2075
|
+
@notification_configs = args[:notification_configs] if args.key?(:notification_configs)
|
2019
2076
|
@stream_configs = args[:stream_configs] if args.key?(:stream_configs)
|
2020
2077
|
end
|
2021
2078
|
end
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.84.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250625"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -364,6 +364,12 @@ module Google
|
|
364
364
|
include Google::Apis::Core::JsonObjectSupport
|
365
365
|
end
|
366
366
|
|
367
|
+
class DicomNotificationConfig
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
|
+
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
371
|
+
end
|
372
|
+
|
367
373
|
class DicomStore
|
368
374
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
375
|
|
@@ -1780,6 +1786,13 @@ module Google
|
|
1780
1786
|
end
|
1781
1787
|
end
|
1782
1788
|
|
1789
|
+
class DicomNotificationConfig
|
1790
|
+
# @private
|
1791
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1792
|
+
property :pubsub_topic, as: 'pubsubTopic'
|
1793
|
+
end
|
1794
|
+
end
|
1795
|
+
|
1783
1796
|
class DicomStore
|
1784
1797
|
# @private
|
1785
1798
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1787,6 +1800,8 @@ module Google
|
|
1787
1800
|
property :name, as: 'name'
|
1788
1801
|
property :notification_config, as: 'notificationConfig', class: Google::Apis::HealthcareV1beta1::NotificationConfig, decorator: Google::Apis::HealthcareV1beta1::NotificationConfig::Representation
|
1789
1802
|
|
1803
|
+
collection :notification_configs, as: 'notificationConfigs', class: Google::Apis::HealthcareV1beta1::DicomNotificationConfig, decorator: Google::Apis::HealthcareV1beta1::DicomNotificationConfig::Representation
|
1804
|
+
|
1790
1805
|
collection :stream_configs, as: 'streamConfigs', class: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1DicomStreamConfig, decorator: Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1DicomStreamConfig::Representation
|
1791
1806
|
|
1792
1807
|
end
|
@@ -6278,10 +6278,11 @@ module Google
|
|
6278
6278
|
# by the FHIR store contain a JSON-encoded `OperationOutcome` resource
|
6279
6279
|
# describing the reason for the error. If the request cannot be mapped to a
|
6280
6280
|
# valid API method on a FHIR store, a generic GCP error might be returned
|
6281
|
-
# instead.
|
6282
|
-
# including the wildcard behaviour
|
6283
|
-
#
|
6284
|
-
#
|
6281
|
+
# instead. The conditional update interaction If-None-Match is supported,
|
6282
|
+
# including the wildcard behaviour, as defined by the R5 spec. This
|
6283
|
+
# functionality is supported in R4 and R5. For samples that show how to call `
|
6284
|
+
# update`, see [Updating a FHIR resource](https://cloud.google.com/healthcare/
|
6285
|
+
# docs/how-tos/fhir-resources#updating_a_fhir_resource).
|
6285
6286
|
# @param [String] name
|
6286
6287
|
# Required. The name of the resource to update.
|
6287
6288
|
# @param [Google::Apis::HealthcareV1beta1::HttpBody] http_body_object
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-healthcare_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.84.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-healthcare_v1beta1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1beta1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1beta1/v0.84.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-healthcare_v1beta1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|