google-api-client 0.30.9 → 0.30.10

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 +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
@@ -2256,7 +2256,9 @@ module Google
2256
2256
  attr_accessor :can_download
2257
2257
  alias_method :can_download?, :can_download
2258
2258
 
2259
- # Whether the current user can edit this file.
2259
+ # Whether the current user can edit this file. Other factors may limit the type
2260
+ # of changes a user can make to a file. For example, see
2261
+ # canChangeCopyRequiresWriterPermission or canModifyContent.
2260
2262
  # Corresponds to the JSON property `canEdit`
2261
2263
  # @return [Boolean]
2262
2264
  attr_accessor :can_edit
@@ -2269,6 +2271,12 @@ module Google
2269
2271
  attr_accessor :can_list_children
2270
2272
  alias_method :can_list_children?, :can_list_children
2271
2273
 
2274
+ # Whether the current user can modify the content of this file.
2275
+ # Corresponds to the JSON property `canModifyContent`
2276
+ # @return [Boolean]
2277
+ attr_accessor :can_modify_content
2278
+ alias_method :can_modify_content?, :can_modify_content
2279
+
2272
2280
  # Whether the current user can move children of this folder outside of the
2273
2281
  # shared drive. This is false when the item is not a folder. Only populated for
2274
2282
  # items in shared drives.
@@ -2413,6 +2421,7 @@ module Google
2413
2421
  @can_download = args[:can_download] if args.key?(:can_download)
2414
2422
  @can_edit = args[:can_edit] if args.key?(:can_edit)
2415
2423
  @can_list_children = args[:can_list_children] if args.key?(:can_list_children)
2424
+ @can_modify_content = args[:can_modify_content] if args.key?(:can_modify_content)
2416
2425
  @can_move_children_out_of_drive = args[:can_move_children_out_of_drive] if args.key?(:can_move_children_out_of_drive)
2417
2426
  @can_move_children_out_of_team_drive = args[:can_move_children_out_of_team_drive] if args.key?(:can_move_children_out_of_team_drive)
2418
2427
  @can_move_children_within_drive = args[:can_move_children_within_drive] if args.key?(:can_move_children_within_drive)
@@ -869,6 +869,7 @@ module Google
869
869
  property :can_download, as: 'canDownload'
870
870
  property :can_edit, as: 'canEdit'
871
871
  property :can_list_children, as: 'canListChildren'
872
+ property :can_modify_content, as: 'canModifyContent'
872
873
  property :can_move_children_out_of_drive, as: 'canMoveChildrenOutOfDrive'
873
874
  property :can_move_children_out_of_team_drive, as: 'canMoveChildrenOutOfTeamDrive'
874
875
  property :can_move_children_within_drive, as: 'canMoveChildrenWithinDrive'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/drive/
27
27
  module DriveV3
28
28
  VERSION = 'V3'
29
- REVISION = '20190620'
29
+ REVISION = '20190822'
30
30
 
31
31
  # See, edit, create, and delete all of your Google Drive files
32
32
  AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
@@ -1414,7 +1414,9 @@ module Google
1414
1414
  attr_accessor :can_download
1415
1415
  alias_method :can_download?, :can_download
1416
1416
 
1417
- # Whether the current user can edit this file.
1417
+ # Whether the current user can edit this file. Other factors may limit the type
1418
+ # of changes a user can make to a file. For example, see
1419
+ # canChangeCopyRequiresWriterPermission or canModifyContent.
1418
1420
  # Corresponds to the JSON property `canEdit`
1419
1421
  # @return [Boolean]
1420
1422
  attr_accessor :can_edit
@@ -1427,6 +1429,12 @@ module Google
1427
1429
  attr_accessor :can_list_children
1428
1430
  alias_method :can_list_children?, :can_list_children
1429
1431
 
