google-api-client 0.48.0 → 0.49.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (251) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +94 -0
  3. data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
  4. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +13 -12
  5. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +4 -4
  6. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  7. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +145 -6
  8. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +52 -0
  9. data/generated/google/apis/analyticsdata_v1alpha/service.rb +38 -0
  10. data/generated/google/apis/apigateway_v1beta.rb +1 -1
  11. data/generated/google/apis/apigateway_v1beta/classes.rb +8 -5
  12. data/generated/google/apis/apigateway_v1beta/representations.rb +1 -0
  13. data/generated/google/apis/apigee_v1.rb +1 -1
  14. data/generated/google/apis/apigee_v1/classes.rb +253 -78
  15. data/generated/google/apis/apigee_v1/representations.rb +70 -0
  16. data/generated/google/apis/apigee_v1/service.rb +282 -41
  17. data/generated/google/apis/area120tables_v1alpha1.rb +1 -1
  18. data/generated/google/apis/area120tables_v1alpha1/classes.rb +58 -0
  19. data/generated/google/apis/area120tables_v1alpha1/representations.rb +31 -0
  20. data/generated/google/apis/area120tables_v1alpha1/service.rb +67 -0
  21. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  22. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +1 -2
  23. data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
  24. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +10 -2
  25. data/generated/google/apis/assuredworkloads_v1beta1/service.rb +5 -1
  26. data/generated/google/apis/bigquery_v2.rb +1 -1
  27. data/generated/google/apis/bigquery_v2/classes.rb +6 -0
  28. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  29. data/generated/google/apis/bigquery_v2/service.rb +1 -1
  30. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  31. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -0
  32. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +1 -0
  33. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  34. data/generated/google/apis/binaryauthorization_v1/classes.rb +1 -2
  35. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  36. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +1 -2
  37. data/generated/google/apis/calendar_v3.rb +1 -1
  38. data/generated/google/apis/calendar_v3/classes.rb +2 -2
  39. data/generated/google/apis/chat_v1.rb +1 -1
  40. data/generated/google/apis/chat_v1/classes.rb +1 -2
  41. data/generated/google/apis/cloudasset_v1.rb +1 -1
  42. data/generated/google/apis/cloudasset_v1/classes.rb +6 -0
  43. data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
  44. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  45. data/generated/google/apis/cloudasset_v1beta1/classes.rb +6 -0
  46. data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
  47. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  48. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +6 -0
  49. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +1 -0
  50. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  51. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +6 -0
  52. data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +1 -0
  53. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  54. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +6 -0
  55. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +1 -0
  56. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  57. data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -0
  58. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  59. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  60. data/generated/google/apis/cloudidentity_v1beta1/service.rb +22 -14
  61. data/generated/google/apis/cloudiot_v1.rb +1 -1
  62. data/generated/google/apis/cloudiot_v1/classes.rb +1 -2
  63. data/generated/google/apis/cloudkms_v1.rb +1 -1
  64. data/generated/google/apis/cloudkms_v1/classes.rb +1 -2
  65. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  66. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +79 -2
  67. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +32 -0
  68. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  69. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +79 -2
  70. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +32 -0
  71. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  72. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +83 -6
  73. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +32 -0
  74. data/generated/google/apis/cloudresourcemanager_v2/service.rb +3 -3
  75. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  76. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +83 -6
  77. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +32 -0
  78. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +3 -3
  79. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  80. data/generated/google/apis/cloudtasks_v2/classes.rb +1 -2
  81. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  82. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +1 -2
  83. data/generated/google/apis/cloudtasks_v2beta2/service.rb +12 -2
  84. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  85. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +1 -2
  86. data/generated/google/apis/container_v1beta1.rb +1 -1
  87. data/generated/google/apis/container_v1beta1/classes.rb +29 -0
  88. data/generated/google/apis/container_v1beta1/representations.rb +15 -0
  89. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  90. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +1 -2
  91. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  92. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -2
  93. data/generated/google/apis/content_v2.rb +1 -1
  94. data/generated/google/apis/content_v2/classes.rb +3 -3
  95. data/generated/google/apis/content_v2_1.rb +1 -1
  96. data/generated/google/apis/content_v2_1/classes.rb +7 -5
  97. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  98. data/generated/google/apis/datacatalog_v1beta1/classes.rb +2 -12
  99. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  100. data/generated/google/apis/datamigration_v1beta1.rb +34 -0
  101. data/generated/google/apis/datamigration_v1beta1/classes.rb +1670 -0
  102. data/generated/google/apis/datamigration_v1beta1/representations.rb +678 -0
  103. data/generated/google/apis/datamigration_v1beta1/service.rb +1172 -0
  104. data/generated/google/apis/dataproc_v1.rb +1 -1
  105. data/generated/google/apis/dataproc_v1/classes.rb +3 -4
  106. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  107. data/generated/google/apis/dataproc_v1beta2/classes.rb +3 -4
  108. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  109. data/generated/google/apis/deploymentmanager_v2/classes.rb +6 -0
  110. data/generated/google/apis/deploymentmanager_v2/representations.rb +1 -0
  111. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  112. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +6 -0
  113. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1 -0
  114. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  115. data/generated/google/apis/dfareporting_v3_3/classes.rb +6 -6
  116. data/generated/google/apis/dfareporting_v3_3/service.rb +12 -12
  117. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  118. data/generated/google/apis/dfareporting_v3_4/classes.rb +6 -6
  119. data/generated/google/apis/dfareporting_v3_4/service.rb +12 -12
  120. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  121. data/generated/google/apis/dialogflow_v3beta1/classes.rb +6 -0
  122. data/generated/google/apis/dialogflow_v3beta1/representations.rb +1 -0
  123. data/generated/google/apis/displayvideo_v1.rb +1 -1
  124. data/generated/google/apis/displayvideo_v1/classes.rb +33 -33
  125. data/generated/google/apis/dns_v1beta2.rb +1 -1
  126. data/generated/google/apis/dns_v1beta2/classes.rb +13 -0
  127. data/generated/google/apis/dns_v1beta2/representations.rb +12 -0
  128. data/generated/google/apis/dns_v1beta2/service.rb +176 -0
  129. data/generated/google/apis/drive_v2.rb +1 -1
  130. data/generated/google/apis/drive_v2/classes.rb +19 -19
  131. data/generated/google/apis/drive_v2/service.rb +2 -2
  132. data/generated/google/apis/drive_v3.rb +1 -1
  133. data/generated/google/apis/drive_v3/classes.rb +6 -5
  134. data/generated/google/apis/eventarc_v1beta1.rb +1 -1
  135. data/generated/google/apis/eventarc_v1beta1/classes.rb +6 -0
  136. data/generated/google/apis/eventarc_v1beta1/representations.rb +1 -0
  137. data/generated/google/apis/file_v1.rb +1 -1
  138. data/generated/google/apis/file_v1/classes.rb +505 -4
  139. data/generated/google/apis/file_v1/representations.rb +203 -0
  140. data/generated/google/apis/file_v1/service.rb +229 -1
  141. data/generated/google/apis/file_v1beta1.rb +1 -1
  142. data/generated/google/apis/file_v1beta1/classes.rb +346 -6
  143. data/generated/google/apis/file_v1beta1/representations.rb +149 -0
  144. data/generated/google/apis/file_v1beta1/service.rb +6 -2
  145. data/generated/google/apis/gameservices_v1.rb +1 -1
  146. data/generated/google/apis/gameservices_v1/classes.rb +1 -2
  147. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  148. data/generated/google/apis/gameservices_v1beta/classes.rb +1 -2
  149. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  150. data/generated/google/apis/genomics_v2alpha1/classes.rb +25 -0
  151. data/generated/google/apis/genomics_v2alpha1/representations.rb +15 -0
  152. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  153. data/generated/google/apis/healthcare_v1beta1/classes.rb +266 -0
  154. data/generated/google/apis/healthcare_v1beta1/representations.rb +127 -0
  155. data/generated/google/apis/healthcare_v1beta1/service.rb +38 -2
  156. data/generated/google/apis/iam_v1.rb +1 -1
  157. data/generated/google/apis/iam_v1/classes.rb +8 -11
  158. data/generated/google/apis/iam_v1/representations.rb +0 -1
  159. data/generated/google/apis/iap_v1.rb +1 -1
  160. data/generated/google/apis/iap_v1/classes.rb +1 -13
  161. data/generated/google/apis/iap_v1/representations.rb +0 -1
  162. data/generated/google/apis/iap_v1beta1.rb +1 -1
  163. data/generated/google/apis/iap_v1beta1/classes.rb +1 -2
  164. data/generated/google/apis/logging_v2.rb +1 -1
  165. data/generated/google/apis/logging_v2/classes.rb +106 -3
  166. data/generated/google/apis/logging_v2/representations.rb +45 -0
  167. data/generated/google/apis/logging_v2/service.rb +81 -5
  168. data/generated/google/apis/managedidentities_v1.rb +1 -1
  169. data/generated/google/apis/managedidentities_v1/classes.rb +1 -2
  170. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  171. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +1 -2
  172. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  173. data/generated/google/apis/managedidentities_v1beta1/classes.rb +1 -2
  174. data/generated/google/apis/ml_v1.rb +1 -1
  175. data/generated/google/apis/ml_v1/classes.rb +35 -2
  176. data/generated/google/apis/ml_v1/representations.rb +26 -0
  177. data/generated/google/apis/ml_v1/service.rb +35 -0
  178. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  179. data/generated/google/apis/networkmanagement_v1/classes.rb +6 -0
  180. data/generated/google/apis/networkmanagement_v1/representations.rb +1 -0
  181. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  182. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +57 -0
  183. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +31 -0
  184. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  185. data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -0
  186. data/generated/google/apis/policytroubleshooter_v1/representations.rb +1 -0
  187. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  188. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -0
  189. data/generated/google/apis/policytroubleshooter_v1beta/representations.rb +1 -0
  190. data/generated/google/apis/privateca_v1beta1.rb +4 -2
  191. data/generated/google/apis/privateca_v1beta1/classes.rb +6 -0
  192. data/generated/google/apis/privateca_v1beta1/representations.rb +1 -0
  193. data/generated/google/apis/privateca_v1beta1/service.rb +3 -1
  194. data/generated/google/apis/pubsub_v1.rb +1 -1
  195. data/generated/google/apis/pubsub_v1/classes.rb +1 -2
  196. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  197. data/generated/google/apis/pubsub_v1beta2/classes.rb +1 -2
  198. data/generated/google/apis/redis_v1.rb +1 -1
  199. data/generated/google/apis/redis_v1/classes.rb +28 -0
  200. data/generated/google/apis/redis_v1/representations.rb +14 -0
  201. data/generated/google/apis/redis_v1/service.rb +34 -0
  202. data/generated/google/apis/run_v1.rb +1 -1
  203. data/generated/google/apis/run_v1/classes.rb +6 -0
  204. data/generated/google/apis/run_v1/representations.rb +1 -0
  205. data/generated/google/apis/run_v1alpha1.rb +1 -1
  206. data/generated/google/apis/run_v1alpha1/classes.rb +6 -0
  207. data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
  208. data/generated/google/apis/securitycenter_v1.rb +1 -1
  209. data/generated/google/apis/securitycenter_v1/classes.rb +6 -0
  210. data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
  211. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  212. data/generated/google/apis/securitycenter_v1beta1/classes.rb +6 -0
  213. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
  214. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  215. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -1
  216. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  217. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1 -1
  218. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  219. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +1 -2
  220. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  221. data/generated/google/apis/servicemanagement_v1/classes.rb +6 -0
  222. data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
  223. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  224. data/generated/google/apis/servicenetworking_v1/classes.rb +22 -1
  225. data/generated/google/apis/servicenetworking_v1/representations.rb +14 -0
  226. data/generated/google/apis/servicenetworking_v1/service.rb +42 -0
  227. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  228. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -1
  229. data/generated/google/apis/serviceusage_v1.rb +1 -1
  230. data/generated/google/apis/serviceusage_v1/classes.rb +1 -1
  231. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  232. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1 -1
  233. data/generated/google/apis/sheets_v4.rb +1 -1
  234. data/generated/google/apis/sheets_v4/classes.rb +23 -7
  235. data/generated/google/apis/sheets_v4/representations.rb +3 -0
  236. data/generated/google/apis/spanner_v1.rb +1 -1
  237. data/generated/google/apis/spanner_v1/classes.rb +2 -3
  238. data/lib/google/apis/version.rb +1 -1
  239. metadata +7 -15
  240. data/generated/google/apis/displayvideo_v1beta.rb +0 -38
  241. data/generated/google/apis/displayvideo_v1beta/classes.rb +0 -146
  242. data/generated/google/apis/displayvideo_v1beta/representations.rb +0 -72
  243. data/generated/google/apis/displayvideo_v1beta/service.rb +0 -161
  244. data/generated/google/apis/displayvideo_v1beta2.rb +0 -38
  245. data/generated/google/apis/displayvideo_v1beta2/classes.rb +0 -146
  246. data/generated/google/apis/displayvideo_v1beta2/representations.rb +0 -72
  247. data/generated/google/apis/displayvideo_v1beta2/service.rb +0 -130
  248. data/generated/google/apis/displayvideo_v1dev.rb +0 -38
  249. data/generated/google/apis/displayvideo_v1dev/classes.rb +0 -146
  250. data/generated/google/apis/displayvideo_v1dev/representations.rb +0 -72
  251. data/generated/google/apis/displayvideo_v1dev/service.rb +0 -130
