google-api-client 0.34.1 → 0.35.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (312) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +16 -3
  3. data/CHANGELOG.md +114 -0
  4. data/OVERVIEW.md +36 -0
  5. data/README.md +49 -1
  6. data/Rakefile +1 -1
  7. data/docs/api-keys.md +20 -0
  8. data/docs/auth.md +53 -0
  9. data/docs/client-secrets.md +69 -0
  10. data/docs/getting-started.md +340 -0
  11. data/docs/installation.md +0 -0
  12. data/docs/logging.md +34 -0
  13. data/docs/media-upload.md +25 -0
  14. data/docs/oauth-installed.md +191 -0
  15. data/docs/oauth-server.md +135 -0
  16. data/docs/oauth-web.md +280 -0
  17. data/docs/oauth.md +268 -0
  18. data/docs/pagination.md +29 -0
  19. data/docs/performance.md +25 -0
  20. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  21. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  22. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +9 -0
  23. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +1 -0
  24. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  25. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +9 -0
  26. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
  27. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  28. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  29. data/generated/google/apis/androidpublisher_v3/classes.rb +93 -0
  30. data/generated/google/apis/androidpublisher_v3/representations.rb +49 -0
  31. data/generated/google/apis/appengine_v1.rb +1 -1
  32. data/generated/google/apis/appengine_v1beta.rb +1 -1
  33. data/generated/google/apis/appsmarket_v2.rb +1 -1
  34. data/generated/google/apis/bigquery_v2.rb +1 -1
  35. data/generated/google/apis/bigquery_v2/classes.rb +46 -4
  36. data/generated/google/apis/bigquery_v2/representations.rb +17 -0
  37. data/generated/google/apis/bigquery_v2/service.rb +1 -5
  38. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  39. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -5
  40. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  41. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -4
  42. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  43. data/generated/google/apis/bigqueryreservation_v1/classes.rb +0 -21
  44. data/generated/google/apis/bigqueryreservation_v1/representations.rb +0 -13
  45. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  46. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +116 -1
  47. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +35 -0
  48. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +71 -0
  49. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  50. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +61 -77
  51. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +16 -17
  52. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +112 -78
  53. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  54. data/generated/google/apis/bigtableadmin_v1/classes.rb +1 -1
  55. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  56. data/generated/google/apis/bigtableadmin_v2/classes.rb +1 -1
  57. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
  58. data/generated/google/apis/{sqladmin_v1beta4.rb → billingbudgets_v1beta1.rb} +10 -13
  59. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +392 -0
  60. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +191 -0
  61. data/generated/google/apis/billingbudgets_v1beta1/service.rb +233 -0
  62. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  63. data/generated/google/apis/binaryauthorization_v1/classes.rb +6 -5
  64. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  65. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +6 -5
  66. data/generated/google/apis/books_v1.rb +1 -1
  67. data/generated/google/apis/books_v1/classes.rb +20 -0
  68. data/generated/google/apis/books_v1/representations.rb +3 -0
  69. data/generated/google/apis/calendar_v3.rb +1 -1
  70. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  71. data/generated/google/apis/calendar_v3/service.rb +18 -30
  72. data/generated/google/apis/civicinfo_v2.rb +1 -1
  73. data/generated/google/apis/civicinfo_v2/classes.rb +0 -156
  74. data/generated/google/apis/civicinfo_v2/representations.rb +0 -58
  75. data/generated/google/apis/cloudasset_v1.rb +1 -1
  76. data/generated/google/apis/cloudasset_v1/classes.rb +6 -5
  77. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  78. data/generated/google/apis/cloudasset_v1beta1/classes.rb +6 -5
  79. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  80. data/generated/google/apis/cloudbilling_v1/classes.rb +17 -0
  81. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  82. data/generated/google/apis/cloudbuild_v1/classes.rb +8 -2
  83. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  84. data/generated/google/apis/cloudbuild_v1/service.rb +18 -18
  85. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  86. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +8 -2
  87. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  88. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +4 -1
  89. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  90. data/generated/google/apis/cloudfunctions_v1/classes.rb +13 -5
  91. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  92. data/generated/google/apis/cloudfunctions_v1/service.rb +3 -1
  93. data/generated/google/apis/cloudiot_v1.rb +1 -1
  94. data/generated/google/apis/cloudiot_v1/classes.rb +6 -5
  95. data/generated/google/apis/cloudkms_v1.rb +1 -1
  96. data/generated/google/apis/cloudkms_v1/classes.rb +6 -5
  97. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  98. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +6 -5
  99. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  100. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -5
  101. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  102. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -5
  103. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  104. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -5
  105. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  106. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -5
  107. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  108. data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
  109. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  110. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
  111. data/generated/google/apis/cloudsearch_v1.rb +8 -8
  112. data/generated/google/apis/cloudsearch_v1/classes.rb +5 -130
  113. data/generated/google/apis/cloudsearch_v1/representations.rb +0 -75
  114. data/generated/google/apis/cloudsearch_v1/service.rb +42 -7
  115. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  116. data/generated/google/apis/cloudtasks_v2/classes.rb +212 -5
  117. data/generated/google/apis/cloudtasks_v2/representations.rb +50 -0
  118. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  119. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +6 -5
  120. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  121. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +6 -5
  122. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  123. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +14 -19
  124. data/generated/google/apis/compute_alpha.rb +1 -1
  125. data/generated/google/apis/compute_alpha/classes.rb +75 -12
  126. data/generated/google/apis/compute_alpha/representations.rb +2 -0
  127. data/generated/google/apis/compute_beta.rb +1 -1
  128. data/generated/google/apis/compute_beta/classes.rb +54 -10
  129. data/generated/google/apis/compute_v1.rb +1 -1
  130. data/generated/google/apis/compute_v1/classes.rb +54 -10
  131. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  132. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +6 -5
  133. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  134. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +6 -5
  135. data/generated/google/apis/content_v2.rb +1 -1
  136. data/generated/google/apis/content_v2/classes.rb +13 -4
  137. data/generated/google/apis/content_v2_1.rb +1 -1
  138. data/generated/google/apis/content_v2_1/classes.rb +13 -4
  139. data/generated/google/apis/datacatalog_v1beta1.rb +35 -0
  140. data/generated/google/apis/datacatalog_v1beta1/classes.rb +1646 -0
  141. data/generated/google/apis/datacatalog_v1beta1/representations.rb +700 -0
  142. data/generated/google/apis/datacatalog_v1beta1/service.rb +1982 -0
  143. data/generated/google/apis/dataproc_v1.rb +1 -1
  144. data/generated/google/apis/dataproc_v1/classes.rb +75 -4
  145. data/generated/google/apis/dataproc_v1/representations.rb +22 -0
  146. data/generated/google/apis/dataproc_v1/service.rb +14 -7
  147. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  148. data/generated/google/apis/dataproc_v1beta2/classes.rb +2 -4
  149. data/generated/google/apis/dataproc_v1beta2/service.rb +14 -7
  150. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  151. data/generated/google/apis/dfareporting_v3_3/classes.rb +21 -1
  152. data/generated/google/apis/dfareporting_v3_3/service.rb +6 -6
  153. data/generated/google/apis/dfareporting_v3_4.rb +40 -0
  154. data/generated/google/apis/dfareporting_v3_4/classes.rb +12717 -0
  155. data/generated/google/apis/dfareporting_v3_4/representations.rb +4595 -0
  156. data/generated/google/apis/dfareporting_v3_4/service.rb +8685 -0
  157. data/generated/google/apis/dialogflow_v2.rb +1 -1
  158. data/generated/google/apis/dialogflow_v2/classes.rb +484 -1
  159. data/generated/google/apis/dialogflow_v2/representations.rb +220 -0
  160. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  161. data/generated/google/apis/dialogflow_v2beta1/classes.rb +497 -1
  162. data/generated/google/apis/dialogflow_v2beta1/representations.rb +221 -0
  163. data/generated/google/apis/dlp_v2.rb +1 -1
  164. data/generated/google/apis/dlp_v2/classes.rb +68 -25
  165. data/generated/google/apis/dlp_v2/representations.rb +9 -4
  166. data/generated/google/apis/dlp_v2/service.rb +1925 -193
  167. data/generated/google/apis/dns_v1beta2.rb +1 -1
  168. data/generated/google/apis/dns_v1beta2/classes.rb +47 -0
  169. data/generated/google/apis/dns_v1beta2/representations.rb +17 -0
  170. data/generated/google/apis/docs_v1.rb +1 -1
  171. data/generated/google/apis/docs_v1/classes.rb +4 -8
  172. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  173. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +34 -0
  174. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +826 -0
  175. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +372 -0
  176. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +371 -0
  177. data/generated/google/apis/drive_v3.rb +1 -1
  178. data/generated/google/apis/drive_v3/classes.rb +12 -3
  179. data/generated/google/apis/fcm_v1.rb +1 -1
  180. data/generated/google/apis/fcm_v1/classes.rb +15 -0
  181. data/generated/google/apis/fcm_v1/representations.rb +2 -0
  182. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  183. data/generated/google/apis/firebase_v1beta1/classes.rb +3 -4
  184. data/generated/google/apis/firebase_v1beta1/service.rb +6 -6
  185. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  186. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +25 -0
  187. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
  188. data/generated/google/apis/firebasehosting_v1beta1/service.rb +47 -0
  189. data/generated/google/apis/firebaserules_v1.rb +1 -1
  190. data/generated/google/apis/firebaserules_v1/classes.rb +26 -0
  191. data/generated/google/apis/firebaserules_v1/representations.rb +15 -0
  192. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  193. data/generated/google/apis/genomics_v2alpha1/classes.rb +32 -0
  194. data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
  195. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  196. data/generated/google/apis/healthcare_v1beta1/classes.rb +8 -7
  197. data/generated/google/apis/homegraph_v1.rb +1 -1
  198. data/generated/google/apis/homegraph_v1/classes.rb +15 -1
  199. data/generated/google/apis/homegraph_v1/representations.rb +2 -1
  200. data/generated/google/apis/iam_v1.rb +1 -1
  201. data/generated/google/apis/iam_v1/classes.rb +6 -5
  202. data/generated/google/apis/logging_v2.rb +1 -1
  203. data/generated/google/apis/logging_v2/classes.rb +18 -2
  204. data/generated/google/apis/logging_v2/representations.rb +2 -0
  205. data/generated/google/apis/ml_v1.rb +1 -1
  206. data/generated/google/apis/ml_v1/classes.rb +173 -97
  207. data/generated/google/apis/ml_v1/representations.rb +58 -0
  208. data/generated/google/apis/ml_v1/service.rb +37 -0
  209. data/generated/google/apis/monitoring_v3.rb +1 -1
  210. data/generated/google/apis/monitoring_v3/classes.rb +780 -6
  211. data/generated/google/apis/monitoring_v3/representations.rb +347 -0
  212. data/generated/google/apis/monitoring_v3/service.rb +382 -0
  213. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  214. data/generated/google/apis/pagespeedonline_v5/classes.rb +8 -0
  215. data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
  216. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  217. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -5
  218. data/generated/google/apis/pubsub_v1.rb +1 -1
  219. data/generated/google/apis/pubsub_v1/classes.rb +8 -6
  220. data/generated/google/apis/pubsub_v1/service.rb +6 -7
  221. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  222. data/generated/google/apis/pubsub_v1beta2/classes.rb +6 -5
  223. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  224. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
  225. data/generated/google/apis/recommender_v1beta1/service.rb +10 -8
  226. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  227. data/generated/google/apis/remotebuildexecution_v1/classes.rb +33 -0
  228. data/generated/google/apis/remotebuildexecution_v1/representations.rb +15 -0
  229. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  230. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +33 -0
  231. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +15 -0
  232. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  233. data/generated/google/apis/remotebuildexecution_v2/classes.rb +33 -0
  234. data/generated/google/apis/remotebuildexecution_v2/representations.rb +15 -0
  235. data/generated/google/apis/run_v1.rb +1 -1
  236. data/generated/google/apis/run_v1/classes.rb +8 -169
  237. data/generated/google/apis/run_v1/representations.rb +0 -71
  238. data/generated/google/apis/run_v1/service.rb +229 -1207
  239. data/generated/google/apis/run_v1alpha1.rb +1 -1
  240. data/generated/google/apis/run_v1alpha1/classes.rb +9 -9
  241. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  242. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +6 -5
  243. data/generated/google/apis/securitycenter_v1.rb +1 -1
  244. data/generated/google/apis/securitycenter_v1/classes.rb +66 -11
  245. data/generated/google/apis/securitycenter_v1/representations.rb +19 -0
  246. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  247. data/generated/google/apis/securitycenter_v1beta1/classes.rb +16 -13
  248. data/generated/google/apis/servicebroker_v1.rb +1 -1
  249. data/generated/google/apis/servicebroker_v1/classes.rb +6 -5
  250. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  251. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +6 -5
  252. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  253. data/generated/google/apis/servicebroker_v1beta1/classes.rb +6 -5
  254. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  255. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +3 -2
  256. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  257. data/generated/google/apis/servicecontrol_v1/classes.rb +8 -1
  258. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  259. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  260. data/generated/google/apis/servicemanagement_v1/classes.rb +12 -9
  261. data/generated/google/apis/servicemanagement_v1/service.rb +1 -9
  262. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  263. data/generated/google/apis/servicenetworking_v1/classes.rb +130 -13
  264. data/generated/google/apis/servicenetworking_v1/representations.rb +58 -0
  265. data/generated/google/apis/servicenetworking_v1/service.rb +42 -3
  266. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  267. data/generated/google/apis/servicenetworking_v1beta/classes.rb +3 -2
  268. data/generated/google/apis/serviceusage_v1.rb +1 -1
  269. data/generated/google/apis/serviceusage_v1/classes.rb +3 -2
  270. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  271. data/generated/google/apis/serviceusage_v1beta1/classes.rb +3 -2
  272. data/generated/google/apis/sheets_v4.rb +1 -1
  273. data/generated/google/apis/spanner_v1.rb +1 -1
  274. data/generated/google/apis/spanner_v1/classes.rb +70 -30
  275. data/generated/google/apis/spanner_v1/service.rb +270 -0
  276. data/generated/google/apis/speech_v1.rb +1 -1
  277. data/generated/google/apis/speech_v1/classes.rb +6 -0
  278. data/generated/google/apis/speech_v1/representations.rb +1 -0
  279. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  280. data/generated/google/apis/speech_v1p1beta1/classes.rb +6 -0
  281. data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
  282. data/generated/google/apis/sql_v1beta4.rb +1 -1
  283. data/generated/google/apis/sql_v1beta4/service.rb +59 -10
  284. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  285. data/generated/google/apis/videointelligence_v1.rb +1 -1
  286. data/generated/google/apis/videointelligence_v1/classes.rb +112 -0
  287. data/generated/google/apis/videointelligence_v1/representations.rb +62 -0
  288. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  289. data/generated/google/apis/videointelligence_v1beta2/classes.rb +112 -0
  290. data/generated/google/apis/videointelligence_v1beta2/representations.rb +62 -0
  291. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  292. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +112 -0
  293. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +62 -0
  294. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  295. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +112 -0
  296. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +62 -0
  297. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  298. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +112 -0
  299. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +62 -0
  300. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  301. data/lib/google/apis/core/api_command.rb +3 -0
  302. data/lib/google/apis/core/http_command.rb +10 -8
  303. data/lib/google/apis/version.rb +1 -1
  304. data/rakelib/devsite/devsite_builder.rb +1 -1
  305. metadata +33 -11
  306. data/generated/google/apis/sqladmin_v1beta4/classes.rb +0 -2633
  307. data/generated/google/apis/sqladmin_v1beta4/representations.rb +0 -1110
  308. data/generated/google/apis/sqladmin_v1beta4/service.rb +0 -1793
  309. data/generated/google/apis/storage_v1beta1.rb +0 -40
  310. data/generated/google/apis/storage_v1beta1/classes.rb +0 -616
  311. data/generated/google/apis/storage_v1beta1/representations.rb +0 -249
  312. data/generated/google/apis/storage_v1beta1/service.rb +0 -1032
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/drive/
27
27
  module DriveV3
