google-api-client 0.11.3 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (397) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +51 -0
  3. data/api_names.yaml +32317 -34465
  4. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +44 -44
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +14 -14
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +10 -10
  7. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +305 -305
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +82 -82
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +106 -106
  11. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +6 -6
  12. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +3 -3
  13. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +3 -3
  14. data/generated/google/apis/adexchangeseller_v2_0/service.rb +10 -10
  15. data/generated/google/apis/admin_directory_v1/service.rb +26 -26
  16. data/generated/google/apis/adsense_v1_4.rb +1 -1
  17. data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
  18. data/generated/google/apis/adsense_v1_4/representations.rb +3 -3
  19. data/generated/google/apis/adsense_v1_4/service.rb +44 -44
  20. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  21. data/generated/google/apis/adsensehost_v4_1/service.rb +22 -22
  22. data/generated/google/apis/analytics_v3/classes.rb +3 -3
  23. data/generated/google/apis/analytics_v3/representations.rb +3 -3
  24. data/generated/google/apis/analytics_v3/service.rb +82 -82
  25. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  26. data/generated/google/apis/analyticsreporting_v4/classes.rb +916 -916
  27. data/generated/google/apis/analyticsreporting_v4/representations.rb +167 -167
  28. data/generated/google/apis/analyticsreporting_v4/service.rb +7 -7
  29. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  30. data/generated/google/apis/androidenterprise_v1/classes.rb +10 -10
  31. data/generated/google/apis/androidenterprise_v1/representations.rb +20 -20
  32. data/generated/google/apis/androidenterprise_v1/service.rb +43 -43
  33. data/generated/google/apis/androidpublisher_v2/classes.rb +26 -26
  34. data/generated/google/apis/androidpublisher_v2/representations.rb +46 -46
  35. data/generated/google/apis/androidpublisher_v2/service.rb +95 -95
  36. data/generated/google/apis/appengine_v1.rb +1 -1
  37. data/generated/google/apis/appengine_v1/classes.rb +825 -817
  38. data/generated/google/apis/appengine_v1/representations.rb +185 -184
  39. data/generated/google/apis/appengine_v1/service.rb +220 -216
  40. data/generated/google/apis/appstate_v1.rb +1 -1
  41. data/generated/google/apis/bigquery_v2.rb +1 -1
  42. data/generated/google/apis/bigquery_v2/classes.rb +9 -7
  43. data/generated/google/apis/bigquery_v2/representations.rb +8 -8
  44. data/generated/google/apis/bigquery_v2/service.rb +13 -13
  45. data/generated/google/apis/blogger_v3/service.rb +3 -3
  46. data/generated/google/apis/books_v1/classes.rb +55 -55
  47. data/generated/google/apis/books_v1/representations.rb +67 -67
  48. data/generated/google/apis/books_v1/service.rb +82 -82
  49. data/generated/google/apis/calendar_v3.rb +1 -1
  50. data/generated/google/apis/calendar_v3/classes.rb +6 -6
  51. data/generated/google/apis/calendar_v3/representations.rb +3 -3
  52. data/generated/google/apis/calendar_v3/service.rb +2 -2
  53. data/generated/google/apis/civicinfo_v2/classes.rb +1 -1
  54. data/generated/google/apis/civicinfo_v2/representations.rb +2 -2
  55. data/generated/google/apis/civicinfo_v2/service.rb +8 -8
  56. data/generated/google/apis/classroom_v1.rb +24 -24
  57. data/generated/google/apis/classroom_v1/classes.rb +381 -381
  58. data/generated/google/apis/classroom_v1/representations.rb +108 -108
  59. data/generated/google/apis/classroom_v1/service.rb +503 -503
  60. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  61. data/generated/google/apis/cloudbuild_v1/classes.rb +219 -219
  62. data/generated/google/apis/cloudbuild_v1/representations.rb +62 -62
  63. data/generated/google/apis/cloudbuild_v1/service.rb +165 -165
  64. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  65. data/generated/google/apis/clouddebugger_v2/classes.rb +133 -133
  66. data/generated/google/apis/clouddebugger_v2/representations.rb +29 -29
  67. data/generated/google/apis/clouddebugger_v2/service.rb +54 -54
  68. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  69. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +177 -177
  70. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +47 -47
  71. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +123 -123
  72. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  73. data/generated/google/apis/cloudfunctions_v1/service.rb +6 -6
  74. data/generated/google/apis/cloudkms_v1.rb +3 -3
  75. data/generated/google/apis/cloudkms_v1/classes.rb +229 -229
  76. data/generated/google/apis/cloudkms_v1/representations.rb +54 -54
  77. data/generated/google/apis/cloudkms_v1/service.rb +224 -224
  78. data/generated/google/apis/cloudresourcemanager_v1.rb +3 -3
  79. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1199 -1199
  80. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +192 -192
  81. data/generated/google/apis/cloudresourcemanager_v1/service.rb +122 -122
  82. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +495 -495
  83. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +92 -92
  84. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +320 -320
  85. data/generated/google/apis/cloudtrace_v1.rb +4 -4
  86. data/generated/google/apis/cloudtrace_v1/classes.rb +44 -44
  87. data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
  88. data/generated/google/apis/cloudtrace_v1/service.rb +28 -28
  89. data/generated/google/apis/compute_beta.rb +1 -1
  90. data/generated/google/apis/compute_beta/classes.rb +57 -15
  91. data/generated/google/apis/compute_beta/representations.rb +30 -14
  92. data/generated/google/apis/compute_beta/service.rb +52 -52
  93. data/generated/google/apis/compute_v1.rb +1 -1
  94. data/generated/google/apis/compute_v1/classes.rb +223 -10
  95. data/generated/google/apis/compute_v1/representations.rb +85 -16
  96. data/generated/google/apis/compute_v1/service.rb +327 -51
  97. data/generated/google/apis/container_v1/classes.rb +267 -267
  98. data/generated/google/apis/container_v1/representations.rb +61 -61
  99. data/generated/google/apis/container_v1/service.rb +123 -123
  100. data/generated/google/apis/content_v2.rb +1 -1
  101. data/generated/google/apis/content_v2/classes.rb +71 -71
  102. data/generated/google/apis/content_v2/representations.rb +105 -105
  103. data/generated/google/apis/content_v2/service.rb +120 -120
  104. data/generated/google/apis/dataflow_v1b3.rb +4 -4
  105. data/generated/google/apis/dataflow_v1b3/classes.rb +3442 -3452
  106. data/generated/google/apis/dataflow_v1b3/representations.rb +388 -389
  107. data/generated/google/apis/dataflow_v1b3/service.rb +265 -265
  108. data/generated/google/apis/dataproc_v1.rb +1 -1
  109. data/generated/google/apis/dataproc_v1/classes.rb +1059 -1059
  110. data/generated/google/apis/dataproc_v1/representations.rb +147 -147
  111. data/generated/google/apis/dataproc_v1/service.rb +309 -305
  112. data/generated/google/apis/datastore_v1.rb +1 -1
  113. data/generated/google/apis/datastore_v1/classes.rb +818 -818
  114. data/generated/google/apis/datastore_v1/representations.rb +151 -151
  115. data/generated/google/apis/datastore_v1/service.rb +62 -62
  116. data/generated/google/apis/deploymentmanager_v2/classes.rb +5 -5
  117. data/generated/google/apis/deploymentmanager_v2/representations.rb +10 -10
  118. data/generated/google/apis/deploymentmanager_v2/service.rb +20 -20
  119. data/generated/google/apis/discovery_v1/classes.rb +4 -4
  120. data/generated/google/apis/discovery_v1/representations.rb +2 -2
  121. data/generated/google/apis/discovery_v1/service.rb +1 -1
  122. data/generated/google/apis/dns_v1.rb +1 -1
  123. data/generated/google/apis/dns_v1/classes.rb +3 -3
  124. data/generated/google/apis/dns_v1/representations.rb +6 -6
  125. data/generated/google/apis/dns_v1/service.rb +12 -12
  126. data/generated/google/apis/dns_v2beta1.rb +1 -1
  127. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  128. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -8
  129. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  130. data/generated/google/apis/drive_v2/service.rb +1 -1
  131. data/generated/google/apis/drive_v3/service.rb +1 -1
  132. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  133. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +188 -188
  134. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +62 -62
  135. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +4 -4
  136. data/generated/google/apis/firebaserules_v1.rb +1 -1
  137. data/generated/google/apis/firebaserules_v1/classes.rb +403 -206
  138. data/generated/google/apis/firebaserules_v1/representations.rb +134 -54
  139. data/generated/google/apis/firebaserules_v1/service.rb +89 -89
  140. data/generated/google/apis/fusiontables_v2/service.rb +2 -2
  141. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  142. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
  143. data/generated/google/apis/games_configuration_v1configuration/representations.rb +4 -4
  144. data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
  145. data/generated/google/apis/games_management_v1management.rb +1 -1
  146. data/generated/google/apis/games_v1.rb +1 -1
  147. data/generated/google/apis/games_v1/classes.rb +23 -23
  148. data/generated/google/apis/games_v1/representations.rb +43 -43
  149. data/generated/google/apis/games_v1/service.rb +72 -72
  150. data/generated/google/apis/genomics_v1.rb +7 -7
  151. data/generated/google/apis/genomics_v1/classes.rb +2296 -2297
  152. data/generated/google/apis/genomics_v1/representations.rb +298 -298
  153. data/generated/google/apis/genomics_v1/service.rb +1160 -1160
  154. data/generated/google/apis/groupssettings_v1/service.rb +0 -3
  155. data/generated/google/apis/iam_v1.rb +1 -1
  156. data/generated/google/apis/iam_v1/classes.rb +235 -235
  157. data/generated/google/apis/iam_v1/representations.rb +72 -72
  158. data/generated/google/apis/iam_v1/service.rb +189 -189
  159. data/generated/google/apis/identitytoolkit_v3/classes.rb +15 -15
  160. data/generated/google/apis/identitytoolkit_v3/representations.rb +30 -30
  161. data/generated/google/apis/identitytoolkit_v3/service.rb +64 -64
  162. data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
  163. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  164. data/generated/google/apis/kgsearch_v1/service.rb +10 -10
  165. data/generated/google/apis/language_v1/classes.rb +220 -220
  166. data/generated/google/apis/language_v1/representations.rb +81 -81
  167. data/generated/google/apis/language_v1/service.rb +43 -43
  168. data/generated/google/apis/language_v1beta1/classes.rb +448 -448
  169. data/generated/google/apis/language_v1beta1/representations.rb +106 -106
  170. data/generated/google/apis/language_v1beta1/service.rb +31 -31
  171. data/generated/google/apis/licensing_v1/service.rb +2 -2
  172. data/generated/google/apis/logging_v2/classes.rb +737 -737
  173. data/generated/google/apis/logging_v2/representations.rb +120 -120
  174. data/generated/google/apis/logging_v2/service.rb +479 -479
  175. data/generated/google/apis/logging_v2beta1/classes.rb +293 -293
  176. data/generated/google/apis/logging_v2beta1/representations.rb +54 -54
  177. data/generated/google/apis/logging_v2beta1/service.rb +349 -349
  178. data/generated/google/apis/manufacturers_v1/classes.rb +423 -423
  179. data/generated/google/apis/manufacturers_v1/representations.rb +61 -61
  180. data/generated/google/apis/manufacturers_v1/service.rb +8 -8
  181. data/generated/google/apis/mirror_v1/classes.rb +5 -5
  182. data/generated/google/apis/mirror_v1/representations.rb +10 -10
  183. data/generated/google/apis/mirror_v1/service.rb +20 -20
  184. data/generated/google/apis/ml_v1.rb +1 -1
  185. data/generated/google/apis/ml_v1/classes.rb +1285 -1205
  186. data/generated/google/apis/ml_v1/representations.rb +204 -174
  187. data/generated/google/apis/ml_v1/service.rb +150 -145
  188. data/generated/google/apis/monitoring_v3.rb +1 -1
  189. data/generated/google/apis/monitoring_v3/classes.rb +880 -880
  190. data/generated/google/apis/monitoring_v3/representations.rb +154 -154
  191. data/generated/google/apis/monitoring_v3/service.rb +299 -299
  192. data/generated/google/apis/mybusiness_v3/service.rb +5 -5
  193. data/generated/google/apis/oauth2_v2/service.rb +1 -1
  194. data/generated/google/apis/pagespeedonline_v2/classes.rb +11 -11
  195. data/generated/google/apis/pagespeedonline_v2/representations.rb +13 -13
  196. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
  197. data/generated/google/apis/partners_v2.rb +1 -1
  198. data/generated/google/apis/partners_v2/classes.rb +524 -509
  199. data/generated/google/apis/partners_v2/representations.rb +115 -111
  200. data/generated/google/apis/partners_v2/service.rb +287 -287
  201. data/generated/google/apis/people_v1.rb +13 -13
  202. data/generated/google/apis/people_v1/classes.rb +1150 -1150
  203. data/generated/google/apis/people_v1/representations.rb +258 -258
  204. data/generated/google/apis/people_v1/service.rb +7 -7
  205. data/generated/google/apis/plus_domains_v1.rb +1 -1
  206. data/generated/google/apis/plus_domains_v1/service.rb +4 -4
  207. data/generated/google/apis/plus_v1.rb +1 -1
  208. data/generated/google/apis/plus_v1/service.rb +1 -1
  209. data/generated/google/apis/prediction_v1_6/service.rb +8 -8
  210. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +554 -554
  211. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +108 -108
  212. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +224 -224
  213. data/generated/google/apis/pubsub_v1/classes.rb +228 -228
  214. data/generated/google/apis/pubsub_v1/representations.rb +69 -69
  215. data/generated/google/apis/pubsub_v1/service.rb +182 -182
  216. data/generated/google/apis/qpx_express_v1/classes.rb +2 -2
  217. data/generated/google/apis/qpx_express_v1/representations.rb +4 -4
  218. data/generated/google/apis/qpx_express_v1/service.rb +8 -8
  219. data/generated/google/apis/replicapool_v1beta2/classes.rb +5 -5
  220. data/generated/google/apis/replicapool_v1beta2/representations.rb +10 -10
  221. data/generated/google/apis/replicapool_v1beta2/service.rb +21 -21
  222. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -1
  223. data/generated/google/apis/resourceviews_v1beta2/classes.rb +5 -5
  224. data/generated/google/apis/resourceviews_v1beta2/representations.rb +10 -10
  225. data/generated/google/apis/resourceviews_v1beta2/service.rb +20 -20
  226. data/generated/google/apis/runtimeconfig_v1.rb +3 -3
  227. data/generated/google/apis/runtimeconfig_v1/classes.rb +19 -19
  228. data/generated/google/apis/runtimeconfig_v1/representations.rb +10 -10
  229. data/generated/google/apis/runtimeconfig_v1/service.rb +4 -4
  230. data/generated/google/apis/script_v1.rb +9 -9
  231. data/generated/google/apis/script_v1/classes.rb +94 -94
  232. data/generated/google/apis/script_v1/representations.rb +26 -26
  233. data/generated/google/apis/searchconsole_v1.rb +1 -1
  234. data/generated/google/apis/searchconsole_v1/classes.rb +65 -65
  235. data/generated/google/apis/searchconsole_v1/representations.rb +27 -27
  236. data/generated/google/apis/searchconsole_v1/service.rb +6 -6
  237. data/generated/google/apis/servicecontrol_v1/classes.rb +1131 -1131
  238. data/generated/google/apis/servicecontrol_v1/representations.rb +195 -195
  239. data/generated/google/apis/servicecontrol_v1/service.rb +57 -57
  240. data/generated/google/apis/servicemanagement_v1.rb +7 -7
  241. data/generated/google/apis/servicemanagement_v1/classes.rb +3543 -3585
  242. data/generated/google/apis/servicemanagement_v1/representations.rb +556 -556
  243. data/generated/google/apis/servicemanagement_v1/service.rb +309 -309
  244. data/generated/google/apis/serviceuser_v1.rb +4 -4
  245. data/generated/google/apis/serviceuser_v1/classes.rb +2734 -2776
  246. data/generated/google/apis/serviceuser_v1/representations.rb +398 -398
  247. data/generated/google/apis/serviceuser_v1/service.rb +16 -16
  248. data/generated/google/apis/sheets_v4/classes.rb +1489 -1489
  249. data/generated/google/apis/sheets_v4/representations.rb +324 -324
  250. data/generated/google/apis/sheets_v4/service.rb +49 -49
  251. data/generated/google/apis/site_verification_v1/classes.rb +6 -6
  252. data/generated/google/apis/site_verification_v1/representations.rb +8 -8
  253. data/generated/google/apis/site_verification_v1/service.rb +12 -12
  254. data/generated/google/apis/slides_v1.rb +4 -4
  255. data/generated/google/apis/slides_v1/classes.rb +2907 -2907
  256. data/generated/google/apis/slides_v1/representations.rb +695 -695
  257. data/generated/google/apis/slides_v1/service.rb +40 -40
  258. data/generated/google/apis/sourcerepo_v1.rb +7 -1
  259. data/generated/google/apis/sourcerepo_v1/classes.rb +459 -452
  260. data/generated/google/apis/sourcerepo_v1/representations.rb +90 -89
  261. data/generated/google/apis/sourcerepo_v1/service.rb +101 -100
  262. data/generated/google/apis/spanner_v1/classes.rb +2557 -2557
  263. data/generated/google/apis/spanner_v1/representations.rb +205 -205
  264. data/generated/google/apis/spanner_v1/service.rb +525 -525
  265. data/generated/google/apis/speech_v1beta1.rb +1 -1
  266. data/generated/google/apis/speech_v1beta1/classes.rb +73 -73
  267. data/generated/google/apis/speech_v1beta1/representations.rb +25 -25
  268. data/generated/google/apis/speech_v1beta1/service.rb +33 -33
  269. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  270. data/generated/google/apis/sqladmin_v1beta4/classes.rb +16 -15
  271. data/generated/google/apis/sqladmin_v1beta4/representations.rb +28 -28
  272. data/generated/google/apis/sqladmin_v1beta4/service.rb +58 -57
  273. data/generated/google/apis/storage_v1/classes.rb +6 -6
  274. data/generated/google/apis/storage_v1/representations.rb +4 -4
  275. data/generated/google/apis/storage_v1/service.rb +1 -1
  276. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  277. data/generated/google/apis/storagetransfer_v1/classes.rb +357 -357
  278. data/generated/google/apis/storagetransfer_v1/representations.rb +87 -87
  279. data/generated/google/apis/storagetransfer_v1/service.rb +53 -48
  280. data/generated/google/apis/tagmanager_v1/service.rb +33 -33
  281. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  282. data/generated/google/apis/translate_v2.rb +1 -1
  283. data/generated/google/apis/translate_v2/classes.rb +46 -46
  284. data/generated/google/apis/translate_v2/representations.rb +22 -22
  285. data/generated/google/apis/translate_v2/service.rb +81 -74
  286. data/generated/google/apis/vision_v1/classes.rb +1290 -1290
  287. data/generated/google/apis/vision_v1/representations.rb +166 -166
  288. data/generated/google/apis/vision_v1/service.rb +6 -6
  289. data/generated/google/apis/webmasters_v3/classes.rb +4 -4
  290. data/generated/google/apis/webmasters_v3/representations.rb +8 -8
  291. data/generated/google/apis/webmasters_v3/service.rb +21 -21
  292. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  293. data/generated/google/apis/youtube_analytics_v1/classes.rb +2 -2
  294. data/generated/google/apis/youtube_analytics_v1/representations.rb +4 -4
  295. data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
  296. data/generated/google/apis/youtube_v3/classes.rb +20 -20
  297. data/generated/google/apis/youtube_v3/representations.rb +40 -40
  298. data/generated/google/apis/youtube_v3/service.rb +80 -80
  299. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  300. data/generated/google/apis/youtubereporting_v1/classes.rb +127 -127
  301. data/generated/google/apis/youtubereporting_v1/representations.rb +36 -36
  302. data/generated/google/apis/youtubereporting_v1/service.rb +90 -90
  303. data/google-api-client.gemspec +3 -3
  304. data/lib/google/apis/core/base_service.rb +6 -0
  305. data/lib/google/apis/generator/annotator.rb +2 -2
  306. data/lib/google/apis/generator/model.rb +2 -2
  307. data/lib/google/apis/version.rb +1 -1
  308. metadata +11 -94
  309. data/dl.rb +0 -0
  310. data/generated/google/apis/adexchangebuyer_v1_3.rb +0 -35
  311. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +0 -1335
  312. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +0 -446
  313. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +0 -872
  314. data/generated/google/apis/appengine_v1beta4.rb +0 -35
  315. data/generated/google/apis/appengine_v1beta4/classes.rb +0 -1585
  316. data/generated/google/apis/appengine_v1beta4/representations.rb +0 -542
  317. data/generated/google/apis/appengine_v1beta4/service.rb +0 -477
  318. data/generated/google/apis/appengine_v1beta5.rb +0 -40
  319. data/generated/google/apis/appengine_v1beta5/classes.rb +0 -2094
  320. data/generated/google/apis/appengine_v1beta5/representations.rb +0 -802
  321. data/generated/google/apis/appengine_v1beta5/service.rb +0 -867
  322. data/generated/google/apis/autoscaler_v1beta2.rb +0 -38
  323. data/generated/google/apis/autoscaler_v1beta2/classes.rb +0 -710
  324. data/generated/google/apis/autoscaler_v1beta2/representations.rb +0 -296
  325. data/generated/google/apis/autoscaler_v1beta2/service.rb +0 -478
  326. data/generated/google/apis/classroom_v1beta1.rb +0 -49
  327. data/generated/google/apis/classroom_v1beta1/classes.rb +0 -447
  328. data/generated/google/apis/classroom_v1beta1/representations.rb +0 -190
  329. data/generated/google/apis/classroom_v1beta1/service.rb +0 -791
  330. data/generated/google/apis/cloudkms_v1beta1.rb +0 -35
  331. data/generated/google/apis/cloudkms_v1beta1/classes.rb +0 -1039
  332. data/generated/google/apis/cloudkms_v1beta1/representations.rb +0 -448
  333. data/generated/google/apis/cloudkms_v1beta1/service.rb +0 -933
  334. data/generated/google/apis/cloudlatencytest_v2.rb +0 -34
  335. data/generated/google/apis/cloudlatencytest_v2/classes.rb +0 -195
  336. data/generated/google/apis/cloudlatencytest_v2/representations.rb +0 -127
  337. data/generated/google/apis/cloudlatencytest_v2/service.rb +0 -135
  338. data/generated/google/apis/container_v1beta1.rb +0 -35
  339. data/generated/google/apis/container_v1beta1/classes.rb +0 -466
  340. data/generated/google/apis/container_v1beta1/representations.rb +0 -177
  341. data/generated/google/apis/container_v1beta1/service.rb +0 -394
  342. data/generated/google/apis/coordinate_v1.rb +0 -37
  343. data/generated/google/apis/coordinate_v1/classes.rb +0 -669
  344. data/generated/google/apis/coordinate_v1/representations.rb +0 -321
  345. data/generated/google/apis/coordinate_v1/service.rb +0 -678
  346. data/generated/google/apis/datastore_v1beta2.rb +0 -40
  347. data/generated/google/apis/datastore_v1beta2/classes.rb +0 -1186
  348. data/generated/google/apis/datastore_v1beta2/representations.rb +0 -594
  349. data/generated/google/apis/datastore_v1beta2/service.rb +0 -294
  350. data/generated/google/apis/datastore_v1beta3.rb +0 -38
  351. data/generated/google/apis/datastore_v1beta3/classes.rb +0 -1284
  352. data/generated/google/apis/datastore_v1beta3/representations.rb +0 -572
  353. data/generated/google/apis/datastore_v1beta3/service.rb +0 -259
  354. data/generated/google/apis/deploymentmanager_v2beta2.rb +0 -44
  355. data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +0 -843
  356. data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +0 -306
  357. data/generated/google/apis/deploymentmanager_v2beta2/service.rb +0 -689
  358. data/generated/google/apis/dfareporting_v2_1.rb +0 -37
  359. data/generated/google/apis/dfareporting_v2_1/classes.rb +0 -10770
  360. data/generated/google/apis/dfareporting_v2_1/representations.rb +0 -3438
  361. data/generated/google/apis/dfareporting_v2_1/service.rb +0 -8585
  362. data/generated/google/apis/dfareporting_v2_3.rb +0 -37
  363. data/generated/google/apis/dfareporting_v2_3/classes.rb +0 -10839
  364. data/generated/google/apis/dfareporting_v2_3/representations.rb +0 -3829
  365. data/generated/google/apis/dfareporting_v2_3/service.rb +0 -8581
  366. data/generated/google/apis/dfareporting_v2_5.rb +0 -40
  367. data/generated/google/apis/dfareporting_v2_5/classes.rb +0 -11225
  368. data/generated/google/apis/dfareporting_v2_5/representations.rb +0 -3982
  369. data/generated/google/apis/dfareporting_v2_5/service.rb +0 -8755
  370. data/generated/google/apis/dfareporting_v2_6.rb +0 -40
  371. data/generated/google/apis/dfareporting_v2_6/classes.rb +0 -11599
  372. data/generated/google/apis/dfareporting_v2_6/representations.rb +0 -4119
  373. data/generated/google/apis/dfareporting_v2_6/service.rb +0 -9026
  374. data/generated/google/apis/gan_v1beta1.rb +0 -31
  375. data/generated/google/apis/gan_v1beta1/classes.rb +0 -1428
  376. data/generated/google/apis/gan_v1beta1/representations.rb +0 -462
  377. data/generated/google/apis/gan_v1beta1/service.rb +0 -682
  378. data/generated/google/apis/genomics_v1beta2.rb +0 -46
  379. data/generated/google/apis/genomics_v1beta2/classes.rb +0 -3288
  380. data/generated/google/apis/genomics_v1beta2/representations.rb +0 -1194
  381. data/generated/google/apis/genomics_v1beta2/service.rb +0 -2392
  382. data/generated/google/apis/logging_v1beta3.rb +0 -47
  383. data/generated/google/apis/logging_v1beta3/classes.rb +0 -1079
  384. data/generated/google/apis/logging_v1beta3/representations.rb +0 -366
  385. data/generated/google/apis/logging_v1beta3/service.rb +0 -1001
  386. data/generated/google/apis/manager_v1beta2.rb +0 -53
  387. data/generated/google/apis/manager_v1beta2/classes.rb +0 -1287
  388. data/generated/google/apis/manager_v1beta2/representations.rb +0 -606
  389. data/generated/google/apis/manager_v1beta2/service.rb +0 -372
  390. data/generated/google/apis/pubsub_v1beta2.rb +0 -37
  391. data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -620
  392. data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -282
  393. data/generated/google/apis/pubsub_v1beta2/service.rb +0 -774
  394. data/generated/google/apis/tracing_v1.rb +0 -40
  395. data/generated/google/apis/tracing_v1/classes.rb +0 -664
  396. data/generated/google/apis/tracing_v1/representations.rb +0 -279
  397. data/generated/google/apis/tracing_v1/service.rb +0 -226
