google-api-client 0.28.4 → 0.29.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (750) hide show
  1. checksums.yaml +4 -4
  2. data/.kokoro/build.bat +9 -6
  3. data/.kokoro/build.sh +2 -34
  4. data/.kokoro/continuous/common.cfg +6 -1
  5. data/.kokoro/continuous/linux.cfg +1 -1
  6. data/.kokoro/continuous/windows.cfg +17 -1
  7. data/.kokoro/osx.sh +2 -33
  8. data/.kokoro/presubmit/common.cfg +6 -1
  9. data/.kokoro/presubmit/linux.cfg +1 -1
  10. data/.kokoro/presubmit/windows.cfg +17 -1
  11. data/.kokoro/trampoline.bat +10 -0
  12. data/.kokoro/trampoline.sh +3 -23
  13. data/CHANGELOG.md +460 -0
  14. data/README.md +1 -1
  15. data/Rakefile +31 -0
  16. data/bin/generate-api +4 -2
  17. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -2
  18. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -1
  19. data/generated/google/apis/accessapproval_v1beta1/classes.rb +333 -0
  20. data/generated/google/apis/accessapproval_v1beta1/representations.rb +174 -0
  21. data/generated/google/apis/accessapproval_v1beta1/service.rb +728 -0
  22. data/generated/google/apis/accessapproval_v1beta1.rb +34 -0
  23. data/generated/google/apis/accesscontextmanager_v1/classes.rb +755 -0
  24. data/generated/google/apis/accesscontextmanager_v1/representations.rb +282 -0
  25. data/generated/google/apis/accesscontextmanager_v1/service.rb +788 -0
  26. data/generated/google/apis/accesscontextmanager_v1.rb +34 -0
  27. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +47 -31
  28. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +4 -0
  29. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +16 -16
  30. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  31. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +95 -200
  32. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -32
  33. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +64 -104
  34. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  35. data/generated/google/apis/adexchangebuyer_v1_2/service.rb +7 -7
  36. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -21
  37. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +38 -38
  38. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -2
  39. data/generated/google/apis/admin_datatransfer_v1/service.rb +5 -5
  40. data/generated/google/apis/admin_directory_v1/classes.rb +5 -50
  41. data/generated/google/apis/admin_directory_v1/representations.rb +0 -2
  42. data/generated/google/apis/admin_directory_v1/service.rb +113 -113
  43. data/generated/google/apis/admin_directory_v1.rb +1 -1
  44. data/generated/google/apis/admin_reports_v1/service.rb +6 -6
  45. data/generated/google/apis/admin_reports_v1.rb +1 -1
  46. data/generated/google/apis/adsense_v1_4/service.rb +39 -39
  47. data/generated/google/apis/adsensehost_v4_1/service.rb +26 -26
  48. data/generated/google/apis/alertcenter_v1beta1/classes.rb +101 -2
  49. data/generated/google/apis/alertcenter_v1beta1/representations.rb +25 -0
  50. data/generated/google/apis/alertcenter_v1beta1/service.rb +17 -16
  51. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  52. data/generated/google/apis/analytics_v2_4/service.rb +6 -6
  53. data/generated/google/apis/analytics_v3/service.rb +88 -88
  54. data/generated/google/apis/analyticsreporting_v4/classes.rb +638 -0
  55. data/generated/google/apis/analyticsreporting_v4/representations.rb +248 -0
  56. data/generated/google/apis/analyticsreporting_v4/service.rb +31 -1
  57. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  58. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +51 -11
  59. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +6 -0
  60. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +26 -26
  61. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  62. data/generated/google/apis/androidenterprise_v1/classes.rb +26 -30
  63. data/generated/google/apis/androidenterprise_v1/representations.rb +2 -14
  64. data/generated/google/apis/androidenterprise_v1/service.rb +85 -121
  65. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  66. data/generated/google/apis/androidmanagement_v1/classes.rb +358 -4
  67. data/generated/google/apis/androidmanagement_v1/representations.rb +163 -0
  68. data/generated/google/apis/androidmanagement_v1/service.rb +191 -21
  69. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  70. data/generated/google/apis/androidpublisher_v1/service.rb +2 -2
  71. data/generated/google/apis/androidpublisher_v1_1/service.rb +3 -3
  72. data/generated/google/apis/androidpublisher_v2/service.rb +64 -70
  73. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  74. data/generated/google/apis/androidpublisher_v3/classes.rb +113 -0
  75. data/generated/google/apis/androidpublisher_v3/representations.rb +58 -0
  76. data/generated/google/apis/androidpublisher_v3/service.rb +234 -64
  77. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  78. data/generated/google/apis/appengine_v1/classes.rb +45 -100
  79. data/generated/google/apis/appengine_v1/representations.rb +17 -35
  80. data/generated/google/apis/appengine_v1/service.rb +45 -39
  81. data/generated/google/apis/appengine_v1.rb +1 -1
  82. data/generated/google/apis/appengine_v1alpha/classes.rb +2 -99
  83. data/generated/google/apis/appengine_v1alpha/representations.rb +0 -35
  84. data/generated/google/apis/appengine_v1alpha/service.rb +15 -15
  85. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  86. data/generated/google/apis/appengine_v1beta/classes.rb +7 -102
  87. data/generated/google/apis/appengine_v1beta/representations.rb +0 -35
  88. data/generated/google/apis/appengine_v1beta/service.rb +45 -39
  89. data/generated/google/apis/appengine_v1beta.rb +1 -1
  90. data/generated/google/apis/appengine_v1beta4/service.rb +20 -20
  91. data/generated/google/apis/appengine_v1beta5/service.rb +20 -20
  92. data/generated/google/apis/appsactivity_v1/service.rb +5 -4
  93. data/generated/google/apis/appsactivity_v1.rb +1 -1
  94. data/generated/google/apis/appsmarket_v2/service.rb +3 -3
  95. data/generated/google/apis/appstate_v1/service.rb +5 -5
  96. data/generated/google/apis/bigquery_v2/classes.rb +1121 -114
  97. data/generated/google/apis/bigquery_v2/representations.rb +414 -26
  98. data/generated/google/apis/bigquery_v2/service.rb +184 -22
  99. data/generated/google/apis/bigquery_v2.rb +1 -1
  100. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +88 -10
  101. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +43 -0
  102. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +142 -34
  103. data/generated/google/apis/bigquerydatatransfer_v1.rb +3 -3
  104. data/generated/google/apis/bigtableadmin_v1/service.rb +3 -3
  105. data/generated/google/apis/bigtableadmin_v1.rb +2 -2
  106. data/generated/google/apis/bigtableadmin_v2/classes.rb +14 -14
  107. data/generated/google/apis/bigtableadmin_v2/service.rb +142 -33
  108. data/generated/google/apis/bigtableadmin_v2.rb +2 -2
  109. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +66 -6
  110. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +17 -0
  111. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +17 -13
  112. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  113. data/generated/google/apis/blogger_v2/service.rb +9 -9
  114. data/generated/google/apis/blogger_v3/service.rb +33 -33
  115. data/generated/google/apis/books_v1/service.rb +51 -51
  116. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  117. data/generated/google/apis/calendar_v3/service.rb +47 -47
  118. data/generated/google/apis/calendar_v3.rb +1 -1
  119. data/generated/google/apis/chat_v1/service.rb +8 -8
  120. data/generated/google/apis/civicinfo_v2/service.rb +5 -5
  121. data/generated/google/apis/classroom_v1/classes.rb +77 -0
  122. data/generated/google/apis/classroom_v1/representations.rb +32 -0
  123. data/generated/google/apis/classroom_v1/service.rb +276 -51
  124. data/generated/google/apis/classroom_v1.rb +7 -1
  125. data/generated/google/apis/cloudasset_v1/classes.rb +818 -0
  126. data/generated/google/apis/cloudasset_v1/representations.rb +264 -0
  127. data/generated/google/apis/cloudasset_v1/service.rb +191 -0
  128. data/generated/google/apis/cloudasset_v1.rb +34 -0
  129. data/generated/google/apis/cloudasset_v1beta1/classes.rb +33 -18
  130. data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
  131. data/generated/google/apis/cloudasset_v1beta1/service.rb +13 -13
  132. data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
  133. data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
  134. data/generated/google/apis/cloudbilling_v1/service.rb +14 -14
  135. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  136. data/generated/google/apis/cloudbuild_v1/classes.rb +162 -11
  137. data/generated/google/apis/cloudbuild_v1/representations.rb +67 -0
  138. data/generated/google/apis/cloudbuild_v1/service.rb +21 -15
  139. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  140. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +7 -1
  141. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
  142. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +6 -6
  143. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  144. data/generated/google/apis/clouddebugger_v2/service.rb +8 -8
  145. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +19 -16
  146. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +12 -11
  147. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  148. data/generated/google/apis/cloudfunctions_v1/classes.rb +21 -17
  149. data/generated/google/apis/cloudfunctions_v1/service.rb +22 -16
  150. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  151. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +20 -16
  152. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +17 -11
  153. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  154. data/generated/google/apis/cloudidentity_v1/classes.rb +14 -14
  155. data/generated/google/apis/cloudidentity_v1/service.rb +18 -27
  156. data/generated/google/apis/cloudidentity_v1.rb +7 -1
  157. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +11 -11
  158. data/generated/google/apis/cloudidentity_v1beta1/service.rb +15 -21
  159. data/generated/google/apis/cloudidentity_v1beta1.rb +7 -1
  160. data/generated/google/apis/cloudiot_v1/classes.rb +11 -11
  161. data/generated/google/apis/cloudiot_v1/service.rb +23 -330
  162. data/generated/google/apis/cloudiot_v1.rb +1 -1
  163. data/generated/google/apis/cloudkms_v1/classes.rb +7 -3
  164. data/generated/google/apis/cloudkms_v1/service.rb +30 -30
  165. data/generated/google/apis/cloudkms_v1.rb +1 -1
  166. data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +358 -0
  167. data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +123 -0
  168. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +486 -0
  169. data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +35 -0
  170. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1212 -0
  171. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +399 -0
  172. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +1073 -0
  173. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +35 -0
  174. data/generated/google/apis/cloudprofiler_v2/service.rb +3 -3
  175. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +24 -22
  176. data/generated/google/apis/cloudresourcemanager_v1/service.rb +68 -59
  177. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  178. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +3 -3
  179. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +53 -42
  180. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  181. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +15 -16
  182. data/generated/google/apis/cloudresourcemanager_v2/service.rb +13 -13
  183. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  184. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +15 -16
  185. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +13 -13
  186. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  187. data/generated/google/apis/cloudscheduler_v1/classes.rb +994 -0
  188. data/generated/google/apis/cloudscheduler_v1/representations.rb +297 -0
  189. data/generated/google/apis/cloudscheduler_v1/service.rb +448 -0
  190. data/generated/google/apis/cloudscheduler_v1.rb +34 -0
  191. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +160 -44
  192. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +33 -0
  193. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +15 -12
  194. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  195. data/generated/google/apis/cloudsearch_v1/classes.rb +245 -59
  196. data/generated/google/apis/cloudsearch_v1/representations.rb +91 -0
  197. data/generated/google/apis/cloudsearch_v1/service.rb +86 -80
  198. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  199. data/generated/google/apis/cloudshell_v1/classes.rb +11 -11
  200. data/generated/google/apis/cloudshell_v1/service.rb +4 -4
  201. data/generated/google/apis/cloudshell_v1.rb +1 -1
  202. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +24 -11
  203. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +2 -0
  204. data/generated/google/apis/cloudshell_v1alpha1/service.rb +11 -10
  205. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  206. data/generated/google/apis/cloudtasks_v2/classes.rb +1436 -0
  207. data/generated/google/apis/cloudtasks_v2/representations.rb +408 -0
  208. data/generated/google/apis/cloudtasks_v2/service.rb +856 -0
  209. data/generated/google/apis/{partners_v2.rb → cloudtasks_v2.rb} +11 -9
  210. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +141 -102
  211. data/generated/google/apis/cloudtasks_v2beta2/service.rb +44 -43
  212. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  213. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +388 -108
  214. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +65 -0
  215. data/generated/google/apis/cloudtasks_v2beta3/service.rb +40 -39
  216. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  217. data/generated/google/apis/cloudtrace_v1/service.rb +3 -3
  218. data/generated/google/apis/cloudtrace_v2/classes.rb +10 -10
  219. data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
  220. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  221. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +484 -0
  222. data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +210 -0
  223. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +124 -0
  224. data/generated/google/apis/commentanalyzer_v1alpha1.rb +39 -0
  225. data/generated/google/apis/composer_v1/classes.rb +21 -15
  226. data/generated/google/apis/composer_v1/service.rb +9 -9
  227. data/generated/google/apis/composer_v1.rb +1 -1
  228. data/generated/google/apis/composer_v1beta1/classes.rb +175 -36
  229. data/generated/google/apis/composer_v1beta1/representations.rb +50 -0
  230. data/generated/google/apis/composer_v1beta1/service.rb +9 -9
  231. data/generated/google/apis/composer_v1beta1.rb +1 -1
  232. data/generated/google/apis/compute_alpha/classes.rb +10112 -7289
  233. data/generated/google/apis/compute_alpha/representations.rb +1337 -219
  234. data/generated/google/apis/compute_alpha/service.rb +4259 -2728
  235. data/generated/google/apis/compute_alpha.rb +1 -1
  236. data/generated/google/apis/compute_beta/classes.rb +4254 -2781
  237. data/generated/google/apis/compute_beta/representations.rb +853 -283
  238. data/generated/google/apis/compute_beta/service.rb +7077 -5955
  239. data/generated/google/apis/compute_beta.rb +1 -1
  240. data/generated/google/apis/compute_v1/classes.rb +1259 -93
  241. data/generated/google/apis/compute_v1/representations.rb +450 -1
  242. data/generated/google/apis/compute_v1/service.rb +1085 -400
  243. data/generated/google/apis/compute_v1.rb +1 -1
  244. data/generated/google/apis/container_v1/classes.rb +201 -22
  245. data/generated/google/apis/container_v1/representations.rb +69 -0
  246. data/generated/google/apis/container_v1/service.rb +151 -102
  247. data/generated/google/apis/container_v1.rb +1 -1
  248. data/generated/google/apis/container_v1beta1/classes.rb +215 -25
  249. data/generated/google/apis/container_v1beta1/representations.rb +86 -0
  250. data/generated/google/apis/container_v1beta1/service.rb +106 -106
  251. data/generated/google/apis/container_v1beta1.rb +1 -1
  252. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +26 -18
  253. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  254. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +33 -33
  255. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  256. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +226 -12
  257. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +58 -0
  258. data/generated/google/apis/containeranalysis_v1beta1/service.rb +24 -24
  259. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  260. data/generated/google/apis/content_v2/classes.rb +218 -101
  261. data/generated/google/apis/content_v2/representations.rb +49 -0
  262. data/generated/google/apis/content_v2/service.rb +189 -152
  263. data/generated/google/apis/content_v2.rb +1 -1
  264. data/generated/google/apis/content_v2_1/classes.rb +387 -216
  265. data/generated/google/apis/content_v2_1/representations.rb +131 -56
  266. data/generated/google/apis/content_v2_1/service.rb +190 -107
  267. data/generated/google/apis/content_v2_1.rb +1 -1
  268. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  269. data/generated/google/apis/dataflow_v1b3/classes.rb +148 -31
  270. data/generated/google/apis/dataflow_v1b3/representations.rb +45 -0
  271. data/generated/google/apis/dataflow_v1b3/service.rb +415 -56
  272. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  273. data/generated/google/apis/datafusion_v1beta1/classes.rb +1304 -0
  274. data/generated/google/apis/datafusion_v1beta1/representations.rb +469 -0
  275. data/generated/google/apis/datafusion_v1beta1/service.rb +657 -0
  276. data/generated/google/apis/datafusion_v1beta1.rb +43 -0
  277. data/generated/google/apis/dataproc_v1/classes.rb +27 -22
  278. data/generated/google/apis/dataproc_v1/representations.rb +1 -0
  279. data/generated/google/apis/dataproc_v1/service.rb +261 -45
  280. data/generated/google/apis/dataproc_v1.rb +1 -1
  281. data/generated/google/apis/dataproc_v1beta2/classes.rb +534 -50
  282. data/generated/google/apis/dataproc_v1beta2/representations.rb +185 -7
  283. data/generated/google/apis/dataproc_v1beta2/service.rb +617 -51
  284. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  285. data/generated/google/apis/datastore_v1/classes.rb +20 -16
  286. data/generated/google/apis/datastore_v1/service.rb +15 -15
  287. data/generated/google/apis/datastore_v1.rb +1 -1
  288. data/generated/google/apis/datastore_v1beta1/classes.rb +10 -10
  289. data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
  290. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  291. data/generated/google/apis/datastore_v1beta3/classes.rb +10 -6
  292. data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
  293. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  294. data/generated/google/apis/deploymentmanager_alpha/service.rb +37 -37
  295. data/generated/google/apis/deploymentmanager_v2/service.rb +18 -18
  296. data/generated/google/apis/deploymentmanager_v2beta/service.rb +32 -32
  297. data/generated/google/apis/dfareporting_v3_1/service.rb +206 -206
  298. data/generated/google/apis/dfareporting_v3_2/service.rb +206 -206
  299. data/generated/google/apis/dfareporting_v3_3/classes.rb +3 -3
  300. data/generated/google/apis/dfareporting_v3_3/service.rb +204 -204
  301. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  302. data/generated/google/apis/dialogflow_v2/classes.rb +367 -82
  303. data/generated/google/apis/dialogflow_v2/representations.rb +99 -0
  304. data/generated/google/apis/dialogflow_v2/service.rb +76 -60
  305. data/generated/google/apis/dialogflow_v2.rb +1 -1
  306. data/generated/google/apis/dialogflow_v2beta1/classes.rb +199 -88
  307. data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
  308. data/generated/google/apis/dialogflow_v2beta1/service.rb +154 -94
  309. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  310. data/generated/google/apis/digitalassetlinks_v1/service.rb +7 -6
  311. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  312. data/generated/google/apis/discovery_v1/service.rb +2 -2
  313. data/generated/google/apis/dlp_v2/classes.rb +116 -45
  314. data/generated/google/apis/dlp_v2/representations.rb +32 -0
  315. data/generated/google/apis/dlp_v2/service.rb +85 -45
  316. data/generated/google/apis/dlp_v2.rb +1 -1
  317. data/generated/google/apis/dns_v1/classes.rb +83 -1
  318. data/generated/google/apis/dns_v1/representations.rb +34 -0
  319. data/generated/google/apis/dns_v1/service.rb +15 -15
  320. data/generated/google/apis/dns_v1.rb +1 -1
  321. data/generated/google/apis/dns_v1beta2/classes.rb +81 -1
  322. data/generated/google/apis/dns_v1beta2/representations.rb +33 -0
  323. data/generated/google/apis/dns_v1beta2/service.rb +21 -21
  324. data/generated/google/apis/dns_v1beta2.rb +1 -1
  325. data/generated/google/apis/dns_v2beta1/classes.rb +83 -1
  326. data/generated/google/apis/dns_v2beta1/representations.rb +34 -0
  327. data/generated/google/apis/dns_v2beta1/service.rb +16 -16
  328. data/generated/google/apis/dns_v2beta1.rb +1 -1
  329. data/generated/google/apis/docs_v1/classes.rb +265 -47
  330. data/generated/google/apis/docs_v1/representations.rb +96 -0
  331. data/generated/google/apis/docs_v1/service.rb +3 -3
  332. data/generated/google/apis/docs_v1.rb +1 -1
  333. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -4
  334. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +9 -9
  335. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  336. data/generated/google/apis/doubleclicksearch_v2/service.rb +10 -10
  337. data/generated/google/apis/drive_v2/classes.rb +601 -80
  338. data/generated/google/apis/drive_v2/representations.rb +152 -0
  339. data/generated/google/apis/drive_v2/service.rb +574 -164
  340. data/generated/google/apis/drive_v2.rb +1 -1
  341. data/generated/google/apis/drive_v3/classes.rb +591 -75
  342. data/generated/google/apis/drive_v3/representations.rb +151 -0
  343. data/generated/google/apis/drive_v3/service.rb +483 -116
  344. data/generated/google/apis/drive_v3.rb +1 -1
  345. data/generated/google/apis/driveactivity_v2/classes.rb +149 -17
  346. data/generated/google/apis/driveactivity_v2/representations.rb +69 -0
  347. data/generated/google/apis/driveactivity_v2/service.rb +1 -1
  348. data/generated/google/apis/driveactivity_v2.rb +1 -1
  349. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +459 -0
  350. data/generated/google/apis/factchecktools_v1alpha1/representations.rb +207 -0
  351. data/generated/google/apis/factchecktools_v1alpha1/service.rb +300 -0
  352. data/generated/google/apis/factchecktools_v1alpha1.rb +34 -0
  353. data/generated/google/apis/fcm_v1/classes.rb +424 -0
  354. data/generated/google/apis/fcm_v1/representations.rb +167 -0
  355. data/generated/google/apis/fcm_v1/service.rb +97 -0
  356. data/generated/google/apis/fcm_v1.rb +35 -0
  357. data/generated/google/apis/file_v1/classes.rb +646 -11
  358. data/generated/google/apis/file_v1/representations.rb +207 -0
  359. data/generated/google/apis/file_v1/service.rb +196 -6
  360. data/generated/google/apis/file_v1.rb +1 -1
  361. data/generated/google/apis/file_v1beta1/classes.rb +461 -19
  362. data/generated/google/apis/file_v1beta1/representations.rb +137 -0
  363. data/generated/google/apis/file_v1beta1/service.rb +11 -11
  364. data/generated/google/apis/file_v1beta1.rb +1 -1
  365. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +41 -14
  366. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +4 -0
  367. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -5
  368. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  369. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +13 -13
  370. data/generated/google/apis/firebasehosting_v1beta1/service.rb +14 -14
  371. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  372. data/generated/google/apis/firebaserules_v1/classes.rb +10 -2
  373. data/generated/google/apis/firebaserules_v1/service.rb +12 -12
  374. data/generated/google/apis/firebaserules_v1.rb +1 -1
  375. data/generated/google/apis/firestore_v1/classes.rb +15 -15
  376. data/generated/google/apis/firestore_v1/service.rb +28 -28
  377. data/generated/google/apis/firestore_v1.rb +1 -1
  378. data/generated/google/apis/firestore_v1beta1/classes.rb +15 -15
  379. data/generated/google/apis/firestore_v1beta1/service.rb +19 -19
  380. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  381. data/generated/google/apis/firestore_v1beta2/classes.rb +10 -10
  382. data/generated/google/apis/firestore_v1beta2/service.rb +9 -9
  383. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  384. data/generated/google/apis/fitness_v1/classes.rb +4 -1
  385. data/generated/google/apis/fitness_v1/service.rb +14 -58
  386. data/generated/google/apis/fitness_v1.rb +1 -1
  387. data/generated/google/apis/fusiontables_v1/service.rb +32 -32
  388. data/generated/google/apis/fusiontables_v2/service.rb +34 -34
  389. data/generated/google/apis/games_configuration_v1configuration/service.rb +13 -13
  390. data/generated/google/apis/games_management_v1management/service.rb +27 -27
  391. data/generated/google/apis/games_management_v1management.rb +2 -2
  392. data/generated/google/apis/games_v1/service.rb +53 -53
  393. data/generated/google/apis/games_v1.rb +3 -3
  394. data/generated/google/apis/genomics_v1/classes.rb +190 -3321
  395. data/generated/google/apis/genomics_v1/representations.rb +128 -1265
  396. data/generated/google/apis/genomics_v1/service.rb +75 -1982
  397. data/generated/google/apis/genomics_v1.rb +1 -10
  398. data/generated/google/apis/genomics_v1alpha2/classes.rb +13 -53
  399. data/generated/google/apis/genomics_v1alpha2/representations.rb +0 -26
  400. data/generated/google/apis/genomics_v1alpha2/service.rb +11 -12
  401. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  402. data/generated/google/apis/genomics_v2alpha1/classes.rb +26 -58
  403. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -26
  404. data/generated/google/apis/genomics_v2alpha1/service.rb +6 -7
  405. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  406. data/generated/google/apis/gmail_v1/classes.rb +29 -0
  407. data/generated/google/apis/gmail_v1/representations.rb +13 -0
  408. data/generated/google/apis/gmail_v1/service.rb +142 -66
  409. data/generated/google/apis/gmail_v1.rb +1 -1
  410. data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
  411. data/generated/google/apis/groupssettings_v1/classes.rb +126 -1
  412. data/generated/google/apis/groupssettings_v1/representations.rb +18 -0
  413. data/generated/google/apis/groupssettings_v1/service.rb +4 -4
  414. data/generated/google/apis/groupssettings_v1.rb +2 -2
  415. data/generated/google/apis/healthcare_v1alpha2/classes.rb +2849 -0
  416. data/generated/google/apis/healthcare_v1alpha2/representations.rb +1260 -0
  417. data/generated/google/apis/healthcare_v1alpha2/service.rb +4011 -0
  418. data/generated/google/apis/healthcare_v1alpha2.rb +34 -0
  419. data/generated/google/apis/healthcare_v1beta1/classes.rb +2464 -0
  420. data/generated/google/apis/healthcare_v1beta1/representations.rb +1042 -0
  421. data/generated/google/apis/healthcare_v1beta1/service.rb +3413 -0
  422. data/generated/google/apis/healthcare_v1beta1.rb +34 -0
  423. data/generated/google/apis/iam_v1/classes.rb +171 -1
  424. data/generated/google/apis/iam_v1/representations.rb +95 -0
  425. data/generated/google/apis/iam_v1/service.rb +249 -39
  426. data/generated/google/apis/iam_v1.rb +1 -1
  427. data/generated/google/apis/iamcredentials_v1/classes.rb +8 -4
  428. data/generated/google/apis/iamcredentials_v1/service.rb +15 -10
  429. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  430. data/generated/google/apis/iap_v1/classes.rb +1 -1
  431. data/generated/google/apis/iap_v1/service.rb +3 -3
  432. data/generated/google/apis/iap_v1.rb +1 -1
  433. data/generated/google/apis/iap_v1beta1/classes.rb +1 -1
  434. data/generated/google/apis/iap_v1beta1/service.rb +3 -3
  435. data/generated/google/apis/iap_v1beta1.rb +1 -1
  436. data/generated/google/apis/identitytoolkit_v3/service.rb +20 -20
  437. data/generated/google/apis/indexing_v3/service.rb +2 -2
  438. data/generated/google/apis/jobs_v2/classes.rb +16 -17
  439. data/generated/google/apis/jobs_v2/service.rb +17 -17
  440. data/generated/google/apis/jobs_v2.rb +1 -1
  441. data/generated/google/apis/jobs_v3/classes.rb +14 -8
  442. data/generated/google/apis/jobs_v3/service.rb +16 -17
  443. data/generated/google/apis/jobs_v3.rb +1 -1
  444. data/generated/google/apis/jobs_v3p1beta1/classes.rb +26 -20
  445. data/generated/google/apis/jobs_v3p1beta1/service.rb +17 -18
  446. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  447. data/generated/google/apis/kgsearch_v1/service.rb +1 -1
  448. data/generated/google/apis/language_v1/classes.rb +8 -7
  449. data/generated/google/apis/language_v1/service.rb +6 -6
  450. data/generated/google/apis/language_v1.rb +1 -1
  451. data/generated/google/apis/language_v1beta1/classes.rb +5 -5
  452. data/generated/google/apis/language_v1beta1/service.rb +4 -4
  453. data/generated/google/apis/language_v1beta1.rb +1 -1
  454. data/generated/google/apis/language_v1beta2/classes.rb +8 -7
  455. data/generated/google/apis/language_v1beta2/service.rb +6 -6
  456. data/generated/google/apis/language_v1beta2.rb +1 -1
  457. data/generated/google/apis/libraryagent_v1/service.rb +6 -6
  458. data/generated/google/apis/licensing_v1/service.rb +7 -7
  459. data/generated/google/apis/logging_v2/classes.rb +8 -3
  460. data/generated/google/apis/logging_v2/representations.rb +1 -0
  461. data/generated/google/apis/logging_v2/service.rb +72 -72
  462. data/generated/google/apis/logging_v2.rb +1 -1
  463. data/generated/google/apis/manufacturers_v1/service.rb +4 -4
  464. data/generated/google/apis/mirror_v1/service.rb +24 -24
  465. data/generated/google/apis/ml_v1/classes.rb +240 -52
  466. data/generated/google/apis/ml_v1/representations.rb +25 -2
  467. data/generated/google/apis/ml_v1/service.rb +36 -36
  468. data/generated/google/apis/ml_v1.rb +1 -1
  469. data/generated/google/apis/monitoring_v3/classes.rb +22 -18
  470. data/generated/google/apis/monitoring_v3/representations.rb +2 -1
  471. data/generated/google/apis/monitoring_v3/service.rb +42 -37
  472. data/generated/google/apis/monitoring_v3.rb +1 -1
  473. data/generated/google/apis/oauth2_v1/classes.rb +0 -124
  474. data/generated/google/apis/oauth2_v1/representations.rb +0 -62
  475. data/generated/google/apis/oauth2_v1/service.rb +3 -162
  476. data/generated/google/apis/oauth2_v1.rb +3 -6
  477. data/generated/google/apis/oauth2_v2/service.rb +4 -4
  478. data/generated/google/apis/oauth2_v2.rb +3 -6
  479. data/generated/google/apis/oslogin_v1/service.rb +8 -7
  480. data/generated/google/apis/oslogin_v1.rb +3 -2
  481. data/generated/google/apis/oslogin_v1alpha/service.rb +8 -7
  482. data/generated/google/apis/oslogin_v1alpha.rb +3 -2
  483. data/generated/google/apis/oslogin_v1beta/service.rb +8 -7
  484. data/generated/google/apis/oslogin_v1beta.rb +3 -2
  485. data/generated/google/apis/pagespeedonline_v1/service.rb +1 -1
  486. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
  487. data/generated/google/apis/pagespeedonline_v4/service.rb +1 -1
  488. data/generated/google/apis/pagespeedonline_v5/classes.rb +43 -0
  489. data/generated/google/apis/pagespeedonline_v5/representations.rb +18 -0
  490. data/generated/google/apis/pagespeedonline_v5/service.rb +1 -1
  491. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  492. data/generated/google/apis/people_v1/classes.rb +38 -29
  493. data/generated/google/apis/people_v1/representations.rb +1 -0
  494. data/generated/google/apis/people_v1/service.rb +18 -13
  495. data/generated/google/apis/people_v1.rb +2 -5
  496. data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
  497. data/generated/google/apis/plus_domains_v1/service.rb +18 -392
  498. data/generated/google/apis/plus_domains_v1.rb +4 -10
  499. data/generated/google/apis/plus_v1/service.rb +16 -16
  500. data/generated/google/apis/plus_v1.rb +4 -4
  501. data/generated/google/apis/poly_v1/classes.rb +8 -6
  502. data/generated/google/apis/poly_v1/service.rb +15 -12
  503. data/generated/google/apis/poly_v1.rb +1 -1
  504. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +8 -6
  505. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +17 -17
  506. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  507. data/generated/google/apis/pubsub_v1/classes.rb +55 -39
  508. data/generated/google/apis/pubsub_v1/representations.rb +16 -0
  509. data/generated/google/apis/pubsub_v1/service.rb +46 -69
  510. data/generated/google/apis/pubsub_v1.rb +1 -1
  511. data/generated/google/apis/pubsub_v1beta1a/service.rb +15 -15
  512. data/generated/google/apis/pubsub_v1beta2/classes.rb +45 -1
  513. data/generated/google/apis/pubsub_v1beta2/representations.rb +16 -0
  514. data/generated/google/apis/pubsub_v1beta2/service.rb +20 -20
  515. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  516. data/generated/google/apis/redis_v1/classes.rb +30 -10
  517. data/generated/google/apis/redis_v1/representations.rb +13 -0
  518. data/generated/google/apis/redis_v1/service.rb +51 -15
  519. data/generated/google/apis/redis_v1.rb +1 -1
  520. data/generated/google/apis/redis_v1beta1/classes.rb +18 -21
  521. data/generated/google/apis/redis_v1beta1/representations.rb +0 -1
  522. data/generated/google/apis/redis_v1beta1/service.rb +15 -15
  523. data/generated/google/apis/redis_v1beta1.rb +1 -1
  524. data/generated/google/apis/remotebuildexecution_v1/classes.rb +50 -35
  525. data/generated/google/apis/remotebuildexecution_v1/representations.rb +2 -0
  526. data/generated/google/apis/remotebuildexecution_v1/service.rb +7 -7
  527. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  528. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +48 -33
  529. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +2 -0
  530. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +10 -10
  531. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  532. data/generated/google/apis/remotebuildexecution_v2/classes.rb +58 -43
  533. data/generated/google/apis/remotebuildexecution_v2/representations.rb +2 -0
  534. data/generated/google/apis/remotebuildexecution_v2/service.rb +9 -9
  535. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  536. data/generated/google/apis/replicapool_v1beta1/service.rb +10 -10
  537. data/generated/google/apis/reseller_v1/classes.rb +32 -39
  538. data/generated/google/apis/reseller_v1/service.rb +18 -18
  539. data/generated/google/apis/reseller_v1.rb +1 -1
  540. data/generated/google/apis/run_v1/classes.rb +73 -0
  541. data/generated/google/apis/run_v1/representations.rb +43 -0
  542. data/generated/google/apis/run_v1/service.rb +90 -0
  543. data/generated/google/apis/run_v1.rb +35 -0
  544. data/generated/google/apis/run_v1alpha1/classes.rb +3882 -0
  545. data/generated/google/apis/run_v1alpha1/representations.rb +1425 -0
  546. data/generated/google/apis/run_v1alpha1/service.rb +2071 -0
  547. data/generated/google/apis/run_v1alpha1.rb +35 -0
  548. data/generated/google/apis/runtimeconfig_v1/classes.rb +11 -11
  549. data/generated/google/apis/runtimeconfig_v1/service.rb +3 -3
  550. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  551. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +26 -25
  552. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +22 -22
  553. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  554. data/generated/google/apis/safebrowsing_v4/service.rb +7 -7
  555. data/generated/google/apis/script_v1/classes.rb +167 -6
  556. data/generated/google/apis/script_v1/representations.rb +79 -1
  557. data/generated/google/apis/script_v1/service.rb +16 -16
  558. data/generated/google/apis/script_v1.rb +1 -1
  559. data/generated/google/apis/searchconsole_v1/service.rb +1 -1
  560. data/generated/google/apis/securitycenter_v1/classes.rb +1627 -0
  561. data/generated/google/apis/securitycenter_v1/representations.rb +569 -0
  562. data/generated/google/apis/securitycenter_v1/service.rb +1110 -0
  563. data/generated/google/apis/securitycenter_v1.rb +35 -0
  564. data/generated/google/apis/securitycenter_v1beta1/classes.rb +1514 -0
  565. data/generated/google/apis/securitycenter_v1beta1/representations.rb +548 -0
  566. data/generated/google/apis/securitycenter_v1beta1/service.rb +1035 -0
  567. data/generated/google/apis/securitycenter_v1beta1.rb +35 -0
  568. data/generated/google/apis/servicebroker_v1/classes.rb +1 -1
  569. data/generated/google/apis/servicebroker_v1/service.rb +3 -3
  570. data/generated/google/apis/servicebroker_v1.rb +1 -1
  571. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +1 -1
  572. data/generated/google/apis/servicebroker_v1alpha1/service.rb +16 -16
  573. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  574. data/generated/google/apis/servicebroker_v1beta1/classes.rb +1 -1
  575. data/generated/google/apis/servicebroker_v1beta1/service.rb +21 -21
  576. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  577. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +453 -149
  578. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +202 -29
  579. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +148 -62
  580. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  581. data/generated/google/apis/servicecontrol_v1/classes.rb +122 -25
  582. data/generated/google/apis/servicecontrol_v1/representations.rb +47 -0
  583. data/generated/google/apis/servicecontrol_v1/service.rb +3 -3
  584. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  585. data/generated/google/apis/servicemanagement_v1/classes.rb +93 -110
  586. data/generated/google/apis/servicemanagement_v1/representations.rb +13 -26
  587. data/generated/google/apis/servicemanagement_v1/service.rb +30 -27
  588. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  589. data/generated/google/apis/servicenetworking_v1/classes.rb +3626 -0
  590. data/generated/google/apis/servicenetworking_v1/representations.rb +1055 -0
  591. data/generated/google/apis/servicenetworking_v1/service.rb +440 -0
  592. data/generated/google/apis/servicenetworking_v1.rb +38 -0
  593. data/generated/google/apis/servicenetworking_v1beta/classes.rb +65 -108
  594. data/generated/google/apis/servicenetworking_v1beta/representations.rb +2 -29
  595. data/generated/google/apis/servicenetworking_v1beta/service.rb +6 -6
  596. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  597. data/generated/google/apis/serviceusage_v1/classes.rb +160 -109
  598. data/generated/google/apis/serviceusage_v1/representations.rb +42 -26
  599. data/generated/google/apis/serviceusage_v1/service.rb +17 -19
  600. data/generated/google/apis/serviceusage_v1.rb +1 -1
  601. data/generated/google/apis/serviceusage_v1beta1/classes.rb +161 -110
  602. data/generated/google/apis/serviceusage_v1beta1/representations.rb +42 -26
  603. data/generated/google/apis/serviceusage_v1beta1/service.rb +7 -7
  604. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  605. data/generated/google/apis/sheets_v4/classes.rb +115 -26
  606. data/generated/google/apis/sheets_v4/service.rb +17 -17
  607. data/generated/google/apis/sheets_v4.rb +1 -1
  608. data/generated/google/apis/site_verification_v1/service.rb +7 -7
  609. data/generated/google/apis/slides_v1/classes.rb +2 -2
  610. data/generated/google/apis/slides_v1/service.rb +5 -5
  611. data/generated/google/apis/slides_v1.rb +1 -1
  612. data/generated/google/apis/sourcerepo_v1/classes.rb +183 -1
  613. data/generated/google/apis/sourcerepo_v1/representations.rb +45 -0
  614. data/generated/google/apis/sourcerepo_v1/service.rb +45 -10
  615. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  616. data/generated/google/apis/spanner_v1/classes.rb +231 -17
  617. data/generated/google/apis/spanner_v1/representations.rb +66 -0
  618. data/generated/google/apis/spanner_v1/service.rb +92 -42
  619. data/generated/google/apis/spanner_v1.rb +1 -1
  620. data/generated/google/apis/speech_v1/classes.rb +110 -13
  621. data/generated/google/apis/speech_v1/representations.rb +24 -0
  622. data/generated/google/apis/speech_v1/service.rb +9 -7
  623. data/generated/google/apis/speech_v1.rb +1 -1
  624. data/generated/google/apis/speech_v1p1beta1/classes.rb +19 -13
  625. data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
  626. data/generated/google/apis/speech_v1p1beta1/service.rb +9 -7
  627. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  628. data/generated/google/apis/sqladmin_v1beta4/classes.rb +94 -17
  629. data/generated/google/apis/sqladmin_v1beta4/representations.rb +36 -0
  630. data/generated/google/apis/sqladmin_v1beta4/service.rb +44 -44
  631. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  632. data/generated/google/apis/storage_v1/classes.rb +201 -4
  633. data/generated/google/apis/storage_v1/representations.rb +76 -1
  634. data/generated/google/apis/storage_v1/service.rb +488 -93
  635. data/generated/google/apis/storage_v1.rb +1 -1
  636. data/generated/google/apis/storage_v1beta1/service.rb +24 -24
  637. data/generated/google/apis/storage_v1beta2/service.rb +34 -34
  638. data/generated/google/apis/storagetransfer_v1/classes.rb +44 -44
  639. data/generated/google/apis/storagetransfer_v1/service.rb +35 -36
  640. data/generated/google/apis/storagetransfer_v1.rb +2 -2
  641. data/generated/google/apis/streetviewpublish_v1/classes.rb +27 -27
  642. data/generated/google/apis/streetviewpublish_v1/service.rb +36 -40
  643. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  644. data/generated/google/apis/surveys_v2/service.rb +8 -8
  645. data/generated/google/apis/tagmanager_v1/service.rb +49 -95
  646. data/generated/google/apis/tagmanager_v1.rb +1 -1
  647. data/generated/google/apis/tagmanager_v2/classes.rb +197 -292
  648. data/generated/google/apis/tagmanager_v2/representations.rb +62 -103
  649. data/generated/google/apis/tagmanager_v2/service.rb +287 -249
  650. data/generated/google/apis/tagmanager_v2.rb +1 -1
  651. data/generated/google/apis/tasks_v1/service.rb +19 -19
  652. data/generated/google/apis/tasks_v1.rb +2 -2
  653. data/generated/google/apis/testing_v1/classes.rb +44 -39
  654. data/generated/google/apis/testing_v1/representations.rb +3 -1
  655. data/generated/google/apis/testing_v1/service.rb +5 -5
  656. data/generated/google/apis/testing_v1.rb +1 -1
  657. data/generated/google/apis/texttospeech_v1/service.rb +2 -2
  658. data/generated/google/apis/texttospeech_v1.rb +1 -1
  659. data/generated/google/apis/texttospeech_v1beta1/service.rb +2 -2
  660. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  661. data/generated/google/apis/toolresults_v1beta3/classes.rb +340 -17
  662. data/generated/google/apis/toolresults_v1beta3/representations.rb +90 -0
  663. data/generated/google/apis/toolresults_v1beta3/service.rb +140 -24
  664. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  665. data/generated/google/apis/tpu_v1/classes.rb +21 -15
  666. data/generated/google/apis/tpu_v1/representations.rb +1 -0
  667. data/generated/google/apis/tpu_v1/service.rb +17 -17
  668. data/generated/google/apis/tpu_v1.rb +1 -1
  669. data/generated/google/apis/tpu_v1alpha1/classes.rb +21 -15
  670. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  671. data/generated/google/apis/tpu_v1alpha1/service.rb +17 -17
  672. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  673. data/generated/google/apis/translate_v2/service.rb +5 -5
  674. data/generated/google/apis/urlshortener_v1/service.rb +3 -3
  675. data/generated/google/apis/vault_v1/classes.rb +44 -18
  676. data/generated/google/apis/vault_v1/representations.rb +4 -0
  677. data/generated/google/apis/vault_v1/service.rb +28 -28
  678. data/generated/google/apis/vault_v1.rb +1 -1
  679. data/generated/google/apis/videointelligence_v1/classes.rb +2193 -350
  680. data/generated/google/apis/videointelligence_v1/representations.rb +805 -6
  681. data/generated/google/apis/videointelligence_v1/service.rb +7 -6
  682. data/generated/google/apis/videointelligence_v1.rb +3 -2
  683. data/generated/google/apis/videointelligence_v1beta2/classes.rb +2448 -605
  684. data/generated/google/apis/videointelligence_v1beta2/representations.rb +806 -7
  685. data/generated/google/apis/videointelligence_v1beta2/service.rb +3 -2
  686. data/generated/google/apis/videointelligence_v1beta2.rb +3 -2
  687. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +2422 -579
  688. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +806 -7
  689. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +3 -2
  690. data/generated/google/apis/videointelligence_v1p1beta1.rb +3 -2
  691. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +2645 -830
  692. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +796 -12
  693. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +3 -2
  694. data/generated/google/apis/videointelligence_v1p2beta1.rb +3 -2
  695. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +4687 -0
  696. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +2005 -0
  697. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +94 -0
  698. data/generated/google/apis/videointelligence_v1p3beta1.rb +36 -0
  699. data/generated/google/apis/vision_v1/classes.rb +4397 -124
  700. data/generated/google/apis/vision_v1/representations.rb +2366 -541
  701. data/generated/google/apis/vision_v1/service.rb +160 -33
  702. data/generated/google/apis/vision_v1.rb +1 -1
  703. data/generated/google/apis/vision_v1p1beta1/classes.rb +4451 -158
  704. data/generated/google/apis/vision_v1p1beta1/representations.rb +2415 -576
  705. data/generated/google/apis/vision_v1p1beta1/service.rb +73 -2
  706. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  707. data/generated/google/apis/vision_v1p2beta1/classes.rb +4451 -158
  708. data/generated/google/apis/vision_v1p2beta1/representations.rb +2443 -604
  709. data/generated/google/apis/vision_v1p2beta1/service.rb +73 -2
  710. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  711. data/generated/google/apis/webfonts_v1/service.rb +1 -1
  712. data/generated/google/apis/webmasters_v3/classes.rb +0 -166
  713. data/generated/google/apis/webmasters_v3/representations.rb +0 -93
  714. data/generated/google/apis/webmasters_v3/service.rb +9 -180
  715. data/generated/google/apis/webmasters_v3.rb +1 -1
  716. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +13 -13
  717. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +973 -0
  718. data/generated/google/apis/websecurityscanner_v1beta/representations.rb +452 -0
  719. data/generated/google/apis/websecurityscanner_v1beta/service.rb +548 -0
  720. data/generated/google/apis/websecurityscanner_v1beta.rb +34 -0
  721. data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
  722. data/generated/google/apis/youtube_analytics_v1beta1/service.rb +8 -8
  723. data/generated/google/apis/youtube_analytics_v2/service.rb +8 -8
  724. data/generated/google/apis/youtube_partner_v1/classes.rb +15 -34
  725. data/generated/google/apis/youtube_partner_v1/representations.rb +4 -17
  726. data/generated/google/apis/youtube_partner_v1/service.rb +74 -74
  727. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  728. data/generated/google/apis/youtube_v3/service.rb +71 -71
  729. data/generated/google/apis/youtube_v3.rb +1 -1
  730. data/generated/google/apis/youtubereporting_v1/classes.rb +2 -2
  731. data/generated/google/apis/youtubereporting_v1/service.rb +8 -8
  732. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  733. data/google-api-client.gemspec +2 -2
  734. data/lib/google/apis/core/http_command.rb +1 -0
  735. data/lib/google/apis/core/json_representation.rb +4 -0
  736. data/lib/google/apis/core/upload.rb +3 -3
  737. data/lib/google/apis/generator/model.rb +1 -1
  738. data/lib/google/apis/generator/templates/_method.tmpl +3 -3
  739. data/lib/google/apis/version.rb +1 -1
  740. metadata +86 -17
  741. data/.kokoro/common.cfg +0 -22
  742. data/.kokoro/windows.sh +0 -32
  743. data/generated/google/apis/logging_v2beta1/classes.rb +0 -1765
  744. data/generated/google/apis/logging_v2beta1/representations.rb +0 -537
  745. data/generated/google/apis/logging_v2beta1/service.rb +0 -570
  746. data/generated/google/apis/logging_v2beta1.rb +0 -46
  747. data/generated/google/apis/partners_v2/classes.rb +0 -2260
  748. data/generated/google/apis/partners_v2/representations.rb +0 -905
  749. data/generated/google/apis/partners_v2/service.rb +0 -1077
  750. data/samples/web/.env +0 -2
