google-api-client 0.30.9 → 0.30.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (251) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +89 -0
  3. data/api_names.yaml +1 -0
  4. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  5. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +18 -7
  6. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +5 -10
  7. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  8. data/generated/google/apis/adexperiencereport_v1/classes.rb +24 -12
  9. data/generated/google/apis/adexperiencereport_v1/service.rb +6 -9
  10. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  11. data/generated/google/apis/analyticsreporting_v4/classes.rb +3 -0
  12. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  13. data/generated/google/apis/androidmanagement_v1/classes.rb +62 -9
  14. data/generated/google/apis/androidmanagement_v1/representations.rb +19 -0
  15. data/generated/google/apis/bigquery_v2.rb +1 -1
  16. data/generated/google/apis/bigquery_v2/classes.rb +32 -9
  17. data/generated/google/apis/bigquery_v2/representations.rb +5 -0
  18. data/generated/google/apis/bigquery_v2/service.rb +1 -1
  19. data/generated/google/apis/bigqueryconnection_v1beta1.rb +37 -0
  20. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +645 -0
  21. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +263 -0
  22. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +378 -0
  23. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  24. data/generated/google/apis/bigtableadmin_v2/classes.rb +41 -16
  25. data/generated/google/apis/bigtableadmin_v2/representations.rb +15 -0
  26. data/generated/google/apis/binaryauthorization_v1.rb +35 -0
  27. data/generated/google/apis/binaryauthorization_v1/classes.rb +388 -0
  28. data/generated/google/apis/binaryauthorization_v1/representations.rb +167 -0
  29. data/generated/google/apis/binaryauthorization_v1/service.rb +313 -0
  30. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  31. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +6 -1
  32. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -6
  33. data/generated/google/apis/calendar_v3.rb +1 -1
  34. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  35. data/generated/google/apis/cloudasset_v1.rb +1 -1
  36. data/generated/google/apis/cloudasset_v1/classes.rb +52 -1
  37. data/generated/google/apis/cloudasset_v1/representations.rb +17 -0
  38. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  39. data/generated/google/apis/cloudasset_v1beta1/classes.rb +6 -1
  40. data/generated/google/apis/cloudiot_v1.rb +1 -1
  41. data/generated/google/apis/cloudiot_v1/classes.rb +11 -4
  42. data/generated/google/apis/cloudkms_v1.rb +1 -1
  43. data/generated/google/apis/cloudkms_v1/classes.rb +0 -14
  44. data/generated/google/apis/cloudkms_v1/representations.rb +0 -2
  45. data/generated/google/apis/cloudkms_v1/service.rb +3 -3
  46. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  47. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +6 -1
  48. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +5 -3
  49. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  50. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +12 -8
  51. data/generated/google/apis/cloudresourcemanager_v1/service.rb +5 -1
  52. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  53. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +12 -8
  54. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +6 -2
  55. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  56. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +11 -4
  57. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  58. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +11 -4
  59. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  60. data/generated/google/apis/cloudsearch_v1/classes.rb +14 -3
  61. data/generated/google/apis/cloudsearch_v1/representations.rb +1 -0
  62. data/generated/google/apis/cloudsearch_v1/service.rb +3 -1
  63. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  64. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +2 -2
  65. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  66. data/generated/google/apis/cloudtrace_v2/classes.rb +8 -0
  67. data/generated/google/apis/cloudtrace_v2/representations.rb +1 -0
  68. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  69. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +1 -0
  70. data/generated/google/apis/composer_v1.rb +1 -1
  71. data/generated/google/apis/composer_v1/classes.rb +17 -24
  72. data/generated/google/apis/composer_v1beta1.rb +1 -1
  73. data/generated/google/apis/composer_v1beta1/classes.rb +17 -24
  74. data/generated/google/apis/compute_alpha.rb +1 -1
  75. data/generated/google/apis/compute_alpha/classes.rb +1139 -284
  76. data/generated/google/apis/compute_alpha/representations.rb +304 -1
  77. data/generated/google/apis/compute_alpha/service.rb +935 -23
  78. data/generated/google/apis/compute_beta.rb +1 -1
  79. data/generated/google/apis/compute_beta/classes.rb +554 -98
  80. data/generated/google/apis/compute_beta/representations.rb +117 -0
  81. data/generated/google/apis/compute_beta/service.rb +63 -19
  82. data/generated/google/apis/compute_v1.rb +1 -1
  83. data/generated/google/apis/compute_v1/classes.rb +1187 -165
  84. data/generated/google/apis/compute_v1/representations.rb +402 -0
  85. data/generated/google/apis/compute_v1/service.rb +832 -12
  86. data/generated/google/apis/container_v1.rb +1 -1
  87. data/generated/google/apis/container_v1/classes.rb +36 -0
  88. data/generated/google/apis/container_v1/representations.rb +16 -0
  89. data/generated/google/apis/container_v1beta1.rb +1 -1
  90. data/generated/google/apis/container_v1beta1/classes.rb +153 -0
  91. data/generated/google/apis/container_v1beta1/representations.rb +77 -0
  92. data/generated/google/apis/content_v2.rb +1 -1
  93. data/generated/google/apis/content_v2/classes.rb +93 -2
  94. data/generated/google/apis/content_v2/representations.rb +37 -0
  95. data/generated/google/apis/content_v2_1.rb +1 -1
  96. data/generated/google/apis/content_v2_1/classes.rb +86 -2
  97. data/generated/google/apis/content_v2_1/representations.rb +36 -0
  98. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  99. data/generated/google/apis/dataflow_v1b3/classes.rb +21 -106
  100. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -58
  101. data/generated/google/apis/dataflow_v1b3/service.rb +0 -327
  102. data/generated/google/apis/dataproc_v1.rb +1 -1
  103. data/generated/google/apis/dataproc_v1/classes.rb +7 -0
  104. data/generated/google/apis/dataproc_v1/representations.rb +1 -0
  105. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  106. data/generated/google/apis/dataproc_v1beta2/classes.rb +7 -0
  107. data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
  108. data/generated/google/apis/datastore_v1.rb +1 -1
  109. data/generated/google/apis/datastore_v1/classes.rb +9 -75
  110. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  111. data/generated/google/apis/datastore_v1beta1/classes.rb +9 -75
  112. data/generated/google/apis/dfareporting_v3_1.rb +1 -1
  113. data/generated/google/apis/dfareporting_v3_1/classes.rb +42 -302
  114. data/generated/google/apis/dfareporting_v3_1/representations.rb +8 -84
  115. data/generated/google/apis/dfareporting_v3_1/service.rb +5 -107
  116. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  117. data/generated/google/apis/dialogflow_v2beta1/classes.rb +118 -0
  118. data/generated/google/apis/dialogflow_v2beta1/representations.rb +70 -0
  119. data/generated/google/apis/dialogflow_v2beta1/service.rb +75 -0
  120. data/generated/google/apis/dlp_v2.rb +1 -1
  121. data/generated/google/apis/dlp_v2/classes.rb +42 -0
  122. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  123. data/generated/google/apis/dlp_v2/service.rb +125 -1
  124. data/generated/google/apis/docs_v1.rb +1 -1
  125. data/generated/google/apis/docs_v1/classes.rb +128 -0
  126. data/generated/google/apis/docs_v1/representations.rb +49 -0
  127. data/generated/google/apis/{appstate_v1.rb → domainsrdap_v1.rb} +8 -11
  128. data/generated/google/apis/domainsrdap_v1/classes.rb +269 -0
  129. data/generated/google/apis/{appstate_v1 → domainsrdap_v1}/representations.rb +33 -22
  130. data/generated/google/apis/domainsrdap_v1/service.rb +350 -0
  131. data/generated/google/apis/drive_v2.rb +1 -1
  132. data/generated/google/apis/drive_v2/classes.rb +10 -1
  133. data/generated/google/apis/drive_v2/representations.rb +1 -0
  134. data/generated/google/apis/drive_v3.rb +1 -1
  135. data/generated/google/apis/drive_v3/classes.rb +10 -1
  136. data/generated/google/apis/drive_v3/representations.rb +1 -0
  137. data/generated/google/apis/driveactivity_v2.rb +1 -1
  138. data/generated/google/apis/firestore_v1.rb +1 -1
  139. data/generated/google/apis/firestore_v1/classes.rb +21 -130
  140. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  141. data/generated/google/apis/firestore_v1beta1/classes.rb +16 -122
  142. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  143. data/generated/google/apis/firestore_v1beta2/classes.rb +14 -83
  144. data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
  145. data/generated/google/apis/healthcare_v1alpha2/classes.rb +94 -48
  146. data/generated/google/apis/healthcare_v1alpha2/representations.rb +16 -0
  147. data/generated/google/apis/healthcare_v1alpha2/service.rb +117 -75
  148. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  149. data/generated/google/apis/healthcare_v1beta1/classes.rb +56 -2
  150. data/generated/google/apis/healthcare_v1beta1/representations.rb +17 -0
  151. data/generated/google/apis/healthcare_v1beta1/service.rb +10 -5
  152. data/generated/google/apis/homegraph_v1.rb +31 -0
  153. data/generated/google/apis/homegraph_v1/classes.rb +692 -0
  154. data/generated/google/apis/homegraph_v1/representations.rb +323 -0
  155. data/generated/google/apis/homegraph_v1/service.rb +255 -0
  156. data/generated/google/apis/logging_v2.rb +1 -1
  157. data/generated/google/apis/logging_v2/classes.rb +8 -7
  158. data/generated/google/apis/logging_v2/service.rb +40 -35
  159. data/generated/google/apis/ml_v1.rb +1 -1
  160. data/generated/google/apis/monitoring_v3.rb +1 -1
  161. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  162. data/generated/google/apis/pubsub_v1.rb +1 -1
  163. data/generated/google/apis/pubsub_v1/classes.rb +6 -1
  164. data/generated/google/apis/pubsub_v1/service.rb +15 -9
  165. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  166. data/generated/google/apis/pubsub_v1beta2/classes.rb +6 -1
  167. data/generated/google/apis/pubsub_v1beta2/service.rb +10 -6
  168. data/generated/google/apis/run_v1alpha1.rb +1 -1
  169. data/generated/google/apis/run_v1alpha1/classes.rb +26 -6
  170. data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
  171. data/generated/google/apis/run_v1alpha1/service.rb +5 -3
  172. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  173. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +6 -1
  174. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +5 -3
  175. data/generated/google/apis/script_v1.rb +1 -1
  176. data/generated/google/apis/script_v1/service.rb +6 -5
  177. data/generated/google/apis/securitycenter_v1.rb +1 -1
  178. data/generated/google/apis/securitycenter_v1/classes.rb +11 -4
  179. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  180. data/generated/google/apis/securitycenter_v1beta1/classes.rb +11 -4
  181. data/generated/google/apis/servicebroker_v1.rb +1 -1
  182. data/generated/google/apis/servicebroker_v1/classes.rb +6 -1
  183. data/generated/google/apis/servicebroker_v1/service.rb +5 -3
  184. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  185. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +6 -1
  186. data/generated/google/apis/servicebroker_v1alpha1/service.rb +5 -3
  187. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  188. data/generated/google/apis/servicebroker_v1beta1/classes.rb +6 -1
  189. data/generated/google/apis/servicebroker_v1beta1/service.rb +5 -3
  190. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  191. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -4
  192. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  193. data/generated/google/apis/servicemanagement_v1/classes.rb +11 -4
  194. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  195. data/generated/google/apis/servicenetworking_v1/classes.rb +1 -4
  196. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  197. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -4
  198. data/generated/google/apis/serviceusage_v1.rb +1 -1
  199. data/generated/google/apis/serviceusage_v1/classes.rb +30 -4
  200. data/generated/google/apis/serviceusage_v1/representations.rb +14 -0
  201. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  202. data/generated/google/apis/serviceusage_v1beta1/classes.rb +30 -4
  203. data/generated/google/apis/serviceusage_v1beta1/representations.rb +14 -0
  204. data/generated/google/apis/slides_v1.rb +1 -1
  205. data/generated/google/apis/slides_v1/classes.rb +1 -1
  206. data/generated/google/apis/speech_v1.rb +1 -1
  207. data/generated/google/apis/speech_v1/classes.rb +9 -7
  208. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  209. data/generated/google/apis/speech_v1p1beta1/classes.rb +17 -15
  210. data/generated/google/apis/speech_v2beta.rb +1 -1
  211. data/generated/google/apis/speech_v2beta/classes.rb +3 -3
  212. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  213. data/generated/google/apis/sqladmin_v1beta4/classes.rb +72 -0
  214. data/generated/google/apis/sqladmin_v1beta4/representations.rb +35 -0
  215. data/generated/google/apis/sqladmin_v1beta4/service.rb +2 -1
  216. data/generated/google/apis/storage_v1.rb +1 -1
  217. data/generated/google/apis/storage_v1/classes.rb +7 -1
  218. data/generated/google/apis/storage_v1/representations.rb +2 -2
  219. data/generated/google/apis/storage_v1/service.rb +6 -1
  220. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  221. data/generated/google/apis/storagetransfer_v1/service.rb +1 -9
  222. data/generated/google/apis/testing_v1.rb +1 -1
  223. data/generated/google/apis/testing_v1/classes.rb +19 -0
  224. data/generated/google/apis/testing_v1/representations.rb +3 -0
  225. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  226. data/generated/google/apis/toolresults_v1beta3/classes.rb +1 -0
  227. data/generated/google/apis/translate_v3beta1.rb +1 -1
  228. data/generated/google/apis/translate_v3beta1/classes.rb +33 -0
  229. data/generated/google/apis/translate_v3beta1/representations.rb +3 -0
  230. data/generated/google/apis/verifiedaccess_v1.rb +35 -0
  231. data/generated/google/apis/verifiedaccess_v1/classes.rb +174 -0
  232. data/generated/google/apis/verifiedaccess_v1/representations.rb +99 -0
  233. data/generated/google/apis/verifiedaccess_v1/service.rb +120 -0
  234. data/generated/google/apis/vision_v1.rb +1 -1
  235. data/generated/google/apis/vision_v1/classes.rb +204 -2375
  236. data/generated/google/apis/vision_v1/representations.rb +701 -1634
  237. data/generated/google/apis/vision_v1/service.rb +17 -17
  238. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  239. data/generated/google/apis/vision_v1p1beta1/classes.rb +135 -2306
  240. data/generated/google/apis/vision_v1p1beta1/representations.rb +768 -1701
  241. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  242. data/generated/google/apis/vision_v1p2beta1/classes.rb +326 -2161
  243. data/generated/google/apis/vision_v1p2beta1/representations.rb +897 -1710
  244. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  245. data/generated/google/apis/youtube_v3.rb +1 -1
  246. data/generated/google/apis/youtube_v3/classes.rb +8 -2
  247. data/generated/google/apis/youtube_v3/representations.rb +1 -0
  248. data/lib/google/apis/version.rb +1 -1
  249. metadata +22 -6
  250. data/generated/google/apis/appstate_v1/classes.rb +0 -154
  251. data/generated/google/apis/appstate_v1/service.rb +0 -249
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/firestore
27
27
  module FirestoreV1beta2