28
28
  VERSION = 'V3'
29
- REVISION = '20191017'
29
+ REVISION = '20191108'
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'
@@ -1960,7 +1960,13 @@ module Google
1960
1960
  attr_accessor :deleted
1961
1961
  alias_method :deleted?, :deleted
1962
1962
 
1963
- # A displayable name for users, groups or domains.
1963
+ # The "pretty" name of the value of the permission. The following is a list of
1964
+ # examples for each type of permission:
1965
+ # - user - User's full name, as defined for their Google account, such as "Joe
1966
+ # Smith."
1967
+ # - group - Name of the Google Group, such as "The Company Administrators."
1968
+ # - domain - String domain name, such as "thecompany.com."
1969
+ # - anyone - No displayName is present.
1964
1970
  # Corresponds to the JSON property `displayName`
1965
1971
  # @return [String]
1966
1972
  attr_accessor :display_name
@@ -1985,7 +1991,8 @@ module Google
1985
1991
  attr_accessor :expiration_time
1986
1992
 
1987
1993
  # The ID of this permission. This is a unique identifier for the grantee, and is
1988
- # published in User resources as permissionId.
1994
+ # published in User resources as permissionId. IDs should be treated as opaque
1995
+ # values.
1989
1996
  # Corresponds to the JSON property `id`