@@ -307,7 +307,9 @@ module Google
307
307
  execute_or_queue_command(command, &block)
308
308
  end
309
309
 
310
- # Creates an instance.
310
+ # Creates an instance. When creating from a backup, the capacity of the new
311
+ # instance needs to be equal to or larger than the capacity of the backup (and
312
+ # also equal to or larger than the minimum capacity of the tier).
311
313
  # @param [String] parent
312
314
  # Required. The instance's project and location, in the format projects/`
313
315
  # project_id`/locations/`location`. In Cloud Filestore, locations map to GCP
@@ -496,7 +498,9 @@ module Google
496
498
  execute_or_queue_command(command, &block)
497
499
  end
498
500
 
499
- # Restores an existing instance's file share from a snapshot or backup.
501
+ # Restores an existing instance's file share from a backup. The instance's file
502
+ # share capacity will be set to the backup's capacity or the minimum capacity of
503
+ # the tier, whichever is larger.
500
504
  # @param [String] name
501
505
  # Required. The resource name of the instance, in the format projects/`
502
506
  # project_id`/locations/`location_id`/instances/`instance_id`.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/solutions/gaming/
26
26
  module GameservicesV1
27
27
  VERSION = 'V1'
28
- REVISION = '20201022'
28
+ REVISION = '20201029'
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'
@@ -129,8 +129,7 @@ module Google
129
129
  class Binding