1432
+ # Whether the current user can modify the content of this file.
1433
+ # Corresponds to the JSON property `canModifyContent`
1434
+ # @return [Boolean]
1435
+ attr_accessor :can_modify_content
1436
+ alias_method :can_modify_content?, :can_modify_content
1437
+
1430
1438
  # Whether the current user can move children of this folder outside of the
1431
1439
  # shared drive. This is false when the item is not a folder. Only populated for
1432
1440
  # items in shared drives.
@@ -1571,6 +1579,7 @@ module Google
1571
1579
  @can_download = args[:can_download] if args.key?(:can_download)
1572
1580
  @can_edit = args[:can_edit] if args.key?(:can_edit)
1573
1581
  @can_list_children = args[:can_list_children] if args.key?(:can_list_children)
1582
+ @can_modify_content = args[:can_modify_content] if args.key?(:can_modify_content)
1574
1583
  @can_move_children_out_of_drive = args[:can_move_children_out_of_drive] if args.key?(:can_move_children_out_of_drive)
1575
1584
  @can_move_children_out_of_team_drive = args[:can_move_children_out_of_team_drive] if args.key?(:can_move_children_out_of_team_drive)
1576
1585
  @can_move_children_within_drive = args[:can_move_children_within_drive] if args.key?(:can_move_children_within_drive)
@@ -567,6 +567,7 @@ module Google
567
567
  property :can_download, as: 'canDownload'
568
568
  property :can_edit, as: 'canEdit'
569
569
  property :can_list_children, as: 'canListChildren'
570
+ property :can_modify_content, as: 'canModifyContent'
570
571
  property :can_move_children_out_of_drive, as: 'canMoveChildrenOutOfDrive'
571
572
  property :can_move_children_out_of_team_drive, as: 'canMoveChildrenOutOfTeamDrive'
572
573
  property :can_move_children_within_drive, as: 'canMoveChildrenWithinDrive'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/drive/activity/
26
26
  module DriveactivityV2
27
27
  VERSION = 'V2'
28
- REVISION = '20190423'
28
+ REVISION = '20190907'
29
29
 
30
30
  # View and add to the activity record of files in your Google Drive
31
31
  AUTH_DRIVE_ACTIVITY = 'https://www.googleapis.com/auth/drive.activity'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/firestore
27
27
  module FirestoreV1
28
28
  VERSION = 'V1'
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'
@@ -1080,8 +1080,7 @@ module Google
1080
1080
  # @return [Array<Google::Apis::FirestoreV1::GoogleFirestoreAdminV1IndexField>]
1081
1081
  attr_accessor :fields
1082
1082
 
1083
- # Output only.
1084
- # A server defined name for this index.
1083
+ # Output only. A server defined name for this index.
1085
1084
  # The form of this name for composite indexes will be:
1086
1085
  # `projects/`project_id`/databases/`database_id`/collectionGroups/`collection_id`
1087
1086
  # /indexes/`composite_index_id``
@@ -1100,8 +1099,7 @@ module Google
1100
1099
  # @return [String]
1101
1100
  attr_accessor :query_scope
1102
1101
 
1103
- # Output only.
1104
- # The serving state of the index.
1102
+ # Output only. The serving state of the index.
1105
1103
  # Corresponds to the JSON property `state`
1106
1104
  # @return [String]
1107
1105
  attr_accessor :state
@@ -1123,8 +1121,8 @@ module Google
1123
1121
  class GoogleFirestoreAdminV1IndexConfig
1124
1122
  include Google::Apis::Core::Hashable
1125
1123
 
1126
- # Output only.
1127
- # Specifies the resource name of the `Field` from which this field's
1124
+ # Output only. Specifies the resource name of the `Field` from which this field'
1125
+ # s
1128
1126
  # index configuration is set (when `uses_ancestor_config` is true),
1129
1127
  # or from which it *would* be set if this field had no index configuration
1130
1128
  # (when `uses_ancestor_config` is false).
@@ -1147,8 +1145,7 @@ module Google
1147
1145
  attr_accessor :reverting
1148
1146
  alias_method :reverting?, :reverting
1149
1147
 
