google-api-client 0.46.1 → 0.50.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (496) 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 +666 -191
  7. data/Gemfile +1 -0
  8. data/Rakefile +31 -3
  9. data/api_list_config.yaml +8 -0
  10. data/bin/generate-api +77 -15
  11. data/generated/google/apis/accessapproval_v1.rb +1 -1
  12. data/generated/google/apis/accessapproval_v1/classes.rb +13 -15
  13. data/generated/google/apis/accessapproval_v1/service.rb +12 -9
  14. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  15. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
  16. data/generated/google/apis/admin_directory_v1.rb +1 -1
  17. data/generated/google/apis/admin_directory_v1/classes.rb +135 -0
  18. data/generated/google/apis/admin_directory_v1/representations.rb +62 -0
  19. data/generated/google/apis/admin_directory_v1/service.rb +72 -0
  20. data/generated/google/apis/admin_reports_v1.rb +1 -1
  21. data/generated/google/apis/admob_v1.rb +4 -1
  22. data/generated/google/apis/admob_v1/classes.rb +29 -29
  23. data/generated/google/apis/admob_v1/service.rb +4 -0
  24. data/generated/google/apis/admob_v1beta.rb +38 -0
  25. data/generated/google/apis/admob_v1beta/classes.rb +1035 -0
  26. data/generated/google/apis/admob_v1beta/representations.rb +472 -0
  27. data/generated/google/apis/admob_v1beta/service.rb +279 -0
  28. data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
  29. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +19 -18
  30. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +12 -13
  31. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  32. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +179 -50
  33. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +50 -14
  34. data/generated/google/apis/analyticsdata_v1alpha/service.rb +49 -38
  35. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  36. data/generated/google/apis/androidenterprise_v1/classes.rb +6 -0
  37. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  38. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  39. data/generated/google/apis/androidmanagement_v1/classes.rb +29 -26
  40. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  41. data/generated/google/apis/androidpublisher_v3/classes.rb +2 -1
  42. data/generated/google/apis/androidpublisher_v3/service.rb +5 -2
  43. data/generated/google/apis/apigateway_v1beta.rb +1 -1
  44. data/generated/google/apis/apigateway_v1beta/classes.rb +8 -5
  45. data/generated/google/apis/apigateway_v1beta/representations.rb +1 -0
  46. data/generated/google/apis/apigee_v1.rb +1 -1
  47. data/generated/google/apis/apigee_v1/classes.rb +377 -137
  48. data/generated/google/apis/apigee_v1/representations.rb +109 -18
  49. data/generated/google/apis/apigee_v1/service.rb +673 -56
  50. data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
  51. data/generated/google/apis/area120tables_v1alpha1/classes.rb +481 -0
  52. data/generated/google/apis/area120tables_v1alpha1/representations.rb +279 -0
  53. data/generated/google/apis/area120tables_v1alpha1/service.rb +448 -0
  54. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  55. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -7
  56. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -1
  57. data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
  58. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +20 -0
  59. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +2 -0
  60. data/generated/google/apis/bigquery_v2.rb +1 -1
  61. data/generated/google/apis/bigquery_v2/classes.rb +158 -5
  62. data/generated/google/apis/bigquery_v2/representations.rb +67 -0
  63. data/generated/google/apis/bigquery_v2/service.rb +46 -0
  64. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  65. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -0
  66. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +1 -0
  67. data/generated/google/apis/billingbudgets_v1.rb +1 -1
  68. data/generated/google/apis/billingbudgets_v1/classes.rb +12 -1
  69. data/generated/google/apis/billingbudgets_v1/representations.rb +1 -0
  70. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  71. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +12 -1
  72. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  73. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  74. data/generated/google/apis/binaryauthorization_v1/classes.rb +3 -4
  75. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  76. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +3 -4
  77. data/generated/google/apis/books_v1.rb +1 -1
  78. data/generated/google/apis/books_v1/service.rb +52 -52
  79. data/generated/google/apis/calendar_v3.rb +1 -1
  80. data/generated/google/apis/calendar_v3/classes.rb +2 -2
  81. data/generated/google/apis/chat_v1.rb +1 -1
  82. data/generated/google/apis/chat_v1/classes.rb +7 -0
  83. data/generated/google/apis/chat_v1/representations.rb +1 -0
  84. data/generated/google/apis/civicinfo_v2.rb +1 -1
  85. data/generated/google/apis/civicinfo_v2/classes.rb +0 -24
  86. data/generated/google/apis/civicinfo_v2/representations.rb +0 -3
  87. data/generated/google/apis/classroom_v1.rb +1 -1
  88. data/generated/google/apis/classroom_v1/classes.rb +21 -21
  89. data/generated/google/apis/cloudasset_v1.rb +1 -1
  90. data/generated/google/apis/cloudasset_v1/classes.rb +1122 -0
  91. data/generated/google/apis/cloudasset_v1/representations.rb +474 -0
  92. data/generated/google/apis/cloudasset_v1/service.rb +171 -0
  93. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  94. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  95. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  96. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  97. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  98. data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
  99. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  100. data/generated/google/apis/cloudbuild_v1/classes.rb +2 -1
  101. data/generated/google/apis/cloudbuild_v1/service.rb +10 -2
  102. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  103. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  104. data/generated/google/apis/cloudidentity_v1/service.rb +7 -3
  105. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  106. data/generated/google/apis/cloudidentity_v1beta1/service.rb +29 -17
  107. data/generated/google/apis/cloudiot_v1.rb +1 -1
  108. data/generated/google/apis/cloudiot_v1/classes.rb +1 -2
  109. data/generated/google/apis/cloudkms_v1.rb +1 -1
  110. data/generated/google/apis/cloudkms_v1/classes.rb +1 -2
  111. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  112. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +401 -7
  113. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +280 -1
  114. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  115. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +401 -7
  116. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +280 -1
  117. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  118. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +405 -11
  119. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +280 -1
  120. data/generated/google/apis/cloudresourcemanager_v2/service.rb +13 -13
  121. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  122. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +405 -11
  123. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +280 -1
  124. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +13 -13
  125. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  126. data/generated/google/apis/cloudtasks_v2/classes.rb +1 -2
  127. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  128. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +1 -2
  129. data/generated/google/apis/cloudtasks_v2beta2/service.rb +12 -2
  130. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  131. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +1 -2
  132. data/generated/google/apis/compute_v1.rb +1 -1
  133. data/generated/google/apis/compute_v1/classes.rb +282 -29
  134. data/generated/google/apis/compute_v1/representations.rb +43 -0
  135. data/generated/google/apis/compute_v1/service.rb +4 -1
  136. data/generated/google/apis/container_v1.rb +1 -1
  137. data/generated/google/apis/container_v1/classes.rb +22 -10
  138. data/generated/google/apis/container_v1beta1.rb +1 -1
  139. data/generated/google/apis/container_v1beta1/classes.rb +51 -10
  140. data/generated/google/apis/container_v1beta1/representations.rb +15 -0
  141. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  142. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +1 -2
  143. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  144. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -2
  145. data/generated/google/apis/content_v2.rb +3 -4
  146. data/generated/google/apis/content_v2/classes.rb +511 -1219
  147. data/generated/google/apis/content_v2/service.rb +380 -651
  148. data/generated/google/apis/content_v2_1.rb +3 -4
  149. data/generated/google/apis/content_v2_1/classes.rb +1353 -1061
  150. data/generated/google/apis/content_v2_1/representations.rb +342 -0
  151. data/generated/google/apis/content_v2_1/service.rb +948 -809
  152. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  153. data/generated/google/apis/datacatalog_v1beta1/classes.rb +26 -12
  154. data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -0
  155. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  156. data/generated/google/apis/dataflow_v1b3/classes.rb +12 -0
  157. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  158. data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
  159. data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
  160. data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
  161. data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
  162. data/generated/google/apis/datamigration_v1beta1.rb +34 -0
  163. data/generated/google/apis/datamigration_v1beta1/classes.rb +1670 -0
  164. data/generated/google/apis/datamigration_v1beta1/representations.rb +678 -0
  165. data/generated/google/apis/datamigration_v1beta1/service.rb +1172 -0
  166. data/generated/google/apis/dataproc_v1.rb +1 -1
  167. data/generated/google/apis/dataproc_v1/classes.rb +18 -7
  168. data/generated/google/apis/dataproc_v1/representations.rb +1 -0
  169. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  170. data/generated/google/apis/dataproc_v1beta2/classes.rb +18 -7
  171. data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
  172. data/generated/google/apis/datastore_v1.rb +1 -1
  173. data/generated/google/apis/datastore_v1/classes.rb +4 -4
  174. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  175. data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
  176. data/generated/google/apis/deploymentmanager_v2.rb +6 -4
  177. data/generated/google/apis/deploymentmanager_v2/classes.rb +209 -558
  178. data/generated/google/apis/deploymentmanager_v2/representations.rb +1 -132
  179. data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
  180. data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
  181. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +253 -609
  182. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1 -132
  183. data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
  184. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  185. data/generated/google/apis/dfareporting_v3_3/classes.rb +6 -6
  186. data/generated/google/apis/dfareporting_v3_3/service.rb +12 -12
  187. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  188. data/generated/google/apis/dfareporting_v3_4/classes.rb +6 -6
  189. data/generated/google/apis/dfareporting_v3_4/service.rb +12 -12
  190. data/generated/google/apis/dialogflow_v2.rb +1 -1
  191. data/generated/google/apis/dialogflow_v2/classes.rb +649 -385
  192. data/generated/google/apis/dialogflow_v2/representations.rb +279 -192
  193. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  194. data/generated/google/apis/dialogflow_v2beta1/classes.rb +649 -385
  195. data/generated/google/apis/dialogflow_v2beta1/representations.rb +283 -196
  196. data/generated/google/apis/dialogflow_v2beta1/service.rb +14 -8
  197. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  198. data/generated/google/apis/dialogflow_v3beta1/classes.rb +712 -391
  199. data/generated/google/apis/dialogflow_v3beta1/representations.rb +301 -195
  200. data/generated/google/apis/dialogflow_v3beta1/service.rb +1 -1
  201. data/generated/google/apis/displayvideo_v1.rb +1 -1
  202. data/generated/google/apis/displayvideo_v1/classes.rb +241 -63
  203. data/generated/google/apis/displayvideo_v1/representations.rb +77 -0
  204. data/generated/google/apis/displayvideo_v1/service.rb +257 -17
  205. data/generated/google/apis/dlp_v2.rb +1 -1
  206. data/generated/google/apis/dlp_v2/classes.rb +39 -32
  207. data/generated/google/apis/dlp_v2/representations.rb +1 -0
  208. data/generated/google/apis/dns_v1.rb +2 -2
  209. data/generated/google/apis/dns_v1/classes.rb +181 -0
  210. data/generated/google/apis/dns_v1/representations.rb +83 -0
  211. data/generated/google/apis/dns_v1/service.rb +1 -1
  212. data/generated/google/apis/dns_v1beta2.rb +2 -2
  213. data/generated/google/apis/dns_v1beta2/classes.rb +195 -1
  214. data/generated/google/apis/dns_v1beta2/representations.rb +95 -0
  215. data/generated/google/apis/dns_v1beta2/service.rb +177 -1
  216. data/generated/google/apis/domains_v1alpha2.rb +34 -0
  217. data/generated/google/apis/domains_v1alpha2/classes.rb +1534 -0
  218. data/generated/google/apis/domains_v1alpha2/representations.rb +605 -0
  219. data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
  220. data/generated/google/apis/domains_v1beta1.rb +34 -0
  221. data/generated/google/apis/domains_v1beta1/classes.rb +1534 -0
  222. data/generated/google/apis/domains_v1beta1/representations.rb +605 -0
  223. data/generated/google/apis/domains_v1beta1/service.rb +805 -0
  224. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  225. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +2 -1
  226. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  227. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +2 -1
  228. data/generated/google/apis/drive_v2.rb +1 -1
  229. data/generated/google/apis/drive_v2/classes.rb +22 -20
  230. data/generated/google/apis/drive_v2/service.rb +2 -2
  231. data/generated/google/apis/drive_v3.rb +1 -1
  232. data/generated/google/apis/drive_v3/classes.rb +12 -9
  233. data/generated/google/apis/eventarc_v1beta1.rb +34 -0
  234. data/generated/google/apis/eventarc_v1beta1/classes.rb +937 -0
  235. data/generated/google/apis/eventarc_v1beta1/representations.rb +380 -0
  236. data/generated/google/apis/eventarc_v1beta1/service.rb +579 -0
  237. data/generated/google/apis/file_v1.rb +1 -1
  238. data/generated/google/apis/file_v1/classes.rb +505 -4
  239. data/generated/google/apis/file_v1/representations.rb +203 -0
  240. data/generated/google/apis/file_v1/service.rb +229 -1
  241. data/generated/google/apis/file_v1beta1.rb +1 -1
  242. data/generated/google/apis/file_v1beta1/classes.rb +346 -6
  243. data/generated/google/apis/file_v1beta1/representations.rb +149 -0
  244. data/generated/google/apis/file_v1beta1/service.rb +6 -2
  245. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  246. data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
  247. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  248. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
  249. data/generated/google/apis/firestore_v1.rb +1 -1
  250. data/generated/google/apis/firestore_v1/classes.rb +4 -4
  251. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  252. data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
  253. data/generated/google/apis/fitness_v1.rb +1 -1
  254. data/generated/google/apis/fitness_v1/service.rb +3 -1
  255. data/generated/google/apis/games_v1.rb +1 -1
  256. data/generated/google/apis/games_v1/classes.rb +300 -0
  257. data/generated/google/apis/games_v1/representations.rb +116 -0
  258. data/generated/google/apis/games_v1/service.rb +34 -0
  259. data/generated/google/apis/gameservices_v1.rb +1 -1
  260. data/generated/google/apis/gameservices_v1/classes.rb +16 -16
  261. data/generated/google/apis/gameservices_v1/service.rb +54 -51
  262. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  263. data/generated/google/apis/gameservices_v1beta/classes.rb +16 -16
  264. data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
  265. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  266. data/generated/google/apis/genomics_v2alpha1/classes.rb +25 -0
  267. data/generated/google/apis/genomics_v2alpha1/representations.rb +15 -0
  268. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
  269. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
  270. data/generated/google/apis/healthcare_v1.rb +1 -1
  271. data/generated/google/apis/healthcare_v1/classes.rb +10 -4
  272. data/generated/google/apis/healthcare_v1/representations.rb +1 -0
  273. data/generated/google/apis/healthcare_v1/service.rb +2 -1
  274. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  275. data/generated/google/apis/healthcare_v1beta1/classes.rb +350 -46
  276. data/generated/google/apis/healthcare_v1beta1/representations.rb +150 -18
  277. data/generated/google/apis/healthcare_v1beta1/service.rb +91 -13
  278. data/generated/google/apis/iam_v1.rb +2 -5
  279. data/generated/google/apis/iam_v1/classes.rb +8 -11
  280. data/generated/google/apis/iam_v1/representations.rb +0 -1
  281. data/generated/google/apis/iam_v1/service.rb +1 -4
  282. data/generated/google/apis/iamcredentials_v1.rb +3 -4
  283. data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
  284. data/generated/google/apis/iap_v1.rb +1 -1
  285. data/generated/google/apis/iap_v1/classes.rb +1 -13
  286. data/generated/google/apis/iap_v1/representations.rb +0 -1
  287. data/generated/google/apis/iap_v1beta1.rb +1 -1
  288. data/generated/google/apis/iap_v1beta1/classes.rb +1 -2
  289. data/generated/google/apis/licensing_v1.rb +1 -1
  290. data/generated/google/apis/localservices_v1.rb +1 -1
  291. data/generated/google/apis/localservices_v1/classes.rb +7 -0
  292. data/generated/google/apis/localservices_v1/representations.rb +2 -0
  293. data/generated/google/apis/localservices_v1/service.rb +20 -20
  294. data/generated/google/apis/logging_v2.rb +1 -1
  295. data/generated/google/apis/logging_v2/classes.rb +186 -10
  296. data/generated/google/apis/logging_v2/representations.rb +77 -0
  297. data/generated/google/apis/logging_v2/service.rb +446 -25
  298. data/generated/google/apis/managedidentities_v1.rb +1 -1
  299. data/generated/google/apis/managedidentities_v1/classes.rb +347 -7
  300. data/generated/google/apis/managedidentities_v1/representations.rb +149 -0
  301. data/generated/google/apis/managedidentities_v1/service.rb +1 -4
  302. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  303. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +426 -15
  304. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +182 -1
  305. data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
  306. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  307. data/generated/google/apis/managedidentities_v1beta1/classes.rb +427 -15
  308. data/generated/google/apis/managedidentities_v1beta1/representations.rb +182 -1
  309. data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
  310. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  311. data/generated/google/apis/memcache_v1beta2/classes.rb +345 -4
  312. data/generated/google/apis/memcache_v1beta2/representations.rb +149 -0
  313. data/generated/google/apis/ml_v1.rb +1 -1
  314. data/generated/google/apis/ml_v1/classes.rb +273 -79
  315. data/generated/google/apis/ml_v1/representations.rb +43 -0
  316. data/generated/google/apis/ml_v1/service.rb +35 -0
  317. data/generated/google/apis/monitoring_v3.rb +1 -1
  318. data/generated/google/apis/monitoring_v3/classes.rb +19 -13
  319. data/generated/google/apis/monitoring_v3/service.rb +50 -1
  320. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  321. data/generated/google/apis/networkmanagement_v1/classes.rb +6 -0
  322. data/generated/google/apis/networkmanagement_v1/representations.rb +1 -0
  323. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  324. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +57 -0
  325. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +31 -0
  326. data/generated/google/apis/notebooks_v1.rb +34 -0
  327. data/generated/google/apis/notebooks_v1/classes.rb +1461 -0
  328. data/generated/google/apis/notebooks_v1/representations.rb +581 -0
  329. data/generated/google/apis/notebooks_v1/service.rb +1042 -0
  330. data/generated/google/apis/people_v1.rb +1 -1
  331. data/generated/google/apis/people_v1/classes.rb +49 -49
  332. data/generated/google/apis/people_v1/service.rb +21 -18
  333. data/generated/google/apis/playablelocations_v3.rb +1 -1
  334. data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
  335. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  336. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  337. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  338. data/generated/google/apis/poly_v1.rb +3 -4
  339. data/generated/google/apis/poly_v1/classes.rb +65 -79
  340. data/generated/google/apis/poly_v1/service.rb +50 -63
  341. data/generated/google/apis/privateca_v1beta1.rb +36 -0
  342. data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
  343. data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
  344. data/generated/google/apis/privateca_v1beta1/service.rb +1437 -0
  345. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  346. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
  347. data/generated/google/apis/pubsub_v1.rb +1 -1
  348. data/generated/google/apis/pubsub_v1/classes.rb +1 -2
  349. data/generated/google/apis/pubsub_v1/service.rb +2 -2
  350. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  351. data/generated/google/apis/pubsub_v1beta2/classes.rb +1 -2
  352. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  353. data/generated/google/apis/realtimebidding_v1/classes.rb +578 -33
  354. data/generated/google/apis/realtimebidding_v1/representations.rb +232 -0
  355. data/generated/google/apis/realtimebidding_v1/service.rb +454 -4
  356. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  357. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +32 -0
  358. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -0
  359. data/generated/google/apis/recommender_v1.rb +1 -1
  360. data/generated/google/apis/recommender_v1/classes.rb +1 -1
  361. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  362. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
  363. data/generated/google/apis/redis_v1.rb +1 -1
  364. data/generated/google/apis/redis_v1/classes.rb +86 -0
  365. data/generated/google/apis/redis_v1/representations.rb +34 -0
  366. data/generated/google/apis/redis_v1/service.rb +34 -0
  367. data/generated/google/apis/redis_v1beta1.rb +1 -1
  368. data/generated/google/apis/redis_v1beta1/classes.rb +58 -0
  369. data/generated/google/apis/redis_v1beta1/representations.rb +20 -0
  370. data/generated/google/apis/run_v1.rb +1 -1
  371. data/generated/google/apis/run_v1/classes.rb +7 -6
  372. data/generated/google/apis/run_v1alpha1.rb +1 -1
  373. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  374. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +0 -7
  375. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +0 -1
  376. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  377. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  378. data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -0
  379. data/generated/google/apis/secretmanager_v1.rb +1 -1
  380. data/generated/google/apis/secretmanager_v1/classes.rb +0 -7
  381. data/generated/google/apis/secretmanager_v1/representations.rb +0 -1
  382. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  383. data/generated/google/apis/secretmanager_v1beta1/classes.rb +0 -7
  384. data/generated/google/apis/secretmanager_v1beta1/representations.rb +0 -1
  385. data/generated/google/apis/securitycenter_v1.rb +1 -1
  386. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  387. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  388. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +6 -64
  389. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
  390. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  391. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +6 -64
  392. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
  393. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  394. data/generated/google/apis/servicecontrol_v1/classes.rb +77 -2
  395. data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
  396. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  397. data/generated/google/apis/servicecontrol_v2/classes.rb +62 -0
  398. data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
  399. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  400. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +27 -8
  401. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  402. data/generated/google/apis/servicemanagement_v1/classes.rb +6 -64
  403. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -18
  404. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  405. data/generated/google/apis/servicenetworking_v1/classes.rb +207 -65
  406. data/generated/google/apis/servicenetworking_v1/representations.rb +77 -14
  407. data/generated/google/apis/servicenetworking_v1/service.rb +82 -2
  408. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  409. data/generated/google/apis/servicenetworking_v1beta/classes.rb +140 -65
  410. data/generated/google/apis/servicenetworking_v1beta/representations.rb +46 -14
  411. data/generated/google/apis/serviceusage_v1.rb +1 -1
  412. data/generated/google/apis/serviceusage_v1/classes.rb +6 -64
  413. data/generated/google/apis/serviceusage_v1/representations.rb +0 -18
  414. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  415. data/generated/google/apis/serviceusage_v1beta1/classes.rb +36 -64
  416. data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -18
  417. data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
  418. data/generated/google/apis/sheets_v4.rb +1 -1
  419. data/generated/google/apis/sheets_v4/classes.rb +23 -7
  420. data/generated/google/apis/sheets_v4/representations.rb +3 -0
  421. data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
  422. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +0 -34
  423. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -16
  424. data/generated/google/apis/smartdevicemanagement_v1/service.rb +3 -8
  425. data/generated/google/apis/spanner_v1.rb +1 -1
  426. data/generated/google/apis/spanner_v1/classes.rb +2 -3
  427. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  428. data/generated/google/apis/sqladmin_v1beta4/classes.rb +28 -4
  429. data/generated/google/apis/sqladmin_v1beta4/representations.rb +3 -0
  430. data/generated/google/apis/storage_v1.rb +1 -1
  431. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  432. data/generated/google/apis/storagetransfer_v1/classes.rb +82 -50
  433. data/generated/google/apis/storagetransfer_v1/representations.rb +4 -0
  434. data/generated/google/apis/storagetransfer_v1/service.rb +20 -21
  435. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  436. data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
  437. data/generated/google/apis/sts_v1beta.rb +1 -1
  438. data/generated/google/apis/sts_v1beta/classes.rb +12 -11
  439. data/generated/google/apis/tagmanager_v2.rb +1 -1
  440. data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
  441. data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
  442. data/generated/google/apis/testing_v1.rb +1 -1
  443. data/generated/google/apis/testing_v1/classes.rb +45 -33
  444. data/generated/google/apis/testing_v1/representations.rb +1 -0
  445. data/generated/google/apis/testing_v1/service.rb +4 -4
  446. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  447. data/generated/google/apis/toolresults_v1beta3/classes.rb +13 -0
  448. data/generated/google/apis/toolresults_v1beta3/representations.rb +12 -0
  449. data/generated/google/apis/tpu_v1.rb +1 -1
  450. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  451. data/generated/google/apis/tpu_v1/service.rb +8 -8
  452. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  453. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  454. data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
  455. data/generated/google/apis/transcoder_v1beta1.rb +34 -0
  456. data/generated/google/apis/transcoder_v1beta1/classes.rb +1684 -0
  457. data/generated/google/apis/transcoder_v1beta1/representations.rb +756 -0
  458. data/generated/google/apis/transcoder_v1beta1/service.rb +329 -0
  459. data/generated/google/apis/translate_v3.rb +1 -1
  460. data/generated/google/apis/translate_v3/classes.rb +2 -1
  461. data/generated/google/apis/translate_v3beta1.rb +1 -1
  462. data/generated/google/apis/translate_v3beta1/classes.rb +2 -1
  463. data/generated/google/apis/vault_v1.rb +1 -1
  464. data/generated/google/apis/vault_v1/classes.rb +333 -0
  465. data/generated/google/apis/vault_v1/representations.rb +162 -0
  466. data/generated/google/apis/vault_v1/service.rb +151 -0
  467. data/generated/google/apis/videointelligence_v1.rb +1 -1
  468. data/generated/google/apis/videointelligence_v1/service.rb +0 -62
  469. data/generated/google/apis/vision_v1.rb +1 -1
  470. data/generated/google/apis/vision_v1/classes.rb +16 -16
  471. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  472. data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
  473. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  474. data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
  475. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  476. data/generated/google/apis/youtube_v3.rb +1 -1
  477. data/generated/google/apis/youtube_v3/service.rb +8 -8
  478. data/google-api-client.gemspec +25 -25
  479. data/lib/google/apis/core/api_command.rb +1 -0
  480. data/lib/google/apis/core/http_command.rb +2 -1
  481. data/lib/google/apis/options.rb +8 -5
  482. data/lib/google/apis/version.rb +1 -1
  483. data/synth.py +40 -0
  484. metadata +47 -16
  485. data/generated/google/apis/displayvideo_v1beta.rb +0 -38
  486. data/generated/google/apis/displayvideo_v1beta/classes.rb +0 -146
  487. data/generated/google/apis/displayvideo_v1beta/representations.rb +0 -72
  488. data/generated/google/apis/displayvideo_v1beta/service.rb +0 -161
  489. data/generated/google/apis/displayvideo_v1beta2.rb +0 -38
  490. data/generated/google/apis/displayvideo_v1beta2/classes.rb +0 -146
  491. data/generated/google/apis/displayvideo_v1beta2/representations.rb +0 -72
  492. data/generated/google/apis/displayvideo_v1beta2/service.rb +0 -130
  493. data/generated/google/apis/displayvideo_v1dev.rb +0 -38
  494. data/generated/google/apis/displayvideo_v1dev/classes.rb +0 -146
  495. data/generated/google/apis/displayvideo_v1dev/representations.rb +0 -72
  496. data/generated/google/apis/displayvideo_v1dev/service.rb +0 -130
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/analytics/trusted-testing/analytics-data/
26
26
  module AnalyticsdataV1alpha