@@ -1,1765 +0,0 @@
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 LoggingV2beta1
24
-
25
- # BucketOptions describes the bucket boundaries used to create a histogram for
26
- # the distribution. The buckets can be in a linear sequence, an exponential
27
- # sequence, or each bucket can be specified explicitly. BucketOptions does not
28
- # include the number of values in each bucket.A bucket has 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 must be strictly greater than the lower
31
- # bound. The sequence of N buckets for a distribution consists of an underflow
32
- # bucket (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.
38
- class BucketOptions
39
- include Google::Apis::Core::Hashable
40
-
41
- # Specifies a set of buckets with arbitrary widths.There are size(bounds) + 1 (=
42
- # N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1):
43
- # boundsi Lower bound (1 <= i < N); boundsi - 1The bounds field must contain at
44
- # least one element. If bounds has only one element, then there are no finite
45
- # buckets, and that single element is the common boundary of the overflow and
46
- # underflow buckets.
47
- # Corresponds to the JSON property `explicitBuckets`
48
- # @return [Google::Apis::LoggingV2beta1::Explicit]
49
- attr_accessor :explicit_buckets
50
-
51
- # Specifies an exponential sequence of buckets that have a width that is
52
- # proportional to the value of the lower bound. Each bucket represents a
53
- # constant relative uncertainty on a specific value in the bucket.There are
54
- # num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:
55
- # Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). Lower bound (1 <= i <
56
- # N): scale * (growth_factor ^ (i - 1)).
57
- # Corresponds to the JSON property `exponentialBuckets`
58
- # @return [Google::Apis::LoggingV2beta1::Exponential]
59
- attr_accessor :exponential_buckets
60
-
61
- # Specifies a linear sequence of buckets that all have the same width (except
62
- # overflow and underflow). Each bucket represents a constant absolute
63
- # uncertainty on the specific value in the bucket.There are num_finite_buckets +
64
- # 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-
65
- # 1): offset + (width * i). Lower bound (1 <= i < N): offset + (width * (i - 1))
66
- # .
67
- # Corresponds to the JSON property `linearBuckets`
68
- # @return [Google::Apis::LoggingV2beta1::Linear]
69
- attr_accessor :linear_buckets
70
-
71
- def initialize(**args)
72
- update!(**args)
73
- end
74
-
75
- # Update properties of this object
76
- def update!(**args)
77
- @explicit_buckets = args[:explicit_buckets] if args.key?(:explicit_buckets)
78
- @exponential_buckets = args[:exponential_buckets] if args.key?(:exponential_buckets)
79
- @linear_buckets = args[:linear_buckets] if args.key?(:linear_buckets)
80
- end
81
- end
82
-
83
- # A generic empty message that you can re-use to avoid defining duplicated empty
84
- # messages in your APIs. A typical example is to use it as the request or the
85
- # response type of an API method. For instance:
86
- # service Foo `
87
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
88
- # `
89
- # The JSON representation for Empty is empty JSON object ``.
90
- class Empty
91
- include Google::Apis::Core::Hashable
92
-
93
- def initialize(**args)
94
- update!(**args)
95
- end
96
-
97
- # Update properties of this object
98
- def update!(**args)
99
- end
100
- end
101
-
102
- # Specifies a set of buckets with arbitrary widths.There are size(bounds) + 1 (=
103
- # N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-1):
104
- # boundsi Lower bound (1 <= i < N); boundsi - 1The bounds field must contain at
105
- # least one element. If bounds has only one element, then there are no finite
106
- # buckets, and that single element is the common boundary of the overflow and
107
- # underflow buckets.
108
- class Explicit
109
- include Google::Apis::Core::Hashable
110
-
111
- # The values must be monotonically increasing.
112
- # Corresponds to the JSON property `bounds`
113
- # @return [Array<Float>]
114
- attr_accessor :bounds
115
-
116
- def initialize(**args)
117
- update!(**args)
118
- end
119
-
120
- # Update properties of this object
121
- def update!(**args)
122
- @bounds = args[:bounds] if args.key?(:bounds)
123
- end
124
- end
125
-
126
- # Specifies an exponential sequence of buckets that have a width that is
127
- # proportional to the value of the lower bound. Each bucket represents a
128
- # constant relative uncertainty on a specific value in the bucket.There are
129
- # num_finite_buckets + 2 (= N) buckets. Bucket i has the following boundaries:
130
- # Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). Lower bound (1 <= i <
131
- # N): scale * (growth_factor ^ (i - 1)).
132
- class Exponential
133
- include Google::Apis::Core::Hashable
134
-
135
- # Must be greater than 1.
136
- # Corresponds to the JSON property `growthFactor`
137
- # @return [Float]
138
- attr_accessor :growth_factor
139
-
140
- # Must be greater than 0.
141
- # Corresponds to the JSON property `numFiniteBuckets`
142
- # @return [Fixnum]
143
- attr_accessor :num_finite_buckets
144
-
145
- # Must be greater than 0.
146
- # Corresponds to the JSON property `scale`
147
- # @return [Float]
148
- attr_accessor :scale
149
-
150
- def initialize(**args)
151
- update!(**args)
152
- end
153
-
154
- # Update properties of this object
155
- def update!(**args)
156
- @growth_factor = args[:growth_factor] if args.key?(:growth_factor)
157
- @num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets)
158
- @scale = args[:scale] if args.key?(:scale)
159
- end
160
- end
161
-
162
- # A common proto for logging HTTP requests. Only contains semantics defined by
163
- # the HTTP specification. Product-specific logging information MUST be defined
164
- # in a separate message.
165
- class HttpRequest
166
- include Google::Apis::Core::Hashable
167
-
168
- # The number of HTTP response bytes inserted into cache. Set only when a cache
169
- # fill was attempted.
170
- # Corresponds to the JSON property `cacheFillBytes`
171
- # @return [Fixnum]
172
- attr_accessor :cache_fill_bytes
173
-
174
- # Whether or not an entity was served from cache (with or without validation).
175
- # Corresponds to the JSON property `cacheHit`
176
- # @return [Boolean]
177
- attr_accessor :cache_hit
178
- alias_method :cache_hit?, :cache_hit
179
-
180
- # Whether or not a cache lookup was attempted.
181
- # Corresponds to the JSON property `cacheLookup`
182
- # @return [Boolean]
183
- attr_accessor :cache_lookup
184
- alias_method :cache_lookup?, :cache_lookup
185
-
186
- # Whether or not the response was validated with the origin server before being
187
- # served from cache. This field is only meaningful if cache_hit is True.
188
- # Corresponds to the JSON property `cacheValidatedWithOriginServer`
189
- # @return [Boolean]
190
- attr_accessor :cache_validated_with_origin_server
191
- alias_method :cache_validated_with_origin_server?, :cache_validated_with_origin_server
192
-
193
- # The request processing latency on the server, from the time the request was
194
- # received until the response was sent.
195
- # Corresponds to the JSON property `latency`
196
- # @return [String]
197
- attr_accessor :latency
198
-
199
- # Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket"
200
- # Corresponds to the JSON property `protocol`
201
- # @return [String]
202
- attr_accessor :protocol
203
-
204
- # The referer URL of the request, as defined in HTTP/1.1 Header Field
205
- # Definitions (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
206
- # Corresponds to the JSON property `referer`
207
- # @return [String]
208
- attr_accessor :referer
209
-
210
- # The IP address (IPv4 or IPv6) of the client that issued the HTTP request.
211
- # Examples: "192.168.1.1", "FE80::0202:B3FF:FE1E:8329".
212
- # Corresponds to the JSON property `remoteIp`
213
- # @return [String]
214
- attr_accessor :remote_ip
215
-
216
- # The request method. Examples: "GET", "HEAD", "PUT", "POST".
217
- # Corresponds to the JSON property `requestMethod`
218
- # @return [String]
219
- attr_accessor :request_method
220
-
221
- # The size of the HTTP request message in bytes, including the request headers
222
- # and the request body.
223
- # Corresponds to the JSON property `requestSize`
224
- # @return [Fixnum]
225
- attr_accessor :request_size
226
-
227
- # The scheme (http, https), the host name, the path and the query portion of the
228
- # URL that was requested. Example: "http://example.com/some/info?color=red".
229
- # Corresponds to the JSON property `requestUrl`
230
- # @return [String]
231
- attr_accessor :request_url
232
-
233
- # The size of the HTTP response message sent back to the client, in bytes,
234
- # including the response headers and the response body.
235
- # Corresponds to the JSON property `responseSize`
236
- # @return [Fixnum]
237
- attr_accessor :response_size
238
-
239
- # The IP address (IPv4 or IPv6) of the origin server that the request was sent
240
- # to.
241
- # Corresponds to the JSON property `serverIp`
242
- # @return [String]
243
- attr_accessor :server_ip
244
-
245
- # The response code indicating the status of response. Examples: 200, 404.
246
- # Corresponds to the JSON property `status`
247
- # @return [Fixnum]
248
- attr_accessor :status
249
-
250
- # The user agent sent by the client. Example: "Mozilla/4.0 (compatible; MSIE 6.0;
251
- # Windows 98; Q312461; .NET CLR 1.0.3705)".
252
- # Corresponds to the JSON property `userAgent`
253
- # @return [String]
254
- attr_accessor :user_agent
255
-
256
- def initialize(**args)
257
- update!(**args)
258
- end
259
-
260
- # Update properties of this object
261
- def update!(**args)
262
- @cache_fill_bytes = args[:cache_fill_bytes] if args.key?(:cache_fill_bytes)
263
- @cache_hit = args[:cache_hit] if args.key?(:cache_hit)
264
- @cache_lookup = args[:cache_lookup] if args.key?(:cache_lookup)
265
- @cache_validated_with_origin_server = args[:cache_validated_with_origin_server] if args.key?(:cache_validated_with_origin_server)
266
- @latency = args[:latency] if args.key?(:latency)
267
- @protocol = args[:protocol] if args.key?(:protocol)
268
- @referer = args[:referer] if args.key?(:referer)
269
- @remote_ip = args[:remote_ip] if args.key?(:remote_ip)
270
- @request_method = args[:request_method] if args.key?(:request_method)
271
- @request_size = args[:request_size] if args.key?(:request_size)
272
- @request_url = args[:request_url] if args.key?(:request_url)
273
- @response_size = args[:response_size] if args.key?(:response_size)
274
- @server_ip = args[:server_ip] if args.key?(:server_ip)
275
- @status = args[:status] if args.key?(:status)
276
- @user_agent = args[:user_agent] if args.key?(:user_agent)
277
- end
278
- end
279
-
280
- # A description of a label.
281
- class LabelDescriptor
282
- include Google::Apis::Core::Hashable
283
-
284
- # A human-readable description for the label.
285
- # Corresponds to the JSON property `description`
286
- # @return [String]
287
- attr_accessor :description
288
-
289
- # The label key.
290
- # Corresponds to the JSON property `key`
291
- # @return [String]
292
- attr_accessor :key
293
-
294
- # The type of data that can be assigned to the label.
295
- # Corresponds to the JSON property `valueType`
296
- # @return [String]
297
- attr_accessor :value_type
298
-
299
- def initialize(**args)
300
- update!(**args)
301
- end
302
-
303
- # Update properties of this object
304
- def update!(**args)
305
- @description = args[:description] if args.key?(:description)
306
- @key = args[:key] if args.key?(:key)
307
- @value_type = args[:value_type] if args.key?(:value_type)
308
- end
309
- end
310
-
311
- # Specifies a linear sequence of buckets that all have the same width (except
312
- # overflow and underflow). Each bucket represents a constant absolute
313
- # uncertainty on the specific value in the bucket.There are num_finite_buckets +
314
- # 2 (= N) buckets. Bucket i has the following boundaries:Upper bound (0 <= i < N-
315
- # 1): offset + (width * i). Lower bound (1 <= i < N): offset + (width * (i - 1))
316
- # .
317
- class Linear
318
- include Google::Apis::Core::Hashable
319
-
320
- # Must be greater than 0.
321
- # Corresponds to the JSON property `numFiniteBuckets`
322
- # @return [Fixnum]
323
- attr_accessor :num_finite_buckets
324
-
325
- # Lower bound of the first bucket.
326
- # Corresponds to the JSON property `offset`
327
- # @return [Float]
328
- attr_accessor :offset
329
-
330
- # Must be greater than 0.
331
- # Corresponds to the JSON property `width`
332
- # @return [Float]
333
- attr_accessor :width
334
-
335
- def initialize(**args)
336
- update!(**args)
337
- end
338
-
339
- # Update properties of this object
340
- def update!(**args)
341
- @num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets)
342
- @offset = args[:offset] if args.key?(:offset)
343
- @width = args[:width] if args.key?(:width)
344
- end
345
- end
346
-
347
- # The parameters to ListLogEntries.
348
- class ListLogEntriesRequest
349
- include Google::Apis::Core::Hashable
350
-
351
- # Optional. A filter that chooses which log entries to return. See Advanced Logs
352
- # Filters. Only log entries that match the filter are returned. An empty filter
353
- # matches all log entries in the resources listed in resource_names. Referencing
354
- # a parent resource that is not listed in resource_names will cause the filter
355
- # to return no results. The maximum length of the filter is 20000 characters.
356
- # Corresponds to the JSON property `filter`
357
- # @return [String]
358
- attr_accessor :filter
359
-
360
- # Optional. How the results should be sorted. Presently, the only permitted
361
- # values are "timestamp asc" (default) and "timestamp desc". The first option
362
- # returns entries in order of increasing values of LogEntry.timestamp (oldest
363
- # first), and the second option returns entries in order of decreasing
364
- # timestamps (newest first). Entries with equal timestamps are returned in order
365
- # of their insert_id values.
366
- # Corresponds to the JSON property `orderBy`
367
- # @return [String]
368
- attr_accessor :order_by
369
-
370
- # Optional. The maximum number of results to return from this request. Non-
371
- # positive values are ignored. The presence of next_page_token in the response
372
- # indicates that more results might be available.
373
- # Corresponds to the JSON property `pageSize`
374
- # @return [Fixnum]
375
- attr_accessor :page_size
376
-
377
- # Optional. If present, then retrieve the next batch of results from the
378
- # preceding call to this method. page_token must be the value of next_page_token
379
- # from the previous response. The values of other method parameters should be
380
- # identical to those in the previous call.
381
- # Corresponds to the JSON property `pageToken`
382
- # @return [String]
383
- attr_accessor :page_token
384
-
385
- # Deprecated. Use resource_names instead. One or more project identifiers or
386
- # project numbers from which to retrieve log entries. Example: "my-project-1A".
387
- # If present, these project identifiers are converted to resource name format
388
- # and added to the list of resources in resource_names.
389
- # Corresponds to the JSON property `projectIds`
390
- # @return [Array<String>]
391
- attr_accessor :project_ids
392
-
393
- # Required. Names of one or more parent resources from which to retrieve log
394
- # entries:
395
- # "projects/[PROJECT_ID]"
396
- # "organizations/[ORGANIZATION_ID]"
397
- # "billingAccounts/[BILLING_ACCOUNT_ID]"
398
- # "folders/[FOLDER_ID]"
399
- # Projects listed in the project_ids field are added to this list.
400
- # Corresponds to the JSON property `resourceNames`
401
- # @return [Array<String>]
402
- attr_accessor :resource_names
403
-
404
- def initialize(**args)
405
- update!(**args)
406
- end
407
-
408
- # Update properties of this object
409
- def update!(**args)
410
- @filter = args[:filter] if args.key?(:filter)
411
- @order_by = args[:order_by] if args.key?(:order_by)
412
- @page_size = args[:page_size] if args.key?(:page_size)
413
- @page_token = args[:page_token] if args.key?(:page_token)
414
- @project_ids = args[:project_ids] if args.key?(:project_ids)
415
- @resource_names = args[:resource_names] if args.key?(:resource_names)
416
- end
417
- end
418
-
419
- # Result returned from ListLogEntries.
420
- class ListLogEntriesResponse
421
- include Google::Apis::Core::Hashable
422
-
423
- # A list of log entries. If entries is empty, nextPageToken may still be
424
- # returned, indicating that more entries may exist. See nextPageToken for more
425
- # information.
426
- # Corresponds to the JSON property `entries`
427
- # @return [Array<Google::Apis::LoggingV2beta1::LogEntry>]
428
- attr_accessor :entries
429
-
430
- # If there might be more results than those appearing in this response, then
431
- # nextPageToken is included. To get the next set of results, call this method
432
- # again using the value of nextPageToken as pageToken.If a value for
433
- # next_page_token appears and the entries field is empty, it means that the
434
- # search found no log entries so far but it did not have time to search all the
435
- # possible log entries. Retry the method with this value for page_token to
436
- # continue the search. Alternatively, consider speeding up the search by
437
- # changing your filter to specify a single log name or resource type, or to
438
- # narrow the time range of the search.
439
- # Corresponds to the JSON property `nextPageToken`
440
- # @return [String]
441
- attr_accessor :next_page_token
442
-
443
- def initialize(**args)
444
- update!(**args)
445
- end
446
-
447
- # Update properties of this object
448
- def update!(**args)
449
- @entries = args[:entries] if args.key?(:entries)
450
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
451
- end
452
- end
453
-
454
- # Result returned from ListLogMetrics.
455
- class ListLogMetricsResponse
456
- include Google::Apis::Core::Hashable
457
-
458
- # A list of logs-based metrics.
459
- # Corresponds to the JSON property `metrics`
460
- # @return [Array<Google::Apis::LoggingV2beta1::LogMetric>]
461
- attr_accessor :metrics
462
-
463
- # If there might be more results than appear in this response, then
464
- # nextPageToken is included. To get the next set of results, call this method
465
- # again using the value of nextPageToken as pageToken.
466
- # Corresponds to the JSON property `nextPageToken`
467
- # @return [String]
468
- attr_accessor :next_page_token
469
-
470
- def initialize(**args)
471
- update!(**args)
472
- end
473
-
474
- # Update properties of this object
475
- def update!(**args)
476
- @metrics = args[:metrics] if args.key?(:metrics)
477
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
478
- end
479
- end
480
-
481
- # Result returned from ListMonitoredResourceDescriptors.
482
- class ListMonitoredResourceDescriptorsResponse
483
- include Google::Apis::Core::Hashable
484
-
485
- # If there might be more results than those appearing in this response, then
486
- # nextPageToken is included. To get the next set of results, call this method
487
- # again using the value of nextPageToken as pageToken.
488
- # Corresponds to the JSON property `nextPageToken`
489
- # @return [String]
490
- attr_accessor :next_page_token
491
-
492
- # A list of resource descriptors.
493
- # Corresponds to the JSON property `resourceDescriptors`
494
- # @return [Array<Google::Apis::LoggingV2beta1::MonitoredResourceDescriptor>]
495
- attr_accessor :resource_descriptors
496
-
497
- def initialize(**args)
498
- update!(**args)
499
- end
500
-
501
- # Update properties of this object
502
- def update!(**args)
503
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
504
- @resource_descriptors = args[:resource_descriptors] if args.key?(:resource_descriptors)
505
- end
506
- end
507
-
508
- # Result returned from ListSinks.
509
- class ListSinksResponse
510
- include Google::Apis::Core::Hashable
511
-
512
- # If there might be more results than appear in this response, then
513
- # nextPageToken is included. To get the next set of results, call the same
514
- # method again using the value of nextPageToken as pageToken.
515
- # Corresponds to the JSON property `nextPageToken`
516
- # @return [String]
517
- attr_accessor :next_page_token
518
-
519
- # A list of sinks.
520
- # Corresponds to the JSON property `sinks`
521
- # @return [Array<Google::Apis::LoggingV2beta1::LogSink>]
522
- attr_accessor :sinks
523
-
524
- def initialize(**args)
525
- update!(**args)
526
- end
527
-
528
- # Update properties of this object
529
- def update!(**args)
530
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
531
- @sinks = args[:sinks] if args.key?(:sinks)
532
- end
533
- end
534
-
535
- # An individual entry in a log.
536
- class LogEntry
537
- include Google::Apis::Core::Hashable
538
-
539
- # A common proto for logging HTTP requests. Only contains semantics defined by
540
- # the HTTP specification. Product-specific logging information MUST be defined
541
- # in a separate message.
542
- # Corresponds to the JSON property `httpRequest`
543
- # @return [Google::Apis::LoggingV2beta1::HttpRequest]
544
- attr_accessor :http_request
545
-
546
- # Optional. A unique identifier for the log entry. If you provide a value, then
547
- # Logging considers other log entries in the same project, with the same
548
- # timestamp, and with the same insert_id to be duplicates which can be removed.
549
- # If omitted in new log entries, then Logging assigns its own unique identifier.
550
- # The insert_id is also used to order log entries that have the same timestamp
551
- # value.
552
- # Corresponds to the JSON property `insertId`
553
- # @return [String]
554
- attr_accessor :insert_id
555
-
556
- # The log entry payload, represented as a structure that is expressed as a JSON
557
- # object.
558
- # Corresponds to the JSON property `jsonPayload`
559
- # @return [Hash<String,Object>]
560
- attr_accessor :json_payload
561
-
562
- # Optional. A set of user-defined (key, value) data that provides additional
563
- # information about the log entry.
564
- # Corresponds to the JSON property `labels`
565
- # @return [Hash<String,String>]
566
- attr_accessor :labels
567
-
568
- # Required. The resource name of the log to which this log entry belongs:
569
- # "projects/[PROJECT_ID]/logs/[LOG_ID]"
570
- # "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
571
- # "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
572
- # "folders/[FOLDER_ID]/logs/[LOG_ID]"
573
- # A project number may optionally be used in place of PROJECT_ID. The project
574
- # number is translated to its corresponding PROJECT_ID internally and the
575
- # log_name field will contain PROJECT_ID in queries and exports.[LOG_ID] must be
576
- # URL-encoded within log_name. Example: "organizations/1234567890/logs/
577
- # cloudresourcemanager.googleapis.com%2Factivity". [LOG_ID] must be less than
578
- # 512 characters long and can only include the following characters: upper and
579
- # lower case alphanumeric characters, forward-slash, underscore, hyphen, and
580
- # period.For backward compatibility, if log_name begins with a forward-slash,
581
- # such as /projects/..., then the log entry is ingested as usual but the forward-
582
- # slash is removed. Listing the log entry will not show the leading slash and
583
- # filtering for a log name with a leading slash will never return any results.
584
- # Corresponds to the JSON property `logName`
585
- # @return [String]
586
- attr_accessor :log_name
587
-
588
- # Auxiliary metadata for a MonitoredResource object. MonitoredResource objects
589
- # contain the minimum set of information to uniquely identify a monitored
590
- # resource instance. There is some other useful auxiliary metadata. Monitoring
591
- # and Logging use an ingestion pipeline to extract metadata for cloud resources
592
- # of all types, and store the metadata in this message.
593
- # Corresponds to the JSON property `metadata`
594
- # @return [Google::Apis::LoggingV2beta1::MonitoredResourceMetadata]
595
- attr_accessor :metadata
596
-
597
- # Additional information about a potentially long-running operation with which a
598
- # log entry is associated.
599
- # Corresponds to the JSON property `operation`
600
- # @return [Google::Apis::LoggingV2beta1::LogEntryOperation]
601
- attr_accessor :operation
602
-
603
- # The log entry payload, represented as a protocol buffer. Some Google Cloud
604
- # Platform services use this field for their log entry payloads.
605
- # Corresponds to the JSON property `protoPayload`
606
- # @return [Hash<String,Object>]
607
- attr_accessor :proto_payload
608
-
609
- # Output only. The time the log entry was received by Logging.
610
- # Corresponds to the JSON property `receiveTimestamp`
611
- # @return [String]
612
- attr_accessor :receive_timestamp
613
-
614
- # An object representing a resource that can be used for monitoring, logging,
615
- # billing, or other purposes. Examples include virtual machine instances,
616
- # databases, and storage devices such as disks. The type field identifies a
617
- # MonitoredResourceDescriptor object that describes the resource's schema.
618
- # Information in the labels field identifies the actual resource and its
619
- # attributes according to the schema. For example, a particular Compute Engine
620
- # VM instance could be represented by the following object, because the
621
- # MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
622
- # zone":
623
- # ` "type": "gce_instance",
624
- # "labels": ` "instance_id": "12345678901234",
625
- # "zone": "us-central1-a" ``
626
- # Corresponds to the JSON property `resource`
627
- # @return [Google::Apis::LoggingV2beta1::MonitoredResource]
628
- attr_accessor :resource
629
-
630
- # Optional. The severity of the log entry. The default value is LogSeverity.
631
- # DEFAULT.
632
- # Corresponds to the JSON property `severity`
633
- # @return [String]
634
- attr_accessor :severity
635
-
636
- # Additional information about the source code location that produced the log
637
- # entry.
638
- # Corresponds to the JSON property `sourceLocation`
639
- # @return [Google::Apis::LoggingV2beta1::LogEntrySourceLocation]
640
- attr_accessor :source_location
641
-
642
- # Optional. The span ID within the trace associated with the log entry.For Trace
643
- # spans, this is the same format that the Trace API v2 uses: a 16-character
644
- # hexadecimal encoding of an 8-byte array, such as <code>"000000000000004a"</
645
- # code>.
646
- # Corresponds to the JSON property `spanId`
647
- # @return [String]
648
- attr_accessor :span_id
649
-
650
- # The log entry payload, represented as a Unicode string (UTF-8).
651
- # Corresponds to the JSON property `textPayload`
652
- # @return [String]
653
- attr_accessor :text_payload
654
-
655
- # Optional. The time the event described by the log entry occurred. This time is
656
- # used to compute the log entry's age and to enforce the logs retention period.
657
- # If this field is omitted in a new log entry, then Logging assigns it the
658
- # current time. Timestamps have nanosecond accuracy, but trailing zeros in the
659
- # fractional seconds might be omitted when the timestamp is displayed.Incoming
660
- # log entries should have timestamps that are no more than the logs retention
661
- # period in the past, and no more than 24 hours in the future. Log entries
662
- # outside those time boundaries will not be available when calling entries.list,
663
- # but those log entries can still be exported with LogSinks.
664
- # Corresponds to the JSON property `timestamp`
665
- # @return [String]
666
- attr_accessor :timestamp
667
-
668
- # Optional. Resource name of the trace associated with the log entry, if any. If
669
- # it contains a relative resource name, the name is assumed to be relative to //
670
- # tracing.googleapis.com. Example: projects/my-projectid/traces/
671
- # 06796866738c859f2f19b7cfb3214824
672
- # Corresponds to the JSON property `trace`
673
- # @return [String]
674
- attr_accessor :trace
675
-
676
- # Optional. The sampling decision of the trace associated with the log entry.
677
- # True means that the trace resource name in the trace field was sampled for
678
- # storage in a trace backend. False means that the trace was not sampled for
679
- # storage when this log entry was written, or the sampling decision was unknown
680
- # at the time. A non-sampled trace value is still useful as a request
681
- # correlation identifier. The default is False.
682
- # Corresponds to the JSON property `traceSampled`
683
- # @return [Boolean]
684
- attr_accessor :trace_sampled
685
- alias_method :trace_sampled?, :trace_sampled
686
-
687
- def initialize(**args)
688
- update!(**args)
689
- end
690
-
691
- # Update properties of this object
692
- def update!(**args)
693
- @http_request = args[:http_request] if args.key?(:http_request)
694
- @insert_id = args[:insert_id] if args.key?(:insert_id)
695
- @json_payload = args[:json_payload] if args.key?(:json_payload)
696
- @labels = args[:labels] if args.key?(:labels)
697
- @log_name = args[:log_name] if args.key?(:log_name)
698
- @metadata = args[:metadata] if args.key?(:metadata)
699
- @operation = args[:operation] if args.key?(:operation)
700
- @proto_payload = args[:proto_payload] if args.key?(:proto_payload)
701
- @receive_timestamp = args[:receive_timestamp] if args.key?(:receive_timestamp)
702
- @resource = args[:resource] if args.key?(:resource)
703
- @severity = args[:severity] if args.key?(:severity)
704
- @source_location = args[:source_location] if args.key?(:source_location)
705
- @span_id = args[:span_id] if args.key?(:span_id)
706
- @text_payload = args[:text_payload] if args.key?(:text_payload)
707
- @timestamp = args[:timestamp] if args.key?(:timestamp)
708
- @trace = args[:trace] if args.key?(:trace)
709
- @trace_sampled = args[:trace_sampled] if args.key?(:trace_sampled)
710
- end
711
- end
712
-
713
- # Additional information about a potentially long-running operation with which a
714
- # log entry is associated.
715
- class LogEntryOperation
716
- include Google::Apis::Core::Hashable
717
-
718
- # Optional. Set this to True if this is the first log entry in the operation.
719
- # Corresponds to the JSON property `first`
720
- # @return [Boolean]
721
- attr_accessor :first
722
- alias_method :first?, :first
723
-
724
- # Optional. An arbitrary operation identifier. Log entries with the same
725
- # identifier are assumed to be part of the same operation.
726
- # Corresponds to the JSON property `id`
727
- # @return [String]
728
- attr_accessor :id
729
-
730
- # Optional. Set this to True if this is the last log entry in the operation.
731
- # Corresponds to the JSON property `last`
732
- # @return [Boolean]
733
- attr_accessor :last
734
- alias_method :last?, :last
735
-
736
- # Optional. An arbitrary producer identifier. The combination of id and producer
737
- # must be globally unique. Examples for producer: "MyDivision.MyBigCompany.com",
738
- # "github.com/MyProject/MyApplication".
739
- # Corresponds to the JSON property `producer`
740
- # @return [String]
741
- attr_accessor :producer
742
-
743
- def initialize(**args)
744
- update!(**args)
745
- end
746
-
747
- # Update properties of this object
748
- def update!(**args)
749
- @first = args[:first] if args.key?(:first)
750
- @id = args[:id] if args.key?(:id)
751
- @last = args[:last] if args.key?(:last)
752
- @producer = args[:producer] if args.key?(:producer)
753
- end
754
- end
755
-
756
- # Additional information about the source code location that produced the log
757
- # entry.
758
- class LogEntrySourceLocation
759
- include Google::Apis::Core::Hashable
760
-
761
- # Optional. Source file name. Depending on the runtime environment, this might
762
- # be a simple name or a fully-qualified name.
763
- # Corresponds to the JSON property `file`
764
- # @return [String]
765
- attr_accessor :file
766
-
767
- # Optional. Human-readable name of the function or method being invoked, with
768
- # optional context such as the class or package name. This information may be
769
- # used in contexts such as the logs viewer, where a file and line number are
770
- # less meaningful. The format can vary by language. For example: qual.if.ied.
771
- # Class.method (Java), dir/package.func (Go), function (Python).
772
- # Corresponds to the JSON property `function`
773
- # @return [String]
774
- attr_accessor :function
775
-
776
- # Optional. Line within the source file. 1-based; 0 indicates no line number
777
- # available.
778
- # Corresponds to the JSON property `line`
779
- # @return [Fixnum]
780
- attr_accessor :line
781
-
782
- def initialize(**args)
783
- update!(**args)
784
- end
785
-
786
- # Update properties of this object
787
- def update!(**args)
788
- @file = args[:file] if args.key?(:file)
789
- @function = args[:function] if args.key?(:function)
790
- @line = args[:line] if args.key?(:line)
791
- end
792
- end
793
-
794
- # Application log line emitted while processing a request.
795
- class LogLine
796
- include Google::Apis::Core::Hashable
797
-
798
- # App-provided log message.
799
- # Corresponds to the JSON property `logMessage`
800
- # @return [String]
801
- attr_accessor :log_message
802
-
803
- # Severity of this log entry.
804
- # Corresponds to the JSON property `severity`
805
- # @return [String]
806
- attr_accessor :severity
807
-
808
- # Specifies a location in a source code file.
809
- # Corresponds to the JSON property `sourceLocation`
810
- # @return [Google::Apis::LoggingV2beta1::SourceLocation]
811
- attr_accessor :source_location
812
-
813
- # Approximate time when this log entry was made.
814
- # Corresponds to the JSON property `time`
815
- # @return [String]
816
- attr_accessor :time
817
-
818
- def initialize(**args)
819
- update!(**args)
820
- end
821
-
822
- # Update properties of this object
823
- def update!(**args)
824
- @log_message = args[:log_message] if args.key?(:log_message)
825
- @severity = args[:severity] if args.key?(:severity)
826
- @source_location = args[:source_location] if args.key?(:source_location)
827
- @time = args[:time] if args.key?(:time)
828
- end
829
- end
830
-
831
- # Describes a logs-based metric. The value of the metric is the number of log
832
- # entries that match a logs filter in a given time interval.Logs-based metric
833
- # can also be used to extract values from logs and create a a distribution of
834
- # the values. The distribution records the statistics of the extracted values
835
- # along with an optional histogram of the values as specified by the bucket
836
- # options.
837
- class LogMetric
838
- include Google::Apis::Core::Hashable
839
-
840
- # BucketOptions describes the bucket boundaries used to create a histogram for
841
- # the distribution. The buckets can be in a linear sequence, an exponential
842
- # sequence, or each bucket can be specified explicitly. BucketOptions does not
843
- # include the number of values in each bucket.A bucket has an inclusive lower
844
- # bound and exclusive upper bound for the values that are counted for that
845
- # bucket. The upper bound of a bucket must be strictly greater than the lower
846
- # bound. The sequence of N buckets for a distribution consists of an underflow
847
- # bucket (number 0), zero or more finite buckets (number 1 through N - 2) and an
848
- # overflow bucket (number N - 1). The buckets are contiguous: the lower bound of
849
- # bucket i (i > 0) is the same as the upper bound of bucket i - 1. The buckets
850
- # span the whole range of finite values: lower bound of the underflow bucket is -
851
- # infinity and the upper bound of the overflow bucket is +infinity. The finite
852
- # buckets are so-called because both bounds are finite.
853
- # Corresponds to the JSON property `bucketOptions`
854
- # @return [Google::Apis::LoggingV2beta1::BucketOptions]
855
- attr_accessor :bucket_options
856
-
857
- # Output only. The creation timestamp of the metric.This field may not be
858
- # present for older metrics.
859
- # Corresponds to the JSON property `createTime`
860
- # @return [String]
861
- attr_accessor :create_time
862
-
863
- # Optional. A description of this metric, which is used in documentation. The
864
- # maximum length of the description is 8000 characters.
865
- # Corresponds to the JSON property `description`
866
- # @return [String]
867
- attr_accessor :description
868
-
869
- # Required. An advanced logs filter which is used to match log entries. Example:
870
- # "resource.type=gae_app AND severity>=ERROR"
871
- # The maximum length of the filter is 20000 characters.
872
- # Corresponds to the JSON property `filter`
873
- # @return [String]
874
- attr_accessor :filter
875
-
876
- # Optional. A map from a label key string to an extractor expression which is
877
- # used to extract data from a log entry field and assign as the label value.
878
- # Each label key specified in the LabelDescriptor must have an associated
879
- # extractor expression in this map. The syntax of the extractor expression is
880
- # the same as for the value_extractor field.The extracted value is converted to
881
- # the type defined in the label descriptor. If the either the extraction or the
882
- # type conversion fails, the label will have a default value. The default value
883
- # for a string label is an empty string, for an integer label its 0, and for a
884
- # boolean label its false.Note that there are upper bounds on the maximum number
885
- # of labels and the number of active time series that are allowed in a project.
886
- # Corresponds to the JSON property `labelExtractors`
887
- # @return [Hash<String,String>]
888
- attr_accessor :label_extractors
889
-
890
- # Defines a metric type and its schema. Once a metric descriptor is created,
891
- # deleting or altering it stops data collection and makes the metric type's
892
- # existing data unusable.
893
- # Corresponds to the JSON property `metricDescriptor`
894
- # @return [Google::Apis::LoggingV2beta1::MetricDescriptor]
895
- attr_accessor :metric_descriptor
896
-
897
- # Required. The client-assigned metric identifier. Examples: "error_count", "
898
- # nginx/requests".Metric identifiers are limited to 100 characters and can
899
- # include only the following characters: A-Z, a-z, 0-9, and the special
900
- # characters _-.,+!*',()%/. The forward-slash character (/) denotes a hierarchy
901
- # of name pieces, and it cannot be the first character of the name.The metric
902
- # identifier in this field must not be URL-encoded (https://en.wikipedia.org/
903
- # wiki/Percent-encoding). However, when the metric identifier appears as the [
904
- # METRIC_ID] part of a metric_name API parameter, then the metric identifier
905
- # must be URL-encoded. Example: "projects/my-project/metrics/nginx%2Frequests".
906
- # Corresponds to the JSON property `name`
907
- # @return [String]
908
- attr_accessor :name
909
-
910
- # Output only. The last update timestamp of the metric.This field may not be
911
- # present for older metrics.
912
- # Corresponds to the JSON property `updateTime`
913
- # @return [String]
914
- attr_accessor :update_time
915
-
916
- # Optional. A value_extractor is required when using a distribution logs-based
917
- # metric to extract the values to record from a log entry. Two functions are
918
- # supported for value extraction: EXTRACT(field) or REGEXP_EXTRACT(field, regex).
919
- # The argument are: 1. field: The name of the log entry field from which the
920
- # value is to be extracted. 2. regex: A regular expression using the Google
921
- # RE2 syntax (https://github.com/google/re2/wiki/Syntax) with a single capture
922
- # group to extract data from the specified log entry field. The value of the
923
- # field is converted to a string before applying the regex. It is an error to
924
- # specify a regex that does not include exactly one capture group.The result of
925
- # the extraction must be convertible to a double type, as the distribution
926
- # always records double values. If either the extraction or the conversion to
927
- # double fails, then those values are not recorded in the distribution.Example:
928
- # REGEXP_EXTRACT(jsonPayload.request, ".*quantity=(\d+).*")
929
- # Corresponds to the JSON property `valueExtractor`
930
- # @return [String]
931
- attr_accessor :value_extractor
932
-
933
- # Deprecated. The API version that created or updated this metric. The v2 format
934
- # is used by default and cannot be changed.
935
- # Corresponds to the JSON property `version`
936
- # @return [String]
937
- attr_accessor :version
938
-
939
- def initialize(**args)
940
- update!(**args)
941
- end
942
-
943
- # Update properties of this object
944
- def update!(**args)
945
- @bucket_options = args[:bucket_options] if args.key?(:bucket_options)
946
- @create_time = args[:create_time] if args.key?(:create_time)
947
- @description = args[:description] if args.key?(:description)
948
- @filter = args[:filter] if args.key?(:filter)
949
- @label_extractors = args[:label_extractors] if args.key?(:label_extractors)
950
- @metric_descriptor = args[:metric_descriptor] if args.key?(:metric_descriptor)
951
- @name = args[:name] if args.key?(:name)
952
- @update_time = args[:update_time] if args.key?(:update_time)
953
- @value_extractor = args[:value_extractor] if args.key?(:value_extractor)
954
- @version = args[:version] if args.key?(:version)
955
- end
956
- end
957
-
958
- # Describes a sink used to export log entries to one of the following
959
- # destinations in any project: a Cloud Storage bucket, a BigQuery dataset, or a
960
- # Cloud Pub/Sub topic. A logs filter controls which log entries are exported.
961
- # The sink must be created within a project, organization, billing account, or
962
- # folder.
963
- class LogSink
964
- include Google::Apis::Core::Hashable
965
-
966
- # Output only. The creation timestamp of the sink.This field may not be present
967
- # for older sinks.
968
- # Corresponds to the JSON property `createTime`
969
- # @return [String]
970
- attr_accessor :create_time
971
-
972
- # Required. The export destination:
973
- # "storage.googleapis.com/[GCS_BUCKET]"
974
- # "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
975
- # "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
976
- # The sink's writer_identity, set when the sink is created, must have permission
977
- # to write to the destination or else the log entries are not exported. For more
978
- # information, see Exporting Logs with Sinks.
979
- # Corresponds to the JSON property `destination`
980
- # @return [String]
981
- attr_accessor :destination
982
-
983
- # Optional. An advanced logs filter. The only exported log entries are those
984
- # that are in the resource owning the sink and that match the filter. For
985
- # example:
986
- # logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR
987
- # Corresponds to the JSON property `filter`
988
- # @return [String]
989
- attr_accessor :filter
990
-
991
- # Optional. This field applies only to sinks owned by organizations and folders.
992
- # If the field is false, the default, only the logs owned by the sink's parent
993
- # resource are available for export. If the field is true, then logs from all
994
- # the projects, folders, and billing accounts contained in the sink's parent
995
- # resource are also available for export. Whether a particular log entry from
996
- # the children is exported depends on the sink's filter expression. For example,
997
- # if this field is true, then the filter resource.type=gce_instance would export
998
- # all Compute Engine VM instance log entries from all projects in the sink's
999
- # parent. To only export entries from certain child projects, filter on the
1000
- # project part of the log name:
1001
- # logName:("projects/test-project1/" OR "projects/test-project2/") AND
1002
- # resource.type=gce_instance
1003
- # Corresponds to the JSON property `includeChildren`
1004
- # @return [Boolean]
1005
- attr_accessor :include_children
1006
- alias_method :include_children?, :include_children
1007
-
1008
- # Required. The client-assigned sink identifier, unique within the project.
1009
- # Example: "my-syslog-errors-to-pubsub". Sink identifiers are limited to 100
1010
- # characters and can include only the following characters: upper and lower-case
1011
- # alphanumeric characters, underscores, hyphens, and periods.
1012
- # Corresponds to the JSON property `name`
1013
- # @return [String]
1014
- attr_accessor :name
1015
-
1016
- # Deprecated. The log entry format to use for this sink's exported log entries.
1017
- # The v2 format is used by default and cannot be changed.
1018
- # Corresponds to the JSON property `outputVersionFormat`
1019
- # @return [String]
1020
- attr_accessor :output_version_format
1021
-
1022
- # Output only. The last update timestamp of the sink.This field may not be
1023
- # present for older sinks.
1024
- # Corresponds to the JSON property `updateTime`
1025
- # @return [String]
1026
- attr_accessor :update_time
1027
-
1028
- # Output only. An IAM identity&mdash;a service account or group&mdash;under
1029
- # which Logging writes the exported log entries to the sink's destination. This
1030
- # field is set by sinks.create and sinks.update based on the value of
1031
- # unique_writer_identity in those methods.Until you grant this identity write-
1032
- # access to the destination, log entry exports from this sink will fail. For
1033
- # more information, see Granting Access for a Resource. Consult the destination
1034
- # service's documentation to determine the appropriate IAM roles to assign to
1035
- # the identity.
1036
- # Corresponds to the JSON property `writerIdentity`
1037
- # @return [String]
1038
- attr_accessor :writer_identity
1039
-
1040
- def initialize(**args)
1041
- update!(**args)
1042
- end
1043
-
1044
- # Update properties of this object
1045
- def update!(**args)
1046
- @create_time = args[:create_time] if args.key?(:create_time)
1047
- @destination = args[:destination] if args.key?(:destination)
1048
- @filter = args[:filter] if args.key?(:filter)
1049
- @include_children = args[:include_children] if args.key?(:include_children)
1050
- @name = args[:name] if args.key?(:name)
1051
- @output_version_format = args[:output_version_format] if args.key?(:output_version_format)
1052
- @update_time = args[:update_time] if args.key?(:update_time)
1053
- @writer_identity = args[:writer_identity] if args.key?(:writer_identity)
1054
- end
1055
- end
1056
-
1057
- # Defines a metric type and its schema. Once a metric descriptor is created,
1058
- # deleting or altering it stops data collection and makes the metric type's
1059
- # existing data unusable.
1060
- class MetricDescriptor
1061
- include Google::Apis::Core::Hashable
1062
-
1063
- # A detailed description of the metric, which can be used in documentation.
1064
- # Corresponds to the JSON property `description`
1065
- # @return [String]
1066
- attr_accessor :description
1067
-
1068
- # A concise name for the metric, which can be displayed in user interfaces. Use
1069
- # sentence case without an ending period, for example "Request count". This
1070
- # field is optional but it is recommended to be set for any metrics associated
1071
- # with user-visible concepts, such as Quota.
1072
- # Corresponds to the JSON property `displayName`
1073
- # @return [String]
1074
- attr_accessor :display_name
1075
-
1076
- # The set of labels that can be used to describe a specific instance of this
1077
- # metric type. For example, the appengine.googleapis.com/http/server/
1078
- # response_latencies metric type has a label for the HTTP response code,
1079
- # response_code, so you can look at latencies for successful responses or just
1080
- # for responses that failed.
1081
- # Corresponds to the JSON property `labels`
1082
- # @return [Array<Google::Apis::LoggingV2beta1::LabelDescriptor>]
1083
- attr_accessor :labels
1084
-
1085
- # Additional annotations that can be used to guide the usage of a metric.
1086
- # Corresponds to the JSON property `metadata`
1087
- # @return [Google::Apis::LoggingV2beta1::MetricDescriptorMetadata]
1088
- attr_accessor :metadata
1089
-
1090
- # Whether the metric records instantaneous values, changes to a value, etc. Some
1091
- # combinations of metric_kind and value_type might not be supported.
1092
- # Corresponds to the JSON property `metricKind`
1093
- # @return [String]
1094
- attr_accessor :metric_kind
1095
-
1096
- # The resource name of the metric descriptor.
1097
- # Corresponds to the JSON property `name`
1098
- # @return [String]
1099
- attr_accessor :name
1100
-
1101
- # The metric type, including its DNS name prefix. The type is not URL-encoded.
1102
- # All user-defined metric types have the DNS name custom.googleapis.com or
1103
- # external.googleapis.com. Metric types should use a natural hierarchical
1104
- # grouping. For example:
1105
- # "custom.googleapis.com/invoice/paid/amount"
1106
- # "external.googleapis.com/prometheus/up"
1107
- # "appengine.googleapis.com/http/server/response_latencies"
1108
- # Corresponds to the JSON property `type`
1109
- # @return [String]
1110
- attr_accessor :type
1111
-
1112
- # The unit in which the metric value is reported. It is only applicable if the
1113
- # value_type is INT64, DOUBLE, or DISTRIBUTION. The supported units are a subset
1114
- # of The Unified Code for Units of Measure (http://unitsofmeasure.org/ucum.html)
1115
- # standard:Basic units (UNIT)
1116
- # bit bit
1117
- # By byte
1118
- # s second
1119
- # min minute
1120
- # h hour
1121
- # d dayPrefixes (PREFIX)
1122
- # k kilo (10**3)
1123
- # M mega (10**6)
1124
- # G giga (10**9)
1125
- # T tera (10**12)
1126
- # P peta (10**15)
1127
- # E exa (10**18)
1128
- # Z zetta (10**21)
1129
- # Y yotta (10**24)
1130
- # m milli (10**-3)
1131
- # u micro (10**-6)
1132
- # n nano (10**-9)
1133
- # p pico (10**-12)
1134
- # f femto (10**-15)
1135
- # a atto (10**-18)
1136
- # z zepto (10**-21)
1137
- # y yocto (10**-24)
1138
- # Ki kibi (2**10)
1139
- # Mi mebi (2**20)
1140
- # Gi gibi (2**30)
1141
- # Ti tebi (2**40)GrammarThe grammar also includes these connectors:
1142
- # / division (as an infix operator, e.g. 1/s).
1143
- # . multiplication (as an infix operator, e.g. GBy.d)The grammar for a unit is
1144
- # as follows:
1145
- # Expression = Component ` "." Component ` ` "/" Component ` ;
1146
- # Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ]
1147
- # | Annotation
1148
- # | "1"
1149
- # ;
1150
- # Annotation = "`" NAME "`" ;
1151
- # Notes:
1152
- # Annotation is just a comment if it follows a UNIT and is equivalent to 1 if
1153
- # it is used alone. For examples, `requests`/s == 1/s, By`transmitted`/s == By/
1154
- # s.
1155
- # NAME is a sequence of non-blank printable ASCII characters not containing '`'
1156
- # or '`'.
1157
- # 1 represents dimensionless value 1, such as in 1/s.
1158
- # % represents dimensionless value 1/100, and annotates values giving a
1159
- # percentage.
1160
- # Corresponds to the JSON property `unit`
1161
- # @return [String]
1162
- attr_accessor :unit
1163
-
1164
- # Whether the measurement is an integer, a floating-point number, etc. Some
1165
- # combinations of metric_kind and value_type might not be supported.
1166
- # Corresponds to the JSON property `valueType`
1167
- # @return [String]
1168
- attr_accessor :value_type
1169
-
1170
- def initialize(**args)
1171
- update!(**args)
1172
- end
1173
-
1174
- # Update properties of this object
1175
- def update!(**args)
1176
- @description = args[:description] if args.key?(:description)
1177
- @display_name = args[:display_name] if args.key?(:display_name)
1178
- @labels = args[:labels] if args.key?(:labels)
1179
- @metadata = args[:metadata] if args.key?(:metadata)
1180
- @metric_kind = args[:metric_kind] if args.key?(:metric_kind)
1181
- @name = args[:name] if args.key?(:name)
1182
- @type = args[:type] if args.key?(:type)
1183
- @unit = args[:unit] if args.key?(:unit)
1184
- @value_type = args[:value_type] if args.key?(:value_type)
1185
- end
1186
- end
1187
-
1188
- # Additional annotations that can be used to guide the usage of a metric.
1189
- class MetricDescriptorMetadata
1190
- include Google::Apis::Core::Hashable
1191
-
1192
- # The delay of data points caused by ingestion. Data points older than this age
1193
- # are guaranteed to be ingested and available to be read, excluding data loss
1194
- # due to errors.
1195
- # Corresponds to the JSON property `ingestDelay`
1196
- # @return [String]
1197
- attr_accessor :ingest_delay
1198
-
1199
- # The launch stage of the metric definition.
1200
- # Corresponds to the JSON property `launchStage`
1201
- # @return [String]
1202
- attr_accessor :launch_stage
1203
-
1204
- # The sampling period of metric data points. For metrics which are written
1205
- # periodically, consecutive data points are stored at this time interval,
1206
- # excluding data loss due to errors. Metrics with a higher granularity have a
1207
- # smaller sampling period.
1208
- # Corresponds to the JSON property `samplePeriod`
1209
- # @return [String]
1210
- attr_accessor :sample_period
1211
-
1212
- def initialize(**args)
1213
- update!(**args)
1214
- end
1215
-
1216
- # Update properties of this object
1217
- def update!(**args)
1218
- @ingest_delay = args[:ingest_delay] if args.key?(:ingest_delay)
1219
- @launch_stage = args[:launch_stage] if args.key?(:launch_stage)
1220
- @sample_period = args[:sample_period] if args.key?(:sample_period)
1221
- end
1222
- end
1223
-
1224
- # An object representing a resource that can be used for monitoring, logging,
1225
- # billing, or other purposes. Examples include virtual machine instances,
1226
- # databases, and storage devices such as disks. The type field identifies a
1227
- # MonitoredResourceDescriptor object that describes the resource's schema.
1228
- # Information in the labels field identifies the actual resource and its
1229
- # attributes according to the schema. For example, a particular Compute Engine
1230
- # VM instance could be represented by the following object, because the
1231
- # MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
1232
- # zone":
1233
- # ` "type": "gce_instance",
1234
- # "labels": ` "instance_id": "12345678901234",
1235
- # "zone": "us-central1-a" ``
1236
- class MonitoredResource
1237
- include Google::Apis::Core::Hashable
1238
-
1239
- # Required. Values for all of the labels listed in the associated monitored
1240
- # resource descriptor. For example, Compute Engine VM instances use the labels "
1241
- # project_id", "instance_id", and "zone".
1242
- # Corresponds to the JSON property `labels`
1243
- # @return [Hash<String,String>]
1244
- attr_accessor :labels
1245
-
1246
- # Required. The monitored resource type. This field must match the type field of
1247
- # a MonitoredResourceDescriptor object. For example, the type of a Compute
1248
- # Engine VM instance is gce_instance.
1249
- # Corresponds to the JSON property `type`
1250
- # @return [String]
1251
- attr_accessor :type
1252
-
1253
- def initialize(**args)
1254
- update!(**args)
1255
- end
1256
-
1257
- # Update properties of this object
1258
- def update!(**args)
1259
- @labels = args[:labels] if args.key?(:labels)
1260
- @type = args[:type] if args.key?(:type)
1261
- end
1262
- end
1263
-
1264
- # An object that describes the schema of a MonitoredResource object using a type
1265
- # name and a set of labels. For example, the monitored resource descriptor for
1266
- # Google Compute Engine VM instances has a type of "gce_instance" and specifies
1267
- # the use of the labels "instance_id" and "zone" to identify particular VM
1268
- # instances.Different APIs can support different monitored resource types. APIs
1269
- # generally provide a list method that returns the monitored resource
1270
- # descriptors used by the API.
1271
- class MonitoredResourceDescriptor
1272
- include Google::Apis::Core::Hashable
1273
-
1274
- # Optional. A detailed description of the monitored resource type that might be
1275
- # used in documentation.
1276
- # Corresponds to the JSON property `description`
1277
- # @return [String]
1278
- attr_accessor :description
1279
-
1280
- # Optional. A concise name for the monitored resource type that might be
1281
- # displayed in user interfaces. It should be a Title Cased Noun Phrase, without
1282
- # any article or other determiners. For example, "Google Cloud SQL Database".
1283
- # Corresponds to the JSON property `displayName`
1284
- # @return [String]
1285
- attr_accessor :display_name
1286
-
1287
- # Required. A set of labels used to describe instances of this monitored
1288
- # resource type. For example, an individual Google Cloud SQL database is
1289
- # identified by values for the labels "database_id" and "zone".
1290
- # Corresponds to the JSON property `labels`
1291
- # @return [Array<Google::Apis::LoggingV2beta1::LabelDescriptor>]
1292
- attr_accessor :labels
1293
-
1294
- # Optional. The resource name of the monitored resource descriptor: "projects/`
1295
- # project_id`/monitoredResourceDescriptors/`type`" where `type` is the value of
1296
- # the type field in this object and `project_id` is a project ID that provides
1297
- # API-specific context for accessing the type. APIs that do not use project
1298
- # information can use the resource name format "monitoredResourceDescriptors/`
1299
- # type`".
1300
- # Corresponds to the JSON property `name`
1301
- # @return [String]
1302
- attr_accessor :name
1303
-
1304
- # Required. The monitored resource type. For example, the type "
1305
- # cloudsql_database" represents databases in Google Cloud SQL. The maximum
1306
- # length of this value is 256 characters.
1307
- # Corresponds to the JSON property `type`
1308
- # @return [String]
1309
- attr_accessor :type
1310
-
1311
- def initialize(**args)
1312
- update!(**args)
1313
- end
1314
-
1315
- # Update properties of this object
1316
- def update!(**args)
1317
- @description = args[:description] if args.key?(:description)
1318
- @display_name = args[:display_name] if args.key?(:display_name)
1319
- @labels = args[:labels] if args.key?(:labels)
1320
- @name = args[:name] if args.key?(:name)
1321
- @type = args[:type] if args.key?(:type)
1322
- end
1323
- end
1324
-
1325
- # Auxiliary metadata for a MonitoredResource object. MonitoredResource objects
1326
- # contain the minimum set of information to uniquely identify a monitored
1327
- # resource instance. There is some other useful auxiliary metadata. Monitoring
1328
- # and Logging use an ingestion pipeline to extract metadata for cloud resources
1329
- # of all types, and store the metadata in this message.
1330
- class MonitoredResourceMetadata
1331
- include Google::Apis::Core::Hashable
1332
-
1333
- # Output only. Values for predefined system metadata labels. System labels are a
1334
- # kind of metadata extracted by Google, including "machine_image", "vpc", "
1335
- # subnet_id", "security_group", "name", etc. System label values can be only
1336
- # strings, Boolean values, or a list of strings. For example:
1337
- # ` "name": "my-test-instance",
1338
- # "security_group": ["a", "b", "c"],
1339
- # "spot_instance": false `
1340
- # Corresponds to the JSON property `systemLabels`
1341
- # @return [Hash<String,Object>]
1342
- attr_accessor :system_labels
1343
-
1344
- # Output only. A map of user-defined metadata labels.
1345
- # Corresponds to the JSON property `userLabels`
1346
- # @return [Hash<String,String>]
1347
- attr_accessor :user_labels
1348
-
1349
- def initialize(**args)
1350
- update!(**args)
1351
- end
1352
-
1353
- # Update properties of this object
1354
- def update!(**args)
1355
- @system_labels = args[:system_labels] if args.key?(:system_labels)
1356
- @user_labels = args[:user_labels] if args.key?(:user_labels)
1357
- end
1358
- end
1359
-
1360
- # Complete log information about a single HTTP request to an App Engine
1361
- # application.
1362
- class RequestLog
1363
- include Google::Apis::Core::Hashable
1364
-
1365
- # App Engine release version.
1366
- # Corresponds to the JSON property `appEngineRelease`
1367
- # @return [String]
1368
- attr_accessor :app_engine_release
1369
-
1370
- # Application that handled this request.
1371
- # Corresponds to the JSON property `appId`
1372
- # @return [String]
1373
- attr_accessor :app_id
1374
-
1375
- # An indication of the relative cost of serving this request.
1376
- # Corresponds to the JSON property `cost`
1377
- # @return [Float]
1378
- attr_accessor :cost
1379
-
1380
- # Time when the request finished.
1381
- # Corresponds to the JSON property `endTime`
1382
- # @return [String]
1383
- attr_accessor :end_time
1384
-
1385
- # Whether this request is finished or active.
1386
- # Corresponds to the JSON property `finished`
1387
- # @return [Boolean]
1388
- attr_accessor :finished
1389
- alias_method :finished?, :finished
1390
-
1391
- # Whether this is the first RequestLog entry for this request. If an active
1392
- # request has several RequestLog entries written to Stackdriver Logging, then
1393
- # this field will be set for one of them.
1394
- # Corresponds to the JSON property `first`
1395
- # @return [Boolean]
1396
- attr_accessor :first
1397
- alias_method :first?, :first
1398
-
1399
- # Internet host and port number of the resource being requested.
1400
- # Corresponds to the JSON property `host`
1401
- # @return [String]
1402
- attr_accessor :host
1403
-
1404
- # HTTP version of request. Example: "HTTP/1.1".
1405
- # Corresponds to the JSON property `httpVersion`
1406
- # @return [String]
1407
- attr_accessor :http_version
1408
-
1409
- # An identifier for the instance that handled the request.
1410
- # Corresponds to the JSON property `instanceId`
1411
- # @return [String]
1412
- attr_accessor :instance_id
1413
-
1414
- # If the instance processing this request belongs to a manually scaled module,
1415
- # then this is the 0-based index of the instance. Otherwise, this value is -1.
1416
- # Corresponds to the JSON property `instanceIndex`
1417
- # @return [Fixnum]
1418
- attr_accessor :instance_index
1419
-
1420
- # Origin IP address.
1421
- # Corresponds to the JSON property `ip`
1422
- # @return [String]
1423
- attr_accessor :ip
1424
-
1425
- # Latency of the request.
1426
- # Corresponds to the JSON property `latency`
1427
- # @return [String]
1428
- attr_accessor :latency
1429
-
1430
- # A list of log lines emitted by the application while serving this request.
1431
- # Corresponds to the JSON property `line`
1432
- # @return [Array<Google::Apis::LoggingV2beta1::LogLine>]
1433
- attr_accessor :line
1434
-
1435
- # Number of CPU megacycles used to process request.
1436
- # Corresponds to the JSON property `megaCycles`
1437
- # @return [Fixnum]
1438
- attr_accessor :mega_cycles
1439
-
1440
- # Request method. Example: "GET", "HEAD", "PUT", "POST", "DELETE".
1441
- # Corresponds to the JSON property `method`
1442
- # @return [String]
1443
- attr_accessor :method_prop
1444
-
1445
- # Module of the application that handled this request.
1446
- # Corresponds to the JSON property `moduleId`
1447
- # @return [String]
1448
- attr_accessor :module_id
1449
-
1450
- # The logged-in user who made the request.Most likely, this is the part of the
1451
- # user's email before the @ sign. The field value is the same for different
1452
- # requests from the same user, but different users can have similar names. This
1453
- # information is also available to the application via the App Engine Users API.
1454
- # This field will be populated starting with App Engine 1.9.21.
1455
- # Corresponds to the JSON property `nickname`
1456
- # @return [String]
1457
- attr_accessor :nickname
1458
-
1459
- # Time this request spent in the pending request queue.
1460
- # Corresponds to the JSON property `pendingTime`
1461
- # @return [String]
1462
- attr_accessor :pending_time
1463
-
1464
- # Referrer URL of request.
1465
- # Corresponds to the JSON property `referrer`
1466
- # @return [String]
1467
- attr_accessor :referrer
1468
-
1469
- # Globally unique identifier for a request, which is based on the request start
1470
- # time. Request IDs for requests which started later will compare greater as
1471
- # strings than those for requests which started earlier.
1472
- # Corresponds to the JSON property `requestId`
1473
- # @return [String]
1474
- attr_accessor :request_id
1475
-
1476
- # Contains the path and query portion of the URL that was requested. For example,
1477
- # if the URL was "http://example.com/app?name=val", the resource would be "/app?
1478
- # name=val". The fragment identifier, which is identified by the # character, is
1479
- # not included.
1480
- # Corresponds to the JSON property `resource`
1481
- # @return [String]
1482
- attr_accessor :resource
1483
-
1484
- # Size in bytes sent back to client by request.
1485
- # Corresponds to the JSON property `responseSize`
1486
- # @return [Fixnum]
1487
- attr_accessor :response_size
1488
-
1489
- # Source code for the application that handled this request. There can be more
1490
- # than one source reference per deployed application if source code is
1491
- # distributed among multiple repositories.
1492
- # Corresponds to the JSON property `sourceReference`
1493
- # @return [Array<Google::Apis::LoggingV2beta1::SourceReference>]
1494
- attr_accessor :source_reference
1495
-
1496
- # Time when the request started.
1497
- # Corresponds to the JSON property `startTime`
1498
- # @return [String]
1499
- attr_accessor :start_time
1500
-
1501
- # HTTP response status code. Example: 200, 404.
1502
- # Corresponds to the JSON property `status`
1503
- # @return [Fixnum]
1504
- attr_accessor :status
1505
-
1506
- # Task name of the request, in the case of an offline request.
1507
- # Corresponds to the JSON property `taskName`
1508
- # @return [String]
1509
- attr_accessor :task_name
1510
-
1511
- # Queue name of the request, in the case of an offline request.
1512
- # Corresponds to the JSON property `taskQueueName`
1513
- # @return [String]
1514
- attr_accessor :task_queue_name
1515
-
1516
- # Stackdriver Trace identifier for this request.
1517
- # Corresponds to the JSON property `traceId`
1518
- # @return [String]
1519
- attr_accessor :trace_id
1520
-
1521
- # If true, the value in the 'trace_id' field was sampled for storage in a trace
1522
- # backend.
1523
- # Corresponds to the JSON property `traceSampled`
1524
- # @return [Boolean]
1525
- attr_accessor :trace_sampled
1526
- alias_method :trace_sampled?, :trace_sampled
1527
-
1528
- # File or class that handled the request.
1529
- # Corresponds to the JSON property `urlMapEntry`
1530
- # @return [String]
1531
- attr_accessor :url_map_entry
1532
-
1533
- # User agent that made the request.
1534
- # Corresponds to the JSON property `userAgent`
1535
- # @return [String]
1536
- attr_accessor :user_agent
1537
-
1538
- # Version of the application that handled this request.
1539
- # Corresponds to the JSON property `versionId`
1540
- # @return [String]
1541
- attr_accessor :version_id
1542
-
1543
- # Whether this was a loading request for the instance.
1544
- # Corresponds to the JSON property `wasLoadingRequest`
1545
- # @return [Boolean]
1546
- attr_accessor :was_loading_request
1547
- alias_method :was_loading_request?, :was_loading_request
1548
-
1549
- def initialize(**args)
1550
- update!(**args)
1551
- end
1552
-
1553
- # Update properties of this object
1554
- def update!(**args)
1555
- @app_engine_release = args[:app_engine_release] if args.key?(:app_engine_release)
1556
- @app_id = args[:app_id] if args.key?(:app_id)
1557
- @cost = args[:cost] if args.key?(:cost)
1558
- @end_time = args[:end_time] if args.key?(:end_time)
1559
- @finished = args[:finished] if args.key?(:finished)
1560
- @first = args[:first] if args.key?(:first)
1561
- @host = args[:host] if args.key?(:host)
1562
- @http_version = args[:http_version] if args.key?(:http_version)
1563
- @instance_id = args[:instance_id] if args.key?(:instance_id)
1564
- @instance_index = args[:instance_index] if args.key?(:instance_index)
1565
- @ip = args[:ip] if args.key?(:ip)
1566
- @latency = args[:latency] if args.key?(:latency)
1567
- @line = args[:line] if args.key?(:line)
1568
- @mega_cycles = args[:mega_cycles] if args.key?(:mega_cycles)
1569
- @method_prop = args[:method_prop] if args.key?(:method_prop)
1570
- @module_id = args[:module_id] if args.key?(:module_id)
1571
- @nickname = args[:nickname] if args.key?(:nickname)
1572
- @pending_time = args[:pending_time] if args.key?(:pending_time)
1573
- @referrer = args[:referrer] if args.key?(:referrer)
1574
- @request_id = args[:request_id] if args.key?(:request_id)
1575
- @resource = args[:resource] if args.key?(:resource)
1576
- @response_size = args[:response_size] if args.key?(:response_size)
1577
- @source_reference = args[:source_reference] if args.key?(:source_reference)
1578
- @start_time = args[:start_time] if args.key?(:start_time)
1579
- @status = args[:status] if args.key?(:status)
1580
- @task_name = args[:task_name] if args.key?(:task_name)
1581
- @task_queue_name = args[:task_queue_name] if args.key?(:task_queue_name)
1582
- @trace_id = args[:trace_id] if args.key?(:trace_id)
1583
- @trace_sampled = args[:trace_sampled] if args.key?(:trace_sampled)
1584
- @url_map_entry = args[:url_map_entry] if args.key?(:url_map_entry)
1585
- @user_agent = args[:user_agent] if args.key?(:user_agent)
1586
- @version_id = args[:version_id] if args.key?(:version_id)
1587
- @was_loading_request = args[:was_loading_request] if args.key?(:was_loading_request)
1588
- end
1589
- end
1590
-
1591
- # Specifies a location in a source code file.
1592
- class SourceLocation
1593
- include Google::Apis::Core::Hashable
1594
-
1595
- # Source file name. Depending on the runtime environment, this might be a simple
1596
- # name or a fully-qualified name.
1597
- # Corresponds to the JSON property `file`
1598
- # @return [String]
1599
- attr_accessor :file
1600
-
1601
- # Human-readable name of the function or method being invoked, with optional
1602
- # context such as the class or package name. This information is used in
1603
- # contexts such as the logs viewer, where a file and line number are less
1604
- # meaningful. The format can vary by language. For example: qual.if.ied.Class.
1605
- # method (Java), dir/package.func (Go), function (Python).
1606
- # Corresponds to the JSON property `functionName`
1607
- # @return [String]
1608
- attr_accessor :function_name
1609
-
1610
- # Line within the source file.
1611
- # Corresponds to the JSON property `line`
1612
- # @return [Fixnum]
1613
- attr_accessor :line
1614
-
1615
- def initialize(**args)
1616
- update!(**args)
1617
- end
1618
-
1619
- # Update properties of this object
1620
- def update!(**args)
1621
- @file = args[:file] if args.key?(:file)
1622
- @function_name = args[:function_name] if args.key?(:function_name)
1623
- @line = args[:line] if args.key?(:line)
1624
- end
1625
- end
1626
-
1627
- # A reference to a particular snapshot of the source tree used to build and
1628
- # deploy an application.
1629
- class SourceReference
1630
- include Google::Apis::Core::Hashable
1631
-
1632
- # Optional. A URI string identifying the repository. Example: "https://github.
1633
- # com/GoogleCloudPlatform/kubernetes.git"
1634
- # Corresponds to the JSON property `repository`
1635
- # @return [String]
1636
- attr_accessor :repository
1637
-
1638
- # The canonical and persistent identifier of the deployed revision. Example (git)
1639
- # : "0035781c50ec7aa23385dc841529ce8a4b70db1b"
1640
- # Corresponds to the JSON property `revisionId`
1641
- # @return [String]
1642
- attr_accessor :revision_id
1643
-
1644
- def initialize(**args)
1645
- update!(**args)
1646
- end
1647
-
1648
- # Update properties of this object
1649
- def update!(**args)
1650
- @repository = args[:repository] if args.key?(:repository)
1651
- @revision_id = args[:revision_id] if args.key?(:revision_id)
1652
- end
1653
- end
1654
-
1655
- # The parameters to WriteLogEntries.
1656
- class WriteLogEntriesRequest
1657
- include Google::Apis::Core::Hashable
1658
-
1659
- # Optional. If true, the request should expect normal response, but the entries
1660
- # won't be persisted nor exported. Useful for checking whether the logging API
1661
- # endpoints are working properly before sending valuable data.
1662
- # Corresponds to the JSON property `dryRun`
1663
- # @return [Boolean]
1664
- attr_accessor :dry_run
1665
- alias_method :dry_run?, :dry_run
1666
-
1667
- # Required. The log entries to send to Logging. The order of log entries in this
1668
- # list does not matter. Values supplied in this method's log_name, resource, and
1669
- # labels fields are copied into those log entries in this list that do not
1670
- # include values for their corresponding fields. For more information, see the
1671
- # LogEntry type.If the timestamp or insert_id fields are missing in log entries,
1672
- # then this method supplies the current time or a unique identifier,
1673
- # respectively. The supplied values are chosen so that, among the log entries
1674
- # that did not supply their own values, the entries earlier in the list will
1675
- # sort before the entries later in the list. See the entries.list method.Log
1676
- # entries with timestamps that are more than the logs retention period in the
1677
- # past or more than 24 hours in the future will not be available when calling
1678
- # entries.list. However, those log entries can still be exported with LogSinks.
1679
- # To improve throughput and to avoid exceeding the quota limit for calls to
1680
- # entries.write, you should try to include several log entries in this list,
1681
- # rather than calling this method for each individual log entry.
1682
- # Corresponds to the JSON property `entries`
1683
- # @return [Array<Google::Apis::LoggingV2beta1::LogEntry>]
1684
- attr_accessor :entries
1685
-
1686
- # Optional. Default labels that are added to the labels field of all log entries
1687
- # in entries. If a log entry already has a label with the same key as a label in
1688
- # this parameter, then the log entry's label is not changed. See LogEntry.
1689
- # Corresponds to the JSON property `labels`
1690
- # @return [Hash<String,String>]
1691
- attr_accessor :labels
1692
-
1693
- # Optional. A default log resource name that is assigned to all log entries in
1694
- # entries that do not specify a value for log_name:
1695
- # "projects/[PROJECT_ID]/logs/[LOG_ID]"
1696
- # "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
1697
- # "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]"
1698
- # "folders/[FOLDER_ID]/logs/[LOG_ID]"
1699
- # [LOG_ID] must be URL-encoded. For example:
1700
- # "projects/my-project-id/logs/syslog"
1701
- # "organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"
1702
- # The permission <code>logging.logEntries.create</code> is needed on each
1703
- # project, organization, billing account, or folder that is receiving new log
1704
- # entries, whether the resource is specified in <code>logName</code> or in an
1705
- # individual log entry.
1706
- # Corresponds to the JSON property `logName`
1707
- # @return [String]
1708
- attr_accessor :log_name
1709
-
1710
- # Optional. Whether valid entries should be written even if some other entries
1711
- # fail due to INVALID_ARGUMENT or PERMISSION_DENIED errors. If any entry is not
1712
- # written, then the response status is the error associated with one of the
1713
- # failed entries and the response includes error details keyed by the entries'
1714
- # zero-based index in the entries.write method.
1715
- # Corresponds to the JSON property `partialSuccess`
1716
- # @return [Boolean]
1717
- attr_accessor :partial_success
1718
- alias_method :partial_success?, :partial_success
1719
-
1720
- # An object representing a resource that can be used for monitoring, logging,
1721
- # billing, or other purposes. Examples include virtual machine instances,
1722
- # databases, and storage devices such as disks. The type field identifies a
1723
- # MonitoredResourceDescriptor object that describes the resource's schema.
1724
- # Information in the labels field identifies the actual resource and its
1725
- # attributes according to the schema. For example, a particular Compute Engine
1726
- # VM instance could be represented by the following object, because the
1727
- # MonitoredResourceDescriptor for "gce_instance" has labels "instance_id" and "
1728
- # zone":
1729
- # ` "type": "gce_instance",
1730
- # "labels": ` "instance_id": "12345678901234",
1731
- # "zone": "us-central1-a" ``
1732
- # Corresponds to the JSON property `resource`
1733
- # @return [Google::Apis::LoggingV2beta1::MonitoredResource]
1734
- attr_accessor :resource
1735
-
1736
- def initialize(**args)
1737
- update!(**args)
1738
- end
1739
-
1740
- # Update properties of this object
1741
- def update!(**args)
1742
- @dry_run = args[:dry_run] if args.key?(:dry_run)
1743
- @entries = args[:entries] if args.key?(:entries)
1744
- @labels = args[:labels] if args.key?(:labels)
1745
- @log_name = args[:log_name] if args.key?(:log_name)
1746
- @partial_success = args[:partial_success] if args.key?(:partial_success)
1747
- @resource = args[:resource] if args.key?(:resource)
1748
- end
1749
- end
1750
-
1751
- # Result returned from WriteLogEntries. empty
1752
- class WriteLogEntriesResponse
1753
- include Google::Apis::Core::Hashable
1754
-
1755
- def initialize(**args)
1756
- update!(**args)
1757
- end
1758
-
1759
- # Update properties of this object
1760
- def update!(**args)
1761
- end
1762
- end
1763
- end
1764
- end
1765
- end