google-api-client 0.39.3 → 0.40.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (416) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +242 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
  5. data/generated/google/apis/admob_v1.rb +1 -1
  6. data/generated/google/apis/admob_v1/classes.rb +5 -6
  7. data/generated/google/apis/androidenterprise_v1.rb +2 -2
  8. data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
  9. data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
  10. data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
  11. data/generated/google/apis/androidpublisher_v3.rb +3 -3
  12. data/generated/google/apis/androidpublisher_v3/classes.rb +473 -736
  13. data/generated/google/apis/androidpublisher_v3/representations.rb +10 -201
  14. data/generated/google/apis/androidpublisher_v3/service.rb +531 -863
  15. data/generated/google/apis/apigee_v1.rb +1 -1
  16. data/generated/google/apis/apigee_v1/classes.rb +58 -10
  17. data/generated/google/apis/apigee_v1/representations.rb +7 -0
  18. data/generated/google/apis/apigee_v1/service.rb +24 -14
  19. data/generated/google/apis/appsmarket_v2.rb +3 -3
  20. data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
  21. data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
  22. data/generated/google/apis/appsmarket_v2/service.rb +24 -39
  23. data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
  24. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +1123 -0
  25. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +441 -0
  26. data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
  27. data/generated/google/apis/bigquery_v2.rb +1 -1
  28. data/generated/google/apis/bigquery_v2/classes.rb +54 -1
  29. data/generated/google/apis/bigquery_v2/representations.rb +4 -0
  30. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  31. data/generated/google/apis/bigqueryreservation_v1/classes.rb +2 -0
  32. data/generated/google/apis/bigqueryreservation_v1/service.rb +8 -8
  33. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  34. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +20 -14
  35. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +93 -68
  36. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  37. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  38. data/generated/google/apis/bigtableadmin_v2/service.rb +4 -4
  39. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  40. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +21 -0
  41. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +6 -0
  42. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  43. data/generated/google/apis/books_v1.rb +1 -1
  44. data/generated/google/apis/books_v1/service.rb +2 -2
  45. data/generated/google/apis/calendar_v3.rb +1 -1
  46. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  47. data/generated/google/apis/{pagespeedonline_v2.rb → chromeuxreport_v1.rb} +10 -10
  48. data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
  49. data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
  50. data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
  51. data/generated/google/apis/cloudasset_v1.rb +1 -1
  52. data/generated/google/apis/cloudasset_v1/classes.rb +70 -43
  53. data/generated/google/apis/cloudasset_v1/representations.rb +2 -0
  54. data/generated/google/apis/cloudasset_v1/service.rb +14 -11
  55. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  56. data/generated/google/apis/cloudasset_v1beta1/classes.rb +29 -16
  57. data/generated/google/apis/cloudasset_v1beta1/service.rb +16 -7
  58. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  59. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +48 -16
  60. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +2 -0
  61. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
  62. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  63. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +26 -8
  64. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +24 -3
  65. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  66. data/generated/google/apis/cloudbuild_v1/classes.rb +17 -4
  67. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  68. data/generated/google/apis/cloudbuild_v1/service.rb +163 -0
  69. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  70. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +156 -2
  71. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +61 -0
  72. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -0
  73. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  74. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +156 -2
  75. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +61 -0
  76. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +121 -0
  77. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  78. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +6 -0
  79. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
  80. data/generated/google/apis/cloudiot_v1.rb +1 -1
  81. data/generated/google/apis/cloudiot_v1/classes.rb +26 -10
  82. data/generated/google/apis/cloudkms_v1.rb +1 -1
  83. data/generated/google/apis/cloudkms_v1/classes.rb +288 -7
  84. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  85. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  86. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -6
  87. data/generated/google/apis/cloudresourcemanager_v1/service.rb +6 -8
  88. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  89. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -6
  90. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
  91. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  92. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
  93. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  94. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
  95. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  96. data/generated/google/apis/cloudsearch_v1/classes.rb +8 -6
  97. data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
  98. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  99. data/generated/google/apis/cloudtasks_v2/classes.rb +8 -6
  100. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  101. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +11 -2
  102. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  103. data/generated/google/apis/composer_v1beta1.rb +1 -1
  104. data/generated/google/apis/composer_v1beta1/classes.rb +58 -0
  105. data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
  106. data/generated/google/apis/composer_v1beta1/service.rb +5 -0
  107. data/generated/google/apis/compute_alpha.rb +1 -1
  108. data/generated/google/apis/compute_alpha/classes.rb +318 -166
  109. data/generated/google/apis/compute_alpha/representations.rb +80 -33
  110. data/generated/google/apis/compute_alpha/service.rb +194 -0
  111. data/generated/google/apis/compute_beta.rb +1 -1
  112. data/generated/google/apis/compute_beta/classes.rb +237 -83
  113. data/generated/google/apis/compute_beta/representations.rb +52 -0
  114. data/generated/google/apis/compute_v1.rb +1 -1
  115. data/generated/google/apis/compute_v1/classes.rb +155 -58
  116. data/generated/google/apis/compute_v1/representations.rb +21 -0
  117. data/generated/google/apis/compute_v1/service.rb +83 -0
  118. data/generated/google/apis/container_v1.rb +1 -1
  119. data/generated/google/apis/container_v1/classes.rb +2 -4
  120. data/generated/google/apis/container_v1beta1.rb +1 -1
  121. data/generated/google/apis/container_v1beta1/classes.rb +62 -4
  122. data/generated/google/apis/container_v1beta1/representations.rb +33 -0
  123. data/generated/google/apis/content_v2.rb +1 -1
  124. data/generated/google/apis/content_v2/classes.rb +34 -0
  125. data/generated/google/apis/content_v2/representations.rb +16 -0
  126. data/generated/google/apis/content_v2/service.rb +5 -1
  127. data/generated/google/apis/content_v2_1.rb +1 -1
  128. data/generated/google/apis/content_v2_1/classes.rb +363 -5
  129. data/generated/google/apis/content_v2_1/representations.rb +136 -0
  130. data/generated/google/apis/content_v2_1/service.rb +85 -1
  131. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  132. data/generated/google/apis/datacatalog_v1beta1/classes.rb +26 -10
  133. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  134. data/generated/google/apis/dataflow_v1b3/classes.rb +331 -0
  135. data/generated/google/apis/dataflow_v1b3/representations.rb +164 -0
  136. data/generated/google/apis/dataflow_v1b3/service.rb +261 -0
  137. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  138. data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
  139. data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
  140. data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
  141. data/generated/google/apis/dataproc_v1.rb +1 -1
  142. data/generated/google/apis/dataproc_v1/classes.rb +22 -22
  143. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  144. data/generated/google/apis/dataproc_v1beta2/classes.rb +49 -35
  145. data/generated/google/apis/dataproc_v1beta2/service.rb +35 -21
  146. data/generated/google/apis/datastore_v1.rb +1 -1
  147. data/generated/google/apis/datastore_v1/classes.rb +1 -1
  148. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  149. data/generated/google/apis/datastore_v1beta3/classes.rb +1 -1
  150. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  151. data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
  152. data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
  153. data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
  154. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  155. data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
  156. data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
  157. data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
  158. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  159. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
  160. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
  161. data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
  162. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  163. data/generated/google/apis/dfareporting_v3_3/classes.rb +2 -2
  164. data/generated/google/apis/dfareporting_v3_3/service.rb +2 -2
  165. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  166. data/generated/google/apis/dfareporting_v3_4/classes.rb +2 -2
  167. data/generated/google/apis/dfareporting_v3_4/service.rb +2 -2
  168. data/generated/google/apis/dialogflow_v2.rb +1 -1
  169. data/generated/google/apis/dialogflow_v2/classes.rb +549 -9
  170. data/generated/google/apis/dialogflow_v2/representations.rb +234 -0
  171. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  172. data/generated/google/apis/dialogflow_v2beta1/classes.rb +540 -8
  173. data/generated/google/apis/dialogflow_v2beta1/representations.rb +234 -0
  174. data/generated/google/apis/dialogflow_v2beta1/service.rb +46 -2
  175. data/generated/google/apis/displayvideo_v1.rb +1 -1
  176. data/generated/google/apis/displayvideo_v1/classes.rb +612 -0
  177. data/generated/google/apis/displayvideo_v1/representations.rb +314 -0
  178. data/generated/google/apis/displayvideo_v1/service.rb +1968 -337
  179. data/generated/google/apis/dlp_v2.rb +1 -1
  180. data/generated/google/apis/dlp_v2/classes.rb +17 -27
  181. data/generated/google/apis/dlp_v2/service.rb +247 -204
  182. data/generated/google/apis/dns_v1.rb +1 -1
  183. data/generated/google/apis/dns_v1/classes.rb +160 -261
  184. data/generated/google/apis/dns_v1/representations.rb +17 -0
  185. data/generated/google/apis/dns_v1/service.rb +21 -141
  186. data/generated/google/apis/dns_v1beta2.rb +1 -1
  187. data/generated/google/apis/dns_v1beta2/classes.rb +189 -273
  188. data/generated/google/apis/dns_v1beta2/representations.rb +32 -0
  189. data/generated/google/apis/dns_v1beta2/service.rb +21 -141
  190. data/generated/google/apis/dns_v2beta1.rb +1 -1
  191. data/generated/google/apis/dns_v2beta1/classes.rb +160 -261
  192. data/generated/google/apis/dns_v2beta1/representations.rb +17 -0
  193. data/generated/google/apis/dns_v2beta1/service.rb +21 -141
  194. data/generated/google/apis/fcm_v1.rb +1 -1
  195. data/generated/google/apis/file_v1.rb +1 -1
  196. data/generated/google/apis/file_v1/classes.rb +31 -0
  197. data/generated/google/apis/file_v1/representations.rb +15 -0
  198. data/generated/google/apis/file_v1beta1.rb +1 -1
  199. data/generated/google/apis/file_v1beta1/classes.rb +98 -0
  200. data/generated/google/apis/file_v1beta1/representations.rb +34 -0
  201. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  202. data/generated/google/apis/firebase_v1beta1/classes.rb +2 -12
  203. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  204. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
  205. data/generated/google/apis/{pagespeedonline_v4.rb → firebaseml_v1.rb} +12 -10
  206. data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
  207. data/generated/google/apis/firebaseml_v1/representations.rb +112 -0
  208. data/generated/google/apis/firebaseml_v1/service.rb +181 -0
  209. data/generated/google/apis/fitness_v1.rb +4 -4
  210. data/generated/google/apis/fitness_v1/classes.rb +185 -158
  211. data/generated/google/apis/fitness_v1/service.rb +187 -215
  212. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  213. data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -1
  214. data/generated/google/apis/games_management_v1management.rb +1 -1
  215. data/generated/google/apis/games_management_v1management/service.rb +1 -1
  216. data/generated/google/apis/games_v1.rb +1 -1
  217. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  218. data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
  219. data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
  220. data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
  221. data/generated/google/apis/gmail_v1.rb +3 -2
  222. data/generated/google/apis/gmail_v1/classes.rb +263 -200
  223. data/generated/google/apis/gmail_v1/service.rb +551 -743
  224. data/generated/google/apis/groupsmigration_v1.rb +3 -2
  225. data/generated/google/apis/groupsmigration_v1/service.rb +10 -17
  226. data/generated/google/apis/healthcare_v1.rb +1 -1
  227. data/generated/google/apis/healthcare_v1/classes.rb +39 -30
  228. data/generated/google/apis/healthcare_v1/service.rb +64 -32
  229. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  230. data/generated/google/apis/healthcare_v1beta1/classes.rb +41 -37
  231. data/generated/google/apis/healthcare_v1beta1/service.rb +165 -147
  232. data/generated/google/apis/homegraph_v1.rb +1 -1
  233. data/generated/google/apis/homegraph_v1/classes.rb +3 -0
  234. data/generated/google/apis/iam_v1.rb +1 -1
  235. data/generated/google/apis/iam_v1/classes.rb +111 -93
  236. data/generated/google/apis/iam_v1/service.rb +166 -144
  237. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  238. data/generated/google/apis/iamcredentials_v1/classes.rb +30 -5
  239. data/generated/google/apis/jobs_v3.rb +1 -1
  240. data/generated/google/apis/jobs_v3/classes.rb +4 -2
  241. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  242. data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
  243. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  244. data/generated/google/apis/memcache_v1beta2/classes.rb +66 -23
  245. data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
  246. data/generated/google/apis/memcache_v1beta2/service.rb +5 -2
  247. data/generated/google/apis/ml_v1.rb +1 -1
  248. data/generated/google/apis/ml_v1/classes.rb +84 -18
  249. data/generated/google/apis/ml_v1/representations.rb +4 -0
  250. data/generated/google/apis/ml_v1/service.rb +11 -6
  251. data/generated/google/apis/monitoring_v1.rb +1 -1
  252. data/generated/google/apis/monitoring_v1/classes.rb +46 -0
  253. data/generated/google/apis/monitoring_v1/representations.rb +18 -0
  254. data/generated/google/apis/monitoring_v3.rb +1 -1
  255. data/generated/google/apis/monitoring_v3/classes.rb +17 -0
  256. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  257. data/generated/google/apis/monitoring_v3/service.rb +1 -1
  258. data/generated/google/apis/networkmanagement_v1.rb +35 -0
  259. data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
  260. data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
  261. data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
  262. data/generated/google/apis/osconfig_v1.rb +1 -1
  263. data/generated/google/apis/osconfig_v1/classes.rb +2 -2
  264. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  265. data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
  266. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  267. data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
  268. data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
  269. data/generated/google/apis/people_v1.rb +1 -1
  270. data/generated/google/apis/people_v1/classes.rb +216 -0
  271. data/generated/google/apis/people_v1/representations.rb +82 -0
  272. data/generated/google/apis/people_v1/service.rb +371 -9
  273. data/generated/google/apis/playcustomapp_v1.rb +3 -3
  274. data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
  275. data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
  276. data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
  277. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  278. data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
  279. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  280. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
  281. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  282. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +30 -0
  283. data/generated/google/apis/pubsub_v1.rb +1 -1
  284. data/generated/google/apis/pubsub_v1/classes.rb +70 -15
  285. data/generated/google/apis/pubsub_v1/representations.rb +28 -0
  286. data/generated/google/apis/pubsub_v1/service.rb +35 -1
  287. data/generated/google/apis/{pagespeedonline_v1.rb → recommender_v1.rb} +11 -9
  288. data/generated/google/apis/recommender_v1/classes.rb +505 -0
  289. data/generated/google/apis/recommender_v1/representations.rb +232 -0
  290. data/generated/google/apis/recommender_v1/service.rb +266 -0
  291. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  292. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  293. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  294. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  295. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  296. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  297. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  298. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  299. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  300. data/generated/google/apis/run_v1.rb +1 -1
  301. data/generated/google/apis/run_v1/classes.rb +9 -0
  302. data/generated/google/apis/run_v1/representations.rb +1 -0
  303. data/generated/google/apis/run_v1alpha1.rb +1 -1
  304. data/generated/google/apis/run_v1alpha1/classes.rb +9 -0
  305. data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
  306. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  307. data/generated/google/apis/sasportal_v1alpha1/service.rb +30 -0
  308. data/generated/google/apis/secretmanager_v1.rb +1 -1
  309. data/generated/google/apis/secretmanager_v1/classes.rb +32 -19
  310. data/generated/google/apis/secretmanager_v1/service.rb +3 -0
  311. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  312. data/generated/google/apis/secretmanager_v1beta1/classes.rb +29 -16
  313. data/generated/google/apis/secretmanager_v1beta1/service.rb +3 -0
  314. data/generated/google/apis/securitycenter_v1.rb +1 -1
  315. data/generated/google/apis/securitycenter_v1/classes.rb +133 -18
  316. data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
  317. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  318. data/generated/google/apis/securitycenter_v1beta1/classes.rb +133 -18
  319. data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
  320. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  321. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
  322. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
  323. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  324. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +133 -18
  325. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
  326. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  327. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +205 -75
  328. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +32 -2
  329. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  330. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +211 -75
  331. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +33 -2
  332. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  333. data/generated/google/apis/servicecontrol_v1/classes.rb +6 -6
  334. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  335. data/generated/google/apis/servicemanagement_v1/classes.rb +6 -43
  336. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -2
  337. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  338. data/generated/google/apis/servicenetworking_v1/classes.rb +488 -75
  339. data/generated/google/apis/servicenetworking_v1/representations.rb +209 -2
  340. data/generated/google/apis/servicenetworking_v1/service.rb +187 -0
  341. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  342. data/generated/google/apis/servicenetworking_v1beta/classes.rb +297 -75
  343. data/generated/google/apis/servicenetworking_v1beta/representations.rb +130 -2
  344. data/generated/google/apis/serviceusage_v1.rb +1 -1
  345. data/generated/google/apis/serviceusage_v1/classes.rb +197 -75
  346. data/generated/google/apis/serviceusage_v1/representations.rb +32 -2
  347. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  348. data/generated/google/apis/serviceusage_v1beta1/classes.rb +203 -75
  349. data/generated/google/apis/serviceusage_v1beta1/representations.rb +33 -2
  350. data/generated/google/apis/serviceusage_v1beta1/service.rb +34 -0
  351. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  352. data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
  353. data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
  354. data/generated/google/apis/spanner_v1.rb +1 -1
  355. data/generated/google/apis/spanner_v1/classes.rb +30 -12
  356. data/generated/google/apis/spanner_v1/service.rb +8 -8
  357. data/generated/google/apis/sql_v1beta4.rb +1 -1
  358. data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
  359. data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
  360. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  361. data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
  362. data/generated/google/apis/tasks_v1.rb +3 -3
  363. data/generated/google/apis/tasks_v1/classes.rb +26 -25
  364. data/generated/google/apis/tasks_v1/representations.rb +4 -8
  365. data/generated/google/apis/tasks_v1/service.rb +79 -128
  366. data/generated/google/apis/testing_v1.rb +1 -1
  367. data/generated/google/apis/testing_v1/classes.rb +2 -1
  368. data/generated/google/apis/texttospeech_v1.rb +1 -1
  369. data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
  370. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  371. data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
  372. data/generated/google/apis/tpu_v1.rb +1 -1
  373. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  374. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  375. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  376. data/generated/google/apis/translate_v3.rb +1 -1
  377. data/generated/google/apis/verifiedaccess_v1.rb +3 -3
  378. data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
  379. data/generated/google/apis/videointelligence_v1.rb +1 -1
  380. data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
  381. data/generated/google/apis/videointelligence_v1/service.rb +32 -0
  382. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  383. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
  384. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  385. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
  386. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  387. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
  388. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  389. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
  390. data/generated/google/apis/websecurityscanner_v1.rb +2 -2
  391. data/generated/google/apis/websecurityscanner_v1/classes.rb +7 -5
  392. data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
  393. data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
  394. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
  395. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  396. data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
  397. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +9 -7
  398. data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
  399. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  400. data/generated/google/apis/youtube_v3.rb +5 -5
  401. data/generated/google/apis/youtube_v3/classes.rb +1260 -1244
  402. data/generated/google/apis/youtube_v3/representations.rb +64 -192
  403. data/generated/google/apis/youtube_v3/service.rb +1827 -2154
  404. data/lib/google/apis/core/api_command.rb +12 -7
  405. data/lib/google/apis/options.rb +5 -1
  406. data/lib/google/apis/version.rb +1 -1
  407. metadata +23 -15
  408. data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
  409. data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
  410. data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
  411. data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
  412. data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
  413. data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
  414. data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
  415. data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
  416. data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
