google-apis-healthcare_v1 0.44.0 → 0.46.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: 76146bf21d67f271bb4ee2a6081bcc8ab614283d4ac386a7ae64c7e17b8782af
4
+ data.tar.gz: 773e7d3fb8f7374ab76b3dee57efca38c5099f1d5927573abab7d1727659cadd
5
5
  SHA512:
6
- metadata.gz: 5a8ef3bd03ecf8943c60ac31d3becf8696f55eacadd32d9fc4fb98d36606f2c3a4503f3279234595db4ca9f4c2972d167442440bf335177826d2616e15e3f37a
7
- data.tar.gz: 07a6fdc5f58703c191330f0fb6bcd5b28bfbf5e61747897f01a7a58f3d326610bd50941ee30ed4f6bb42f9be2baa5e56f54a33908da0ef5d817edda1aee62ea7
6
+ metadata.gz: dd3bb87b8aafee4ced94de7fb3eb09cf175ace036453759ff45af9eae5313a0ed1ddc22a85f2dd8d95d48c1622d5ab835b9611d203c948a0f700283c439f116d
7
+ data.tar.gz: 80411ee2fdbf67a365cc59544c9a0933833dda126c0122205d145a0d87503285b5129f3856351dc9a8db0bc9e4bc55974be9a607de69394fff1c3dbc4a7a2528
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-healthcare_v1
2
2
 
3
+ ### v0.46.0 (2023-08-03)
4
+
5
+ * Regenerated from discovery document revision 20230720
6
+
7
+ ### v0.45.0 (2023-07-09)
8
+
9
+ * Regenerated from discovery document revision 20230627
10
+
3
11
  ### v0.44.0 (2023-05-28)
4
12
 
5
13
  * Regenerated from discovery document revision 20230510
@@ -65,6 +65,12 @@ module Google
65
65
  class AnalyzeEntitiesRequest
66
66
  include Google::Apis::Core::Hashable
67
67
 
68
+ # Optional. Alternative output format to be generated based on the results of
69
+ # analysis.
70
+ # Corresponds to the JSON property `alternativeOutputFormat`
71
+ # @return [String]
72
+ attr_accessor :alternative_output_format
73
+
68
74
  # document_content is a document to be annotated.
69
75
  # Corresponds to the JSON property `documentContent`
70
76
  # @return [String]
@@ -82,6 +88,7 @@ module Google
82
88
 
83
89
  # Update properties of this object
84
90
  def update!(**args)
91
+ @alternative_output_format = args[:alternative_output_format] if args.key?(:alternative_output_format)
85
92
  @document_content = args[:document_content] if args.key?(:document_content)
86
93
  @licensed_vocabularies = args[:licensed_vocabularies] if args.key?(:licensed_vocabularies)
87
94
  end
@@ -103,6 +110,12 @@ module Google
103
110
  # @return [Array<Google::Apis::HealthcareV1::EntityMention>]
104
111
  attr_accessor :entity_mentions
105
112
 
113
+ # The FHIR bundle ([`R4`](http://hl7.org/fhir/R4/bundle.html)) that includes all
114
+ # the entities, the entity mentions, and the relationships in JSON format.
115
+ # Corresponds to the JSON property `fhirBundle`
116
+ # @return [String]
117
+ attr_accessor :fhir_bundle
118
+
106
119
  # relationships contains all the binary relationships that were identified
107
120
  # between entity mentions within the provided document.
108
121
  # Corresponds to the JSON property `relationships`
@@ -117,6 +130,7 @@ module Google
117
130
  def update!(**args)
118
131
  @entities = args[:entities] if args.key?(:entities)
119
132
  @entity_mentions = args[:entity_mentions] if args.key?(:entity_mentions)
133
+ @fhir_bundle = args[:fhir_bundle] if args.key?(:fhir_bundle)
120
134
  @relationships = args[:relationships] if args.key?(:relationships)
121
135
  end
122
136
  end
@@ -1186,6 +1200,16 @@ module Google
1186
1200
  # @return [Google::Apis::HealthcareV1::NotificationConfig]
1187
1201
  attr_accessor :notification_config
1188
1202
 
1203
+ # Optional. A list of streaming configs used to configure the destination of
1204
+ # streaming exports for every DICOM instance insertion in this DICOM store.
1205
+ # After a new config is added to `stream_configs`, DICOM instance insertions are
1206
+ # streamed to the new destination. When a config is removed from `stream_configs`
1207
+ # , the server stops streaming to that destination. Each config must contain a
1208
+ # unique destination.
1209
+ # Corresponds to the JSON property `streamConfigs`
1210
+ # @return [Array<Google::Apis::HealthcareV1::GoogleCloudHealthcareV1DicomStreamConfig>]
1211
+ attr_accessor :stream_configs
1212
+
1189
1213
  def initialize(**args)
