google-apis-healthcare_v1 0.12.0 → 0.16.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: 3413ce6fea59552e2eb96e747ea6706a165c1ff8a1ef0e38c41746283071c46a
4
- data.tar.gz: fb5045d7b30648de80bc0574ca1ad227aad19168bb8904ef06d87718bd7936a3
3
+ metadata.gz: 650e93b015ace20853e8ae6b6e704acd8b6cf4796c047112904e5efb6c3d2746
4
+ data.tar.gz: 4cd35b5be806b9392ce3136627141a8975d300e156bfc46cccc33ddf873aceb3
5
5
  SHA512:
6
- metadata.gz: 9973cff86533dd7ccfeb2857cfa5e9460b303ec9297bb12bee487628e3b6bffe733acf53bc92f433cbd46fcad66a6cc0b2603b54c564fbee025e62899c0b8396
7
- data.tar.gz: 5b629a229d713c05843c89d8b038c653a81430a187fd56728d4cc31796c58f657ac5bc44ebe9602b45af6512bc2fda98d7f8975abb24a1741f5c07d5e76d9f76
6
+ metadata.gz: 6f7e7374246dd5174b81d66d9d698a8c736475332eb9f1e7f956f5104eb66dd48322ac3425b8ad5482f3494742db5d8461533ff10636f585d8c497dfcc2d861a
7
+ data.tar.gz: baa6d4e80b1ff44235cdf9fa17ed149454c071ea175fe9f1de5df36c76aa8f561b51a6cbd53676d5f9a5cf1fca5a78f48e6670ba341416c19b5e7c0f0f4bdffc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-healthcare_v1
2
2
 
3
+ ### v0.16.0 (2021-10-12)
4
+
5
+ * Regenerated from discovery document revision 20211004
6
+
7
+ ### v0.15.0 (2021-10-01)
8
+
9
+ * Regenerated from discovery document revision 20210917
10
+
11
+ ### v0.14.0 (2021-09-24)
12
+
13
+ * Regenerated from discovery document revision 20210914
14
+
15
+ ### v0.13.0 (2021-09-16)
16
+
17
+ * Regenerated from discovery document revision 20210909
18
+
3
19
  ### v0.12.0 (2021-09-01)
4
20
 
5
21
  * Regenerated from discovery document revision 20210830
@@ -182,7 +182,7 @@ module Google
182
182
  include Google::Apis::Core::Hashable
183
183
 
184
184
  # Required. Possible values for the attribute. The number of allowed values must
185
- # not exceed 100. An empty list is invalid. The list can only be expanded after
185
+ # not exceed 500. An empty list is invalid. The list can only be expanded after
186
186
  # creation.
187
187
  # Corresponds to the JSON property `allowedValues`
188
188
  # @return [Array<String>]
@@ -1374,6 +1374,63 @@ module Google
1374
1374
  end
1375
1375
  end
1376
1376
 