130
130
  include Google::Apis::Core::Hashable
131
131
 
132
- # A client-specified ID for this binding. Expected to be globally unique to
133
- # support the internal bindings-by-ID API.
132
+ #
134
133
  # Corresponds to the JSON property `bindingId`
135
134
  # @return [String]
136
135
  attr_accessor :binding_id
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/solutions/gaming/
26
26
  module GameservicesV1beta
27
27
  VERSION = 'V1beta'
28
- REVISION = '20201022'
28
+ REVISION = '20201029'
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'
@@ -129,8 +129,7 @@ module Google
129
129
  class Binding
130
130
  include Google::Apis::Core::Hashable
131
131
 
132
- # A client-specified ID for this binding. Expected to be globally unique to
133
- # support the internal bindings-by-ID API.
132
+ #
134
133
  # Corresponds to the JSON property `bindingId`
135
134
  # @return [String]
136
135
  attr_accessor :binding_id
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/genomics
26
26
  module GenomicsV2alpha1
27
27
  VERSION = 'V2alpha1'
28
- REVISION = '20200927'
28
+ REVISION = '20201102'
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'
@@ -725,6 +725,25 @@ module Google
725
725
  end
726
726
  end
727
727
 
728
+ # Configuration for an `NFSMount` to be attached to the VM.
729
+ class NfsMount
730
+ include Google::Apis::Core::Hashable
731
+
732
+ # A target NFS mount. The target must be specified as `address:/mount".
733
+ # Corresponds to the JSON property `target`
734
+ # @return [String]
735
+ attr_accessor :target
736
+
737
+ def initialize(**args)
738
+ update!(**args)
739
+ end
740
+
741
+ # Update properties of this object
742
+ def update!(**args)
743
+ @target = args[:target] if args.key?(:target)
744
+ end
745
+ end
746
+
728
747
  # VM networking options.
