google-apis-healthcare_v1 0.44.0 → 0.45.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: 5e3133bebf54fdb88b9fcef20883c0e8b4f68ef92df87b149913a0d24d056ff8
4
- data.tar.gz: 9ce5ff9d230ae88898b0fe1e9416d74d9113fcc32e75b89591b5c3a4d69552cd
3
+ metadata.gz: e248445cb6bfd9748b4df566be9d0b3e750c21c9db304256cd99f020e8f6240f
4
+ data.tar.gz: f64fd449be6209293b6a8a7eb696e983cc11801381ce071507bc6c4dfcd6c256
5
5
  SHA512:
6
- metadata.gz: 5a8ef3bd03ecf8943c60ac31d3becf8696f55eacadd32d9fc4fb98d36606f2c3a4503f3279234595db4ca9f4c2972d167442440bf335177826d2616e15e3f37a
7
- data.tar.gz: 07a6fdc5f58703c191330f0fb6bcd5b28bfbf5e61747897f01a7a58f3d326610bd50941ee30ed4f6bb42f9be2baa5e56f54a33908da0ef5d817edda1aee62ea7
6
+ metadata.gz: ab430c113e6b8d3abaede637d13af29a23d517868821056638e82fb6e2bc68817f1d79e2e5b88a8c946dd67435fff68af69b12e7973e74ebeae624ab880a7fcf
7
+ data.tar.gz: fd493494d204d5ae3c68daa455dbeb3e10628f668e6003d006ffb5d156beb374a135d4b60eac6877ab8881c9f13deb8fca0df7928786e1da6970d4cdacac3c53
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-healthcare_v1
2
2
 
3
+ ### v0.45.0 (2023-07-09)
4
+
5
+ * Regenerated from discovery document revision 20230627
6
+
3
7
  ### v0.44.0 (2023-05-28)
4
8
 
5
9
  * Regenerated from discovery document revision 20230510
@@ -1186,6 +1186,16 @@ module Google
1186
1186
  # @return [Google::Apis::HealthcareV1::NotificationConfig]
1187
1187
  attr_accessor :notification_config
1188
1188
 
1189
+ # Optional. A list of streaming configs used to configure the destination of
1190
+ # streaming exports for every DICOM instance insertion in this DICOM store.
1191
+ # After a new config is added to `stream_configs`, DICOM instance insertions are
1192
+ # streamed to the new destination. When a config is removed from `stream_configs`
1193
+ # , the server stops streaming to that destination. Each config must contain a
1194
+ # unique destination.
1195
+ # Corresponds to the JSON property `streamConfigs`
1196
+ # @return [Array<Google::Apis::HealthcareV1::GoogleCloudHealthcareV1DicomStreamConfig>]
1197
+ attr_accessor :stream_configs
1198
+
1189
1199
  def initialize(**args)
1190
1200
  update!(**args)
1191
1201
  end
@@ -1195,6 +1205,7 @@ module Google
1195
1205
  @labels = args[:labels] if args.key?(:labels)
1196
1206
  @name = args[:name] if args.key?(:name)
1197
1207
  @notification_config = args[:notification_config] if args.key?(:notification_config)
1208
+ @stream_configs = args[:stream_configs] if args.key?(:stream_configs)
1198
1209
  end
1199
1210
  end
1200
1211
 
@@ -1497,6 +1508,47 @@ module Google
1497
1508
  # @return [String]
1498
1509
  attr_accessor :end_time
1499
1510
 