28
28
  VERSION = 'V1beta2'
29
- REVISION = '20190323'
29
+ REVISION = '20190804'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -378,8 +378,7 @@ module Google
378
378
  # @return [Array<Google::Apis::FirestoreV1beta2::GoogleFirestoreAdminV1beta2IndexField>]
379
379
  attr_accessor :fields
380
380
 
381
- # Output only.
382
- # A server defined name for this index.
381
+ # Output only. A server defined name for this index.
383
382
  # The form of this name for composite indexes will be:
384
383
  # `projects/`project_id`/databases/`database_id`/collectionGroups/`collection_id`
385
384
  # /indexes/`composite_index_id``
@@ -398,8 +397,7 @@ module Google
398
397
  # @return [String]
399
398
  attr_accessor :query_scope
400
399
 
401
- # Output only.
402
- # The serving state of the index.
400
+ # Output only. The serving state of the index.
403
401
  # Corresponds to the JSON property `state`
404
402
  # @return [String]
405
403
  attr_accessor :state
@@ -421,8 +419,8 @@ module Google
421
419
  class GoogleFirestoreAdminV1beta2IndexConfig
422
420
  include Google::Apis::Core::Hashable
423
421
 
424
- # Output only.
425
- # Specifies the resource name of the `Field` from which this field's
422
+ # Output only. Specifies the resource name of the `Field` from which this field'
423
+ # s
426
424
  # index configuration is set (when `uses_ancestor_config` is true),