27
27
  VERSION = 'V1alpha'
28
- REVISION = '20201006'
28
+ REVISION = '20201110'
29
29
 
30
30
  # View and manage your Google Analytics data
31
31
  AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics'
@@ -164,8 +164,7 @@ module Google
164
164
  include Google::Apis::Core::Hashable
165
165
 
166
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.
167
+ # allowed up to 4 date ranges.
169
168
  # Corresponds to the JSON property `dateRange`
170
169
  # @return [Google::Apis::AnalyticsdataV1alpha::DateRange]
171
170
  attr_accessor :date_range
@@ -312,8 +311,7 @@ module Google
312
311
  end
313
312
 
314
313
  # 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.
314
+ # allowed up to 4 date ranges.
317
315
  class DateRange
318
316
  include Google::Apis::Core::Hashable
319
317
 
@@ -353,9 +351,10 @@ module Google
353
351
  end
354
352
  end
355
353
 
356
- # Dimensions are attributes of your data. For example, the dimension City
357
- # indicates the city, for example, "Paris" or "New York", from which an event
358
- # originates. Requests are allowed up to 8 dimensions.
354
+ # Dimensions are attributes of your data. For example, the dimension city
355
+ # indicates the city from which an event originates. Dimension values in report
356
+ # responses are strings; for example, city could be "Paris" or "New York".
357
+ # Requests are allowed up to 8 dimensions.
359
358
  class Dimension
