google-api-client 0.39.2 → 0.39.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +36 -0
  3. data/generated/google/apis/appengine_v1.rb +1 -1
  4. data/generated/google/apis/appengine_v1/classes.rb +7 -0
  5. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  6. data/generated/google/apis/appengine_v1beta.rb +1 -1
  7. data/generated/google/apis/appengine_v1beta/classes.rb +7 -0
  8. data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
  9. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  10. data/generated/google/apis/bigqueryreservation_v1/classes.rb +19 -15
  11. data/generated/google/apis/bigqueryreservation_v1/service.rb +86 -73
  12. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  13. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  14. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +0 -47
  15. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +0 -16
  16. data/generated/google/apis/cloudkms_v1.rb +1 -1
  17. data/generated/google/apis/cloudkms_v1/classes.rb +26 -14
  18. data/generated/google/apis/cloudkms_v1/service.rb +15 -6
  19. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  20. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +26 -10
  21. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  22. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +26 -10
  23. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  24. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +26 -10
  25. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  26. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +26 -10
  27. data/generated/google/apis/cloudshell_v1.rb +1 -1
  28. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  29. data/generated/google/apis/container_v1.rb +1 -1
  30. data/generated/google/apis/container_v1/classes.rb +3 -2
  31. data/generated/google/apis/container_v1beta1.rb +1 -1
  32. data/generated/google/apis/container_v1beta1/classes.rb +3 -2
  33. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  34. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +4 -4
  35. data/generated/google/apis/games_management_v1management.rb +6 -4
  36. data/generated/google/apis/games_management_v1management/classes.rb +50 -90
  37. data/generated/google/apis/games_management_v1management/representations.rb +0 -17
  38. data/generated/google/apis/games_management_v1management/service.rb +115 -291
  39. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  40. data/generated/google/apis/gameservices_v1beta/classes.rb +73 -60
  41. data/generated/google/apis/gameservices_v1beta/service.rb +60 -57
  42. data/generated/google/apis/gmail_v1.rb +2 -3
  43. data/generated/google/apis/gmail_v1/classes.rb +199 -258
  44. data/generated/google/apis/gmail_v1/service.rb +744 -552
  45. data/generated/google/apis/healthcare_v1.rb +1 -1
  46. data/generated/google/apis/healthcare_v1/classes.rb +34 -22
  47. data/generated/google/apis/healthcare_v1/service.rb +46 -111
  48. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  49. data/generated/google/apis/healthcare_v1beta1/classes.rb +34 -22
  50. data/generated/google/apis/healthcare_v1beta1/service.rb +63 -113
  51. data/generated/google/apis/iap_v1.rb +1 -1
  52. data/generated/google/apis/iap_v1/classes.rb +35 -12
  53. data/generated/google/apis/iap_v1/representations.rb +1 -0
  54. data/generated/google/apis/iap_v1/service.rb +1 -1
  55. data/generated/google/apis/iap_v1beta1.rb +1 -1
  56. data/generated/google/apis/iap_v1beta1/classes.rb +26 -10
  57. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  58. data/generated/google/apis/osconfig_v1.rb +1 -1
  59. data/generated/google/apis/osconfig_v1/classes.rb +29 -27
  60. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  61. data/generated/google/apis/osconfig_v1beta/classes.rb +17 -20
  62. data/generated/google/apis/run_v1.rb +1 -1
  63. data/generated/google/apis/run_v1/classes.rb +31 -49
  64. data/generated/google/apis/run_v1/representations.rb +1 -17
  65. data/generated/google/apis/run_v1/service.rb +3 -0
  66. data/generated/google/apis/run_v1alpha1.rb +1 -1
  67. data/generated/google/apis/run_v1alpha1/classes.rb +23 -10
  68. data/generated/google/apis/run_v1alpha1/service.rb +3 -0
  69. data/generated/google/apis/sheets_v4.rb +1 -1
  70. data/generated/google/apis/spanner_v1.rb +1 -1
  71. data/generated/google/apis/storage_v1.rb +1 -1
  72. data/generated/google/apis/storage_v1/classes.rb +18 -0
  73. data/generated/google/apis/storage_v1/representations.rb +3 -0
  74. data/generated/google/apis/testing_v1.rb +1 -1
  75. data/generated/google/apis/testing_v1/classes.rb +3 -2
  76. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  77. data/generated/google/apis/toolresults_v1beta3/classes.rb +141 -2
  78. data/generated/google/apis/toolresults_v1beta3/representations.rb +77 -0
  79. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  80. data/lib/google/apis/version.rb +1 -1
  81. metadata +3 -3
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/healthcare
26
26
  module HealthcareV1
