google-apis-healthcare_v1 0.76.0 → 0.77.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3bd20dfe2824ea547cc7236fae21ed0a346c8a57ea1d5b4d5e3f6ab826660701
|
4
|
+
data.tar.gz: 3fb06aa819a9df21135909c3fb81dbcf7ce47e83e7a6a420b84e08dd8e635251
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da22b71f279d69145e988a0bd08a8d81960b2170935b973b4d4fea587d0d19e9180f699593b8cfe1eb2de553a2c08498f522c458cd6a6120372d7055b06b97e9
|
7
|
+
data.tar.gz: 9db8c747d018377409d5c34602ff48b45e210bee83b0163ad57b45733e71b24b2d05f15775dad099a05deb4044fdd43beb9f14a5f8162a9b0e8a1c6b91ef340c
|
data/CHANGELOG.md
CHANGED
@@ -1683,6 +1683,56 @@ module Google
|
|
1683
1683
|
end
|
1684
1684
|
end
|
1685
1685
|
|
1686
|
+
# Contains the configuration for DICOM notifications.
|
1687
|
+
class DicomNotificationConfig
|
1688
|
+
include Google::Apis::Core::Hashable
|
1689
|
+
|
1690
|
+
# Required. The [Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that
|
1691
|
+
# notifications of changes are published on. Supplied by the client. The
|
1692
|
+
# notification is a `PubsubMessage` with the following fields: * `PubsubMessage.
|
1693
|
+
# Data` contains the resource name. * `PubsubMessage.MessageId` is the ID of
|
1694
|
+
# this notification. It is guaranteed to be unique within the topic. * `
|
1695
|
+
# PubsubMessage.PublishTime` is the time when the message was published. * `
|
1696
|
+
# PubsubMessage.Attributes` contains the following attributes: * `action`: The
|
1697
|
+
# name of the endpoint that generated the notification. Possible values are `
|
1698
|
+
# StoreInstances`, `SetBlobSettings`, `ImportDicomData`, etc. * `lastUpdatedTime`
|
1699
|
+
# : The latest timestamp when the DICOM instance was updated. * `storeName`: The
|
1700
|
+
# resource name of the DICOM store, of the form `projects/`project_id`/locations/
|
1701
|
+
# `location_id`/datasets/`dataset_id`/dicomStores/`dicom_store_id``. * `
|
1702
|
+
# studyInstanceUID`: The study UID of the DICOM instance that was changed. * `
|
1703
|
+
# seriesInstanceUID`: The series UID of the DICOM instance that was changed. * `
|
1704
|
+
# sopInstanceUID`: The instance UID of the DICOM instance that was changed. * `
|
1705
|
+
# versionId`: The version ID of the DICOM instance that was changed. * `modality`
|
1706
|
+
# : The modality tag of the DICOM instance that was changed. * `
|
1707
|
+
# previousStorageClass`: The storage class where the DICOM instance was
|
1708
|
+
# previously stored if the storage class was changed. * `storageClass`: The
|
1709
|
+
# storage class where the DICOM instance is currently stored. Note that
|
1710
|
+
# notifications are only sent if the topic is non-empty. [Topic names](https://
|
1711
|
+
# cloud.google.com/pubsub/docs/overview#names) must be scoped to a project. The
|
1712
|
+
# Cloud Healthcare API service account, service-@gcp-sa-healthcare.iam.
|
1713
|
+
# gserviceaccount.com, must have the `pubsub.topics.publish` permission (which
|
1714
|
+
# is typically included in `roles/pubsub.publisher` role) on the given Pub/Sub
|
1715
|
+
# topic. Not having adequate permissions causes the calls that send
|
1716
|
+
# notifications to fail (https://cloud.google.com/healthcare-api/docs/
|
1717
|
+
# permissions-healthcare-api-gcp-products#
|
1718
|
+
# dicom_fhir_and_hl7v2_store_cloud_pubsub_permissions). If a notification can't
|
1719
|
+
# be published to Pub/Sub, errors are logged to Cloud Logging. For more
|
1720
|
+
# information, see [Viewing error logs in Cloud Logging](https://cloud.google.
|
1721
|
+
# com/healthcare-api/docs/how-tos/logging).
|
1722
|
+
# Corresponds to the JSON property `pubsubTopic`
|
1723
|
+
# @return [String]
|
1724
|
+
attr_accessor :pubsub_topic
|
1725
|
+
|
1726
|
+
def initialize(**args)
|
1727
|
+
update!(**args)
|
1728
|
+
end
|
1729
|
+
|
1730
|
+
# Update properties of this object
|
1731
|
+
def update!(**args)
|
1732
|
+
@pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
|
1733
|
+
end
|
1734
|
+
end
|
1735
|
+
|
1686
1736
|
# Represents a DICOM store.
|
1687
1737
|
class DicomStore
|
1688
1738
|
include Google::Apis::Core::Hashable
|
@@ -1710,6 +1760,12 @@ module Google
|
|
1710
1760
|
# @return [Google::Apis::HealthcareV1::NotificationConfig]
|
1711
1761
|
attr_accessor :notification_config
|
1712
1762
|
|
1763
|
+
# Optional. Specifies where and whether to send notifications upon changes to a
|
1764
|
+
# DICOM store.
|
1765
|
+
# Corresponds to the JSON property `notificationConfigs`
|
1766
|
+
# @return [Array<Google::Apis::HealthcareV1::DicomNotificationConfig>]
|
1767
|
+
attr_accessor :notification_configs
|
1768
|
+
|
1713
1769
|
# Optional. A list of streaming configs used to configure the destination of
|
1714
1770
|
# streaming exports for every DICOM instance insertion in this DICOM store.
|
1715
1771
|
# After a new config is added to `stream_configs`, DICOM instance insertions are
|
@@ -1729,6 +1785,7 @@ module Google
|
|
1729
1785
|
@labels = args[:labels] if args.key?(:labels)
|
1730
1786
|
@name = args[:name] if args.key?(:name)
|
1731
1787
|
@notification_config = args[:notification_config] if args.key?(:notification_config)
|
1788
|
+
@notification_configs = args[:notification_configs] if args.key?(:notification_configs)
|
1732
1789
|
@stream_configs = args[:stream_configs] if args.key?(:stream_configs)
|
1733
1790
|
end
|
1734
1791
|
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.
|
19
|
+
GEM_VERSION = "0.77.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
|
@@ -292,6 +292,12 @@ module Google
|
|
292
292
|
include Google::Apis::Core::JsonObjectSupport
|
293
293
|
end
|
294
294
|
|
295
|
+
class DicomNotificationConfig
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
295
301
|
class DicomStore
|
296
302
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
303
|
|
@@ -1493,6 +1499,13 @@ module Google
|
|
1493
1499
|
end
|
1494
1500
|
end
|
1495
1501
|
|
1502
|
+
class DicomNotificationConfig
|
1503
|
+
# @private
|
1504
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1505
|
+
property :pubsub_topic, as: 'pubsubTopic'
|
1506
|
+
end
|
1507
|
+
end
|
1508
|
+
|
1496
1509
|
class DicomStore
|
1497
1510
|
# @private
|
1498
1511
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1500,6 +1513,8 @@ module Google
|
|
1500
1513
|
property :name, as: 'name'
|
1501
1514
|
property :notification_config, as: 'notificationConfig', class: Google::Apis::HealthcareV1::NotificationConfig, decorator: Google::Apis::HealthcareV1::NotificationConfig::Representation
|
1502
1515
|
|
1516
|
+
collection :notification_configs, as: 'notificationConfigs', class: Google::Apis::HealthcareV1::DicomNotificationConfig, decorator: Google::Apis::HealthcareV1::DicomNotificationConfig::Representation
|
1517
|
+
|
1503
1518
|
collection :stream_configs, as: 'streamConfigs', class: Google::Apis::HealthcareV1::GoogleCloudHealthcareV1DicomStreamConfig, decorator: Google::Apis::HealthcareV1::GoogleCloudHealthcareV1DicomStreamConfig::Representation
|
1504
1519
|
|
1505
1520
|
end
|
@@ -3468,6 +3468,50 @@ module Google
|
|
3468
3468
|
execute_or_queue_command(command, &block)
|
3469
3469
|
end
|
3470
3470
|
|
3471
|
+
# Returns uncompressed, unencoded bytes representing the referenced bulkdata tag
|
3472
|
+
# from an instance. See [Retrieve Transaction] (http://dicom.nema.org/medical/
|
3473
|
+
# dicom/current/output/html/part18.html#sect_10.4)`: .external`. For details on
|
3474
|
+
# the implementation of RetrieveBulkdata, see [Bulkdata resources](https://cloud.
|
3475
|
+
# google.com/healthcare/docs/dicom#bulkdata-resources) in the Cloud Healthcare
|
3476
|
+
# API conformance statement. For samples that show how to call RetrieveBulkdata,
|
3477
|
+
# see [Retrieve bulkdata](https://cloud.google.com/healthcare/docs/how-tos/
|
3478
|
+
# dicomweb#retrieve-bulkdata).
|
3479
|
+
# @param [String] parent
|
3480
|
+
# Required. The name of the DICOM store that is being accessed. For example, `
|
3481
|
+
# projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
|
3482
|
+
# dicomStores/`dicom_store_id``.
|
3483
|
+
# @param [String] dicom_web_path
|
3484
|
+
# Required. The path for the `RetrieveBulkdata` DICOMweb request. For example, `
|
3485
|
+
# studies/`study_uid`/series/`series_uid`/instances/`instance_uid`/bukdata/`
|
3486
|
+
# bulkdata_uri``.
|
3487
|
+
# @param [String] fields
|
3488
|
+
# Selector specifying which fields to include in a partial response.
|
3489
|
+
# @param [String] quota_user
|
3490
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3491
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3492
|
+
# @param [Google::Apis::RequestOptions] options
|
3493
|
+
# Request-specific options
|
3494
|
+
#
|
3495
|
+
# @yield [result, err] Result & error if block supplied
|
3496
|
+
# @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
|
3497
|
+
# @yieldparam err [StandardError] error object if request failed
|
3498
|
+
#
|
3499
|
+
# @return [Google::Apis::HealthcareV1::HttpBody]
|
3500
|
+
#
|
3501
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3502
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3503
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3504
|
+
def retrieve_project_location_dataset_dicom_store_study_series_instance_bulkdatum_bulkdata(parent, dicom_web_path, fields: nil, quota_user: nil, options: nil, &block)
|
3505
|
+
command = make_simple_command(:get, 'v1/{+parent}/dicomWeb/{+dicomWebPath}', options)
|
3506
|
+
command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
|
3507
|
+
command.response_class = Google::Apis::HealthcareV1::HttpBody
|
3508
|
+
command.params['parent'] = parent unless parent.nil?
|
3509
|
+
command.params['dicomWebPath'] = dicom_web_path unless dicom_web_path.nil?
|
3510
|
+
command.query['fields'] = fields unless fields.nil?
|
3511
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3512
|
+
execute_or_queue_command(command, &block)
|
3513
|
+
end
|
3514
|
+
|
3471
3515
|
# RetrieveFrames returns instances associated with the given study, series, SOP
|
3472
3516
|
# Instance UID and frame numbers. See [RetrieveTransaction] (http://dicom.nema.
|
3473
3517
|
# org/medical/dicom/current/output/html/part18.html#sect_10.4`. For details on
|
@@ -5627,10 +5671,11 @@ module Google
|
|
5627
5671
|
# by the FHIR store contain a JSON-encoded `OperationOutcome` resource
|
5628
5672
|
# describing the reason for the error. If the request cannot be mapped to a
|
5629
5673
|
# valid API method on a FHIR store, a generic GCP error might be returned
|
5630
|
-
# instead.
|
5631
|
-
# including the wildcard behaviour
|
5632
|
-
#
|
5633
|
-
#
|
5674
|
+
# instead. The conditional update interaction If-None-Match is supported,
|
5675
|
+
# including the wildcard behaviour, as defined by the R5 spec. This
|
5676
|
+
# functionality is supported in R4 and R5. For samples that show how to call `
|
5677
|
+
# update`, see [Updating a FHIR resource](https://cloud.google.com/healthcare/
|
5678
|
+
# docs/how-tos/fhir-resources#updating_a_fhir_resource).
|
5634
5679
|
# @param [String] name
|
5635
5680
|
# Required. The name of the resource to update.
|
5636
5681
|
# @param [Google::Apis::HealthcareV1::HttpBody] http_body_object
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-healthcare_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.77.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_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1/v0.77.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-healthcare_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|