1377
+ # Request to schedule an export.
1378
+ class ExportMessagesRequest
1379
+ include Google::Apis::Core::Hashable
1380
+
1381
+ # The end of the range in `send_time` (MSH.7, https://www.hl7.org/documentcenter/
1382
+ # public_temp_2E58C1F9-1C23-BA17-0C6126475344DA9D/wg/conf/HL7MSH.htm) to process.
1383
+ # If not specified, the time when the export is scheduled is used. This value
1384
+ # has to come after the `start_time` defined below. Only messages whose `
1385
+ # send_time` lies in the range `start_time` (inclusive) to `end_time` (exclusive)
1386
+ # are exported.
1387
+ # Corresponds to the JSON property `endTime`
1388
+ # @return [String]
1389
+ attr_accessor :end_time
1390
+
1391
+ # The Cloud Storage output destination. The Cloud Healthcare Service Agent
1392
+ # requires the `roles/storage.objectAdmin` Cloud IAM roles on the Cloud Storage
1393
+ # location.
1394
+ # Corresponds to the JSON property `gcsDestination`
1395
+ # @return [Google::Apis::HealthcareV1::GcsDestination]
1396
+ attr_accessor :gcs_destination
1397
+
1398
+ # The start of the range in `send_time` (MSH.7, https://www.hl7.org/
1399
+ # documentcenter/public_temp_2E58C1F9-1C23-BA17-0C6126475344DA9D/wg/conf/HL7MSH.
1400
+ # htm) to process. If not specified, the UNIX epoch (1970-01-01T00:00:00Z) is
1401
+ # used. This value has to come before the `end_time` defined below. Only
1402
+ # messages whose `send_time` lies in the range `start_time` (inclusive) to `
1403
+ # end_time` (exclusive) are exported.
1404
+ # Corresponds to the JSON property `startTime`
1405
+ # @return [String]
1406
+ attr_accessor :start_time
1407
+
1408
+ def initialize(**args)
1409
+ update!(**args)
1410
+ end
1411
+
1412
+ # Update properties of this object
1413
+ def update!(**args)
1414
+ @end_time = args[:end_time] if args.key?(:end_time)
1415
+ @gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
1416
+ @start_time = args[:start_time] if args.key?(:start_time)
1417
+ end
1418
+ end
1419
+
1420
+ # Final response for the export operation. This structure is included in the
1421
+ # response to describe the detailed outcome.
1422
+ class ExportMessagesResponse
1423
+ include Google::Apis::Core::Hashable
1424
+
1425
+ def initialize(**args)
1426
+ update!(**args)
1427
+ end
1428
+
1429
+ # Update properties of this object
1430
+ def update!(**args)
1431
+ end
1432
+ end
1433
+
1377
1434
  # Request to export resources.
1378
1435
  class ExportResourcesRequest
1379
1436
  include Google::Apis::Core::Hashable
@@ -1730,6 +1787,71 @@ module Google
1730
1787
  end
1731
1788
  end
1732
1789
 
1790
+ # The Cloud Storage output destination. The Cloud Healthcare Service Agent
1791
+ # requires the `roles/storage.objectAdmin` Cloud IAM roles on the Cloud Storage
1792
+ # location.
1793
+ class GcsDestination
1794
+ include Google::Apis::Core::Hashable
1795
+
1796
+ # The format of the exported HL7v2 message files.
1797
+ # Corresponds to the JSON property `contentStructure`
1798
+ # @return [String]
1799
+ attr_accessor :content_structure
1800
+
1801
+ # Specifies the parts of the Message resource to include in the export. If not
1802
+ # specified, FULL is used.
1803
+ # Corresponds to the JSON property `messageView`
1804
+ # @return [String]
1805
+ attr_accessor :message_view
1806
+
1807
+ # URI of an existing Cloud Storage directory where the server writes result
1808
+ # files, in the format `gs://`bucket-id`/`path/to/destination/dir``. If there is
1809
+ # no trailing slash, the service appends one when composing the object path.
1810
+ # Corresponds to the JSON property `uriPrefix`
1811
+ # @return [String]
1812
+ attr_accessor :uri_prefix
1813
+
1814
+ def initialize(**args)
1815
+ update!(**args)
1816
+ end
1817
+
1818
+ # Update properties of this object
1819
+ def update!(**args)
1820
+ @content_structure = args[:content_structure] if args.key?(:content_structure)
1821
+ @message_view = args[:message_view] if args.key?(:message_view)
1822
+ @uri_prefix = args[:uri_prefix] if args.key?(:uri_prefix)
1823
+ end
1824
+ end
1825
+
1826
+ # Specifies the configuration for importing data from Cloud Storage.
1827
+ class GcsSource
1828
+ include Google::Apis::Core::Hashable
1829
+
1830
+ # Points to a Cloud Storage URI containing file(s) to import. The URI must be in
1831
+ # the following format: `gs://`bucket_id`/`object_id``. The URI can include
1832
+ # wildcards in `object_id` and thus identify multiple files. Supported wildcards:
1833
+ # * `*` to match 0 or more non-separator characters * `**` to match 0 or more
1834
+ # characters (including separators). Must be used at the end of a path and with
1835
+ # no other wildcards in the path. Can also be used with a file extension (such
1836
+ # as .ndjson), which imports all files with the extension in the specified
1837
+ # directory and its sub-directories. For example, `gs://my-bucket/my-directory/**
1838
+ # .ndjson` imports all files with `.ndjson` extensions in `my-directory/` and
1839
+ # its sub-directories. * `?` to match 1 character Files matching the wildcard
1840
+ # are expected to contain content only, no metadata.
1841
+ # Corresponds to the JSON property `uri`
1842
+ # @return [String]
1843
+ attr_accessor :uri
1844
+
1845
+ def initialize(**args)
1846
+ update!(**args)
1847
+ end
1848
+
1849
+ # Update properties of this object
1850
+ def update!(**args)
1851
+ @uri = args[:uri] if args.key?(:uri)
1852
+ end
1853
+ end
1854
+
1733
1855
  # The Cloud Storage location for export.
