google-api-client 0.43.0 → 0.48.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (964) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/autoapprove.yml +49 -0
  3. data/.github/workflows/release-please.yml +77 -0
  4. data/.gitignore +2 -0
  5. data/.kokoro/trampoline.sh +0 -0
  6. data/CHANGELOG.md +1066 -184
  7. data/Gemfile +1 -0
  8. data/Rakefile +31 -3
  9. data/api_list_config.yaml +8 -0
  10. data/api_names.yaml +1 -0
  11. data/bin/generate-api +77 -15
  12. data/docs/oauth-server.md +4 -6
  13. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
  14. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  15. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  16. data/generated/google/apis/accessapproval_v1/classes.rb +60 -86
  17. data/generated/google/apis/accessapproval_v1/service.rb +93 -132
  18. data/generated/google/apis/accessapproval_v1.rb +1 -1
  19. data/generated/google/apis/accesscontextmanager_v1/classes.rb +266 -236
  20. data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
  21. data/generated/google/apis/accesscontextmanager_v1/service.rb +308 -171
  22. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  23. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
  24. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
  25. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  26. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +47 -36
  27. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  28. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  29. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +72 -2
  30. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +33 -0
  31. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  32. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  33. data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
  34. data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
  35. data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
  36. data/generated/google/apis/admin_directory_v1/classes.rb +344 -242
  37. data/generated/google/apis/admin_directory_v1/representations.rb +62 -39
  38. data/generated/google/apis/admin_directory_v1/service.rb +607 -998
  39. data/generated/google/apis/admin_directory_v1.rb +6 -8
  40. data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
  41. data/generated/google/apis/admin_reports_v1/service.rb +131 -187
  42. data/generated/google/apis/admin_reports_v1.rb +6 -5
  43. data/generated/google/apis/admob_v1/classes.rb +31 -31
  44. data/generated/google/apis/admob_v1/service.rb +2 -1
  45. data/generated/google/apis/admob_v1.rb +6 -2
  46. data/generated/google/apis/adsense_v1_4/service.rb +4 -1
  47. data/generated/google/apis/adsense_v1_4.rb +1 -1
  48. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  49. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
  50. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
  51. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2134 -0
  52. data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
  53. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1655 -0
  54. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +806 -0
  55. data/generated/google/apis/analyticsdata_v1alpha/service.rb +261 -0
  56. data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
  57. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  58. data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
  59. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  60. data/generated/google/apis/androidmanagement_v1/classes.rb +115 -75
  61. data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
  62. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  63. data/generated/google/apis/androidpublisher_v3/classes.rb +9 -1
  64. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  65. data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
  66. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  67. data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
  68. data/generated/google/apis/{memcache_v1 → apigateway_v1beta}/representations.rb +156 -157
  69. data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
  70. data/generated/google/apis/apigateway_v1beta.rb +34 -0
  71. data/generated/google/apis/apigee_v1/classes.rb +630 -88
  72. data/generated/google/apis/apigee_v1/representations.rb +209 -1
  73. data/generated/google/apis/apigee_v1/service.rb +401 -74
  74. data/generated/google/apis/apigee_v1.rb +6 -7
  75. data/generated/google/apis/appengine_v1/classes.rb +96 -59
  76. data/generated/google/apis/appengine_v1/representations.rb +17 -0
  77. data/generated/google/apis/appengine_v1/service.rb +38 -47
  78. data/generated/google/apis/appengine_v1.rb +1 -1
  79. data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
  80. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  81. data/generated/google/apis/appengine_v1beta/classes.rb +103 -59
  82. data/generated/google/apis/appengine_v1beta/representations.rb +18 -0
  83. data/generated/google/apis/appengine_v1beta/service.rb +37 -47
  84. data/generated/google/apis/appengine_v1beta.rb +1 -1
  85. data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
  86. data/generated/google/apis/appsmarket_v2.rb +1 -1
  87. data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
  88. data/generated/google/apis/area120tables_v1alpha1/representations.rb +248 -0
  89. data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
  90. data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
  91. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +249 -337
  92. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +2 -0
  93. data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
  94. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  95. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +722 -0
  96. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +359 -0
  97. data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
  98. data/generated/google/apis/{accessapproval_v1beta1.rb → assuredworkloads_v1beta1.rb} +8 -8
  99. data/generated/google/apis/bigquery_v2/classes.rb +593 -576
  100. data/generated/google/apis/bigquery_v2/representations.rb +85 -0
  101. data/generated/google/apis/bigquery_v2/service.rb +79 -41
  102. data/generated/google/apis/bigquery_v2.rb +1 -1
  103. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
  104. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
  105. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  106. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
  107. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
  108. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  109. data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
  110. data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
  111. data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
  112. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  113. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
  114. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
  115. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  116. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
  117. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
  118. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
  119. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  120. data/generated/google/apis/bigtableadmin_v1/classes.rb +137 -119
  121. data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
  122. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  123. data/generated/google/apis/bigtableadmin_v2/classes.rb +455 -607
  124. data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
  125. data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
  126. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  127. data/generated/google/apis/billingbudgets_v1/classes.rb +373 -0
  128. data/generated/google/apis/billingbudgets_v1/representations.rb +171 -0
  129. data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
  130. data/generated/google/apis/billingbudgets_v1.rb +38 -0
  131. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +27 -6
  132. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +2 -0
  133. data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
  134. data/generated/google/apis/binaryauthorization_v1/classes.rb +434 -355
  135. data/generated/google/apis/binaryauthorization_v1/representations.rb +75 -0
  136. data/generated/google/apis/binaryauthorization_v1/service.rb +109 -89
  137. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  138. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +434 -355
  139. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +75 -0
  140. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +109 -89
  141. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  142. data/generated/google/apis/books_v1/service.rb +54 -54
  143. data/generated/google/apis/books_v1.rb +1 -1
  144. data/generated/google/apis/calendar_v3/classes.rb +13 -10
  145. data/generated/google/apis/calendar_v3.rb +1 -1
  146. data/generated/google/apis/chat_v1/classes.rb +173 -116
  147. data/generated/google/apis/chat_v1/representations.rb +36 -0
  148. data/generated/google/apis/chat_v1/service.rb +30 -42
  149. data/generated/google/apis/chat_v1.rb +1 -1
  150. data/generated/google/apis/civicinfo_v2/classes.rb +18 -32
  151. data/generated/google/apis/civicinfo_v2/representations.rb +2 -3
  152. data/generated/google/apis/civicinfo_v2.rb +1 -1
  153. data/generated/google/apis/classroom_v1/classes.rb +153 -21
  154. data/generated/google/apis/classroom_v1/representations.rb +43 -0
  155. data/generated/google/apis/classroom_v1/service.rb +240 -0
  156. data/generated/google/apis/classroom_v1.rb +7 -1
  157. data/generated/google/apis/cloudasset_v1/classes.rb +1461 -1039
  158. data/generated/google/apis/cloudasset_v1/representations.rb +320 -0
  159. data/generated/google/apis/cloudasset_v1/service.rb +296 -167
  160. data/generated/google/apis/cloudasset_v1.rb +1 -1
  161. data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
  162. data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
  163. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  164. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
  165. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
  166. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  167. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +222 -276
  168. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
  169. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  170. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
  171. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
  172. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  173. data/generated/google/apis/cloudbilling_v1/classes.rb +285 -446
  174. data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
  175. data/generated/google/apis/cloudbilling_v1.rb +7 -1
  176. data/generated/google/apis/cloudbuild_v1/classes.rb +339 -344
  177. data/generated/google/apis/cloudbuild_v1/representations.rb +8 -0
  178. data/generated/google/apis/cloudbuild_v1/service.rb +277 -67
  179. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  180. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +291 -329
  181. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
  182. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
  183. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  184. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +277 -313
  185. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +2 -0
  186. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
  187. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  188. data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
  189. data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
  190. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  191. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +127 -156
  192. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
  193. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  194. data/generated/google/apis/cloudfunctions_v1/classes.rb +335 -494
  195. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  196. data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
  197. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  198. data/generated/google/apis/cloudidentity_v1/classes.rb +989 -107
  199. data/generated/google/apis/cloudidentity_v1/representations.rb +371 -0
  200. data/generated/google/apis/cloudidentity_v1/service.rb +883 -88
  201. data/generated/google/apis/cloudidentity_v1.rb +4 -1
  202. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1236 -307
  203. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +424 -21
  204. data/generated/google/apis/cloudidentity_v1beta1/service.rb +921 -96
  205. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  206. data/generated/google/apis/cloudiot_v1/classes.rb +270 -373
  207. data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
  208. data/generated/google/apis/cloudiot_v1/service.rb +147 -154
  209. data/generated/google/apis/cloudiot_v1.rb +1 -1
  210. data/generated/google/apis/cloudkms_v1/classes.rb +509 -692
  211. data/generated/google/apis/cloudkms_v1/representations.rb +18 -0
  212. data/generated/google/apis/cloudkms_v1/service.rb +170 -216
  213. data/generated/google/apis/cloudkms_v1.rb +1 -1
  214. data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
  215. data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
  216. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  217. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
  218. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
  219. data/generated/google/apis/cloudresourcemanager_v1/service.rb +62 -60
  220. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  221. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
  222. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
  223. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +26 -25
  224. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  225. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
  226. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
  227. data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
  228. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  229. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
  230. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
  231. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
  232. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  233. data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
  234. data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
  235. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  236. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
  237. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
  238. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  239. data/generated/google/apis/cloudsearch_v1/classes.rb +651 -781
  240. data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
  241. data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
  242. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  243. data/generated/google/apis/cloudshell_v1/classes.rb +256 -105
  244. data/generated/google/apis/cloudshell_v1/representations.rb +143 -10
  245. data/generated/google/apis/cloudshell_v1/service.rb +198 -25
  246. data/generated/google/apis/cloudshell_v1.rb +1 -1
  247. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
  248. data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
  249. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  250. data/generated/google/apis/cloudtasks_v2/classes.rb +612 -933
  251. data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
  252. data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
  253. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  254. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +608 -964
  255. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
  256. data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
  257. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  258. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +616 -938
  259. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  260. data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
  261. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  262. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
  263. data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
  264. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  265. data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
  266. data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
  267. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  268. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
  269. data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
  270. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  271. data/generated/google/apis/composer_v1/classes.rb +189 -242
  272. data/generated/google/apis/composer_v1/service.rb +79 -150
  273. data/generated/google/apis/composer_v1.rb +1 -1
  274. data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
  275. data/generated/google/apis/composer_v1beta1/service.rb +94 -179
  276. data/generated/google/apis/composer_v1beta1.rb +1 -1
  277. data/generated/google/apis/compute_alpha/classes.rb +1227 -186
  278. data/generated/google/apis/compute_alpha/representations.rb +235 -8
  279. data/generated/google/apis/compute_alpha/service.rb +2009 -1024
  280. data/generated/google/apis/compute_alpha.rb +1 -1
  281. data/generated/google/apis/compute_beta/classes.rb +1080 -108
  282. data/generated/google/apis/compute_beta/representations.rb +212 -2
  283. data/generated/google/apis/compute_beta/service.rb +1413 -741
  284. data/generated/google/apis/compute_beta.rb +1 -1
  285. data/generated/google/apis/compute_v1/classes.rb +1512 -106
  286. data/generated/google/apis/compute_v1/representations.rb +470 -1
  287. data/generated/google/apis/compute_v1/service.rb +1625 -285
  288. data/generated/google/apis/compute_v1.rb +1 -1
  289. data/generated/google/apis/container_v1/classes.rb +982 -965
  290. data/generated/google/apis/container_v1/representations.rb +60 -0
  291. data/generated/google/apis/container_v1/service.rb +435 -502
  292. data/generated/google/apis/container_v1.rb +1 -1
  293. data/generated/google/apis/container_v1beta1/classes.rb +1106 -1044
  294. data/generated/google/apis/container_v1beta1/representations.rb +91 -0
  295. data/generated/google/apis/container_v1beta1/service.rb +403 -466
  296. data/generated/google/apis/container_v1beta1.rb +1 -1
  297. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +463 -596
  298. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  299. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
  300. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  301. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +461 -613
  302. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
  303. data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
  304. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  305. data/generated/google/apis/content_v2/classes.rb +515 -1219
  306. data/generated/google/apis/content_v2/service.rb +377 -650
  307. data/generated/google/apis/content_v2.rb +3 -4
  308. data/generated/google/apis/content_v2_1/classes.rb +1108 -1058
  309. data/generated/google/apis/content_v2_1/representations.rb +288 -0
  310. data/generated/google/apis/content_v2_1/service.rb +987 -795
  311. data/generated/google/apis/content_v2_1.rb +3 -4
  312. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  313. data/generated/google/apis/customsearch_v1.rb +1 -1
  314. data/generated/google/apis/datacatalog_v1beta1/classes.rb +413 -573
  315. data/generated/google/apis/datacatalog_v1beta1/representations.rb +6 -0
  316. data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
  317. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  318. data/generated/google/apis/dataflow_v1b3/classes.rb +1174 -973
  319. data/generated/google/apis/dataflow_v1b3/representations.rb +148 -0
  320. data/generated/google/apis/dataflow_v1b3/service.rb +308 -257
  321. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  322. data/generated/google/apis/datafusion_v1/classes.rb +283 -397
  323. data/generated/google/apis/datafusion_v1/representations.rb +5 -0
  324. data/generated/google/apis/datafusion_v1/service.rb +76 -89
  325. data/generated/google/apis/datafusion_v1.rb +5 -8
  326. data/generated/google/apis/datafusion_v1beta1/classes.rb +283 -397
  327. data/generated/google/apis/datafusion_v1beta1/representations.rb +5 -0
  328. data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
  329. data/generated/google/apis/datafusion_v1beta1.rb +5 -8
  330. data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
  331. data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
  332. data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
  333. data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
  334. data/generated/google/apis/dataproc_v1/classes.rb +97 -13
  335. data/generated/google/apis/dataproc_v1/representations.rb +34 -0
  336. data/generated/google/apis/dataproc_v1.rb +1 -1
  337. data/generated/google/apis/dataproc_v1beta2/classes.rb +117 -9
  338. data/generated/google/apis/dataproc_v1beta2/representations.rb +49 -0
  339. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  340. data/generated/google/apis/datastore_v1/classes.rb +334 -476
  341. data/generated/google/apis/datastore_v1/service.rb +52 -63
  342. data/generated/google/apis/datastore_v1.rb +1 -1
  343. data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
  344. data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
  345. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  346. data/generated/google/apis/datastore_v1beta3/classes.rb +259 -375
  347. data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
  348. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  349. data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
  350. data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
  351. data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
  352. data/generated/google/apis/deploymentmanager_v2.rb +6 -4
  353. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
  354. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
  355. data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
  356. data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
  357. data/generated/google/apis/dfareporting_v3_3/classes.rb +162 -339
  358. data/generated/google/apis/dfareporting_v3_3/service.rb +646 -1262
  359. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  360. data/generated/google/apis/dfareporting_v3_4/classes.rb +184 -350
  361. data/generated/google/apis/dfareporting_v3_4/representations.rb +1 -0
  362. data/generated/google/apis/dfareporting_v3_4/service.rb +681 -1261
  363. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  364. data/generated/google/apis/dialogflow_v2/classes.rb +746 -217
  365. data/generated/google/apis/dialogflow_v2/representations.rb +318 -67
  366. data/generated/google/apis/dialogflow_v2.rb +1 -1
  367. data/generated/google/apis/dialogflow_v2beta1/classes.rb +764 -233
  368. data/generated/google/apis/dialogflow_v2beta1/representations.rb +318 -67
  369. data/generated/google/apis/dialogflow_v2beta1/service.rb +556 -331
  370. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  371. data/generated/google/apis/dialogflow_v3beta1/classes.rb +8816 -0
  372. data/generated/google/apis/dialogflow_v3beta1/representations.rb +3725 -0
  373. data/generated/google/apis/dialogflow_v3beta1/service.rb +2825 -0
  374. data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
  375. data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
  376. data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
  377. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  378. data/generated/google/apis/displayvideo_v1/classes.rb +271 -38
  379. data/generated/google/apis/displayvideo_v1/representations.rb +83 -0
  380. data/generated/google/apis/displayvideo_v1/service.rb +287 -32
  381. data/generated/google/apis/displayvideo_v1.rb +1 -1
  382. data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
  383. data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
  384. data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
  385. data/generated/google/apis/displayvideo_v1beta.rb +38 -0
  386. data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
  387. data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
  388. data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
  389. data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
  390. data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
  391. data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
  392. data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
  393. data/generated/google/apis/displayvideo_v1dev.rb +38 -0
  394. data/generated/google/apis/dlp_v2/classes.rb +1111 -1310
  395. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  396. data/generated/google/apis/dlp_v2/service.rb +962 -905
  397. data/generated/google/apis/dlp_v2.rb +1 -1
  398. data/generated/google/apis/dns_v1/classes.rb +356 -198
  399. data/generated/google/apis/dns_v1/representations.rb +83 -0
  400. data/generated/google/apis/dns_v1/service.rb +83 -98
  401. data/generated/google/apis/dns_v1.rb +2 -2
  402. data/generated/google/apis/dns_v1beta2/classes.rb +362 -206
  403. data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
  404. data/generated/google/apis/dns_v1beta2/service.rb +83 -98
  405. data/generated/google/apis/dns_v1beta2.rb +2 -2
  406. data/generated/google/apis/docs_v1/classes.rb +894 -1229
  407. data/generated/google/apis/docs_v1/service.rb +17 -22
  408. data/generated/google/apis/docs_v1.rb +1 -1
  409. data/generated/google/apis/documentai_v1beta2/classes.rb +2253 -824
  410. data/generated/google/apis/documentai_v1beta2/representations.rb +701 -0
  411. data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
  412. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  413. data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
  414. data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
  415. data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
  416. data/generated/google/apis/{securitycenter_v1p1alpha1.rb → documentai_v1beta3.rb} +11 -10
  417. data/generated/google/apis/domains_v1alpha2/classes.rb +1540 -0
  418. data/generated/google/apis/domains_v1alpha2/representations.rb +606 -0
  419. data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
  420. data/generated/google/apis/domains_v1alpha2.rb +34 -0
  421. data/generated/google/apis/domains_v1beta1/classes.rb +1540 -0
  422. data/generated/google/apis/domains_v1beta1/representations.rb +606 -0
  423. data/generated/google/apis/domains_v1beta1/service.rb +805 -0
  424. data/generated/google/apis/domains_v1beta1.rb +34 -0
  425. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -12
  426. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
  427. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
  428. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +13 -20
  429. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
  430. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
  431. data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
  432. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  433. data/generated/google/apis/drive_v2/classes.rb +18 -7
  434. data/generated/google/apis/drive_v2/representations.rb +1 -0
  435. data/generated/google/apis/drive_v2/service.rb +79 -15
  436. data/generated/google/apis/drive_v2.rb +1 -1
  437. data/generated/google/apis/drive_v3/classes.rb +18 -8
  438. data/generated/google/apis/drive_v3/representations.rb +1 -0
  439. data/generated/google/apis/drive_v3/service.rb +59 -11
  440. data/generated/google/apis/drive_v3.rb +1 -1
  441. data/generated/google/apis/eventarc_v1beta1/classes.rb +931 -0
  442. data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
  443. data/generated/google/apis/{memcache_v1 → eventarc_v1beta1}/service.rb +236 -215
  444. data/generated/google/apis/eventarc_v1beta1.rb +34 -0
  445. data/generated/google/apis/file_v1/classes.rb +155 -174
  446. data/generated/google/apis/file_v1/service.rb +43 -52
  447. data/generated/google/apis/file_v1.rb +1 -1
  448. data/generated/google/apis/file_v1beta1/classes.rb +335 -194
  449. data/generated/google/apis/file_v1beta1/representations.rb +55 -0
  450. data/generated/google/apis/file_v1beta1/service.rb +267 -55
  451. data/generated/google/apis/file_v1beta1.rb +1 -1
  452. data/generated/google/apis/firebase_v1beta1/classes.rb +33 -51
  453. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
  454. data/generated/google/apis/firebase_v1beta1/service.rb +21 -1
  455. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  456. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  457. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +188 -0
  458. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +83 -0
  459. data/generated/google/apis/firebasehosting_v1beta1/service.rb +418 -4
  460. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  461. data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -8
  462. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -1
  463. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  464. data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
  465. data/generated/google/apis/firebaserules_v1/service.rb +87 -110
  466. data/generated/google/apis/firebaserules_v1.rb +1 -1
  467. data/generated/google/apis/firestore_v1/classes.rb +406 -502
  468. data/generated/google/apis/firestore_v1/service.rb +165 -201
  469. data/generated/google/apis/firestore_v1.rb +1 -1
  470. data/generated/google/apis/firestore_v1beta1/classes.rb +338 -413
  471. data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
  472. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  473. data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
  474. data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
  475. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  476. data/generated/google/apis/fitness_v1/classes.rb +982 -0
  477. data/generated/google/apis/fitness_v1/representations.rb +398 -0
  478. data/generated/google/apis/fitness_v1/service.rb +628 -0
  479. data/generated/google/apis/fitness_v1.rb +97 -0
  480. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
  481. data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
  482. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  483. data/generated/google/apis/games_management_v1management/classes.rb +14 -20
  484. data/generated/google/apis/games_management_v1management/service.rb +35 -36
  485. data/generated/google/apis/games_management_v1management.rb +2 -3
  486. data/generated/google/apis/games_v1/classes.rb +376 -83
  487. data/generated/google/apis/games_v1/representations.rb +118 -0
  488. data/generated/google/apis/games_v1/service.rb +118 -90
  489. data/generated/google/apis/games_v1.rb +2 -3
  490. data/generated/google/apis/gameservices_v1/classes.rb +22 -14
  491. data/generated/google/apis/gameservices_v1/representations.rb +1 -0
  492. data/generated/google/apis/gameservices_v1/service.rb +54 -51
  493. data/generated/google/apis/gameservices_v1.rb +1 -1
  494. data/generated/google/apis/gameservices_v1beta/classes.rb +22 -14
  495. data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
  496. data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
  497. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  498. data/generated/google/apis/genomics_v1/classes.rb +70 -76
  499. data/generated/google/apis/genomics_v1/service.rb +28 -43
  500. data/generated/google/apis/genomics_v1.rb +1 -1
  501. data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
  502. data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
  503. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  504. data/generated/google/apis/genomics_v2alpha1/classes.rb +356 -275
  505. data/generated/google/apis/genomics_v2alpha1/representations.rb +48 -0
  506. data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
  507. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  508. data/generated/google/apis/gmail_v1/classes.rb +37 -43
  509. data/generated/google/apis/gmail_v1/service.rb +5 -4
  510. data/generated/google/apis/gmail_v1.rb +1 -1
  511. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +11 -11
  512. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
  513. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  514. data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
  515. data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
  516. data/generated/google/apis/groupsmigration_v1.rb +35 -0
  517. data/generated/google/apis/healthcare_v1/classes.rb +637 -826
  518. data/generated/google/apis/healthcare_v1/representations.rb +32 -0
  519. data/generated/google/apis/healthcare_v1/service.rb +842 -855
  520. data/generated/google/apis/healthcare_v1.rb +1 -1
  521. data/generated/google/apis/healthcare_v1beta1/classes.rb +1937 -1299
  522. data/generated/google/apis/healthcare_v1beta1/representations.rb +534 -65
  523. data/generated/google/apis/healthcare_v1beta1/service.rb +2534 -1293
  524. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  525. data/generated/google/apis/homegraph_v1/classes.rb +76 -164
  526. data/generated/google/apis/homegraph_v1/service.rb +23 -35
  527. data/generated/google/apis/homegraph_v1.rb +4 -1
  528. data/generated/google/apis/iam_v1/classes.rb +395 -592
  529. data/generated/google/apis/iam_v1/representations.rb +1 -0
  530. data/generated/google/apis/iam_v1/service.rb +427 -555
  531. data/generated/google/apis/iam_v1.rb +1 -1
  532. data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
  533. data/generated/google/apis/iamcredentials_v1/service.rb +14 -13
  534. data/generated/google/apis/iamcredentials_v1.rb +3 -2
  535. data/generated/google/apis/iap_v1/classes.rb +253 -355
  536. data/generated/google/apis/iap_v1/representations.rb +1 -0
  537. data/generated/google/apis/iap_v1/service.rb +61 -71
  538. data/generated/google/apis/iap_v1.rb +1 -1
  539. data/generated/google/apis/iap_v1beta1/classes.rb +164 -254
  540. data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
  541. data/generated/google/apis/iap_v1beta1/service.rb +17 -19
  542. data/generated/google/apis/iap_v1beta1.rb +1 -1
  543. data/generated/google/apis/indexing_v3/classes.rb +11 -11
  544. data/generated/google/apis/indexing_v3.rb +1 -1
  545. data/generated/google/apis/jobs_v2/classes.rb +1584 -1086
  546. data/generated/google/apis/jobs_v2/representations.rb +272 -0
  547. data/generated/google/apis/jobs_v2/service.rb +85 -126
  548. data/generated/google/apis/jobs_v2.rb +1 -1
  549. data/generated/google/apis/jobs_v3/classes.rb +1559 -980
  550. data/generated/google/apis/jobs_v3/representations.rb +272 -0
  551. data/generated/google/apis/jobs_v3/service.rb +101 -139
  552. data/generated/google/apis/jobs_v3.rb +1 -1
  553. data/generated/google/apis/jobs_v3p1beta1/classes.rb +1521 -1023
  554. data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
  555. data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
  556. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  557. data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
  558. data/generated/google/apis/kgsearch_v1/service.rb +11 -11
  559. data/generated/google/apis/kgsearch_v1.rb +1 -1
  560. data/generated/google/apis/licensing_v1/classes.rb +1 -1
  561. data/generated/google/apis/licensing_v1/service.rb +56 -86
  562. data/generated/google/apis/licensing_v1.rb +4 -3
  563. data/generated/google/apis/lifesciences_v2beta/classes.rb +366 -290
  564. data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
  565. data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
  566. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  567. data/generated/google/apis/localservices_v1/classes.rb +426 -0
  568. data/generated/google/apis/localservices_v1/representations.rb +174 -0
  569. data/generated/google/apis/localservices_v1/service.rb +199 -0
  570. data/generated/google/apis/{appsactivity_v1.rb → localservices_v1.rb} +8 -11
  571. data/generated/google/apis/logging_v2/classes.rb +306 -232
  572. data/generated/google/apis/logging_v2/representations.rb +79 -0
  573. data/generated/google/apis/logging_v2/service.rb +3307 -1579
  574. data/generated/google/apis/logging_v2.rb +1 -1
  575. data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
  576. data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
  577. data/generated/google/apis/managedidentities_v1/service.rb +1 -4
  578. data/generated/google/apis/managedidentities_v1.rb +1 -1
  579. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -1
  580. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -0
  581. data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
  582. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  583. data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -1
  584. data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -0
  585. data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
  586. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  587. data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
  588. data/generated/google/apis/manufacturers_v1/service.rb +44 -55
  589. data/generated/google/apis/manufacturers_v1.rb +1 -1
  590. data/generated/google/apis/memcache_v1beta2/classes.rb +171 -250
  591. data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
  592. data/generated/google/apis/memcache_v1beta2/service.rb +60 -73
  593. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  594. data/generated/google/apis/ml_v1/classes.rb +1122 -1149
  595. data/generated/google/apis/ml_v1/representations.rb +82 -0
  596. data/generated/google/apis/ml_v1/service.rb +194 -253
  597. data/generated/google/apis/ml_v1.rb +1 -1
  598. data/generated/google/apis/monitoring_v1/classes.rb +107 -26
  599. data/generated/google/apis/monitoring_v1/representations.rb +35 -0
  600. data/generated/google/apis/monitoring_v1/service.rb +10 -11
  601. data/generated/google/apis/monitoring_v1.rb +1 -1
  602. data/generated/google/apis/monitoring_v3/classes.rb +303 -345
  603. data/generated/google/apis/monitoring_v3/representations.rb +18 -0
  604. data/generated/google/apis/monitoring_v3/service.rb +176 -146
  605. data/generated/google/apis/monitoring_v3.rb +1 -1
  606. data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
  607. data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
  608. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  609. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +456 -429
  610. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +63 -0
  611. data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
  612. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  613. data/generated/google/apis/osconfig_v1/classes.rb +154 -902
  614. data/generated/google/apis/osconfig_v1/representations.rb +0 -337
  615. data/generated/google/apis/osconfig_v1/service.rb +26 -31
  616. data/generated/google/apis/osconfig_v1.rb +3 -3
  617. data/generated/google/apis/osconfig_v1beta/classes.rb +327 -411
  618. data/generated/google/apis/osconfig_v1beta/service.rb +43 -56
  619. data/generated/google/apis/osconfig_v1beta.rb +3 -3
  620. data/generated/google/apis/oslogin_v1/classes.rb +14 -12
  621. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  622. data/generated/google/apis/oslogin_v1/service.rb +12 -16
  623. data/generated/google/apis/oslogin_v1.rb +1 -1
  624. data/generated/google/apis/oslogin_v1alpha/classes.rb +16 -14
  625. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  626. data/generated/google/apis/oslogin_v1alpha/service.rb +17 -17
  627. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  628. data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
  629. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  630. data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
  631. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  632. data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
  633. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
  634. data/generated/google/apis/pagespeedonline_v5.rb +2 -2
  635. data/generated/google/apis/people_v1/classes.rb +173 -63
  636. data/generated/google/apis/people_v1/representations.rb +41 -0
  637. data/generated/google/apis/people_v1/service.rb +63 -61
  638. data/generated/google/apis/people_v1.rb +1 -1
  639. data/generated/google/apis/playablelocations_v3/classes.rb +114 -161
  640. data/generated/google/apis/playablelocations_v3/service.rb +10 -10
  641. data/generated/google/apis/playablelocations_v3.rb +1 -1
  642. data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
  643. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  644. data/generated/google/apis/poly_v1/classes.rb +65 -79
  645. data/generated/google/apis/poly_v1/service.rb +50 -63
  646. data/generated/google/apis/poly_v1.rb +3 -4
  647. data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
  648. data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
  649. data/generated/google/apis/privateca_v1beta1/service.rb +1487 -0
  650. data/generated/google/apis/privateca_v1beta1.rb +34 -0
  651. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +26 -0
  652. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
  653. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +644 -56
  654. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  655. data/generated/google/apis/pubsub_v1/classes.rb +399 -518
  656. data/generated/google/apis/pubsub_v1/representations.rb +2 -0
  657. data/generated/google/apis/pubsub_v1/service.rb +221 -247
  658. data/generated/google/apis/pubsub_v1.rb +1 -1
  659. data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
  660. data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
  661. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  662. data/generated/google/apis/pubsub_v1beta2/classes.rb +251 -354
  663. data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
  664. data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
  665. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  666. data/generated/google/apis/pubsublite_v1/classes.rb +461 -0
  667. data/generated/google/apis/pubsublite_v1/representations.rb +261 -0
  668. data/generated/google/apis/pubsublite_v1/service.rb +558 -0
  669. data/generated/google/apis/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
  670. data/generated/google/apis/realtimebidding_v1/classes.rb +84 -123
  671. data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
  672. data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
  673. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  674. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +367 -456
  675. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -16
  676. data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
  677. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  678. data/generated/google/apis/recommender_v1/classes.rb +1 -1
  679. data/generated/google/apis/recommender_v1/service.rb +4 -2
  680. data/generated/google/apis/recommender_v1.rb +1 -1
  681. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
  682. data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
  683. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  684. data/generated/google/apis/redis_v1/classes.rb +91 -513
  685. data/generated/google/apis/redis_v1/representations.rb +0 -139
  686. data/generated/google/apis/redis_v1/service.rb +92 -109
  687. data/generated/google/apis/redis_v1.rb +1 -1
  688. data/generated/google/apis/redis_v1beta1/classes.rb +123 -517
  689. data/generated/google/apis/redis_v1beta1/representations.rb +12 -137
  690. data/generated/google/apis/redis_v1beta1/service.rb +126 -109
  691. data/generated/google/apis/redis_v1beta1.rb +1 -1
  692. data/generated/google/apis/remotebuildexecution_v1/classes.rb +957 -1078
  693. data/generated/google/apis/remotebuildexecution_v1/representations.rb +62 -0
  694. data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
  695. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  696. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +952 -1071
  697. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +62 -0
  698. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
  699. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  700. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1105 -1250
  701. data/generated/google/apis/remotebuildexecution_v2/representations.rb +62 -0
  702. data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
  703. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  704. data/generated/google/apis/reseller_v1/classes.rb +151 -219
  705. data/generated/google/apis/reseller_v1/service.rb +122 -173
  706. data/generated/google/apis/reseller_v1.rb +2 -2
  707. data/generated/google/apis/run_v1/classes.rb +19 -138
  708. data/generated/google/apis/run_v1/representations.rb +1 -62
  709. data/generated/google/apis/run_v1/service.rb +0 -342
  710. data/generated/google/apis/run_v1.rb +1 -1
  711. data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
  712. data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
  713. data/generated/google/apis/run_v1alpha1.rb +1 -1
  714. data/generated/google/apis/run_v1beta1/classes.rb +3 -2
  715. data/generated/google/apis/run_v1beta1.rb +1 -1
  716. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +301 -412
  717. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
  718. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
  719. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  720. data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
  721. data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
  722. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  723. data/generated/google/apis/sasportal_v1alpha1/classes.rb +26 -0
  724. data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
  725. data/generated/google/apis/sasportal_v1alpha1/service.rb +644 -56
  726. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  727. data/generated/google/apis/script_v1/classes.rb +88 -111
  728. data/generated/google/apis/script_v1/service.rb +63 -69
  729. data/generated/google/apis/script_v1.rb +1 -1
  730. data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
  731. data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
  732. data/generated/google/apis/searchconsole_v1/service.rb +287 -0
  733. data/generated/google/apis/searchconsole_v1.rb +7 -1
  734. data/generated/google/apis/secretmanager_v1/classes.rb +378 -365
  735. data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
  736. data/generated/google/apis/secretmanager_v1/service.rb +66 -82
  737. data/generated/google/apis/secretmanager_v1.rb +1 -1
  738. data/generated/google/apis/secretmanager_v1beta1/classes.rb +217 -363
  739. data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
  740. data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
  741. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  742. data/generated/google/apis/securitycenter_v1/classes.rb +20 -204
  743. data/generated/google/apis/securitycenter_v1/representations.rb +1 -72
  744. data/generated/google/apis/securitycenter_v1.rb +1 -1
  745. data/generated/google/apis/securitycenter_v1beta1/classes.rb +22 -204
  746. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -72
  747. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  748. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +275 -291
  749. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +83 -84
  750. data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
  751. data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
  752. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +35 -123
  753. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
  754. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +32 -30
  755. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  756. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +24 -112
  757. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
  758. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  759. data/generated/google/apis/servicecontrol_v1/classes.rb +601 -642
  760. data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
  761. data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
  762. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  763. data/generated/google/apis/servicecontrol_v2/classes.rb +343 -325
  764. data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
  765. data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
  766. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  767. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +221 -333
  768. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
  769. data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
  770. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  771. data/generated/google/apis/servicemanagement_v1/classes.rb +1244 -2174
  772. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -31
  773. data/generated/google/apis/servicemanagement_v1/service.rb +141 -228
  774. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  775. data/generated/google/apis/servicenetworking_v1/classes.rb +278 -121
  776. data/generated/google/apis/servicenetworking_v1/representations.rb +115 -15
  777. data/generated/google/apis/servicenetworking_v1/service.rb +118 -2
  778. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  779. data/generated/google/apis/servicenetworking_v1beta/classes.rb +213 -112
  780. data/generated/google/apis/servicenetworking_v1beta/representations.rb +84 -14
  781. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  782. data/generated/google/apis/serviceusage_v1/classes.rb +57 -111
  783. data/generated/google/apis/serviceusage_v1/representations.rb +4 -18
  784. data/generated/google/apis/serviceusage_v1/service.rb +5 -1
  785. data/generated/google/apis/serviceusage_v1.rb +1 -1
  786. data/generated/google/apis/serviceusage_v1beta1/classes.rb +122 -112
  787. data/generated/google/apis/serviceusage_v1beta1/representations.rb +23 -18
  788. data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
  789. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  790. data/generated/google/apis/sheets_v4/classes.rb +4029 -5014
  791. data/generated/google/apis/sheets_v4/representations.rb +625 -0
  792. data/generated/google/apis/sheets_v4/service.rb +113 -149
  793. data/generated/google/apis/sheets_v4.rb +1 -1
  794. data/generated/google/apis/site_verification_v1.rb +1 -1
  795. data/generated/google/apis/slides_v1/classes.rb +841 -1114
  796. data/generated/google/apis/slides_v1/service.rb +23 -30
  797. data/generated/google/apis/slides_v1.rb +1 -1
  798. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +273 -0
  799. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +157 -0
  800. data/generated/google/apis/smartdevicemanagement_v1/service.rb +304 -0
  801. data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
  802. data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
  803. data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
  804. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  805. data/generated/google/apis/spanner_v1/classes.rb +1553 -2157
  806. data/generated/google/apis/spanner_v1/representations.rb +1 -0
  807. data/generated/google/apis/spanner_v1/service.rb +443 -618
  808. data/generated/google/apis/spanner_v1.rb +1 -1
  809. data/generated/google/apis/speech_v1/classes.rb +174 -220
  810. data/generated/google/apis/speech_v1/service.rb +27 -32
  811. data/generated/google/apis/speech_v1.rb +1 -1
  812. data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
  813. data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
  814. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  815. data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
  816. data/generated/google/apis/speech_v2beta1/service.rb +10 -12
  817. data/generated/google/apis/speech_v2beta1.rb +1 -1
  818. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +537 -452
  819. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +142 -87
  820. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +295 -300
  821. data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
  822. data/generated/google/apis/storage_v1/classes.rb +10 -17
  823. data/generated/google/apis/storage_v1/representations.rb +2 -3
  824. data/generated/google/apis/storage_v1/service.rb +3 -2
  825. data/generated/google/apis/storage_v1.rb +1 -1
  826. data/generated/google/apis/storagetransfer_v1/classes.rb +301 -349
  827. data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
  828. data/generated/google/apis/storagetransfer_v1/service.rb +53 -72
  829. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  830. data/generated/google/apis/streetviewpublish_v1/classes.rb +110 -152
  831. data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
  832. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  833. data/generated/google/apis/sts_v1/classes.rb +121 -0
  834. data/generated/google/apis/sts_v1/representations.rb +59 -0
  835. data/generated/google/apis/sts_v1/service.rb +90 -0
  836. data/generated/google/apis/sts_v1.rb +32 -0
  837. data/generated/google/apis/sts_v1beta/classes.rb +191 -0
  838. data/generated/google/apis/sts_v1beta/representations.rb +61 -0
  839. data/generated/google/apis/sts_v1beta/service.rb +92 -0
  840. data/generated/google/apis/sts_v1beta.rb +32 -0
  841. data/generated/google/apis/tagmanager_v1/service.rb +2 -2
  842. data/generated/google/apis/tagmanager_v1.rb +1 -1
  843. data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
  844. data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
  845. data/generated/google/apis/tagmanager_v2/service.rb +2 -2
  846. data/generated/google/apis/tagmanager_v2.rb +1 -1
  847. data/generated/google/apis/tasks_v1/classes.rb +21 -22
  848. data/generated/google/apis/tasks_v1/service.rb +19 -19
  849. data/generated/google/apis/tasks_v1.rb +1 -1
  850. data/generated/google/apis/testing_v1/classes.rb +384 -390
  851. data/generated/google/apis/testing_v1/representations.rb +23 -0
  852. data/generated/google/apis/testing_v1/service.rb +22 -28
  853. data/generated/google/apis/testing_v1.rb +1 -1
  854. data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
  855. data/generated/google/apis/texttospeech_v1/service.rb +9 -10
  856. data/generated/google/apis/texttospeech_v1.rb +1 -1
  857. data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
  858. data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
  859. data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
  860. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  861. data/generated/google/apis/toolresults_v1beta3/classes.rb +20 -0
  862. data/generated/google/apis/toolresults_v1beta3/representations.rb +13 -0
  863. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  864. data/generated/google/apis/tpu_v1/classes.rb +57 -3
  865. data/generated/google/apis/tpu_v1/representations.rb +19 -0
  866. data/generated/google/apis/tpu_v1/service.rb +8 -8
  867. data/generated/google/apis/tpu_v1.rb +1 -1
  868. data/generated/google/apis/tpu_v1alpha1/classes.rb +57 -3
  869. data/generated/google/apis/tpu_v1alpha1/representations.rb +19 -0
  870. data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
  871. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  872. data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
  873. data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
  874. data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
  875. data/generated/google/apis/trafficdirector_v2.rb +34 -0
  876. data/generated/google/apis/translate_v3/classes.rb +151 -177
  877. data/generated/google/apis/translate_v3/service.rb +122 -151
  878. data/generated/google/apis/translate_v3.rb +1 -1
  879. data/generated/google/apis/translate_v3beta1/classes.rb +150 -170
  880. data/generated/google/apis/translate_v3beta1/service.rb +122 -151
  881. data/generated/google/apis/translate_v3beta1.rb +1 -1
  882. data/generated/google/apis/vault_v1/classes.rb +413 -103
  883. data/generated/google/apis/vault_v1/representations.rb +162 -0
  884. data/generated/google/apis/vault_v1/service.rb +182 -37
  885. data/generated/google/apis/vault_v1.rb +1 -1
  886. data/generated/google/apis/vectortile_v1/classes.rb +185 -267
  887. data/generated/google/apis/vectortile_v1/service.rb +75 -88
  888. data/generated/google/apis/vectortile_v1.rb +1 -1
  889. data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
  890. data/generated/google/apis/verifiedaccess_v1.rb +1 -1
  891. data/generated/google/apis/videointelligence_v1/classes.rb +1493 -935
  892. data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
  893. data/generated/google/apis/videointelligence_v1/service.rb +38 -77
  894. data/generated/google/apis/videointelligence_v1.rb +1 -1
  895. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1488 -928
  896. data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
  897. data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
  898. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  899. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1482 -922
  900. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
  901. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
  902. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  903. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1485 -925
  904. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
  905. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
  906. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  907. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1410 -937
  908. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
  909. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
  910. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  911. data/generated/google/apis/vision_v1/classes.rb +16 -16
  912. data/generated/google/apis/vision_v1.rb +1 -1
  913. data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
  914. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  915. data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
  916. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  917. data/generated/google/apis/webfonts_v1/classes.rb +1 -2
  918. data/generated/google/apis/webfonts_v1/service.rb +2 -4
  919. data/generated/google/apis/webfonts_v1.rb +2 -3
  920. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  921. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  922. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  923. data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
  924. data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
  925. data/generated/google/apis/{securitycenter_v1p1alpha1 → workflowexecutions_v1beta}/service.rb +73 -69
  926. data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
  927. data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
  928. data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
  929. data/generated/google/apis/workflows_v1beta/service.rb +438 -0
  930. data/generated/google/apis/workflows_v1beta.rb +35 -0
  931. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  932. data/generated/google/apis/youtube_v3/classes.rb +0 -586
  933. data/generated/google/apis/youtube_v3/representations.rb +0 -269
  934. data/generated/google/apis/youtube_v3/service.rb +3 -120
  935. data/generated/google/apis/youtube_v3.rb +1 -1
  936. data/google-api-client.gemspec +25 -24
  937. data/lib/google/apis/core/api_command.rb +1 -0
  938. data/lib/google/apis/core/http_command.rb +2 -1
  939. data/lib/google/apis/options.rb +8 -5
  940. data/lib/google/apis/version.rb +1 -1
  941. data/synth.py +40 -0
  942. metadata +134 -41
  943. data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
  944. data/generated/google/apis/accessapproval_v1beta1/representations.rb +0 -203
  945. data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
  946. data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
  947. data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
  948. data/generated/google/apis/appsactivity_v1/service.rb +0 -126
  949. data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
  950. data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
  951. data/generated/google/apis/dns_v2beta1/service.rb +0 -928
  952. data/generated/google/apis/dns_v2beta1.rb +0 -43
  953. data/generated/google/apis/memcache_v1/classes.rb +0 -1157
  954. data/generated/google/apis/plus_v1/classes.rb +0 -2094
  955. data/generated/google/apis/plus_v1/representations.rb +0 -907
  956. data/generated/google/apis/plus_v1/service.rb +0 -451
  957. data/generated/google/apis/plus_v1.rb +0 -43
  958. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
  959. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
  960. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
  961. data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
  962. data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
  963. data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
  964. data/generated/google/apis/storage_v1beta2.rb +0 -40