360
359
  include Google::Apis::Core::Hashable
361
360
 
@@ -366,7 +365,13 @@ module Google
366
365
  # @return [Google::Apis::AnalyticsdataV1alpha::DimensionExpression]
367
366
  attr_accessor :dimension_expression
368
367
 
369
- # The name of the dimension.
368
+ # The name of the dimension. See the [API Dimensions](https://developers.google.
369
+ # com/analytics/trusted-testing/analytics-data/api-schema#dimensions) for the
370
+ # list of dimension names. If `dimensionExpression` is specified, `name` can be
371
+ # any string that you would like. For example if a `dimensionExpression`
372
+ # concatenates `country` and `city`, you could call that dimension `
373
+ # countryAndCity`. Dimensions are referenced by `name` in `dimensionFilter`, `
374
+ # orderBys`, `dimensionExpression`, and `pivots`.
370
375
  # Corresponds to the JSON property `name`
371
376
  # @return [String]
372
377
  attr_accessor :name
@@ -527,7 +532,9 @@ module Google
527
532
  class Entity
528
533
  include Google::Apis::Core::Hashable
529
534
 
530
- # A Google Analytics App + Web property id.
535
+ # A Google Analytics GA4 property id. To learn more, see [where to find your
536
+ # Property ID](https://developers.google.com/analytics/trusted-testing/analytics-
537
+ # data/property-id).
531
538
  # Corresponds to the JSON property `propertyId`