427
425
  # or from which it *would* be set if this field had no index configuration
428
426
  # (when `uses_ancestor_config` is false).
@@ -445,8 +443,7 @@ module Google
445
443
  attr_accessor :reverting
446
444
  alias_method :reverting?, :reverting
447
445
 
448
- # Output only.
449
- # When true, the `Field`'s index configuration is set from the
446
+ # Output only. When true, the `Field`'s index configuration is set from the
450
447
  # configuration specified by the `ancestor_field`.
451
448
  # When false, the `Field`'s index configuration is defined explicitly.
452
449
  # Corresponds to the JSON property `usesAncestorConfig`
@@ -680,43 +677,10 @@ module Google
680
677
 
681
678
  # The `Status` type defines a logical error model that is suitable for
682
679
  # different programming environments, including REST APIs and RPC APIs. It is
683
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
684
- # - Simple to use and understand for most users
685
- # - Flexible enough to meet unexpected needs
686
- # # Overview
687
- # The `Status` message contains three pieces of data: error code, error
688
- # message, and error details. The error code should be an enum value of
689
- # google.rpc.Code, but it may accept additional error codes if needed. The
690
- # error message should be a developer-facing English message that helps
691
- # developers *understand* and *resolve* the error. If a localized user-facing
692
- # error message is needed, put the localized message in the error details or
693
- # localize it in the client. The optional error details may contain arbitrary
694
- # information about the error. There is a predefined set of error detail types
695
- # in the package `google.rpc` that can be used for common error conditions.
696
- # # Language mapping
697
- # The `Status` message is the logical representation of the error model, but it
698
- # is not necessarily the actual wire format. When the `Status` message is
699
- # exposed in different client libraries and different wire protocols, it can be
700
- # mapped differently. For example, it will likely be mapped to some exceptions
701
- # in Java, but more likely mapped to some error codes in C.
702
- # # Other uses
703
- # The error model and the `Status` message can be used in a variety of
704
- # environments, either with or without APIs, to provide a
705
- # consistent developer experience across different environments.
706
- # Example uses of this error model include:
707
- # - Partial errors. If a service needs to return partial errors to the client,
708
- # it may embed the `Status` in the normal response to indicate the partial
709
- # errors.
710
- # - Workflow errors. A typical workflow has multiple steps. Each step may
711
- # have a `Status` message for error reporting.
712
- # - Batch operations. If a client uses batch request and batch response, the
713
- # `Status` message should be used directly inside batch response, one for
714
- # each error sub-response.
715
- # - Asynchronous operations. If an API call embeds asynchronous operation
716
- # results in its response, the status of those operations should be
717
- # represented directly using the `Status` message.
718
- # - Logging. If some API errors are stored in logs, the message `Status` could
719
- # be used directly after any stripping needed for security/privacy reasons.
680
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
681
+ # three pieces of data: error code, error message, and error details.
682
+ # You can find out more about this error model and how to work with it in the
683
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
720
684
  # Corresponds to the JSON property `error`