@@ -52,6 +52,12 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
55
61
  class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
56
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
63
 
@@ -165,6 +171,8 @@ module Google
165
171
  hash :maintenance_policy_names, as: 'maintenancePolicyNames'
166
172
  hash :maintenance_schedules, as: 'maintenanceSchedules', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule::Representation
167
173
 
174
+ property :maintenance_settings, as: 'maintenanceSettings', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings::Representation
175
+
168
176
  property :name, as: 'name'
169
177
  hash :producer_metadata, as: 'producerMetadata'
170
178
  collection :provisioned_resources, as: 'provisionedResources', class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource, decorator: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource::Representation
@@ -189,6 +197,13 @@ module Google
189
197
  end
190
198
  end
191
199
 
200
+ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
201
+ # @private
202
+ class Representation < Google::Apis::Core::JsonRepresentation
203
+ property :exclude, as: 'exclude'
204
+ end
205
+ end
206
+
192
207
  class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
193
208
  # @private
194
209
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/filestore/
26
26
  module FileV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20200413'
28
+ REVISION = '20200608'
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'
@@ -69,6 +69,12 @@ module Google
69
69
  # @return [String]
70
70
  attr_accessor :name
71
71
 
72
+ # Nfs Export Options.
73
+ # There is a limit of 10 export options per file share.
74
+ # Corresponds to the JSON property `nfsExportOptions`
75
+ # @return [Array<Google::Apis::FileV1beta1::NfsExportOptions>]
76
+ attr_accessor :nfs_export_options
77
+
72
78
  def initialize(**args)