729
748
  class Network
730
749
  include Google::Apis::Core::Hashable
@@ -1442,6 +1461,11 @@ module Google
1442
1461
  # @return [Google::Apis::GenomicsV2alpha1::ExistingDisk]
1443
1462
  attr_accessor :existing_disk
1444
1463
 
1464
+ # Configuration for an `NFSMount` to be attached to the VM.
1465
+ # Corresponds to the JSON property `nfsMount`
1466
+ # @return [Google::Apis::GenomicsV2alpha1::NfsMount]
1467
+ attr_accessor :nfs_mount
1468
+
1445
1469
  # Configuration for a persistent disk to be attached to the VM. See https://
1446
1470
  # cloud.google.com/compute/docs/disks/performance for more information about
1447
1471
  # disk type, size, and performance considerations.
@@ -1463,6 +1487,7 @@ module Google
1463
1487
  # Update properties of this object
1464
1488
  def update!(**args)
1465
1489
  @existing_disk = args[:existing_disk] if args.key?(:existing_disk)
1490
+ @nfs_mount = args[:nfs_mount] if args.key?(:nfs_mount)
1466
1491
  @persistent_disk = args[:persistent_disk] if args.key?(:persistent_disk)
1467
1492
  @volume = args[:volume] if args.key?(:volume)