721
685
  # @return [Google::Apis::FirestoreV1beta2::Status]
722
686
  attr_accessor :error
@@ -731,7 +695,7 @@ module Google
731
695
 
732
696
  # The server-assigned name, which is only unique within the same service that
733
697
  # originally returns it. If you use the default HTTP mapping, the
734
- # `name` should have the format of `operations/some/unique/name`.
698
+ # `name` should be a resource name ending with `operations/`unique_id``.
735
699
  # Corresponds to the JSON property `name`
736
700
  # @return [String]
737
701
  attr_accessor :name
@@ -764,43 +728,10 @@ module Google
764
728
 
765
729
  # The `Status` type defines a logical error model that is suitable for
766
730
  # different programming environments, including REST APIs and RPC APIs. It is
767
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
768
- # - Simple to use and understand for most users
769
- # - Flexible enough to meet unexpected needs
770
- # # Overview
771
- # The `Status` message contains three pieces of data: error code, error
772
- # message, and error details. The error code should be an enum value of
773
- # google.rpc.Code, but it may accept additional error codes if needed. The
774
- # error message should be a developer-facing English message that helps
775
- # developers *understand* and *resolve* the error. If a localized user-facing
776
- # error message is needed, put the localized message in the error details or
777
- # localize it in the client. The optional error details may contain arbitrary
778
- # information about the error. There is a predefined set of error detail types
779
- # in the package `google.rpc` that can be used for common error conditions.
780
- # # Language mapping
781
- # The `Status` message is the logical representation of the error model, but it
782
- # is not necessarily the actual wire format. When the `Status` message is
783
- # exposed in different client libraries and different wire protocols, it can be
784
- # mapped differently. For example, it will likely be mapped to some exceptions
785
- # in Java, but more likely mapped to some error codes in C.
786
- # # Other uses
787
- # The error model and the `Status` message can be used in a variety of
788
- # environments, either with or without APIs, to provide a
789
- # consistent developer experience across different environments.
790
- # Example uses of this error model include:
791
- # - Partial errors. If a service needs to return partial errors to the client,
792
- # it may embed the `Status` in the normal response to indicate the partial
793
- # errors.
794
- # - Workflow errors. A typical workflow has multiple steps. Each step may
795
- # have a `Status` message for error reporting.
796
- # - Batch operations. If a client uses batch request and batch response, the
797
- # `Status` message should be used directly inside batch response, one for
798
- # each error sub-response.
799
- # - Asynchronous operations. If an API call embeds asynchronous operation
800
- # results in its response, the status of those operations should be
801
- # represented directly using the `Status` message.
802
- # - Logging. If some API errors are stored in logs, the message `Status` could
803
- # be used directly after any stripping needed for security/privacy reasons.
731
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
732
+ # three pieces of data: error code, error message, and error details.
733
+ # You can find out more about this error model and how to work with it in the
734
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
804
735
  class Status