1150
- # Output only.
1151
- # When true, the `Field`'s index configuration is set from the
1148
+ # Output only. When true, the `Field`'s index configuration is set from the
1152
1149
  # configuration specified by the `ancestor_field`.
1153
1150
  # When false, the `Field`'s index configuration is defined explicitly.
1154
1151
  # Corresponds to the JSON property `usesAncestorConfig`
@@ -1433,43 +1430,10 @@ module Google
1433
1430
 
1434
1431
  # The `Status` type defines a logical error model that is suitable for
1435
1432
  # different programming environments, including REST APIs and RPC APIs. It is
1436
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
1437
- # - Simple to use and understand for most users
1438
- # - Flexible enough to meet unexpected needs
1439
- # # Overview
1440
- # The `Status` message contains three pieces of data: error code, error
1441
- # message, and error details. The error code should be an enum value of
1442
- # google.rpc.Code, but it may accept additional error codes if needed. The
1443
- # error message should be a developer-facing English message that helps
1444
- # developers *understand* and *resolve* the error. If a localized user-facing
1445
- # error message is needed, put the localized message in the error details or
1446
- # localize it in the client. The optional error details may contain arbitrary
1447
- # information about the error. There is a predefined set of error detail types
1448
- # in the package `google.rpc` that can be used for common error conditions.
1449
- # # Language mapping
1450
- # The `Status` message is the logical representation of the error model, but it
1451
- # is not necessarily the actual wire format. When the `Status` message is
1452
- # exposed in different client libraries and different wire protocols, it can be
1453
- # mapped differently. For example, it will likely be mapped to some exceptions
1454
- # in Java, but more likely mapped to some error codes in C.
1455
- # # Other uses
1456
- # The error model and the `Status` message can be used in a variety of
1457
- # environments, either with or without APIs, to provide a
1458
- # consistent developer experience across different environments.
1459
- # Example uses of this error model include:
1460
- # - Partial errors. If a service needs to return partial errors to the client,
1461
- # it may embed the `Status` in the normal response to indicate the partial
1462
- # errors.
1463
- # - Workflow errors. A typical workflow has multiple steps. Each step may
1464
- # have a `Status` message for error reporting.
1465
- # - Batch operations. If a client uses batch request and batch response, the
1466
- # `Status` message should be used directly inside batch response, one for
1467
- # each error sub-response.
1468
- # - Asynchronous operations. If an API call embeds asynchronous operation
1469
- # results in its response, the status of those operations should be
1470
- # represented directly using the `Status` message.
1471
- # - Logging. If some API errors are stored in logs, the message `Status` could
1472
- # be used directly after any stripping needed for security/privacy reasons.
1433
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1434
+ # three pieces of data: error code, error message, and error details.
1435
+ # You can find out more about this error model and how to work with it in the
1436
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
1473
1437
  # Corresponds to the JSON property `error`
1474
1438
  # @return [Google::Apis::FirestoreV1::Status]
1475
1439
  attr_accessor :error
@@ -1484,7 +1448,7 @@ module Google
1484
1448
 
1485
1449
  # The server-assigned name, which is only unique within the same service that
1486
1450
  # originally returns it. If you use the default HTTP mapping, the
1487
- # `name` should have the format of `operations/some/unique/name`.
1451
+ # `name` should be a resource name ending with `operations/`unique_id``.
1488
1452
  # Corresponds to the JSON property `name`
1489
1453
  # @return [String]
1490
1454
  attr_accessor :name
@@ -2055,43 +2019,10 @@ module Google
2055
2019
 
2056
2020
  # The `Status` type defines a logical error model that is suitable for
2057
2021
  # different programming environments, including REST APIs and RPC APIs. It is