1990
1997
  # @return [String]
1991
1998
  attr_accessor :id
@@ -2029,7 +2036,9 @@ module Google
2029
2036
  # - user
2030
2037
  # - group
2031
2038
  # - domain
2032
- # - anyone
2039
+ # - anyone When creating a permission, if type is user or group, you must
2040
+ # provide an emailAddress for the user or group. When type is domain, you must
2041
+ # provide a domain. There isn't extra information required for a anyone type.
2033
2042
  # Corresponds to the JSON property `type`
2034
2043
  # @return [String]
2035
2044
  attr_accessor :type
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://firebase.google.com/docs/cloud-messaging
27
27
  module FcmV1
28
28
  VERSION = 'V1'
29
- REVISION = '20191001'
29
+ REVISION = '20191119'
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'
@@ -40,6 +40,14 @@ module Google
40
40
  # @return [Hash<String,String>]
41
41
  attr_accessor :data
42
42
 
43
+ # If set to true, messages will be allowed to be delivered to the app while
44
+ # the device is in direct boot mode. See [Support Direct Boot
45
+ # mode](https://developer.android.com/training/articles/direct-boot).
46
+ # Corresponds to the JSON property `directBootOk`
47
+ # @return [Boolean]
48
+ attr_accessor :direct_boot_ok
49
+ alias_method :direct_boot_ok?, :direct_boot_ok
50
+
43
51
  # Options for features provided by the FCM SDK for Android.