805
736
  include Google::Apis::Core::Hashable
806
737
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/healthcare
26
26
  module HealthcareV1alpha2
27
27
  VERSION = 'V1alpha2'
28
- REVISION = '20190809'
28
+ REVISION = '20190901'
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'
@@ -311,7 +311,7 @@ module Google
311
311
  end
312
312
  end
313
313
 
314
- # Mask a string by replacing its characters with a fixed character.
314
+ # Masks a string by replacing its characters with a fixed character.
315
315
  class CharacterMaskConfig
316
316
  include Google::Apis::Core::Hashable
317
317
 
@@ -370,16 +370,16 @@ module Google
370
370
  end
371
371
  end
372
372
 
373
- # Pseudonymization method that generates surrogates via cryptographic hashing.
374
- # Uses SHA-256.
375
- # Outputs a base64-encoded representation of the hashed output
376
- # (for example, `L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=`).
373
+ # Pseudonymization method that generates surrogates using cryptographic
374
+ # hashing. Uses SHA-256.
375
+ # Outputs a base64-encoded representation of the hashed output.
376
+ # For example, `L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=`.
377
377
  class CryptoHashConfig
378
378
  include Google::Apis::Core::Hashable
379
379
 
380
380
  # An AES 128/192/256 bit key. Causes the hash to be computed based on this
381
- # key. A default key is generated for each Deidentify operation and is used
382
- # wherever crypto_key is not specified.
381
+ # key. A default key is generated for each Deidentify operation and is
382
+ # used when crypto_key is not specified.
383
383
  # Corresponds to the JSON property `cryptoKey`
384
384
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
385
385
  # @return [String]
@@ -427,14 +427,15 @@ module Google
427
427
  end
428
428
  end
429
429
 