2058
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
2059
- # - Simple to use and understand for most users
2060
- # - Flexible enough to meet unexpected needs
2061
- # # Overview
2062
- # The `Status` message contains three pieces of data: error code, error
2063
- # message, and error details. The error code should be an enum value of
2064
- # google.rpc.Code, but it may accept additional error codes if needed. The
2065
- # error message should be a developer-facing English message that helps
2066
- # developers *understand* and *resolve* the error. If a localized user-facing
2067
- # error message is needed, put the localized message in the error details or
2068
- # localize it in the client. The optional error details may contain arbitrary
2069
- # information about the error. There is a predefined set of error detail types
2070
- # in the package `google.rpc` that can be used for common error conditions.
2071
- # # Language mapping
2072
- # The `Status` message is the logical representation of the error model, but it
2073
- # is not necessarily the actual wire format. When the `Status` message is
2074
- # exposed in different client libraries and different wire protocols, it can be
2075
- # mapped differently. For example, it will likely be mapped to some exceptions
2076
- # in Java, but more likely mapped to some error codes in C.
2077
- # # Other uses
2078
- # The error model and the `Status` message can be used in a variety of
2079
- # environments, either with or without APIs, to provide a
2080
- # consistent developer experience across different environments.
2081
- # Example uses of this error model include:
2082
- # - Partial errors. If a service needs to return partial errors to the client,
2083
- # it may embed the `Status` in the normal response to indicate the partial
2084
- # errors.
2085
- # - Workflow errors. A typical workflow has multiple steps. Each step may
2086
- # have a `Status` message for error reporting.
2087
- # - Batch operations. If a client uses batch request and batch response, the
2088
- # `Status` message should be used directly inside batch response, one for
2089
- # each error sub-response.
2090
- # - Asynchronous operations. If an API call embeds asynchronous operation
2091
- # results in its response, the status of those operations should be
2092
- # represented directly using the `Status` message.
2093
- # - Logging. If some API errors are stored in logs, the message `Status` could
2094
- # be used directly after any stripping needed for security/privacy reasons.
2022
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
2023
+ # three pieces of data: error code, error message, and error details.
2024
+ # You can find out more about this error model and how to work with it in the
2025
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
2095
2026
  class Status
2096
2027
  include Google::Apis::Core::Hashable
2097
2028
 
@@ -2236,12 +2167,8 @@ module Google
2236
2167
  # @return [String]
2237
2168
  attr_accessor :resume_token
2238
2169
 
2239
- # A client provided target ID.
2240
- # If not set, the server will assign an ID for the target.
2241
- # Used for resuming a target without changing IDs. The IDs can either be
2242
- # client-assigned or be server-assigned in a previous stream. All targets
2243
- # with client provided IDs must be added before adding a target that needs
2244
- # a server-assigned id.
2170
+ # The target ID that identifies the target on the stream. Must be a positive
2171
+ # number and non-zero.
2245
2172
  # Corresponds to the JSON property `targetId`
2246
2173
  # @return [Fixnum]
2247
2174
  attr_accessor :target_id
@@ -2267,43 +2194,10 @@ module Google
2267
2194
 
2268
2195
  # The `Status` type defines a logical error model that is suitable for
2269
2196
  # different programming environments, including REST APIs and RPC APIs. It is