44
52
  # Corresponds to the JSON property `fcmOptions`
45
53
  # @return [Google::Apis::FcmV1::AndroidFcmOptions]
@@ -86,6 +94,7 @@ module Google
86
94
  def update!(**args)
87
95
  @collapse_key = args[:collapse_key] if args.key?(:collapse_key)
88
96
  @data = args[:data] if args.key?(:data)
97
+ @direct_boot_ok = args[:direct_boot_ok] if args.key?(:direct_boot_ok)
89
98
  @fcm_options = args[:fcm_options] if args.key?(:fcm_options)
90
99
  @notification = args[:notification] if args.key?(:notification)
91
100
  @priority = args[:priority] if args.key?(:priority)
@@ -932,6 +941,11 @@ module Google
932
941
  class WebpushFcmOptions
933
942
  include Google::Apis::Core::Hashable
934
943
 
944
+ # Label associated with the message's analytics data.
945
+ # Corresponds to the JSON property `analyticsLabel`
946
+ # @return [String]
947
+ attr_accessor :analytics_label
948
+
935
949
  # The link to open when the user clicks on the notification.
936
950
  # For all URL values, HTTPS is required.
937
951
  # Corresponds to the JSON property `link`
@@ -944,6 +958,7 @@ module Google
944
958
 