1468
1493
  end
@@ -136,6 +136,12 @@ module Google
136
136
  include Google::Apis::Core::JsonObjectSupport
137
137
  end
138
138
 
139
+ class NfsMount
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
139
145
  class Network
140
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
147
 
@@ -449,6 +455,13 @@ module Google
449
455
  end
450
456
  end
451
457
 
458
+ class NfsMount
459
+ # @private
460
+ class Representation < Google::Apis::Core::JsonRepresentation
461
+ property :target, as: 'target'
462
+ end
463
+ end
464
+
452
465
  class Network
453
466
  # @private
454
467
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -635,6 +648,8 @@ module Google
635
648
  class Representation < Google::Apis::Core::JsonRepresentation
636
649
  property :existing_disk, as: 'existingDisk', class: Google::Apis::GenomicsV2alpha1::ExistingDisk, decorator: Google::Apis::GenomicsV2alpha1::ExistingDisk::Representation
637
650
 
651
+ property :nfs_mount, as: 'nfsMount', class: Google::Apis::GenomicsV2alpha1::NfsMount, decorator: Google::Apis::GenomicsV2alpha1::NfsMount::Representation
652
+
638
653
  property :persistent_disk, as: 'persistentDisk', class: Google::Apis::GenomicsV2alpha1::PersistentDisk, decorator: Google::Apis::GenomicsV2alpha1::PersistentDisk::Representation
639
654
 
640
655
  property :volume, as: 'volume'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/healthcare
26
26
  module HealthcareV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20201013'
28
+ REVISION = '20201028'
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'
@@ -59,6 +59,59 @@ module Google
59
59
  end
60
60
  end
61
61
 