2270
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
2271
- # - Simple to use and understand for most users
2272
- # - Flexible enough to meet unexpected needs
2273
- # # Overview
2274
- # The `Status` message contains three pieces of data: error code, error
2275
- # message, and error details. The error code should be an enum value of
2276
- # google.rpc.Code, but it may accept additional error codes if needed. The
2277
- # error message should be a developer-facing English message that helps
2278
- # developers *understand* and *resolve* the error. If a localized user-facing
2279
- # error message is needed, put the localized message in the error details or
2280
- # localize it in the client. The optional error details may contain arbitrary
2281
- # information about the error. There is a predefined set of error detail types
2282
- # in the package `google.rpc` that can be used for common error conditions.
2283
- # # Language mapping
2284
- # The `Status` message is the logical representation of the error model, but it
2285
- # is not necessarily the actual wire format. When the `Status` message is
2286
- # exposed in different client libraries and different wire protocols, it can be
2287
- # mapped differently. For example, it will likely be mapped to some exceptions
2288
- # in Java, but more likely mapped to some error codes in C.
2289
- # # Other uses
2290
- # The error model and the `Status` message can be used in a variety of
2291
- # environments, either with or without APIs, to provide a
2292
- # consistent developer experience across different environments.
2293
- # Example uses of this error model include:
2294
- # - Partial errors. If a service needs to return partial errors to the client,
2295
- # it may embed the `Status` in the normal response to indicate the partial
2296
- # errors.
2297
- # - Workflow errors. A typical workflow has multiple steps. Each step may
2298
- # have a `Status` message for error reporting.
2299
- # - Batch operations. If a client uses batch request and batch response, the
2300
- # `Status` message should be used directly inside batch response, one for
2301
- # each error sub-response.
2302
- # - Asynchronous operations. If an API call embeds asynchronous operation
2303
- # results in its response, the status of those operations should be
2304
- # represented directly using the `Status` message.
2305
- # - Logging. If some API errors are stored in logs, the message `Status` could
2306
- # be used directly after any stripping needed for security/privacy reasons.
2197
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
2198
+ # three pieces of data: error code, error message, and error details.
2199
+ # You can find out more about this error model and how to work with it in the
2200
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
2307
2201
  # Corresponds to the JSON property `cause`
2308
2202
  # @return [Google::Apis::FirestoreV1::Status]
2309
2203
  attr_accessor :cause
@@ -2335,10 +2229,7 @@ module Google
2335
2229
 
2336
2230
  # The target IDs of targets that have changed.
2337
2231
  # If empty, the change applies to all targets.
2338
- # For `target_change_type=ADD`, the order of the target IDs matches the order
2339
- # of the requests to add the targets. This allows clients to unambiguously
2340
- # associate server-assigned target IDs with added targets.
2341
- # For other states, the order of the target IDs is not defined.
2232
+ # The order of the target IDs is not defined.
2342
2233
  # Corresponds to the JSON property `targetIds`
2343
2234
  # @return [Array<Fixnum>]
2344
2235
  attr_accessor :target_ids
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/firestore
27
27
  module FirestoreV1beta1
28
28
  VERSION = 'V1beta1'
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'
@@ -1140,43 +1140,10 @@ module Google
1140
1140
 
1141
1141
  # The `Status` type defines a logical error model that is suitable for
1142
1142
  # different programming environments, including REST APIs and RPC APIs. It is
1143
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
1144
- # - Simple to use and understand for most users
1145
- # - Flexible enough to meet unexpected needs
1146
- # # Overview
1147
- # The `Status` message contains three pieces of data: error code, error
1148
- # message, and error details. The error code should be an enum value of
1149
- # google.rpc.Code, but it may accept additional error codes if needed. The
1150
- # error message should be a developer-facing English message that helps
1151
- # developers *understand* and *resolve* the error. If a localized user-facing
1152
- # error message is needed, put the localized message in the error details or
1153
- # localize it in the client. The optional error details may contain arbitrary
1154
- # information about the error. There is a predefined set of error detail types
1155
- # in the package `google.rpc` that can be used for common error conditions.
1156
- # # Language mapping
1157
- # The `Status` message is the logical representation of the error model, but it
1158
- # is not necessarily the actual wire format. When the `Status` message is
1159
- # exposed in different client libraries and different wire protocols, it can be
1160
- # mapped differently. For example, it will likely be mapped to some exceptions
1161
- # in Java, but more likely mapped to some error codes in C.
1162
- # # Other uses
1163
- # The error model and the `Status` message can be used in a variety of
1164
- # environments, either with or without APIs, to provide a
1165
- # consistent developer experience across different environments.
1166
- # Example uses of this error model include:
1167
- # - Partial errors. If a service needs to return partial errors to the client,
1168
- # it may embed the `Status` in the normal response to indicate the partial
1169
- # errors.
1170
- # - Workflow errors. A typical workflow has multiple steps. Each step may
1171
- # have a `Status` message for error reporting.
1172
- # - Batch operations. If a client uses batch request and batch response, the
1173
- # `Status` message should be used directly inside batch response, one for
1174
- # each error sub-response.
1175
- # - Asynchronous operations. If an API call embeds asynchronous operation
1176
- # results in its response, the status of those operations should be
1177
- # represented directly using the `Status` message.
1178
- # - Logging. If some API errors are stored in logs, the message `Status` could
1179
- # be used directly after any stripping needed for security/privacy reasons.
1143
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1144
+ # three pieces of data: error code, error message, and error details.
1145
+ # You can find out more about this error model and how to work with it in the
1146
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
1180
1147
  # Corresponds to the JSON property `error`