73
79
  update!(**args)
74
80
  end
@@ -77,6 +83,7 @@ module Google
77
83
  def update!(**args)
78
84
  @capacity_gb = args[:capacity_gb] if args.key?(:capacity_gb)
79
85
  @name = args[:name] if args.key?(:name)
86
+ @nfs_export_options = args[:nfs_export_options] if args.key?(:nfs_export_options)
80
87
  end
81
88
  end
82
89
 
@@ -120,6 +127,12 @@ module Google
120
127
  # @return [Hash<String,Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule>]
121
128
  attr_accessor :maintenance_schedules
122
129
 
130
+ # Maintenance settings associated with instance. Allows service producers and
131
+ # end users to assign settings that controls maintenance on this instance.
132
+ # Corresponds to the JSON property `maintenanceSettings`
133
+ # @return [Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings]
134
+ attr_accessor :maintenance_settings
135
+
123
136
  # Unique name of the resource. It uses the form:
124
137
  # `projects/`project_id`/locations/`location_id`/instances/`instance_id``
125
138
  # Corresponds to the JSON property `name`
@@ -187,6 +200,7 @@ module Google
187
200
  @labels = args[:labels] if args.key?(:labels)
188
201
  @maintenance_policy_names = args[:maintenance_policy_names] if args.key?(:maintenance_policy_names)