1511
+ # Restricts messages exported to those matching a filter, only applicable to
1512
+ # PubsubDestination and GcsDestination. The following syntax is available: * A
1513
+ # string field value can be written as text inside quotation marks, for example `
1514
+ # "query text"`. The only valid relational operation for text fields is equality
1515
+ # (`=`), where text is searched within the field, rather than having the field
1516
+ # be equal to the text. For example, `"Comment = great"` returns messages with `
1517
+ # great` in the comment field. * A number field value can be written as an
1518
+ # integer, a decimal, or an exponential. The valid relational operators for
1519
+ # number fields are the equality operator (`=`), along with the less than/
1520
+ # greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no
1521
+ # inequality (`!=`) operator. You can prepend the `NOT` operator to an
1522
+ # expression to negate it. * A date field value must be written in the `yyyy-mm-
1523
+ # dd` format. Fields with date and time use the RFC3339 time format. Leading
1524
+ # zeros are required for one-digit months and days. The valid relational
1525
+ # operators for date fields are the equality operator (`=`) , along with the
1526
+ # less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no
1527
+ # inequality (`!=`) operator. You can prepend the `NOT` operator to an
1528
+ # expression to negate it. * Multiple field query expressions can be combined in
1529
+ # one query by adding `AND` or `OR` operators between the expressions. If a
1530
+ # boolean operator appears within a quoted string, it is not treated as special,
1531
+ # and is just another part of the character string to be matched. You can
1532
+ # prepend the `NOT` operator to an expression to negate it. The following fields
1533
+ # and functions are available for filtering: * `message_type`, from the MSH-9.1
1534
+ # field. For example, `NOT message_type = "ADT"`. * `send_date` or `sendDate`,
1535
+ # the `yyyy-mm-dd` date the message was sent in the dataset's time_zone, from
1536
+ # the MSH-7 segment. For example, `send_date < "2017-01-02"`. * `send_time`, the
1537
+ # timestamp when the message was sent, using the RFC3339 time format for
1538
+ # comparisons, from the MSH-7 segment. For example, `send_time < "2017-01-02T00:
1539
+ # 00:00-05:00"`. * `create_time`, the timestamp when the message was created in
1540
+ # the HL7v2 store. Use the RFC3339 time format for comparisons. For example, `
1541
+ # create_time < "2017-01-02T00:00:00-05:00"`. * `send_facility`, the care center
1542
+ # that the message came from, from the MSH-4 segment. For example, `
1543
+ # send_facility = "ABC"`. Note: The filter will be applied to every message in
1544
+ # the HL7v2 store whose `send_time` lies in the range defined by the `start_time`
1545
+ # and the `end_time`. Even if the filter only matches a small set of messages,
1546
+ # the export operation can still take a long time to finish when a lot of
1547
+ # messages are between the specified `start_time` and `end_time` range.
1548
+ # Corresponds to the JSON property `filter`
1549
+ # @return [String]
1550
+ attr_accessor :filter
1551
+
1500
1552
  # The Cloud Storage output destination. The Cloud Healthcare Service Agent
1501
1553
  # requires the `roles/storage.objectAdmin` Cloud IAM roles on the Cloud Storage
1502
1554
  # location.
@@ -1504,6 +1556,12 @@ module Google
1504
1556
  # @return [Google::Apis::HealthcareV1::GcsDestination]
1505
1557
  attr_accessor :gcs_destination
1506
1558
 
1559
+ # The Pub/Sub output destination. The Cloud Healthcare Service Agent requires
1560
+ # the `roles/pubsub.publisher` Cloud IAM role on the Pub/Sub topic.
1561
+ # Corresponds to the JSON property `pubsubDestination`
1562
+ # @return [Google::Apis::HealthcareV1::PubsubDestination]
1563
+ attr_accessor :pubsub_destination
1564
+
1507
1565
  # The start of the range in `send_time` (MSH.7, https://www.hl7.org/
1508
1566
  # documentcenter/public_temp_2E58C1F9-1C23-BA17-0C6126475344DA9D/wg/conf/HL7MSH.
1509
1567
  # htm) to process. If not specified, the UNIX epoch (1970-01-01T00:00:00Z) is
@@ -1521,7 +1579,9 @@ module Google
1521
1579
  # Update properties of this object
1522
1580
  def update!(**args)
1523
1581
  @end_time = args[:end_time] if args.key?(:end_time)
1582
+ @filter = args[:filter] if args.key?(:filter)
1524
1583
  @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
1584
+ @pubsub_destination = args[:pubsub_destination] if args.key?(:pubsub_destination)
1525
1585
  @start_time = args[:start_time] if args.key?(:start_time)
1526
1586
  end
1527
1587
  end
@@ -2329,6 +2389,25 @@ module Google
2329
2389
  end
2330
2390
  end
2331
2391
 