27
27
  VERSION = 'V1'
28
- REVISION = '20200414'
28
+ REVISION = '20200501'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -1266,7 +1266,7 @@ module Google
1266
1266
  # @return [String]
1267
1267
  attr_accessor :filter
1268
1268
 
1269
- # The [Cloud Pubsub](https://cloud.google.com/pubsub/docs/) topic that
1269
+ # The [Cloud Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that
1270
1270
  # notifications of changes are published on. Supplied by the client. The
1271
1271
  # notification is a `PubsubMessage` with the following fields:
1272
1272
  # * `PubsubMessage.Data` contains the resource name.
@@ -1276,12 +1276,12 @@ module Google
1276
1276
  # published.
1277
1277
  # Note that notifications are only sent if the topic is non-empty. [Topic
1278
1278
  # names](https://cloud.google.com/pubsub/docs/overview#names) must be
1279
- # scoped to a project. cloud-healthcare@system.gserviceaccount.com must
1280
- # have publisher permissions on the given Pubsub topic. Not having adequate
1279
+ # scoped to a project. Cloud Healthcare API service account must have
1280
+ # publisher permissions on the given Pub/Sub topic. Not having adequate
1281
1281
  # permissions causes the calls that send notifications to fail.
1282
1282
  # If a notification cannot be published to Cloud Pub/Sub, errors will be
1283
- # logged to Stackdriver (see [Viewing logs](/healthcare/docs/how-
1284
- # tos/stackdriver-logging)).
1283
+ # logged to Cloud Logging (see [Viewing logs](/healthcare/docs/how-
1284
+ # tos/logging)).
1285
1285
  # Corresponds to the JSON property `pubsubTopic`
1286
1286
  # @return [String]
1287
1287
  attr_accessor :pubsub_topic
@@ -1888,12 +1888,12 @@ module Google
1888
1888
  # Notifications are only sent if the topic is
1889
1889
  # non-empty. [Topic
1890
1890
  # names](https://cloud.google.com/pubsub/docs/overview#names) must be scoped
1891
- # to a project. cloud-healthcare@system.gserviceaccount.com must have
1892
- # publisher permissions on the given Cloud Pub/Sub topic. Not having adequate
1891
+ # to a project. Cloud Healthcare API service account must have publisher
1892
+ # permissions on the given Cloud Pub/Sub topic. Not having adequate
1893
1893
  # permissions causes the calls that send notifications to fail.
1894
1894
  # If a notification can't be published to Cloud Pub/Sub, errors are logged to
1895
- # Stackdriver (see [Viewing
1896
- # logs](/healthcare/docs/how-tos/stackdriver-logging)). If the number of
1895
+ # Cloud Logging (see [Viewing
1896
+ # logs](/healthcare/docs/how-tos/logging)). If the number of
1897
1897
  # errors exceeds a certain rate, some aren't submitted.
1898
1898
  # Corresponds to the JSON property `pubsubTopic`
1899
1899
  # @return [String]
@@ -2006,7 +2006,7 @@ module Google
2006
2006
 
2007
2007
  # A link to audit and error logs in the log viewer. Error logs are generated
2008
2008
  # only by some operations, listed at
2009
- # https://cloud.google.com/healthcare/docs/how-tos/stackdriver-logging.
2009
+ # [Viewing logs](/healthcare/docs/how-tos/logging).
2010
2010
  # Corresponds to the JSON property `logsUrl`
2011
2011
  # @return [String]
2012
2012
  attr_accessor :logs_url
@@ -2106,10 +2106,13 @@ module Google
2106
2106
  # Google groups, and domains (such as G Suite). A `role` is a named list of
2107
2107
  # permissions; each `role` can be an IAM predefined role or a user-created
2108
2108
  # custom role.
2109
- # Optionally, a `binding` can specify a `condition`, which is a logical
2110
- # expression that allows access to a resource only if the expression evaluates
2111
- # to `true`. A condition can add constraints based on attributes of the
2112
- # request, the resource, or both.
2109
+ # For some types of Google Cloud resources, a `binding` can also specify a
2110
+ # `condition`, which is a logical expression that allows access to a resource
2111
+ # only if the expression evaluates to `true`. A condition can add constraints
2112
+ # based on attributes of the request, the resource, or both. To learn which
2113
+ # resources support conditions in their IAM policies, see the
2114
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
2115
+ # policies).
2113
2116
  # **JSON example:**
2114
2117
  # `
2115
2118
  # "bindings": [