532
539
  # @return [String]
533
540
  attr_accessor :property_id
@@ -562,7 +569,10 @@ module Google
562
569
  # @return [Google::Apis::AnalyticsdataV1alpha::InListFilter]
563
570
  attr_accessor :in_list_filter
564
571
 
565
- # A filter for null values.
572
+ # A filter for null values. If True, a null dimension value is matched by this
573
+ # filter. Null filter is commonly used inside a NOT filter expression. For
574
+ # example, a NOT expression of a null filter removes rows when a dimension is
575
+ # null.
566
576
  # Corresponds to the JSON property `nullFilter`
567
577
  # @return [Boolean]
568
578
  attr_accessor :null_filter
@@ -681,7 +691,7 @@ module Google
681
691
  class Metadata
682
692
  include Google::Apis::Core::Hashable
683
693
 
684
- # The dimensions descriptions.
694
+ # The dimension descriptions.
685
695
  # Corresponds to the JSON property `dimensions`
686
696
  # @return [Array<Google::Apis::AnalyticsdataV1alpha::DimensionMetadata>]
687
697
  attr_accessor :dimensions
@@ -708,26 +718,31 @@ module Google
708
718
  end
709
719
  end
710
720
 
711
- # The quantitative measurements of a report. For example, the metric eventCount
721
+ # The quantitative measurements of a report. For example, the metric `eventCount`
712
722
  # is the total number of events. Requests are allowed up to 10 metrics.