1190
1214
  update!(**args)
1191
1215
  end
@@ -1195,6 +1219,7 @@ module Google
1195
1219
  @labels = args[:labels] if args.key?(:labels)
1196
1220
  @name = args[:name] if args.key?(:name)
1197
1221
  @notification_config = args[:notification_config] if args.key?(:notification_config)
1222
+ @stream_configs = args[:stream_configs] if args.key?(:stream_configs)
1198
1223
  end
1199
1224
  end
1200
1225
 
@@ -1497,6 +1522,47 @@ module Google
1497
1522
  # @return [String]
1498
1523
  attr_accessor :end_time
1499
1524
 
1525
+ # Restricts messages exported to those matching a filter, only applicable to
1526
+ # PubsubDestination and GcsDestination. The following syntax is available: * A
1527
+ # string field value can be written as text inside quotation marks, for example `
1528
+ # "query text"`. The only valid relational operation for text fields is equality
1529
+ # (`=`), where text is searched within the field, rather than having the field
1530
+ # be equal to the text. For example, `"Comment = great"` returns messages with `
1531
+ # great` in the comment field. * A number field value can be written as an
1532
+ # integer, a decimal, or an exponential. The valid relational operators for
1533
+ # number fields are the equality operator (`=`), along with the less than/
1534
+ # greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no
1535
+ # inequality (`!=`) operator. You can prepend the `NOT` operator to an
1536
+ # expression to negate it. * A date field value must be written in the `yyyy-mm-
1537
+ # dd` format. Fields with date and time use the RFC3339 time format. Leading
1538
+ # zeros are required for one-digit months and days. The valid relational
1539
+ # operators for date fields are the equality operator (`=`) , along with the
1540
+ # less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no
1541
+ # inequality (`!=`) operator. You can prepend the `NOT` operator to an
1542
+ # expression to negate it. * Multiple field query expressions can be combined in
1543
+ # one query by adding `AND` or `OR` operators between the expressions. If a
1544
+ # boolean operator appears within a quoted string, it is not treated as special,
1545
+ # and is just another part of the character string to be matched. You can
1546
+ # prepend the `NOT` operator to an expression to negate it. The following fields
1547
+ # and functions are available for filtering: * `message_type`, from the MSH-9.1
1548
+ # field. For example, `NOT message_type = "ADT"`. * `send_date` or `sendDate`,
1549
+ # the `yyyy-mm-dd` date the message was sent in the dataset's time_zone, from
1550
+ # the MSH-7 segment. For example, `send_date < "2017-01-02"`. * `send_time`, the
1551
+ # timestamp when the message was sent, using the RFC3339 time format for
1552
+ # comparisons, from the MSH-7 segment. For example, `send_time < "2017-01-02T00:
1553
+ # 00:00-05:00"`. * `create_time`, the timestamp when the message was created in
1554
+ # the HL7v2 store. Use the RFC3339 time format for comparisons. For example, `
1555
+ # create_time < "2017-01-02T00:00:00-05:00"`. * `send_facility`, the care center
1556
+ # that the message came from, from the MSH-4 segment. For example, `
1557
+ # send_facility = "ABC"`. Note: The filter will be applied to every message in
1558
+ # the HL7v2 store whose `send_time` lies in the range defined by the `start_time`
1559
+ # and the `end_time`. Even if the filter only matches a small set of messages,
1560
+ # the export operation can still take a long time to finish when a lot of
1561
+ # messages are between the specified `start_time` and `end_time` range.
1562
+ # Corresponds to the JSON property `filter`
1563
+ # @return [String]
1564
+ attr_accessor :filter
1565
+
1500
1566
  # The Cloud Storage output destination. The Cloud Healthcare Service Agent
1501
1567
  # requires the `roles/storage.objectAdmin` Cloud IAM roles on the Cloud Storage
1502
1568
  # location.
@@ -1504,6 +1570,12 @@ module Google
1504
1570
  # @return [Google::Apis::HealthcareV1::GcsDestination]
1505
1571
  attr_accessor :gcs_destination
1506
1572
 
1573
+ # The Pub/Sub output destination. The Cloud Healthcare Service Agent requires
1574
+ # the `roles/pubsub.publisher` Cloud IAM role on the Pub/Sub topic.
1575
+ # Corresponds to the JSON property `pubsubDestination`
1576
+ # @return [Google::Apis::HealthcareV1::PubsubDestination]
1577
+ attr_accessor :pubsub_destination
1578
+
1507
1579
  # The start of the range in `send_time` (MSH.7, https://www.hl7.org/