@@ -2124,7 +2127,9 @@ module Google
2124
2127
  # `,
2125
2128
  # `
2126
2129
  # "role": "roles/resourcemanager.organizationViewer",
2127
- # "members": ["user:eve@example.com"],
2130
+ # "members": [
2131
+ # "user:eve@example.com"
2132
+ # ],
2128
2133
  # "condition": `
2129
2134
  # "title": "expirable access",
2130
2135
  # "description": "Does not grant access after Sep 2020",
@@ -2202,6 +2207,9 @@ module Google
2202
2207
  # the conditions in the version `3` policy are lost.
2203
2208
  # If a policy does not include any conditions, operations on that policy may
2204
2209
  # specify any valid version or leave the field unset.
2210
+ # To learn which resources support conditions in their IAM policies, see the
2211
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
2212
+ # policies).
2205
2213
  # Corresponds to the JSON property `version`
2206
2214
  # @return [Fixnum]
2207
2215
  attr_accessor :version
@@ -2409,10 +2417,13 @@ module Google
2409
2417
  # Google groups, and domains (such as G Suite). A `role` is a named list of
2410
2418
  # permissions; each `role` can be an IAM predefined role or a user-created
2411
2419
  # custom role.
2412
- # Optionally, a `binding` can specify a `condition`, which is a logical
2413
- # expression that allows access to a resource only if the expression evaluates
2414
- # to `true`. A condition can add constraints based on attributes of the
2415
- # request, the resource, or both.
2420
+ # For some types of Google Cloud resources, a `binding` can also specify a
2421
+ # `condition`, which is a logical expression that allows access to a resource
2422
+ # only if the expression evaluates to `true`. A condition can add constraints
2423
+ # based on attributes of the request, the resource, or both. To learn which
2424
+ # resources support conditions in their IAM policies, see the
2425
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
2426
+ # policies).
2416
2427
  # **JSON example:**
2417
2428
  # `
2418
2429
  # "bindings": [
@@ -2427,7 +2438,9 @@ module Google
2427
2438
  # `,
2428
2439
  # `
2429
2440
  # "role": "roles/resourcemanager.organizationViewer",
2430
- # "members": ["user:eve@example.com"],
2441
+ # "members": [
2442
+ # "user:eve@example.com"
2443
+ # ],
2431
2444
  # "condition": `
2432
2445
  # "title": "expirable access",
2433
2446
  # "description": "Does not grant access after Sep 2020",
@@ -2465,8 +2478,7 @@ module Google
2465
2478
  # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
2466
2479
  # the fields in the mask will be modified. If no mask is provided, the
2467
2480
  # following default mask is used:
2468
- # paths: "bindings, etag"
2469
- # This field is only used by Cloud IAM.
2481
+ # `paths: "bindings, etag"`
2470
2482
  # Corresponds to the JSON property `updateMask`
2471
2483
  # @return [String]
2472
2484
  attr_accessor :update_mask
@@ -102,8 +102,8 @@ module Google
102
102
  # DICOM instances. The new de-identified dataset will not contain these
103
103
  # failed resources. Failed resource totals are tracked in
104
104
  # Operation.metadata.
105
- # Error details are also logged to Stackdriver Logging. For more information,
106
- # see [Viewing logs](/healthcare/docs/how-tos/stackdriver-logging).
105
+ # Error details are also logged to Cloud Logging. For more information,
106
+ # see [Viewing logs](/healthcare/docs/how-tos/logging).
107
107
  # @param [String] source_dataset
108
108
  # Source dataset resource name. For example,
109
109
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id``.
@@ -214,6 +214,9 @@ module Google
214
214
  # Requests for policies with any conditional bindings must specify version 3.
215
215
  # Policies without any conditional bindings may specify any valid value or
216
216
  # leave the field unset.
217
+ # To learn which resources support conditions in their IAM policies, see the
218
+ # [IAM
219
+ # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
217
220
  # @param [String] fields
218
221
  # Selector specifying which fields to include in a partial response.
219
222
  # @param [String] quota_user
@@ -322,7 +325,7 @@ module Google
322
325
 
323
326
  # Sets the access control policy on the specified resource. Replaces any
324
327
  # existing policy.
325
- # Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
328
+ # Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
326
329
  # @param [String] resource
327
330
  # REQUIRED: The resource for which the policy is being specified.
328
331
  # See the operation documentation for the appropriate value for this field.
@@ -358,7 +361,7 @@ module Google
358
361
 
359
362
  # Returns permissions that a caller has on the specified resource.
