google-apis-healthcare_v1beta1 0.49.0 → 0.51.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: 2fd323ab1c937642f3bfcd6f0f036cf92ccd797c668c72143ea8b1429848a203
4
- data.tar.gz: a4b04becaee6ab5663ae20e7a7777741172b9d6a8a492ecea90565cfe7122494
3
+ metadata.gz: 37785edbc86a2f5947939cec2812f3a1c7f3bdc7d47d397f27b2beba72461aea
4
+ data.tar.gz: 1ad7253af9ce6cd5b829cfe81ac0fc2a3bc5075ff27e54ecd197db37f3fd542d
5
5
  SHA512:
6
- metadata.gz: ed7ff03e31ab6092e6b12d7a58496841730eedeb75199e5c5c6d4d024c30ff51793f6044c9919e2d69b93395c9aa3eb5773f6e92c77093e8a5ce8ef733ad39ac
7
- data.tar.gz: f27f686e279d0c82f645a2f4641351baf11fea157c6464ecf54a0b3d250f988a56891b5372b70fa9acbfafd3185a36d541b17eeb540d89301b7c8de944101ad8
6
+ metadata.gz: 6d73a62d3bfe57ccf2d55320c0e8141aed0a50debbd0adc3de51022179b5692f7732d3af6d805fb6ddfeb18adc6917d819040051c7b01058e070ace3bff86e90
7
+ data.tar.gz: 50878587745fff48faf25da63052162c724c89409e932ce10b85f985d4f5000b9b9cc497ef8b89eabc450b62b1b75b636b905b70ddeed086c3fa7eb9411a553e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-healthcare_v1beta1
2
2
 
3
+ ### v0.51.0 (2023-08-03)
4
+
5
+ * Regenerated from discovery document revision 20230720
6
+
7
+ ### v0.50.0 (2023-07-09)
8
+
9
+ * Regenerated from discovery document revision 20230627
10
+
3
11
  ### v0.49.0 (2023-06-04)
4
12
 
5
13
  * Regenerated from discovery document revision 20230519
@@ -140,6 +140,12 @@ module Google
140
140
  class AnalyzeEntitiesRequest
141
141
  include Google::Apis::Core::Hashable
142
142
 
143
+ # Optional. Alternative output format to be generated based on the results of
144
+ # analysis.
145
+ # Corresponds to the JSON property `alternativeOutputFormat`
146
+ # @return [String]
147
+ attr_accessor :alternative_output_format
148
+
143
149
  # document_content is a document to be annotated.
144
150
  # Corresponds to the JSON property `documentContent`
145
151
  # @return [String]
@@ -157,6 +163,7 @@ module Google
157
163
 
158
164
  # Update properties of this object
159
165
  def update!(**args)
166
+ @alternative_output_format = args[:alternative_output_format] if args.key?(:alternative_output_format)
160
167
  @document_content = args[:document_content] if args.key?(:document_content)
161
168
  @licensed_vocabularies = args[:licensed_vocabularies] if args.key?(:licensed_vocabularies)
162
169
  end
@@ -178,6 +185,12 @@ module Google
178
185
  # @return [Array<Google::Apis::HealthcareV1beta1::EntityMention>]
179
186
  attr_accessor :entity_mentions
180
187
 
188
+ # The FHIR bundle ([`R4`](http://hl7.org/fhir/R4/bundle.html)) that includes all
189
+ # the entities, the entity mentions, and the relationships in JSON format.
190
+ # Corresponds to the JSON property `fhirBundle`
191
+ # @return [String]
192
+ attr_accessor :fhir_bundle
193
+
181
194
  # relationships contains all the binary relationships that were identified
182
195
  # between entity mentions within the provided document.
183
196
  # Corresponds to the JSON property `relationships`
@@ -192,6 +205,7 @@ module Google
192
205
  def update!(**args)
193
206
  @entities = args[:entities] if args.key?(:entities)
194
207
  @entity_mentions = args[:entity_mentions] if args.key?(:entity_mentions)
208
+ @fhir_bundle = args[:fhir_bundle] if args.key?(:fhir_bundle)
195
209
  @relationships = args[:relationships] if args.key?(:relationships)