430
- # Shift a date forward or backward in time by a random amount which is
430
+ # Shifts a date forward or backward in time by a random amount that is
431
431
  # consistent for a given patient and crypto key combination.
432
432
  class DateShiftConfig
433
433
  include Google::Apis::Core::Hashable
434
434
 
435
435
  # An AES 128/192/256 bit key. Causes the shift to be computed based on this
436
436
  # key and the patient ID. A default key is generated for each
437
- # Deidentify operation and is used wherever crypto_key is not specified.
437
+ # de-identification operation and is used when crypto_key is not
438
+ # specified.
438
439
  # Corresponds to the JSON property `cryptoKey`
439
440
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
440
441
  # @return [String]
@@ -457,23 +458,22 @@ module Google
457
458
  class DeidentifyConfig
458
459
  include Google::Apis::Core::Hashable
459
460
 
460
- # Specifies the parameters needed for de-identification of DICOM stores.
461
+ # Specifies the parameters needed for the de-identification of DICOM stores.
461
462
  # Corresponds to the JSON property `dicom`
462
463
  # @return [Google::Apis::HealthcareV1alpha2::DicomConfig]
463
464
  attr_accessor :dicom
464
465
 
465
- # Specifies how de-identification of a FHIR store should be handled.
466
+ # Specifies how to handle the de-identification of a FHIR store.
466
467
  # Corresponds to the JSON property `fhir`
467
468
  # @return [Google::Apis::HealthcareV1alpha2::FhirConfig]
468
469
  attr_accessor :fhir
469
470
 
470
- # Specifies how de-identification of image pixel should be handled.
471
+ # Specifies how to handle the de-identification of image pixels.
471
472
  # Corresponds to the JSON property `image`
472
473
  # @return [Google::Apis::HealthcareV1alpha2::ImageConfig]
473
474
  attr_accessor :image
474
475
 
475
- # Configures de-identification of text wherever it is found in the
476
- # source_dataset.
476
+ # Configures the de-identification of text in `source_dataset`.
477
477
  # Corresponds to the JSON property `text`
478
478
  # @return [Google::Apis::HealthcareV1alpha2::TextConfig]
479
479
  attr_accessor :text
@@ -605,21 +605,21 @@ module Google
605
605
  end
606
606
  end
607
607
 
608
- # Specifies the parameters needed for de-identification of DICOM stores.
608
+ # Specifies the parameters needed for the de-identification of DICOM stores.
609
609
  class DicomConfig
610
610
  include Google::Apis::Core::Hashable
611
611
 
612
- # Tag filtering profile that determines which tags to keep/remove.
612
+ # Tag filtering profile that determines the tags to keep or remove.
613
613
  # Corresponds to the JSON property `filterProfile`
614
614
  # @return [String]
615
615
  attr_accessor :filter_profile
616
616
 
617
- # List of tags to be filtered.
617
+ # List of tags to filter.
618
618
  # Corresponds to the JSON property `keepList`
619
619
  # @return [Google::Apis::HealthcareV1alpha2::TagFilterList]
620
620
  attr_accessor :keep_list
621
621
 
622
- # List of tags to be filtered.
622
+ # List of tags to filter.
623
623
  # Corresponds to the JSON property `removeList`
624
624
  # @return [Google::Apis::HealthcareV1alpha2::TagFilterList]
625
625
  attr_accessor :remove_list
@@ -831,12 +831,12 @@ module Google
831
831
  end
832
832
  end
833
833
 
834
- # Specifies how de-identification of a FHIR store should be handled.
834
+ # Specifies how to handle the de-identification of a FHIR store.
835
835
  class FhirConfig
836
836
  include Google::Apis::Core::Hashable
837
837
 
838
838
  # Specifies FHIR paths to match and how to transform them. Any field that
839
- # is not matched by a FieldMetadata will be passed through to the output
839
+ # is not matched by a FieldMetadata is passed through to the output
840
840
  # dataset unmodified. All extensions are removed in the output.
841
841
  # Corresponds to the JSON property `fieldMetadataList`
842
842
  # @return [Array<Google::Apis::HealthcareV1alpha2::FieldMetadata>]
@@ -979,7 +979,7 @@ module Google
979
979
  end
980
980
  end
981
981
 
982
- # Specifies FHIR paths to match, and how to handle de-identification of
982
+ # Specifies FHIR paths to match and how to handle the de-identification of
983
983
  # matching fields.
984
984
  class FieldMetadata
985
985
  include Google::Apis::Core::Hashable
@@ -989,12 +989,12 @@ module Google
989
989
  # @return [String]
990
990
  attr_accessor :action
991
991
 
992
- # List of paths to FHIR fields to be redacted. Each path is a
992
+ # List of paths to FHIR fields to redact. Each path is a
993
993
  # period-separated list where each component is either a field name or