360
363
  # If the resource does not exist, this will return an empty set of
361
- # permissions, not a NOT_FOUND error.
364
+ # permissions, not a `NOT_FOUND` error.
362
365
  # Note: This operation is designed to be used for building permission-aware
363
366
  # UIs and command-line tools, not for authorization checking. This operation
364
367
  # may "fail open" without warning.
@@ -443,8 +446,8 @@ module Google
443
446
  # DICOM instances. The output DICOM store will not contain
444
447
  # these failed resources. Failed resource totals are tracked in
445
448
  # Operation.metadata.
446
- # Error details are also logged to Stackdriver
447
- # (see [Viewing logs](/healthcare/docs/how-tos/stackdriver-logging)).
449
+ # Error details are also logged to Cloud Logging
450
+ # (see [Viewing logs](/healthcare/docs/how-tos/logging)).
448
451
  # @param [String] source_store
449
452
  # Source DICOM store resource name. For example,
450
453
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
@@ -512,8 +515,8 @@ module Google
512
515
 
513
516
  # Exports data to the specified destination by copying it from the DICOM
514
517
  # store.
515
- # Errors are also logged to Stackdriver Logging. For more information,
516
- # see [Viewing logs](/healthcare/docs/how-tos/stackdriver-logging).
518
+ # Errors are also logged to Cloud Logging. For more information,
519
+ # see [Viewing logs](/healthcare/docs/how-tos/logging).
517
520
  # The metadata field type is
518
521
  # OperationMetadata.
519
522
  # @param [String] name
@@ -594,6 +597,9 @@ module Google
594
597
  # Requests for policies with any conditional bindings must specify version 3.
595
598
  # Policies without any conditional bindings may specify any valid value or
596
599
  # leave the field unset.
600
+ # To learn which resources support conditions in their IAM policies, see the
601
+ # [IAM
602
+ # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
597
603
  # @param [String] fields
598
604
  # Selector specifying which fields to include in a partial response.
599
605
  # @param [String] quota_user
@@ -623,8 +629,8 @@ module Google
623
629
  end
624
630
 
625
631
  # Imports data into the DICOM store by copying it from the specified source.
626
- # Errors are logged to Stackdriver Logging. For more information, see
627
- # [Viewing logs](/healthcare/docs/how-tos/stackdriver-logging). The
632
+ # Errors are logged to Cloud Logging. For more information, see
633
+ # [Viewing logs](/healthcare/docs/how-tos/logging). The
628
634
  # metadata field type is
629
635
  # OperationMetadata.
630
636
  # @param [String] name
@@ -858,7 +864,7 @@ module Google
858
864
 
859
865
  # Sets the access control policy on the specified resource. Replaces any
860
866
  # existing policy.
861
- # Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
867
+ # Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
862
868
  # @param [String] resource
863
869
  # REQUIRED: The resource for which the policy is being specified.
864
870
  # See the operation documentation for the appropriate value for this field.
@@ -935,7 +941,7 @@ module Google
935
941
 
936
942
  # Returns permissions that a caller has on the specified resource.
937
943
  # If the resource does not exist, this will return an empty set of
938
- # permissions, not a NOT_FOUND error.
944
+ # permissions, not a `NOT_FOUND` error.
939
945
  # Note: This operation is designed to be used for building permission-aware
940
946
  # UIs and command-line tools, not for authorization checking. This operation
941
947
  # may "fail open" without warning.
@@ -1627,8 +1633,8 @@ module Google
1627
1633
  # response field type is
1628
1634
  # DeidentifyFhirStoreSummary. If errors occur,
1629
1635
  # error is set.
1630
- # Error details are also logged to Stackdriver
1631
- # (see [Viewing logs](/healthcare/docs/how-tos/stackdriver-logging)).
1636
+ # Error details are also logged to Cloud Logging
1637
+ # (see [Viewing logs](/healthcare/docs/how-tos/logging)).
1632
1638
  # @param [String] source_store
1633
1639
  # Source FHIR store resource name. For example,
1634
1640
  # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
@@ -1699,8 +1705,8 @@ module Google
1699
1705
  # GetOperation.
1700
1706
  # Immediate fatal errors appear in the
1701
1707
  # error field, errors are also logged
1702
- # to Stackdriver (see [Viewing
1703
- # logs](/healthcare/docs/how-tos/stackdriver-logging)).
1708
+ # to Cloud Logging (see [Viewing
1709
+ # logs](/healthcare/docs/how-tos/logging)).
1704
1710
  # Otherwise, when the operation finishes, a detailed response of type