1508
1580
  # documentcenter/public_temp_2E58C1F9-1C23-BA17-0C6126475344DA9D/wg/conf/HL7MSH.
1509
1581
  # htm) to process. If not specified, the UNIX epoch (1970-01-01T00:00:00Z) is
@@ -1521,7 +1593,9 @@ module Google
1521
1593
  # Update properties of this object
1522
1594
  def update!(**args)
1523
1595
  @end_time = args[:end_time] if args.key?(:end_time)
1596
+ @filter = args[:filter] if args.key?(:filter)
1524
1597
  @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
1598
+ @pubsub_destination = args[:pubsub_destination] if args.key?(:pubsub_destination)
1525
1599
  @start_time = args[:start_time] if args.key?(:start_time)
1526
1600
  end
1527
1601
  end
@@ -2329,6 +2403,25 @@ module Google
2329
2403
  end
2330
2404
  end
2331
2405
 
2406
+ # StreamConfig specifies configuration for a streaming DICOM export.
2407
+ class GoogleCloudHealthcareV1DicomStreamConfig
2408
+ include Google::Apis::Core::Hashable
2409
+
2410
+ # The BigQuery table where the server writes the output.
2411
+ # Corresponds to the JSON property `bigqueryDestination`
2412
+ # @return [Google::Apis::HealthcareV1::GoogleCloudHealthcareV1DicomBigQueryDestination]
2413
+ attr_accessor :bigquery_destination
2414
+
2415
+ def initialize(**args)
2416
+ update!(**args)
2417
+ end
2418
+
2419
+ # Update properties of this object
2420
+ def update!(**args)
2421
+ @bigquery_destination = args[:bigquery_destination] if args.key?(:bigquery_destination)
2422
+ end
2423
+ end
2424
+
2332
2425
  # The configuration for exporting to BigQuery.
2333
2426
  class GoogleCloudHealthcareV1FhirBigQueryDestination
2334
2427
  include Google::Apis::Core::Hashable
@@ -3515,6 +3608,13 @@ module Google
3515
3608
  # @return [String]
3516
3609
  attr_accessor :pubsub_topic
3517
3610
 
3611
+ # Indicates whether or not to send Pub/Sub notifications on bulk import. Only
3612
+ # supported for DICOM imports.
3613
+ # Corresponds to the JSON property `sendForBulkImport`
3614
+ # @return [Boolean]
3615
+ attr_accessor :send_for_bulk_import
3616
+ alias_method :send_for_bulk_import?, :send_for_bulk_import
3617
+
3518
3618
  def initialize(**args)
3519
3619
  update!(**args)
3520
3620
  end
@@ -3522,6 +3622,7 @@ module Google
3522
3622
  # Update properties of this object
3523
3623
  def update!(**args)
3524
3624
  @pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
3625
+ @send_for_bulk_import = args[:send_for_bulk_import] if args.key?(:send_for_bulk_import)
3525
3626
  end
3526
3627
  end
3527
3628
 
@@ -3853,6 +3954,36 @@ module Google
3853
3954
  end
3854
3955
  end
3855
3956
 
3957
+ # The Pub/Sub output destination. The Cloud Healthcare Service Agent requires
3958
+ # the `roles/pubsub.publisher` Cloud IAM role on the Pub/Sub topic.
3959
+ class PubsubDestination
3960
+ include Google::Apis::Core::Hashable
3961
+
3962
+ # The [Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that Pub/Sub
3963
+ # messages are published on. Supplied by the client. The `PubsubMessage`
3964
+ # contains the following fields: * `PubsubMessage.Data` contains the resource
3965
+ # name. * `PubsubMessage.MessageId` is the ID of this notification. It is
3966
+ # guaranteed to be unique within the topic. * `PubsubMessage.PublishTime` is the
3967
+ # time when the message was published. [Topic names](https://cloud.google.com/
3968
+ # pubsub/docs/overview#names) must be scoped to a project. The Cloud Healthcare
3969
+ # API service account, service-PROJECT_NUMBER@gcp-sa-healthcare.iam.
3970
+ # gserviceaccount.com, must have publisher permissions on the given Pub/Sub
3971
+ # topic. Not having adequate permissions causes the calls that send
3972
+ # notifications to fail.
3973
+ # Corresponds to the JSON property `pubsubTopic`
3974
+ # @return [String]
3975
+ attr_accessor :pubsub_topic
3976
+
3977
+ def initialize(**args)
3978
+ update!(**args)
3979
+ end
3980
+
3981
+ # Update properties of this object
3982
+ def update!(**args)
3983
+ @pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
3984
+ end
3985
+ end
3986
+
3856
3987
  # Queries all data_ids that are consented for a given use in the given consent