@@ -0,0 +1,1655 @@
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 AnalyticsdataV1alpha
24
+
25
+ # The batch request containing multiple pivot report requests.
26
+ class BatchRunPivotReportsRequest
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # The unique identifier of the property whose events are tracked.
30
+ # Corresponds to the JSON property `entity`
31
+ # @return [Google::Apis::AnalyticsdataV1alpha::Entity]
32
+ attr_accessor :entity
33
+
34
+ # Individual requests. Each request has a separate pivot report response. Each
35
+ # batch request is allowed up to 5 requests.
36
+ # Corresponds to the JSON property `requests`
37
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::RunPivotReportRequest>]
38
+ attr_accessor :requests
39
+
40
+ def initialize(**args)
41
+ update!(**args)
42
+ end
43
+
44
+ # Update properties of this object
45
+ def update!(**args)
46
+ @entity = args[:entity] if args.key?(:entity)
47
+ @requests = args[:requests] if args.key?(:requests)
48
+ end
49
+ end
50
+
51
+ # The batch response containing multiple pivot reports.
52
+ class BatchRunPivotReportsResponse
53
+ include Google::Apis::Core::Hashable
54
+
55
+ # Individual responses. Each response has a separate pivot report request.
56
+ # Corresponds to the JSON property `pivotReports`
57
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::RunPivotReportResponse>]
58
+ attr_accessor :pivot_reports
59
+
60
+ def initialize(**args)
61
+ update!(**args)
62
+ end
63
+
64
+ # Update properties of this object
65
+ def update!(**args)
66
+ @pivot_reports = args[:pivot_reports] if args.key?(:pivot_reports)
67
+ end
68
+ end
69
+
70
+ # The batch request containing multiple report requests.
71
+ class BatchRunReportsRequest
72
+ include Google::Apis::Core::Hashable
73
+
74
+ # The unique identifier of the property whose events are tracked.
75
+ # Corresponds to the JSON property `entity`
76
+ # @return [Google::Apis::AnalyticsdataV1alpha::Entity]
77
+ attr_accessor :entity
78
+
79
+ # Individual requests. Each request has a separate report response. Each batch
80
+ # request is allowed up to 5 requests.
81
+ # Corresponds to the JSON property `requests`
82
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::RunReportRequest>]
83
+ attr_accessor :requests
84
+
85
+ def initialize(**args)
86
+ update!(**args)
87
+ end
88
+
89
+ # Update properties of this object
90
+ def update!(**args)
91
+ @entity = args[:entity] if args.key?(:entity)
92
+ @requests = args[:requests] if args.key?(:requests)
93
+ end
94
+ end
95
+
96
+ # The batch response containing multiple reports.
97
+ class BatchRunReportsResponse
98
+ include Google::Apis::Core::Hashable
99
+
100
+ # Individual responses. Each response has a separate report request.
101
+ # Corresponds to the JSON property `reports`
102
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::RunReportResponse>]
103
+ attr_accessor :reports
104
+
105
+ def initialize(**args)
106
+ update!(**args)
107
+ end
108
+
109
+ # Update properties of this object
110
+ def update!(**args)
111
+ @reports = args[:reports] if args.key?(:reports)
112
+ end
113
+ end
114
+
115
+ # To express that the result needs to be between two numbers (inclusive).
116
+ class BetweenFilter
117
+ include Google::Apis::Core::Hashable
118
+
119
+ # To represent a number.
120
+ # Corresponds to the JSON property `fromValue`
121
+ # @return [Google::Apis::AnalyticsdataV1alpha::NumericValue]
122
+ attr_accessor :from_value
123
+
124
+ # To represent a number.
125
+ # Corresponds to the JSON property `toValue`
126
+ # @return [Google::Apis::AnalyticsdataV1alpha::NumericValue]
127
+ attr_accessor :to_value
128
+
129
+ def initialize(**args)
130
+ update!(**args)
131
+ end
132
+
133
+ # Update properties of this object
134
+ def update!(**args)
135
+ @from_value = args[:from_value] if args.key?(:from_value)
136
+ @to_value = args[:to_value] if args.key?(:to_value)
137
+ end
138
+ end
139
+
140
+ # Used to convert a dimension value to a single case.
141
+ class CaseExpression
142
+ include Google::Apis::Core::Hashable
143
+
144
+ # Name of a dimension. The name must refer back to a name in dimensions field of
145
+ # the request.
146
+ # Corresponds to the JSON property `dimensionName`
147
+ # @return [String]
148
+ attr_accessor :dimension_name
149
+
150
+ def initialize(**args)
151
+ update!(**args)
152
+ end
153
+
154
+ # Update properties of this object
155
+ def update!(**args)
156
+ @dimension_name = args[:dimension_name] if args.key?(:dimension_name)
157
+ end
158
+ end
159
+
160
+ # Defines a cohort. A cohort is a group of users who share a common
161
+ # characteristic. For example, all users with the same acquisition date belong
162
+ # to the same cohort.
163
+ class Cohort
164
+ include Google::Apis::Core::Hashable
165
+
166
+ # A contiguous set of days: startDate, startDate + 1, ..., endDate. Requests are
167
+ # allowed up to 4 date ranges, and the union of the ranges can cover up to 1
168
+ # year.
169
+ # Corresponds to the JSON property `dateRange`
170
+ # @return [Google::Apis::AnalyticsdataV1alpha::DateRange]
171
+ attr_accessor :date_range
172
+
173
+ # The dimension used by cohort. Only supports `firstTouchDate` for retention
174
+ # report.
175
+ # Corresponds to the JSON property `dimension`
176
+ # @return [String]
177
+ attr_accessor :dimension
178
+
179
+ # Assigns a name to this cohort. The dimension `cohort` is valued to this name
180
+ # in a report response. If set, cannot begin with `cohort_` or `RESERVED_`. If
181
+ # not set, cohorts are named by their zero based index `cohort_0`, `cohort_1`,
182
+ # etc.
183
+ # Corresponds to the JSON property `name`
184
+ # @return [String]
185
+ attr_accessor :name
186
+
187
+ def initialize(**args)
188
+ update!(**args)
189
+ end
190
+
191
+ # Update properties of this object
192
+ def update!(**args)
193
+ @date_range = args[:date_range] if args.key?(:date_range)
194
+ @dimension = args[:dimension] if args.key?(:dimension)
195
+ @name = args[:name] if args.key?(:name)
196
+ end
197
+ end
198
+
199
+ # Settings of a cohort report.
200
+ class CohortReportSettings
201
+ include Google::Apis::Core::Hashable
202
+
203
+ # If true, accumulates the result from first visit day to the end day. Not
204
+ # supported in `RunReportRequest`.
205
+ # Corresponds to the JSON property `accumulate`
206
+ # @return [Boolean]
207
+ attr_accessor :accumulate
208
+ alias_method :accumulate?, :accumulate
209
+
210
+ def initialize(**args)
211
+ update!(**args)
212
+ end
213
+
214
+ # Update properties of this object
215
+ def update!(**args)
216
+ @accumulate = args[:accumulate] if args.key?(:accumulate)
217
+ end
218
+ end
219
+
220
+ # Specification for a cohort report.
221
+ class CohortSpec
222
+ include Google::Apis::Core::Hashable
223
+
224
+ # Settings of a cohort report.
225
+ # Corresponds to the JSON property `cohortReportSettings`
226
+ # @return [Google::Apis::AnalyticsdataV1alpha::CohortReportSettings]
227
+ attr_accessor :cohort_report_settings
228
+
229
+ # The definition for the cohorts.
230
+ # Corresponds to the JSON property `cohorts`
231
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::Cohort>]
232
+ attr_accessor :cohorts
233
+
234
+ # Describes date range for a cohort report.
235
+ # Corresponds to the JSON property `cohortsRange`
236
+ # @return [Google::Apis::AnalyticsdataV1alpha::CohortsRange]
237
+ attr_accessor :cohorts_range
238
+
239
+ def initialize(**args)
240
+ update!(**args)
241
+ end
242
+
243
+ # Update properties of this object
244
+ def update!(**args)
245
+ @cohort_report_settings = args[:cohort_report_settings] if args.key?(:cohort_report_settings)
246
+ @cohorts = args[:cohorts] if args.key?(:cohorts)
247
+ @cohorts_range = args[:cohorts_range] if args.key?(:cohorts_range)
248
+ end
249
+ end
250
+
251
+ # Describes date range for a cohort report.
252
+ class CohortsRange
253
+ include Google::Apis::Core::Hashable
254
+
255
+ # For daily cohorts, this will be the end day offset. For weekly cohorts, this
256
+ # will be the week offset.
257
+ # Corresponds to the JSON property `endOffset`
258
+ # @return [Fixnum]
259
+ attr_accessor :end_offset
260
+
261
+ # Reporting date range for each cohort is calculated based on these three fields.
262
+ # Corresponds to the JSON property `granularity`
263
+ # @return [String]
264
+ attr_accessor :granularity
265
+
266
+ # For daily cohorts, this will be the start day offset. For weekly cohorts, this
267
+ # will be the week offset.
268
+ # Corresponds to the JSON property `startOffset`
269
+ # @return [Fixnum]
270
+ attr_accessor :start_offset
271
+
272
+ def initialize(**args)
273
+ update!(**args)
274
+ end
275
+
276
+ # Update properties of this object
277
+ def update!(**args)
278
+ @end_offset = args[:end_offset] if args.key?(:end_offset)
279
+ @granularity = args[:granularity] if args.key?(:granularity)
280
+ @start_offset = args[:start_offset] if args.key?(:start_offset)
281
+ end
282
+ end
283
+
284
+ # Used to combine dimension values to a single dimension.
285
+ class ConcatenateExpression
286
+ include Google::Apis::Core::Hashable
287
+
288
+ # The delimiter placed between dimension names. Delimiters are often single
289
+ # characters such as "|" or "," but can be longer strings. If a dimension value
290
+ # contains the delimiter, both will be present in response with no distinction.
291
+ # For example if dimension 1 value = "US,FR", dimension 2 value = "JP", and
292
+ # delimiter = ",", then the response will contain "US,FR,JP".
293
+ # Corresponds to the JSON property `delimiter`
294
+ # @return [String]
295
+ attr_accessor :delimiter
296
+
297
+ # Names of dimensions. The names must refer back to names in the dimensions
298
+ # field of the request.
299
+ # Corresponds to the JSON property `dimensionNames`
300
+ # @return [Array<String>]
301
+ attr_accessor :dimension_names
302
+
303
+ def initialize(**args)
304
+ update!(**args)
305
+ end
306
+
307
+ # Update properties of this object
308
+ def update!(**args)
309
+ @delimiter = args[:delimiter] if args.key?(:delimiter)
310
+ @dimension_names = args[:dimension_names] if args.key?(:dimension_names)
311
+ end
312
+ end
313
+
314
+ # A contiguous set of days: startDate, startDate + 1, ..., endDate. Requests are
315
+ # allowed up to 4 date ranges, and the union of the ranges can cover up to 1
316
+ # year.
317
+ class DateRange
318
+ include Google::Apis::Core::Hashable
319
+
320
+ # The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot be
321
+ # before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is also
322
+ # accepted, and in that case, the date is inferred based on the property's
323
+ # reporting time zone.
324
+ # Corresponds to the JSON property `endDate`
325
+ # @return [String]
326
+ attr_accessor :end_date
327
+
328
+ # Assigns a name to this date range. The dimension `dateRange` is valued to this
329
+ # name in a report response. If set, cannot begin with `date_range_` or `
330
+ # RESERVED_`. If not set, date ranges are named by their zero based index in the
331
+ # request: `date_range_0`, `date_range_1`, etc.
332
+ # Corresponds to the JSON property `name`
333
+ # @return [String]
334
+ attr_accessor :name
335
+
336
+ # The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot be
337
+ # after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also
338
+ # accepted, and in that case, the date is inferred based on the property's
339
+ # reporting time zone.
340
+ # Corresponds to the JSON property `startDate`
341
+ # @return [String]
342
+ attr_accessor :start_date
343
+
344
+ def initialize(**args)
345
+ update!(**args)
346
+ end
347
+
348
+ # Update properties of this object
349
+ def update!(**args)
350
+ @end_date = args[:end_date] if args.key?(:end_date)
351
+ @name = args[:name] if args.key?(:name)
352
+ @start_date = args[:start_date] if args.key?(:start_date)
353
+ end
354
+ end
355
+
356
+ # Dimensions are attributes of your data. For example, the dimension city
357
+ # indicates the city from which an event originates. Dimension values in report
358
+ # responses are strings; for example, city could be "Paris" or "New York".
359
+ # Requests are allowed up to 8 dimensions.
360
+ class Dimension
361
+ include Google::Apis::Core::Hashable
362
+
363
+ # Used to express a dimension which is the result of a formula of multiple
364
+ # dimensions. Example usages: 1) lower_case(dimension) 2) concatenate(dimension1,
365
+ # symbol, dimension2).
366
+ # Corresponds to the JSON property `dimensionExpression`
367
+ # @return [Google::Apis::AnalyticsdataV1alpha::DimensionExpression]
368
+ attr_accessor :dimension_expression
369
+
370
+ # The name of the dimension. See the [API Dimensions](https://developers.google.
371
+ # com/analytics/trusted-testing/analytics-data/api-schema#dimensions) for the
372
+ # list of dimension names. If `dimensionExpression` is specified, `name` can be
373
+ # any string that you would like. For example if a `dimensionExpression`
374
+ # concatenates `country` and `city`, you could call that dimension `
375
+ # countryAndCity`. Dimensions are referenced by `name` in `dimensionFilter`, `
376
+ # orderBys`, `dimensionExpression`, and `pivots`.
377
+ # Corresponds to the JSON property `name`
378
+ # @return [String]
379
+ attr_accessor :name
380
+
381
+ def initialize(**args)
382
+ update!(**args)
383
+ end
384
+
385
+ # Update properties of this object
386
+ def update!(**args)
387
+ @dimension_expression = args[:dimension_expression] if args.key?(:dimension_expression)
388
+ @name = args[:name] if args.key?(:name)
389
+ end
390
+ end
391
+
392
+ # Used to express a dimension which is the result of a formula of multiple
393
+ # dimensions. Example usages: 1) lower_case(dimension) 2) concatenate(dimension1,
394
+ # symbol, dimension2).
395
+ class DimensionExpression
396
+ include Google::Apis::Core::Hashable
397
+
398
+ # Used to combine dimension values to a single dimension.
399
+ # Corresponds to the JSON property `concatenate`
400
+ # @return [Google::Apis::AnalyticsdataV1alpha::ConcatenateExpression]
401
+ attr_accessor :concatenate
402
+
403
+ # Used to convert a dimension value to a single case.
404
+ # Corresponds to the JSON property `lowerCase`
405
+ # @return [Google::Apis::AnalyticsdataV1alpha::CaseExpression]
406
+ attr_accessor :lower_case
407
+
408
+ # Used to convert a dimension value to a single case.
409
+ # Corresponds to the JSON property `upperCase`
410
+ # @return [Google::Apis::AnalyticsdataV1alpha::CaseExpression]
411
+ attr_accessor :upper_case
412
+
413
+ def initialize(**args)
414
+ update!(**args)
415
+ end
416
+
417
+ # Update properties of this object
418
+ def update!(**args)
419
+ @concatenate = args[:concatenate] if args.key?(:concatenate)
420
+ @lower_case = args[:lower_case] if args.key?(:lower_case)
421
+ @upper_case = args[:upper_case] if args.key?(:upper_case)
422
+ end
423
+ end
424
+
425
+ # Describes a dimension column in the report. Dimensions requested in a report
426
+ # produce column entries within rows and DimensionHeaders. However, dimensions
427
+ # used exclusively within filters or expressions do not produce columns in a
428
+ # report; correspondingly, those dimensions do not produce headers.
429
+ class DimensionHeader
430
+ include Google::Apis::Core::Hashable
431
+
432
+ # The dimension's name.
433
+ # Corresponds to the JSON property `name`
434
+ # @return [String]
435
+ attr_accessor :name
436
+
437
+ def initialize(**args)
438
+ update!(**args)
439
+ end
440
+
441
+ # Update properties of this object
442
+ def update!(**args)
443
+ @name = args[:name] if args.key?(:name)
444
+ end
445
+ end
446
+
447
+ # Explains a dimension.
448
+ class DimensionMetadata
449
+ include Google::Apis::Core::Hashable
450
+
451
+ # This dimension's name. Useable in [Dimension](#Dimension)'s `name`. For
452
+ # example, `eventName`.
453
+ # Corresponds to the JSON property `apiName`
454
+ # @return [String]
455
+ attr_accessor :api_name
456
+
457
+ # Still usable but deprecated names for this dimension. If populated, this
458
+ # dimension is available by either `apiName` or one of `deprecatedApiNames` for
459
+ # a period of time. After the deprecation period, the dimension will be
460
+ # available only by `apiName`.
461
+ # Corresponds to the JSON property `deprecatedApiNames`
462
+ # @return [Array<String>]
463
+ attr_accessor :deprecated_api_names
464
+
465
+ # Description of how this dimension is used and calculated.
466
+ # Corresponds to the JSON property `description`
467
+ # @return [String]
468
+ attr_accessor :description
469
+
470
+ # This dimension's name within the Google Analytics user interface. For example,
471
+ # `Event name`.
472
+ # Corresponds to the JSON property `uiName`
473
+ # @return [String]
474
+ attr_accessor :ui_name
475
+
476
+ def initialize(**args)
477
+ update!(**args)
478
+ end
479
+
480
+ # Update properties of this object
481
+ def update!(**args)
482
+ @api_name = args[:api_name] if args.key?(:api_name)
483
+ @deprecated_api_names = args[:deprecated_api_names] if args.key?(:deprecated_api_names)
484
+ @description = args[:description] if args.key?(:description)
485
+ @ui_name = args[:ui_name] if args.key?(:ui_name)
486
+ end
487
+ end
488
+
489
+ # Sorts by dimension values.
490
+ class DimensionOrderBy
491
+ include Google::Apis::Core::Hashable
492
+
493
+ # A dimension name in the request to order by.
494
+ # Corresponds to the JSON property `dimensionName`
495
+ # @return [String]
496
+ attr_accessor :dimension_name
497
+
498
+ # Controls the rule for dimension value ordering.
499
+ # Corresponds to the JSON property `orderType`
500
+ # @return [String]
501
+ attr_accessor :order_type
502
+
503
+ def initialize(**args)
504
+ update!(**args)
505
+ end
506
+
507
+ # Update properties of this object
508
+ def update!(**args)
509
+ @dimension_name = args[:dimension_name] if args.key?(:dimension_name)
510
+ @order_type = args[:order_type] if args.key?(:order_type)
511
+ end
512
+ end
513
+
514
+ # The value of a dimension.
515
+ class DimensionValue
516
+ include Google::Apis::Core::Hashable
517
+
518
+ # Value as a string if the dimension type is a string.
519
+ # Corresponds to the JSON property `value`
520
+ # @return [String]
521
+ attr_accessor :value
522
+
523
+ def initialize(**args)
524
+ update!(**args)
525
+ end
526
+
527
+ # Update properties of this object
528
+ def update!(**args)
529
+ @value = args[:value] if args.key?(:value)
530
+ end
531
+ end
532
+
533
+ # The unique identifier of the property whose events are tracked.
534
+ class Entity
535
+ include Google::Apis::Core::Hashable
536
+
537
+ # A Google Analytics GA4 property id. To learn more, see [where to find your
538
+ # Property ID](https://developers.google.com/analytics/trusted-testing/analytics-
539
+ # data/property-id).
540
+ # Corresponds to the JSON property `propertyId`
541
+ # @return [String]
542
+ attr_accessor :property_id
543
+
544
+ def initialize(**args)
545
+ update!(**args)
546
+ end
547
+
548
+ # Update properties of this object
549
+ def update!(**args)
550
+ @property_id = args[:property_id] if args.key?(:property_id)
551
+ end
552
+ end
553
+
554
+ # An expression to filter dimension or metric values.
555
+ class Filter
556
+ include Google::Apis::Core::Hashable
557
+
558
+ # To express that the result needs to be between two numbers (inclusive).
559
+ # Corresponds to the JSON property `betweenFilter`
560
+ # @return [Google::Apis::AnalyticsdataV1alpha::BetweenFilter]
561
+ attr_accessor :between_filter
562
+
563
+ # The dimension name or metric name. Must be a name defined in dimensions or
564
+ # metrics.
565
+ # Corresponds to the JSON property `fieldName`
566
+ # @return [String]
567
+ attr_accessor :field_name
568
+
569
+ # The result needs to be in a list of string values.
570
+ # Corresponds to the JSON property `inListFilter`
571
+ # @return [Google::Apis::AnalyticsdataV1alpha::InListFilter]
572
+ attr_accessor :in_list_filter
573
+
574
+ # A filter for null values.
575
+ # Corresponds to the JSON property `nullFilter`
576
+ # @return [Boolean]
577
+ attr_accessor :null_filter
578
+ alias_method :null_filter?, :null_filter
579
+
580
+ # Filters for numeric or date values.
581
+ # Corresponds to the JSON property `numericFilter`
582
+ # @return [Google::Apis::AnalyticsdataV1alpha::NumericFilter]
583
+ attr_accessor :numeric_filter
584
+
585
+ # The filter for string
586
+ # Corresponds to the JSON property `stringFilter`
587
+ # @return [Google::Apis::AnalyticsdataV1alpha::StringFilter]
588
+ attr_accessor :string_filter
589
+
590
+ def initialize(**args)
591
+ update!(**args)
592
+ end
593
+
594
+ # Update properties of this object
595
+ def update!(**args)
596
+ @between_filter = args[:between_filter] if args.key?(:between_filter)
597
+ @field_name = args[:field_name] if args.key?(:field_name)
598
+ @in_list_filter = args[:in_list_filter] if args.key?(:in_list_filter)
599
+ @null_filter = args[:null_filter] if args.key?(:null_filter)
600
+ @numeric_filter = args[:numeric_filter] if args.key?(:numeric_filter)
601
+ @string_filter = args[:string_filter] if args.key?(:string_filter)
602
+ end
603
+ end
604
+
605
+ # To express dimension or metric filters. The fields in the same
606
+ # FilterExpression need to be either all dimensions or all metrics.
607
+ class FilterExpression
608
+ include Google::Apis::Core::Hashable
609
+
610
+ # A list of filter expressions.
611
+ # Corresponds to the JSON property `andGroup`
612
+ # @return [Google::Apis::AnalyticsdataV1alpha::FilterExpressionList]
613
+ attr_accessor :and_group
614
+
615
+ # An expression to filter dimension or metric values.
616
+ # Corresponds to the JSON property `filter`
617
+ # @return [Google::Apis::AnalyticsdataV1alpha::Filter]
618
+ attr_accessor :filter
619
+
620
+ # To express dimension or metric filters. The fields in the same
621
+ # FilterExpression need to be either all dimensions or all metrics.
622
+ # Corresponds to the JSON property `notExpression`
623
+ # @return [Google::Apis::AnalyticsdataV1alpha::FilterExpression]
624
+ attr_accessor :not_expression
625
+
626
+ # A list of filter expressions.
627
+ # Corresponds to the JSON property `orGroup`
628
+ # @return [Google::Apis::AnalyticsdataV1alpha::FilterExpressionList]
629
+ attr_accessor :or_group
630
+
631
+ def initialize(**args)
632
+ update!(**args)
633
+ end
634
+
635
+ # Update properties of this object
636
+ def update!(**args)
637
+ @and_group = args[:and_group] if args.key?(:and_group)
638
+ @filter = args[:filter] if args.key?(:filter)
639
+ @not_expression = args[:not_expression] if args.key?(:not_expression)
640
+ @or_group = args[:or_group] if args.key?(:or_group)
641
+ end
642
+ end
643
+
644
+ # A list of filter expressions.
645
+ class FilterExpressionList
646
+ include Google::Apis::Core::Hashable
647
+
648
+ # A list of filter expressions.
649
+ # Corresponds to the JSON property `expressions`
650
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::FilterExpression>]
651
+ attr_accessor :expressions
652
+
653
+ def initialize(**args)
654
+ update!(**args)
655
+ end
656
+
657
+ # Update properties of this object
658
+ def update!(**args)
659
+ @expressions = args[:expressions] if args.key?(:expressions)
660
+ end
661
+ end
662
+
663
+ # The result needs to be in a list of string values.
664
+ class InListFilter
665
+ include Google::Apis::Core::Hashable
666
+
667
+ # If true, the string value is case sensitive.
668
+ # Corresponds to the JSON property `caseSensitive`
669
+ # @return [Boolean]
670
+ attr_accessor :case_sensitive
671
+ alias_method :case_sensitive?, :case_sensitive
672
+
673
+ # The list of string values. Must be non-empty.
674
+ # Corresponds to the JSON property `values`
675
+ # @return [Array<String>]
676
+ attr_accessor :values
677
+
678
+ def initialize(**args)
679
+ update!(**args)
680
+ end
681
+
682
+ # Update properties of this object
683
+ def update!(**args)
684
+ @case_sensitive = args[:case_sensitive] if args.key?(:case_sensitive)
685
+ @values = args[:values] if args.key?(:values)
686
+ end
687
+ end
688
+
689
+ # The dimensions and metrics currently accepted in reporting methods.
690
+ class Metadata
691
+ include Google::Apis::Core::Hashable
692
+
693
+ # The dimension descriptions.
694
+ # Corresponds to the JSON property `dimensions`
695
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::DimensionMetadata>]
696
+ attr_accessor :dimensions
697
+
698
+ # The metric descriptions.
699
+ # Corresponds to the JSON property `metrics`
700
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::MetricMetadata>]
701
+ attr_accessor :metrics
702
+
703
+ # Resource name of this metadata.
704
+ # Corresponds to the JSON property `name`
705
+ # @return [String]
706
+ attr_accessor :name
707
+
708
+ def initialize(**args)
709
+ update!(**args)
710
+ end
711
+
712
+ # Update properties of this object
713
+ def update!(**args)
714
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
715
+ @metrics = args[:metrics] if args.key?(:metrics)
716
+ @name = args[:name] if args.key?(:name)
717
+ end
718
+ end
719
+
720
+ # The quantitative measurements of a report. For example, the metric `eventCount`
721
+ # is the total number of events. Requests are allowed up to 10 metrics.
722
+ class Metric
723
+ include Google::Apis::Core::Hashable
724
+
725
+ # A mathematical expression for derived metrics. For example, the metric Event
726
+ # count per user is `eventCount/totalUsers`.
727
+ # Corresponds to the JSON property `expression`
728
+ # @return [String]
729
+ attr_accessor :expression
730
+
731
+ # Indicates if a metric is invisible in the report response. If a metric is
732
+ # invisible, the metric will not produce a column in the response, but can be
733
+ # used in `metricFilter`, `orderBys`, or a metric `expression`.
734
+ # Corresponds to the JSON property `invisible`
735
+ # @return [Boolean]
736
+ attr_accessor :invisible
737
+ alias_method :invisible?, :invisible
738
+
739
+ # The name of the metric. See the [API Metrics](https://developers.google.com/
740
+ # analytics/trusted-testing/analytics-data/api-schema#metrics) for the list of
741
+ # metric names. If `expression` is specified, `name` can be any string that you
742
+ # would like. For example if `expression` is `screenPageViews/sessions`, you
743
+ # could call that metric's name = `viewsPerSession`. Metrics are referenced by `
744
+ # name` in `metricFilter`, `orderBys`, and metric `expression`.
745
+ # Corresponds to the JSON property `name`
746
+ # @return [String]
747
+ attr_accessor :name
748
+
749
+ def initialize(**args)
750
+ update!(**args)
751
+ end
752
+
753
+ # Update properties of this object
754
+ def update!(**args)
755
+ @expression = args[:expression] if args.key?(:expression)
756
+ @invisible = args[:invisible] if args.key?(:invisible)
757
+ @name = args[:name] if args.key?(:name)
758
+ end
759
+ end
760
+
761
+ # Describes a metric column in the report. Visible metrics requested in a report
762
+ # produce column entries within rows and MetricHeaders. However, metrics used
763
+ # exclusively within filters or expressions do not produce columns in a report;
764
+ # correspondingly, those metrics do not produce headers.
765
+ class MetricHeader
766
+ include Google::Apis::Core::Hashable
767
+
768
+ # The metric's name.
769
+ # Corresponds to the JSON property `name`
770
+ # @return [String]
771
+ attr_accessor :name
772
+
773
+ # The metric's data type.
774
+ # Corresponds to the JSON property `type`
775
+ # @return [String]
776
+ attr_accessor :type
777
+
778
+ def initialize(**args)
779
+ update!(**args)
780
+ end
781
+
782
+ # Update properties of this object
783
+ def update!(**args)
784
+ @name = args[:name] if args.key?(:name)
785
+ @type = args[:type] if args.key?(:type)
786
+ end
787
+ end
788
+
789
+ # Explains a metric.
790
+ class MetricMetadata
791
+ include Google::Apis::Core::Hashable
792
+
793
+ # A metric name. Useable in [Metric](#Metric)'s `name`. For example, `eventCount`
794
+ # .
795
+ # Corresponds to the JSON property `apiName`
796
+ # @return [String]
797
+ attr_accessor :api_name
798
+
799
+ # Still usable but deprecated names for this metric. If populated, this metric
800
+ # is available by either `apiName` or one of `deprecatedApiNames` for a period
801
+ # of time. After the deprecation period, the metric will be available only by `
802
+ # apiName`.
803
+ # Corresponds to the JSON property `deprecatedApiNames`
804
+ # @return [Array<String>]
805
+ attr_accessor :deprecated_api_names
806
+
807
+ # Description of how this metric is used and calculated.
808
+ # Corresponds to the JSON property `description`
809
+ # @return [String]
810
+ attr_accessor :description
811
+
812
+ # The mathematical expression for this derived metric. Can be used in [Metric](#
813
+ # Metric)'s `expression` field for equivalent reports. Most metrics are not
814
+ # expressions, and for non-expressions, this field is empty.
815
+ # Corresponds to the JSON property `expression`
816
+ # @return [String]
817
+ attr_accessor :expression
818
+
819
+ # The type of this metric.
820
+ # Corresponds to the JSON property `type`
821
+ # @return [String]
822
+ attr_accessor :type
823
+
824
+ # This metric's name within the Google Analytics user interface. For example, `
825
+ # Event count`.
826
+ # Corresponds to the JSON property `uiName`
827
+ # @return [String]
828
+ attr_accessor :ui_name
829
+
830
+ def initialize(**args)
831
+ update!(**args)
832
+ end
833
+
834
+ # Update properties of this object
835
+ def update!(**args)
836
+ @api_name = args[:api_name] if args.key?(:api_name)
837
+ @deprecated_api_names = args[:deprecated_api_names] if args.key?(:deprecated_api_names)
838
+ @description = args[:description] if args.key?(:description)
839
+ @expression = args[:expression] if args.key?(:expression)
840
+ @type = args[:type] if args.key?(:type)
841
+ @ui_name = args[:ui_name] if args.key?(:ui_name)
842
+ end
843
+ end
844
+
845
+ # Sorts by metric values.
846
+ class MetricOrderBy
847
+ include Google::Apis::Core::Hashable
848
+
849
+ # A metric name in the request to order by.
850
+ # Corresponds to the JSON property `metricName`
851
+ # @return [String]
852
+ attr_accessor :metric_name
853
+
854
+ def initialize(**args)
855
+ update!(**args)
856
+ end
857
+
858
+ # Update properties of this object
859
+ def update!(**args)
860
+ @metric_name = args[:metric_name] if args.key?(:metric_name)
861
+ end
862
+ end
863
+
864
+ # The value of a metric.
865
+ class MetricValue
866
+ include Google::Apis::Core::Hashable
867
+
868
+ # Measurement value. See MetricHeader for type.
869
+ # Corresponds to the JSON property `value`
870
+ # @return [String]
871
+ attr_accessor :value
872
+
873
+ def initialize(**args)
874
+ update!(**args)
875
+ end
876
+
877
+ # Update properties of this object
878
+ def update!(**args)
879
+ @value = args[:value] if args.key?(:value)
880
+ end
881
+ end
882
+
883
+ # Filters for numeric or date values.
884
+ class NumericFilter
885
+ include Google::Apis::Core::Hashable
886
+
887
+ # The operation type for this filter.
888
+ # Corresponds to the JSON property `operation`
889
+ # @return [String]
890
+ attr_accessor :operation
891
+
892
+ # To represent a number.
893
+ # Corresponds to the JSON property `value`
894
+ # @return [Google::Apis::AnalyticsdataV1alpha::NumericValue]
895
+ attr_accessor :value
896
+
897
+ def initialize(**args)
898
+ update!(**args)
899
+ end
900
+
901
+ # Update properties of this object
902
+ def update!(**args)
903
+ @operation = args[:operation] if args.key?(:operation)
904
+ @value = args[:value] if args.key?(:value)
905
+ end
906
+ end
907
+
908
+ # To represent a number.
909
+ class NumericValue
910
+ include Google::Apis::Core::Hashable
911
+
912
+ # Double value
913
+ # Corresponds to the JSON property `doubleValue`
914
+ # @return [Float]
915
+ attr_accessor :double_value
916
+
917
+ # Integer value
918
+ # Corresponds to the JSON property `int64Value`
919
+ # @return [Fixnum]
920
+ attr_accessor :int64_value
921
+
922
+ def initialize(**args)
923
+ update!(**args)
924
+ end
925
+
926
+ # Update properties of this object
927
+ def update!(**args)
928
+ @double_value = args[:double_value] if args.key?(:double_value)
929
+ @int64_value = args[:int64_value] if args.key?(:int64_value)
930
+ end
931
+ end
932
+
933
+ # The sort options.
934
+ class OrderBy
935
+ include Google::Apis::Core::Hashable
936
+
937
+ # If true, sorts by descending order.
938
+ # Corresponds to the JSON property `desc`
939
+ # @return [Boolean]
940
+ attr_accessor :desc
941
+ alias_method :desc?, :desc
942
+
943
+ # Sorts by dimension values.
944
+ # Corresponds to the JSON property `dimension`
945
+ # @return [Google::Apis::AnalyticsdataV1alpha::DimensionOrderBy]
946
+ attr_accessor :dimension
947
+
948
+ # Sorts by metric values.
949
+ # Corresponds to the JSON property `metric`
950
+ # @return [Google::Apis::AnalyticsdataV1alpha::MetricOrderBy]
951
+ attr_accessor :metric
952
+
953
+ # Sorts by a pivot column group.
954
+ # Corresponds to the JSON property `pivot`
955
+ # @return [Google::Apis::AnalyticsdataV1alpha::PivotOrderBy]
956
+ attr_accessor :pivot
957
+
958
+ def initialize(**args)
959
+ update!(**args)
960
+ end
961
+
962
+ # Update properties of this object
963
+ def update!(**args)
964
+ @desc = args[:desc] if args.key?(:desc)
965
+ @dimension = args[:dimension] if args.key?(:dimension)
966
+ @metric = args[:metric] if args.key?(:metric)
967
+ @pivot = args[:pivot] if args.key?(:pivot)
968
+ end
969
+ end
970
+
971
+ # Describes the visible dimension columns and rows in the report response.
972
+ class Pivot
973
+ include Google::Apis::Core::Hashable
974
+
975
+ # Dimension names for visible columns in the report response. Including "
976
+ # dateRange" produces a date range column; for each row in the response,
977
+ # dimension values in the date range column will indicate the corresponding date
978
+ # range from the request.
979
+ # Corresponds to the JSON property `fieldNames`
980
+ # @return [Array<String>]
981
+ attr_accessor :field_names
982
+
983
+ # The number of rows to return in this pivot. If unspecified, 10 rows are
984
+ # returned. If -1, all rows are returned.
985
+ # Corresponds to the JSON property `limit`
986
+ # @return [Fixnum]
987
+ attr_accessor :limit
988
+
989
+ # Aggregate the metrics by dimensions in this pivot using the specified
990
+ # metric_aggregations.
991
+ # Corresponds to the JSON property `metricAggregations`
992
+ # @return [Array<String>]
993
+ attr_accessor :metric_aggregations
994
+
995
+ # The row count of the start row. The first row is counted as row 0.
996
+ # Corresponds to the JSON property `offset`
997
+ # @return [Fixnum]
998
+ attr_accessor :offset
999
+
1000
+ # Specifies how dimensions are ordered in the pivot. In the first Pivot, the
1001
+ # OrderBys determine Row and PivotDimensionHeader ordering; in subsequent Pivots,
1002
+ # the OrderBys determine only PivotDimensionHeader ordering. Dimensions
1003
+ # specified in these OrderBys must be a subset of Pivot.field_names.
1004
+ # Corresponds to the JSON property `orderBys`
1005
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::OrderBy>]
1006
+ attr_accessor :order_bys
1007
+
1008
+ def initialize(**args)
1009
+ update!(**args)
1010
+ end
1011
+
1012
+ # Update properties of this object
1013
+ def update!(**args)
1014
+ @field_names = args[:field_names] if args.key?(:field_names)
1015
+ @limit = args[:limit] if args.key?(:limit)
1016
+ @metric_aggregations = args[:metric_aggregations] if args.key?(:metric_aggregations)
1017
+ @offset = args[:offset] if args.key?(:offset)
1018
+ @order_bys = args[:order_bys] if args.key?(:order_bys)
1019
+ end
1020
+ end
1021
+
1022
+ # Summarizes dimension values from a row for this pivot.
1023
+ class PivotDimensionHeader
1024
+ include Google::Apis::Core::Hashable
1025
+
1026
+ # Values of multiple dimensions in a pivot.
1027
+ # Corresponds to the JSON property `dimensionValues`
1028
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::DimensionValue>]
1029
+ attr_accessor :dimension_values
1030
+
1031
+ def initialize(**args)
1032
+ update!(**args)
1033
+ end
1034
+
1035
+ # Update properties of this object
1036
+ def update!(**args)
1037
+ @dimension_values = args[:dimension_values] if args.key?(:dimension_values)
1038
+ end
1039
+ end
1040
+
1041
+ # Dimensions' values in a single pivot.
1042
+ class PivotHeader
1043
+ include Google::Apis::Core::Hashable
1044
+
1045
+ # The size is the same as the cardinality of the corresponding dimension
1046
+ # combinations.
1047
+ # Corresponds to the JSON property `pivotDimensionHeaders`
1048
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::PivotDimensionHeader>]
1049
+ attr_accessor :pivot_dimension_headers
1050
+
1051
+ # The cardinality of the pivot as if offset = 0 and limit = -1. The total number
1052
+ # of rows for this pivot's fields regardless of how the parameters offset and
1053
+ # limit are specified in the request.
1054
+ # Corresponds to the JSON property `rowCount`
1055
+ # @return [Fixnum]
1056
+ attr_accessor :row_count
1057
+
1058
+ def initialize(**args)
1059
+ update!(**args)
1060
+ end
1061
+
1062
+ # Update properties of this object
1063
+ def update!(**args)
1064
+ @pivot_dimension_headers = args[:pivot_dimension_headers] if args.key?(:pivot_dimension_headers)
1065
+ @row_count = args[:row_count] if args.key?(:row_count)
1066
+ end
1067
+ end
1068
+
1069
+ # Sorts by a pivot column group.
1070
+ class PivotOrderBy
1071
+ include Google::Apis::Core::Hashable
1072
+
1073
+ # In the response to order by, order rows by this column. Must be a metric name
1074
+ # from the request.
1075
+ # Corresponds to the JSON property `metricName`
1076
+ # @return [String]
1077
+ attr_accessor :metric_name
1078
+
1079
+ # Used to select a dimension name and value pivot. If multiple pivot selections
1080
+ # are given, the sort occurs on rows where all pivot selection dimension name
1081
+ # and value pairs match the row's dimension name and value pair.
1082
+ # Corresponds to the JSON property `pivotSelections`
1083
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::PivotSelection>]
1084
+ attr_accessor :pivot_selections
1085
+
1086
+ def initialize(**args)
1087
+ update!(**args)
1088
+ end
1089
+
1090
+ # Update properties of this object
1091
+ def update!(**args)
1092
+ @metric_name = args[:metric_name] if args.key?(:metric_name)
1093
+ @pivot_selections = args[:pivot_selections] if args.key?(:pivot_selections)
1094
+ end
1095
+ end
1096
+
1097
+ # A pair of dimension names and values. Rows with this dimension pivot pair are
1098
+ # ordered by the metric's value. For example if pivots = ``"browser", "Chrome"``
1099
+ # and metric_name = "Sessions", then the rows will be sorted based on Sessions
1100
+ # in Chrome. ---------|----------|----------------|----------|---------------- |
1101
+ # Chrome | Chrome | Safari | Safari ---------|----------|----------------|-------
1102
+ # ---|---------------- Country | Sessions | Pages/Sessions | Sessions | Pages/
1103
+ # Sessions ---------|----------|----------------|----------|---------------- US |
1104
+ # 2 | 2 | 3 | 1 ---------|----------|----------------|----------|---------------
1105
+ # - Canada | 3 | 1 | 4 | 1 ---------|----------|----------------|----------|-----
1106
+ # -----------
1107
+ class PivotSelection
1108
+ include Google::Apis::Core::Hashable
1109
+
1110
+ # Must be a dimension name from the request.
1111
+ # Corresponds to the JSON property `dimensionName`
1112
+ # @return [String]
1113
+ attr_accessor :dimension_name
1114
+
1115
+ # Order by only when the named dimension is this value.
1116
+ # Corresponds to the JSON property `dimensionValue`
1117
+ # @return [String]
1118
+ attr_accessor :dimension_value
1119
+
1120
+ def initialize(**args)
1121
+ update!(**args)
1122
+ end
1123
+
1124
+ # Update properties of this object
1125
+ def update!(**args)
1126
+ @dimension_name = args[:dimension_name] if args.key?(:dimension_name)
1127
+ @dimension_value = args[:dimension_value] if args.key?(:dimension_value)
1128
+ end
1129
+ end
1130
+
1131
+ # Current state of all quotas for this Analytics Property. If any quota for a
1132
+ # property is exhausted, all requests to that property will return Resource
1133
+ # Exhausted errors.
1134
+ class PropertyQuota
1135
+ include Google::Apis::Core::Hashable
1136
+
1137
+ # Current state for a particular quota group.
1138
+ # Corresponds to the JSON property `concurrentRequests`
1139
+ # @return [Google::Apis::AnalyticsdataV1alpha::QuotaStatus]
1140
+ attr_accessor :concurrent_requests
1141
+
1142
+ # Current state for a particular quota group.
1143
+ # Corresponds to the JSON property `serverErrorsPerProjectPerHour`
1144
+ # @return [Google::Apis::AnalyticsdataV1alpha::QuotaStatus]
1145
+ attr_accessor :server_errors_per_project_per_hour
1146
+
1147
+ # Current state for a particular quota group.
1148
+ # Corresponds to the JSON property `tokensPerDay`
1149
+ # @return [Google::Apis::AnalyticsdataV1alpha::QuotaStatus]
1150
+ attr_accessor :tokens_per_day
1151
+
1152
+ # Current state for a particular quota group.
1153
+ # Corresponds to the JSON property `tokensPerHour`
1154
+ # @return [Google::Apis::AnalyticsdataV1alpha::QuotaStatus]
1155
+ attr_accessor :tokens_per_hour
1156
+
1157
+ def initialize(**args)
1158
+ update!(**args)
1159
+ end
1160
+
1161
+ # Update properties of this object
1162
+ def update!(**args)
1163
+ @concurrent_requests = args[:concurrent_requests] if args.key?(:concurrent_requests)
1164
+ @server_errors_per_project_per_hour = args[:server_errors_per_project_per_hour] if args.key?(:server_errors_per_project_per_hour)
1165
+ @tokens_per_day = args[:tokens_per_day] if args.key?(:tokens_per_day)
1166
+ @tokens_per_hour = args[:tokens_per_hour] if args.key?(:tokens_per_hour)
1167
+ end
1168
+ end
1169
+
1170
+ # Current state for a particular quota group.
1171
+ class QuotaStatus
1172
+ include Google::Apis::Core::Hashable
1173
+
1174
+ # Quota consumed by this request.
1175
+ # Corresponds to the JSON property `consumed`
1176
+ # @return [Fixnum]
1177
+ attr_accessor :consumed
1178
+
1179
+ # Quota remaining after this request.
1180
+ # Corresponds to the JSON property `remaining`
1181
+ # @return [Fixnum]
1182
+ attr_accessor :remaining
1183
+
1184
+ def initialize(**args)
1185
+ update!(**args)
1186
+ end
1187
+
1188
+ # Update properties of this object
1189
+ def update!(**args)
1190
+ @consumed = args[:consumed] if args.key?(:consumed)
1191
+ @remaining = args[:remaining] if args.key?(:remaining)
1192
+ end
1193
+ end
1194
+
1195
+ # Response's metadata carrying additional information about the report content.
1196
+ class ResponseMetaData
1197
+ include Google::Apis::Core::Hashable
1198
+
1199
+ # If true, indicates some buckets of dimension combinations are rolled into "(
1200
+ # other)" row. This can happen for high cardinality reports.
1201
+ # Corresponds to the JSON property `dataLossFromOtherRow`
1202
+ # @return [Boolean]
1203
+ attr_accessor :data_loss_from_other_row
1204
+ alias_method :data_loss_from_other_row?, :data_loss_from_other_row
1205
+
1206
+ def initialize(**args)
1207
+ update!(**args)
1208
+ end
1209
+
1210
+ # Update properties of this object
1211
+ def update!(**args)
1212
+ @data_loss_from_other_row = args[:data_loss_from_other_row] if args.key?(:data_loss_from_other_row)
1213
+ end
1214
+ end
1215
+
1216
+ # Report data for each row. For example if RunReportRequest contains: ```none
1217
+ # dimensions ` name: "eventName" ` dimensions ` name: "countryId" ` metrics `
1218
+ # name: "eventCount" ` ``` One row with 'in_app_purchase' as the eventName, 'us'
1219
+ # as the countryId, and 15 as the eventCount, would be: ```none dimension_values
1220
+ # ` name: 'in_app_purchase' name: 'us' ` metric_values ` int64_value: 15 ` ```
1221
+ class Row
1222
+ include Google::Apis::Core::Hashable
1223
+
1224
+ # List of requested dimension values. In a PivotReport, dimension_values are
1225
+ # only listed for dimensions included in a pivot.
1226
+ # Corresponds to the JSON property `dimensionValues`
1227
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::DimensionValue>]
1228
+ attr_accessor :dimension_values
1229
+
1230
+ # List of requested visible metric values.
1231
+ # Corresponds to the JSON property `metricValues`
1232
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::MetricValue>]
1233
+ attr_accessor :metric_values
1234
+
1235
+ def initialize(**args)
1236
+ update!(**args)
1237
+ end
1238
+
1239
+ # Update properties of this object
1240
+ def update!(**args)
1241
+ @dimension_values = args[:dimension_values] if args.key?(:dimension_values)
1242
+ @metric_values = args[:metric_values] if args.key?(:metric_values)
1243
+ end
1244
+ end
1245
+
1246
+ # The request to generate a pivot report.
1247
+ class RunPivotReportRequest
1248
+ include Google::Apis::Core::Hashable
1249
+
1250
+ # Specification for a cohort report.
1251
+ # Corresponds to the JSON property `cohortSpec`
1252
+ # @return [Google::Apis::AnalyticsdataV1alpha::CohortSpec]
1253
+ attr_accessor :cohort_spec
1254
+
1255
+ # A currency code in ISO4217 format, such as "AED", "USD", "JPY". If the field
1256
+ # is empty, the report uses the entity's default currency.
1257
+ # Corresponds to the JSON property `currencyCode`
1258
+ # @return [String]
1259
+ attr_accessor :currency_code
1260
+
1261
+ # The date range to retrieve event data for the report. If multiple date ranges
1262
+ # are specified, event data from each date range is used in the report. A
1263
+ # special dimension with field name "dateRange" can be included in a Pivot's
1264
+ # field names; if included, the report compares between date ranges. In a cohort
1265
+ # request, this `dateRanges` must be unspecified.
1266
+ # Corresponds to the JSON property `dateRanges`
1267
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::DateRange>]
1268
+ attr_accessor :date_ranges
1269
+
1270
+ # To express dimension or metric filters. The fields in the same
1271
+ # FilterExpression need to be either all dimensions or all metrics.
1272
+ # Corresponds to the JSON property `dimensionFilter`
1273
+ # @return [Google::Apis::AnalyticsdataV1alpha::FilterExpression]
1274
+ attr_accessor :dimension_filter
1275
+
1276
+ # The dimensions requested. All defined dimensions must be used by one of the
1277
+ # following: dimension_expression, dimension_filter, pivots, order_bys.
1278
+ # Corresponds to the JSON property `dimensions`
1279
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::Dimension>]
1280
+ attr_accessor :dimensions
1281
+
1282
+ # The unique identifier of the property whose events are tracked.
1283
+ # Corresponds to the JSON property `entity`
1284
+ # @return [Google::Apis::AnalyticsdataV1alpha::Entity]
1285
+ attr_accessor :entity
1286
+
1287
+ # If false or unspecified, each row with all metrics equal to 0 will not be
1288
+ # returned. If true, these rows will be returned if they are not separately
1289
+ # removed by a filter.
1290
+ # Corresponds to the JSON property `keepEmptyRows`
1291
+ # @return [Boolean]
1292
+ attr_accessor :keep_empty_rows
1293
+ alias_method :keep_empty_rows?, :keep_empty_rows
1294
+
1295
+ # To express dimension or metric filters. The fields in the same
1296
+ # FilterExpression need to be either all dimensions or all metrics.
1297
+ # Corresponds to the JSON property `metricFilter`
1298
+ # @return [Google::Apis::AnalyticsdataV1alpha::FilterExpression]
1299
+ attr_accessor :metric_filter
1300
+
1301
+ # The metrics requested, at least one metric needs to be specified. All defined
1302
+ # metrics must be used by one of the following: metric_expression, metric_filter,
1303
+ # order_bys.
1304
+ # Corresponds to the JSON property `metrics`
1305
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::Metric>]
1306
+ attr_accessor :metrics
1307
+
1308
+ # Describes the visual format of the report's dimensions in columns or rows. The
1309
+ # union of the fieldNames (dimension names) in all pivots must be a subset of
1310
+ # dimension names defined in Dimensions. No two pivots can share a dimension. A
1311
+ # dimension is only visible if it appears in a pivot.
1312
+ # Corresponds to the JSON property `pivots`
1313
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::Pivot>]
1314
+ attr_accessor :pivots
1315
+
1316
+ # Toggles whether to return the current state of this Analytics Property's quota.
1317
+ # Quota is returned in [PropertyQuota](#PropertyQuota).
1318
+ # Corresponds to the JSON property `returnPropertyQuota`
1319
+ # @return [Boolean]
1320
+ attr_accessor :return_property_quota
1321
+ alias_method :return_property_quota?, :return_property_quota
1322
+
1323
+ def initialize(**args)
1324
+ update!(**args)
1325
+ end
1326
+
1327
+ # Update properties of this object
1328
+ def update!(**args)
1329
+ @cohort_spec = args[:cohort_spec] if args.key?(:cohort_spec)
1330
+ @currency_code = args[:currency_code] if args.key?(:currency_code)
1331
+ @date_ranges = args[:date_ranges] if args.key?(:date_ranges)
1332
+ @dimension_filter = args[:dimension_filter] if args.key?(:dimension_filter)
1333
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
1334
+ @entity = args[:entity] if args.key?(:entity)
1335
+ @keep_empty_rows = args[:keep_empty_rows] if args.key?(:keep_empty_rows)
1336
+ @metric_filter = args[:metric_filter] if args.key?(:metric_filter)
1337
+ @metrics = args[:metrics] if args.key?(:metrics)
1338
+ @pivots = args[:pivots] if args.key?(:pivots)
1339
+ @return_property_quota = args[:return_property_quota] if args.key?(:return_property_quota)
1340
+ end
1341
+ end
1342
+
1343
+ # The response pivot report table corresponding to a pivot request.
1344
+ class RunPivotReportResponse
1345
+ include Google::Apis::Core::Hashable
1346
+
1347
+ # Aggregation of metric values. Can be totals, minimums, or maximums. The
1348
+ # returned aggregations are controlled by the metric_aggregations in the pivot.
1349
+ # The type of aggregation returned in each row is shown by the dimension_values
1350
+ # which are set to "RESERVED_".
1351
+ # Corresponds to the JSON property `aggregates`
1352
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::Row>]
1353
+ attr_accessor :aggregates
1354
+
1355
+ # Describes dimension columns. The number of DimensionHeaders and ordering of
1356
+ # DimensionHeaders matches the dimensions present in rows.
1357
+ # Corresponds to the JSON property `dimensionHeaders`
1358
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::DimensionHeader>]
1359
+ attr_accessor :dimension_headers
1360
+
1361
+ # Response's metadata carrying additional information about the report content.
1362
+ # Corresponds to the JSON property `metadata`
1363
+ # @return [Google::Apis::AnalyticsdataV1alpha::ResponseMetaData]
1364
+ attr_accessor :metadata
1365
+
1366
+ # Describes metric columns. The number of MetricHeaders and ordering of
1367
+ # MetricHeaders matches the metrics present in rows.
1368
+ # Corresponds to the JSON property `metricHeaders`
1369
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::MetricHeader>]
1370
+ attr_accessor :metric_headers
1371
+
1372
+ # Summarizes the columns and rows created by a pivot. Each pivot in the request
1373
+ # produces one header in the response. If we have a request like this: "pivots":
1374
+ # [` "fieldNames": ["country", "city"] `, ` "fieldNames": "eventName" `] We will
1375
+ # have the following `pivotHeaders` in the response: "pivotHeaders" : [` "
1376
+ # dimensionHeaders": [` "dimensionValues": [ ` "value": "United Kingdom" `, ` "
1377
+ # value": "London" ` ] `, ` "dimensionValues": [ ` "value": "Japan" `, ` "value":
1378
+ # "Osaka" ` ] `] `, ` "dimensionHeaders": [` "dimensionValues": [` "value": "
1379
+ # session_start" `] `, ` "dimensionValues": [` "value": "scroll" `] `] `]
1380
+ # Corresponds to the JSON property `pivotHeaders`
1381
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::PivotHeader>]
1382
+ attr_accessor :pivot_headers
1383
+
1384
+ # Current state of all quotas for this Analytics Property. If any quota for a
1385
+ # property is exhausted, all requests to that property will return Resource
1386
+ # Exhausted errors.
1387
+ # Corresponds to the JSON property `propertyQuota`
1388
+ # @return [Google::Apis::AnalyticsdataV1alpha::PropertyQuota]
1389
+ attr_accessor :property_quota
1390
+
1391
+ # Rows of dimension value combinations and metric values in the report.
1392
+ # Corresponds to the JSON property `rows`
1393
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::Row>]
1394
+ attr_accessor :rows
1395
+
1396
+ def initialize(**args)
1397
+ update!(**args)
1398
+ end
1399
+
1400
+ # Update properties of this object
1401
+ def update!(**args)
1402
+ @aggregates = args[:aggregates] if args.key?(:aggregates)
1403
+ @dimension_headers = args[:dimension_headers] if args.key?(:dimension_headers)
1404
+ @metadata = args[:metadata] if args.key?(:metadata)
1405
+ @metric_headers = args[:metric_headers] if args.key?(:metric_headers)
1406
+ @pivot_headers = args[:pivot_headers] if args.key?(:pivot_headers)
1407
+ @property_quota = args[:property_quota] if args.key?(:property_quota)
1408
+ @rows = args[:rows] if args.key?(:rows)
1409
+ end
1410
+ end
1411
+
1412
+ # The request to generate a report.
1413
+ class RunReportRequest
1414
+ include Google::Apis::Core::Hashable
1415
+
1416
+ # Specification for a cohort report.
1417
+ # Corresponds to the JSON property `cohortSpec`
1418
+ # @return [Google::Apis::AnalyticsdataV1alpha::CohortSpec]
1419
+ attr_accessor :cohort_spec
1420
+
1421
+ # A currency code in ISO4217 format, such as "AED", "USD", "JPY". If the field
1422
+ # is empty, the report uses the entity's default currency.
1423
+ # Corresponds to the JSON property `currencyCode`
1424
+ # @return [String]
1425
+ attr_accessor :currency_code
1426
+
1427
+ # Date ranges of data to read. If multiple date ranges are requested, each
1428
+ # response row will contain a zero based date range index. If two date ranges
1429
+ # overlap, the event data for the overlapping days is included in the response
1430
+ # rows for both date ranges. In a cohort request, this `dateRanges` must be
1431
+ # unspecified.
1432
+ # Corresponds to the JSON property `dateRanges`
1433
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::DateRange>]
1434
+ attr_accessor :date_ranges
1435
+
1436
+ # To express dimension or metric filters. The fields in the same
1437
+ # FilterExpression need to be either all dimensions or all metrics.
1438
+ # Corresponds to the JSON property `dimensionFilter`
1439
+ # @return [Google::Apis::AnalyticsdataV1alpha::FilterExpression]
1440
+ attr_accessor :dimension_filter
1441
+
1442
+ # The dimensions requested and displayed.
1443
+ # Corresponds to the JSON property `dimensions`
1444
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::Dimension>]
1445
+ attr_accessor :dimensions
1446
+
1447
+ # The unique identifier of the property whose events are tracked.
1448
+ # Corresponds to the JSON property `entity`
1449
+ # @return [Google::Apis::AnalyticsdataV1alpha::Entity]
1450
+ attr_accessor :entity
1451
+
1452
+ # If false or unspecified, each row with all metrics equal to 0 will not be
1453
+ # returned. If true, these rows will be returned if they are not separately
1454
+ # removed by a filter.
1455
+ # Corresponds to the JSON property `keepEmptyRows`
1456
+ # @return [Boolean]
1457
+ attr_accessor :keep_empty_rows
1458
+ alias_method :keep_empty_rows?, :keep_empty_rows
1459
+
1460
+ # The number of rows to return. If unspecified, 10 rows are returned. If -1, all
1461
+ # rows are returned.
1462
+ # Corresponds to the JSON property `limit`
1463
+ # @return [Fixnum]
1464
+ attr_accessor :limit
1465
+
1466
+ # Aggregation of metrics. Aggregated metric values will be shown in rows where
1467
+ # the dimension_values are set to "RESERVED_(MetricAggregation)".
1468
+ # Corresponds to the JSON property `metricAggregations`
1469
+ # @return [Array<String>]
1470
+ attr_accessor :metric_aggregations
1471
+
1472
+ # To express dimension or metric filters. The fields in the same
1473
+ # FilterExpression need to be either all dimensions or all metrics.
1474
+ # Corresponds to the JSON property `metricFilter`
1475
+ # @return [Google::Apis::AnalyticsdataV1alpha::FilterExpression]
1476
+ attr_accessor :metric_filter
1477
+
1478
+ # The metrics requested and displayed.
1479
+ # Corresponds to the JSON property `metrics`
1480
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::Metric>]
1481
+ attr_accessor :metrics
1482
+
1483
+ # The row count of the start row. The first row is counted as row 0.
1484
+ # Corresponds to the JSON property `offset`
1485
+ # @return [Fixnum]
1486
+ attr_accessor :offset
1487
+
1488
+ # Specifies how rows are ordered in the response.
1489
+ # Corresponds to the JSON property `orderBys`
1490
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::OrderBy>]
1491
+ attr_accessor :order_bys
1492
+
1493
+ # Toggles whether to return the current state of this Analytics Property's quota.
1494
+ # Quota is returned in [PropertyQuota](#PropertyQuota).
1495
+ # Corresponds to the JSON property `returnPropertyQuota`
1496
+ # @return [Boolean]
1497
+ attr_accessor :return_property_quota
1498
+ alias_method :return_property_quota?, :return_property_quota
1499
+
1500
+ def initialize(**args)
1501
+ update!(**args)
1502
+ end
1503
+
1504
+ # Update properties of this object
1505
+ def update!(**args)
1506
+ @cohort_spec = args[:cohort_spec] if args.key?(:cohort_spec)
1507
+ @currency_code = args[:currency_code] if args.key?(:currency_code)
1508
+ @date_ranges = args[:date_ranges] if args.key?(:date_ranges)
1509
+ @dimension_filter = args[:dimension_filter] if args.key?(:dimension_filter)
1510
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
1511
+ @entity = args[:entity] if args.key?(:entity)
1512
+ @keep_empty_rows = args[:keep_empty_rows] if args.key?(:keep_empty_rows)
1513
+ @limit = args[:limit] if args.key?(:limit)
1514
+ @metric_aggregations = args[:metric_aggregations] if args.key?(:metric_aggregations)
1515
+ @metric_filter = args[:metric_filter] if args.key?(:metric_filter)
1516
+ @metrics = args[:metrics] if args.key?(:metrics)
1517
+ @offset = args[:offset] if args.key?(:offset)
1518
+ @order_bys = args[:order_bys] if args.key?(:order_bys)
1519
+ @return_property_quota = args[:return_property_quota] if args.key?(:return_property_quota)
1520
+ end
1521
+ end
1522
+
1523
+ # The response report table corresponding to a request.
1524
+ class RunReportResponse
1525
+ include Google::Apis::Core::Hashable
1526
+
1527
+ # Describes dimension columns. The number of DimensionHeaders and ordering of
1528
+ # DimensionHeaders matches the dimensions present in rows.
1529
+ # Corresponds to the JSON property `dimensionHeaders`
1530
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::DimensionHeader>]
1531
+ attr_accessor :dimension_headers
1532
+
1533
+ # If requested, the maximum values of metrics.
1534
+ # Corresponds to the JSON property `maximums`
1535
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::Row>]
1536
+ attr_accessor :maximums
1537
+
1538
+ # Response's metadata carrying additional information about the report content.
1539
+ # Corresponds to the JSON property `metadata`
1540
+ # @return [Google::Apis::AnalyticsdataV1alpha::ResponseMetaData]
1541
+ attr_accessor :metadata
1542
+
1543
+ # Describes metric columns. The number of MetricHeaders and ordering of
1544
+ # MetricHeaders matches the metrics present in rows.
1545
+ # Corresponds to the JSON property `metricHeaders`
1546
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::MetricHeader>]
1547
+ attr_accessor :metric_headers
1548
+
1549
+ # If requested, the minimum values of metrics.
1550
+ # Corresponds to the JSON property `minimums`
1551
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::Row>]
1552
+ attr_accessor :minimums
1553
+
1554
+ # Current state of all quotas for this Analytics Property. If any quota for a
1555
+ # property is exhausted, all requests to that property will return Resource
1556
+ # Exhausted errors.
1557
+ # Corresponds to the JSON property `propertyQuota`
1558
+ # @return [Google::Apis::AnalyticsdataV1alpha::PropertyQuota]
1559
+ attr_accessor :property_quota
1560
+
1561
+ # The total number of rows in the query result, regardless of the number of rows
1562
+ # returned in the response. For example if a query returns 175 rows and includes
1563
+ # limit = 50 in the API request, the response will contain row_count = 175 but
1564
+ # only 50 rows.
1565
+ # Corresponds to the JSON property `rowCount`
1566
+ # @return [Fixnum]
1567
+ attr_accessor :row_count
1568
+
1569
+ # Rows of dimension value combinations and metric values in the report.
1570
+ # Corresponds to the JSON property `rows`
1571
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::Row>]
1572
+ attr_accessor :rows
1573
+
1574
+ # If requested, the totaled values of metrics.
1575
+ # Corresponds to the JSON property `totals`
1576
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::Row>]
1577
+ attr_accessor :totals
1578
+
1579
+ def initialize(**args)
1580
+ update!(**args)
1581
+ end
1582
+
1583
+ # Update properties of this object
1584
+ def update!(**args)
1585
+ @dimension_headers = args[:dimension_headers] if args.key?(:dimension_headers)
1586
+ @maximums = args[:maximums] if args.key?(:maximums)
1587
+ @metadata = args[:metadata] if args.key?(:metadata)
1588
+ @metric_headers = args[:metric_headers] if args.key?(:metric_headers)
1589
+ @minimums = args[:minimums] if args.key?(:minimums)
1590
+ @property_quota = args[:property_quota] if args.key?(:property_quota)
1591
+ @row_count = args[:row_count] if args.key?(:row_count)
1592
+ @rows = args[:rows] if args.key?(:rows)
1593
+ @totals = args[:totals] if args.key?(:totals)
1594
+ end
1595
+ end
1596
+
1597
+ # The filter for string
1598
+ class StringFilter
1599
+ include Google::Apis::Core::Hashable
1600
+
1601
+ # If true, the string value is case sensitive.
1602
+ # Corresponds to the JSON property `caseSensitive`
1603
+ # @return [Boolean]
1604
+ attr_accessor :case_sensitive
1605
+ alias_method :case_sensitive?, :case_sensitive
1606
+
1607
+ # The match type for this filter.
1608
+ # Corresponds to the JSON property `matchType`
1609
+ # @return [String]
1610
+ attr_accessor :match_type
1611
+
1612
+ # The string value used for the matching.
1613
+ # Corresponds to the JSON property `value`
1614
+ # @return [String]
1615
+ attr_accessor :value
1616
+
1617
+ def initialize(**args)
1618
+ update!(**args)
1619
+ end
1620
+
1621
+ # Update properties of this object
1622
+ def update!(**args)
1623
+ @case_sensitive = args[:case_sensitive] if args.key?(:case_sensitive)
1624
+ @match_type = args[:match_type] if args.key?(:match_type)
1625
+ @value = args[:value] if args.key?(:value)
1626
+ end
1627
+ end
1628
+
1629
+ # The dimensions and metrics currently accepted in reporting methods.
1630
+ class UniversalMetadata
1631
+ include Google::Apis::Core::Hashable
1632
+
1633
+ # The dimensions descriptions.
1634
+ # Corresponds to the JSON property `dimensions`
1635
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::DimensionMetadata>]
1636
+ attr_accessor :dimensions
1637
+
1638
+ # The metric descriptions.
1639
+ # Corresponds to the JSON property `metrics`
1640
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::MetricMetadata>]
1641
+ attr_accessor :metrics
1642
+
1643
+ def initialize(**args)
1644
+ update!(**args)
1645
+ end
1646
+
1647
+ # Update properties of this object
1648
+ def update!(**args)
1649
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
1650
+ @metrics = args[:metrics] if args.key?(:metrics)
1651
+ end
1652
+ end
1653
+ end
1654
+ end
1655
+ end