1734
1856
  class GoogleCloudHealthcareV1ConsentGcsDestination
1735
1857
  include Google::Apis::Core::Hashable
@@ -2379,6 +2501,40 @@ module Google
2379
2501
  end
2380
2502
  end
2381
2503
 
2504
+ # Request to import messages.
2505
+ class ImportMessagesRequest
2506
+ include Google::Apis::Core::Hashable
2507
+
2508
+ # Specifies the configuration for importing data from Cloud Storage.
2509
+ # Corresponds to the JSON property `gcsSource`
2510
+ # @return [Google::Apis::HealthcareV1::GcsSource]
2511
+ attr_accessor :gcs_source
2512
+
2513
+ def initialize(**args)
2514
+ update!(**args)
2515
+ end
2516
+
2517
+ # Update properties of this object
2518
+ def update!(**args)
2519
+ @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
2520
+ end
2521
+ end
2522
+
2523
+ # Final response of importing messages. This structure is included in the
2524
+ # response to describe the detailed outcome. It is only included when the
2525
+ # operation finishes successfully.
2526
+ class ImportMessagesResponse
2527
+ include Google::Apis::Core::Hashable
2528
+
2529
+ def initialize(**args)
2530
+ update!(**args)
2531
+ end
2532
+
2533
+ # Update properties of this object
2534
+ def update!(**args)
2535
+ end
2536
+ end
2537
+
2382
2538
  # Request to import resources.
2383
2539
  class ImportResourcesRequest
2384
2540
  include Google::Apis::Core::Hashable
@@ -3214,6 +3370,12 @@ module Google
3214
3370
  # @return [String]
3215
3371
  attr_accessor :segment_terminator
3216
3372
 
3373
+ # Immutable. Determines the version of the unschematized parser to be used when `
3374
+ # schema` is not given. This field is immutable after store creation.
3375
+ # Corresponds to the JSON property `version`
3376
+ # @return [String]
3377
+ attr_accessor :version
3378
+
3217
3379
  def initialize(**args)
3218
3380
  update!(**args)
3219
3381
  end
@@ -3223,6 +3385,7 @@ module Google
3223
3385
  @allow_null_header = args[:allow_null_header] if args.key?(:allow_null_header)
3224
3386
  @schema = args[:schema] if args.key?(:schema)
3225
3387
  @segment_terminator = args[:segment_terminator] if args.key?(:segment_terminator)
3388
+ @version = args[:version] if args.key?(:version)
3226
3389
  end
3227
3390
  end
3228
3391
 
@@ -3288,7 +3451,12 @@ module Google
3288
3451
 
3289
3452
  # Associates a list of `members` to a `role`. Optionally, may specify a `
3290
3453
  # condition` that determines how and when the `bindings` are applied. Each of
3291
- # the `bindings` must contain at least one member.
3454
+ # the `bindings` must contain at least one member. The `bindings` in a `Policy`
3455
+ # can refer to up to 1,500 members; up to 250 of these members can be Google
3456
+ # groups. Each occurrence of a member counts towards these limits. For example,
3457
+ # if the `bindings` grant 50 different roles to `user:alice@example.com`, and
3458
+ # not to any other member, then you can add another 1,450 members to the `
3459
+ # bindings` in the `Policy`.
3292
3460
  # Corresponds to the JSON property `bindings`