713
723
  class Metric
714
724
  include Google::Apis::Core::Hashable
715
725
 
716
726
  # A mathematical expression for derived metrics. For example, the metric Event
717
- # count per user is eventCount/totalUsers.
727
+ # count per user is `eventCount/totalUsers`.
718
728
  # Corresponds to the JSON property `expression`
719
729
  # @return [String]
720
730
  attr_accessor :expression
721
731
 
722
- # Indicates if a metric is invisible. If a metric is invisible, the metric is
723
- # not in the response, but can be used in filters, order_bys or being referred
724
- # to in a metric expression.
732
+ # Indicates if a metric is invisible in the report response. If a metric is
733
+ # invisible, the metric will not produce a column in the response, but can be
734
+ # used in `metricFilter`, `orderBys`, or a metric `expression`.
725
735
  # Corresponds to the JSON property `invisible`
726
736
  # @return [Boolean]
727
737
  attr_accessor :invisible
728
738
  alias_method :invisible?, :invisible
729
739
 
730
- # The name of the metric.
740
+ # The name of the metric. See the [API Metrics](https://developers.google.com/
741
+ # analytics/trusted-testing/analytics-data/api-schema#metrics) for the list of
742
+ # metric names. If `expression` is specified, `name` can be any string that you
743
+ # would like. For example if `expression` is `screenPageViews/sessions`, you
744
+ # could call that metric's name = `viewsPerSession`. Metrics are referenced by `
745
+ # name` in `metricFilter`, `orderBys`, and metric `expression`.
731
746
  # Corresponds to the JSON property `name`
732
747
  # @return [String]
733
748
  attr_accessor :name
@@ -1199,11 +1214,12 @@ module Google
1199
1214
  end
1200
1215
  end
1201
1216
 
1202
- # Report data for each row. For example if RunReportRequest contains: ```none
1203
- # dimensions ` name: "eventName" ` dimensions ` name: "countryId" ` metrics `
1204
- # name: "eventCount" ` ``` One row with 'in_app_purchase' as the eventName, 'us'
1205
- # as the countryId, and 15 as the eventCount, would be: ```none dimension_values
1206
- # ` name: 'in_app_purchase' name: 'us' ` metric_values ` int64_value: 15 ` ```
1217
+ # Report data for each row. For example if RunReportRequest contains: ```none "
1218
+ # dimensions": [ ` "name": "eventName" `, ` "name": "countryId" ` ], "metrics": [
1219
+ # ` "name": "eventCount" ` ] ``` One row with 'in_app_purchase' as the
1220
+ # eventName, 'JP' as the countryId, and 15 as the eventCount, would be: ```none "
1221
+ # dimensionValues": [ ` "value": "in_app_purchase" `, ` "value": "JP" ` ], "
1222
+ # metricValues": [ ` "value": "15" ` ] ```
1207
1223
  class Row
1208
1224
  include Google::Apis::Core::Hashable
1209
1225
 
@@ -1395,6 +1411,141 @@ module Google
1395
1411
  end
1396
1412
  end
1397
1413
 