945
959
  # Update properties of this object
946
960
  def update!(**args)
961
+ @analytics_label = args[:analytics_label] if args.key?(:analytics_label)
947
962
  @link = args[:link] if args.key?(:link)
948
963
  end
949
964
  end
@@ -105,6 +105,7 @@ module Google
105
105
  class Representation < Google::Apis::Core::JsonRepresentation
106
106
  property :collapse_key, as: 'collapseKey'
107
107
  hash :data, as: 'data'
108
+ property :direct_boot_ok, as: 'directBootOk'
108
109
  property :fcm_options, as: 'fcmOptions', class: Google::Apis::FcmV1::AndroidFcmOptions, decorator: Google::Apis::FcmV1::AndroidFcmOptions::Representation
109
110
 
110
111
  property :notification, as: 'notification', class: Google::Apis::FcmV1::AndroidNotification, decorator: Google::Apis::FcmV1::AndroidNotification::Representation
@@ -252,6 +253,7 @@ module Google
252
253
  class WebpushFcmOptions
253
254
  # @private
254
255
  class Representation < Google::Apis::Core::JsonRepresentation
256
+ property :analytics_label, as: 'analyticsLabel'
255
257
  property :link, as: 'link'
256
258
  end
257
259
  end
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://firebase.google.com
27
27
  module FirebaseV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20190926'
29
+ REVISION = '20191125'
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'
@@ -795,10 +795,9 @@ module Google
795
795
  class Location
796
796
  include Google::Apis::Core::Hashable
797
797
 