1705
1711
  # ExportResourcesResponse is returned in the
1706
1712
  # response field.
@@ -1784,6 +1790,9 @@ module Google
1784
1790
  # Requests for policies with any conditional bindings must specify version 3.
1785
1791
  # Policies without any conditional bindings may specify any valid value or
1786
1792
  # leave the field unset.
1793
+ # To learn which resources support conditions in their IAM policies, see the
1794
+ # [IAM
1795
+ # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
1787
1796
  # @param [String] fields
1788
1797
  # Selector specifying which fields to include in a partial response.
1789
1798
  # @param [String] quota_user
@@ -1831,7 +1840,7 @@ module Google
1831
1840
  # if the input data contains invalid references or if some resources fail to
1832
1841
  # be imported, the FHIR store might be left in a state that violates
1833
1842
  # referential integrity.
1834
- # The import process does not trigger PubSub notification or BigQuery
1843
+ # The import process does not trigger Pub/Sub notification or BigQuery
1835
1844
  # streaming update, regardless of how those are configured on the FHIR store.
1836
1845
  # If a resource with the specified ID already exists, the most recent
1837
1846
  # version of the resource is overwritten without creating a new historical
@@ -1870,8 +1879,8 @@ module Google
1870
1879
  # GetOperation.
1871
1880
  # Immediate fatal errors appear in the
1872
1881
  # error field, errors are also logged
1873
- # to Stackdriver (see [Viewing
1874
- # logs](/healthcare/docs/how-tos/stackdriver-logging)). Otherwise, when the
1882
+ # to Cloud Logging (see [Viewing
1883
+ # logs](/healthcare/docs/how-tos/logging)). Otherwise, when the
1875
1884
  # operation finishes, a detailed response of type ImportResourcesResponse
1876
1885
  # is returned in the response field.
1877
1886
  # The metadata field type for this
@@ -1993,95 +2002,9 @@ module Google
1993
2002
  execute_or_queue_command(command, &block)
1994
2003
  end
1995
2004
 
1996
- # Searches for resources in the given FHIR store according to criteria
1997
- # specified as query parameters.
1998
- # Implements the FHIR standard search interaction
1999
- # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/http.html#search),
2000
- # [STU3](http://hl7.org/implement/standards/fhir/STU3/http.html#search),
2001
- # [R4](http://hl7.org/implement/standards/fhir/R4/http.html#search))
2002
- # using the search semantics described in the FHIR Search specification
2003
- # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/search.html),
2004
- # [STU3](http://hl7.org/implement/standards/fhir/STU3/search.html),
2005
- # [R4](http://hl7.org/implement/standards/fhir/R4/search.html)).
2006
- # Supports three methods of search defined by the specification:
2007
- # * `GET [base]?[parameters]` to search across all resources.
2008
- # * `GET [base]/[type]?[parameters]` to search resources of a specified
2009
- # type.
2010
- # * `POST [base]/[type]/_search?[parameters]` as an alternate form having
2011
- # the same semantics as the `GET` method.
2012
- # The `GET` methods do not support compartment searches. The `POST` method
2013
- # does not support `application/x-www-form-urlencoded` search parameters.
2014
- # On success, the response body will contain a JSON-encoded representation
2015
- # of a `Bundle` resource of type `searchset`, containing the results of the
2016
- # search.
2017
- # Errors generated by the FHIR store will contain a JSON-encoded
2018
- # `OperationOutcome` resource describing the reason for the error. If the
2019
- # request cannot be mapped to a valid API method on a FHIR store, a generic
2020
- # GCP error might be returned instead.
2021
- # The server's capability statement, retrieved through
2022
- # capabilities, indicates what search parameters
2023
- # are supported on each FHIR resource. A list of all search parameters
2024
- # defined by the specification can be found in the FHIR Search Parameter
2025
- # Registry
2026
- # ([STU3](http://hl7.org/implement/standards/fhir/STU3/searchparameter-registry.
2027
- # html),
2028
- # [R4](http://hl7.org/implement/standards/fhir/R4/searchparameter-registry.html))
2029
- # .
2030
- # FHIR search parameters for DSTU2 can be found on each resource's definition
2031
- # page.
2032
- # Supported search modifiers: `:missing`, `:exact`, `:contains`, `:text`,
2033
- # `:in`, `:not-in`, `:above`, `:below`, `:[type]`, `:not`, and `:recurse`.
2034
- # Supported search result parameters: `_sort`, `_count`, `_include`,
2035
- # `_revinclude`, `_summary=text`, `_summary=data`, and `_elements`.
2036
- # The maximum number of search results returned defaults to 100, which can
2037
- # be overridden by the `_count` parameter up to a maximum limit of 1000. If
2038
- # there are additional results, the returned `Bundle` will contain
2039
- # pagination links.
2040
- # Resources with a total size larger than 5MB or a field count larger than
2041
- # 50,000 might not be fully searchable as the server might trim its generated
2042
- # search index in those cases.
2043
- # Note: FHIR resources are indexed asynchronously, so there might be a slight
2044
- # delay between the time a resource is created or changes and when the change
2045
- # is reflected in search results.
2046
- # @param [String] parent
2047
- # Name of the FHIR store to retrieve resources from.
2048
- # @param [String] resource_type
2049
- # The FHIR resource type to search, such as Patient or Observation. For a
2050
- # complete list, see the FHIR Resource Index
2051
- # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
2052
- # [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html),
2053
- # [R4](http://hl7.org/implement/standards/fhir/R4/resourcelist.html)).
2054
- # @param [String] fields
2055
- # Selector specifying which fields to include in a partial response.
2056
- # @param [String] quota_user
2057
- # Available to use for quota purposes for server-side applications. Can be any
2058
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2059
- # @param [Google::Apis::RequestOptions] options
2060
- # Request-specific options
2061
- #
2062
- # @yield [result, err] Result & error if block supplied
2063
- # @yieldparam result [Google::Apis::HealthcareV1::HttpBody] parsed result object
2064
- # @yieldparam err [StandardError] error object if request failed
2065
- #
2066
- # @return [Google::Apis::HealthcareV1::HttpBody]
2067
- #
2068
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2069
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2070
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2071
- def search_project_location_dataset_fhir_stores(parent, resource_type: nil, fields: nil, quota_user: nil, options: nil, &block)
2072
- command = make_simple_command(:get, 'v1/{+parent}/fhir', options)
2073
- command.response_representation = Google::Apis::HealthcareV1::HttpBody::Representation
2074
- command.response_class = Google::Apis::HealthcareV1::HttpBody
2075
- command.params['parent'] = parent unless parent.nil?
2076
- command.query['resourceType'] = resource_type unless resource_type.nil?
2077
- command.query['fields'] = fields unless fields.nil?
2078
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2079
- execute_or_queue_command(command, &block)
2080
- end
2081
-
2082
2005
  # Sets the access control policy on the specified resource. Replaces any