1414
+ # The request to generate a realtime report.
1415
+ class RunRealtimeReportRequest
1416
+ include Google::Apis::Core::Hashable
1417
+
1418
+ # To express dimension or metric filters. The fields in the same
1419
+ # FilterExpression need to be either all dimensions or all metrics.
1420
+ # Corresponds to the JSON property `dimensionFilter`
1421
+ # @return [Google::Apis::AnalyticsdataV1alpha::FilterExpression]
1422
+ attr_accessor :dimension_filter
1423
+
1424
+ # The dimensions requested and displayed.
1425
+ # Corresponds to the JSON property `dimensions`
1426
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::Dimension>]
1427
+ attr_accessor :dimensions
1428
+
1429
+ # The number of rows to return. If unspecified, 10 rows are returned. If -1, all
1430
+ # rows are returned.
1431
+ # Corresponds to the JSON property `limit`
1432
+ # @return [Fixnum]
1433
+ attr_accessor :limit
1434
+
1435
+ # Aggregation of metrics. Aggregated metric values will be shown in rows where
1436
+ # the dimension_values are set to "RESERVED_(MetricAggregation)".
1437
+ # Corresponds to the JSON property `metricAggregations`
1438
+ # @return [Array<String>]
1439
+ attr_accessor :metric_aggregations
1440
+
1441
+ # To express dimension or metric filters. The fields in the same
1442
+ # FilterExpression need to be either all dimensions or all metrics.
1443
+ # Corresponds to the JSON property `metricFilter`
1444
+ # @return [Google::Apis::AnalyticsdataV1alpha::FilterExpression]
1445
+ attr_accessor :metric_filter
1446
+
1447
+ # The metrics requested and displayed.
1448
+ # Corresponds to the JSON property `metrics`
1449
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::Metric>]
1450
+ attr_accessor :metrics
1451
+
1452
+ # Specifies how rows are ordered in the response.
1453
+ # Corresponds to the JSON property `orderBys`
1454
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::OrderBy>]
1455
+ attr_accessor :order_bys
1456
+
1457
+ # Toggles whether to return the current state of this Analytics Property's
1458
+ # Realtime quota. Quota is returned in [PropertyQuota](#PropertyQuota).
1459
+ # Corresponds to the JSON property `returnPropertyQuota`
1460
+ # @return [Boolean]
1461
+ attr_accessor :return_property_quota
1462
+ alias_method :return_property_quota?, :return_property_quota
1463
+
1464
+ def initialize(**args)
1465
+ update!(**args)
1466
+ end
1467
+
1468
+ # Update properties of this object
1469
+ def update!(**args)
1470
+ @dimension_filter = args[:dimension_filter] if args.key?(:dimension_filter)
1471
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
1472
+ @limit = args[:limit] if args.key?(:limit)
1473
+ @metric_aggregations = args[:metric_aggregations] if args.key?(:metric_aggregations)
1474
+ @metric_filter = args[:metric_filter] if args.key?(:metric_filter)
1475
+ @metrics = args[:metrics] if args.key?(:metrics)
1476
+ @order_bys = args[:order_bys] if args.key?(:order_bys)
1477
+ @return_property_quota = args[:return_property_quota] if args.key?(:return_property_quota)
1478
+ end
1479
+ end
1480
+
1481
+ # The response realtime report table corresponding to a request.
1482
+ class RunRealtimeReportResponse
1483
+ include Google::Apis::Core::Hashable
1484
+
1485
+ # Describes dimension columns. The number of DimensionHeaders and ordering of
1486
+ # DimensionHeaders matches the dimensions present in rows.
1487
+ # Corresponds to the JSON property `dimensionHeaders`
1488
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::DimensionHeader>]
1489
+ attr_accessor :dimension_headers
1490
+
1491
+ # If requested, the maximum values of metrics.
1492
+ # Corresponds to the JSON property `maximums`
1493
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::Row>]
1494
+ attr_accessor :maximums
1495
+
1496
+ # Describes metric columns. The number of MetricHeaders and ordering of
1497
+ # MetricHeaders matches the metrics present in rows.
1498
+ # Corresponds to the JSON property `metricHeaders`
1499
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::MetricHeader>]
1500
+ attr_accessor :metric_headers
1501
+
1502
+ # If requested, the minimum values of metrics.
1503
+ # Corresponds to the JSON property `minimums`
1504
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::Row>]
1505
+ attr_accessor :minimums
1506
+
1507
+ # Current state of all quotas for this Analytics Property. If any quota for a
1508
+ # property is exhausted, all requests to that property will return Resource
1509
+ # Exhausted errors.
1510
+ # Corresponds to the JSON property `propertyQuota`
1511
+ # @return [Google::Apis::AnalyticsdataV1alpha::PropertyQuota]
1512
+ attr_accessor :property_quota
1513
+
1514
+ # The total number of rows in the query result, regardless of the number of rows
1515
+ # returned in the response. For example if a query returns 175 rows and includes
1516
+ # limit = 50 in the API request, the response will contain row_count = 175 but
1517
+ # only 50 rows.
1518
+ # Corresponds to the JSON property `rowCount`
1519
+ # @return [Fixnum]
1520
+ attr_accessor :row_count
1521
+
1522
+ # Rows of dimension value combinations and metric values in the report.
1523
+ # Corresponds to the JSON property `rows`
1524
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::Row>]
1525
+ attr_accessor :rows
1526
+
1527
+ # If requested, the totaled values of metrics.
1528
+ # Corresponds to the JSON property `totals`
1529
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::Row>]
1530
+ attr_accessor :totals
1531
+
1532
+ def initialize(**args)
1533
+ update!(**args)
1534
+ end
1535
+
1536
+ # Update properties of this object
1537
+ def update!(**args)
1538
+ @dimension_headers = args[:dimension_headers] if args.key?(:dimension_headers)
1539
+ @maximums = args[:maximums] if args.key?(:maximums)
1540
+ @metric_headers = args[:metric_headers] if args.key?(:metric_headers)
1541
+ @minimums = args[:minimums] if args.key?(:minimums)
1542
+ @property_quota = args[:property_quota] if args.key?(:property_quota)
1543
+ @row_count = args[:row_count] if args.key?(:row_count)
1544
+ @rows = args[:rows] if args.key?(:rows)
1545
+ @totals = args[:totals] if args.key?(:totals)
1546
+ end
1547
+ end
1548
+
1398
1549
  # The request to generate a report.
1399
1550
  class RunReportRequest
1400
1551
  include Google::Apis::Core::Hashable
@@ -1444,7 +1595,8 @@ module Google
1444
1595
  alias_method :keep_empty_rows?, :keep_empty_rows
1445
1596
 
1446
1597
  # The number of rows to return. If unspecified, 10 rows are returned. If -1, all
1447
- # rows are returned.
1598
+ # rows are returned. To learn more about this pagination parameter, see [
1599
+ # Pagination](basics#pagination).
1448
1600
  # Corresponds to the JSON property `limit`
1449
1601
  # @return [Fixnum]
1450
1602
  attr_accessor :limit