1181
1148
  # @return [Google::Apis::FirestoreV1beta1::Status]
1182
1149
  attr_accessor :error
@@ -1191,7 +1158,7 @@ module Google
1191
1158
 
1192
1159
  # The server-assigned name, which is only unique within the same service that
1193
1160
  # originally returns it. If you use the default HTTP mapping, the
1194
- # `name` should have the format of `operations/some/unique/name`.
1161
+ # `name` should be a resource name ending with `operations/`unique_id``.
1195
1162
  # Corresponds to the JSON property `name`
1196
1163
  # @return [String]
1197
1164
  attr_accessor :name
@@ -1690,43 +1657,10 @@ module Google
1690
1657
 
1691
1658
  # The `Status` type defines a logical error model that is suitable for
1692
1659
  # different programming environments, including REST APIs and RPC APIs. It is
1693
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
1694
- # - Simple to use and understand for most users
1695
- # - Flexible enough to meet unexpected needs
1696
- # # Overview
1697
- # The `Status` message contains three pieces of data: error code, error
1698
- # message, and error details. The error code should be an enum value of
1699
- # google.rpc.Code, but it may accept additional error codes if needed. The
1700
- # error message should be a developer-facing English message that helps
1701
- # developers *understand* and *resolve* the error. If a localized user-facing
1702
- # error message is needed, put the localized message in the error details or
1703
- # localize it in the client. The optional error details may contain arbitrary
1704
- # information about the error. There is a predefined set of error detail types
1705
- # in the package `google.rpc` that can be used for common error conditions.
1706
- # # Language mapping
1707
- # The `Status` message is the logical representation of the error model, but it
1708
- # is not necessarily the actual wire format. When the `Status` message is
1709
- # exposed in different client libraries and different wire protocols, it can be
1710
- # mapped differently. For example, it will likely be mapped to some exceptions
1711
- # in Java, but more likely mapped to some error codes in C.
1712
- # # Other uses
1713
- # The error model and the `Status` message can be used in a variety of
1714
- # environments, either with or without APIs, to provide a
1715
- # consistent developer experience across different environments.
1716
- # Example uses of this error model include:
1717
- # - Partial errors. If a service needs to return partial errors to the client,
1718
- # it may embed the `Status` in the normal response to indicate the partial
1719
- # errors.
1720
- # - Workflow errors. A typical workflow has multiple steps. Each step may
1721
- # have a `Status` message for error reporting.
1722
- # - Batch operations. If a client uses batch request and batch response, the
1723
- # `Status` message should be used directly inside batch response, one for
1724
- # each error sub-response.
1725
- # - Asynchronous operations. If an API call embeds asynchronous operation
1726
- # results in its response, the status of those operations should be
1727
- # represented directly using the `Status` message.
1728
- # - Logging. If some API errors are stored in logs, the message `Status` could
1729
- # be used directly after any stripping needed for security/privacy reasons.
1660
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1661
+ # three pieces of data: error code, error message, and error details.
1662
+ # You can find out more about this error model and how to work with it in the
1663
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
1730
1664
  class Status
1731
1665
  include Google::Apis::Core::Hashable
1732
1666
 
@@ -1871,12 +1805,8 @@ module Google
1871
1805
  # @return [String]
