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
@@ -0,0 +1,232 @@
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 RecommenderV1
24
+
25
+ class GoogleCloudRecommenderV1CostProjection
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class GoogleCloudRecommenderV1Impact
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class GoogleCloudRecommenderV1ListRecommendationsResponse
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class GoogleCloudRecommenderV1MarkRecommendationClaimedRequest
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class GoogleCloudRecommenderV1MarkRecommendationFailedRequest
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class GoogleCloudRecommenderV1MarkRecommendationSucceededRequest
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class GoogleCloudRecommenderV1Operation
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class GoogleCloudRecommenderV1OperationGroup
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class GoogleCloudRecommenderV1Recommendation
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class GoogleCloudRecommenderV1RecommendationContent
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GoogleCloudRecommenderV1RecommendationStateInfo
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class GoogleCloudRecommenderV1ValueMatcher
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class GoogleTypeMoney
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class GoogleCloudRecommenderV1CostProjection
104
+ # @private
105
+ class Representation < Google::Apis::Core::JsonRepresentation
106
+ property :cost, as: 'cost', class: Google::Apis::RecommenderV1::GoogleTypeMoney, decorator: Google::Apis::RecommenderV1::GoogleTypeMoney::Representation
107
+
108
+ property :duration, as: 'duration'
109
+ end
110
+ end
111
+
112
+ class GoogleCloudRecommenderV1Impact
113
+ # @private
114
+ class Representation < Google::Apis::Core::JsonRepresentation
115
+ property :category, as: 'category'
116
+ property :cost_projection, as: 'costProjection', class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1CostProjection, decorator: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1CostProjection::Representation
117
+
118
+ end
119
+ end
120
+
121
+ class GoogleCloudRecommenderV1ListRecommendationsResponse
122
+ # @private
123
+ class Representation < Google::Apis::Core::JsonRepresentation
124
+ property :next_page_token, as: 'nextPageToken'
125
+ collection :recommendations, as: 'recommendations', class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Recommendation, decorator: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Recommendation::Representation
126
+
127
+ end
128
+ end
129
+
130
+ class GoogleCloudRecommenderV1MarkRecommendationClaimedRequest
131
+ # @private
132
+ class Representation < Google::Apis::Core::JsonRepresentation
133
+ property :etag, as: 'etag'
134
+ hash :state_metadata, as: 'stateMetadata'
135
+ end
136
+ end
137
+
138
+ class GoogleCloudRecommenderV1MarkRecommendationFailedRequest
139
+ # @private
140
+ class Representation < Google::Apis::Core::JsonRepresentation
141
+ property :etag, as: 'etag'
142
+ hash :state_metadata, as: 'stateMetadata'
143
+ end
144
+ end
145
+
146
+ class GoogleCloudRecommenderV1MarkRecommendationSucceededRequest
147
+ # @private
148
+ class Representation < Google::Apis::Core::JsonRepresentation
149
+ property :etag, as: 'etag'
150
+ hash :state_metadata, as: 'stateMetadata'
151
+ end
152
+ end
153
+
154
+ class GoogleCloudRecommenderV1Operation
155
+ # @private
156
+ class Representation < Google::Apis::Core::JsonRepresentation
157
+ property :action, as: 'action'
158
+ property :path, as: 'path'
159
+ hash :path_filters, as: 'pathFilters'
160
+ hash :path_value_matchers, as: 'pathValueMatchers', class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1ValueMatcher, decorator: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1ValueMatcher::Representation
161
+
162
+ property :resource, as: 'resource'
163
+ property :resource_type, as: 'resourceType'
164
+ property :source_path, as: 'sourcePath'
165
+ property :source_resource, as: 'sourceResource'
166
+ property :value, as: 'value'
167
+ property :value_matcher, as: 'valueMatcher', class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1ValueMatcher, decorator: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1ValueMatcher::Representation
168
+
169
+ end
170
+ end
171
+
172
+ class GoogleCloudRecommenderV1OperationGroup
173
+ # @private
174
+ class Representation < Google::Apis::Core::JsonRepresentation
175
+ collection :operations, as: 'operations', class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Operation, decorator: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Operation::Representation
176
+
177
+ end
178
+ end
179
+
180
+ class GoogleCloudRecommenderV1Recommendation
181
+ # @private
182
+ class Representation < Google::Apis::Core::JsonRepresentation
183
+ collection :additional_impact, as: 'additionalImpact', class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Impact, decorator: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Impact::Representation
184
+
185
+ property :content, as: 'content', class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1RecommendationContent, decorator: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1RecommendationContent::Representation
186
+
187
+ property :description, as: 'description'
188
+ property :etag, as: 'etag'
189
+ property :last_refresh_time, as: 'lastRefreshTime'
190
+ property :name, as: 'name'
191
+ property :primary_impact, as: 'primaryImpact', class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Impact, decorator: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Impact::Representation
192
+
193
+ property :recommender_subtype, as: 'recommenderSubtype'
194
+ property :state_info, as: 'stateInfo', class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1RecommendationStateInfo, decorator: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1RecommendationStateInfo::Representation
195
+
196
+ end
197
+ end
198
+
199
+ class GoogleCloudRecommenderV1RecommendationContent
200
+ # @private
201
+ class Representation < Google::Apis::Core::JsonRepresentation
202
+ collection :operation_groups, as: 'operationGroups', class: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1OperationGroup, decorator: Google::Apis::RecommenderV1::GoogleCloudRecommenderV1OperationGroup::Representation
203
+
204
+ end
205
+ end
206
+
207
+ class GoogleCloudRecommenderV1RecommendationStateInfo
208
+ # @private
209
+ class Representation < Google::Apis::Core::JsonRepresentation
210
+ property :state, as: 'state'
211
+ hash :state_metadata, as: 'stateMetadata'
212
+ end
213
+ end
214
+
215
+ class GoogleCloudRecommenderV1ValueMatcher
216
+ # @private
217
+ class Representation < Google::Apis::Core::JsonRepresentation
218
+ property :matches_pattern, as: 'matchesPattern'
219
+ end
220
+ end
221
+
222
+ class GoogleTypeMoney
223
+ # @private
224
+ class Representation < Google::Apis::Core::JsonRepresentation
225
+ property :currency_code, as: 'currencyCode'
226
+ property :nanos, as: 'nanos'
227
+ property :units, :numeric_string => true, as: 'units'
228
+ end
229
+ end
230
+ end
231
+ end
232
+ end
@@ -0,0 +1,266 @@
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 'google/apis/core/base_service'
16
+ require 'google/apis/core/json_representation'
17
+ require 'google/apis/core/hashable'
18
+ require 'google/apis/errors'
19
+
20
+ module Google
21
+ module Apis
22
+ module RecommenderV1
23
+ # Recommender API
24
+ #
25
+ #
26
+ #
27
+ # @example
28
+ # require 'google/apis/recommender_v1'
29
+ #
30
+ # Recommender = Google::Apis::RecommenderV1 # Alias the module
31
+ # service = Recommender::RecommenderService.new
32
+ #
33
+ # @see https://cloud.google.com/recommender/docs/
34
+ class RecommenderService < Google::Apis::Core::BaseService
35
+ # @return [String]
36
+ # API key. Your API key identifies your project and provides you with API access,
37
+ # quota, and reports. Required unless you provide an OAuth 2.0 token.
38
+ attr_accessor :key
39
+
40
+ # @return [String]
41
+ # Available to use for quota purposes for server-side applications. Can be any
42
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
43
+ attr_accessor :quota_user
44
+
45
+ def initialize
46
+ super('https://recommender.googleapis.com/', '')
47
+ @batch_path = 'batch'
48
+ end
49
+
50
+ # Gets the requested recommendation. Requires the recommender.*.get
51
+ # IAM permission for the specified recommender.
52
+ # @param [String] name
53
+ # Required. Name of the recommendation.
54
+ # @param [String] fields
55
+ # Selector specifying which fields to include in a partial response.
56
+ # @param [String] quota_user
57
+ # Available to use for quota purposes for server-side applications. Can be any
58
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
59
+ # @param [Google::Apis::RequestOptions] options
60
+ # Request-specific options
61
+ #
62
+ # @yield [result, err] Result & error if block supplied
63
+ # @yieldparam result [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Recommendation] parsed result object
64
+ # @yieldparam err [StandardError] error object if request failed
65
+ #
66
+ # @return [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Recommendation]
67
+ #
68
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
69
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
70
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
71
+ def get_project_location_recommender_recommendation(name, fields: nil, quota_user: nil, options: nil, &block)
72
+ command = make_simple_command(:get, 'v1/{+name}', options)
73
+ command.response_representation = Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Recommendation::Representation
74
+ command.response_class = Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Recommendation
75
+ command.params['name'] = name unless name.nil?
76
+ command.query['fields'] = fields unless fields.nil?
77
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
78
+ execute_or_queue_command(command, &block)
79
+ end
80
+
81
+ # Lists recommendations for a Cloud project. Requires the recommender.*.list
82
+ # IAM permission for the specified recommender.
83
+ # @param [String] parent
84
+ # Required. The container resource on which to execute the request.
85
+ # Acceptable formats:
86
+ # 1.
87
+ # "projects/[PROJECT_NUMBER]/locations/[LOCATION]/recommenders/[RECOMMENDER_ID]",
88
+ # LOCATION here refers to GCP Locations:
89
+ # https://cloud.google.com/about/locations/
90
+ # @param [String] filter
91
+ # Filter expression to restrict the recommendations returned. Supported
92
+ # filter fields: state_info.state
93
+ # Eg: `state_info.state:"DISMISSED" or state_info.state:"FAILED"
94
+ # @param [Fixnum] page_size
95
+ # Optional. The maximum number of results to return from this request. Non-
96
+ # positive
97
+ # values are ignored. If not specified, the server will determine the number
98
+ # of results to return.
99
+ # @param [String] page_token
100
+ # Optional. If present, retrieves the next batch of results from the preceding
101
+ # call to
102
+ # this method. `page_token` must be the value of `next_page_token` from the
103
+ # previous response. The values of other method parameters must be identical
104
+ # to those in the previous call.
105
+ # @param [String] fields
106
+ # Selector specifying which fields to include in a partial response.
107
+ # @param [String] quota_user
108
+ # Available to use for quota purposes for server-side applications. Can be any
109
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
110
+ # @param [Google::Apis::RequestOptions] options
111
+ # Request-specific options
112
+ #
113
+ # @yield [result, err] Result & error if block supplied
114
+ # @yieldparam result [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1ListRecommendationsResponse] parsed result object
115
+ # @yieldparam err [StandardError] error object if request failed
116
+ #
117
+ # @return [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1ListRecommendationsResponse]
118
+ #
119
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
120
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
121
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
122
+ def list_project_location_recommender_recommendations(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
123
+ command = make_simple_command(:get, 'v1/{+parent}/recommendations', options)
124
+ command.response_representation = Google::Apis::RecommenderV1::GoogleCloudRecommenderV1ListRecommendationsResponse::Representation
125
+ command.response_class = Google::Apis::RecommenderV1::GoogleCloudRecommenderV1ListRecommendationsResponse
126
+ command.params['parent'] = parent unless parent.nil?
127
+ command.query['filter'] = filter unless filter.nil?
128
+ command.query['pageSize'] = page_size unless page_size.nil?
129
+ command.query['pageToken'] = page_token unless page_token.nil?
130
+ command.query['fields'] = fields unless fields.nil?
131
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
132
+ execute_or_queue_command(command, &block)
133
+ end
134
+
135
+ # Marks the Recommendation State as Claimed. Users can use this method to
136
+ # indicate to the Recommender API that they are starting to apply the
137
+ # recommendation themselves. This stops the recommendation content from being
138
+ # updated. Associated insights are frozen and placed in the ACCEPTED state.
139
+ # MarkRecommendationClaimed can be applied to recommendations in CLAIMED,
140
+ # SUCCEEDED, FAILED, or ACTIVE state.
141
+ # Requires the recommender.*.update IAM permission for the specified
142
+ # recommender.
143
+ # @param [String] name
144
+ # Required. Name of the recommendation.
145
+ # @param [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1MarkRecommendationClaimedRequest] google_cloud_recommender_v1_mark_recommendation_claimed_request_object
146
+ # @param [String] fields
147
+ # Selector specifying which fields to include in a partial response.
148
+ # @param [String] quota_user
149
+ # Available to use for quota purposes for server-side applications. Can be any
150
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
151
+ # @param [Google::Apis::RequestOptions] options
152
+ # Request-specific options
153
+ #
154
+ # @yield [result, err] Result & error if block supplied
155
+ # @yieldparam result [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Recommendation] parsed result object
156
+ # @yieldparam err [StandardError] error object if request failed
157
+ #
158
+ # @return [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Recommendation]
159
+ #
160
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
161
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
162
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
163
+ def mark_project_location_recommender_recommendation_claimed(name, google_cloud_recommender_v1_mark_recommendation_claimed_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
164
+ command = make_simple_command(:post, 'v1/{+name}:markClaimed', options)
165
+ command.request_representation = Google::Apis::RecommenderV1::GoogleCloudRecommenderV1MarkRecommendationClaimedRequest::Representation
166
+ command.request_object = google_cloud_recommender_v1_mark_recommendation_claimed_request_object
167
+ command.response_representation = Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Recommendation::Representation
168
+ command.response_class = Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Recommendation
169
+ command.params['name'] = name unless name.nil?
170
+ command.query['fields'] = fields unless fields.nil?
171
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
172
+ execute_or_queue_command(command, &block)
173
+ end
174
+
175
+ # Marks the Recommendation State as Failed. Users can use this method to
176
+ # indicate to the Recommender API that they have applied the recommendation
177
+ # themselves, and the operation failed. This stops the recommendation content
178
+ # from being updated. Associated insights are frozen and placed in the
179
+ # ACCEPTED state.
180
+ # MarkRecommendationFailed can be applied to recommendations in ACTIVE,
181
+ # CLAIMED, SUCCEEDED, or FAILED state.
182
+ # Requires the recommender.*.update IAM permission for the specified
183
+ # recommender.
184
+ # @param [String] name
185
+ # Required. Name of the recommendation.
186
+ # @param [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1MarkRecommendationFailedRequest] google_cloud_recommender_v1_mark_recommendation_failed_request_object
187
+ # @param [String] fields
188
+ # Selector specifying which fields to include in a partial response.
189
+ # @param [String] quota_user
190
+ # Available to use for quota purposes for server-side applications. Can be any
191
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
192
+ # @param [Google::Apis::RequestOptions] options
193
+ # Request-specific options
194
+ #
195
+ # @yield [result, err] Result & error if block supplied
196
+ # @yieldparam result [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Recommendation] parsed result object
197
+ # @yieldparam err [StandardError] error object if request failed
198
+ #
199
+ # @return [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Recommendation]
200
+ #
201
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
202
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
203
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
204
+ def mark_project_location_recommender_recommendation_failed(name, google_cloud_recommender_v1_mark_recommendation_failed_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
205
+ command = make_simple_command(:post, 'v1/{+name}:markFailed', options)
206
+ command.request_representation = Google::Apis::RecommenderV1::GoogleCloudRecommenderV1MarkRecommendationFailedRequest::Representation
207
+ command.request_object = google_cloud_recommender_v1_mark_recommendation_failed_request_object
208
+ command.response_representation = Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Recommendation::Representation
209
+ command.response_class = Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Recommendation
210
+ command.params['name'] = name unless name.nil?
211
+ command.query['fields'] = fields unless fields.nil?
212
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
213
+ execute_or_queue_command(command, &block)
214
+ end
215
+
216
+ # Marks the Recommendation State as Succeeded. Users can use this method to
217
+ # indicate to the Recommender API that they have applied the recommendation
218
+ # themselves, and the operation was successful. This stops the recommendation
219
+ # content from being updated. Associated insights are frozen and placed in
220
+ # the ACCEPTED state.
221
+ # MarkRecommendationSucceeded can be applied to recommendations in ACTIVE,
222
+ # CLAIMED, SUCCEEDED, or FAILED state.
223
+ # Requires the recommender.*.update IAM permission for the specified
224
+ # recommender.
225
+ # @param [String] name
226
+ # Required. Name of the recommendation.
227
+ # @param [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1MarkRecommendationSucceededRequest] google_cloud_recommender_v1_mark_recommendation_succeeded_request_object
228
+ # @param [String] fields
229
+ # Selector specifying which fields to include in a partial response.
230
+ # @param [String] quota_user
231
+ # Available to use for quota purposes for server-side applications. Can be any
232
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
233
+ # @param [Google::Apis::RequestOptions] options
234
+ # Request-specific options
235
+ #
236
+ # @yield [result, err] Result & error if block supplied
237
+ # @yieldparam result [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Recommendation] parsed result object
238
+ # @yieldparam err [StandardError] error object if request failed
239
+ #
240
+ # @return [Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Recommendation]
241
+ #
242
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
243
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
244
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
245
+ def mark_project_location_recommender_recommendation_succeeded(name, google_cloud_recommender_v1_mark_recommendation_succeeded_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
246
+ command = make_simple_command(:post, 'v1/{+name}:markSucceeded', options)
247
+ command.request_representation = Google::Apis::RecommenderV1::GoogleCloudRecommenderV1MarkRecommendationSucceededRequest::Representation
248
+ command.request_object = google_cloud_recommender_v1_mark_recommendation_succeeded_request_object
249
+ command.response_representation = Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Recommendation::Representation
250
+ command.response_class = Google::Apis::RecommenderV1::GoogleCloudRecommenderV1Recommendation
251
+ command.params['name'] = name unless name.nil?
252
+ command.query['fields'] = fields unless fields.nil?
253
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
254
+ execute_or_queue_command(command, &block)
255
+ end
256
+
257
+ protected
258
+
259
+ def apply_command_defaults(command)
260
+ command.query['key'] = key unless key.nil?
261
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
262
+ end
263
+ end
264
+ end
265
+ end
266
+ end