@@ -1466,7 +1618,8 @@ module Google
1466
1618
  # @return [Array<Google::Apis::AnalyticsdataV1alpha::Metric>]
1467
1619
  attr_accessor :metrics
1468
1620
 
1469
- # The row count of the start row. The first row is counted as row 0.
1621
+ # The row count of the start row. The first row is counted as row 0. To learn
1622
+ # more about this pagination parameter, see [Pagination](basics#pagination).
1470
1623
  # Corresponds to the JSON property `offset`
1471
1624
  # @return [Fixnum]
1472
1625
  attr_accessor :offset
@@ -1547,7 +1700,8 @@ module Google
1547
1700
  # The total number of rows in the query result, regardless of the number of rows
1548
1701
  # returned in the response. For example if a query returns 175 rows and includes
1549
1702
  # limit = 50 in the API request, the response will contain row_count = 175 but
1550
- # only 50 rows.
1703
+ # only 50 rows. To learn more about this pagination parameter, see [Pagination](
1704
+ # basics#pagination).
1551
1705
  # Corresponds to the JSON property `rowCount`
1552
1706
  # @return [Fixnum]
1553
1707
  attr_accessor :row_count
@@ -1611,31 +1765,6 @@ module Google
1611
1765
  @value = args[:value] if args.key?(:value)
1612
1766
  end
1613
1767
  end
1614
-
1615
- # The dimensions and metrics currently accepted in reporting methods.
1616
- class UniversalMetadata
1617
- include Google::Apis::Core::Hashable
1618
-
1619
- # The dimensions descriptions.
1620
- # Corresponds to the JSON property `dimensions`
1621
- # @return [Array<Google::Apis::AnalyticsdataV1alpha::DimensionMetadata>]
1622
- attr_accessor :dimensions
1623
-
1624
- # The metric descriptions.
1625
- # Corresponds to the JSON property `metrics`
1626
- # @return [Array<Google::Apis::AnalyticsdataV1alpha::MetricMetadata>]
1627
- attr_accessor :metrics
1628
-
1629
- def initialize(**args)
1630
- update!(**args)
1631
- end
1632
-
1633
- # Update properties of this object
1634
- def update!(**args)
1635
- @dimensions = args[:dimensions] if args.key?(:dimensions)
1636
- @metrics = args[:metrics] if args.key?(:metrics)
1637
- end
1638
- end
1639
1768
  end
1640
1769
  end
1641
1770
  end
@@ -280,25 +280,31 @@ module Google
280
280
  include Google::Apis::Core::JsonObjectSupport
281
281
  end
282
282
 
283
- class RunReportRequest
283
+ class RunRealtimeReportRequest
284
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
285
 
286
286
  include Google::Apis::Core::JsonObjectSupport
287
287
  end
288
288
 
289
- class RunReportResponse
289
+ class RunRealtimeReportResponse
290
290
  class Representation < Google::Apis::Core::JsonRepresentation; end
291
291
 
292
292
  include Google::Apis::Core::JsonObjectSupport
293
293
  end
294
294
 
295
- class StringFilter
295
+ class RunReportRequest
296
296
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
297
 
298
298
  include Google::Apis::Core::JsonObjectSupport
299
299
  end
300
300
 
301
- class UniversalMetadata
301
+ class RunReportResponse
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
307
+ class StringFilter
302
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
303
309
 
304
310
  include Google::Apis::Core::JsonObjectSupport
@@ -732,6 +738,46 @@ module Google
732
738
  end
733
739
  end
734
740
 
741
+ class RunRealtimeReportRequest
742
+ # @private
743
+ class Representation < Google::Apis::Core::JsonRepresentation
744
+ property :dimension_filter, as: 'dimensionFilter', class: Google::Apis::AnalyticsdataV1alpha::FilterExpression, decorator: Google::Apis::AnalyticsdataV1alpha::FilterExpression::Representation
745
+
746
+ collection :dimensions, as: 'dimensions', class: Google::Apis::AnalyticsdataV1alpha::Dimension, decorator: Google::Apis::AnalyticsdataV1alpha::Dimension::Representation
747
+
748
+ property :limit, :numeric_string => true, as: 'limit'
749
+ collection :metric_aggregations, as: 'metricAggregations'
750
+ property :metric_filter, as: 'metricFilter', class: Google::Apis::AnalyticsdataV1alpha::FilterExpression, decorator: Google::Apis::AnalyticsdataV1alpha::FilterExpression::Representation
751
+
752
+ collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsdataV1alpha::Metric, decorator: Google::Apis::AnalyticsdataV1alpha::Metric::Representation
753
+
754
+ collection :order_bys, as: 'orderBys', class: Google::Apis::AnalyticsdataV1alpha::OrderBy, decorator: Google::Apis::AnalyticsdataV1alpha::OrderBy::Representation
755
+
756
+ property :return_property_quota, as: 'returnPropertyQuota'
757
+ end
758
+ end
759
+
760
+ class RunRealtimeReportResponse
761
+ # @private
762
+ class Representation < Google::Apis::Core::JsonRepresentation
763
+ collection :dimension_headers, as: 'dimensionHeaders', class: Google::Apis::AnalyticsdataV1alpha::DimensionHeader, decorator: Google::Apis::AnalyticsdataV1alpha::DimensionHeader::Representation
764
+
765
+ collection :maximums, as: 'maximums', class: Google::Apis::AnalyticsdataV1alpha::Row, decorator: Google::Apis::AnalyticsdataV1alpha::Row::Representation
766
+
767
+ collection :metric_headers, as: 'metricHeaders', class: Google::Apis::AnalyticsdataV1alpha::MetricHeader, decorator: Google::Apis::AnalyticsdataV1alpha::MetricHeader::Representation
768
+
769
+ collection :minimums, as: 'minimums', class: Google::Apis::AnalyticsdataV1alpha::Row, decorator: Google::Apis::AnalyticsdataV1alpha::Row::Representation
770
+
771
+ property :property_quota, as: 'propertyQuota', class: Google::Apis::AnalyticsdataV1alpha::PropertyQuota, decorator: Google::Apis::AnalyticsdataV1alpha::PropertyQuota::Representation
772
+
773
+ property :row_count, as: 'rowCount'
774
+ collection :rows, as: 'rows', class: Google::Apis::AnalyticsdataV1alpha::Row, decorator: Google::Apis::AnalyticsdataV1alpha::Row::Representation
775
+
776
+ collection :totals, as: 'totals', class: Google::Apis::AnalyticsdataV1alpha::Row, decorator: Google::Apis::AnalyticsdataV1alpha::Row::Representation
777
+
778
+ end
779
+ end
780
+
735
781
  class RunReportRequest
736
782
  # @private
737
783
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -791,16 +837,6 @@ module Google
791
837
  property :value, as: 'value'
792
838
  end
793
839
  end