196
210
  end
197
211
  end
@@ -1346,9 +1360,7 @@ module Google
1346
1360
  # Ensures in-flight data remains in the region of origin during de-
1347
1361
  # identification. Using this option results in a significant reduction of
1348
1362
  # throughput, and is not compatible with `LOCATION` or `ORGANIZATION_NAME`
1349
- # infoTypes. If the deprecated [`DicomConfig`](google.cloud.healthcare.v1beta1.
1350
- # deidentify.DeidentifyConfig.dicom_config) or [`FhirConfig`](google.cloud.
1351
- # healthcare.v1beta1.deidentify.DeidentifyConfig.fhir_config) are used, then `
1363
+ # infoTypes. If the deprecated `DicomConfig` or `FhirConfig` are used, then `
1352
1364
  # LOCATION` must be excluded within `TextConfig`, and must also be excluded
1353
1365
  # within `ImageConfig` if image redaction is required.
1354
1366
  # Corresponds to the JSON property `useRegionalDataProcessing`
@@ -1683,12 +1695,12 @@ module Google
1683
1695
  # @return [Google::Apis::HealthcareV1beta1::NotificationConfig]
1684
1696
  attr_accessor :notification_config
1685
1697
 
1686
- # A list of streaming configs used to configure the destination of streaming
1687
- # exports for every DICOM instance insertion in this DICOM store. After a new
1688
- # config is added to `stream_configs`, DICOM instance insertions are streamed to
1689
- # the new destination. When a config is removed from `stream_configs`, the
1690
- # server stops streaming to that destination. Each config must contain a unique
1691
- # destination.
1698
+ # Optional. A list of streaming configs used to configure the destination of
1699
+ # streaming exports for every DICOM instance insertion in this DICOM store.
1700
+ # After a new config is added to `stream_configs`, DICOM instance insertions are
1701
+ # streamed to the new destination. When a config is removed from `stream_configs`
1702
+ # , the server stops streaming to that destination. Each config must contain a
1703
+ # unique destination.
1692
1704
  # Corresponds to the JSON property `streamConfigs`
1693
1705
  # @return [Array<Google::Apis::HealthcareV1beta1::GoogleCloudHealthcareV1beta1DicomStreamConfig>]
1694
1706
  attr_accessor :stream_configs
@@ -2163,6 +2175,47 @@ module Google
2163
2175
  # @return [String]
2164
2176
  attr_accessor :end_time
2165
2177
 
2178
+ # Restricts messages exported to those matching a filter, only applicable to
2179
+ # PubsubDestination and GcsDestination. The following syntax is available: * A
2180
+ # string field value can be written as text inside quotation marks, for example `
2181
+ # "query text"`. The only valid relational operation for text fields is equality
2182
+ # (`=`), where text is searched within the field, rather than having the field
2183
+ # be equal to the text. For example, `"Comment = great"` returns messages with `
2184
+ # great` in the comment field. * A number field value can be written as an
2185
+ # integer, a decimal, or an exponential. The valid relational operators for
2186
+ # number fields are the equality operator (`=`), along with the less than/
2187
+ # greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no
2188
+ # inequality (`!=`) operator. You can prepend the `NOT` operator to an
2189
+ # expression to negate it. * A date field value must be written in the `yyyy-mm-
2190
+ # dd` format. Fields with date and time use the RFC3339 time format. Leading
2191
+ # zeros are required for one-digit months and days. The valid relational
2192
+ # operators for date fields are the equality operator (`=`) , along with the
2193
+ # less than/greater than operators (`<`, `<=`, `>`, `>=`). Note that there is no
2194
+ # inequality (`!=`) operator. You can prepend the `NOT` operator to an
2195
+ # expression to negate it. * Multiple field query expressions can be combined in
2196
+ # one query by adding `AND` or `OR` operators between the expressions. If a
2197
+ # boolean operator appears within a quoted string, it is not treated as special,
2198
+ # and is just another part of the character string to be matched. You can
2199
+ # prepend the `NOT` operator to an expression to negate it. The following fields
2200
+ # and functions are available for filtering: * `message_type`, from the MSH-9.1
2201
+ # field. For example, `NOT message_type = "ADT"`. * `send_date` or `sendDate`,
2202
+ # the YYYY-MM-DD date the message was sent in the dataset's time_zone, from the
2203
+ # MSH-7 segment. For example, `send_date < "2017-01-02"`. * `send_time`, the
2204
+ # timestamp when the message was sent, using the RFC3339 time format for
2205
+ # comparisons, from the MSH-7 segment. For example, `send_time < "2017-01-02T00:
2206
+ # 00:00-05:00"`. * `create_time`, the timestamp when the message was created in
2207
+ # the HL7v2 store. Use the RFC3339 time format for comparisons. For example, `
2208
+ # create_time < "2017-01-02T00:00:00-05:00"`. * `send_facility`, the care center
2209
+ # that the message came from, from the MSH-4 segment. For example, `
2210
+ # send_facility = "ABC"`. Note: The filter will be applied to every message in
2211
+ # the HL7v2 store whose `send_time` lies in the range defined by the `start_time`
2212
+ # and the `end_time`. Even if the filter only matches a small set of messages,
2213
+ # the export operation can still take a long time to finish when a lot of
2214
+ # messages are between the specified `start_time` and `end_time` range.
2215
+ # Corresponds to the JSON property `filter`
2216
+ # @return [String]
2217
+ attr_accessor :filter
2218
+
2166
2219
  # The Cloud Storage output destination. The Cloud Healthcare Service Agent