994
- # FHIR type name, for example: Patient, HumanName.
994
+ # FHIR type name. For example: Patient, HumanName.
995
995
  # For "choice" types (those defined in the FHIR spec with the form:
996
- # field[x]) we use two separate components. e.g. "deceasedAge.unit" is
997
- # matched by "Deceased.Age.unit".
996
+ # field[x]), use two separate components. For example,
997
+ # "deceasedAge.unit" is matched by "Deceased.Age.unit".
998
998
  # Supported types are: AdministrativeGenderCode, Code, Date, DateTime,
999
999
  # Decimal, HumanName, Id, LanguageCode, Markdown, MimeTypeCode, Oid,
1000
1000
  # String, Uri, Uuid, Xhtml.
@@ -1219,10 +1219,55 @@ module Google
1219
1219
  end
1220
1220
  end
1221
1221
 
1222
- # Final response of exporting resources.
1222
+ # Response when errors occur while exporting resources.
1223
+ # This structure is included in the
1224
+ # error details to describe the
1225
+ # detailed outcome. It is only included when the operation finishes with
1226
+ # errors.
1227
+ class GoogleCloudHealthcareV1alpha2FhirRestExportResourcesErrorDetails
1228
+ include Google::Apis::Core::Hashable
1229
+
1230
+ # The number of resources that had errors.
1231
+ # Corresponds to the JSON property `errorCount`
1232
+ # @return [Fixnum]
1233
+ attr_accessor :error_count
1234
+
1235
+ # The name of the FHIR store where resources have been exported, in the
1236
+ # format
1237
+ # `projects/`project_id`/locations/`location_id`/datasets/`dataset_id`/
1238
+ # fhirStores/`fhir_store_id``.
1239
+ # Corresponds to the JSON property `fhirStore`
1240
+ # @return [String]
1241
+ attr_accessor :fhir_store
1242
+
1243
+ # The total number of resources included in the export operation. This is
1244
+ # the sum of the success and error counts.
1245
+ # Corresponds to the JSON property `resourceCount`
1246
+ # @return [Fixnum]
1247
+ attr_accessor :resource_count
1248
+
1249
+ # The number of resources that were exported.
1250
+ # Corresponds to the JSON property `successCount`
1251
+ # @return [Fixnum]
1252
+ attr_accessor :success_count
1253
+
1254
+ def initialize(**args)
1255
+ update!(**args)
1256
+ end
1257
+
1258
+ # Update properties of this object
1259
+ def update!(**args)
1260
+ @error_count = args[:error_count] if args.key?(:error_count)
1261
+ @fhir_store = args[:fhir_store] if args.key?(:fhir_store)
1262
+ @resource_count = args[:resource_count] if args.key?(:resource_count)
1263
+ @success_count = args[:success_count] if args.key?(:success_count)
1264
+ end
1265
+ end
1266
+
1267
+ # Response when all resources export successfully.
1223
1268
  # This structure will be included in the
1224
1269
  # response to describe the detailed
1225
- # outcome. It will only be included when the operation finishes.
1270
+ # outcome. It will only be included when the operation finishes successfully.
1226
1271
  class GoogleCloudHealthcareV1alpha2FhirRestExportResourcesResponse
1227
1272
  include Google::Apis::Core::Hashable
1228
1273
 
@@ -1532,11 +1577,11 @@ module Google
1532
1577
  end
1533
1578
  end
1534
1579
 
1535
- # Specifies how de-identification of image pixel should be handled.
1580
+ # Specifies how to handle the de-identification of image pixels.
1536
1581
  class ImageConfig
1537
1582
  include Google::Apis::Core::Hashable
1538
1583
 
1539
- # Determines how to redact text from image.
1584
+ # Determines how to redact text from images.
1540
1585
  # Corresponds to the JSON property `textRedactionMode`
1541
1586
  # @return [String]
1542
1587
  attr_accessor :text_redaction_mode
@@ -1631,20 +1676,20 @@ module Google
1631
1676
  class InfoTypeTransformation
1632
1677
  include Google::Apis::Core::Hashable
1633
1678
 
1634
- # Mask a string by replacing its characters with a fixed character.
1679
+ # Masks a string by replacing its characters with a fixed character.
1635
1680
  # Corresponds to the JSON property `characterMaskConfig`
1636
1681
  # @return [Google::Apis::HealthcareV1alpha2::CharacterMaskConfig]
1637
1682
  attr_accessor :character_mask_config
1638
1683
 
1639
- # Pseudonymization method that generates surrogates via cryptographic hashing.
1640
- # Uses SHA-256.
1641
- # Outputs a base64-encoded representation of the hashed output
1642
- # (for example, `L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=`).
1684
+ # Pseudonymization method that generates surrogates using cryptographic
1685
+ # hashing. Uses SHA-256.
1686
+ # Outputs a base64-encoded representation of the hashed output.
1687
+ # For example, `L7k0BHmF1ha5U3NfGykjro4xWi1MPVQPjhMAZbSV9mM=`.
1643
1688
  # Corresponds to the JSON property `cryptoHashConfig`