2083
2006
  # existing policy.
2084
- # Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
2007
+ # Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
2085
2008
  # @param [String] resource
2086
2009
  # REQUIRED: The resource for which the policy is being specified.
2087
2010
  # See the operation documentation for the appropriate value for this field.
@@ -2117,7 +2040,7 @@ module Google
2117
2040
 
2118
2041
  # Returns permissions that a caller has on the specified resource.
2119
2042
  # If the resource does not exist, this will return an empty set of
2120
- # permissions, not a NOT_FOUND error.
2043
+ # permissions, not a `NOT_FOUND` error.
2121
2044
  # Note: This operation is designed to be used for building permission-aware
2122
2045
  # UIs and command-line tools, not for authorization checking. This operation
2123
2046
  # may "fail open" without warning.
@@ -2154,8 +2077,7 @@ module Google
2154
2077
  execute_or_queue_command(command, &block)
2155
2078
  end
2156
2079
 
2157
- # Retrieves all the resources directly referenced by a patient, as well as
2158
- # all of the resources in the patient compartment.
2080
+ # Retrieves a Patient resource and resources related to that patient.
2159
2081
  # Implements the FHIR extended operation Patient-everything
2160
2082
  # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/patient-operations.html#
2161
2083
  # everything),
@@ -2170,6 +2092,16 @@ module Google
2170
2092
  # `OperationOutcome` resource describing the reason for the error. If the
2171
2093
  # request cannot be mapped to a valid API method on a FHIR store, a generic
2172
2094
  # GCP error might be returned instead.
2095
+ # The resources in scope for the response are:
2096
+ # * The patient resource itself.
2097
+ # * All the resources directly referenced by the patient resource.
2098
+ # * Resources directly referencing the patient resource that meet the
2099
+ # inclusion criteria. The inclusion criteria are based on the membership
2100
+ # rules in the patient compartment definition
2101
+ # ([DSTU2](http://hl7.org/fhir/DSTU2/compartment-patient.html),
2102
+ # [STU3](http://www.hl7.org/fhir/stu3/compartmentdefinition-patient.html),
2103
+ # [R4](http://hl7.org/fhir/R4/compartmentdefinition-patient.html)), which
2104
+ # details the eligible resource types and referencing search parameters.
2173
2105
  # @param [String] name