189
202
  @maintenance_schedules = args[:maintenance_schedules] if args.key?(:maintenance_schedules)
203
+ @maintenance_settings = args[:maintenance_settings] if args.key?(:maintenance_settings)
190
204
  @name = args[:name] if args.key?(:name)
191
205
  @producer_metadata = args[:producer_metadata] if args.key?(:producer_metadata)
192
206
  @provisioned_resources = args[:provisioned_resources] if args.key?(:provisioned_resources)
@@ -242,6 +256,30 @@ module Google
242
256
  end
243
257
  end
244
258
 
259
+ # Maintenance settings associated with instance. Allows service producers and
260
+ # end users to assign settings that controls maintenance on this instance.
261
+ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
262
+ include Google::Apis::Core::Hashable
263
+
264
+ # Optional. Exclude instance from maintenance. When true, rollout service will
265
+ # not
266
+ # attempt maintenance on the instance. Rollout service will include the
267
+ # instance in reported rollout progress as not attempted.
268
+ # Corresponds to the JSON property `exclude`
269
+ # @return [Boolean]
270
+ attr_accessor :exclude
271
+ alias_method :exclude?, :exclude
272
+
273
+ def initialize(**args)
274
+ update!(**args)
275
+ end
276
+
277
+ # Update properties of this object
278
+ def update!(**args)
279
+ @exclude = args[:exclude] if args.key?(:exclude)
280
+ end
281
+ end
282
+
245
283
  # Node information for custom per-node SLO implementations.