798
- # The ID of the default GCP resource location. It must be one of the
799
- # available
800
- # [GCP resource
801
- # locations](https://firebase.google.com/docs/projects/locations).
798
+ # The ID of the GCP resource location. It will be one of the available [GCP
799
+ # resource
800
+ # locations](https://firebase.google.com/docs/projects/locations#types).
802
801
  # Corresponds to the JSON property `locationId`
803
802
  # @return [String]
804
803
  attr_accessor :location_id
@@ -886,13 +886,13 @@ module Google
886
886
  # Returns a list of valid Google Cloud Platform (GCP) resource locations for
887
887
  # the specified Project (including a FirebaseProject).
888
888
  # <br>
889
- # <br>The default GCP resource location of a project defines the geographical
890
- # location where project resources, such as Cloud Firestore, will be
891
- # provisioned by default.
889
+ # <br>One of these locations can be selected as the Project's [_default_ GCP
890
+ # resource location](https://firebase.google.com/docs/projects/locations),
891
+ # which is the geographical location where project resources, such as Cloud
892
+ # Firestore, will be provisioned by default. However, if the default GCP
893
+ # resource location has already been set for the Project, then this setting
894
+ # cannot be changed.
892
895
  # <br>
893
- # <br>The returned list are the available
894
- # [GCP resource
895
- # locations](https://firebase.google.com/docs/projects/locations). <br>
896
896
  # <br>This call checks for any location restrictions for the specified
897
897
  # Project and, thus, might return a subset of all possible GCP resource
898
898
  # locations. To list all GCP resource locations (regardless of any
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://firebase.google.com/docs/hosting/
28
28
  module FirebasehostingV1beta1
29
29
  VERSION = 'V1beta1'
30
- REVISION = '20191029'
30
+ REVISION = '20191122'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -405,6 +405,31 @@ module Google
405
405
  end
406
406
  end
407
407
 
408
+ #
409
+ class ListVersionsResponse
410
+ include Google::Apis::Core::Hashable
411
+
412
+ # The pagination token, if more results exist
413
+ # Corresponds to the JSON property `nextPageToken`
414
+ # @return [String]
415
+ attr_accessor :next_page_token
416
+
417
+ # The list of versions, if any exist.
418
+ # Corresponds to the JSON property `versions`
419
+ # @return [Array<Google::Apis::FirebasehostingV1beta1::Version>]
420
+ attr_accessor :versions
421
+
422
+ def initialize(**args)
423
+ update!(**args)
424
+ end
425
+
426
+ # Update properties of this object
427
+ def update!(**args)
428
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
429
+ @versions = args[:versions] if args.key?(:versions)
430
+ end
431
+ end
432
+
408
433
  #
409
434
  class PopulateVersionFilesRequest
410
435
  include Google::Apis::Core::Hashable
@@ -94,6 +94,12 @@ module Google
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
+ class ListVersionsResponse
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
97
103
  class PopulateVersionFilesRequest
98
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
105
 
@@ -266,6 +272,15 @@ module Google
266
272
  end
267
273
  end
268
274
 
275
+ class ListVersionsResponse
276
+ # @private
277
+ class Representation < Google::Apis::Core::JsonRepresentation
278
+ property :next_page_token, as: 'nextPageToken'
279
+ collection :versions, as: 'versions', class: Google::Apis::FirebasehostingV1beta1::Version, decorator: Google::Apis::FirebasehostingV1beta1::Version::Representation
280
+
281
+ end
282
+ end
283
+
269
284
  class PopulateVersionFilesRequest
270
285
  # @private
271
286
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -441,6 +441,53 @@ module Google
441
441
  execute_or_queue_command(command, &block)
442
442
  end
443
443
 