2392
+ # StreamConfig specifies configuration for a streaming DICOM export.
2393
+ class GoogleCloudHealthcareV1DicomStreamConfig
2394
+ include Google::Apis::Core::Hashable
2395
+
2396
+ # The BigQuery table where the server writes the output.
2397
+ # Corresponds to the JSON property `bigqueryDestination`
2398
+ # @return [Google::Apis::HealthcareV1::GoogleCloudHealthcareV1DicomBigQueryDestination]
2399
+ attr_accessor :bigquery_destination
2400
+
2401
+ def initialize(**args)
2402
+ update!(**args)
2403
+ end
2404
+
2405
+ # Update properties of this object
2406
+ def update!(**args)
2407
+ @bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
2408
+ end
2409
+ end
2410
+
2332
2411
  # The configuration for exporting to BigQuery.
2333
2412
  class GoogleCloudHealthcareV1FhirBigQueryDestination
2334
2413
  include Google::Apis::Core::Hashable
@@ -3515,6 +3594,13 @@ module Google
3515
3594
  # @return [String]
3516
3595
  attr_accessor :pubsub_topic
3517
3596
 
3597
+ # Indicates whether or not to send Pub/Sub notifications on bulk import. Only
3598
+ # supported for DICOM imports.
3599
+ # Corresponds to the JSON property `sendForBulkImport`
3600
+ # @return [Boolean]
3601
+ attr_accessor :send_for_bulk_import
3602
+ alias_method :send_for_bulk_import?, :send_for_bulk_import
3603
+
3518
3604
  def initialize(**args)
3519
3605
  update!(**args)
3520
3606
  end
@@ -3522,6 +3608,7 @@ module Google
3522
3608
  # Update properties of this object
3523
3609
  def update!(**args)
3524
3610
  @pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
3611
+ @send_for_bulk_import = args[:send_for_bulk_import] if args.key?(:send_for_bulk_import)
3525
3612
  end
3526
3613
  end
3527
3614
 
@@ -3853,6 +3940,36 @@ module Google
3853
3940
  end
3854
3941
  end
3855
3942
 
3943
+ # The Pub/Sub output destination. The Cloud Healthcare Service Agent requires
3944
+ # the `roles/pubsub.publisher` Cloud IAM role on the Pub/Sub topic.
3945
+ class PubsubDestination
3946
+ include Google::Apis::Core::Hashable
3947
+
3948
+ # The [Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that Pub/Sub
3949
+ # messages are published on. Supplied by the client. The `PubsubMessage`
3950
+ # contains the following fields: * `PubsubMessage.Data` contains the resource
3951
+ # name. * `PubsubMessage.MessageId` is the ID of this notification. It is
3952
+ # guaranteed to be unique within the topic. * `PubsubMessage.PublishTime` is the
3953
+ # time when the message was published. [Topic names](https://cloud.google.com/
3954
+ # pubsub/docs/overview#names) must be scoped to a project. The Cloud Healthcare
3955
+ # API service account, service-PROJECT_NUMBER@gcp-sa-healthcare.iam.
3956
+ # gserviceaccount.com, must have publisher permissions on the given Pub/Sub
3957
+ # topic. Not having adequate permissions causes the calls that send
3958
+ # notifications to fail.
3959
+ # Corresponds to the JSON property `pubsubTopic`
3960
+ # @return [String]
3961
+ attr_accessor :pubsub_topic
3962
+
3963
+ def initialize(**args)
3964
+ update!(**args)
3965
+ end
3966
+
3967
+ # Update properties of this object
3968
+ def update!(**args)
3969
+ @pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
3970
+ end
3971
+ end
3972
+
3856
3973
  # Queries all data_ids that are consented for a given use in the given consent
3857
3974
  # store and writes them to a specified destination. The returned Operation
3858
3975
  # includes a progress counter for the number of User data mappings processed.
@@ -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.44.0"
19
+ GEM_VERSION = "0.45.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 = "20230510"
25
+ REVISION = "20230627"
26
26
  end
27
27
  end
28
28
  end
@@ -400,6 +400,12 @@ module Google
400
400
  include Google::Apis::Core::JsonObjectSupport
401
401
  end
402
402
 