3293
3461
  # @return [Array<Google::Apis::HealthcareV1::Binding>]
3294
3462
  attr_accessor :bindings
@@ -3669,6 +3837,12 @@ module Google
3669
3837
  # @return [Array<Google::Apis::HealthcareV1::Hl7TypesConfig>]
3670
3838
  attr_accessor :types
3671
3839
 
3840
+ # Determines how unexpected segments (segments not matched to the schema) are
3841
+ # handled.
3842
+ # Corresponds to the JSON property `unexpectedSegmentHandling`
3843
+ # @return [String]
3844
+ attr_accessor :unexpected_segment_handling
3845
+
3672
3846
  def initialize(**args)
3673
3847
  update!(**args)
3674
3848
  end
@@ -3679,6 +3853,7 @@ module Google
3679
3853
  @schemas = args[:schemas] if args.key?(:schemas)
3680
3854
  @schematized_parsing_type = args[:schematized_parsing_type] if args.key?(:schematized_parsing_type)
3681
3855
  @types = args[:types] if args.key?(:types)
3856
+ @unexpected_segment_handling = args[:unexpected_segment_handling] if args.key?(:unexpected_segment_handling)
3682
3857
  end
3683
3858
  end
3684
3859
 
@@ -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.12.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210830"
25
+ REVISION = "20211004"
26
26
  end
27
27
  end
28
28
  end
@@ -256,6 +256,18 @@ module Google
256
256
  include Google::Apis::Core::JsonObjectSupport
257
257
  end
258
258
 
259
+ class ExportMessagesRequest
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class ExportMessagesResponse
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
259
271
  class ExportResourcesRequest
260
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
261
273
 
@@ -310,6 +322,18 @@ module Google
310
322
  include Google::Apis::Core::JsonObjectSupport
311
323
  end
312
324
 
325
+ class GcsDestination
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
331
+ class GcsSource
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
313
337
  class GoogleCloudHealthcareV1ConsentGcsDestination
314
338
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
339
 
@@ -430,6 +454,18 @@ module Google
430
454
  include Google::Apis::Core::JsonObjectSupport
431
455
  end
432
456
 
457
+ class ImportMessagesRequest
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
463
+ class ImportMessagesResponse
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
433
469
  class ImportResourcesRequest
434
470
  class Representation < Google::Apis::Core::JsonRepresentation; end
435
471
 
@@ -1138,6 +1174,22 @@ module Google
1138
1174
  end
1139
1175
  end
1140
1176
 
1177
+ class ExportMessagesRequest
1178
+ # @private
1179
+ class Representation < Google::Apis::Core::JsonRepresentation
1180
+ property :end_time, as: 'endTime'
1181
+ property :gcs_destination, as: 'gcsDestination', class: Google::Apis::HealthcareV1::GcsDestination, decorator: Google::Apis::HealthcareV1::GcsDestination::Representation
1182
+
1183
+ property :start_time, as: 'startTime'
1184
+ end
1185
+ end
1186
+
1187
+ class ExportMessagesResponse
1188
+ # @private
1189
+ class Representation < Google::Apis::Core::JsonRepresentation
1190
+ end
1191
+ end
1192
+
1141
1193
  class ExportResourcesRequest
1142
1194
  # @private
1143
1195
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1224,6 +1276,22 @@ module Google
1224
1276
  end
1225
1277
  end
1226
1278
 
1279
+ class GcsDestination
1280
+ # @private
1281
+ class Representation < Google::Apis::Core::JsonRepresentation
1282
+ property :content_structure, as: 'contentStructure'
1283
+ property :message_view, as: 'messageView'
1284
+ property :uri_prefix, as: 'uriPrefix'
1285
+ end
1286
+ end
1287
+
1288
+ class GcsSource
1289
+ # @private
1290
+ class Representation < Google::Apis::Core::JsonRepresentation
1291
+ property :uri, as: 'uri'
1292
+ end
1293
+ end
1294
+
1227
1295
  class GoogleCloudHealthcareV1ConsentGcsDestination
1228
1296
  # @private