444
+ # Lists the versions that have been created on the specified site.
445
+ # Will include filtering in the future.
446
+ # @param [String] parent
447
+ # Required. The parent for which to list files, in the format:
448
+ # <code>sites/<var>site-name</var></code>
449
+ # @param [String] filter
450
+ # The filter string used to return a subset of versions in the response.
451
+ # Currently supported fields for filtering are: name, status,
452
+ # and create_time. Filter processing will be implemented in accordance
453
+ # with go/filtering.
454
+ # @param [Fixnum] page_size
455
+ # The maximum number of versions to return. The service may return fewer than
456
+ # this value.
457
+ # If unspecified, at most 25 versions will be returned.
458
+ # The maximum value is 100; values above 100 will be coerced to 100
459
+ # @param [String] page_token
460
+ # The next_page_token from a previous request, if provided.
461
+ # @param [String] fields
462
+ # Selector specifying which fields to include in a partial response.
463
+ # @param [String] quota_user
464
+ # Available to use for quota purposes for server-side applications. Can be any
465
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
466
+ # @param [Google::Apis::RequestOptions] options
467
+ # Request-specific options
468
+ #
469
+ # @yield [result, err] Result & error if block supplied
470
+ # @yieldparam result [Google::Apis::FirebasehostingV1beta1::ListVersionsResponse] parsed result object
471
+ # @yieldparam err [StandardError] error object if request failed
472
+ #
473
+ # @return [Google::Apis::FirebasehostingV1beta1::ListVersionsResponse]
474
+ #
475
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
476
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
477
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
478
+ def list_site_versions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
479
+ command = make_simple_command(:get, 'v1beta1/{+parent}/versions', options)
480
+ command.response_representation = Google::Apis::FirebasehostingV1beta1::ListVersionsResponse::Representation
481
+ command.response_class = Google::Apis::FirebasehostingV1beta1::ListVersionsResponse
482
+ command.params['parent'] = parent unless parent.nil?
483
+ command.query['filter'] = filter unless filter.nil?
484
+ command.query['pageSize'] = page_size unless page_size.nil?
485
+ command.query['pageToken'] = page_token unless page_token.nil?
486
+ command.query['fields'] = fields unless fields.nil?
487
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
488
+ execute_or_queue_command(command, &block)
489
+ end
490
+
444
491
  # Updates the specified metadata for a version. Note that this method will
445
492
  # fail with `FAILED_PRECONDITION` in the event of an invalid state
446
493
  # transition. The only valid transition for a version is currently from a
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://firebase.google.com/docs/storage/security
27
27
  module FirebaserulesV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190807'
29
+ REVISION = '20191115'
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'
@@ -307,6 +307,26 @@ module Google
307
307
  end
308
308
  end
309
309
 
310
+ # Metadata for a Ruleset.
311
+ class Metadata
312
+ include Google::Apis::Core::Hashable
313
+
314
+ # Services that this ruleset has declarations for (e.g.,
315
+ # "cloud.firestore"). There may be 0+ of these.
316
+ # Corresponds to the JSON property `services`
317
+ # @return [Array<String>]
318
+ attr_accessor :services
319
+
320
+ def initialize(**args)
321
+ update!(**args)
322
+ end
323
+
324
+ # Update properties of this object
325
+ def update!(**args)
326
+ @services = args[:services] if args.key?(:services)
327
+ end
328
+ end
329
+
310
330
  # `Release` is a named reference to a `Ruleset`. Once a `Release` refers to a
311
331
  # `Ruleset`, rules-enabled services will be able to enforce the `Ruleset`.
312
332
  class Release
@@ -409,6 +429,11 @@ module Google
409
429
  # @return [String]
410
430
  attr_accessor :create_time
411
431
 
432
+ # Metadata for a Ruleset.
433
+ # Corresponds to the JSON property `metadata`
434
+ # @return [Google::Apis::FirebaserulesV1::Metadata]
435
+ attr_accessor :metadata
436
+
412
437
  # Name of the `Ruleset`. The ruleset_id is auto generated by the service.
413
438
  # Format: `projects/`project_id`/rulesets/`ruleset_id``
414
439
  # Output only.
@@ -428,6 +453,7 @@ module Google
428
453
  # Update properties of this object
429
454
  def update!(**args)
430
455
  @create_time = args[:create_time] if args.key?(:create_time)
456
+ @metadata = args[:metadata] if args.key?(:metadata)
431
457
  @name = args[:name] if args.key?(:name)
432
458
  @source = args[:source] if args.key?(:source)
433
459
  end
@@ -76,6 +76,12 @@ module Google
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
+ class Metadata
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
79
85
  class Release
80
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
87
 
@@ -231,6 +237,13 @@ module Google
231
237
  end
232
238
  end
233
239
 
240
+ class Metadata
241
+ # @private
242
+ class Representation < Google::Apis::Core::JsonRepresentation
243
+ collection :services, as: 'services'
244
+ end
245
+ end
246
+
234
247
  class Release
235
248
  # @private
236
249
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -254,6 +267,8 @@ module Google
254
267
  # @private
255
268
  class Representation < Google::Apis::Core::JsonRepresentation
256
269
  property :create_time, as: 'createTime'
270
+ property :metadata, as: 'metadata', class: Google::Apis::FirebaserulesV1::Metadata, decorator: Google::Apis::FirebaserulesV1::Metadata::Representation
271
+
257
272
  property :name, as: 'name'