403
+ class GoogleCloudHealthcareV1DicomStreamConfig
404
+ class Representation < Google::Apis::Core::JsonRepresentation; end
405
+
406
+ include Google::Apis::Core::JsonObjectSupport
407
+ end
408
+
403
409
  class GoogleCloudHealthcareV1FhirBigQueryDestination
404
410
  class Representation < Google::Apis::Core::JsonRepresentation; end
405
411
 
@@ -670,6 +676,12 @@ module Google
670
676
  include Google::Apis::Core::JsonObjectSupport
671
677
  end
672
678
 
679
+ class PubsubDestination
680
+ class Representation < Google::Apis::Core::JsonRepresentation; end
681
+
682
+ include Google::Apis::Core::JsonObjectSupport
683
+ end
684
+
673
685
  class QueryAccessibleDataRequest
674
686
  class Representation < Google::Apis::Core::JsonRepresentation; end
675
687
 
@@ -1149,6 +1161,8 @@ module Google
1149
1161
  property :name, as: 'name'
1150
1162
  property :notification_config, as: 'notificationConfig', class: Google::Apis::HealthcareV1::NotificationConfig, decorator: Google::Apis::HealthcareV1::NotificationConfig::Representation
1151
1163
 
1164
+ collection :stream_configs, as: 'streamConfigs', class: Google::Apis::HealthcareV1::GoogleCloudHealthcareV1DicomStreamConfig, decorator: Google::Apis::HealthcareV1::GoogleCloudHealthcareV1DicomStreamConfig::Representation
1165
+
1152
1166
  end
1153
1167
  end
1154
1168
 
@@ -1238,8 +1252,11 @@ module Google
1238
1252
  # @private
1239
1253
  class Representation < Google::Apis::Core::JsonRepresentation
1240
1254
  property :end_time, as: 'endTime'
1255
+ property :filter, as: 'filter'
1241
1256
  property :gcs_destination, as: 'gcsDestination', class: Google::Apis::HealthcareV1::GcsDestination, decorator: Google::Apis::HealthcareV1::GcsDestination::Representation
1242
1257
 
1258
+ property :pubsub_destination, as: 'pubsubDestination', class: Google::Apis::HealthcareV1::PubsubDestination, decorator: Google::Apis::HealthcareV1::PubsubDestination::Representation
1259
+
1243
1260
  property :start_time, as: 'startTime'
1244
1261
  end
1245
1262
  end
@@ -1440,6 +1457,14 @@ module Google
1440
1457
  end
1441
1458
  end
1442
1459
 
1460
+ class GoogleCloudHealthcareV1DicomStreamConfig
1461
+ # @private
1462
+ class Representation < Google::Apis::Core::JsonRepresentation
1463
+ property :bigquery_destination, as: 'bigqueryDestination', class: Google::Apis::HealthcareV1::GoogleCloudHealthcareV1DicomBigQueryDestination, decorator: Google::Apis::HealthcareV1::GoogleCloudHealthcareV1DicomBigQueryDestination::Representation
1464
+
1465
+ end
1466
+ end
1467
+
1443
1468
  class GoogleCloudHealthcareV1FhirBigQueryDestination
1444
1469
  # @private
1445
1470
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1783,6 +1808,7 @@ module Google
1783
1808
  # @private
1784
1809
  class Representation < Google::Apis::Core::JsonRepresentation
1785
1810
  property :pubsub_topic, as: 'pubsubTopic'
1811
+ property :send_for_bulk_import, as: 'sendForBulkImport'
1786
1812
  end
1787
1813
  end
1788
1814
 
@@ -1859,6 +1885,13 @@ module Google
1859
1885
  end
1860
1886
  end
1861
1887
 
1888
+ class PubsubDestination
1889
+ # @private
1890
+ class Representation < Google::Apis::Core::JsonRepresentation
1891
+ property :pubsub_topic, as: 'pubsubTopic'
1892
+ end
1893
+ end
1894
+
1862
1895
  class QueryAccessibleDataRequest
1863
1896
  # @private
1864
1897
  class Representation < Google::Apis::Core::JsonRepresentation
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.44.0
4
+ version: 0.45.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-05-28 00:00:00.000000000 Z
11
+ date: 2023-07-09 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.44.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1/v0.45.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: []