2167
2220
  # requires the `roles/storage.objectAdmin` Cloud IAM roles on the Cloud Storage
2168
2221
  # location.
@@ -2170,6 +2223,12 @@ module Google
2170
2223
  # @return [Google::Apis::HealthcareV1beta1::GcsDestination]
2171
2224
  attr_accessor :gcs_destination
2172
2225
 
2226
+ # The Pub/Sub output destination. The Cloud Healthcare Service Agent requires
2227
+ # the `roles/pubsub.publisher` Cloud IAM role on the Pub/Sub topic.
2228
+ # Corresponds to the JSON property `pubsubDestination`
2229
+ # @return [Google::Apis::HealthcareV1beta1::PubsubDestination]
2230
+ attr_accessor :pubsub_destination
2231
+
2173
2232
  # The start of the range in `send_time` (MSH.7, https://www.hl7.org/
2174
2233
  # documentcenter/public_temp_2E58C1F9-1C23-BA17-0C6126475344DA9D/wg/conf/HL7MSH.
2175
2234
  # htm) to process. If not specified, the UNIX epoch (1970-01-01T00:00:00Z) is
@@ -2187,7 +2246,9 @@ module Google
2187
2246
  # Update properties of this object
2188
2247
  def update!(**args)
2189
2248
  @end_time = args[:end_time] if args.key?(:end_time)
2249
+ @filter = args[:filter] if args.key?(:filter)
2190
2250
  @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
2251
+ @pubsub_destination = args[:pubsub_destination] if args.key?(:pubsub_destination)
2191
2252
  @start_time = args[:start_time] if args.key?(:start_time)
2192
2253
  end
2193
2254
  end
@@ -5172,6 +5233,36 @@ module Google
5172
5233
  end
5173
5234
  end
5174
5235
 
5236
+ # The Pub/Sub output destination. The Cloud Healthcare Service Agent requires
5237
+ # the `roles/pubsub.publisher` Cloud IAM role on the Pub/Sub topic.
5238
+ class PubsubDestination
5239
+ include Google::Apis::Core::Hashable
5240
+
5241
+ # The [Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that Pub/Sub
5242
+ # messages are published on. Supplied by the client. The `PubsubMessage`
5243
+ # contains the following fields: * `PubsubMessage.Data` contains the resource
5244
+ # name. * `PubsubMessage.MessageId` is the ID of this notification. It is
5245
+ # guaranteed to be unique within the topic. * `PubsubMessage.PublishTime` is the
5246
+ # time when the message was published. [Topic names](https://cloud.google.com/
5247
+ # pubsub/docs/overview#names) must be scoped to a project. The Cloud Healthcare
5248
+ # API service account, service-PROJECT_NUMBER@gcp-sa-healthcare.iam.
5249
+ # gserviceaccount.com, must have publisher permissions on the given Pub/Sub
5250
+ # topic. Not having adequate permissions causes the calls that send
5251
+ # notifications to fail.
5252
+ # Corresponds to the JSON property `pubsubTopic`
5253
+ # @return [String]
5254
+ attr_accessor :pubsub_topic
5255
+
5256
+ def initialize(**args)
5257
+ update!(**args)
5258
+ end
5259
+
5260
+ # Update properties of this object
5261
+ def update!(**args)
5262
+ @pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
5263
+ end
5264
+ end
5265
+
5175
5266
  # Queries all data_ids that are consented for a given use in the given consent