246
284
  # SSA does not support per-node SLO, but producers can populate per-node
247
285
  # information in SloMetadata for custom precomputations.
@@ -705,6 +743,66 @@ module Google
705
743
  end
706
744
  end
707
745
 
746
+ # NFS export options specifications.
747
+ class NfsExportOptions
748
+ include Google::Apis::Core::Hashable
749
+
750
+ # Either READ_ONLY, for allowing only read requests on the exported
751
+ # directory, or READ_WRITE, for allowing both read and write requests.
752
+ # The default is READ_WRITE.
753
+ # Corresponds to the JSON property `accessMode`
754
+ # @return [String]
755
+ attr_accessor :access_mode
756
+
757
+ # An integer representing the anonymous group id with a default value of
758
+ # 65534.
759
+ # Anon_gid may only be set with squash_mode of ROOT_SQUASH. An error will be
760
+ # returned if this field is specified for other squash_mode settings.
761
+ # Corresponds to the JSON property `anonGid`
762
+ # @return [Fixnum]
763
+ attr_accessor :anon_gid
764
+
765
+ # An integer representing the anonymous user id with a default value of
766
+ # 65534.
767
+ # Anon_uid may only be set with squash_mode of ROOT_SQUASH. An error will be
768
+ # returned if this field is specified for other squash_mode settings.
769
+ # Corresponds to the JSON property `anonUid`
770
+ # @return [Fixnum]
771
+ attr_accessor :anon_uid
772
+
773
+ # List of either an IPv4 addresses in the format
774
+ # `octet 1`.`octet 2`.`octet 3`.`octet 4` or CIDR ranges in the format
775
+ # `octet 1`.`octet 2`.`octet 3`.`octet 4`/`mask size` which may mount the
776
+ # file share.
777
+ # Overlapping IP ranges are not allowed, both within and across
778
+ # NfsExportOptions. An error will be returned.
779
+ # The limit is 64 IP ranges/addresses for each FileShareConfig among all
780
+ # NfsExportOptions.
781
+ # Corresponds to the JSON property `ipRanges`
782
+ # @return [Array<String>]
783
+ attr_accessor :ip_ranges
784
+
785
+ # Either NO_ROOT_SQUASH, for allowing root access on the exported directory,
786
+ # or ROOT_SQUASH, for not allowing root access. The default is
787
+ # NO_ROOT_SQUASH.
788
+ # Corresponds to the JSON property `squashMode`
789
+ # @return [String]
790
+ attr_accessor :squash_mode
791
+
792
+ def initialize(**args)
793
+ update!(**args)
794
+ end
795
+
796
+ # Update properties of this object
797
+ def update!(**args)
798
+ @access_mode = args[:access_mode] if args.key?(:access_mode)
799
+ @anon_gid = args[:anon_gid] if args.key?(:anon_gid)
800
+ @anon_uid = args[:anon_uid] if args.key?(:anon_uid)
801
+ @ip_ranges = args[:ip_ranges] if args.key?(:ip_ranges)
802
+ @squash_mode = args[:squash_mode] if args.key?(:squash_mode)
803
+ end
804
+ end
805
+
708
806
  # This resource represents a long-running operation that is the result of a
709
807
  # network API call.
710
808
  class Operation
@@ -52,6 +52,12 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
55
61
  class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
56
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
63
 
@@ -118,6 +124,12 @@ module Google
118
124
  include Google::Apis::Core::JsonObjectSupport
119
125
  end
120
126
 
127
+ class NfsExportOptions
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
121
133
  class Operation
122
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
135
 
@@ -153,6 +165,8 @@ module Google
153
165
  class Representation < Google::Apis::Core::JsonRepresentation
154
166
  property :capacity_gb, :numeric_string => true, as: 'capacityGb'
155
167
  property :name, as: 'name'
168
+ collection :nfs_export_options, as: 'nfsExportOptions', class: Google::Apis::FileV1beta1::NfsExportOptions, decorator: Google::Apis::FileV1beta1::NfsExportOptions::Representation
169
+
156
170
  end