62
+ # The request to analyze healthcare entities in a document.
63
+ class AnalyzeEntitiesRequest
64
+ include Google::Apis::Core::Hashable
65
+
66
+ # document_content is a document to be annotated.
67
+ # Corresponds to the JSON property `documentContent`
68
+ # @return [String]
69
+ attr_accessor :document_content
70
+
71
+ def initialize(**args)
72
+ update!(**args)
73
+ end
74
+
75
+ # Update properties of this object
76
+ def update!(**args)
77
+ @document_content = args[:document_content] if args.key?(:document_content)
78
+ end
79
+ end
80
+
81
+ # Includes recognized entity mentions and relationships between them.
82
+ class AnalyzeEntitiesResponse
83
+ include Google::Apis::Core::Hashable
84
+
85
+ # The union of all the candidate entities that the entity_mentions in this
86
+ # response could link to. These are UMLS concepts or normalized mention content.
87
+ # Corresponds to the JSON property `entities`
88
+ # @return [Array<Google::Apis::HealthcareV1beta1::Entity>]
89
+ attr_accessor :entities
90
+
91
+ # entity_mentions contains all the annotated medical entities that were were
92
+ # mentioned in the provided document.
93
+ # Corresponds to the JSON property `entityMentions`
94
+ # @return [Array<Google::Apis::HealthcareV1beta1::EntityMention>]
95
+ attr_accessor :entity_mentions
96
+
97
+ # relationships contains all the binary relationships that were identified
98
+ # between entity mentions within the provided document.
99
+ # Corresponds to the JSON property `relationships`
100
+ # @return [Array<Google::Apis::HealthcareV1beta1::EntityMentionRelationship>]
101
+ attr_accessor :relationships
102
+
103
+ def initialize(**args)
104
+ update!(**args)
105
+ end
106
+
107
+ # Update properties of this object
108
+ def update!(**args)
109
+ @entities = args[:entities] if args.key?(:entities)
110
+ @entity_mentions = args[:entity_mentions] if args.key?(:entity_mentions)
111
+ @relationships = args[:relationships] if args.key?(:relationships)
112
+ end
113
+ end
114
+
62
115
  # An annotation record.
63
116
  class Annotation
64
117
  include Google::Apis::Core::Hashable
@@ -1241,6 +1294,145 @@ module Google
1241
1294
  end
1242
1295
  end
1243
1296
 
