lemboy-google-api-client 0.9.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (555) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +20 -0
  3. data/.rspec +2 -0
  4. data/.rubocop.yml +7 -0
  5. data/.rubocop_todo.yml +63 -0
  6. data/.travis.yml +27 -0
  7. data/.yardopts +12 -0
  8. data/CHANGELOG.md +309 -0
  9. data/CONTRIBUTING.md +31 -0
  10. data/Gemfile +53 -0
  11. data/LICENSE +202 -0
  12. data/MIGRATING.md +171 -0
  13. data/README.md +327 -0
  14. data/Rakefile +2 -0
  15. data/api_names.yaml +36215 -0
  16. data/bin/generate-api +109 -0
  17. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +35 -0
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +298 -0
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +122 -0
  20. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +458 -0
  21. data/generated/google/apis/adexchangebuyer_v1_3.rb +35 -0
  22. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +1335 -0
  23. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +446 -0
  24. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +872 -0
  25. data/generated/google/apis/adexchangebuyer_v1_4.rb +35 -0
  26. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +3550 -0
  27. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1421 -0
  28. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +1538 -0
  29. data/generated/google/apis/adexchangeseller_v2_0.rb +37 -0
  30. data/generated/google/apis/adexchangeseller_v2_0/classes.rb +792 -0
  31. data/generated/google/apis/adexchangeseller_v2_0/representations.rb +347 -0
  32. data/generated/google/apis/adexchangeseller_v2_0/service.rb +667 -0
  33. data/generated/google/apis/admin_datatransfer_v1.rb +37 -0
  34. data/generated/google/apis/admin_datatransfer_v1/classes.rb +267 -0
  35. data/generated/google/apis/admin_datatransfer_v1/representations.rb +130 -0
  36. data/generated/google/apis/admin_datatransfer_v1/service.rb +262 -0
  37. data/generated/google/apis/admin_directory_v1.rb +113 -0
  38. data/generated/google/apis/admin_directory_v1/classes.rb +3241 -0
  39. data/generated/google/apis/admin_directory_v1/representations.rb +1172 -0
  40. data/generated/google/apis/admin_directory_v1/service.rb +3857 -0
  41. data/generated/google/apis/admin_reports_v1.rb +38 -0
  42. data/generated/google/apis/admin_reports_v1/classes.rb +582 -0
  43. data/generated/google/apis/admin_reports_v1/representations.rb +257 -0
  44. data/generated/google/apis/admin_reports_v1/service.rb +336 -0
  45. data/generated/google/apis/adsense_v1_4.rb +37 -0
  46. data/generated/google/apis/adsense_v1_4/classes.rb +1280 -0
  47. data/generated/google/apis/adsense_v1_4/representations.rb +555 -0
  48. data/generated/google/apis/adsense_v1_4/service.rb +1713 -0
  49. data/generated/google/apis/adsensehost_v4_1.rb +35 -0
  50. data/generated/google/apis/adsensehost_v4_1/classes.rb +836 -0
  51. data/generated/google/apis/adsensehost_v4_1/representations.rb +367 -0
  52. data/generated/google/apis/adsensehost_v4_1/service.rb +1164 -0
  53. data/generated/google/apis/analytics_v3.rb +49 -0
  54. data/generated/google/apis/analytics_v3/classes.rb +5536 -0
  55. data/generated/google/apis/analytics_v3/representations.rb +1992 -0
  56. data/generated/google/apis/analytics_v3/service.rb +3785 -0
  57. data/generated/google/apis/analyticsreporting_v4.rb +37 -0
  58. data/generated/google/apis/analyticsreporting_v4/classes.rb +1420 -0
  59. data/generated/google/apis/analyticsreporting_v4/representations.rb +598 -0
  60. data/generated/google/apis/analyticsreporting_v4/service.rb +88 -0
  61. data/generated/google/apis/androidenterprise_v1.rb +34 -0
  62. data/generated/google/apis/androidenterprise_v1/classes.rb +2250 -0
  63. data/generated/google/apis/androidenterprise_v1/representations.rb +970 -0
  64. data/generated/google/apis/androidenterprise_v1/service.rb +3267 -0
  65. data/generated/google/apis/androidpublisher_v2.rb +34 -0
  66. data/generated/google/apis/androidpublisher_v2/classes.rb +1941 -0
  67. data/generated/google/apis/androidpublisher_v2/representations.rb +975 -0
  68. data/generated/google/apis/androidpublisher_v2/service.rb +2572 -0
  69. data/generated/google/apis/appengine_v1beta4.rb +35 -0
  70. data/generated/google/apis/appengine_v1beta4/classes.rb +1585 -0
  71. data/generated/google/apis/appengine_v1beta4/representations.rb +542 -0
  72. data/generated/google/apis/appengine_v1beta4/service.rb +477 -0
  73. data/generated/google/apis/appengine_v1beta5.rb +40 -0
  74. data/generated/google/apis/appengine_v1beta5/classes.rb +1984 -0
  75. data/generated/google/apis/appengine_v1beta5/representations.rb +765 -0
  76. data/generated/google/apis/appengine_v1beta5/service.rb +864 -0
  77. data/generated/google/apis/appsactivity_v1.rb +46 -0
  78. data/generated/google/apis/appsactivity_v1/classes.rb +415 -0
  79. data/generated/google/apis/appsactivity_v1/representations.rb +209 -0
  80. data/generated/google/apis/appsactivity_v1/service.rb +128 -0
  81. data/generated/google/apis/appstate_v1.rb +34 -0
  82. data/generated/google/apis/appstate_v1/classes.rb +154 -0
  83. data/generated/google/apis/appstate_v1/representations.rb +87 -0
  84. data/generated/google/apis/appstate_v1/service.rb +260 -0
  85. data/generated/google/apis/autoscaler_v1beta2.rb +38 -0
  86. data/generated/google/apis/autoscaler_v1beta2/classes.rb +710 -0
  87. data/generated/google/apis/autoscaler_v1beta2/representations.rb +296 -0
  88. data/generated/google/apis/autoscaler_v1beta2/service.rb +478 -0
  89. data/generated/google/apis/bigquery_v2.rb +52 -0
  90. data/generated/google/apis/bigquery_v2/classes.rb +3081 -0
  91. data/generated/google/apis/bigquery_v2/representations.rb +1094 -0
  92. data/generated/google/apis/bigquery_v2/service.rb +988 -0
  93. data/generated/google/apis/blogger_v3.rb +37 -0
  94. data/generated/google/apis/blogger_v3/classes.rb +1354 -0
  95. data/generated/google/apis/blogger_v3/representations.rb +632 -0
  96. data/generated/google/apis/blogger_v3/service.rb +1587 -0
  97. data/generated/google/apis/books_v1.rb +34 -0
  98. data/generated/google/apis/books_v1/classes.rb +4160 -0
  99. data/generated/google/apis/books_v1/representations.rb +1799 -0
  100. data/generated/google/apis/books_v1/service.rb +2300 -0
  101. data/generated/google/apis/calendar_v3.rb +37 -0
  102. data/generated/google/apis/calendar_v3/classes.rb +1742 -0
  103. data/generated/google/apis/calendar_v3/representations.rb +631 -0
  104. data/generated/google/apis/calendar_v3/service.rb +1968 -0
  105. data/generated/google/apis/civicinfo_v2.rb +32 -0
  106. data/generated/google/apis/civicinfo_v2/classes.rb +1499 -0
  107. data/generated/google/apis/civicinfo_v2/representations.rb +572 -0
  108. data/generated/google/apis/civicinfo_v2/service.rb +300 -0
  109. data/generated/google/apis/classroom_v1.rb +70 -0
  110. data/generated/google/apis/classroom_v1/classes.rb +1572 -0
  111. data/generated/google/apis/classroom_v1/representations.rb +729 -0
  112. data/generated/google/apis/classroom_v1/service.rb +1945 -0
  113. data/generated/google/apis/classroom_v1beta1.rb +49 -0
  114. data/generated/google/apis/classroom_v1beta1/classes.rb +447 -0
  115. data/generated/google/apis/classroom_v1beta1/representations.rb +190 -0
  116. data/generated/google/apis/classroom_v1beta1/service.rb +791 -0
  117. data/generated/google/apis/cloudbilling_v1.rb +35 -0
  118. data/generated/google/apis/cloudbilling_v1/classes.rb +169 -0
  119. data/generated/google/apis/cloudbilling_v1/representations.rb +87 -0
  120. data/generated/google/apis/cloudbilling_v1/service.rb +258 -0
  121. data/generated/google/apis/cloudbuild_v1.rb +34 -0
  122. data/generated/google/apis/cloudbuild_v1/classes.rb +919 -0
  123. data/generated/google/apis/cloudbuild_v1/representations.rb +364 -0
  124. data/generated/google/apis/cloudbuild_v1/service.rb +492 -0
  125. data/generated/google/apis/clouddebugger_v2.rb +38 -0
  126. data/generated/google/apis/clouddebugger_v2/classes.rb +1081 -0
  127. data/generated/google/apis/clouddebugger_v2/representations.rb +465 -0
  128. data/generated/google/apis/clouddebugger_v2/service.rb +396 -0
  129. data/generated/google/apis/cloudkms_v1beta1.rb +34 -0
  130. data/generated/google/apis/cloudkms_v1beta1/classes.rb +999 -0
  131. data/generated/google/apis/cloudkms_v1beta1/representations.rb +448 -0
  132. data/generated/google/apis/cloudkms_v1beta1/service.rb +932 -0
  133. data/generated/google/apis/cloudlatencytest_v2.rb +34 -0
  134. data/generated/google/apis/cloudlatencytest_v2/classes.rb +195 -0
  135. data/generated/google/apis/cloudlatencytest_v2/representations.rb +127 -0
  136. data/generated/google/apis/cloudlatencytest_v2/service.rb +135 -0
  137. data/generated/google/apis/cloudmonitoring_v2beta2.rb +37 -0
  138. data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +679 -0
  139. data/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +353 -0
  140. data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +452 -0
  141. data/generated/google/apis/cloudresourcemanager_v1.rb +38 -0
  142. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +886 -0
  143. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +359 -0
  144. data/generated/google/apis/cloudresourcemanager_v1/service.rb +686 -0
  145. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +38 -0
  146. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +682 -0
  147. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +312 -0
  148. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +710 -0
  149. data/generated/google/apis/cloudtrace_v1.rb +43 -0
  150. data/generated/google/apis/cloudtrace_v1/classes.rb +188 -0
  151. data/generated/google/apis/cloudtrace_v1/representations.rb +102 -0
  152. data/generated/google/apis/cloudtrace_v1/service.rb +192 -0
  153. data/generated/google/apis/clouduseraccounts_beta.rb +44 -0
  154. data/generated/google/apis/clouduseraccounts_beta/classes.rb +845 -0
  155. data/generated/google/apis/clouduseraccounts_beta/representations.rb +352 -0
  156. data/generated/google/apis/clouduseraccounts_beta/service.rb +907 -0
  157. data/generated/google/apis/compute_beta.rb +49 -0
  158. data/generated/google/apis/compute_beta/classes.rb +12261 -0
  159. data/generated/google/apis/compute_beta/representations.rb +4615 -0
  160. data/generated/google/apis/compute_beta/service.rb +15330 -0
  161. data/generated/google/apis/compute_v1.rb +49 -0
  162. data/generated/google/apis/compute_v1/classes.rb +11179 -0
  163. data/generated/google/apis/compute_v1/representations.rb +4203 -0
  164. data/generated/google/apis/compute_v1/service.rb +12937 -0
  165. data/generated/google/apis/container_v1.rb +35 -0
  166. data/generated/google/apis/container_v1/classes.rb +1040 -0
  167. data/generated/google/apis/container_v1/representations.rb +415 -0
  168. data/generated/google/apis/container_v1/service.rb +659 -0
  169. data/generated/google/apis/container_v1beta1.rb +35 -0
  170. data/generated/google/apis/container_v1beta1/classes.rb +466 -0
  171. data/generated/google/apis/container_v1beta1/representations.rb +177 -0
  172. data/generated/google/apis/container_v1beta1/service.rb +394 -0
  173. data/generated/google/apis/content_v2.rb +35 -0
  174. data/generated/google/apis/content_v2/classes.rb +6887 -0
  175. data/generated/google/apis/content_v2/representations.rb +2963 -0
  176. data/generated/google/apis/content_v2/service.rb +2653 -0
  177. data/generated/google/apis/coordinate_v1.rb +37 -0
  178. data/generated/google/apis/coordinate_v1/classes.rb +669 -0
  179. data/generated/google/apis/coordinate_v1/representations.rb +321 -0
  180. data/generated/google/apis/coordinate_v1/service.rb +678 -0
  181. data/generated/google/apis/customsearch_v1.rb +31 -0
  182. data/generated/google/apis/customsearch_v1/classes.rb +771 -0
  183. data/generated/google/apis/customsearch_v1/representations.rb +302 -0
  184. data/generated/google/apis/customsearch_v1/service.rb +207 -0
  185. data/generated/google/apis/dataflow_v1b3.rb +37 -0
  186. data/generated/google/apis/dataflow_v1b3/classes.rb +4225 -0
  187. data/generated/google/apis/dataflow_v1b3/representations.rb +1809 -0
  188. data/generated/google/apis/dataflow_v1b3/service.rb +874 -0
  189. data/generated/google/apis/dataproc_v1.rb +34 -0
  190. data/generated/google/apis/dataproc_v1/classes.rb +1716 -0
  191. data/generated/google/apis/dataproc_v1/representations.rb +678 -0
  192. data/generated/google/apis/dataproc_v1/service.rb +670 -0
  193. data/generated/google/apis/datastore_v1.rb +38 -0
  194. data/generated/google/apis/datastore_v1/classes.rb +1289 -0
  195. data/generated/google/apis/datastore_v1/representations.rb +572 -0
  196. data/generated/google/apis/datastore_v1/service.rb +259 -0
  197. data/generated/google/apis/datastore_v1beta2.rb +40 -0
  198. data/generated/google/apis/datastore_v1beta2/classes.rb +1186 -0
  199. data/generated/google/apis/datastore_v1beta2/representations.rb +594 -0
  200. data/generated/google/apis/datastore_v1beta2/service.rb +294 -0
  201. data/generated/google/apis/datastore_v1beta3.rb +38 -0
  202. data/generated/google/apis/datastore_v1beta3/classes.rb +1284 -0
  203. data/generated/google/apis/datastore_v1beta3/representations.rb +572 -0
  204. data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
  205. data/generated/google/apis/deploymentmanager_v2.rb +43 -0
  206. data/generated/google/apis/deploymentmanager_v2/classes.rb +1582 -0
  207. data/generated/google/apis/deploymentmanager_v2/representations.rb +686 -0
  208. data/generated/google/apis/deploymentmanager_v2/service.rb +1026 -0
  209. data/generated/google/apis/deploymentmanager_v2beta2.rb +44 -0
  210. data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +843 -0
  211. data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +306 -0
  212. data/generated/google/apis/deploymentmanager_v2beta2/service.rb +689 -0
  213. data/generated/google/apis/dfareporting_v2_1.rb +37 -0
  214. data/generated/google/apis/dfareporting_v2_1/classes.rb +10770 -0
  215. data/generated/google/apis/dfareporting_v2_1/representations.rb +3438 -0
  216. data/generated/google/apis/dfareporting_v2_1/service.rb +8585 -0
  217. data/generated/google/apis/dfareporting_v2_3.rb +37 -0
  218. data/generated/google/apis/dfareporting_v2_3/classes.rb +10839 -0
  219. data/generated/google/apis/dfareporting_v2_3/representations.rb +3829 -0
  220. data/generated/google/apis/dfareporting_v2_3/service.rb +8581 -0
  221. data/generated/google/apis/dfareporting_v2_5.rb +40 -0
  222. data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
  223. data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
  224. data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
  225. data/generated/google/apis/dfareporting_v2_6.rb +40 -0
  226. data/generated/google/apis/dfareporting_v2_6/classes.rb +11586 -0
  227. data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
  228. data/generated/google/apis/dfareporting_v2_6/service.rb +9025 -0
  229. data/generated/google/apis/dfareporting_v2_7.rb +40 -0
  230. data/generated/google/apis/dfareporting_v2_7/classes.rb +11876 -0
  231. data/generated/google/apis/dfareporting_v2_7/representations.rb +4243 -0
  232. data/generated/google/apis/dfareporting_v2_7/service.rb +9095 -0
  233. data/generated/google/apis/discovery_v1.rb +32 -0
  234. data/generated/google/apis/discovery_v1/classes.rb +961 -0
  235. data/generated/google/apis/discovery_v1/representations.rb +397 -0
  236. data/generated/google/apis/discovery_v1/service.rb +142 -0
  237. data/generated/google/apis/dns_v1.rb +43 -0
  238. data/generated/google/apis/dns_v1/classes.rb +406 -0
  239. data/generated/google/apis/dns_v1/representations.rb +167 -0
  240. data/generated/google/apis/dns_v1/service.rb +453 -0
  241. data/generated/google/apis/dns_v2beta1.rb +43 -0
  242. data/generated/google/apis/dns_v2beta1/classes.rb +915 -0
  243. data/generated/google/apis/dns_v2beta1/representations.rb +368 -0
  244. data/generated/google/apis/dns_v2beta1/service.rb +768 -0
  245. data/generated/google/apis/doubleclickbidmanager_v1.rb +31 -0
  246. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +795 -0
  247. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +368 -0
  248. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +376 -0
  249. data/generated/google/apis/doubleclicksearch_v2.rb +35 -0
  250. data/generated/google/apis/doubleclicksearch_v2/classes.rb +960 -0
  251. data/generated/google/apis/doubleclicksearch_v2/representations.rb +350 -0
  252. data/generated/google/apis/doubleclicksearch_v2/service.rb +480 -0
  253. data/generated/google/apis/drive_v2.rb +59 -0
  254. data/generated/google/apis/drive_v2/classes.rb +2633 -0
  255. data/generated/google/apis/drive_v2/representations.rb +885 -0
  256. data/generated/google/apis/drive_v2/service.rb +2754 -0
  257. data/generated/google/apis/drive_v3.rb +56 -0
  258. data/generated/google/apis/drive_v3/classes.rb +1611 -0
  259. data/generated/google/apis/drive_v3/representations.rb +555 -0
  260. data/generated/google/apis/drive_v3/service.rb +1553 -0
  261. data/generated/google/apis/fitness_v1.rb +85 -0
  262. data/generated/google/apis/fitness_v1/classes.rb +943 -0
  263. data/generated/google/apis/fitness_v1/representations.rb +380 -0
  264. data/generated/google/apis/fitness_v1/service.rb +674 -0
  265. data/generated/google/apis/fusiontables_v2.rb +37 -0
  266. data/generated/google/apis/fusiontables_v2/classes.rb +1049 -0
  267. data/generated/google/apis/fusiontables_v2/representations.rb +457 -0
  268. data/generated/google/apis/fusiontables_v2/service.rb +1463 -0
  269. data/generated/google/apis/games_configuration_v1configuration.rb +34 -0
  270. data/generated/google/apis/games_configuration_v1configuration/classes.rb +506 -0
  271. data/generated/google/apis/games_configuration_v1configuration/representations.rb +228 -0
  272. data/generated/google/apis/games_configuration_v1configuration/service.rb +565 -0
  273. data/generated/google/apis/games_management_v1management.rb +37 -0
  274. data/generated/google/apis/games_management_v1management/classes.rb +567 -0
  275. data/generated/google/apis/games_management_v1management/representations.rb +278 -0
  276. data/generated/google/apis/games_management_v1management/service.rb +994 -0
  277. data/generated/google/apis/games_v1.rb +40 -0
  278. data/generated/google/apis/games_v1/classes.rb +4667 -0
  279. data/generated/google/apis/games_v1/representations.rb +1800 -0
  280. data/generated/google/apis/games_v1/service.rb +2449 -0
  281. data/generated/google/apis/gan_v1beta1.rb +31 -0
  282. data/generated/google/apis/gan_v1beta1/classes.rb +1428 -0
  283. data/generated/google/apis/gan_v1beta1/representations.rb +462 -0
  284. data/generated/google/apis/gan_v1beta1/service.rb +682 -0
  285. data/generated/google/apis/genomics_v1.rb +46 -0
  286. data/generated/google/apis/genomics_v1/classes.rb +3477 -0
  287. data/generated/google/apis/genomics_v1/representations.rb +1284 -0
  288. data/generated/google/apis/genomics_v1/service.rb +2207 -0
  289. data/generated/google/apis/genomics_v1beta2.rb +46 -0
  290. data/generated/google/apis/genomics_v1beta2/classes.rb +3288 -0
  291. data/generated/google/apis/genomics_v1beta2/representations.rb +1194 -0
  292. data/generated/google/apis/genomics_v1beta2/service.rb +2392 -0
  293. data/generated/google/apis/gmail_v1.rb +61 -0
  294. data/generated/google/apis/gmail_v1/classes.rb +1382 -0
  295. data/generated/google/apis/gmail_v1/representations.rb +624 -0
  296. data/generated/google/apis/gmail_v1/service.rb +2447 -0
  297. data/generated/google/apis/groupsmigration_v1.rb +34 -0
  298. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  299. data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
  300. data/generated/google/apis/groupsmigration_v1/service.rb +110 -0
  301. data/generated/google/apis/groupssettings_v1.rb +34 -0
  302. data/generated/google/apis/groupssettings_v1/classes.rb +240 -0
  303. data/generated/google/apis/groupssettings_v1/representations.rb +69 -0
  304. data/generated/google/apis/groupssettings_v1/service.rb +179 -0
  305. data/generated/google/apis/iam_v1.rb +36 -0
  306. data/generated/google/apis/iam_v1/classes.rb +640 -0
  307. data/generated/google/apis/iam_v1/representations.rb +316 -0
  308. data/generated/google/apis/iam_v1/service.rb +554 -0
  309. data/generated/google/apis/identitytoolkit_v3.rb +37 -0
  310. data/generated/google/apis/identitytoolkit_v3/classes.rb +2182 -0
  311. data/generated/google/apis/identitytoolkit_v3/representations.rb +742 -0
  312. data/generated/google/apis/identitytoolkit_v3/service.rb +657 -0
  313. data/generated/google/apis/kgsearch_v1.rb +31 -0
  314. data/generated/google/apis/kgsearch_v1/classes.rb +59 -0
  315. data/generated/google/apis/kgsearch_v1/representations.rb +41 -0
  316. data/generated/google/apis/kgsearch_v1/service.rb +113 -0
  317. data/generated/google/apis/language_v1beta1.rb +36 -0
  318. data/generated/google/apis/language_v1beta1/classes.rb +757 -0
  319. data/generated/google/apis/language_v1beta1/representations.rb +339 -0
  320. data/generated/google/apis/language_v1beta1/service.rb +184 -0
  321. data/generated/google/apis/licensing_v1.rb +34 -0
  322. data/generated/google/apis/licensing_v1/classes.rb +132 -0
  323. data/generated/google/apis/licensing_v1/representations.rb +74 -0
  324. data/generated/google/apis/licensing_v1/service.rb +369 -0
  325. data/generated/google/apis/logging_v1beta3.rb +47 -0
  326. data/generated/google/apis/logging_v1beta3/classes.rb +1079 -0
  327. data/generated/google/apis/logging_v1beta3/representations.rb +366 -0
  328. data/generated/google/apis/logging_v1beta3/service.rb +1001 -0
  329. data/generated/google/apis/logging_v2beta1.rb +46 -0
  330. data/generated/google/apis/logging_v2beta1/classes.rb +1254 -0
  331. data/generated/google/apis/logging_v2beta1/representations.rb +421 -0
  332. data/generated/google/apis/logging_v2beta1/service.rb +788 -0
  333. data/generated/google/apis/manager_v1beta2.rb +53 -0
  334. data/generated/google/apis/manager_v1beta2/classes.rb +1287 -0
  335. data/generated/google/apis/manager_v1beta2/representations.rb +606 -0
  336. data/generated/google/apis/manager_v1beta2/service.rb +372 -0
  337. data/generated/google/apis/manufacturers_v1.rb +34 -0
  338. data/generated/google/apis/manufacturers_v1/classes.rb +258 -0
  339. data/generated/google/apis/manufacturers_v1/representations.rb +103 -0
  340. data/generated/google/apis/manufacturers_v1/service.rb +138 -0
  341. data/generated/google/apis/mirror_v1.rb +37 -0
  342. data/generated/google/apis/mirror_v1/classes.rb +1072 -0
  343. data/generated/google/apis/mirror_v1/representations.rb +390 -0
  344. data/generated/google/apis/mirror_v1/service.rb +977 -0
  345. data/generated/google/apis/monitoring_v3.rb +45 -0
  346. data/generated/google/apis/monitoring_v3/classes.rb +1335 -0
  347. data/generated/google/apis/monitoring_v3/representations.rb +516 -0
  348. data/generated/google/apis/monitoring_v3/service.rb +706 -0
  349. data/generated/google/apis/mybusiness_v3.rb +32 -0
  350. data/generated/google/apis/mybusiness_v3/classes.rb +1864 -0
  351. data/generated/google/apis/mybusiness_v3/representations.rb +741 -0
  352. data/generated/google/apis/mybusiness_v3/service.rb +960 -0
  353. data/generated/google/apis/oauth2_v2.rb +43 -0
  354. data/generated/google/apis/oauth2_v2/classes.rb +245 -0
  355. data/generated/google/apis/oauth2_v2/representations.rb +102 -0
  356. data/generated/google/apis/oauth2_v2/service.rb +199 -0
  357. data/generated/google/apis/pagespeedonline_v2.rb +32 -0
  358. data/generated/google/apis/pagespeedonline_v2/classes.rb +614 -0
  359. data/generated/google/apis/pagespeedonline_v2/representations.rb +272 -0
  360. data/generated/google/apis/pagespeedonline_v2/service.rb +119 -0
  361. data/generated/google/apis/partners_v2.rb +32 -0
  362. data/generated/google/apis/partners_v2/classes.rb +942 -0
  363. data/generated/google/apis/partners_v2/representations.rb +454 -0
  364. data/generated/google/apis/partners_v2/service.rb +400 -0
  365. data/generated/google/apis/people_v1.rb +59 -0
  366. data/generated/google/apis/people_v1/classes.rb +1521 -0
  367. data/generated/google/apis/people_v1/representations.rb +663 -0
  368. data/generated/google/apis/people_v1/service.rb +189 -0
  369. data/generated/google/apis/plus_domains_v1.rb +61 -0
  370. data/generated/google/apis/plus_domains_v1/classes.rb +2609 -0
  371. data/generated/google/apis/plus_domains_v1/representations.rb +1111 -0
  372. data/generated/google/apis/plus_domains_v1/service.rb +904 -0
  373. data/generated/google/apis/plus_v1.rb +43 -0
  374. data/generated/google/apis/plus_v1/classes.rb +2094 -0
  375. data/generated/google/apis/plus_v1/representations.rb +907 -0
  376. data/generated/google/apis/plus_v1/service.rb +470 -0
  377. data/generated/google/apis/prediction_v1_6.rb +47 -0
  378. data/generated/google/apis/prediction_v1_6/classes.rb +751 -0
  379. data/generated/google/apis/prediction_v1_6/representations.rb +369 -0
  380. data/generated/google/apis/prediction_v1_6/service.rb +380 -0
  381. data/generated/google/apis/proximitybeacon_v1beta1.rb +34 -0
  382. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +786 -0
  383. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +347 -0
  384. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +806 -0
  385. data/generated/google/apis/pubsub_v1.rb +37 -0
  386. data/generated/google/apis/pubsub_v1/classes.rb +676 -0
  387. data/generated/google/apis/pubsub_v1/representations.rb +323 -0
  388. data/generated/google/apis/pubsub_v1/service.rb +900 -0
  389. data/generated/google/apis/pubsub_v1beta2.rb +37 -0
  390. data/generated/google/apis/pubsub_v1beta2/classes.rb +620 -0
  391. data/generated/google/apis/pubsub_v1beta2/representations.rb +282 -0
  392. data/generated/google/apis/pubsub_v1beta2/service.rb +774 -0
  393. data/generated/google/apis/qpx_express_v1.rb +31 -0
  394. data/generated/google/apis/qpx_express_v1/classes.rb +1274 -0
  395. data/generated/google/apis/qpx_express_v1/representations.rb +473 -0
  396. data/generated/google/apis/qpx_express_v1/service.rb +100 -0
  397. data/generated/google/apis/replicapool_v1beta2.rb +44 -0
  398. data/generated/google/apis/replicapool_v1beta2/classes.rb +631 -0
  399. data/generated/google/apis/replicapool_v1beta2/representations.rb +264 -0
  400. data/generated/google/apis/replicapool_v1beta2/service.rb +608 -0
  401. data/generated/google/apis/replicapoolupdater_v1beta1.rb +45 -0
  402. data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +733 -0
  403. data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +294 -0
  404. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +509 -0
  405. data/generated/google/apis/reseller_v1.rb +37 -0
  406. data/generated/google/apis/reseller_v1/classes.rb +540 -0
  407. data/generated/google/apis/reseller_v1/representations.rb +225 -0
  408. data/generated/google/apis/reseller_v1/service.rb +623 -0
  409. data/generated/google/apis/resourceviews_v1beta2.rb +50 -0
  410. data/generated/google/apis/resourceviews_v1beta2/classes.rb +660 -0
  411. data/generated/google/apis/resourceviews_v1beta2/representations.rb +301 -0
  412. data/generated/google/apis/resourceviews_v1beta2/service.rb +563 -0
  413. data/generated/google/apis/script_v1.rb +64 -0
  414. data/generated/google/apis/script_v1/classes.rb +265 -0
  415. data/generated/google/apis/script_v1/representations.rb +119 -0
  416. data/generated/google/apis/script_v1/service.rb +98 -0
  417. data/generated/google/apis/sheets_v4.rb +43 -0
  418. data/generated/google/apis/sheets_v4/classes.rb +6368 -0
  419. data/generated/google/apis/sheets_v4/representations.rb +2289 -0
  420. data/generated/google/apis/sheets_v4/service.rb +569 -0
  421. data/generated/google/apis/site_verification_v1.rb +37 -0
  422. data/generated/google/apis/site_verification_v1/classes.rb +185 -0
  423. data/generated/google/apis/site_verification_v1/representations.rb +113 -0
  424. data/generated/google/apis/site_verification_v1/service.rb +315 -0
  425. data/generated/google/apis/slides_v1.rb +49 -0
  426. data/generated/google/apis/slides_v1/classes.rb +4044 -0
  427. data/generated/google/apis/slides_v1/representations.rb +1765 -0
  428. data/generated/google/apis/slides_v1/service.rb +202 -0
  429. data/generated/google/apis/speech_v1beta1.rb +34 -0
  430. data/generated/google/apis/speech_v1beta1/classes.rb +513 -0
  431. data/generated/google/apis/speech_v1beta1/representations.rb +218 -0
  432. data/generated/google/apis/speech_v1beta1/service.rb +273 -0
  433. data/generated/google/apis/sqladmin_v1beta4.rb +38 -0
  434. data/generated/google/apis/sqladmin_v1beta4/classes.rb +2142 -0
  435. data/generated/google/apis/sqladmin_v1beta4/representations.rb +893 -0
  436. data/generated/google/apis/sqladmin_v1beta4/service.rb +1709 -0
  437. data/generated/google/apis/storage_v1.rb +46 -0
  438. data/generated/google/apis/storage_v1/classes.rb +1255 -0
  439. data/generated/google/apis/storage_v1/representations.rb +502 -0
  440. data/generated/google/apis/storage_v1/service.rb +1906 -0
  441. data/generated/google/apis/storagetransfer_v1.rb +35 -0
  442. data/generated/google/apis/storagetransfer_v1/classes.rb +1046 -0
  443. data/generated/google/apis/storagetransfer_v1/representations.rb +418 -0
  444. data/generated/google/apis/storagetransfer_v1/service.rb +473 -0
  445. data/generated/google/apis/tagmanager_v1.rb +52 -0
  446. data/generated/google/apis/tagmanager_v1/classes.rb +1494 -0
  447. data/generated/google/apis/tagmanager_v1/representations.rb +611 -0
  448. data/generated/google/apis/tagmanager_v1/service.rb +2119 -0
  449. data/generated/google/apis/taskqueue_v1beta2.rb +37 -0
  450. data/generated/google/apis/taskqueue_v1beta2/classes.rb +254 -0
  451. data/generated/google/apis/taskqueue_v1beta2/representations.rb +126 -0
  452. data/generated/google/apis/taskqueue_v1beta2/service.rb +408 -0
  453. data/generated/google/apis/tasks_v1.rb +37 -0
  454. data/generated/google/apis/tasks_v1/classes.rb +296 -0
  455. data/generated/google/apis/tasks_v1/representations.rb +125 -0
  456. data/generated/google/apis/tasks_v1/service.rb +643 -0
  457. data/generated/google/apis/translate_v2.rb +31 -0
  458. data/generated/google/apis/translate_v2/classes.rb +168 -0
  459. data/generated/google/apis/translate_v2/representations.rb +121 -0
  460. data/generated/google/apis/translate_v2/service.rb +182 -0
  461. data/generated/google/apis/urlshortener_v1.rb +34 -0
  462. data/generated/google/apis/urlshortener_v1/classes.rb +246 -0
  463. data/generated/google/apis/urlshortener_v1/representations.rb +121 -0
  464. data/generated/google/apis/urlshortener_v1/service.rb +176 -0
  465. data/generated/google/apis/vision_v1.rb +36 -0
  466. data/generated/google/apis/vision_v1/classes.rb +1267 -0
  467. data/generated/google/apis/vision_v1/representations.rb +418 -0
  468. data/generated/google/apis/vision_v1/service.rb +90 -0
  469. data/generated/google/apis/webmasters_v3.rb +37 -0
  470. data/generated/google/apis/webmasters_v3/classes.rb +570 -0
  471. data/generated/google/apis/webmasters_v3/representations.rb +283 -0
  472. data/generated/google/apis/webmasters_v3/service.rb +573 -0
  473. data/generated/google/apis/youtube_analytics_v1.rb +46 -0
  474. data/generated/google/apis/youtube_analytics_v1/classes.rb +337 -0
  475. data/generated/google/apis/youtube_analytics_v1/representations.rb +174 -0
  476. data/generated/google/apis/youtube_analytics_v1/service.rb +486 -0
  477. data/generated/google/apis/youtube_partner_v1.rb +37 -0
  478. data/generated/google/apis/youtube_partner_v1/classes.rb +3854 -0
  479. data/generated/google/apis/youtube_partner_v1/representations.rb +1537 -0
  480. data/generated/google/apis/youtube_partner_v1/service.rb +3269 -0
  481. data/generated/google/apis/youtube_v3.rb +50 -0
  482. data/generated/google/apis/youtube_v3/classes.rb +8375 -0
  483. data/generated/google/apis/youtube_v3/representations.rb +3273 -0
  484. data/generated/google/apis/youtube_v3/service.rb +4440 -0
  485. data/generated/google/apis/youtubereporting_v1.rb +38 -0
  486. data/generated/google/apis/youtubereporting_v1/classes.rb +302 -0
  487. data/generated/google/apis/youtubereporting_v1/representations.rb +149 -0
  488. data/generated/google/apis/youtubereporting_v1/service.rb +385 -0
  489. data/google-api-client.gemspec +33 -0
  490. data/lib/cacerts.pem +2183 -0
  491. data/lib/google/api_client/auth/installed_app.rb +128 -0
  492. data/lib/google/api_client/auth/key_utils.rb +94 -0
  493. data/lib/google/api_client/auth/storage.rb +104 -0
  494. data/lib/google/api_client/auth/storages/file_store.rb +57 -0
  495. data/lib/google/api_client/auth/storages/redis_store.rb +59 -0
  496. data/lib/google/api_client/client_secrets.rb +177 -0
  497. data/lib/google/apis.rb +58 -0
  498. data/lib/google/apis/core/api_command.rb +146 -0
  499. data/lib/google/apis/core/base_service.rb +401 -0
  500. data/lib/google/apis/core/batch.rb +239 -0
  501. data/lib/google/apis/core/download.rb +108 -0
  502. data/lib/google/apis/core/hashable.rb +44 -0
  503. data/lib/google/apis/core/http_client_adapter.rb +82 -0
  504. data/lib/google/apis/core/http_command.rb +332 -0
  505. data/lib/google/apis/core/json_representation.rb +145 -0
  506. data/lib/google/apis/core/logging.rb +30 -0
  507. data/lib/google/apis/core/multipart.rb +187 -0
  508. data/lib/google/apis/core/upload.rb +295 -0
  509. data/lib/google/apis/errors.rb +80 -0
  510. data/lib/google/apis/generator.rb +70 -0
  511. data/lib/google/apis/generator/annotator.rb +301 -0
  512. data/lib/google/apis/generator/helpers.rb +74 -0
  513. data/lib/google/apis/generator/model.rb +143 -0
  514. data/lib/google/apis/generator/template.rb +124 -0
  515. data/lib/google/apis/generator/templates/_class.tmpl +40 -0
  516. data/lib/google/apis/generator/templates/_method.tmpl +92 -0
  517. data/lib/google/apis/generator/templates/_representation.tmpl +51 -0
  518. data/lib/google/apis/generator/templates/_representation_stub.tmpl +17 -0
  519. data/lib/google/apis/generator/templates/_representation_type.tmpl +10 -0
  520. data/lib/google/apis/generator/templates/classes.rb.tmpl +29 -0
  521. data/lib/google/apis/generator/templates/module.rb.tmpl +40 -0
  522. data/lib/google/apis/generator/templates/representations.rb.tmpl +32 -0
  523. data/lib/google/apis/generator/templates/service.rb.tmpl +60 -0
  524. data/lib/google/apis/options.rb +85 -0
  525. data/lib/google/apis/version.rb +39 -0
  526. data/rakelib/metrics.rake +22 -0
  527. data/rakelib/rubocop.rake +10 -0
  528. data/rakelib/spec.rake +11 -0
  529. data/rakelib/yard.rake +11 -0
  530. data/samples/cli/.env +4 -0
  531. data/samples/cli/Gemfile +7 -0
  532. data/samples/cli/README.md +51 -0
  533. data/samples/cli/google-api-samples +32 -0
  534. data/samples/cli/lib/base_cli.rb +95 -0
  535. data/samples/cli/lib/samples/analytics.rb +62 -0
  536. data/samples/cli/lib/samples/androidpublisher.rb +47 -0
  537. data/samples/cli/lib/samples/bigquery.rb +101 -0
  538. data/samples/cli/lib/samples/calendar.rb +83 -0
  539. data/samples/cli/lib/samples/drive.rb +82 -0
  540. data/samples/cli/lib/samples/gmail.rb +124 -0
  541. data/samples/cli/lib/samples/pubsub.rb +114 -0
  542. data/samples/cli/lib/samples/sheets.rb +61 -0
  543. data/samples/cli/lib/samples/translate.rb +44 -0
  544. data/samples/cli/lib/samples/you_tube.rb +44 -0
  545. data/samples/web/.env +2 -0
  546. data/samples/web/Gemfile +7 -0
  547. data/samples/web/README.md +44 -0
  548. data/samples/web/app.rb +120 -0
  549. data/samples/web/views/calendar.erb +34 -0
  550. data/samples/web/views/drive.erb +33 -0
  551. data/samples/web/views/home.erb +34 -0
  552. data/samples/web/views/layout.erb +40 -0
  553. data/sync.rb +71 -0
  554. data/third_party/hurley_patches.rb +103 -0
  555. metadata +735 -0