157
171
  end
158
172
 
@@ -165,6 +179,8 @@ module Google
165
179
  hash :maintenance_policy_names, as: 'maintenancePolicyNames'
166
180
  hash :maintenance_schedules, as: 'maintenanceSchedules', class: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule, decorator: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule::Representation
167
181
 
182
+ property :maintenance_settings, as: 'maintenanceSettings', class: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings, decorator: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings::Representation
183
+
168
184
  property :name, as: 'name'
169
185
  hash :producer_metadata, as: 'producerMetadata'
170
186
  collection :provisioned_resources, as: 'provisionedResources', class: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource, decorator: Google::Apis::FileV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource::Representation
@@ -189,6 +205,13 @@ module Google
189
205
  end
190
206
  end
191
207
 
208
+ class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
209
+ # @private
210
+ class Representation < Google::Apis::Core::JsonRepresentation
211
+ property :exclude, as: 'exclude'
212
+ end
213
+ end
214
+
192
215
  class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
193
216
  # @private
194
217
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -305,6 +328,17 @@ module Google
305
328
  end
306
329
  end
307
330
 
331
+ class NfsExportOptions
332
+ # @private
333
+ class Representation < Google::Apis::Core::JsonRepresentation
334
+ property :access_mode, as: 'accessMode'
335
+ property :anon_gid, :numeric_string => true, as: 'anonGid'
336
+ property :anon_uid, :numeric_string => true, as: 'anonUid'
337
+ collection :ip_ranges, as: 'ipRanges'
338
+ property :squash_mode, as: 'squashMode'
339
+ end
340
+ end
341
+
308
342
  class Operation
309
343
  # @private
310
344
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://firebase.google.com
27
27
  module FirebaseV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20200506'
29
+ REVISION = '20200513'
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'
@@ -1313,18 +1313,8 @@ module Google
1313
1313
  # @return [String]
1314
1314
  attr_accessor :location_id
1315
1315
 
1316
- # The unique Google-assigned identifier of the Google Analytics web stream
1317
- # associated with the Firebase Web App. Firebase SDKs use this ID to interact
1318
- # with Google Analytics APIs.
1319
- # <br>
1320
- # <br>This field is only present if the App is linked to a web stream in a
1321
- # Google Analytics App + Web property. Learn more about this ID and Google
1322
- # Analytics web streams in the [Analytics
1323
- # documentation](https://support.google.com/analytics/topic/9303475).
1324
- # <br>
1325
- # <br>To generate a `measurementId` and link the Web App with a Google
1326
- # Analytics web stream, call
1327
- # [`AddGoogleAnalytics`](../../v1beta1/projects/addGoogleAnalytics).
1316
+ # This field will no longer be provided here. Instead, use
1317
+ # `GetAnalyticsDetails`
1328
1318
  # Corresponds to the JSON property `measurementId`
1329
1319
  # @return [String]
1330
1320
  attr_accessor :measurement_id
@@ -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 = '20200512'
30
+ REVISION = '20200601'
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'
@@ -292,13 +292,14 @@ module Google
292
292
  end
293
293
  end
294
294
 
295
- # A [`header`](/docs/hosting/full-config#headers) defines custom headers to
296
- # add to a response should the request URL path match the pattern.
295
+ # A [`header`](/docs/hosting/full-config#headers) is an object that specifies
296
+ # a URL pattern that, if matched to the request URL path, triggers Hosting to
297
+ # apply the specified custom response headers.
297
298
  class Header
298
299
  include Google::Apis::Core::Hashable
299
300
 
300
- # The user-supplied [glob
301
- # pattern](/docs/hosting/full-config#glob_pattern_matching) to match
301
+ # The user-supplied
302
+ # [glob](/docs/hosting/full-config#glob_pattern_matching) to match
302
303
  # against the request URL path.
303
304
  # Corresponds to the JSON property `glob`
304
305
  # @return [String]
@@ -575,14 +576,14 @@ module Google
575
576
  end
576
577
  end
577
578
 
578
- # A [`redirect`](/docs/hosting/full-config#redirects) represents the
579
- # configuration for returning an HTTP redirect response given a matching
580
- # request URL path.
579
+ # A [`redirect`](/docs/hosting/full-config#redirects) object specifies a URL
580
+ # pattern that, if matched to the request URL path, triggers Hosting to
581
+ # respond with a redirect to the specified destination path.
581
582
  class Redirect
582
583
  include Google::Apis::Core::Hashable
583
584
 
584
- # The user-supplied [glob
585
- # pattern](/docs/hosting/full-config#glob_pattern_matching) to match
585
+ # The user-supplied
586
+ # [glob](/docs/hosting/full-config#glob_pattern_matching) to match
586
587
  # against the request URL path.
587
588
  # Corresponds to the JSON property `glob`
588
589
  # @return [String]
@@ -684,10 +685,9 @@ module Google
684
685
  end
685
686
  end
686
687
 
687
- # A [`rewrite`](/docs/hosting/full-config#rewrites) represents an internal
688
- # content rewrite on the version. If the pattern matches, the request will be
689
- # handled as if it were to the destination path specified in the
690
- # configuration.
688
+ # A [`rewrite`](/docs/hosting/full-config#rewrites) object specifies a URL
689
+ # pattern that, if matched to the request URL path, triggers Hosting to
690
+ # respond as if the service were given the specified destination URL.
691
691
  class Rewrite
692
692
  include Google::Apis::Core::Hashable
693
693
 
@@ -703,8 +703,8 @@ module Google
703
703
  # @return [String]
704
704
  attr_accessor :function
705
705
 