2174
2106
  # Name of the `Patient` resource for which the information is required.
2175
2107
  # @param [Fixnum] _count
@@ -2896,6 +2828,9 @@ module Google
2896
2828
  # Requests for policies with any conditional bindings must specify version 3.
2897
2829
  # Policies without any conditional bindings may specify any valid value or
2898
2830
  # leave the field unset.
2831
+ # To learn which resources support conditions in their IAM policies, see the
2832
+ # [IAM
2833
+ # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
2899
2834
  # @param [String] fields
2900
2835
  # Selector specifying which fields to include in a partial response.
2901
2836
  # @param [String] quota_user
@@ -3008,7 +2943,7 @@ module Google
3008
2943
 
3009
2944
  # Sets the access control policy on the specified resource. Replaces any
3010
2945
  # existing policy.
3011
- # Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
2946
+ # Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
3012
2947
  # @param [String] resource
3013
2948
  # REQUIRED: The resource for which the policy is being specified.
3014
2949
  # See the operation documentation for the appropriate value for this field.
@@ -3044,7 +2979,7 @@ module Google
3044
2979
 
3045
2980
  # Returns permissions that a caller has on the specified resource.
3046
2981
  # If the resource does not exist, this will return an empty set of
3047
- # permissions, not a NOT_FOUND error.
2982
+ # permissions, not a `NOT_FOUND` error.
3048
2983
  # Note: This operation is designed to be used for building permission-aware
3049
2984
  # UIs and command-line tools, not for authorization checking. This operation
3050
2985
  # may "fail open" without warning.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/healthcare
26
26
  module HealthcareV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20200414'
28
+ REVISION = '20200501'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -1658,7 +1658,7 @@ module Google
1658
1658
  # @return [String]
1659
1659
  attr_accessor :filter
1660
1660
 
1661
- # The [Cloud Pubsub](https://cloud.google.com/pubsub/docs/) topic that
1661
+ # The [Cloud Pub/Sub](https://cloud.google.com/pubsub/docs/) topic that
1662
1662
  # notifications of changes are published on. Supplied by the client. The
1663
1663
  # notification is a `PubsubMessage` with the following fields:
1664
1664
  # * `PubsubMessage.Data` contains the resource name.
@@ -1668,12 +1668,12 @@ module Google
1668
1668
  # published.
1669
1669
  # Note that notifications are only sent if the topic is non-empty. [Topic
1670
1670
  # names](https://cloud.google.com/pubsub/docs/overview#names) must be
1671
- # scoped to a project. cloud-healthcare@system.gserviceaccount.com must
1672
- # have publisher permissions on the given Pubsub topic. Not having adequate
1671
+ # scoped to a project. Cloud Healthcare API service account must have
1672
+ # publisher permissions on the given Pub/Sub topic. Not having adequate
1673
1673
  # permissions causes the calls that send notifications to fail.
1674
1674
  # If a notification cannot be published to Cloud Pub/Sub, errors will be
1675
- # logged to Stackdriver (see [Viewing logs](/healthcare/docs/how-
1676
- # tos/stackdriver-logging)).
1675
+ # logged to Cloud Logging (see [Viewing logs](/healthcare/docs/how-
1676
+ # tos/logging)).
1677
1677
  # Corresponds to the JSON property `pubsubTopic`
1678
1678
  # @return [String]
1679
1679
  attr_accessor :pubsub_topic
@@ -2371,12 +2371,12 @@ module Google
2371
2371
  # Notifications are only sent if the topic is
2372
2372
  # non-empty. [Topic
2373
2373
  # names](https://cloud.google.com/pubsub/docs/overview#names) must be scoped
2374
- # to a project. cloud-healthcare@system.gserviceaccount.com must have
2375
- # publisher permissions on the given Cloud Pub/Sub topic. Not having adequate
2374
+ # to a project. Cloud Healthcare API service account must have publisher
2375
+ # permissions on the given Cloud Pub/Sub topic. Not having adequate
2376
2376
  # permissions causes the calls that send notifications to fail.
2377
2377
  # If a notification can't be published to Cloud Pub/Sub, errors are logged to
2378
- # Stackdriver (see [Viewing
2379
- # logs](/healthcare/docs/how-tos/stackdriver-logging)). If the number of
2378
+ # Cloud Logging (see [Viewing
2379
+ # logs](/healthcare/docs/how-tos/logging)). If the number of
2380
2380
  # errors exceeds a certain rate, some aren't submitted.