1229
1297
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1390,6 +1458,20 @@ module Google
1390
1458
  end
1391
1459
  end
1392
1460
 
1461
+ class ImportMessagesRequest
1462
+ # @private
1463
+ class Representation < Google::Apis::Core::JsonRepresentation
1464
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::HealthcareV1::GcsSource, decorator: Google::Apis::HealthcareV1::GcsSource::Representation
1465
+
1466
+ end
1467
+ end
1468
+
1469
+ class ImportMessagesResponse
1470
+ # @private
1471
+ class Representation < Google::Apis::Core::JsonRepresentation
1472
+ end
1473
+ end
1474
+
1393
1475
  class ImportResourcesRequest
1394
1476
  # @private
1395
1477
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1640,6 +1722,7 @@ module Google
1640
1722
  property :schema, as: 'schema', class: Google::Apis::HealthcareV1::SchemaPackage, decorator: Google::Apis::HealthcareV1::SchemaPackage::Representation
1641
1723
 
1642
1724
  property :segment_terminator, :base64 => true, as: 'segmentTerminator'
1725
+ property :version, as: 'version'
1643
1726
  end
1644
1727
  end
1645
1728
 
@@ -1761,6 +1844,7 @@ module Google
1761
1844
  property :schematized_parsing_type, as: 'schematizedParsingType'
1762
1845
  collection :types, as: 'types', class: Google::Apis::HealthcareV1::Hl7TypesConfig, decorator: Google::Apis::HealthcareV1::Hl7TypesConfig::Representation
1763
1846
 
1847
+ property :unexpected_segment_handling, as: 'unexpectedSegmentHandling'
1764
1848
  end
1765
1849
  end
1766
1850
 
@@ -4455,6 +4455,46 @@ module Google
4455
4455
  execute_or_queue_command(command, &block)
4456
4456
  end
4457
4457
 