706
- # The user-supplied [glob
707
- # pattern](/docs/hosting/full-config#glob_pattern_matching) to match
706
+ # The user-supplied
707
+ # [glob](/docs/hosting/full-config#glob_pattern_matching) to match
708
708
  # against the request URL path.
709
709
  # Corresponds to the JSON property `glob`
710
710
  # @return [String]
@@ -746,8 +746,9 @@ module Google
746
746
  end
747
747
 
748
748
  # The configuration for how incoming requests to a site should be routed and
749
- # processed before serving content. The patterns are matched and applied
750
- # according to a specific
749
+ # processed before serving content. The URL request paths are matched against
750
+ # the specified URL patterns in the configuration, then Hosting applies the
751
+ # applicable configuration according to a specific
751
752
  # [priority order](/docs/hosting/full-config#hosting_priority_order).
752
753
  class ServingConfig
753
754
  include Google::Apis::Core::Hashable
@@ -763,20 +764,23 @@ module Google
763
764
  attr_accessor :clean_urls
764
765
  alias_method :clean_urls?, :clean_urls
765
766
 
766
- # A list of custom response headers that are added to the content if the
767
- # request URL path matches the glob.
767
+ # An array of objects, where each object specifies a URL pattern that, if
768
+ # matched to the request URL path, triggers Hosting to apply the specified
769
+ # custom response headers.
768
770
  # Corresponds to the JSON property `headers`
769
771
  # @return [Array<Google::Apis::FirebasehostingV1beta1::Header>]
770
772
  attr_accessor :headers
771
773
 
772
- # A list of globs that will cause the response to redirect to another
773
- # location.
774
+ # An array of objects (called redirect rules), where each rule specifies a
775
+ # URL pattern that, if matched to the request URL path, triggers Hosting to
776
+ # respond with a redirect to the specified destination path.
774
777
  # Corresponds to the JSON property `redirects`
775
778
  # @return [Array<Google::Apis::FirebasehostingV1beta1::Redirect>]
776
779
  attr_accessor :redirects
777
780
 
778
- # A list of rewrites that will act as if the service were given the
779
- # destination URL.
781
+ # An array of objects (called rewrite rules), where each rule specifies a URL
782
+ # pattern that, if matched to the request URL path, triggers Hosting to
783
+ # respond as if the service were given the specified destination URL.
780
784
  # Corresponds to the JSON property `rewrites`
781
785
  # @return [Array<Google::Apis::FirebasehostingV1beta1::Rewrite>]
782
786
  attr_accessor :rewrites
@@ -878,8 +882,9 @@ module Google
878
882
  include Google::Apis::Core::Hashable
879
883
 
880
884
  # The configuration for how incoming requests to a site should be routed and
881
- # processed before serving content. The patterns are matched and applied
882
- # according to a specific
885
+ # processed before serving content. The URL request paths are matched against
886
+ # the specified URL patterns in the configuration, then Hosting applies the
887
+ # applicable configuration according to a specific
883
888
  # [priority order](/docs/hosting/full-config#hosting_priority_order).
884
889
  # Corresponds to the JSON property `config`
885
890
  # @return [Google::Apis::FirebasehostingV1beta1::ServingConfig]
@@ -12,21 +12,23 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
- require 'google/apis/pagespeedonline_v4/service.rb'
16
- require 'google/apis/pagespeedonline_v4/classes.rb'
17
- require 'google/apis/pagespeedonline_v4/representations.rb'
15
+ require 'google/apis/firebaseml_v1/service.rb'
16
+ require 'google/apis/firebaseml_v1/classes.rb'
17
+ require 'google/apis/firebaseml_v1/representations.rb'
18
18
 
19
19
  module Google
20
20
  module Apis
21
- # PageSpeed Insights API
21
+ # Firebase ML API
22
22
  #
23
- # Analyzes the performance of a web page and provides tailored suggestions to
24
- # make that page faster.
23
+ # Access custom machine learning models hosted via Firebase ML.
25
24
  #
26
- # @see https://developers.google.com/speed/docs/insights/v4/getting-started
27
- module PagespeedonlineV4
28
- VERSION = 'V4'
29
- REVISION = '20180606'
25
+ # @see https://firebase.google.com
26
+ module FirebasemlV1
27
+ VERSION = 'V1'
28
+ REVISION = '20200519'
29
+
30
+ # View and manage your data across Google Cloud Platform services
31
+ AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
30
32
  end
31
33
  end
32
34
  end