794
-
795
- class UniversalMetadata
796
- # @private
797
- class Representation < Google::Apis::Core::JsonRepresentation
798
- collection :dimensions, as: 'dimensions', class: Google::Apis::AnalyticsdataV1alpha::DimensionMetadata, decorator: Google::Apis::AnalyticsdataV1alpha::DimensionMetadata::Representation
799
-
800
- collection :metrics, as: 'metrics', class: Google::Apis::AnalyticsdataV1alpha::MetricMetadata, decorator: Google::Apis::AnalyticsdataV1alpha::MetricMetadata::Representation
801
-
802
- end
803
- end
804
840
  end
805
841
  end
806
842
  end
@@ -49,16 +49,20 @@ module Google
49
49
 
50
50
  # Returns metadata for dimensions and metrics available in reporting methods.
51
51
  # Used to explore the dimensions and metrics. In this method, a Google Analytics
52
- # App + Web Property Identifier is specified in the request, and the metadata
53
- # response includes Custom dimensions and metrics as well as Universal metadata.
54
- # For example if a custom metric with parameter name `levels_unlocked` is
55
- # registered to a property, the Metadata response will contain `customEvent:
56
- # levels_unlocked`. Universal metadata are dimensions and metrics applicable to
57
- # any property such as `country` and `totalUsers`.
52
+ # GA4 Property Identifier is specified in the request, and the metadata response
53
+ # includes Custom dimensions and metrics as well as Universal metadata. For
54
+ # example if a custom metric with parameter name `levels_unlocked` is registered
55
+ # to a property, the Metadata response will contain `customEvent:levels_unlocked`
56
+ # . Universal metadata are dimensions and metrics applicable to any property
57
+ # such as `country` and `totalUsers`.
58
58
  # @param [String] name
59
59
  # Required. The resource name of the metadata to retrieve. This name field is
60
60
  # specified in the URL path and not URL parameters. Property is a numeric Google
61
- # Analytics App + Web Property identifier. Example: properties/1234/metadata
61
+ # Analytics GA4 Property identifier. To learn more, see [where to find your
62
+ # Property ID](https://developers.google.com/analytics/trusted-testing/analytics-
63
+ # data/property-id). Example: properties/1234/metadata Set the Property ID to 0
64
+ # for dimensions and metrics common to all properties. In this special mode,
65
+ # this method will not return custom dimensions and metrics.
62
66
  # @param [String] fields
63
67
  # Selector specifying which fields to include in a partial response.
64
68
  # @param [String] quota_user
@@ -86,6 +90,44 @@ module Google
86
90
  execute_or_queue_command(command, &block)
87
91
  end
88
92
 
93
+ # The Google Analytics Realtime API returns a customized report of realtime
94
+ # event data for your property. These reports show events and usage from the
95
+ # last 30 minutes.
96
+ # @param [String] property
97
+ # A Google Analytics GA4 property identifier whose events are tracked. Specified
98
+ # in the URL path and not the body. To learn more, see [where to find your
99
+ # Property ID](https://developers.google.com/analytics/trusted-testing/analytics-
100
+ # data/property-id). Example: properties/1234
101
+ # @param [Google::Apis::AnalyticsdataV1alpha::RunRealtimeReportRequest] run_realtime_report_request_object
102
+ # @param [String] fields
103
+ # Selector specifying which fields to include in a partial response.
104
+ # @param [String] quota_user
105
+ # Available to use for quota purposes for server-side applications. Can be any
106
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
107
+ # @param [Google::Apis::RequestOptions] options
108
+ # Request-specific options
109
+ #
110
+ # @yield [result, err] Result & error if block supplied
111
+ # @yieldparam result [Google::Apis::AnalyticsdataV1alpha::RunRealtimeReportResponse] parsed result object
112
+ # @yieldparam err [StandardError] error object if request failed
113
+ #
114
+ # @return [Google::Apis::AnalyticsdataV1alpha::RunRealtimeReportResponse]
115
+ #
116
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
117
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
118
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
119
+ def run_property_realtime_report(property, run_realtime_report_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
120
+ command = make_simple_command(:post, 'v1alpha/{+property}:runRealtimeReport', options)
121
+ command.request_representation = Google::Apis::AnalyticsdataV1alpha::RunRealtimeReportRequest::Representation
122
+ command.request_object = run_realtime_report_request_object
123
+ command.response_representation = Google::Apis::AnalyticsdataV1alpha::RunRealtimeReportResponse::Representation
124
+ command.response_class = Google::Apis::AnalyticsdataV1alpha::RunRealtimeReportResponse
125
+ command.params['property'] = property unless property.nil?
126
+ command.query['fields'] = fields unless fields.nil?
127
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
128
+ execute_or_queue_command(command, &block)
129
+ end
130
+
89
131
  # Returns multiple pivot reports in a batch. All reports must be for the same
90
132
  # Entity.
91
133
  # @param [Google::Apis::AnalyticsdataV1alpha::BatchRunPivotReportsRequest] batch_run_pivot_reports_request_object
@@ -147,37 +189,6 @@ module Google
147
189
  execute_or_queue_command(command, &block)
148
190
  end
149
191
 
150
- # Returns metadata for dimensions and metrics available in reporting methods.
151
- # Used to explore the dimensions and metrics. Dimensions and metrics will be
152
- # mostly added over time, but renames and deletions may occur. This method
153
- # returns Universal Metadata. Universal Metadata are dimensions and metrics
154
- # applicable to any property such as `country` and `totalUsers`.
155
- # @param [String] fields
156
- # Selector specifying which fields to include in a partial response.
157
- # @param [String] quota_user
158
- # Available to use for quota purposes for server-side applications. Can be any
159
- # arbitrary string assigned to a user, but should not exceed 40 characters.
160
- # @param [Google::Apis::RequestOptions] options
161
- # Request-specific options
162
- #
163
- # @yield [result, err] Result & error if block supplied
164
- # @yieldparam result [Google::Apis::AnalyticsdataV1alpha::UniversalMetadata] parsed result object
165
- # @yieldparam err [StandardError] error object if request failed
166
- #
167
- # @return [Google::Apis::AnalyticsdataV1alpha::UniversalMetadata]
168
- #
169
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
170
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
171
- # @raise [Google::Apis::AuthorizationError] Authorization is required
172
- def get_universal_metadata(fields: nil, quota_user: nil, options: nil, &block)
173
- command = make_simple_command(:get, 'v1alpha/universalMetadata', options)
174
- command.response_representation = Google::Apis::AnalyticsdataV1alpha::UniversalMetadata::Representation
175
- command.response_class = Google::Apis::AnalyticsdataV1alpha::UniversalMetadata
176
- command.query['fields'] = fields unless fields.nil?
177
- command.query['quotaUser'] = quota_user unless quota_user.nil?
178
- execute_or_queue_command(command, &block)
179
- end
180
-
181
192
  # Returns a customized pivot report of your Google Analytics event data. Pivot
182
193
  # reports are more advanced and expressive formats than regular reports. In a
183
194
  # pivot report, dimensions are only visible if they are included in a pivot.