1297
+ # The candidate entities that an entity mention could link to.
1298
+ class Entity
1299
+ include Google::Apis::Core::Hashable
1300
+
1301
+ # entity_id is a first class field entity_id uniquely identifies this concept
1302
+ # and its meta-vocabulary. For example, "UMLS/C0000970".
1303
+ # Corresponds to the JSON property `entityId`
1304
+ # @return [String]
1305
+ attr_accessor :entity_id
1306
+
1307
+ # preferred_term is the preferred term for this concept. For example, "
1308
+ # Acetaminophen". For ad hoc entities formed by normalization, this is the most
1309
+ # popular unnormalized string.
1310
+ # Corresponds to the JSON property `preferredTerm`
1311
+ # @return [String]
1312
+ attr_accessor :preferred_term
1313
+
1314
+ # Vocabulary codes are first-class fields and differentiated from the concept
1315
+ # unique identifier (entity_id). vocabulary_codes contains the representation of
1316
+ # this concept in particular vocabularies, such as ICD-10, SNOMED-CT and RxNORM.
1317
+ # These are prefixed by the name of the vocabulary, followed by the unique code
1318
+ # within that vocabulary. For example, "RXNORM/A10334543".
1319
+ # Corresponds to the JSON property `vocabularyCodes`
1320
+ # @return [Array<String>]
1321
+ attr_accessor :vocabulary_codes
1322
+
1323
+ def initialize(**args)
1324
+ update!(**args)
1325
+ end
1326
+
1327
+ # Update properties of this object
1328
+ def update!(**args)
1329
+ @entity_id = args[:entity_id] if args.key?(:entity_id)
1330
+ @preferred_term = args[:preferred_term] if args.key?(:preferred_term)
1331
+ @vocabulary_codes = args[:vocabulary_codes] if args.key?(:vocabulary_codes)
1332
+ end
1333
+ end
1334
+
1335
+ # An entity mention in the document.
1336
+ class EntityMention
1337
+ include Google::Apis::Core::Hashable
1338
+
1339
+ # A feature of an entity mention.
1340
+ # Corresponds to the JSON property `certaintyAssessment`
1341
+ # @return [Google::Apis::HealthcareV1beta1::Feature]
1342
+ attr_accessor :certainty_assessment
1343
+
1344
+ # The model's confidence in this entity mention annotation. A number between 0
1345
+ # and 1.
1346
+ # Corresponds to the JSON property `confidence`
1347
+ # @return [Float]
1348
+ attr_accessor :confidence
1349
+
1350
+ # linked_entities are candidate ontological concepts that this entity mention
1351
+ # may refer to. They are sorted by decreasing confidence.it
1352
+ # Corresponds to the JSON property `linkedEntities`
1353
+ # @return [Array<Google::Apis::HealthcareV1beta1::LinkedEntity>]
1354
+ attr_accessor :linked_entities
1355
+
1356
+ # mention_id uniquely identifies each entity mention in a single response.
1357
+ # Corresponds to the JSON property `mentionId`
1358
+ # @return [String]
1359
+ attr_accessor :mention_id
1360
+
1361
+ # A feature of an entity mention.
1362
+ # Corresponds to the JSON property `subject`
1363
+ # @return [Google::Apis::HealthcareV1beta1::Feature]
1364
+ attr_accessor :subject
1365
+
1366
+ # A feature of an entity mention.
1367
+ # Corresponds to the JSON property `temporalAssessment`
1368
+ # @return [Google::Apis::HealthcareV1beta1::Feature]
1369
+ attr_accessor :temporal_assessment
1370
+
1371
+ # A span of text in the provided document.
1372
+ # Corresponds to the JSON property `text`
1373
+ # @return [Google::Apis::HealthcareV1beta1::TextSpan]
1374
+ attr_accessor :text
1375
+
1376
+ # The semantic type of the entity: UNKNOWN_ENTITY_TYPE, ALONE,
1377
+ # ANATOMICAL_STRUCTURE, ASSISTED_LIVING, BF_RESULT, BM_RESULT, BM_UNIT, BM_VALUE,
1378
+ # BODY_FUNCTION, BODY_MEASUREMENT, COMPLIANT, DOESNOT_FOLLOWUP, FAMILY,
1379
+ # FOLLOWSUP, LABORATORY_DATA, LAB_RESULT, LAB_UNIT, LAB_VALUE, MEDICAL_DEVICE,
1380
+ # MEDICINE, MED_DOSE, MED_DURATION, MED_FORM, MED_FREQUENCY, MED_ROUTE,
1381
+ # MED_STATUS, MED_STRENGTH, MED_TOTALDOSE, MED_UNIT, NON_COMPLIANT,
1382
+ # OTHER_LIVINGSTATUS, PROBLEM, PROCEDURE, PROCEDURE_RESULT, PROC_METHOD,
1383
+ # REASON_FOR_NONCOMPLIANCE, SEVERITY, SUBSTANCE_ABUSE, UNCLEAR_FOLLOWUP.
1384
+ # Corresponds to the JSON property `type`
1385
+ # @return [String]
1386
+ attr_accessor :type
1387
+
1388
+ def initialize(**args)
1389
+ update!(**args)
1390
+ end
1391
+
1392
+ # Update properties of this object
1393
+ def update!(**args)
1394
+ @certainty_assessment = args[:certainty_assessment] if args.key?(:certainty_assessment)
1395
+ @confidence = args[:confidence] if args.key?(:confidence)
1396
+ @linked_entities = args[:linked_entities] if args.key?(:linked_entities)
1397
+ @mention_id = args[:mention_id] if args.key?(:mention_id)
1398
+ @subject = args[:subject] if args.key?(:subject)
1399
+ @temporal_assessment = args[:temporal_assessment] if args.key?(:temporal_assessment)
1400
+ @text = args[:text] if args.key?(:text)
1401
+ @type = args[:type] if args.key?(:type)
1402
+ end
1403
+ end
1404
+
1405
+ # Defines directed relationship from one entity mention to another.
1406
+ class EntityMentionRelationship
1407
+ include Google::Apis::Core::Hashable
1408
+
1409
+ # The model's confidence in this annotation. A number between 0 and 1.
1410
+ # Corresponds to the JSON property `confidence`
1411
+ # @return [Float]
1412
+ attr_accessor :confidence
1413
+
1414
+ # object_id is the id of the object entity mention.
1415
+ # Corresponds to the JSON property `objectId`
1416
+ # @return [String]
1417
+ attr_accessor :object_id_prop
1418
+
1419
+ # subject_id is the id of the subject entity mention.
1420
+ # Corresponds to the JSON property `subjectId`
1421
+ # @return [String]
1422
+ attr_accessor :subject_id
1423
+
1424
+ def initialize(**args)
1425
+ update!(**args)
1426
+ end
1427
+
1428
+ # Update properties of this object
1429
+ def update!(**args)
1430
+ @confidence = args[:confidence] if args.key?(:confidence)
1431
+ @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop)
1432
+ @subject_id = args[:subject_id] if args.key?(:subject_id)
1433
+ end
1434
+ end
1435
+
1244
1436
  # Structure to describe the error encountered during batch operation on one