2381
2381
  # Corresponds to the JSON property `pubsubTopic`
2382
2382
  # @return [String]
@@ -2489,7 +2489,7 @@ module Google
2489
2489
 
2490
2490
  # A link to audit and error logs in the log viewer. Error logs are generated
2491
2491
  # only by some operations, listed at
2492
- # https://cloud.google.com/healthcare/docs/how-tos/stackdriver-logging.
2492
+ # [Viewing logs](/healthcare/docs/how-tos/logging).
2493
2493
  # Corresponds to the JSON property `logsUrl`
2494
2494
  # @return [String]
2495
2495
  attr_accessor :logs_url
@@ -2596,10 +2596,13 @@ module Google
2596
2596
  # Google groups, and domains (such as G Suite). A `role` is a named list of
2597
2597
  # permissions; each `role` can be an IAM predefined role or a user-created
2598
2598
  # custom role.
2599
- # Optionally, a `binding` can specify a `condition`, which is a logical
2600
- # expression that allows access to a resource only if the expression evaluates
2601
- # to `true`. A condition can add constraints based on attributes of the
2602
- # request, the resource, or both.
2599
+ # For some types of Google Cloud resources, a `binding` can also specify a
2600
+ # `condition`, which is a logical expression that allows access to a resource
2601
+ # only if the expression evaluates to `true`. A condition can add constraints
2602
+ # based on attributes of the request, the resource, or both. To learn which
2603
+ # resources support conditions in their IAM policies, see the
2604
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
2605
+ # policies).
2603
2606
  # **JSON example:**
2604
2607
  # `
2605
2608
  # "bindings": [
@@ -2614,7 +2617,9 @@ module Google
2614
2617
  # `,
2615
2618
  # `
2616
2619
  # "role": "roles/resourcemanager.organizationViewer",
2617
- # "members": ["user:eve@example.com"],
2620
+ # "members": [
2621
+ # "user:eve@example.com"
2622
+ # ],
2618
2623
  # "condition": `
2619
2624
  # "title": "expirable access",
2620
2625
  # "description": "Does not grant access after Sep 2020",
@@ -2692,6 +2697,9 @@ module Google
2692
2697
  # the conditions in the version `3` policy are lost.
2693
2698
  # If a policy does not include any conditions, operations on that policy may
2694
2699
  # specify any valid version or leave the field unset.
2700
+ # To learn which resources support conditions in their IAM policies, see the
2701
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
2702
+ # policies).
2695
2703
  # Corresponds to the JSON property `version`
2696
2704
  # @return [Fixnum]
2697
2705
  attr_accessor :version
@@ -3050,10 +3058,13 @@ module Google
3050
3058
  # Google groups, and domains (such as G Suite). A `role` is a named list of
3051
3059
  # permissions; each `role` can be an IAM predefined role or a user-created
3052
3060
  # custom role.
3053
- # Optionally, a `binding` can specify a `condition`, which is a logical
3054
- # expression that allows access to a resource only if the expression evaluates
3055
- # to `true`. A condition can add constraints based on attributes of the
3056
- # request, the resource, or both.
3061
+ # For some types of Google Cloud resources, a `binding` can also specify a
3062
+ # `condition`, which is a logical expression that allows access to a resource
3063
+ # only if the expression evaluates to `true`. A condition can add constraints
3064
+ # based on attributes of the request, the resource, or both. To learn which
3065
+ # resources support conditions in their IAM policies, see the
3066
+ # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
3067
+ # policies).
3057
3068
  # **JSON example:**
3058
3069
  # `
3059
3070
  # "bindings": [
@@ -3068,7 +3079,9 @@ module Google
3068
3079
  # `,
3069
3080
  # `
3070
3081
  # "role": "roles/resourcemanager.organizationViewer",
3071
- # "members": ["user:eve@example.com"],
3082
+ # "members": [
3083
+ # "user:eve@example.com"
3084
+ # ],
3072
3085
  # "condition": `
3073
3086
  # "title": "expirable access",
3074
3087
  # "description": "Does not grant access after Sep 2020",
@@ -3106,8 +3119,7 @@ module Google
3106
3119
  # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
3107
3120
  # the fields in the mask will be modified. If no mask is provided, the
3108
3121
  # following default mask is used:
3109
- # paths: "bindings, etag"
3110
- # This field is only used by Cloud IAM.
3122
+ # `paths: "bindings, etag"`
3111
3123
  # Corresponds to the JSON property `updateMask`
3112
3124
  # @return [String]
3113
3125
  attr_accessor :update_mask