258
273
  property :source, as: 'source', class: Google::Apis::FirebaserulesV1::Source, decorator: Google::Apis::FirebaserulesV1::Source::Representation
259
274
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/genomics
26
26
  module GenomicsV2alpha1
27
27
  VERSION = 'V2alpha1'
28
- REVISION = '20191102'
28
+ REVISION = '20191112'
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'
@@ -229,6 +229,11 @@ module Google
229
229
  # @return [Hash<String,Object>]
230
230
  attr_accessor :event
231
231
 
232
+ # A list of timestamped events.
233
+ # Corresponds to the JSON property `events`
234
+ # @return [Array<Google::Apis::GenomicsV2alpha1::TimestampedEvent>]
235
+ attr_accessor :events
236
+
232
237
  # The `Status` type defines a logical error model that is suitable for
233
238
  # different programming environments, including REST APIs and RPC APIs. It is
234
239
  # used by [gRPC](https://github.com/grpc). Each `Status` message contains
@@ -252,6 +257,7 @@ module Google
252
257
  def update!(**args)
253
258
  @deadline_expired = args[:deadline_expired] if args.key?(:deadline_expired)
254
259
  @event = args[:event] if args.key?(:event)
260
+ @events = args[:events] if args.key?(:events)
255
261
  @result = args[:result] if args.key?(:result)
256
262
  @worker_status = args[:worker_status] if args.key?(:worker_status)
257
263
  end
@@ -1193,6 +1199,32 @@ module Google
1193
1199
  end
1194
1200
  end
1195
1201
 
1202
+ # An event that occured in the operation assigned to the
1203
+ # worker and the time of occurance.
1204
+ class TimestampedEvent
1205
+ include Google::Apis::Core::Hashable
1206
+
1207
+ # The event data.
1208
+ # Corresponds to the JSON property `data`
1209
+ # @return [Hash<String,Object>]
1210
+ attr_accessor :data
1211
+
1212
+ # The time when the event happened.
1213
+ # Corresponds to the JSON property `timestamp`
1214
+ # @return [String]
1215
+ attr_accessor :timestamp
1216
+
1217
+ def initialize(**args)
1218
+ update!(**args)
1219
+ end
1220
+
1221
+ # Update properties of this object
1222
+ def update!(**args)
1223
+ @data = args[:data] if args.key?(:data)
1224
+ @timestamp = args[:timestamp] if args.key?(:timestamp)
1225
+ end
1226
+ end
1227
+
1196
1228
  # An event generated when the execution of a container results in a
1197
1229
  # non-zero exit status that was not otherwise ignored. Execution will
1198
1230
  # continue, but only actions that are flagged as `ALWAYS_RUN` will be
@@ -214,6 +214,12 @@ module Google
214
214
  include Google::Apis::Core::JsonObjectSupport
215
215
  end
216
216
 
217
+ class TimestampedEvent
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
217
223
  class UnexpectedExitStatusEvent
218
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
225
 
@@ -284,6 +290,8 @@ module Google
284
290
  property :deadline_expired, as: 'deadlineExpired', class: Google::Apis::GenomicsV2alpha1::Empty, decorator: Google::Apis::GenomicsV2alpha1::Empty::Representation
285
291
 
286
292
  hash :event, as: 'event'
293
+ collection :events, as: 'events', class: Google::Apis::GenomicsV2alpha1::TimestampedEvent, decorator: Google::Apis::GenomicsV2alpha1::TimestampedEvent::Representation
294
+
287
295
  property :result, as: 'result', class: Google::Apis::GenomicsV2alpha1::Status, decorator: Google::Apis::GenomicsV2alpha1::Status::Representation
288
296
 
289
297
  property :worker_status, as: 'workerStatus', class: Google::Apis::GenomicsV2alpha1::WorkerStatus, decorator: Google::Apis::GenomicsV2alpha1::WorkerStatus::Representation
@@ -546,6 +554,14 @@ module Google
546
554
  end
547
555
  end
548
556
 
557
+ class TimestampedEvent
558
+ # @private
559
+ class Representation < Google::Apis::Core::JsonRepresentation
560
+ hash :data, as: 'data'
561
+ property :timestamp, as: 'timestamp'
562
+ end
563
+ end
564
+
549
565
  class UnexpectedExitStatusEvent
550
566
  # @private
551
567
  class Representation < Google::Apis::Core::JsonRepresentation