4458
+ # Exports the messages to a destination. To filter messages to be exported,
4459
+ # define a filter using the start and end time, relative to the message
4460
+ # generation time (MSH.7). This API returns an Operation that can be used to
4461
+ # track the status of the job by calling GetOperation. Immediate fatal errors
4462
+ # appear in the error field. Otherwise, when the operation finishes, a detailed
4463
+ # response of type ExportMessagesResponse is returned in the response field. The
4464
+ # metadata field type for this operation is OperationMetadata.
4465
+ # @param [String] name
4466
+ # The name of the source HL7v2 store, in the format `projects/`project_id`/
4467
+ # locations/`location_id`/datasets/`dataset_id`/hl7v2Stores/`hl7v2_store_id``
4468
+ # @param [Google::Apis::HealthcareV1::ExportMessagesRequest] export_messages_request_object
4469
+ # @param [String] fields
4470
+ # Selector specifying which fields to include in a partial response.
4471
+ # @param [String] quota_user
4472
+ # Available to use for quota purposes for server-side applications. Can be any
4473
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4474
+ # @param [Google::Apis::RequestOptions] options
4475
+ # Request-specific options
4476
+ #
4477
+ # @yield [result, err] Result & error if block supplied
4478
+ # @yieldparam result [Google::Apis::HealthcareV1::Operation] parsed result object
4479
+ # @yieldparam err [StandardError] error object if request failed
4480
+ #
4481
+ # @return [Google::Apis::HealthcareV1::Operation]
4482
+ #
4483
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4484
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4485
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4486
+ def export_hl7_v2_store_messages(name, export_messages_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4487
+ command = make_simple_command(:post, 'v1/{+name}:export', options)
4488
+ command.request_representation = Google::Apis::HealthcareV1::ExportMessagesRequest::Representation
4489
+ command.request_object = export_messages_request_object
4490
+ command.response_representation = Google::Apis::HealthcareV1::Operation::Representation
4491
+ command.response_class = Google::Apis::HealthcareV1::Operation
4492
+ command.params['name'] = name unless name.nil?
4493
+ command.query['fields'] = fields unless fields.nil?
4494
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4495
+ execute_or_queue_command(command, &block)
4496
+ end
4497
+
4458
4498
  # Gets the specified HL7v2 store.
4459
4499
  # @param [String] name
4460
4500
  # The resource name of the HL7v2 store to get.
@@ -4526,6 +4566,63 @@ module Google
4526
4566
  execute_or_queue_command(command, &block)
4527
4567
  end
4528
4568
 
4569
+ # Import messages to the HL7v2 store by loading data from the specified sources.
4570
+ # This method is optimized to load large quantities of data using import
4571
+ # semantics that ignore some HL7v2 store configuration options and are not
4572
+ # suitable for all use cases. It is primarily intended to load data into an
4573
+ # empty HL7v2 store that is not being used by other clients. An existing message
4574
+ # will be overwritten if a duplicate message is imported. A duplicate message is
4575
+ # a message with the same raw bytes as a message that already exists in this
4576
+ # HL7v2 store. When a message is overwritten, its labels will also be
4577
+ # overwritten. The import operation is idempotent unless the input data contains
4578
+ # multiple valid messages with the same raw bytes but different labels. In that
4579
+ # case, after the import completes, the store contains exactly one message with
4580
+ # those raw bytes but there is no ordering guarantee on which version of the
4581
+ # labels it has. The operation result counters do not count duplicated raw bytes
4582
+ # as an error and count one success for each message in the input, which might
4583
+ # result in a success count larger than the number of messages in the HL7v2
4584
+ # store. If some messages fail to import, for example due to parsing errors,
4585
+ # successfully imported messages are not rolled back. This method returns an
4586
+ # Operation that can be used to track the status of the import by calling
4587
+ # GetOperation. Immediate fatal errors appear in the error field, errors are
4588
+ # also logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https:/
4589
+ # /cloud.google.com/healthcare/docs/how-tos/logging)). Otherwise, when the
4590
+ # operation finishes, a response of type ImportMessagesResponse is returned in
4591
+ # the response field. The metadata field type for this operation is
4592
+ # OperationMetadata.
4593
+ # @param [String] name
4594
+ # The name of the target HL7v2 store, in the format `projects/`project_id`/
4595
+ # locations/`location_id`/datasets/`dataset_id`/hl7v2Stores/`hl7v2_store_id``
4596
+ # @param [Google::Apis::HealthcareV1::ImportMessagesRequest] import_messages_request_object
4597
+ # @param [String] fields
4598
+ # Selector specifying which fields to include in a partial response.
4599
+ # @param [String] quota_user
4600
+ # Available to use for quota purposes for server-side applications. Can be any
4601
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4602
+ # @param [Google::Apis::RequestOptions] options
4603
+ # Request-specific options
4604
+ #
4605
+ # @yield [result, err] Result & error if block supplied
4606
+ # @yieldparam result [Google::Apis::HealthcareV1::Operation] parsed result object
4607
+ # @yieldparam err [StandardError] error object if request failed
4608
+ #
4609
+ # @return [Google::Apis::HealthcareV1::Operation]
4610
+ #
4611
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4612
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4613
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4614
+ def import_hl7_v2_store_messages(name, import_messages_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
4615
+ command = make_simple_command(:post, 'v1/{+name}:import', options)
4616
+ command.request_representation = Google::Apis::HealthcareV1::ImportMessagesRequest::Representation
4617
+ command.request_object = import_messages_request_object
4618
+ command.response_representation = Google::Apis::HealthcareV1::Operation::Representation
4619
+ command.response_class = Google::Apis::HealthcareV1::Operation
4620
+ command.params['name'] = name unless name.nil?
4621
+ command.query['fields'] = fields unless fields.nil?
4622
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4623
+ execute_or_queue_command(command, &block)
4624
+ end
4625
+
4529
4626
  # Lists the HL7v2 stores in the given dataset.
4530
4627
  # @param [String] parent
4531
4628
  # Name of the dataset.
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.12.0
4
+ version: 0.16.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: 2021-09-06 00:00:00.000000000 Z
11
+ date: 2021-10-18 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/master/generated/google-apis-healthcare_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1/v0.12.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1/v0.16.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-healthcare_v1
63
63
  post_install_message:
64
64
  rdoc_options: []