5176
5267
  # store and writes them to a specified destination. The returned Operation
5177
5268
  # 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 HealthcareV1beta1
18
18
  # Version of the google-apis-healthcare_v1beta1 gem
19
- GEM_VERSION = "0.49.0"
19
+ GEM_VERSION = "0.51.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 = "20230519"
25
+ REVISION = "20230720"
26
26
  end
27
27
  end
28
28
  end
@@ -934,6 +934,12 @@ module Google
934
934
  include Google::Apis::Core::JsonObjectSupport
935
935
  end
936
936
 
937
+ class PubsubDestination
938
+ class Representation < Google::Apis::Core::JsonRepresentation; end
939
+
940
+ include Google::Apis::Core::JsonObjectSupport
941
+ end
942
+
937
943
  class QueryAccessibleDataRequest
938
944
  class Representation < Google::Apis::Core::JsonRepresentation; end
939
945
 
@@ -1203,6 +1209,7 @@ module Google
1203
1209
  class AnalyzeEntitiesRequest
1204
1210
  # @private
1205
1211
  class Representation < Google::Apis::Core::JsonRepresentation
1212
+ property :alternative_output_format, as: 'alternativeOutputFormat'
1206
1213
  property :document_content, as: 'documentContent'
1207
1214
  collection :licensed_vocabularies, as: 'licensedVocabularies'
1208
1215
  end
@@ -1215,6 +1222,7 @@ module Google
1215
1222
 
1216
1223
  collection :entity_mentions, as: 'entityMentions', class: Google::Apis::HealthcareV1beta1::EntityMention, decorator: Google::Apis::HealthcareV1beta1::EntityMention::Representation
1217
1224
 
1225
+ property :fhir_bundle, as: 'fhirBundle'
1218
1226
  collection :relationships, as: 'relationships', class: Google::Apis::HealthcareV1beta1::EntityMentionRelationship, decorator: Google::Apis::HealthcareV1beta1::EntityMentionRelationship::Representation
1219
1227
 
1220
1228
  end
@@ -1781,8 +1789,11 @@ module Google
1781
1789
  # @private
1782
1790
  class Representation < Google::Apis::Core::JsonRepresentation
1783
1791
  property :end_time, as: 'endTime'
1792
+ property :filter, as: 'filter'
1784
1793
  property :gcs_destination, as: 'gcsDestination', class: Google::Apis::HealthcareV1beta1::GcsDestination, decorator: Google::Apis::HealthcareV1beta1::GcsDestination::Representation
1785
1794
 
1795
+ property :pubsub_destination, as: 'pubsubDestination', class: Google::Apis::HealthcareV1beta1::PubsubDestination, decorator: Google::Apis::HealthcareV1beta1::PubsubDestination::Representation
1796
+
1786
1797
  property :start_time, as: 'startTime'
1787
1798
  end
1788
1799
  end
@@ -2592,6 +2603,13 @@ module Google
2592
2603
  end
2593
2604
  end
2594
2605
 
2606
+ class PubsubDestination
2607
+ # @private
2608
+ class Representation < Google::Apis::Core::JsonRepresentation
2609
+ property :pubsub_topic, as: 'pubsubTopic'
2610
+ end
2611
+ end
2612
+
2595
2613
  class QueryAccessibleDataRequest
2596
2614
  # @private
2597
2615
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-healthcare_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.49.0
4
+ version: 0.51.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-06-04 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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1beta1/v0.49.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1beta1/v0.51.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-healthcare_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []