google-apis-healthcare_v1 0.13.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/OVERVIEW.md +2 -2
- data/lib/google/apis/healthcare_v1/classes.rb +231 -62
- data/lib/google/apis/healthcare_v1/gem_version.rb +2 -2
- data/lib/google/apis/healthcare_v1/representations.rb +83 -0
- data/lib/google/apis/healthcare_v1/service.rb +97 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6af37fda0caeb3efb12db6529265bddb1f1be48d43ae6f058518463d0ec68ff6
|
4
|
+
data.tar.gz: 73b4917780f8d409ed835fc34b86d9ee1153059655099450baa34e42010560f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9dce6ad53749e556e2bf4178c7b57f47f1433fa432b3007d374db6f8deb631b82c6ec9b38af6d14e7d4d1724b3834018635c7249752302d7deb1061c08b8a3d
|
7
|
+
data.tar.gz: cde0fee3123bfb79d3d2089ba0d73b8d26b3ae811d8dffe93c38b1d0d8ea61ca3311a684c6dcd4d4f15519993da305fd0dc01e11aec0d5398cc94d79850a2b5c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-healthcare_v1
|
2
2
|
|
3
|
+
### v0.17.0 (2021-10-27)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211016
|
6
|
+
* Unspecified changes
|
7
|
+
|
8
|
+
### v0.16.0 (2021-10-12)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20211004
|
11
|
+
|
12
|
+
### v0.15.0 (2021-10-01)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20210917
|
15
|
+
|
16
|
+
### v0.14.0 (2021-09-24)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210914
|
19
|
+
|
3
20
|
### v0.13.0 (2021-09-16)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210909
|
data/OVERVIEW.md
CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
|
|
60
60
|
|
61
61
|
More detailed descriptions of the Google simple REST clients are available in two documents.
|
62
62
|
|
63
|
-
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
63
|
+
* The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
|
64
|
+
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
|
65
65
|
|
66
66
|
(Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Healthcare service in particular.)
|
67
67
|
|
@@ -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
|
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>]
|
@@ -306,7 +306,7 @@ module Google
|
|
306
306
|
end
|
307
307
|
end
|
308
308
|
|
309
|
-
# Associates `members
|
309
|
+
# Associates `members`, or principals, with a `role`.
|
310
310
|
class Binding
|
311
311
|
include Google::Apis::Core::Hashable
|
312
312
|
|
@@ -329,7 +329,7 @@ module Google
|
|
329
329
|
# @return [Google::Apis::HealthcareV1::Expr]
|
330
330
|
attr_accessor :condition
|
331
331
|
|
332
|
-
# Specifies the
|
332
|
+
# Specifies the principals requesting access for a Cloud Platform resource. `
|
333
333
|
# members` can have the following values: * `allUsers`: A special identifier
|
334
334
|
# that represents anyone who is on the internet; with or without a Google
|
335
335
|
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
@@ -359,8 +359,8 @@ module Google
|
|
359
359
|
# @return [Array<String>]
|
360
360
|
attr_accessor :members
|
361
361
|
|
362
|
-
# Role that is assigned to `members
|
363
|
-
#
|
362
|
+
# Role that is assigned to the list of `members`, or principals. For example, `
|
363
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`.
|
364
364
|
# Corresponds to the JSON property `role`
|
365
365
|
# @return [String]
|
366
366
|
attr_accessor :role
|
@@ -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
|
@@ -1500,7 +1557,7 @@ module Google
|
|
1500
1557
|
|
1501
1558
|
# Specifies FHIR paths to match and how to transform them. Any field that is not
|
1502
1559
|
# matched by a FieldMetadata is passed through to the output dataset unmodified.
|
1503
|
-
# All extensions
|
1560
|
+
# All extensions will be processed according to `default_keep_extensions`.
|
1504
1561
|
# Corresponds to the JSON property `fieldMetadataList`
|
1505
1562
|
# @return [Array<Google::Apis::HealthcareV1::FieldMetadata>]
|
1506
1563
|
attr_accessor :field_metadata_list
|
@@ -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
|
@@ -1825,9 +1947,9 @@ module Google
|
|
1825
1947
|
class GoogleCloudHealthcareV1DicomBigQueryDestination
|
1826
1948
|
include Google::Apis::Core::Hashable
|
1827
1949
|
|
1828
|
-
#
|
1829
|
-
#
|
1830
|
-
#
|
1950
|
+
# Use `write_disposition` instead. If `write_disposition` is specified, this
|
1951
|
+
# parameter is ignored. force=false is equivalent to write_disposition=
|
1952
|
+
# WRITE_EMPTY and force=true is equivalent to write_disposition=WRITE_TRUNCATE.
|
1831
1953
|
# Corresponds to the JSON property `force`
|
1832
1954
|
# @return [Boolean]
|
1833
1955
|
attr_accessor :force
|
@@ -1839,6 +1961,13 @@ module Google
|
|
1839
1961
|
# @return [String]
|
1840
1962
|
attr_accessor :table_uri
|
1841
1963
|
|
1964
|
+
# Determines whether the existing table in the destination is to be overwritten
|
1965
|
+
# or appended to. If a write_disposition is specified, the `force` parameter is
|
1966
|
+
# ignored.
|
1967
|
+
# Corresponds to the JSON property `writeDisposition`
|
1968
|
+
# @return [String]
|
1969
|
+
attr_accessor :write_disposition
|
1970
|
+
|
1842
1971
|
def initialize(**args)
|
1843
1972
|
update!(**args)
|
1844
1973
|
end
|
@@ -1847,6 +1976,7 @@ module Google
|
|
1847
1976
|
def update!(**args)
|
1848
1977
|
@force = args[:force] if args.key?(:force)
|
1849
1978
|
@table_uri = args[:table_uri] if args.key?(:table_uri)
|
1979
|
+
@write_disposition = args[:write_disposition] if args.key?(:write_disposition)
|
1850
1980
|
end
|
1851
1981
|
end
|
1852
1982
|
|
@@ -2379,6 +2509,40 @@ module Google
|
|
2379
2509
|
end
|
2380
2510
|
end
|
2381
2511
|
|
2512
|
+
# Request to import messages.
|
2513
|
+
class ImportMessagesRequest
|
2514
|
+
include Google::Apis::Core::Hashable
|
2515
|
+
|
2516
|
+
# Specifies the configuration for importing data from Cloud Storage.
|
2517
|
+
# Corresponds to the JSON property `gcsSource`
|
2518
|
+
# @return [Google::Apis::HealthcareV1::GcsSource]
|
2519
|
+
attr_accessor :gcs_source
|
2520
|
+
|
2521
|
+
def initialize(**args)
|
2522
|
+
update!(**args)
|
2523
|
+
end
|
2524
|
+
|
2525
|
+
# Update properties of this object
|
2526
|
+
def update!(**args)
|
2527
|
+
@gcs_source = args[:gcs_source] if args.key?(:gcs_source)
|
2528
|
+
end
|
2529
|
+
end
|
2530
|
+
|
2531
|
+
# Final response of importing messages. This structure is included in the
|
2532
|
+
# response to describe the detailed outcome. It is only included when the
|
2533
|
+
# operation finishes successfully.
|
2534
|
+
class ImportMessagesResponse
|
2535
|
+
include Google::Apis::Core::Hashable
|
2536
|
+
|
2537
|
+
def initialize(**args)
|
2538
|
+
update!(**args)
|
2539
|
+
end
|
2540
|
+
|
2541
|
+
# Update properties of this object
|
2542
|
+
def update!(**args)
|
2543
|
+
end
|
2544
|
+
end
|
2545
|
+
|
2382
2546
|
# Request to import resources.
|
2383
2547
|
class ImportResourcesRequest
|
2384
2548
|
include Google::Apis::Core::Hashable
|
@@ -3260,31 +3424,31 @@ module Google
|
|
3260
3424
|
|
3261
3425
|
# An Identity and Access Management (IAM) policy, which specifies access
|
3262
3426
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
3263
|
-
# A `binding` binds one or more `members
|
3264
|
-
# user accounts, service accounts, Google groups, and domains (
|
3265
|
-
# A `role` is a named list of permissions; each `role` can be
|
3266
|
-
# role or a user-created custom role. For some types of Google
|
3267
|
-
# a `binding` can also specify a `condition`, which is a
|
3268
|
-
# allows access to a resource only if the expression
|
3269
|
-
# condition can add constraints based on attributes of
|
3270
|
-
# or both. To learn which resources support
|
3271
|
-
# see the [IAM documentation](https://cloud.
|
3272
|
-
# resource-policies). **JSON example:** ` "
|
3273
|
-
# resourcemanager.organizationAdmin", "members": [
|
3274
|
-
# group:admins@example.com", "domain:google.com", "
|
3275
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
3276
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
3277
|
-
# title": "expirable access", "description": "Does not grant
|
3278
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
3279
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
3280
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
3281
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
3282
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
3283
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
3284
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
3285
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
3286
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
3287
|
-
# google.com/iam/docs/).
|
3427
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
3428
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
3429
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
3430
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
3431
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
3432
|
+
# logical expression that allows access to a resource only if the expression
|
3433
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
3434
|
+
# the request, the resource, or both. To learn which resources support
|
3435
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
3436
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
3437
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
3438
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
3439
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
3440
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
3441
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
3442
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
3443
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
3444
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
3445
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
3446
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
3447
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
3448
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
3449
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
3450
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
3451
|
+
# cloud.google.com/iam/docs/).
|
3288
3452
|
class Policy
|
3289
3453
|
include Google::Apis::Core::Hashable
|
3290
3454
|
|
@@ -3293,9 +3457,14 @@ module Google
|
|
3293
3457
|
# @return [Array<Google::Apis::HealthcareV1::AuditConfig>]
|
3294
3458
|
attr_accessor :audit_configs
|
3295
3459
|
|
3296
|
-
# Associates a list of `members
|
3297
|
-
# condition` that determines how and when the `bindings` are applied.
|
3298
|
-
# the `bindings` must contain at least one
|
3460
|
+
# Associates a list of `members`, or principals, with a `role`. Optionally, may
|
3461
|
+
# specify a `condition` that determines how and when the `bindings` are applied.
|
3462
|
+
# Each of the `bindings` must contain at least one principal. The `bindings` in
|
3463
|
+
# a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
|
3464
|
+
# can be Google groups. Each occurrence of a principal counts towards these
|
3465
|
+
# limits. For example, if the `bindings` grant 50 different roles to `user:alice@
|
3466
|
+
# example.com`, and not to any other principal, then you can add another 1,450
|
3467
|
+
# principals to the `bindings` in the `Policy`.
|
3299
3468
|
# Corresponds to the JSON property `bindings`
|
3300
3469
|
# @return [Array<Google::Apis::HealthcareV1::Binding>]
|
3301
3470
|
attr_accessor :bindings
|
@@ -3823,31 +3992,31 @@ module Google
|
|
3823
3992
|
|
3824
3993
|
# An Identity and Access Management (IAM) policy, which specifies access
|
3825
3994
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
3826
|
-
# A `binding` binds one or more `members
|
3827
|
-
# user accounts, service accounts, Google groups, and domains (
|
3828
|
-
# A `role` is a named list of permissions; each `role` can be
|
3829
|
-
# role or a user-created custom role. For some types of Google
|
3830
|
-
# a `binding` can also specify a `condition`, which is a
|
3831
|
-
# allows access to a resource only if the expression
|
3832
|
-
# condition can add constraints based on attributes of
|
3833
|
-
# or both. To learn which resources support
|
3834
|
-
# see the [IAM documentation](https://cloud.
|
3835
|
-
# resource-policies). **JSON example:** ` "
|
3836
|
-
# resourcemanager.organizationAdmin", "members": [
|
3837
|
-
# group:admins@example.com", "domain:google.com", "
|
3838
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
3839
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
3840
|
-
# title": "expirable access", "description": "Does not grant
|
3841
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
3842
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
3843
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
3844
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
3845
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
3846
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
3847
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
3848
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
3849
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
3850
|
-
# google.com/iam/docs/).
|
3995
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
3996
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
3997
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
3998
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
3999
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
4000
|
+
# logical expression that allows access to a resource only if the expression
|
4001
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
4002
|
+
# the request, the resource, or both. To learn which resources support
|
4003
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
4004
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
4005
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
4006
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
4007
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
4008
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
4009
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
4010
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
4011
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
4012
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
4013
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
4014
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
4015
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
4016
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
4017
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
4018
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
4019
|
+
# cloud.google.com/iam/docs/).
|
3851
4020
|
# Corresponds to the JSON property `policy`
|
3852
4021
|
# @return [Google::Apis::HealthcareV1::Policy]
|
3853
4022
|
attr_accessor :policy
|
@@ -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.17.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 = "
|
25
|
+
REVISION = "20211016"
|
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
|
@@ -1258,6 +1326,7 @@ module Google
|
|
1258
1326
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1259
1327
|
property :force, as: 'force'
|
1260
1328
|
property :table_uri, as: 'tableUri'
|
1329
|
+
property :write_disposition, as: 'writeDisposition'
|
1261
1330
|
end
|
1262
1331
|
end
|
1263
1332
|
|
@@ -1390,6 +1459,20 @@ module Google
|
|
1390
1459
|
end
|
1391
1460
|
end
|
1392
1461
|
|
1462
|
+
class ImportMessagesRequest
|
1463
|
+
# @private
|
1464
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1465
|
+
property :gcs_source, as: 'gcsSource', class: Google::Apis::HealthcareV1::GcsSource, decorator: Google::Apis::HealthcareV1::GcsSource::Representation
|
1466
|
+
|
1467
|
+
end
|
1468
|
+
end
|
1469
|
+
|
1470
|
+
class ImportMessagesResponse
|
1471
|
+
# @private
|
1472
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1473
|
+
end
|
1474
|
+
end
|
1475
|
+
|
1393
1476
|
class ImportResourcesRequest
|
1394
1477
|
# @private
|
1395
1478
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -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.
|
4
|
+
version: 0.17.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-
|
11
|
+
date: 2021-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -57,9 +57,9 @@ licenses:
|
|
57
57
|
- Apache-2.0
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
|
-
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-healthcare_v1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
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.17.0
|
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: []
|
65
65
|
require_paths:
|