@@ -0,0 +1,45 @@
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/monitoring_v3/service.rb'
16
+ require 'google/apis/monitoring_v3/classes.rb'
17
+ require 'google/apis/monitoring_v3/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # Stackdriver Monitoring API
22
+ #
23
+ # Manages your Stackdriver Monitoring data and configurations. Most projects
24
+ # must be associated with a Stackdriver account, with a few exceptions as noted
25
+ # on the individual method pages.
26
+ #
27
+ # @see https://cloud.google.com/monitoring/api/
28
+ module MonitoringV3
29
+ VERSION = 'V3'
30
+ REVISION = '20170126'
31
+
32
+ # View and write monitoring data for all of your Google and third-party Cloud and API projects
33
+ AUTH_MONITORING = 'https://www.googleapis.com/auth/monitoring'
34
+
35
+ # Publish metric data to your Google Cloud projects
36
+ AUTH_MONITORING_WRITE = 'https://www.googleapis.com/auth/monitoring.write'
37
+
38
+ # View and manage your data across Google Cloud Platform services
39
+ AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
40
+
41
+ # View monitoring data for all of your Google Cloud and third-party projects
42
+ AUTH_MONITORING_READ = 'https://www.googleapis.com/auth/monitoring.read'
43
+ end
44
+ end
45
+ end
@@ -0,0 +1,1335 @@
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 MonitoringV3
24
+
25
+ # A Distribution may optionally contain a histogram of the values in the
26
+ # population. The histogram is given in bucket_counts as counts of values that
27
+ # fall into one of a sequence of non-overlapping buckets. The sequence of
28
+ # buckets is described by bucket_options.A bucket specifies an inclusive lower
29
+ # bound and exclusive upper bound for the values that are counted for that
30
+ # bucket. The upper bound of a bucket is strictly greater than the lower bound.
31
+ # The sequence of N buckets for a Distribution consists of an underflow bucket (
32
+ # number 0), zero or more finite buckets (number 1 through N - 2) and an
33
+ # overflow bucket (number N - 1). The buckets are contiguous: the lower bound of
34
+ # bucket i (i > 0) is the same as the upper bound of bucket i - 1. The buckets
35
+ # span the whole range of finite values: lower bound of the underflow bucket is -
36
+ # infinity and the upper bound of the overflow bucket is +infinity. The finite
37
+ # buckets are so-called because both bounds are finite.BucketOptions describes
38
+ # bucket boundaries in one of three ways. Two describe the boundaries by giving
39
+ # parameters for a formula to generate boundaries and one gives the bucket
40
+ # boundaries explicitly.If bucket_options is not given, then no bucket_counts
41
+ # may be given.
42
+ class BucketOptions
43
+ include Google::Apis::Core::Hashable
44
+
45
+ # Specify a sequence of buckets that have a width that is proportional to the
46
+ # value of the lower bound. Each bucket represents a constant relative
47
+ # uncertainty on a specific value in the bucket.Defines num_finite_buckets + 2 (=
48
+ # N) buckets with these boundaries for bucket i:Upper bound (0 <= i < N-1):
49
+ # scale * (growth_factor ^ i). Lower bound (1 <= i < N): scale * (growth_factor
50
+ # ^ (i - 1)).
51
+ # Corresponds to the JSON property `exponentialBuckets`
52
+ # @return [Google::Apis::MonitoringV3::Exponential]
53
+ attr_accessor :exponential_buckets
54
+
55
+ # Specify a sequence of buckets that all have the same width (except overflow
56
+ # and underflow). Each bucket represents a constant absolute uncertainty on the
57
+ # specific value in the bucket.Defines num_finite_buckets + 2 (= N) buckets with
58
+ # these boundaries for bucket i:Upper bound (0 <= i < N-1): offset + (width * i).
59
+ # Lower bound (1 <= i < N): offset + (width * (i - 1)).
60
+ # Corresponds to the JSON property `linearBuckets`
61
+ # @return [Google::Apis::MonitoringV3::Linear]
62
+ attr_accessor :linear_buckets
63
+
64
+ # A set of buckets with arbitrary widths.Defines size(bounds) + 1 (= N) buckets
65
+ # with these boundaries for bucket i:Upper bound (0 <= i < N-1): boundsi Lower
66
+ # bound (1 <= i < N); boundsi - 1There must be at least one element in bounds.
67
+ # If bounds has only one element, there are no finite buckets, and that single
68
+ # element is the common boundary of the overflow and underflow buckets.
69
+ # Corresponds to the JSON property `explicitBuckets`
70
+ # @return [Google::Apis::MonitoringV3::Explicit]
71
+ attr_accessor :explicit_buckets
72
+
73
+ def initialize(**args)
74
+ update!(**args)
75
+ end
76
+
77
+ # Update properties of this object
78
+ def update!(**args)
79
+ @exponential_buckets = args[:exponential_buckets] if args.key?(:exponential_buckets)
80
+ @linear_buckets = args[:linear_buckets] if args.key?(:linear_buckets)
81
+ @explicit_buckets = args[:explicit_buckets] if args.key?(:explicit_buckets)
82
+ end
83
+ end
84
+
85
+ # A single data point from a collectd-based plugin.
86
+ class CollectdValue
87
+ include Google::Apis::Core::Hashable
88
+
89
+ # The data source for the collectd value. For example there are two data sources
90
+ # for network measurements: "rx" and "tx".
91
+ # Corresponds to the JSON property `dataSourceName`
92
+ # @return [String]
93
+ attr_accessor :data_source_name
94
+
95
+ # A single strongly-typed value.
96
+ # Corresponds to the JSON property `value`
97
+ # @return [Google::Apis::MonitoringV3::TypedValue]
98
+ attr_accessor :value
99
+
100
+ # The type of measurement.
101
+ # Corresponds to the JSON property `dataSourceType`
102
+ # @return [String]
103
+ attr_accessor :data_source_type
104
+
105
+ def initialize(**args)
106
+ update!(**args)
107
+ end
108
+
109
+ # Update properties of this object
110
+ def update!(**args)
111
+ @data_source_name = args[:data_source_name] if args.key?(:data_source_name)
112
+ @value = args[:value] if args.key?(:value)
113
+ @data_source_type = args[:data_source_type] if args.key?(:data_source_type)
114
+ end
115
+ end
116
+
117
+ # SourceContext represents information about the source of a protobuf element,
118
+ # like the file in which it is defined.
119
+ class SourceContext
120
+ include Google::Apis::Core::Hashable
121
+
122
+ # The path-qualified name of the .proto file that contained the associated
123
+ # protobuf element. For example: "google/protobuf/source_context.proto".
124
+ # Corresponds to the JSON property `fileName`
125
+ # @return [String]
126
+ attr_accessor :file_name
127
+
128
+ def initialize(**args)
129
+ update!(**args)
130
+ end
131
+
132
+ # Update properties of this object
133
+ def update!(**args)
134
+ @file_name = args[:file_name] if args.key?(:file_name)
135
+ end
136
+ end
137
+
138
+ # Defines a metric type and its schema. Once a metric descriptor is created,
139
+ # deleting or altering it stops data collection and makes the metric type's
140
+ # existing data unusable.
141
+ class MetricDescriptor
142
+ include Google::Apis::Core::Hashable
143
+
144
+ # The unit in which the metric value is reported. It is only applicable if the
145
+ # value_type is INT64, DOUBLE, or DISTRIBUTION. The supported units are a subset
146
+ # of The Unified Code for Units of Measure (http://unitsofmeasure.org/ucum.html)
147
+ # standard:Basic units (UNIT)
148
+ # bit bit
149
+ # By byte
150
+ # s second
151
+ # min minute
152
+ # h hour
153
+ # d dayPrefixes (PREFIX)
154
+ # k kilo (10**3)
155
+ # M mega (10**6)
156
+ # G giga (10**9)
157
+ # T tera (10**12)
158
+ # P peta (10**15)
159
+ # E exa (10**18)
160
+ # Z zetta (10**21)
161
+ # Y yotta (10**24)
162
+ # m milli (10**-3)
163
+ # u micro (10**-6)
164
+ # n nano (10**-9)
165
+ # p pico (10**-12)
166
+ # f femto (10**-15)
167
+ # a atto (10**-18)
168
+ # z zepto (10**-21)
169
+ # y yocto (10**-24)
170
+ # Ki kibi (2**10)
171
+ # Mi mebi (2**20)
172
+ # Gi gibi (2**30)
173
+ # Ti tebi (2**40)GrammarThe grammar includes the dimensionless unit 1, such as 1/
174
+ # s.The grammar also includes these connectors:
175
+ # / division (as an infix operator, e.g. 1/s).
176
+ # . multiplication (as an infix operator, e.g. GBy.d)The grammar for a unit is
177
+ # as follows:
178
+ # Expression = Component ` "." Component ` ` "/" Component ` ;
179
+ # Component = [ PREFIX ] UNIT [ Annotation ]
180
+ # | Annotation
181
+ # | "1"
182
+ # ;
183
+ # Annotation = "`" NAME "`" ;
184
+ # Notes:
185
+ # Annotation is just a comment if it follows a UNIT and is equivalent to 1 if
186
+ # it is used alone. For examples, `requests`/s == 1/s, By`transmitted`/s == By/
187
+ # s.
188
+ # NAME is a sequence of non-blank printable ASCII characters not containing '`'
189
+ # or '`'.
190
+ # Corresponds to the JSON property `unit`
191
+ # @return [String]
192
+ attr_accessor :unit
193
+
194
+ # The set of labels that can be used to describe a specific instance of this
195
+ # metric type. For example, the appengine.googleapis.com/http/server/
196
+ # response_latencies metric type has a label for the HTTP response code,
197
+ # response_code, so you can look at latencies for successful responses or just
198
+ # for responses that failed.
199
+ # Corresponds to the JSON property `labels`
200
+ # @return [Array<Google::Apis::MonitoringV3::LabelDescriptor>]
201
+ attr_accessor :labels
202
+
203
+ # The resource name of the metric descriptor. Depending on the implementation,
204
+ # the name typically includes: (1) the parent resource name that defines the
205
+ # scope of the metric type or of its data; and (2) the metric's URL-encoded type,
206
+ # which also appears in the type field of this descriptor. For example,
207
+ # following is the resource name of a custom metric within the GCP project my-
208
+ # project-id:
209
+ # "projects/my-project-id/metricDescriptors/custom.googleapis.com%2Finvoice%
210
+ # 2Fpaid%2Famount"
211
+ # Corresponds to the JSON property `name`
212
+ # @return [String]
213
+ attr_accessor :name
214
+
215
+ # The metric type, including its DNS name prefix. The type is not URL-encoded.
216
+ # All user-defined custom metric types have the DNS name custom.googleapis.com.
217
+ # Metric types should use a natural hierarchical grouping. For example:
218
+ # "custom.googleapis.com/invoice/paid/amount"
219
+ # "appengine.googleapis.com/http/server/response_latencies"
220
+ # Corresponds to the JSON property `type`
221
+ # @return [String]
222
+ attr_accessor :type
223
+
224
+ # Whether the measurement is an integer, a floating-point number, etc. Some
225
+ # combinations of metric_kind and value_type might not be supported.
226
+ # Corresponds to the JSON property `valueType`
227
+ # @return [String]
228
+ attr_accessor :value_type
229
+
230
+ # Whether the metric records instantaneous values, changes to a value, etc. Some
231
+ # combinations of metric_kind and value_type might not be supported.
232
+ # Corresponds to the JSON property `metricKind`
233
+ # @return [String]
234
+ attr_accessor :metric_kind
235
+
236
+ # A concise name for the metric, which can be displayed in user interfaces. Use
237
+ # sentence case without an ending period, for example "Request count".
238
+ # Corresponds to the JSON property `displayName`
239
+ # @return [String]
240
+ attr_accessor :display_name
241
+
242
+ # A detailed description of the metric, which can be used in documentation.
243
+ # Corresponds to the JSON property `description`
244
+ # @return [String]
245
+ attr_accessor :description
246
+
247
+ def initialize(**args)
248
+ update!(**args)
249
+ end
250
+
251
+ # Update properties of this object
252
+ def update!(**args)
253
+ @unit = args[:unit] if args.key?(:unit)
254
+ @labels = args[:labels] if args.key?(:labels)
255
+ @name = args[:name] if args.key?(:name)
256
+ @type = args[:type] if args.key?(:type)
257
+ @value_type = args[:value_type] if args.key?(:value_type)
258
+ @metric_kind = args[:metric_kind] if args.key?(:metric_kind)
259
+ @display_name = args[:display_name] if args.key?(:display_name)
260
+ @description = args[:description] if args.key?(:description)
261
+ end
262
+ end
263
+
264
+ # The range of the population values.
265
+ class Range
266
+ include Google::Apis::Core::Hashable
267
+
268
+ # The minimum of the population values.
269
+ # Corresponds to the JSON property `min`
270
+ # @return [Float]
271
+ attr_accessor :min
272
+
273
+ # The maximum of the population values.
274
+ # Corresponds to the JSON property `max`
275
+ # @return [Float]
276
+ attr_accessor :max
277
+
278
+ def initialize(**args)
279
+ update!(**args)
280
+ end
281
+
282
+ # Update properties of this object
283
+ def update!(**args)
284
+ @min = args[:min] if args.key?(:min)
285
+ @max = args[:max] if args.key?(:max)
286
+ end
287
+ end
288
+
289
+ # The ListGroups response.
290
+ class ListGroupsResponse
291
+ include Google::Apis::Core::Hashable
292
+
293
+ # The groups that match the specified filters.
294
+ # Corresponds to the JSON property `group`
295
+ # @return [Array<Google::Apis::MonitoringV3::Group>]
296
+ attr_accessor :group
297
+
298
+ # If there are more results than have been returned, then this field is set to a
299
+ # non-empty value. To see the additional results, use that value as pageToken in
300
+ # the next call to this method.
301
+ # Corresponds to the JSON property `nextPageToken`
302
+ # @return [String]
303
+ attr_accessor :next_page_token
304
+
305
+ def initialize(**args)
306
+ update!(**args)
307
+ end
308
+
309
+ # Update properties of this object
310
+ def update!(**args)
311
+ @group = args[:group] if args.key?(:group)
312
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
313
+ end
314
+ end
315
+
316
+ # The CreateCollectdTimeSeries request.
317
+ class CreateCollectdTimeSeriesRequest
318
+ include Google::Apis::Core::Hashable
319
+
320
+ # An object representing a resource that can be used for monitoring, logging,
321
+ # billing, or other purposes. Examples include virtual machine instances,
322
+ # databases, and storage devices such as disks. The type field identifies a
323
+ # MonitoredResourceDescriptor object that describes the resource's schema.
324
+ # Information in the labels field identifies the actual resource and its
325
+ # attributes according to the schema. For example, a particular Compute Engine
326
+ # VM instance could be represented by the following object, because the
327
+ # MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
328
+ # zone":
329
+ # ` "type": "gce_instance",
330
+ # "labels": ` "instance_id": "12345678901234",
331
+ # "zone": "us-central1-a" ``
332
+ # Corresponds to the JSON property `resource`
333
+ # @return [Google::Apis::MonitoringV3::MonitoredResource]
334
+ attr_accessor :resource
335
+
336
+ # The collectd payloads representing the time series data. You must not include
337
+ # more than a single point for each time series, so no two payloads can have the
338
+ # same values for all of the fields plugin, plugin_instance, type, and
339
+ # type_instance.
340
+ # Corresponds to the JSON property `collectdPayloads`
341
+ # @return [Array<Google::Apis::MonitoringV3::CollectdPayload>]
342
+ attr_accessor :collectd_payloads
343
+
344
+ # The version of collectd that collected the data. Example: "5.3.0-192.el6".
345
+ # Corresponds to the JSON property `collectdVersion`
346
+ # @return [String]
347
+ attr_accessor :collectd_version
348
+
349
+ def initialize(**args)
350
+ update!(**args)
351
+ end
352
+
353
+ # Update properties of this object
354
+ def update!(**args)
355
+ @resource = args[:resource] if args.key?(:resource)
356
+ @collectd_payloads = args[:collectd_payloads] if args.key?(:collectd_payloads)
357
+ @collectd_version = args[:collectd_version] if args.key?(:collectd_version)
358
+ end
359
+ end
360
+
361
+ # The ListGroupMembers response.
362
+ class ListGroupMembersResponse
363
+ include Google::Apis::Core::Hashable
364
+
365
+ # If there are more results than have been returned, then this field is set to a
366
+ # non-empty value. To see the additional results, use that value as pageToken in
367
+ # the next call to this method.
368
+ # Corresponds to the JSON property `nextPageToken`
369
+ # @return [String]
370
+ attr_accessor :next_page_token
371
+
372
+ # The total number of elements matching this request.
373
+ # Corresponds to the JSON property `totalSize`
374
+ # @return [Fixnum]
375
+ attr_accessor :total_size
376
+
377
+ # A set of monitored resources in the group.
378
+ # Corresponds to the JSON property `members`
379
+ # @return [Array<Google::Apis::MonitoringV3::MonitoredResource>]
380
+ attr_accessor :members
381
+
382
+ def initialize(**args)
383
+ update!(**args)
384
+ end
385
+
386
+ # Update properties of this object
387
+ def update!(**args)
388
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
389
+ @total_size = args[:total_size] if args.key?(:total_size)
390
+ @members = args[:members] if args.key?(:members)
391
+ end
392
+ end
393
+
394
+ # The ListMonitoredResourcDescriptors response.
395
+ class ListMonitoredResourceDescriptorsResponse
396
+ include Google::Apis::Core::Hashable
397
+
398
+ # If there are more results than have been returned, then this field is set to a
399
+ # non-empty value. To see the additional results, use that value as pageToken in
400
+ # the next call to this method.
401
+ # Corresponds to the JSON property `nextPageToken`
402
+ # @return [String]
403
+ attr_accessor :next_page_token
404
+
405
+ # The monitored resource descriptors that are available to this project and that
406
+ # match filter, if present.
407
+ # Corresponds to the JSON property `resourceDescriptors`
408
+ # @return [Array<Google::Apis::MonitoringV3::MonitoredResourceDescriptor>]
409
+ attr_accessor :resource_descriptors
410
+
411
+ def initialize(**args)
412
+ update!(**args)
413
+ end
414
+
415
+ # Update properties of this object
416
+ def update!(**args)
417
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
418
+ @resource_descriptors = args[:resource_descriptors] if args.key?(:resource_descriptors)
419
+ end
420
+ end
421
+
422
+ # A collection of data points that describes the time-varying values of a metric.
423
+ # A time series is identified by a combination of a fully-specified monitored
424
+ # resource and a fully-specified metric. This type is used for both listing and
425
+ # creating time series.
426
+ class TimeSeries
427
+ include Google::Apis::Core::Hashable
428
+
429
+ # The metric kind of the time series. When listing time series, this metric kind
430
+ # might be different from the metric kind of the associated metric if this time
431
+ # series is an alignment or reduction of other time series.When creating a time
432
+ # series, this field is optional. If present, it must be the same as the metric
433
+ # kind of the associated metric. If the associated metric's descriptor must be
434
+ # auto-created, then this field specifies the metric kind of the new descriptor
435
+ # and must be either GAUGE (the default) or CUMULATIVE.
436
+ # Corresponds to the JSON property `metricKind`
437
+ # @return [String]
438
+ attr_accessor :metric_kind
439
+
440
+ # A specific metric, identified by specifying values for all of the labels of a
441
+ # MetricDescriptor.
442
+ # Corresponds to the JSON property `metric`
443
+ # @return [Google::Apis::MonitoringV3::Metric]
444
+ attr_accessor :metric
445
+
446
+ # The data points of this time series. When listing time series, the order of
447
+ # the points is specified by the list method.When creating a time series, this
448
+ # field must contain exactly one point and the point's type must be the same as
449
+ # the value type of the associated metric. If the associated metric's descriptor
450
+ # must be auto-created, then the value type of the descriptor is determined by
451
+ # the point's type, which must be BOOL, INT64, DOUBLE, or DISTRIBUTION.
452
+ # Corresponds to the JSON property `points`
453
+ # @return [Array<Google::Apis::MonitoringV3::Point>]
454
+ attr_accessor :points
455
+
456
+ # The value type of the time series. When listing time series, this value type
457
+ # might be different from the value type of the associated metric if this time
458
+ # series is an alignment or reduction of other time series.When creating a time
459
+ # series, this field is optional. If present, it must be the same as the type of
460
+ # the data in the points field.
461
+ # Corresponds to the JSON property `valueType`
462
+ # @return [String]
463
+ attr_accessor :value_type
464
+
465
+ # An object representing a resource that can be used for monitoring, logging,
466
+ # billing, or other purposes. Examples include virtual machine instances,
467
+ # databases, and storage devices such as disks. The type field identifies a
468
+ # MonitoredResourceDescriptor object that describes the resource's schema.
469
+ # Information in the labels field identifies the actual resource and its
470
+ # attributes according to the schema. For example, a particular Compute Engine
471
+ # VM instance could be represented by the following object, because the
472
+ # MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
473
+ # zone":
474
+ # ` "type": "gce_instance",
475
+ # "labels": ` "instance_id": "12345678901234",
476
+ # "zone": "us-central1-a" ``
477
+ # Corresponds to the JSON property `resource`
478
+ # @return [Google::Apis::MonitoringV3::MonitoredResource]
479
+ attr_accessor :resource
480
+
481
+ def initialize(**args)
482
+ update!(**args)
483
+ end
484
+
485
+ # Update properties of this object
486
+ def update!(**args)
487
+ @metric_kind = args[:metric_kind] if args.key?(:metric_kind)
488
+ @metric = args[:metric] if args.key?(:metric)
489
+ @points = args[:points] if args.key?(:points)
490
+ @value_type = args[:value_type] if args.key?(:value_type)
491
+ @resource = args[:resource] if args.key?(:resource)
492
+ end
493
+ end
494
+
495
+ # The CreateTimeSeries request.
496
+ class CreateTimeSeriesRequest
497
+ include Google::Apis::Core::Hashable
498
+
499
+ # The new data to be added to a list of time series. Adds at most one data point
500
+ # to each of several time series. The new data point must be more recent than
501
+ # any other point in its time series. Each TimeSeries value must fully specify a
502
+ # unique time series by supplying all label values for the metric and the
503
+ # monitored resource.
504
+ # Corresponds to the JSON property `timeSeries`
505
+ # @return [Array<Google::Apis::MonitoringV3::TimeSeries>]
506
+ attr_accessor :time_series
507
+
508
+ def initialize(**args)
509
+ update!(**args)
510
+ end
511
+
512
+ # Update properties of this object
513
+ def update!(**args)
514
+ @time_series = args[:time_series] if args.key?(:time_series)
515
+ end
516
+ end
517
+
518
+ # Distribution contains summary statistics for a population of values and,
519
+ # optionally, a histogram representing the distribution of those values across a
520
+ # specified set of histogram buckets.The summary statistics are the count, mean,
521
+ # sum of the squared deviation from the mean, the minimum, and the maximum of
522
+ # the set of population of values.The histogram is based on a sequence of
523
+ # buckets and gives a count of values that fall into each bucket. The boundaries
524
+ # of the buckets are given either explicitly or by specifying parameters for a
525
+ # method of computing them (buckets of fixed width or buckets of exponentially
526
+ # increasing width).Although it is not forbidden, it is generally a bad idea to
527
+ # include non-finite values (infinities or NaNs) in the population of values, as
528
+ # this will render the mean and sum_of_squared_deviation fields meaningless.
529
+ class Distribution
530
+ include Google::Apis::Core::Hashable
531
+
532
+ # A Distribution may optionally contain a histogram of the values in the
533
+ # population. The histogram is given in bucket_counts as counts of values that
534
+ # fall into one of a sequence of non-overlapping buckets. The sequence of
535
+ # buckets is described by bucket_options.A bucket specifies an inclusive lower
536
+ # bound and exclusive upper bound for the values that are counted for that
537
+ # bucket. The upper bound of a bucket is strictly greater than the lower bound.
538
+ # The sequence of N buckets for a Distribution consists of an underflow bucket (
539
+ # number 0), zero or more finite buckets (number 1 through N - 2) and an
540
+ # overflow bucket (number N - 1). The buckets are contiguous: the lower bound of
541
+ # bucket i (i > 0) is the same as the upper bound of bucket i - 1. The buckets
542
+ # span the whole range of finite values: lower bound of the underflow bucket is -
543
+ # infinity and the upper bound of the overflow bucket is +infinity. The finite
544
+ # buckets are so-called because both bounds are finite.BucketOptions describes
545
+ # bucket boundaries in one of three ways. Two describe the boundaries by giving
546
+ # parameters for a formula to generate boundaries and one gives the bucket
547
+ # boundaries explicitly.If bucket_options is not given, then no bucket_counts
548
+ # may be given.
549
+ # Corresponds to the JSON property `bucketOptions`
550
+ # @return [Google::Apis::MonitoringV3::BucketOptions]
551
+ attr_accessor :bucket_options
552
+
553
+ # The sum of squared deviations from the mean of the values in the population.
554
+ # For values x_i this is:
555
+ # Sum[i=1..n]((x_i - mean)^2)
556
+ # Knuth, "The Art of Computer Programming", Vol. 2, page 323, 3rd edition
557
+ # describes Welford's method for accumulating this sum in one pass.If count is
558
+ # zero then this field must be zero.
559
+ # Corresponds to the JSON property `sumOfSquaredDeviation`
560
+ # @return [Float]
561
+ attr_accessor :sum_of_squared_deviation
562
+
563
+ # The range of the population values.
564
+ # Corresponds to the JSON property `range`
565
+ # @return [Google::Apis::MonitoringV3::Range]
566
+ attr_accessor :range
567
+
568
+ # The number of values in the population. Must be non-negative.
569
+ # Corresponds to the JSON property `count`
570
+ # @return [String]
571
+ attr_accessor :count
572
+
573
+ # The arithmetic mean of the values in the population. If count is zero then
574
+ # this field must be zero.
575
+ # Corresponds to the JSON property `mean`
576
+ # @return [Float]
577
+ attr_accessor :mean
578
+
579
+ # If bucket_options is given, then the sum of the values in bucket_counts must
580
+ # equal the value in count. If bucket_options is not given, no bucket_counts
581
+ # fields may be given.Bucket counts are given in order under the numbering
582
+ # scheme described above (the underflow bucket has number 0; the finite buckets,
583
+ # if any, have numbers 1 through N-2; the overflow bucket has number N-1).The
584
+ # size of bucket_counts must be no greater than N as defined in bucket_options.
585
+ # Any suffix of trailing zero bucket_count fields may be omitted.
586
+ # Corresponds to the JSON property `bucketCounts`
587
+ # @return [Array<String>]
588
+ attr_accessor :bucket_counts
589
+
590
+ def initialize(**args)
591
+ update!(**args)
592
+ end
593
+
594
+ # Update properties of this object
595
+ def update!(**args)
596
+ @bucket_options = args[:bucket_options] if args.key?(:bucket_options)
597
+ @sum_of_squared_deviation = args[:sum_of_squared_deviation] if args.key?(:sum_of_squared_deviation)
598
+ @range = args[:range] if args.key?(:range)
599
+ @count = args[:count] if args.key?(:count)
600
+ @mean = args[:mean] if args.key?(:mean)
601
+ @bucket_counts = args[:bucket_counts] if args.key?(:bucket_counts)
602
+ end
603
+ end
604
+
605
+ # An object representing a resource that can be used for monitoring, logging,
606
+ # billing, or other purposes. Examples include virtual machine instances,
607
+ # databases, and storage devices such as disks. The type field identifies a
608
+ # MonitoredResourceDescriptor object that describes the resource's schema.
609
+ # Information in the labels field identifies the actual resource and its
610
+ # attributes according to the schema. For example, a particular Compute Engine
611
+ # VM instance could be represented by the following object, because the
612
+ # MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
613
+ # zone":
614
+ # ` "type": "gce_instance",
615
+ # "labels": ` "instance_id": "12345678901234",
616
+ # "zone": "us-central1-a" ``
617
+ class MonitoredResource
618
+ include Google::Apis::Core::Hashable
619
+
620
+ # Required. The monitored resource type. This field must match the type field of
621
+ # a MonitoredResourceDescriptor object. For example, the type of a Cloud SQL
622
+ # database is "cloudsql_database".
623
+ # Corresponds to the JSON property `type`
624
+ # @return [String]
625
+ attr_accessor :type
626
+
627
+ # Required. Values for all of the labels listed in the associated monitored
628
+ # resource descriptor. For example, Cloud SQL databases use the labels "
629
+ # database_id" and "zone".
630
+ # Corresponds to the JSON property `labels`
631
+ # @return [Hash<String,String>]
632
+ attr_accessor :labels
633
+
634
+ def initialize(**args)
635
+ update!(**args)
636
+ end
637
+
638
+ # Update properties of this object
639
+ def update!(**args)
640
+ @type = args[:type] if args.key?(:type)
641
+ @labels = args[:labels] if args.key?(:labels)
642
+ end
643
+ end
644
+
645
+ # The ListMetricDescriptors response.
646
+ class ListMetricDescriptorsResponse
647
+ include Google::Apis::Core::Hashable
648
+
649
+ # The metric descriptors that are available to the project and that match the
650
+ # value of filter, if present.
651
+ # Corresponds to the JSON property `metricDescriptors`
652
+ # @return [Array<Google::Apis::MonitoringV3::MetricDescriptor>]
653
+ attr_accessor :metric_descriptors
654
+
655
+ # If there are more results than have been returned, then this field is set to a
656
+ # non-empty value. To see the additional results, use that value as pageToken in
657
+ # the next call to this method.
658
+ # Corresponds to the JSON property `nextPageToken`
659
+ # @return [String]
660
+ attr_accessor :next_page_token
661
+
662
+ def initialize(**args)
663
+ update!(**args)
664
+ end
665
+
666
+ # Update properties of this object
667
+ def update!(**args)
668
+ @metric_descriptors = args[:metric_descriptors] if args.key?(:metric_descriptors)
669
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
670
+ end
671
+ end
672
+
673
+ # An object that describes the schema of a MonitoredResource object using a type
674
+ # name and a set of labels. For example, the monitored resource descriptor for
675
+ # Google Compute Engine VM instances has a type of "gce_instance" and specifies
676
+ # the use of the labels "instance_id" and "zone" to identify particular VM
677
+ # instances.Different APIs can support different monitored resource types. APIs
678
+ # generally provide a list method that returns the monitored resource
679
+ # descriptors used by the API.
680
+ class MonitoredResourceDescriptor
681
+ include Google::Apis::Core::Hashable
682
+
683
+ # Required. A set of labels used to describe instances of this monitored
684
+ # resource type. For example, an individual Google Cloud SQL database is
685
+ # identified by values for the labels "database_id" and "zone".
686
+ # Corresponds to the JSON property `labels`
687
+ # @return [Array<Google::Apis::MonitoringV3::LabelDescriptor>]
688
+ attr_accessor :labels
689
+
690
+ # Optional. The resource name of the monitored resource descriptor: "projects/`
691
+ # project_id`/monitoredResourceDescriptors/`type`" where `type` is the value of
692
+ # the type field in this object and `project_id` is a project ID that provides
693
+ # API-specific context for accessing the type. APIs that do not use project
694
+ # information can use the resource name format "monitoredResourceDescriptors/`
695
+ # type`".
696
+ # Corresponds to the JSON property `name`
697
+ # @return [String]
698
+ attr_accessor :name
699
+
700
+ # Optional. A concise name for the monitored resource type that might be
701
+ # displayed in user interfaces. It should be a Title Cased Noun Phrase, without
702
+ # any article or other determiners. For example, "Google Cloud SQL Database".
703
+ # Corresponds to the JSON property `displayName`
704
+ # @return [String]
705
+ attr_accessor :display_name
706
+
707
+ # Optional. A detailed description of the monitored resource type that might be
708
+ # used in documentation.
709
+ # Corresponds to the JSON property `description`
710
+ # @return [String]
711
+ attr_accessor :description
712
+
713
+ # Required. The monitored resource type. For example, the type "
714
+ # cloudsql_database" represents databases in Google Cloud SQL. The maximum
715
+ # length of this value is 256 characters.
716
+ # Corresponds to the JSON property `type`
717
+ # @return [String]
718
+ attr_accessor :type
719
+
720
+ def initialize(**args)
721
+ update!(**args)
722
+ end
723
+
724
+ # Update properties of this object
725
+ def update!(**args)
726
+ @labels = args[:labels] if args.key?(:labels)
727
+ @name = args[:name] if args.key?(:name)
728
+ @display_name = args[:display_name] if args.key?(:display_name)
729
+ @description = args[:description] if args.key?(:description)
730
+ @type = args[:type] if args.key?(:type)
731
+ end
732
+ end
733
+
734
+ # A single strongly-typed value.
735
+ class TypedValue
736
+ include Google::Apis::Core::Hashable
737
+
738
+ # A 64-bit integer. Its range is approximately &plusmn;9.2x10<sup>18</sup>.
739
+ # Corresponds to the JSON property `int64Value`
740
+ # @return [String]
741
+ attr_accessor :int64_value
742
+
743
+ # Distribution contains summary statistics for a population of values and,
744
+ # optionally, a histogram representing the distribution of those values across a
745
+ # specified set of histogram buckets.The summary statistics are the count, mean,
746
+ # sum of the squared deviation from the mean, the minimum, and the maximum of
747
+ # the set of population of values.The histogram is based on a sequence of
748
+ # buckets and gives a count of values that fall into each bucket. The boundaries
749
+ # of the buckets are given either explicitly or by specifying parameters for a
750
+ # method of computing them (buckets of fixed width or buckets of exponentially
751
+ # increasing width).Although it is not forbidden, it is generally a bad idea to
752
+ # include non-finite values (infinities or NaNs) in the population of values, as
753
+ # this will render the mean and sum_of_squared_deviation fields meaningless.
754
+ # Corresponds to the JSON property `distributionValue`
755
+ # @return [Google::Apis::MonitoringV3::Distribution]
756
+ attr_accessor :distribution_value
757
+
758
+ # A Boolean value: true or false.
759
+ # Corresponds to the JSON property `boolValue`
760
+ # @return [Boolean]
761
+ attr_accessor :bool_value
762
+ alias_method :bool_value?, :bool_value
763
+
764
+ # A variable-length string value.
765
+ # Corresponds to the JSON property `stringValue`
766
+ # @return [String]
767
+ attr_accessor :string_value
768
+
769
+ # A 64-bit double-precision floating-point number. Its magnitude is
770
+ # approximately &plusmn;10<sup>&plusmn;300</sup> and it has 16 significant
771
+ # digits of precision.
772
+ # Corresponds to the JSON property `doubleValue`
773
+ # @return [Float]
774
+ attr_accessor :double_value
775
+
776
+ def initialize(**args)
777
+ update!(**args)
778
+ end
779
+
780
+ # Update properties of this object
781
+ def update!(**args)
782
+ @int64_value = args[:int64_value] if args.key?(:int64_value)
783
+ @distribution_value = args[:distribution_value] if args.key?(:distribution_value)
784
+ @bool_value = args[:bool_value] if args.key?(:bool_value)
785
+ @string_value = args[:string_value] if args.key?(:string_value)
786
+ @double_value = args[:double_value] if args.key?(:double_value)
787
+ end
788
+ end
789
+
790
+ # A collection of data points sent from a collectd-based plugin. See the
791
+ # collectd documentation for more information.
792
+ class CollectdPayload
793
+ include Google::Apis::Core::Hashable
794
+
795
+ # The measurement type instance. Example: "used".
796
+ # Corresponds to the JSON property `typeInstance`
797
+ # @return [String]
798
+ attr_accessor :type_instance
799
+
800
+ # The measurement metadata. Example: "process_id" -> 12345
801
+ # Corresponds to the JSON property `metadata`
802
+ # @return [Hash<String,Google::Apis::MonitoringV3::TypedValue>]
803
+ attr_accessor :metadata
804
+
805
+ # The measurement type. Example: "memory".
806
+ # Corresponds to the JSON property `type`
807
+ # @return [String]
808
+ attr_accessor :type
809
+
810
+ # The name of the plugin. Example: "disk".
811
+ # Corresponds to the JSON property `plugin`
812
+ # @return [String]
813
+ attr_accessor :plugin
814
+
815
+ # The instance name of the plugin Example: "hdcl".
816
+ # Corresponds to the JSON property `pluginInstance`
817
+ # @return [String]
818
+ attr_accessor :plugin_instance
819
+
820
+ # The end time of the interval.
821
+ # Corresponds to the JSON property `endTime`
822
+ # @return [String]
823
+ attr_accessor :end_time
824
+
825
+ # The start time of the interval.
826
+ # Corresponds to the JSON property `startTime`
827
+ # @return [String]
828
+ attr_accessor :start_time
829
+
830
+ # The measured values during this time interval. Each value must have a
831
+ # different dataSourceName.
832
+ # Corresponds to the JSON property `values`
833
+ # @return [Array<Google::Apis::MonitoringV3::CollectdValue>]
834
+ attr_accessor :values
835
+
836
+ def initialize(**args)
837
+ update!(**args)
838
+ end
839
+
840
+ # Update properties of this object
841
+ def update!(**args)
842
+ @type_instance = args[:type_instance] if args.key?(:type_instance)
843
+ @metadata = args[:metadata] if args.key?(:metadata)
844
+ @type = args[:type] if args.key?(:type)
845
+ @plugin = args[:plugin] if args.key?(:plugin)
846
+ @plugin_instance = args[:plugin_instance] if args.key?(:plugin_instance)
847
+ @end_time = args[:end_time] if args.key?(:end_time)
848
+ @start_time = args[:start_time] if args.key?(:start_time)
849
+ @values = args[:values] if args.key?(:values)
850
+ end
851
+ end
852
+
853
+ # Specify a sequence of buckets that all have the same width (except overflow
854
+ # and underflow). Each bucket represents a constant absolute uncertainty on the
855
+ # specific value in the bucket.Defines num_finite_buckets + 2 (= N) buckets with
856
+ # these boundaries for bucket i:Upper bound (0 <= i < N-1): offset + (width * i).
857
+ # Lower bound (1 <= i < N): offset + (width * (i - 1)).
858
+ class Linear
859
+ include Google::Apis::Core::Hashable
860
+
861
+ # Must be greater than 0.
862
+ # Corresponds to the JSON property `width`
863
+ # @return [Float]
864
+ attr_accessor :width
865
+
866
+ # Lower bound of the first bucket.
867
+ # Corresponds to the JSON property `offset`
868
+ # @return [Float]
869
+ attr_accessor :offset
870
+
871
+ # Must be greater than 0.
872
+ # Corresponds to the JSON property `numFiniteBuckets`
873
+ # @return [Fixnum]
874
+ attr_accessor :num_finite_buckets
875
+
876
+ def initialize(**args)
877
+ update!(**args)
878
+ end
879
+
880
+ # Update properties of this object
881
+ def update!(**args)
882
+ @width = args[:width] if args.key?(:width)
883
+ @offset = args[:offset] if args.key?(:offset)
884
+ @num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets)
885
+ end
886
+ end
887
+
888
+ # A generic empty message that you can re-use to avoid defining duplicated empty
889
+ # messages in your APIs. A typical example is to use it as the request or the
890
+ # response type of an API method. For instance:
891
+ # service Foo `
892
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
893
+ # `
894
+ # The JSON representation for Empty is empty JSON object ``.
895
+ class Empty
896
+ include Google::Apis::Core::Hashable
897
+
898
+ def initialize(**args)
899
+ update!(**args)
900
+ end
901
+
902
+ # Update properties of this object
903
+ def update!(**args)
904
+ end
905
+ end
906
+
907
+ # A protocol buffer option, which can be attached to a message, field,
908
+ # enumeration, etc.
909
+ class Option
910
+ include Google::Apis::Core::Hashable
911
+
912
+ # The option's value packed in an Any message. If the value is a primitive, the
913
+ # corresponding wrapper type defined in google/protobuf/wrappers.proto should be
914
+ # used. If the value is an enum, it should be stored as an int32 value using the
915
+ # google.protobuf.Int32Value type.
916
+ # Corresponds to the JSON property `value`
917
+ # @return [Hash<String,Object>]
918
+ attr_accessor :value
919
+
920
+ # The option's name. For protobuf built-in options (options defined in
921
+ # descriptor.proto), this is the short name. For example, "map_entry". For
922
+ # custom options, it should be the fully-qualified name. For example, "google.
923
+ # api.http".
924
+ # Corresponds to the JSON property `name`
925
+ # @return [String]
926
+ attr_accessor :name
927
+
928
+ def initialize(**args)
929
+ update!(**args)
930
+ end
931
+
932
+ # Update properties of this object
933
+ def update!(**args)
934
+ @value = args[:value] if args.key?(:value)
935
+ @name = args[:name] if args.key?(:name)
936
+ end
937
+ end
938
+
939
+ # A time interval extending just after a start time through an end time. If the
940
+ # start time is the same as the end time, then the interval represents a single
941
+ # point in time.
942
+ class TimeInterval
943
+ include Google::Apis::Core::Hashable
944
+
945
+ # Optional. The beginning of the time interval. The default value for the start
946
+ # time is the end time. The start time must not be later than the end time.
947
+ # Corresponds to the JSON property `startTime`
948
+ # @return [String]
949
+ attr_accessor :start_time
950
+
951
+ # Required. The end of the time interval.
952
+ # Corresponds to the JSON property `endTime`
953
+ # @return [String]
954
+ attr_accessor :end_time
955
+
956
+ def initialize(**args)
957
+ update!(**args)
958
+ end
959
+
960
+ # Update properties of this object
961
+ def update!(**args)
962
+ @start_time = args[:start_time] if args.key?(:start_time)
963
+ @end_time = args[:end_time] if args.key?(:end_time)
964
+ end
965
+ end
966
+
967
+ # A set of buckets with arbitrary widths.Defines size(bounds) + 1 (= N) buckets
968
+ # with these boundaries for bucket i:Upper bound (0 <= i < N-1): boundsi Lower
969
+ # bound (1 <= i < N); boundsi - 1There must be at least one element in bounds.
970
+ # If bounds has only one element, there are no finite buckets, and that single
971
+ # element is the common boundary of the overflow and underflow buckets.
972
+ class Explicit
973
+ include Google::Apis::Core::Hashable
974
+
975
+ # The values must be monotonically increasing.
976
+ # Corresponds to the JSON property `bounds`
977
+ # @return [Array<Float>]
978
+ attr_accessor :bounds
979
+
980
+ def initialize(**args)
981
+ update!(**args)
982
+ end
983
+
984
+ # Update properties of this object
985
+ def update!(**args)
986
+ @bounds = args[:bounds] if args.key?(:bounds)
987
+ end
988
+ end
989
+
990
+ # Specify a sequence of buckets that have a width that is proportional to the
991
+ # value of the lower bound. Each bucket represents a constant relative
992
+ # uncertainty on a specific value in the bucket.Defines num_finite_buckets + 2 (=
993
+ # N) buckets with these boundaries for bucket i:Upper bound (0 <= i < N-1):
994
+ # scale * (growth_factor ^ i). Lower bound (1 <= i < N): scale * (growth_factor
995
+ # ^ (i - 1)).
996
+ class Exponential
997
+ include Google::Apis::Core::Hashable
998
+
999
+ # Must be greater than 1.
1000
+ # Corresponds to the JSON property `growthFactor`
1001
+ # @return [Float]
1002
+ attr_accessor :growth_factor
1003
+
1004
+ # Must be greater than 0.
1005
+ # Corresponds to the JSON property `scale`
1006
+ # @return [Float]
1007
+ attr_accessor :scale
1008
+
1009
+ # Must be greater than 0.
1010
+ # Corresponds to the JSON property `numFiniteBuckets`
1011
+ # @return [Fixnum]
1012
+ attr_accessor :num_finite_buckets
1013
+
1014
+ def initialize(**args)
1015
+ update!(**args)
1016
+ end
1017
+
1018
+ # Update properties of this object
1019
+ def update!(**args)
1020
+ @growth_factor = args[:growth_factor] if args.key?(:growth_factor)
1021
+ @scale = args[:scale] if args.key?(:scale)
1022
+ @num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets)
1023
+ end
1024
+ end
1025
+
1026
+ # A single data point in a time series.
1027
+ class Point
1028
+ include Google::Apis::Core::Hashable
1029
+
1030
+ # A time interval extending just after a start time through an end time. If the
1031
+ # start time is the same as the end time, then the interval represents a single
1032
+ # point in time.
1033
+ # Corresponds to the JSON property `interval`
1034
+ # @return [Google::Apis::MonitoringV3::TimeInterval]
1035
+ attr_accessor :interval
1036
+
1037
+ # A single strongly-typed value.
1038
+ # Corresponds to the JSON property `value`
1039
+ # @return [Google::Apis::MonitoringV3::TypedValue]
1040
+ attr_accessor :value
1041
+
1042
+ def initialize(**args)
1043
+ update!(**args)
1044
+ end
1045
+
1046
+ # Update properties of this object
1047
+ def update!(**args)
1048
+ @interval = args[:interval] if args.key?(:interval)
1049
+ @value = args[:value] if args.key?(:value)
1050
+ end
1051
+ end
1052
+
1053
+ # A specific metric, identified by specifying values for all of the labels of a
1054
+ # MetricDescriptor.
1055
+ class Metric
1056
+ include Google::Apis::Core::Hashable
1057
+
1058
+ # The set of label values that uniquely identify this metric. All labels listed
1059
+ # in the MetricDescriptor must be assigned values.
1060
+ # Corresponds to the JSON property `labels`
1061
+ # @return [Hash<String,String>]
1062
+ attr_accessor :labels
1063
+
1064
+ # An existing metric type, see google.api.MetricDescriptor. For example, custom.
1065
+ # googleapis.com/invoice/paid/amount.
1066
+ # Corresponds to the JSON property `type`
1067
+ # @return [String]
1068
+ attr_accessor :type
1069
+
1070
+ def initialize(**args)
1071
+ update!(**args)
1072
+ end
1073
+
1074
+ # Update properties of this object
1075
+ def update!(**args)
1076
+ @labels = args[:labels] if args.key?(:labels)
1077
+ @type = args[:type] if args.key?(:type)
1078
+ end
1079
+ end
1080
+
1081
+ # A single field of a message type.
1082
+ class Field
1083
+ include Google::Apis::Core::Hashable
1084
+
1085
+ # The field name.
1086
+ # Corresponds to the JSON property `name`
1087
+ # @return [String]
1088
+ attr_accessor :name
1089
+
1090
+ # The field type URL, without the scheme, for message or enumeration types.
1091
+ # Example: "type.googleapis.com/google.protobuf.Timestamp".
1092
+ # Corresponds to the JSON property `typeUrl`
1093
+ # @return [String]
1094
+ attr_accessor :type_url
1095
+
1096
+ # The field number.
1097
+ # Corresponds to the JSON property `number`
1098
+ # @return [Fixnum]
1099
+ attr_accessor :number
1100
+
1101
+ # The field type.
1102
+ # Corresponds to the JSON property `kind`
1103
+ # @return [String]
1104
+ attr_accessor :kind
1105
+
1106
+ # The field JSON name.
1107
+ # Corresponds to the JSON property `jsonName`
1108
+ # @return [String]
1109
+ attr_accessor :json_name
1110
+
1111
+ # The protocol buffer options.
1112
+ # Corresponds to the JSON property `options`
1113
+ # @return [Array<Google::Apis::MonitoringV3::Option>]
1114
+ attr_accessor :options
1115
+
1116
+ # The index of the field type in Type.oneofs, for message or enumeration types.
1117
+ # The first type has index 1; zero means the type is not in the list.
1118
+ # Corresponds to the JSON property `oneofIndex`
1119
+ # @return [Fixnum]
1120
+ attr_accessor :oneof_index
1121
+
1122
+ # Whether to use alternative packed wire representation.
1123
+ # Corresponds to the JSON property `packed`
1124
+ # @return [Boolean]
1125
+ attr_accessor :packed
1126
+ alias_method :packed?, :packed
1127
+
1128
+ # The field cardinality.
1129
+ # Corresponds to the JSON property `cardinality`
1130
+ # @return [String]
1131
+ attr_accessor :cardinality
1132
+
1133
+ # The string value of the default value of this field. Proto2 syntax only.
1134
+ # Corresponds to the JSON property `defaultValue`
1135
+ # @return [String]
1136
+ attr_accessor :default_value
1137
+
1138
+ def initialize(**args)
1139
+ update!(**args)
1140
+ end
1141
+
1142
+ # Update properties of this object
1143
+ def update!(**args)
1144
+ @name = args[:name] if args.key?(:name)
1145
+ @type_url = args[:type_url] if args.key?(:type_url)
1146
+ @number = args[:number] if args.key?(:number)
1147
+ @kind = args[:kind] if args.key?(:kind)
1148
+ @json_name = args[:json_name] if args.key?(:json_name)
1149
+ @options = args[:options] if args.key?(:options)
1150
+ @oneof_index = args[:oneof_index] if args.key?(:oneof_index)
1151
+ @packed = args[:packed] if args.key?(:packed)
1152
+ @cardinality = args[:cardinality] if args.key?(:cardinality)
1153
+ @default_value = args[:default_value] if args.key?(:default_value)
1154
+ end
1155
+ end
1156
+
1157
+ # The ListTimeSeries response.
1158
+ class ListTimeSeriesResponse
1159
+ include Google::Apis::Core::Hashable
1160
+
1161
+ # One or more time series that match the filter included in the request.
1162
+ # Corresponds to the JSON property `timeSeries`
1163
+ # @return [Array<Google::Apis::MonitoringV3::TimeSeries>]
1164
+ attr_accessor :time_series
1165
+
1166
+ # If there are more results than have been returned, then this field is set to a
1167
+ # non-empty value. To see the additional results, use that value as pageToken in
1168
+ # the next call to this method.
1169
+ # Corresponds to the JSON property `nextPageToken`
1170
+ # @return [String]
1171
+ attr_accessor :next_page_token
1172
+
1173
+ def initialize(**args)
1174
+ update!(**args)
1175
+ end
1176
+
1177
+ # Update properties of this object
1178
+ def update!(**args)
1179
+ @time_series = args[:time_series] if args.key?(:time_series)
1180
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1181
+ end
1182
+ end
1183
+
1184
+ # A description of a label.
1185
+ class LabelDescriptor
1186
+ include Google::Apis::Core::Hashable
1187
+
1188
+ # The label key.
1189
+ # Corresponds to the JSON property `key`
1190
+ # @return [String]
1191
+ attr_accessor :key
1192
+
1193
+ # A human-readable description for the label.
1194
+ # Corresponds to the JSON property `description`
1195
+ # @return [String]
1196
+ attr_accessor :description
1197
+
1198
+ # The type of data that can be assigned to the label.
1199
+ # Corresponds to the JSON property `valueType`
1200
+ # @return [String]
1201
+ attr_accessor :value_type
1202
+
1203
+ def initialize(**args)
1204
+ update!(**args)
1205
+ end
1206
+
1207
+ # Update properties of this object
1208
+ def update!(**args)
1209
+ @key = args[:key] if args.key?(:key)
1210
+ @description = args[:description] if args.key?(:description)
1211
+ @value_type = args[:value_type] if args.key?(:value_type)
1212
+ end
1213
+ end
1214
+
1215
+ # The description of a dynamic collection of monitored resources. Each group has
1216
+ # a filter that is matched against monitored resources and their associated
1217
+ # metadata. If a group's filter matches an available monitored resource, then
1218
+ # that resource is a member of that group. Groups can contain any number of
1219
+ # monitored resources, and each monitored resource can be a member of any number
1220
+ # of groups.Groups can be nested in parent-child hierarchies. The parentName
1221
+ # field identifies an optional parent for each group. If a group has a parent,
1222
+ # then the only monitored resources available to be matched by the group's
1223
+ # filter are the resources contained in the parent group. In other words, a
1224
+ # group contains the monitored resources that match its filter and the filters
1225
+ # of all the group's ancestors. A group without a parent can contain any
1226
+ # monitored resource.For example, consider an infrastructure running a set of
1227
+ # instances with two user-defined tags: "environment" and "role". A parent group
1228
+ # has a filter, environment="production". A child of that parent group has a
1229
+ # filter, role="transcoder". The parent group contains all instances in the
1230
+ # production environment, regardless of their roles. The child group contains
1231
+ # instances that have the transcoder role and are in the production environment.
1232
+ # The monitored resources contained in a group can change at any moment,
1233
+ # depending on what resources exist and what filters are associated with the
1234
+ # group and its ancestors.
1235
+ class Group
1236
+ include Google::Apis::Core::Hashable
1237
+
1238
+ # The filter used to determine which monitored resources belong to this group.
1239
+ # Corresponds to the JSON property `filter`
1240
+ # @return [String]
1241
+ attr_accessor :filter
1242
+
1243
+ # Output only. The name of this group. The format is "projects/`
1244
+ # project_id_or_number`/groups/`group_id`". When creating a group, this field is
1245
+ # ignored and a new name is created consisting of the project specified in the
1246
+ # call to CreateGroup and a unique `group_id` that is generated automatically.
1247
+ # Corresponds to the JSON property `name`
1248
+ # @return [String]
1249
+ attr_accessor :name
1250
+
1251
+ # The name of the group's parent, if it has one. The format is "projects/`
1252
+ # project_id_or_number`/groups/`group_id`". For groups with no parent,
1253
+ # parentName is the empty string, "".
1254
+ # Corresponds to the JSON property `parentName`
1255
+ # @return [String]
1256
+ attr_accessor :parent_name
1257
+
1258
+ # A user-assigned name for this group, used only for display purposes.
1259
+ # Corresponds to the JSON property `displayName`
1260
+ # @return [String]
1261
+ attr_accessor :display_name
1262
+
1263
+ # If true, the members of this group are considered to be a cluster. The system
1264
+ # can perform additional analysis on groups that are clusters.
1265
+ # Corresponds to the JSON property `isCluster`
1266
+ # @return [Boolean]
1267
+ attr_accessor :is_cluster
1268
+ alias_method :is_cluster?, :is_cluster
1269
+
1270
+ def initialize(**args)
1271
+ update!(**args)
1272
+ end
1273
+
1274
+ # Update properties of this object
1275
+ def update!(**args)
1276
+ @filter = args[:filter] if args.key?(:filter)
1277
+ @name = args[:name] if args.key?(:name)
1278
+ @parent_name = args[:parent_name] if args.key?(:parent_name)
1279
+ @display_name = args[:display_name] if args.key?(:display_name)
1280
+ @is_cluster = args[:is_cluster] if args.key?(:is_cluster)
1281
+ end
1282
+ end
1283
+
1284
+ # A protocol buffer message type.
1285
+ class Type
1286
+ include Google::Apis::Core::Hashable
1287
+
1288
+ # The list of fields.
1289
+ # Corresponds to the JSON property `fields`
1290
+ # @return [Array<Google::Apis::MonitoringV3::Field>]
1291
+ attr_accessor :fields
1292
+
1293
+ # The fully qualified message name.
1294
+ # Corresponds to the JSON property `name`
1295
+ # @return [String]
1296
+ attr_accessor :name
1297
+
1298
+ # The list of types appearing in oneof definitions in this type.
1299
+ # Corresponds to the JSON property `oneofs`
1300
+ # @return [Array<String>]
1301
+ attr_accessor :oneofs
1302
+
1303
+ # SourceContext represents information about the source of a protobuf element,
1304
+ # like the file in which it is defined.
1305
+ # Corresponds to the JSON property `sourceContext`
1306
+ # @return [Google::Apis::MonitoringV3::SourceContext]
1307
+ attr_accessor :source_context
1308
+
1309
+ # The source syntax.
1310
+ # Corresponds to the JSON property `syntax`
1311
+ # @return [String]
1312
+ attr_accessor :syntax
1313
+
1314
+ # The protocol buffer options.
1315
+ # Corresponds to the JSON property `options`
1316
+ # @return [Array<Google::Apis::MonitoringV3::Option>]
1317
+ attr_accessor :options
1318
+
1319
+ def initialize(**args)
1320
+ update!(**args)
1321
+ end
1322
+
1323
+ # Update properties of this object
1324
+ def update!(**args)
1325
+ @fields = args[:fields] if args.key?(:fields)
1326
+ @name = args[:name] if args.key?(:name)
1327
+ @oneofs = args[:oneofs] if args.key?(:oneofs)
1328
+ @source_context = args[:source_context] if args.key?(:source_context)
1329
+ @syntax = args[:syntax] if args.key?(:syntax)
1330
+ @options = args[:options] if args.key?(:options)
1331
+ end
1332
+ end
1333
+ end
1334
+ end
1335
+ end