@@ -0,0 +1,213 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module FirebasemlV1
24
+
25
+ # The request message for Operations.CancelOperation.
26
+ class CancelOperationRequest
27
+ include Google::Apis::Core::Hashable
28
+
29
+ def initialize(**args)
30
+ update!(**args)
31
+ end
32
+
33
+ # Update properties of this object
34
+ def update!(**args)
35
+ end
36
+ end
37
+
38
+ # A generic empty message that you can re-use to avoid defining duplicated
39
+ # empty messages in your APIs. A typical example is to use it as the request
40
+ # or the response type of an API method. For instance:
41
+ # service Foo `
42
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
43
+ # `
44
+ # The JSON representation for `Empty` is empty JSON object ````.
45
+ class Empty
46
+ include Google::Apis::Core::Hashable
47
+
48
+ def initialize(**args)
49
+ update!(**args)
50
+ end
51
+
52
+ # Update properties of this object
53
+ def update!(**args)
54
+ end
55
+ end
56
+
57
+ # The response message for Operations.ListOperations.
58
+ class ListOperationsResponse
59
+ include Google::Apis::Core::Hashable
60
+
61
+ # The standard List next-page token.
62
+ # Corresponds to the JSON property `nextPageToken`
63
+ # @return [String]
64
+ attr_accessor :next_page_token
65
+
66
+ # A list of operations that matches the specified filter in the request.
67
+ # Corresponds to the JSON property `operations`
68
+ # @return [Array<Google::Apis::FirebasemlV1::Operation>]
69
+ attr_accessor :operations
70
+
71
+ def initialize(**args)
72
+ update!(**args)
73
+ end
74
+
75
+ # Update properties of this object
76
+ def update!(**args)
77
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
78
+ @operations = args[:operations] if args.key?(:operations)
79
+ end
80
+ end
81
+
82
+ # This is returned in the longrunning operations
83
+ # for create/update.
84
+ class ModelOperationMetadata
85
+ include Google::Apis::Core::Hashable
86
+
87
+ #
88
+ # Corresponds to the JSON property `basicOperationStatus`
89
+ # @return [String]
90
+ attr_accessor :basic_operation_status
91
+
92
+ # The name of the model we are creating/updating
93
+ # The name must have the form `projects/`project_id`/models/`model_id``
94
+ # Corresponds to the JSON property `name`
95
+ # @return [String]
96
+ attr_accessor :name
97
+
98
+ def initialize(**args)
99
+ update!(**args)
100
+ end
101
+
102
+ # Update properties of this object
103
+ def update!(**args)
104
+ @basic_operation_status = args[:basic_operation_status] if args.key?(:basic_operation_status)
105
+ @name = args[:name] if args.key?(:name)
106
+ end
107
+ end
108
+
109
+ # This resource represents a long-running operation that is the result of a
110
+ # network API call.
111
+ class Operation
112
+ include Google::Apis::Core::Hashable
113
+
114
+ # If the value is `false`, it means the operation is still in progress.
115
+ # If `true`, the operation is completed, and either `error` or `response` is
116
+ # available.
117
+ # Corresponds to the JSON property `done`
118
+ # @return [Boolean]
119
+ attr_accessor :done
120
+ alias_method :done?, :done
121
+
122
+ # The `Status` type defines a logical error model that is suitable for
123
+ # different programming environments, including REST APIs and RPC APIs. It is
124
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
125
+ # three pieces of data: error code, error message, and error details.
126
+ # You can find out more about this error model and how to work with it in the
127
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
128
+ # Corresponds to the JSON property `error`
129
+ # @return [Google::Apis::FirebasemlV1::Status]
130
+ attr_accessor :error
131
+
132
+ # Service-specific metadata associated with the operation. It typically
133
+ # contains progress information and common metadata such as create time.
134
+ # Some services might not provide such metadata. Any method that returns a
135
+ # long-running operation should document the metadata type, if any.
136
+ # Corresponds to the JSON property `metadata`
137
+ # @return [Hash<String,Object>]
138
+ attr_accessor :metadata
139
+
140
+ # The server-assigned name, which is only unique within the same service that
141
+ # originally returns it. If you use the default HTTP mapping, the
142
+ # `name` should be a resource name ending with `operations/`unique_id``.
143
+ # Corresponds to the JSON property `name`
144
+ # @return [String]
145
+ attr_accessor :name
146
+
147
+ # The normal response of the operation in case of success. If the original
148
+ # method returns no data on success, such as `Delete`, the response is
149
+ # `google.protobuf.Empty`. If the original method is standard
150
+ # `Get`/`Create`/`Update`, the response should be the resource. For other
151
+ # methods, the response should have the type `XxxResponse`, where `Xxx`
152
+ # is the original method name. For example, if the original method name
153
+ # is `TakeSnapshot()`, the inferred response type is
154
+ # `TakeSnapshotResponse`.
155
+ # Corresponds to the JSON property `response`
156
+ # @return [Hash<String,Object>]
157
+ attr_accessor :response
158
+
159
+ def initialize(**args)
160
+ update!(**args)
161
+ end
162
+
163
+ # Update properties of this object
164
+ def update!(**args)
165
+ @done = args[:done] if args.key?(:done)
166
+ @error = args[:error] if args.key?(:error)
167
+ @metadata = args[:metadata] if args.key?(:metadata)
168
+ @name = args[:name] if args.key?(:name)
169
+ @response = args[:response] if args.key?(:response)
170
+ end
171
+ end
172
+
173
+ # The `Status` type defines a logical error model that is suitable for
174
+ # different programming environments, including REST APIs and RPC APIs. It is
175
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
176
+ # three pieces of data: error code, error message, and error details.
177
+ # You can find out more about this error model and how to work with it in the
178
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
179
+ class Status
180
+ include Google::Apis::Core::Hashable
181
+
182
+ # The status code, which should be an enum value of google.rpc.Code.
183
+ # Corresponds to the JSON property `code`
184
+ # @return [Fixnum]
185
+ attr_accessor :code
186
+
187
+ # A list of messages that carry the error details. There is a common set of
188
+ # message types for APIs to use.
189
+ # Corresponds to the JSON property `details`
190
+ # @return [Array<Hash<String,Object>>]
191
+ attr_accessor :details
192
+
193
+ # A developer-facing error message, which should be in English. Any
194
+ # user-facing error message should be localized and sent in the
195
+ # google.rpc.Status.details field, or localized by the client.
196
+ # Corresponds to the JSON property `message`
197
+ # @return [String]
198
+ attr_accessor :message
199
+
200
+ def initialize(**args)
201
+ update!(**args)
202
+ end
203
+
204
+ # Update properties of this object
205
+ def update!(**args)
206
+ @code = args[:code] if args.key?(:code)
207
+ @details = args[:details] if args.key?(:details)
208
+ @message = args[:message] if args.key?(:message)
209
+ end
210
+ end
211
+ end
212
+ end
213
+ end