1245
1437
  # resource. This is used both for sample errors in operation response, and for
1246
1438
  # format of errors in error reports.
@@ -1629,6 +1821,32 @@ module Google
1629
1821
  end
1630
1822
  end
1631
1823
 
1824
+ # A feature of an entity mention.
1825
+ class Feature
1826
+ include Google::Apis::Core::Hashable
1827
+
1828
+ # The model's confidence in this feature annotation. A number between 0 and 1.
1829
+ # Corresponds to the JSON property `confidence`
1830
+ # @return [Float]
1831
+ attr_accessor :confidence
1832
+
1833
+ # The value of this feature annotation. Its range depends on the type of the
1834
+ # feature.
1835
+ # Corresponds to the JSON property `value`
1836
+ # @return [String]
1837
+ attr_accessor :value
1838
+
1839
+ def initialize(**args)
1840
+ update!(**args)
1841
+ end
1842
+
1843
+ # Update properties of this object
1844
+ def update!(**args)
1845
+ @confidence = args[:confidence] if args.key?(:confidence)
1846
+ @value = args[:value] if args.key?(:value)
1847
+ end
1848
+ end
1849
+
1632
1850
  # Specifies how to handle de-identification of a FHIR store.
1633
1851
  class FhirConfig
1634
1852
  include Google::Apis::Core::Hashable
@@ -3202,6 +3420,29 @@ module Google
3202
3420
  end
3203
3421
  end
3204
3422
 
3423
+ # EntityMentions can be linked to multiple entities using a LinkedEntity message
3424
+ # lets us add other fields, e.g. confidence.
3425
+ class LinkedEntity
3426
+ include Google::Apis::Core::Hashable
3427
+
3428
+ # entity_id is a concept unique identifier. These are prefixed by a string that
3429
+ # identifies the entity coding system, followed by the unique identifier within
3430
+ # that system. For example, "UMLS/C0000970". This also supports ad hoc entities,
3431
+ # which are formed by normalizing entity mention content.
3432
+ # Corresponds to the JSON property `entityId`
3433
+ # @return [String]
3434
+ attr_accessor :entity_id
3435
+
3436
+ def initialize(**args)
3437
+ update!(**args)
3438
+ end
3439
+
3440
+ # Update properties of this object
3441
+ def update!(**args)
3442
+ @entity_id = args[:entity_id] if args.key?(:entity_id)
3443
+ end
3444
+ end
3445
+
3205
3446
  # Lists the Annotation stores in the given dataset.
3206
3447
  class ListAnnotationStoresResponse
3207
3448
  include Google::Apis::Core::Hashable
@@ -4784,6 +5025,31 @@ module Google
4784
5025
  end
4785
5026
  end
4786
5027
 
5028
+ # A span of text in the provided document.
5029
+ class TextSpan
5030
+ include Google::Apis::Core::Hashable
5031
+
5032
+ # The unicode codepoint index of the beginning of this span.
5033
+ # Corresponds to the JSON property `beginOffset`
5034
+ # @return [Fixnum]
5035
+ attr_accessor :begin_offset
5036
+
5037
+ # The original text contained in this span.
5038
+ # Corresponds to the JSON property `content`
5039
+ # @return [String]
5040
+ attr_accessor :content
5041
+
5042
+ def initialize(**args)
5043
+ update!(**args)
5044
+ end
5045
+
5046
+ # Update properties of this object
5047
+ def update!(**args)
5048
+ @begin_offset = args[:begin_offset] if args.key?(:begin_offset)
5049
+ @content = args[:content] if args.key?(:content)
5050
+ end
5051
+ end
5052
+
4787
5053
  # A type definition for some HL7v2 type (incl. Segments and Datatypes).
4788
5054
  class Type
4789
5055
  include Google::Apis::Core::Hashable