1872
1806
  attr_accessor :resume_token
1873
1807
 
1874
- # A client provided target ID.
1875
- # If not set, the server will assign an ID for the target.
1876
- # Used for resuming a target without changing IDs. The IDs can either be
1877
- # client-assigned or be server-assigned in a previous stream. All targets
1878
- # with client provided IDs must be added before adding a target that needs
1879
- # a server-assigned id.
1808
+ # The target ID that identifies the target on the stream. Must be a positive
1809
+ # number and non-zero.
1880
1810
  # Corresponds to the JSON property `targetId`
1881
1811
  # @return [Fixnum]
1882
1812
  attr_accessor :target_id
@@ -1902,43 +1832,10 @@ module Google
1902
1832
 
1903
1833
  # The `Status` type defines a logical error model that is suitable for
1904
1834
  # different programming environments, including REST APIs and RPC APIs. It is
1905
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
1906
- # - Simple to use and understand for most users
1907
- # - Flexible enough to meet unexpected needs
1908
- # # Overview
1909
- # The `Status` message contains three pieces of data: error code, error
1910
- # message, and error details. The error code should be an enum value of
1911
- # google.rpc.Code, but it may accept additional error codes if needed. The
1912
- # error message should be a developer-facing English message that helps
1913
- # developers *understand* and *resolve* the error. If a localized user-facing
1914
- # error message is needed, put the localized message in the error details or
1915
- # localize it in the client. The optional error details may contain arbitrary
1916
- # information about the error. There is a predefined set of error detail types
1917
- # in the package `google.rpc` that can be used for common error conditions.
1918
- # # Language mapping
1919
- # The `Status` message is the logical representation of the error model, but it
1920
- # is not necessarily the actual wire format. When the `Status` message is
1921
- # exposed in different client libraries and different wire protocols, it can be
1922
- # mapped differently. For example, it will likely be mapped to some exceptions
1923
- # in Java, but more likely mapped to some error codes in C.
1924
- # # Other uses
1925
- # The error model and the `Status` message can be used in a variety of
1926
- # environments, either with or without APIs, to provide a
1927
- # consistent developer experience across different environments.
1928
- # Example uses of this error model include:
1929
- # - Partial errors. If a service needs to return partial errors to the client,
1930
- # it may embed the `Status` in the normal response to indicate the partial
1931
- # errors.
1932
- # - Workflow errors. A typical workflow has multiple steps. Each step may
1933
- # have a `Status` message for error reporting.
1934
- # - Batch operations. If a client uses batch request and batch response, the
1935
- # `Status` message should be used directly inside batch response, one for
1936
- # each error sub-response.
1937
- # - Asynchronous operations. If an API call embeds asynchronous operation
1938
- # results in its response, the status of those operations should be
1939
- # represented directly using the `Status` message.
1940
- # - Logging. If some API errors are stored in logs, the message `Status` could
1941
- # be used directly after any stripping needed for security/privacy reasons.
1835
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1836
+ # three pieces of data: error code, error message, and error details.
1837
+ # You can find out more about this error model and how to work with it in the
1838
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
1942
1839
  # Corresponds to the JSON property `cause`
1943
1840
  # @return [Google::Apis::FirestoreV1beta1::Status]
1944
1841
  attr_accessor :cause
@@ -1970,10 +1867,7 @@ module Google
1970
1867
 
1971
1868
  # The target IDs of targets that have changed.
1972
1869
  # If empty, the change applies to all targets.
1973
- # For `target_change_type=ADD`, the order of the target IDs matches the order
1974
- # of the requests to add the targets. This allows clients to unambiguously
1975
- # associate server-assigned target IDs with added targets.
1976
- # For other states, the order of the target IDs is not defined.
1870
+ # The order of the target IDs is not defined.
1977
1871
  # Corresponds to the JSON property `targetIds`
1978
1872
  # @return [Array<Fixnum>]
1979
1873
  attr_accessor :target_ids