1644
1689
  # @return [Google::Apis::HealthcareV1alpha2::CryptoHashConfig]
1645
1690
  attr_accessor :crypto_hash_config
1646
1691
 
1647
- # Shift a date forward or backward in time by a random amount which is
1692
+ # Shifts a date forward or backward in time by a random amount that is
1648
1693
  # consistent for a given patient and crypto key combination.
1649
1694
  # Corresponds to the JSON property `dateShiftConfig`
1650
1695
  # @return [Google::Apis::HealthcareV1alpha2::DateShiftConfig]
@@ -1656,15 +1701,15 @@ module Google
1656
1701
  # @return [Array<String>]
1657
1702
  attr_accessor :info_types
1658
1703
 
1659
- # Define how to redact sensitive values. Default behaviour is erase,
1660
- # e.g. "My name is Jake." becomes "My name is ."
1704
+ # Defines how to redact sensitive values. Default behavior is erase.
1705
+ # For example, "My name is Jake." becomes "My name is ."
1661
1706
  # Corresponds to the JSON property `redactConfig`
1662
1707
  # @return [Google::Apis::HealthcareV1alpha2::RedactConfig]
1663
1708
  attr_accessor :redact_config
1664
1709
 
1665
1710
  # When using the INSPECT_AND_TRANSFORM action, each match is replaced with
1666
- # the name of the info_type. For example, "My name is Jake" becomes "My name is
1667
- # [PERSON_NAME]." The TRANSFORM action is equivalent to redacting.
1711
+ # the name of the `info_type`. For example, "My name is Jake" becomes "My name
1712
+ # is [PERSON_NAME]." The TRANSFORM action is equivalent to redacting.
1668
1713
  # Corresponds to the JSON property `replaceWithInfoTypeConfig`
1669
1714
  # @return [Google::Apis::HealthcareV1alpha2::ReplaceWithInfoTypeConfig]
1670
1715
  attr_accessor :replace_with_info_type_config
@@ -2423,8 +2468,8 @@ module Google
2423
2468
  end
2424
2469
  end
2425
2470
 
2426
- # Define how to redact sensitive values. Default behaviour is erase,
2427
- # e.g. "My name is Jake." becomes "My name is ."
2471
+ # Defines how to redact sensitive values. Default behavior is erase.
2472
+ # For example, "My name is Jake." becomes "My name is ."
2428
2473
  class RedactConfig
2429
2474
  include Google::Apis::Core::Hashable
2430
2475
 
@@ -2438,8 +2483,8 @@ module Google
2438
2483
  end
2439
2484
 
2440
2485
  # When using the INSPECT_AND_TRANSFORM action, each match is replaced with
2441
- # the name of the info_type. For example, "My name is Jake" becomes "My name is
2442
- # [PERSON_NAME]." The TRANSFORM action is equivalent to redacting.
2486
+ # the name of the `info_type`. For example, "My name is Jake" becomes "My name
2487
+ # is [PERSON_NAME]." The TRANSFORM action is equivalent to redacting.
2443
2488
  class ReplaceWithInfoTypeConfig
2444
2489
  include Google::Apis::Core::Hashable
2445
2490
 
@@ -2507,8 +2552,9 @@ module Google
2507
2552
  include Google::Apis::Core::Hashable
2508
2553
 
2509
2554
  # The FHIR resource type to search, such as Patient or Observation. For a
2510
- # complete list, see the [FHIR Resource
2511
- # Index](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html).
2555
+ # complete list, see the FHIR Resource Index
2556
+ # ([DSTU2](http://hl7.org/implement/standards/fhir/DSTU2/resourcelist.html),
2557
+ # [STU3](http://hl7.org/implement/standards/fhir/STU3/resourcelist.html)).
2512
2558
  # Corresponds to the JSON property `resourceType`
2513
2559
  # @return [String]
2514
2560
  attr_accessor :resource_type
@@ -2778,14 +2824,14 @@ module Google
2778
2824
  end
2779
2825
  end
2780
2826
 
2781
- # List of tags to be filtered.
2827
+ # List of tags to filter.
2782
2828
  class TagFilterList
2783
2829
  include Google::Apis::Core::Hashable
2784
2830
 
2785
- # Tags to be filtered. Tags must be DICOM Data Elements, File Meta
2831
+ # Tags to filter. Tags must be DICOM Data Elements, File Meta
2786
2832
  # Elements, or Directory Structuring Elements, as defined at:
2787
2833
  # http://dicom.nema.org/medical/dicom/current/output/html/part06.html#table_6-1,.
2788
- # They may be provided by "Keyword" or "Tag". For example "PatientID",
2834
+ # They may be provided by "Keyword" or "Tag". For example, "PatientID",
2789
2835
  # "00100010".
2790
2836
  # Corresponds to the JSON property `tags`
2791
2837
  # @return [Array<String>]