3857
3988
  # store and writes them to a specified destination. The returned Operation
3858
3989
  # 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.46.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 = "20230720"
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
 
@@ -856,6 +868,7 @@ module Google
856
868
  class AnalyzeEntitiesRequest
857
869
  # @private
858
870
  class Representation < Google::Apis::Core::JsonRepresentation
871
+ property :alternative_output_format, as: 'alternativeOutputFormat'
859
872
  property :document_content, as: 'documentContent'
860
873
  collection :licensed_vocabularies, as: 'licensedVocabularies'
861
874
  end
@@ -868,6 +881,7 @@ module Google
868
881
 
869
882
  collection :entity_mentions, as: 'entityMentions', class: Google::Apis::HealthcareV1::EntityMention, decorator: Google::Apis::HealthcareV1::EntityMention::Representation
870
883
 
884
+ property :fhir_bundle, as: 'fhirBundle'
871
885
  collection :relationships, as: 'relationships', class: Google::Apis::HealthcareV1::EntityMentionRelationship, decorator: Google::Apis::HealthcareV1::EntityMentionRelationship::Representation
872
886
 
873
887
  end
@@ -1149,6 +1163,8 @@ module Google
1149
1163
  property :name, as: 'name'
1150
1164
  property :notification_config, as: 'notificationConfig', class: Google::Apis::HealthcareV1::NotificationConfig, decorator: Google::Apis::HealthcareV1::NotificationConfig::Representation
1151
1165
 
1166
+ collection :stream_configs, as: 'streamConfigs', class: Google::Apis::HealthcareV1::GoogleCloudHealthcareV1DicomStreamConfig, decorator: Google::Apis::HealthcareV1::GoogleCloudHealthcareV1DicomStreamConfig::Representation
1167
+
1152
1168
  end
1153
1169
  end
1154
1170
 
@@ -1238,8 +1254,11 @@ module Google
1238
1254
  # @private
1239
1255
  class Representation < Google::Apis::Core::JsonRepresentation
1240
1256
  property :end_time, as: 'endTime'
1257
+ property :filter, as: 'filter'
1241
1258
  property :gcs_destination, as: 'gcsDestination', class: Google::Apis::HealthcareV1::GcsDestination, decorator: Google::Apis::HealthcareV1::GcsDestination::Representation
1242
1259
 
1260
+ property :pubsub_destination, as: 'pubsubDestination', class: Google::Apis::HealthcareV1::PubsubDestination, decorator: Google::Apis::HealthcareV1::PubsubDestination::Representation
1261
+
1243
1262
  property :start_time, as: 'startTime'
1244
1263
  end
1245
1264
  end
@@ -1440,6 +1459,14 @@ module Google
1440
1459
  end
1441
1460
  end
1442
1461
 
1462
+ class GoogleCloudHealthcareV1DicomStreamConfig
1463
+ # @private
1464
+ class Representation < Google::Apis::Core::JsonRepresentation
1465
+ property :bigquery_destination, as: 'bigqueryDestination', class: Google::Apis::HealthcareV1::GoogleCloudHealthcareV1DicomBigQueryDestination, decorator: Google::Apis::HealthcareV1::GoogleCloudHealthcareV1DicomBigQueryDestination::Representation
1466
+
1467
+ end
1468
+ end
1469
+
1443
1470
  class GoogleCloudHealthcareV1FhirBigQueryDestination
1444
1471
  # @private
1445
1472
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1783,6 +1810,7 @@ module Google
1783
1810
  # @private
1784
1811
  class Representation < Google::Apis::Core::JsonRepresentation
1785
1812
  property :pubsub_topic, as: 'pubsubTopic'
1813
+ property :send_for_bulk_import, as: 'sendForBulkImport'
1786
1814
  end
1787
1815
  end
1788
1816
 
@@ -1859,6 +1887,13 @@ module Google
1859
1887
  end
1860
1888
  end
1861
1889
 
1890
+ class PubsubDestination
1891
+ # @private
1892
+ class Representation < Google::Apis::Core::JsonRepresentation
1893
+ property :pubsub_topic, as: 'pubsubTopic'
1894
+ end
1895
+ end
1896
+
1862
1897
  class QueryAccessibleDataRequest
1863
1898
  # @private
1864
1899
  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.46.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-08-06 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.46.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: []