@@ -49,270 +49,10 @@ module Google
49
49
  @batch_path = 'batch'
50
50
  end
51
51
 
52
- # Lists metric descriptors that match a filter. This method does not require a
53
- # Stackdriver account.
54
- # @param [String] name
55
- # The project on which to execute the request. The format is "projects/`
56
- # project_id_or_number`".
57
- # @param [String] filter
58
- # If this field is empty, all custom and system-defined metric descriptors are
59
- # returned. Otherwise, the filter specifies which metric descriptors are to be
60
- # returned. For example, the following filter matches all custom metrics:
61
- # metric.type = starts_with("custom.googleapis.com/")
62
- # @param [String] page_token
63
- # If this field is not empty then it must contain the nextPageToken value
64
- # returned by a previous call to this method. Using this field causes the method
65
- # to return additional results from the previous method call.
66
- # @param [Fixnum] page_size
67
- # A positive number that is the maximum number of results to return.
68
- # @param [String] quota_user
69
- # Available to use for quota purposes for server-side applications. Can be any
70
- # arbitrary string assigned to a user, but should not exceed 40 characters.
71
- # @param [String] fields
72
- # Selector specifying which fields to include in a partial response.
73
- # @param [Google::Apis::RequestOptions] options
74
- # Request-specific options
75
- #
76
- # @yield [result, err] Result & error if block supplied
77
- # @yieldparam result [Google::Apis::MonitoringV3::ListMetricDescriptorsResponse] parsed result object
78
- # @yieldparam err [StandardError] error object if request failed
79
- #
80
- # @return [Google::Apis::MonitoringV3::ListMetricDescriptorsResponse]
81
- #
82
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
83
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
84
- # @raise [Google::Apis::AuthorizationError] Authorization is required
85
- def list_project_metric_descriptors(name, filter: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
86
- command = make_simple_command(:get, 'v3/{+name}/metricDescriptors', options)
87
- command.response_representation = Google::Apis::MonitoringV3::ListMetricDescriptorsResponse::Representation
88
- command.response_class = Google::Apis::MonitoringV3::ListMetricDescriptorsResponse
89
- command.params['name'] = name unless name.nil?
90
- command.query['filter'] = filter unless filter.nil?
91
- command.query['pageToken'] = page_token unless page_token.nil?
92
- command.query['pageSize'] = page_size unless page_size.nil?
93
- command.query['quotaUser'] = quota_user unless quota_user.nil?
94
- command.query['fields'] = fields unless fields.nil?
95
- execute_or_queue_command(command, &block)
96
- end
97
-
98
- # Gets a single metric descriptor. This method does not require a Stackdriver
99
- # account.
100
- # @param [String] name
101
- # The metric descriptor on which to execute the request. The format is "projects/
102
- # `project_id_or_number`/metricDescriptors/`metric_id`". An example value of `
103
- # metric_id` is "compute.googleapis.com/instance/disk/read_bytes_count".
104
- # @param [String] quota_user
105
- # Available to use for quota purposes for server-side applications. Can be any
106
- # arbitrary string assigned to a user, but should not exceed 40 characters.
107
- # @param [String] fields
108
- # Selector specifying which fields to include in a partial response.
109
- # @param [Google::Apis::RequestOptions] options
110
- # Request-specific options
111
- #
112
- # @yield [result, err] Result & error if block supplied
113
- # @yieldparam result [Google::Apis::MonitoringV3::MetricDescriptor] parsed result object
114
- # @yieldparam err [StandardError] error object if request failed
115
- #
116
- # @return [Google::Apis::MonitoringV3::MetricDescriptor]
117
- #
118
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
119
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
120
- # @raise [Google::Apis::AuthorizationError] Authorization is required
121
- def get_project_metric_descriptor(name, quota_user: nil, fields: nil, options: nil, &block)
122
- command = make_simple_command(:get, 'v3/{+name}', options)
123
- command.response_representation = Google::Apis::MonitoringV3::MetricDescriptor::Representation
124
- command.response_class = Google::Apis::MonitoringV3::MetricDescriptor
125
- command.params['name'] = name unless name.nil?
126
- command.query['quotaUser'] = quota_user unless quota_user.nil?
127
- command.query['fields'] = fields unless fields.nil?
128
- execute_or_queue_command(command, &block)
129
- end
130
-
131
- # Creates a new metric descriptor. User-created metric descriptors define custom
132
- # metrics.
133
- # @param [String] name
134
- # The project on which to execute the request. The format is "projects/`
135
- # project_id_or_number`".
136
- # @param [Google::Apis::MonitoringV3::MetricDescriptor] metric_descriptor_object
137
- # @param [String] quota_user
138
- # Available to use for quota purposes for server-side applications. Can be any
139
- # arbitrary string assigned to a user, but should not exceed 40 characters.
140
- # @param [String] fields
141
- # Selector specifying which fields to include in a partial response.
142
- # @param [Google::Apis::RequestOptions] options
143
- # Request-specific options
144
- #
145
- # @yield [result, err] Result & error if block supplied
146
- # @yieldparam result [Google::Apis::MonitoringV3::MetricDescriptor] parsed result object
147
- # @yieldparam err [StandardError] error object if request failed
148
- #
149
- # @return [Google::Apis::MonitoringV3::MetricDescriptor]
150
- #
151
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
152
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
153
- # @raise [Google::Apis::AuthorizationError] Authorization is required
154
- def create_project_metric_descriptor(name, metric_descriptor_object = nil, quota_user: nil, fields: nil, options: nil, &block)
155
- command = make_simple_command(:post, 'v3/{+name}/metricDescriptors', options)
156
- command.request_representation = Google::Apis::MonitoringV3::MetricDescriptor::Representation
157
- command.request_object = metric_descriptor_object
158
- command.response_representation = Google::Apis::MonitoringV3::MetricDescriptor::Representation
159
- command.response_class = Google::Apis::MonitoringV3::MetricDescriptor
160
- command.params['name'] = name unless name.nil?
161
- command.query['quotaUser'] = quota_user unless quota_user.nil?
162
- command.query['fields'] = fields unless fields.nil?
163
- execute_or_queue_command(command, &block)
164
- end
165
-
166
- # Deletes a metric descriptor. Only user-created custom metrics can be deleted.
167
- # @param [String] name
168
- # The metric descriptor on which to execute the request. The format is "projects/
169
- # `project_id_or_number`/metricDescriptors/`metric_id`". An example of `
170
- # metric_id` is: "custom.googleapis.com/my_test_metric".
171
- # @param [String] quota_user
172
- # Available to use for quota purposes for server-side applications. Can be any
173
- # arbitrary string assigned to a user, but should not exceed 40 characters.
174
- # @param [String] fields
175
- # Selector specifying which fields to include in a partial response.
176
- # @param [Google::Apis::RequestOptions] options
177
- # Request-specific options
178
- #
179
- # @yield [result, err] Result & error if block supplied
180
- # @yieldparam result [Google::Apis::MonitoringV3::Empty] parsed result object
181
- # @yieldparam err [StandardError] error object if request failed
182
- #
183
- # @return [Google::Apis::MonitoringV3::Empty]
184
- #
185
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
186
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
187
- # @raise [Google::Apis::AuthorizationError] Authorization is required
188
- def delete_project_metric_descriptor(name, quota_user: nil, fields: nil, options: nil, &block)
189
- command = make_simple_command(:delete, 'v3/{+name}', options)
190
- command.response_representation = Google::Apis::MonitoringV3::Empty::Representation
191
- command.response_class = Google::Apis::MonitoringV3::Empty
192
- command.params['name'] = name unless name.nil?
193
- command.query['quotaUser'] = quota_user unless quota_user.nil?
194
- command.query['fields'] = fields unless fields.nil?
195
- execute_or_queue_command(command, &block)
196
- end
197
-
198
- # Lists monitored resource descriptors that match a filter. This method does not
199
- # require a Stackdriver account.
200
- # @param [String] name
201
- # The project on which to execute the request. The format is "projects/`
202
- # project_id_or_number`".
203
- # @param [String] filter
204
- # An optional filter describing the descriptors to be returned. The filter can
205
- # reference the descriptor's type and labels. For example, the following filter
206
- # returns only Google Compute Engine descriptors that have an id label:
207
- # resource.type = starts_with("gce_") AND resource.label:id
208
- # @param [String] page_token
209
- # If this field is not empty then it must contain the nextPageToken value
210
- # returned by a previous call to this method. Using this field causes the method
211
- # to return additional results from the previous method call.
212
- # @param [Fixnum] page_size
213
- # A positive number that is the maximum number of results to return.
214
- # @param [String] quota_user
215
- # Available to use for quota purposes for server-side applications. Can be any
216
- # arbitrary string assigned to a user, but should not exceed 40 characters.
217
- # @param [String] fields
218
- # Selector specifying which fields to include in a partial response.
219
- # @param [Google::Apis::RequestOptions] options
220
- # Request-specific options
221
- #
222
- # @yield [result, err] Result & error if block supplied
223
- # @yieldparam result [Google::Apis::MonitoringV3::ListMonitoredResourceDescriptorsResponse] parsed result object
224
- # @yieldparam err [StandardError] error object if request failed
225
- #
226
- # @return [Google::Apis::MonitoringV3::ListMonitoredResourceDescriptorsResponse]
227
- #
228
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
229
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
230
- # @raise [Google::Apis::AuthorizationError] Authorization is required
231
- def list_project_monitored_resource_descriptors(name, filter: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
232
- command = make_simple_command(:get, 'v3/{+name}/monitoredResourceDescriptors', options)
233
- command.response_representation = Google::Apis::MonitoringV3::ListMonitoredResourceDescriptorsResponse::Representation
234
- command.response_class = Google::Apis::MonitoringV3::ListMonitoredResourceDescriptorsResponse
235
- command.params['name'] = name unless name.nil?
236
- command.query['filter'] = filter unless filter.nil?
237
- command.query['pageToken'] = page_token unless page_token.nil?
238
- command.query['pageSize'] = page_size unless page_size.nil?
239
- command.query['quotaUser'] = quota_user unless quota_user.nil?
240
- command.query['fields'] = fields unless fields.nil?
241
- execute_or_queue_command(command, &block)
242
- end
243
-
244
- # Gets a single monitored resource descriptor. This method does not require a
245
- # Stackdriver account.
246
- # @param [String] name
247
- # The monitored resource descriptor to get. The format is "projects/`
248
- # project_id_or_number`/monitoredResourceDescriptors/`resource_type`". The `
249
- # resource_type` is a predefined type, such as cloudsql_database.
250
- # @param [String] quota_user
251
- # Available to use for quota purposes for server-side applications. Can be any
252
- # arbitrary string assigned to a user, but should not exceed 40 characters.
253
- # @param [String] fields
254
- # Selector specifying which fields to include in a partial response.
255
- # @param [Google::Apis::RequestOptions] options
256
- # Request-specific options
257
- #
258
- # @yield [result, err] Result & error if block supplied
259
- # @yieldparam result [Google::Apis::MonitoringV3::MonitoredResourceDescriptor] parsed result object
260
- # @yieldparam err [StandardError] error object if request failed
261
- #
262
- # @return [Google::Apis::MonitoringV3::MonitoredResourceDescriptor]
263
- #
264
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
265
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
266
- # @raise [Google::Apis::AuthorizationError] Authorization is required
267
- def get_project_monitored_resource_descriptor(name, quota_user: nil, fields: nil, options: nil, &block)
268
- command = make_simple_command(:get, 'v3/{+name}', options)
269
- command.response_representation = Google::Apis::MonitoringV3::MonitoredResourceDescriptor::Representation
270
- command.response_class = Google::Apis::MonitoringV3::MonitoredResourceDescriptor
271
- command.params['name'] = name unless name.nil?
272
- command.query['quotaUser'] = quota_user unless quota_user.nil?
273
- command.query['fields'] = fields unless fields.nil?
274
- execute_or_queue_command(command, &block)
275
- end
276
-
277
- # Deletes an existing group.
278
- # @param [String] name
279
- # The group to delete. The format is "projects/`project_id_or_number`/groups/`
280
- # group_id`".
281
- # @param [String] quota_user
282
- # Available to use for quota purposes for server-side applications. Can be any
283
- # arbitrary string assigned to a user, but should not exceed 40 characters.
284
- # @param [String] fields
285
- # Selector specifying which fields to include in a partial response.
286
- # @param [Google::Apis::RequestOptions] options
287
- # Request-specific options
288
- #
289
- # @yield [result, err] Result & error if block supplied
290
- # @yieldparam result [Google::Apis::MonitoringV3::Empty] parsed result object
291
- # @yieldparam err [StandardError] error object if request failed
292
- #
293
- # @return [Google::Apis::MonitoringV3::Empty]
294
- #
295
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
296
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
297
- # @raise [Google::Apis::AuthorizationError] Authorization is required
298
- def delete_project_group(name, quota_user: nil, fields: nil, options: nil, &block)
299
- command = make_simple_command(:delete, 'v3/{+name}', options)
300
- command.response_representation = Google::Apis::MonitoringV3::Empty::Representation
301
- command.response_class = Google::Apis::MonitoringV3::Empty
302
- command.params['name'] = name unless name.nil?
303
- command.query['quotaUser'] = quota_user unless quota_user.nil?
304
- command.query['fields'] = fields unless fields.nil?
305
- execute_or_queue_command(command, &block)
306
- end
307
-
308
52
  # Lists the existing groups.
309
53
  # @param [String] name
310
54
  # The project whose groups are to be listed. The format is "projects/`
311
55
  # project_id_or_number`".
312
- # @param [String] children_of_group
313
- # A group name: "projects/`project_id_or_number`/groups/`group_id`". Returns
314
- # groups whose parentName field contains the group name. If no groups have this
315
- # parent, the results are empty.
316
56
  # @param [String] descendants_of_group
317
57
  # A group name: "projects/`project_id_or_number`/groups/`group_id`". Returns the
318
58
  # descendants of the specified group. This is a superset of the results returned
@@ -329,11 +69,15 @@ module Google
329
69
  # order, starting with the immediate parent and ending with the most distant
330
70
  # ancestor. If the specified group has no immediate parent, the results are
331
71
  # empty.
72
+ # @param [String] children_of_group
73
+ # A group name: "projects/`project_id_or_number`/groups/`group_id`". Returns
74
+ # groups whose parentName field contains the group name. If no groups have this
75
+ # parent, the results are empty.
76
+ # @param [String] fields
77
+ # Selector specifying which fields to include in a partial response.
332
78
  # @param [String] quota_user
333
79
  # Available to use for quota purposes for server-side applications. Can be any
334
80
  # arbitrary string assigned to a user, but should not exceed 40 characters.
335
- # @param [String] fields
336
- # Selector specifying which fields to include in a partial response.
337
81
  # @param [Google::Apis::RequestOptions] options
338
82
  # Request-specific options
339
83
  #
@@ -346,18 +90,18 @@ module Google
346
90
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
347
91
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
348
92
  # @raise [Google::Apis::AuthorizationError] Authorization is required
349
- def list_project_groups(name, children_of_group: nil, descendants_of_group: nil, page_token: nil, page_size: nil, ancestors_of_group: nil, quota_user: nil, fields: nil, options: nil, &block)
93
+ def list_project_groups(name, descendants_of_group: nil, page_token: nil, page_size: nil, ancestors_of_group: nil, children_of_group: nil, fields: nil, quota_user: nil, options: nil, &block)
350
94
  command = make_simple_command(:get, 'v3/{+name}/groups', options)
351
95
  command.response_representation = Google::Apis::MonitoringV3::ListGroupsResponse::Representation
352
96
  command.response_class = Google::Apis::MonitoringV3::ListGroupsResponse
353
97
  command.params['name'] = name unless name.nil?
354
- command.query['childrenOfGroup'] = children_of_group unless children_of_group.nil?
355
98
  command.query['descendantsOfGroup'] = descendants_of_group unless descendants_of_group.nil?
356
99
  command.query['pageToken'] = page_token unless page_token.nil?
357
100
  command.query['pageSize'] = page_size unless page_size.nil?
358
101
  command.query['ancestorsOfGroup'] = ancestors_of_group unless ancestors_of_group.nil?
359
- command.query['quotaUser'] = quota_user unless quota_user.nil?
102
+ command.query['childrenOfGroup'] = children_of_group unless children_of_group.nil?
360
103
  command.query['fields'] = fields unless fields.nil?
104
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
361
105
  execute_or_queue_command(command, &block)
362
106
  end
363
107
 
@@ -365,11 +109,11 @@ module Google
365
109
  # @param [String] name
366
110
  # The group to retrieve. The format is "projects/`project_id_or_number`/groups/`
367
111
  # group_id`".
112
+ # @param [String] fields
113
+ # Selector specifying which fields to include in a partial response.
368
114
  # @param [String] quota_user
369
115
  # Available to use for quota purposes for server-side applications. Can be any
370
116
  # arbitrary string assigned to a user, but should not exceed 40 characters.
371
- # @param [String] fields
372
- # Selector specifying which fields to include in a partial response.
373
117
  # @param [Google::Apis::RequestOptions] options
374
118
  # Request-specific options
375
119
  #
@@ -382,13 +126,13 @@ module Google
382
126
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
383
127
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
384
128
  # @raise [Google::Apis::AuthorizationError] Authorization is required
385
- def get_project_group(name, quota_user: nil, fields: nil, options: nil, &block)
129
+ def get_project_group(name, fields: nil, quota_user: nil, options: nil, &block)
386
130
  command = make_simple_command(:get, 'v3/{+name}', options)
387
131
  command.response_representation = Google::Apis::MonitoringV3::Group::Representation
388
132
  command.response_class = Google::Apis::MonitoringV3::Group
389
133
  command.params['name'] = name unless name.nil?
390
- command.query['quotaUser'] = quota_user unless quota_user.nil?
391
134
  command.query['fields'] = fields unless fields.nil?
135
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
392
136
  execute_or_queue_command(command, &block)
393
137
  end
394
138
 
@@ -401,11 +145,11 @@ module Google
401
145
  # @param [Google::Apis::MonitoringV3::Group] group_object
402
146
  # @param [Boolean] validate_only
403
147
  # If true, validate this request but do not update the existing group.
148
+ # @param [String] fields
149
+ # Selector specifying which fields to include in a partial response.
404
150
  # @param [String] quota_user
405
151
  # Available to use for quota purposes for server-side applications. Can be any
406
152
  # arbitrary string assigned to a user, but should not exceed 40 characters.
407
- # @param [String] fields
408
- # Selector specifying which fields to include in a partial response.
409
153
  # @param [Google::Apis::RequestOptions] options
410
154
  # Request-specific options
411
155
  #
@@ -418,7 +162,7 @@ module Google
418
162
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
419
163
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
420
164
  # @raise [Google::Apis::AuthorizationError] Authorization is required
421
- def update_project_group(name, group_object = nil, validate_only: nil, quota_user: nil, fields: nil, options: nil, &block)
165
+ def update_project_group(name, group_object = nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
422
166
  command = make_simple_command(:put, 'v3/{+name}', options)
423
167
  command.request_representation = Google::Apis::MonitoringV3::Group::Representation
424
168
  command.request_object = group_object
@@ -426,8 +170,8 @@ module Google
426
170
  command.response_class = Google::Apis::MonitoringV3::Group
427
171
  command.params['name'] = name unless name.nil?
428
172
  command.query['validateOnly'] = validate_only unless validate_only.nil?
429
- command.query['quotaUser'] = quota_user unless quota_user.nil?
430
173
  command.query['fields'] = fields unless fields.nil?
174
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
431
175
  execute_or_queue_command(command, &block)
432
176
  end
433
177
 
@@ -438,11 +182,11 @@ module Google
438
182
  # @param [Google::Apis::MonitoringV3::Group] group_object
439
183
  # @param [Boolean] validate_only
440
184
  # If true, validate this request but do not create the group.
185
+ # @param [String] fields
186
+ # Selector specifying which fields to include in a partial response.
441
187
  # @param [String] quota_user
442
188
  # Available to use for quota purposes for server-side applications. Can be any
443
189
  # arbitrary string assigned to a user, but should not exceed 40 characters.
444
- # @param [String] fields
445
- # Selector specifying which fields to include in a partial response.
446
190
  # @param [Google::Apis::RequestOptions] options
447
191
  # Request-specific options
448
192
  #
@@ -455,7 +199,7 @@ module Google
455
199
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
456
200
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
457
201
  # @raise [Google::Apis::AuthorizationError] Authorization is required
458
- def create_project_group(name, group_object = nil, validate_only: nil, quota_user: nil, fields: nil, options: nil, &block)
202
+ def create_project_group(name, group_object = nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
459
203
  command = make_simple_command(:post, 'v3/{+name}/groups', options)
460
204
  command.request_representation = Google::Apis::MonitoringV3::Group::Representation
461
205
  command.request_object = group_object
@@ -463,8 +207,39 @@ module Google
463
207
  command.response_class = Google::Apis::MonitoringV3::Group
464
208
  command.params['name'] = name unless name.nil?
465
209
  command.query['validateOnly'] = validate_only unless validate_only.nil?
210
+ command.query['fields'] = fields unless fields.nil?
466
211
  command.query['quotaUser'] = quota_user unless quota_user.nil?
212
+ execute_or_queue_command(command, &block)
213
+ end
214
+
215
+ # Deletes an existing group.
216
+ # @param [String] name
217
+ # The group to delete. The format is "projects/`project_id_or_number`/groups/`
218
+ # group_id`".
219
+ # @param [String] fields
220
+ # Selector specifying which fields to include in a partial response.
221
+ # @param [String] quota_user
222
+ # Available to use for quota purposes for server-side applications. Can be any
223
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
224
+ # @param [Google::Apis::RequestOptions] options
225
+ # Request-specific options
226
+ #
227
+ # @yield [result, err] Result & error if block supplied
228
+ # @yieldparam result [Google::Apis::MonitoringV3::Empty] parsed result object
229
+ # @yieldparam err [StandardError] error object if request failed
230
+ #
231
+ # @return [Google::Apis::MonitoringV3::Empty]
232
+ #
233
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
234
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
235
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
236
+ def delete_project_group(name, fields: nil, quota_user: nil, options: nil, &block)
237
+ command = make_simple_command(:delete, 'v3/{+name}', options)
238
+ command.response_representation = Google::Apis::MonitoringV3::Empty::Representation
239
+ command.response_class = Google::Apis::MonitoringV3::Empty
240
+ command.params['name'] = name unless name.nil?
467
241
  command.query['fields'] = fields unless fields.nil?
242
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
468
243
  execute_or_queue_command(command, &block)
469
244
  end
470
245
 
@@ -484,16 +259,16 @@ module Google
484
259
  # If this field is not empty then it must contain the nextPageToken value
485
260
  # returned by a previous call to this method. Using this field causes the method
486
261
  # to return additional results from the previous method call.
262
+ # @param [Fixnum] page_size
263
+ # A positive number that is the maximum number of results to return.
487
264
  # @param [String] interval_start_time
488
265
  # Optional. The beginning of the time interval. The default value for the start
489
266
  # time is the end time. The start time must not be later than the end time.
490
- # @param [Fixnum] page_size
491
- # A positive number that is the maximum number of results to return.
267
+ # @param [String] fields
268
+ # Selector specifying which fields to include in a partial response.
492
269
  # @param [String] quota_user
493
270
  # Available to use for quota purposes for server-side applications. Can be any
494
271
  # arbitrary string assigned to a user, but should not exceed 40 characters.
495
- # @param [String] fields
496
- # Selector specifying which fields to include in a partial response.
497
272
  # @param [Google::Apis::RequestOptions] options
498
273
  # Request-specific options
499
274
  #
@@ -506,7 +281,7 @@ module Google
506
281
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
507
282
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
508
283
  # @raise [Google::Apis::AuthorizationError] Authorization is required
509
- def list_project_group_members(name, interval_end_time: nil, filter: nil, page_token: nil, interval_start_time: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
284
+ def list_project_group_members(name, interval_end_time: nil, filter: nil, page_token: nil, page_size: nil, interval_start_time: nil, fields: nil, quota_user: nil, options: nil, &block)
510
285
  command = make_simple_command(:get, 'v3/{+name}/members', options)
511
286
  command.response_representation = Google::Apis::MonitoringV3::ListGroupMembersResponse::Representation
512
287
  command.response_class = Google::Apis::MonitoringV3::ListGroupMembersResponse
@@ -514,10 +289,10 @@ module Google
514
289
  command.query['interval.endTime'] = interval_end_time unless interval_end_time.nil?
515
290
  command.query['filter'] = filter unless filter.nil?
516
291
  command.query['pageToken'] = page_token unless page_token.nil?
517
- command.query['interval.startTime'] = interval_start_time unless interval_start_time.nil?
518
292
  command.query['pageSize'] = page_size unless page_size.nil?
519
- command.query['quotaUser'] = quota_user unless quota_user.nil?
293
+ command.query['interval.startTime'] = interval_start_time unless interval_start_time.nil?
520
294
  command.query['fields'] = fields unless fields.nil?
295
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
521
296
  execute_or_queue_command(command, &block)
522
297
  end
523
298
 
@@ -528,11 +303,11 @@ module Google
528
303
  # The project in which to create the time series. The format is "projects/
529
304
  # PROJECT_ID_OR_NUMBER".
530
305
  # @param [Google::Apis::MonitoringV3::CreateCollectdTimeSeriesRequest] create_collectd_time_series_request_object
306
+ # @param [String] fields
307
+ # Selector specifying which fields to include in a partial response.
531
308
  # @param [String] quota_user
532
309
  # Available to use for quota purposes for server-side applications. Can be any
533
310
  # arbitrary string assigned to a user, but should not exceed 40 characters.
534
- # @param [String] fields
535
- # Selector specifying which fields to include in a partial response.
536
311
  # @param [Google::Apis::RequestOptions] options
537
312
  # Request-specific options
538
313
  #
@@ -545,15 +320,15 @@ module Google
545
320
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
546
321
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
547
322
  # @raise [Google::Apis::AuthorizationError] Authorization is required
548
- def create_collectd_time_series(name, create_collectd_time_series_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
323
+ def create_collectd_time_series(name, create_collectd_time_series_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
549
324
  command = make_simple_command(:post, 'v3/{+name}/collectdTimeSeries', options)
550
325
  command.request_representation = Google::Apis::MonitoringV3::CreateCollectdTimeSeriesRequest::Representation
551
326
  command.request_object = create_collectd_time_series_request_object
552
327
  command.response_representation = Google::Apis::MonitoringV3::Empty::Representation
553
328
  command.response_class = Google::Apis::MonitoringV3::Empty
554
329
  command.params['name'] = name unless name.nil?
555
- command.query['quotaUser'] = quota_user unless quota_user.nil?
556
330
  command.query['fields'] = fields unless fields.nil?
331
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
557
332
  execute_or_queue_command(command, &block)
558
333
  end
559
334
 
@@ -604,6 +379,10 @@ module Google
604
379
  # labels and other information. For example:
605
380
  # metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
606
381
  # metric.label.instance_name = "my-instance-name"
382
+ # @param [String] page_token
383
+ # If this field is not empty then it must contain the nextPageToken value
384
+ # returned by a previous call to this method. Using this field causes the method
385
+ # to return additional results from the previous method call.
607
386
  # @param [String] aggregation_per_series_aligner
608
387
  # The approach to be used to align individual time series. Not all alignment
609
388
  # functions may be applied to all time series, depending on the metric type and
@@ -612,20 +391,16 @@ module Google
612
391
  # to perform cross-time series reduction. If crossSeriesReducer is specified,
613
392
  # then perSeriesAligner must be specified and not equal ALIGN_NONE and
614
393
  # alignmentPeriod must be specified; otherwise, an error is returned.
615
- # @param [String] page_token
616
- # If this field is not empty then it must contain the nextPageToken value
617
- # returned by a previous call to this method. Using this field causes the method
618
- # to return additional results from the previous method call.
619
394
  # @param [String] interval_start_time
620
395
  # Optional. The beginning of the time interval. The default value for the start
621
396
  # time is the end time. The start time must not be later than the end time.
622
397
  # @param [String] view
623
398
  # Specifies which information is returned about the time series.
399
+ # @param [String] fields
400
+ # Selector specifying which fields to include in a partial response.
624
401
  # @param [String] quota_user
625
402
  # Available to use for quota purposes for server-side applications. Can be any
626
403
  # arbitrary string assigned to a user, but should not exceed 40 characters.
627
- # @param [String] fields
628
- # Selector specifying which fields to include in a partial response.
629
404
  # @param [Google::Apis::RequestOptions] options
630
405
  # Request-specific options
631
406
  #
@@ -638,7 +413,7 @@ module Google
638
413
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
639
414
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
640
415
  # @raise [Google::Apis::AuthorizationError] Authorization is required
641
- def list_project_time_series(name, aggregation_group_by_fields: nil, interval_end_time: nil, aggregation_alignment_period: nil, page_size: nil, order_by: nil, aggregation_cross_series_reducer: nil, filter: nil, aggregation_per_series_aligner: nil, page_token: nil, interval_start_time: nil, view: nil, quota_user: nil, fields: nil, options: nil, &block)
416
+ def list_project_time_series(name, aggregation_group_by_fields: nil, interval_end_time: nil, aggregation_alignment_period: nil, page_size: nil, order_by: nil, aggregation_cross_series_reducer: nil, filter: nil, page_token: nil, aggregation_per_series_aligner: nil, interval_start_time: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
642
417
  command = make_simple_command(:get, 'v3/{+name}/timeSeries', options)
643
418
  command.response_representation = Google::Apis::MonitoringV3::ListTimeSeriesResponse::Representation
644
419
  command.response_class = Google::Apis::MonitoringV3::ListTimeSeriesResponse
@@ -650,12 +425,12 @@ module Google
650
425
  command.query['orderBy'] = order_by unless order_by.nil?
651
426
  command.query['aggregation.crossSeriesReducer'] = aggregation_cross_series_reducer unless aggregation_cross_series_reducer.nil?
652
427
  command.query['filter'] = filter unless filter.nil?
653
- command.query['aggregation.perSeriesAligner'] = aggregation_per_series_aligner unless aggregation_per_series_aligner.nil?
654
428
  command.query['pageToken'] = page_token unless page_token.nil?
429
+ command.query['aggregation.perSeriesAligner'] = aggregation_per_series_aligner unless aggregation_per_series_aligner.nil?
655
430
  command.query['interval.startTime'] = interval_start_time unless interval_start_time.nil?
656
431
  command.query['view'] = view unless view.nil?
657
- command.query['quotaUser'] = quota_user unless quota_user.nil?
658
432
  command.query['fields'] = fields unless fields.nil?
433
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
659
434
  execute_or_queue_command(command, &block)
660
435
  end
661
436
 
@@ -666,11 +441,11 @@ module Google
666
441
  # The project on which to execute the request. The format is "projects/`
667
442
  # project_id_or_number`".
668
443
  # @param [Google::Apis::MonitoringV3::CreateTimeSeriesRequest] create_time_series_request_object
444
+ # @param [String] fields
445
+ # Selector specifying which fields to include in a partial response.
669
446
  # @param [String] quota_user
670
447
  # Available to use for quota purposes for server-side applications. Can be any
671
448
  # arbitrary string assigned to a user, but should not exceed 40 characters.
672
- # @param [String] fields
673
- # Selector specifying which fields to include in a partial response.
674
449
  # @param [Google::Apis::RequestOptions] options
675
450
  # Request-specific options
676
451
  #
@@ -683,15 +458,240 @@ module Google
683
458
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
684
459
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
685
460
  # @raise [Google::Apis::AuthorizationError] Authorization is required
686
- def create_time_series(name, create_time_series_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
461
+ def create_time_series(name, create_time_series_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
687
462
  command = make_simple_command(:post, 'v3/{+name}/timeSeries', options)
688
463
  command.request_representation = Google::Apis::MonitoringV3::CreateTimeSeriesRequest::Representation
689
464
  command.request_object = create_time_series_request_object
690
465
  command.response_representation = Google::Apis::MonitoringV3::Empty::Representation
691
466
  command.response_class = Google::Apis::MonitoringV3::Empty
692
467
  command.params['name'] = name unless name.nil?
468
+ command.query['fields'] = fields unless fields.nil?
469
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
470
+ execute_or_queue_command(command, &block)
471
+ end
472
+
473
+ # Creates a new metric descriptor. User-created metric descriptors define custom
474
+ # metrics.
475
+ # @param [String] name
476
+ # The project on which to execute the request. The format is "projects/`
477
+ # project_id_or_number`".
478
+ # @param [Google::Apis::MonitoringV3::MetricDescriptor] metric_descriptor_object
479
+ # @param [String] fields
480
+ # Selector specifying which fields to include in a partial response.
481
+ # @param [String] quota_user
482
+ # Available to use for quota purposes for server-side applications. Can be any
483
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
484
+ # @param [Google::Apis::RequestOptions] options
485
+ # Request-specific options
486
+ #
487
+ # @yield [result, err] Result & error if block supplied
488
+ # @yieldparam result [Google::Apis::MonitoringV3::MetricDescriptor] parsed result object
489
+ # @yieldparam err [StandardError] error object if request failed
490
+ #
491
+ # @return [Google::Apis::MonitoringV3::MetricDescriptor]
492
+ #
493
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
494
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
495
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
496
+ def create_project_metric_descriptor(name, metric_descriptor_object = nil, fields: nil, quota_user: nil, options: nil, &block)
497
+ command = make_simple_command(:post, 'v3/{+name}/metricDescriptors', options)
498
+ command.request_representation = Google::Apis::MonitoringV3::MetricDescriptor::Representation
499
+ command.request_object = metric_descriptor_object
500
+ command.response_representation = Google::Apis::MonitoringV3::MetricDescriptor::Representation
501
+ command.response_class = Google::Apis::MonitoringV3::MetricDescriptor
502
+ command.params['name'] = name unless name.nil?
503
+ command.query['fields'] = fields unless fields.nil?
504
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
505
+ execute_or_queue_command(command, &block)
506
+ end
507
+
508
+ # Deletes a metric descriptor. Only user-created custom metrics can be deleted.
509
+ # @param [String] name
510
+ # The metric descriptor on which to execute the request. The format is "projects/
511
+ # `project_id_or_number`/metricDescriptors/`metric_id`". An example of `
512
+ # metric_id` is: "custom.googleapis.com/my_test_metric".
513
+ # @param [String] fields
514
+ # Selector specifying which fields to include in a partial response.
515
+ # @param [String] quota_user
516
+ # Available to use for quota purposes for server-side applications. Can be any
517
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
518
+ # @param [Google::Apis::RequestOptions] options
519
+ # Request-specific options
520
+ #
521
+ # @yield [result, err] Result & error if block supplied
522
+ # @yieldparam result [Google::Apis::MonitoringV3::Empty] parsed result object
523
+ # @yieldparam err [StandardError] error object if request failed
524
+ #
525
+ # @return [Google::Apis::MonitoringV3::Empty]
526
+ #
527
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
528
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
529
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
530
+ def delete_project_metric_descriptor(name, fields: nil, quota_user: nil, options: nil, &block)
531
+ command = make_simple_command(:delete, 'v3/{+name}', options)
532
+ command.response_representation = Google::Apis::MonitoringV3::Empty::Representation
533
+ command.response_class = Google::Apis::MonitoringV3::Empty
534
+ command.params['name'] = name unless name.nil?
535
+ command.query['fields'] = fields unless fields.nil?
536
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
537
+ execute_or_queue_command(command, &block)
538
+ end
539
+
540
+ # Lists metric descriptors that match a filter. This method does not require a
541
+ # Stackdriver account.
542
+ # @param [String] name
543
+ # The project on which to execute the request. The format is "projects/`
544
+ # project_id_or_number`".
545
+ # @param [String] filter
546
+ # If this field is empty, all custom and system-defined metric descriptors are
547
+ # returned. Otherwise, the filter specifies which metric descriptors are to be
548
+ # returned. For example, the following filter matches all custom metrics:
549
+ # metric.type = starts_with("custom.googleapis.com/")
550
+ # @param [String] page_token
551
+ # If this field is not empty then it must contain the nextPageToken value
552
+ # returned by a previous call to this method. Using this field causes the method
553
+ # to return additional results from the previous method call.
554
+ # @param [Fixnum] page_size
555
+ # A positive number that is the maximum number of results to return.
556
+ # @param [String] fields
557
+ # Selector specifying which fields to include in a partial response.
558
+ # @param [String] quota_user
559
+ # Available to use for quota purposes for server-side applications. Can be any
560
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
561
+ # @param [Google::Apis::RequestOptions] options
562
+ # Request-specific options
563
+ #
564
+ # @yield [result, err] Result & error if block supplied
565
+ # @yieldparam result [Google::Apis::MonitoringV3::ListMetricDescriptorsResponse] parsed result object
566
+ # @yieldparam err [StandardError] error object if request failed
567
+ #
568
+ # @return [Google::Apis::MonitoringV3::ListMetricDescriptorsResponse]
569
+ #
570
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
571
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
572
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
573
+ def list_project_metric_descriptors(name, filter: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
574
+ command = make_simple_command(:get, 'v3/{+name}/metricDescriptors', options)
575
+ command.response_representation = Google::Apis::MonitoringV3::ListMetricDescriptorsResponse::Representation
576
+ command.response_class = Google::Apis::MonitoringV3::ListMetricDescriptorsResponse
577
+ command.params['name'] = name unless name.nil?
578
+ command.query['filter'] = filter unless filter.nil?
579
+ command.query['pageToken'] = page_token unless page_token.nil?
580
+ command.query['pageSize'] = page_size unless page_size.nil?
581
+ command.query['fields'] = fields unless fields.nil?
582
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
583
+ execute_or_queue_command(command, &block)
584
+ end
585
+
586
+ # Gets a single metric descriptor. This method does not require a Stackdriver
587
+ # account.
588
+ # @param [String] name
589
+ # The metric descriptor on which to execute the request. The format is "projects/
590
+ # `project_id_or_number`/metricDescriptors/`metric_id`". An example value of `
591
+ # metric_id` is "compute.googleapis.com/instance/disk/read_bytes_count".
592
+ # @param [String] fields
593
+ # Selector specifying which fields to include in a partial response.
594
+ # @param [String] quota_user
595
+ # Available to use for quota purposes for server-side applications. Can be any
596
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
597
+ # @param [Google::Apis::RequestOptions] options
598
+ # Request-specific options
599
+ #
600
+ # @yield [result, err] Result & error if block supplied
601
+ # @yieldparam result [Google::Apis::MonitoringV3::MetricDescriptor] parsed result object
602
+ # @yieldparam err [StandardError] error object if request failed
603
+ #
604
+ # @return [Google::Apis::MonitoringV3::MetricDescriptor]
605
+ #
606
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
607
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
608
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
609
+ def get_project_metric_descriptor(name, fields: nil, quota_user: nil, options: nil, &block)
610
+ command = make_simple_command(:get, 'v3/{+name}', options)
611
+ command.response_representation = Google::Apis::MonitoringV3::MetricDescriptor::Representation
612
+ command.response_class = Google::Apis::MonitoringV3::MetricDescriptor
613
+ command.params['name'] = name unless name.nil?
614
+ command.query['fields'] = fields unless fields.nil?
615
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
616
+ execute_or_queue_command(command, &block)
617
+ end
618
+
619
+ # Lists monitored resource descriptors that match a filter. This method does not
620
+ # require a Stackdriver account.
621
+ # @param [String] name
622
+ # The project on which to execute the request. The format is "projects/`
623
+ # project_id_or_number`".
624
+ # @param [String] filter
625
+ # An optional filter describing the descriptors to be returned. The filter can
626
+ # reference the descriptor's type and labels. For example, the following filter
627
+ # returns only Google Compute Engine descriptors that have an id label:
628
+ # resource.type = starts_with("gce_") AND resource.label:id
629
+ # @param [String] page_token
630
+ # If this field is not empty then it must contain the nextPageToken value
631
+ # returned by a previous call to this method. Using this field causes the method
632
+ # to return additional results from the previous method call.
633
+ # @param [Fixnum] page_size
634
+ # A positive number that is the maximum number of results to return.
635
+ # @param [String] fields
636
+ # Selector specifying which fields to include in a partial response.
637
+ # @param [String] quota_user
638
+ # Available to use for quota purposes for server-side applications. Can be any
639
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
640
+ # @param [Google::Apis::RequestOptions] options
641
+ # Request-specific options
642
+ #
643
+ # @yield [result, err] Result & error if block supplied
644
+ # @yieldparam result [Google::Apis::MonitoringV3::ListMonitoredResourceDescriptorsResponse] parsed result object
645
+ # @yieldparam err [StandardError] error object if request failed
646
+ #
647
+ # @return [Google::Apis::MonitoringV3::ListMonitoredResourceDescriptorsResponse]
648
+ #
649
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
650
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
651
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
652
+ def list_project_monitored_resource_descriptors(name, filter: nil, page_token: nil, page_size: nil, fields: nil, quota_user: nil, options: nil, &block)
653
+ command = make_simple_command(:get, 'v3/{+name}/monitoredResourceDescriptors', options)
654
+ command.response_representation = Google::Apis::MonitoringV3::ListMonitoredResourceDescriptorsResponse::Representation
655
+ command.response_class = Google::Apis::MonitoringV3::ListMonitoredResourceDescriptorsResponse
656
+ command.params['name'] = name unless name.nil?
657
+ command.query['filter'] = filter unless filter.nil?
658
+ command.query['pageToken'] = page_token unless page_token.nil?
659
+ command.query['pageSize'] = page_size unless page_size.nil?
660
+ command.query['fields'] = fields unless fields.nil?
693
661
  command.query['quotaUser'] = quota_user unless quota_user.nil?
662
+ execute_or_queue_command(command, &block)
663
+ end
664
+
665
+ # Gets a single monitored resource descriptor. This method does not require a
666
+ # Stackdriver account.
667
+ # @param [String] name
668
+ # The monitored resource descriptor to get. The format is "projects/`
669
+ # project_id_or_number`/monitoredResourceDescriptors/`resource_type`". The `
670
+ # resource_type` is a predefined type, such as cloudsql_database.
671
+ # @param [String] fields
672
+ # Selector specifying which fields to include in a partial response.
673
+ # @param [String] quota_user
674
+ # Available to use for quota purposes for server-side applications. Can be any
675
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
676
+ # @param [Google::Apis::RequestOptions] options
677
+ # Request-specific options
678
+ #
679
+ # @yield [result, err] Result & error if block supplied
680
+ # @yieldparam result [Google::Apis::MonitoringV3::MonitoredResourceDescriptor] parsed result object
681
+ # @yieldparam err [StandardError] error object if request failed
682
+ #
683
+ # @return [Google::Apis::MonitoringV3::MonitoredResourceDescriptor]
684
+ #
685
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
686
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
687
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
688
+ def get_project_monitored_resource_descriptor(name, fields: nil, quota_user: nil, options: nil, &block)
689
+ command = make_simple_command(:get, 'v3/{+name}', options)
690
+ command.response_representation = Google::Apis::MonitoringV3::MonitoredResourceDescriptor::Representation
691
+ command.response_class = Google::Apis::MonitoringV3::MonitoredResourceDescriptor
692
+ command.params['name'] = name unless name.nil?
694
693
  command.query['fields'] = fields unless fields.nil?
694
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
695
695
  execute_or_queue_command(command, &block)
696
696
  end
697
697