google-api-client 0.46.2 → 0.51.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (556) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/release-please.yml +79 -0
  3. data/.kokoro/trampoline.sh +0 -0
  4. data/CHANGELOG.md +736 -192
  5. data/Gemfile +1 -0
  6. data/Rakefile +31 -3
  7. data/generated/google/apis/accessapproval_v1.rb +1 -1
  8. data/generated/google/apis/accessapproval_v1/classes.rb +13 -15
  9. data/generated/google/apis/accessapproval_v1/service.rb +12 -9
  10. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +50 -6
  12. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +18 -0
  13. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +3 -1
  14. data/generated/google/apis/admob_v1.rb +4 -1
  15. data/generated/google/apis/admob_v1/service.rb +4 -0
  16. data/generated/google/apis/admob_v1beta.rb +38 -0
  17. data/generated/google/apis/admob_v1beta/classes.rb +1035 -0
  18. data/generated/google/apis/admob_v1beta/representations.rb +472 -0
  19. data/generated/google/apis/admob_v1beta/service.rb +279 -0
  20. data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
  21. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +13 -12
  22. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +28 -12
  23. data/generated/google/apis/analyticsdata_v1alpha.rb +2 -2
  24. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +263 -69
  25. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +52 -14
  26. data/generated/google/apis/analyticsdata_v1alpha/service.rb +44 -33
  27. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  28. data/generated/google/apis/androidenterprise_v1/classes.rb +6 -0
  29. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  30. data/generated/google/apis/androidenterprise_v1/service.rb +4 -1
  31. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  32. data/generated/google/apis/androidmanagement_v1/classes.rb +98 -30
  33. data/generated/google/apis/androidmanagement_v1/representations.rb +19 -0
  34. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  35. data/generated/google/apis/androidpublisher_v3/classes.rb +2 -1
  36. data/generated/google/apis/androidpublisher_v3/service.rb +4 -4
  37. data/generated/google/apis/apigateway_v1beta.rb +1 -1
  38. data/generated/google/apis/apigateway_v1beta/classes.rb +8 -5
  39. data/generated/google/apis/apigateway_v1beta/representations.rb +1 -0
  40. data/generated/google/apis/apigee_v1.rb +1 -1
  41. data/generated/google/apis/apigee_v1/classes.rb +378 -138
  42. data/generated/google/apis/apigee_v1/representations.rb +109 -18
  43. data/generated/google/apis/apigee_v1/service.rb +674 -56
  44. data/generated/google/apis/appengine_v1beta.rb +1 -1
  45. data/generated/google/apis/appengine_v1beta/classes.rb +8 -0
  46. data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
  47. data/generated/google/apis/area120tables_v1alpha1.rb +49 -0
  48. data/generated/google/apis/area120tables_v1alpha1/classes.rb +481 -0
  49. data/generated/google/apis/area120tables_v1alpha1/representations.rb +279 -0
  50. data/generated/google/apis/area120tables_v1alpha1/service.rb +448 -0
  51. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  52. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +0 -7
  53. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +0 -1
  54. data/generated/google/apis/artifactregistry_v1beta2.rb +38 -0
  55. data/generated/google/apis/artifactregistry_v1beta2/classes.rb +1037 -0
  56. data/generated/google/apis/artifactregistry_v1beta2/representations.rb +443 -0
  57. data/generated/google/apis/artifactregistry_v1beta2/service.rb +944 -0
  58. data/generated/google/apis/{assuredworkloads_v1beta1.rb → assuredworkloads_v1.rb} +6 -6
  59. data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/classes.rb +69 -137
  60. data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/representations.rb +29 -87
  61. data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/service.rb +46 -46
  62. data/generated/google/apis/bigquery_v2.rb +1 -1
  63. data/generated/google/apis/bigquery_v2/classes.rb +78 -0
  64. data/generated/google/apis/bigquery_v2/representations.rb +34 -0
  65. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  66. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -0
  67. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +1 -0
  68. data/generated/google/apis/billingbudgets_v1.rb +1 -1
  69. data/generated/google/apis/billingbudgets_v1/classes.rb +11 -0
  70. data/generated/google/apis/billingbudgets_v1/representations.rb +1 -0
  71. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  72. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +11 -0
  73. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  74. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  75. data/generated/google/apis/binaryauthorization_v1/classes.rb +2 -9
  76. data/generated/google/apis/binaryauthorization_v1/representations.rb +0 -1
  77. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  78. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +4 -10
  79. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +0 -1
  80. data/generated/google/apis/books_v1.rb +1 -1
  81. data/generated/google/apis/books_v1/service.rb +52 -52
  82. data/generated/google/apis/calendar_v3.rb +1 -1
  83. data/generated/google/apis/calendar_v3/classes.rb +2 -2
  84. data/generated/google/apis/chat_v1.rb +1 -1
  85. data/generated/google/apis/chat_v1/classes.rb +7 -0
  86. data/generated/google/apis/chat_v1/representations.rb +1 -0
  87. data/generated/google/apis/chat_v1/service.rb +176 -0
  88. data/generated/google/apis/cloudasset_v1.rb +1 -1
  89. data/generated/google/apis/cloudasset_v1/classes.rb +1125 -0
  90. data/generated/google/apis/cloudasset_v1/representations.rb +474 -0
  91. data/generated/google/apis/cloudasset_v1/service.rb +171 -0
  92. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  93. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  94. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  95. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  96. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  97. data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
  98. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  99. data/generated/google/apis/cloudbuild_v1/classes.rb +3 -2
  100. data/generated/google/apis/cloudbuild_v1/service.rb +11 -3
  101. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  102. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  103. data/generated/google/apis/cloudidentity_v1/service.rb +15 -7
  104. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  105. data/generated/google/apis/cloudidentity_v1beta1/service.rb +37 -21
  106. data/generated/google/apis/cloudiot_v1.rb +1 -1
  107. data/generated/google/apis/cloudiot_v1/classes.rb +0 -7
  108. data/generated/google/apis/cloudiot_v1/representations.rb +0 -1
  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/cloudsearch_v1.rb +1 -1
  126. data/generated/google/apis/cloudsearch_v1/classes.rb +10 -5
  127. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  128. data/generated/google/apis/cloudtasks_v2/classes.rb +0 -7
  129. data/generated/google/apis/cloudtasks_v2/representations.rb +0 -1
  130. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  131. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +0 -7
  132. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +0 -1
  133. data/generated/google/apis/cloudtasks_v2beta2/service.rb +12 -2
  134. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  135. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +0 -7
  136. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +0 -1
  137. data/generated/google/apis/composer_v1.rb +1 -1
  138. data/generated/google/apis/composer_v1/classes.rb +123 -0
  139. data/generated/google/apis/composer_v1/representations.rb +49 -0
  140. data/generated/google/apis/composer_v1/service.rb +19 -15
  141. data/generated/google/apis/composer_v1beta1.rb +1 -1
  142. data/generated/google/apis/composer_v1beta1/classes.rb +109 -0
  143. data/generated/google/apis/composer_v1beta1/representations.rb +46 -0
  144. data/generated/google/apis/composer_v1beta1/service.rb +39 -1
  145. data/generated/google/apis/compute_v1.rb +1 -1
  146. data/generated/google/apis/compute_v1/classes.rb +289 -31
  147. data/generated/google/apis/compute_v1/representations.rb +44 -0
  148. data/generated/google/apis/compute_v1/service.rb +695 -545
  149. data/generated/google/apis/container_v1beta1.rb +1 -1
  150. data/generated/google/apis/container_v1beta1/classes.rb +29 -0
  151. data/generated/google/apis/container_v1beta1/representations.rb +15 -0
  152. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  153. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +0 -7
  154. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +0 -1
  155. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  156. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +2 -8
  157. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +0 -1
  158. data/generated/google/apis/content_v2.rb +3 -4
  159. data/generated/google/apis/content_v2/classes.rb +514 -1222
  160. data/generated/google/apis/content_v2/service.rb +380 -651
  161. data/generated/google/apis/content_v2_1.rb +3 -4
  162. data/generated/google/apis/content_v2_1/classes.rb +1522 -1062
  163. data/generated/google/apis/content_v2_1/representations.rb +420 -0
  164. data/generated/google/apis/content_v2_1/service.rb +1127 -809
  165. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  166. data/generated/google/apis/datacatalog_v1beta1/classes.rb +25 -17
  167. data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -1
  168. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  169. data/generated/google/apis/dataflow_v1b3/classes.rb +29 -1
  170. data/generated/google/apis/dataflow_v1b3/representations.rb +5 -0
  171. data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
  172. data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
  173. data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
  174. data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
  175. data/generated/google/apis/datamigration_v1beta1.rb +34 -0
  176. data/generated/google/apis/datamigration_v1beta1/classes.rb +1670 -0
  177. data/generated/google/apis/datamigration_v1beta1/representations.rb +678 -0
  178. data/generated/google/apis/datamigration_v1beta1/service.rb +1172 -0
  179. data/generated/google/apis/dataproc_v1.rb +1 -1
  180. data/generated/google/apis/dataproc_v1/classes.rb +95 -12
  181. data/generated/google/apis/dataproc_v1/representations.rb +23 -1
  182. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  183. data/generated/google/apis/dataproc_v1beta2/classes.rb +63 -12
  184. data/generated/google/apis/dataproc_v1beta2/representations.rb +19 -1
  185. data/generated/google/apis/datastore_v1.rb +1 -1
  186. data/generated/google/apis/datastore_v1/classes.rb +4 -4
  187. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  188. data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
  189. data/generated/google/apis/deploymentmanager_v2.rb +6 -4
  190. data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
  191. data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
  192. data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
  193. data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
  194. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
  195. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
  196. data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
  197. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  198. data/generated/google/apis/dfareporting_v3_3/classes.rb +6 -6
  199. data/generated/google/apis/dfareporting_v3_3/service.rb +12 -12
  200. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  201. data/generated/google/apis/dfareporting_v3_4/classes.rb +6 -6
  202. data/generated/google/apis/dfareporting_v3_4/service.rb +12 -12
  203. data/generated/google/apis/dialogflow_v2.rb +1 -1
  204. data/generated/google/apis/dialogflow_v2/classes.rb +19 -387
  205. data/generated/google/apis/dialogflow_v2/representations.rb +1 -212
  206. data/generated/google/apis/dialogflow_v2/service.rb +12 -4
  207. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  208. data/generated/google/apis/dialogflow_v2beta1/classes.rb +17 -390
  209. data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -212
  210. data/generated/google/apis/dialogflow_v2beta1/service.rb +510 -40
  211. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  212. data/generated/google/apis/dialogflow_v3beta1/classes.rb +76 -387
  213. data/generated/google/apis/dialogflow_v3beta1/representations.rb +20 -212
  214. data/generated/google/apis/dialogflow_v3beta1/service.rb +11 -3
  215. data/generated/google/apis/displayvideo_v1.rb +1 -1
  216. data/generated/google/apis/displayvideo_v1/classes.rb +306 -34
  217. data/generated/google/apis/displayvideo_v1/representations.rb +122 -0
  218. data/generated/google/apis/displayvideo_v1/service.rb +342 -38
  219. data/generated/google/apis/dlp_v2.rb +1 -1
  220. data/generated/google/apis/dlp_v2/classes.rb +35 -29
  221. data/generated/google/apis/dlp_v2/representations.rb +1 -0
  222. data/generated/google/apis/dns_v1.rb +2 -2
  223. data/generated/google/apis/dns_v1/classes.rb +6 -0
  224. data/generated/google/apis/dns_v1/representations.rb +1 -0
  225. data/generated/google/apis/dns_v1/service.rb +1 -1
  226. data/generated/google/apis/dns_v1beta2.rb +2 -2
  227. data/generated/google/apis/dns_v1beta2/classes.rb +20 -1
  228. data/generated/google/apis/dns_v1beta2/representations.rb +13 -0
  229. data/generated/google/apis/dns_v1beta2/service.rb +177 -1
  230. data/generated/google/apis/domains_v1alpha2.rb +1 -1
  231. data/generated/google/apis/domains_v1beta1.rb +1 -1
  232. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  233. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +3 -2
  234. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  235. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +3 -2
  236. data/generated/google/apis/drive_v2.rb +1 -1
  237. data/generated/google/apis/drive_v2/classes.rb +24 -21
  238. data/generated/google/apis/drive_v2/service.rb +26 -58
  239. data/generated/google/apis/drive_v3.rb +1 -1
  240. data/generated/google/apis/drive_v3/classes.rb +12 -8
  241. data/generated/google/apis/drive_v3/service.rb +14 -30
  242. data/generated/google/apis/eventarc_v1beta1.rb +34 -0
  243. data/generated/google/apis/eventarc_v1beta1/classes.rb +931 -0
  244. data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
  245. data/generated/google/apis/eventarc_v1beta1/service.rb +579 -0
  246. data/generated/google/apis/file_v1.rb +1 -1
  247. data/generated/google/apis/file_v1/classes.rb +505 -4
  248. data/generated/google/apis/file_v1/representations.rb +203 -0
  249. data/generated/google/apis/file_v1/service.rb +229 -1
  250. data/generated/google/apis/file_v1beta1.rb +1 -1
  251. data/generated/google/apis/file_v1beta1/classes.rb +346 -6
  252. data/generated/google/apis/file_v1beta1/representations.rb +149 -0
  253. data/generated/google/apis/file_v1beta1/service.rb +6 -2
  254. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  255. data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
  256. data/generated/google/apis/firebasedatabase_v1beta.rb +44 -0
  257. data/generated/google/apis/firebasedatabase_v1beta/classes.rb +130 -0
  258. data/generated/google/apis/{displayvideo_v1dev → firebasedatabase_v1beta}/representations.rb +26 -16
  259. data/generated/google/apis/firebasedatabase_v1beta/service.rb +292 -0
  260. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  261. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
  262. data/generated/google/apis/firestore_v1.rb +1 -1
  263. data/generated/google/apis/firestore_v1/classes.rb +4 -4
  264. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  265. data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
  266. data/generated/google/apis/games_v1.rb +1 -1
  267. data/generated/google/apis/games_v1/classes.rb +353 -0
  268. data/generated/google/apis/games_v1/representations.rb +145 -0
  269. data/generated/google/apis/games_v1/service.rb +67 -0
  270. data/generated/google/apis/gameservices_v1.rb +1 -1
  271. data/generated/google/apis/gameservices_v1/classes.rb +1 -2
  272. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  273. data/generated/google/apis/gameservices_v1beta/classes.rb +1 -2
  274. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  275. data/generated/google/apis/genomics_v2alpha1/classes.rb +25 -0
  276. data/generated/google/apis/genomics_v2alpha1/representations.rb +15 -0
  277. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
  278. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +9 -0
  279. data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +1 -0
  280. data/generated/google/apis/healthcare_v1.rb +1 -1
  281. data/generated/google/apis/healthcare_v1/classes.rb +24 -17
  282. data/generated/google/apis/healthcare_v1/representations.rb +1 -0
  283. data/generated/google/apis/healthcare_v1/service.rb +2 -1
  284. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  285. data/generated/google/apis/healthcare_v1beta1/classes.rb +361 -57
  286. data/generated/google/apis/healthcare_v1beta1/representations.rb +150 -18
  287. data/generated/google/apis/healthcare_v1beta1/service.rb +91 -13
  288. data/generated/google/apis/iam_v1.rb +2 -5
  289. data/generated/google/apis/iam_v1/classes.rb +109 -11
  290. data/generated/google/apis/iam_v1/representations.rb +33 -1
  291. data/generated/google/apis/iam_v1/service.rb +63 -4
  292. data/generated/google/apis/iamcredentials_v1.rb +3 -4
  293. data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
  294. data/generated/google/apis/iap_v1.rb +1 -1
  295. data/generated/google/apis/iap_v1/classes.rb +1 -13
  296. data/generated/google/apis/iap_v1/representations.rb +0 -1
  297. data/generated/google/apis/iap_v1beta1.rb +1 -1
  298. data/generated/google/apis/iap_v1beta1/classes.rb +1 -2
  299. data/generated/google/apis/jobs_v3.rb +1 -1
  300. data/generated/google/apis/jobs_v3/classes.rb +9 -807
  301. data/generated/google/apis/jobs_v3/representations.rb +0 -272
  302. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  303. data/generated/google/apis/jobs_v3p1beta1/classes.rb +9 -768
  304. data/generated/google/apis/jobs_v3p1beta1/representations.rb +0 -257
  305. data/generated/google/apis/{jobs_v2.rb → jobs_v4.rb} +6 -6
  306. data/generated/google/apis/jobs_v4/classes.rb +2699 -0
  307. data/generated/google/apis/jobs_v4/representations.rb +934 -0
  308. data/generated/google/apis/jobs_v4/service.rb +903 -0
  309. data/generated/google/apis/licensing_v1.rb +1 -1
  310. data/generated/google/apis/licensing_v1/classes.rb +26 -8
  311. data/generated/google/apis/licensing_v1/representations.rb +12 -0
  312. data/generated/google/apis/licensing_v1/service.rb +34 -31
  313. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  314. data/generated/google/apis/lifesciences_v2beta/classes.rb +25 -0
  315. data/generated/google/apis/lifesciences_v2beta/representations.rb +15 -0
  316. data/generated/google/apis/localservices_v1.rb +1 -1
  317. data/generated/google/apis/localservices_v1/classes.rb +7 -0
  318. data/generated/google/apis/localservices_v1/representations.rb +2 -0
  319. data/generated/google/apis/logging_v2.rb +1 -1
  320. data/generated/google/apis/logging_v2/classes.rb +191 -14
  321. data/generated/google/apis/logging_v2/representations.rb +77 -0
  322. data/generated/google/apis/logging_v2/service.rb +446 -25
  323. data/generated/google/apis/managedidentities_v1.rb +1 -1
  324. data/generated/google/apis/managedidentities_v1/classes.rb +361 -16
  325. data/generated/google/apis/managedidentities_v1/representations.rb +149 -1
  326. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  327. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +363 -17
  328. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +149 -1
  329. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  330. data/generated/google/apis/managedidentities_v1beta1/classes.rb +349 -12
  331. data/generated/google/apis/managedidentities_v1beta1/representations.rb +149 -1
  332. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  333. data/generated/google/apis/memcache_v1beta2/classes.rb +345 -4
  334. data/generated/google/apis/memcache_v1beta2/representations.rb +149 -0
  335. data/generated/google/apis/ml_v1.rb +1 -1
  336. data/generated/google/apis/ml_v1/classes.rb +272 -84
  337. data/generated/google/apis/ml_v1/representations.rb +43 -1
  338. data/generated/google/apis/ml_v1/service.rb +35 -0
  339. data/generated/google/apis/monitoring_v3.rb +1 -1
  340. data/generated/google/apis/monitoring_v3/classes.rb +16 -9
  341. data/generated/google/apis/monitoring_v3/service.rb +55 -5
  342. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  343. data/generated/google/apis/networkmanagement_v1/classes.rb +6 -0
  344. data/generated/google/apis/networkmanagement_v1/representations.rb +1 -0
  345. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  346. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +57 -0
  347. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +31 -0
  348. data/generated/google/apis/notebooks_v1.rb +34 -0
  349. data/generated/google/apis/notebooks_v1/classes.rb +1455 -0
  350. data/generated/google/apis/notebooks_v1/representations.rb +580 -0
  351. data/generated/google/apis/notebooks_v1/service.rb +1042 -0
  352. data/generated/google/apis/osconfig_v1.rb +1 -1
  353. data/generated/google/apis/osconfig_v1/classes.rb +419 -0
  354. data/generated/google/apis/osconfig_v1/representations.rb +168 -0
  355. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  356. data/generated/google/apis/osconfig_v1beta/classes.rb +419 -0
  357. data/generated/google/apis/osconfig_v1beta/representations.rb +168 -0
  358. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  359. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -3
  360. data/generated/google/apis/people_v1.rb +1 -1
  361. data/generated/google/apis/people_v1/classes.rb +10 -6
  362. data/generated/google/apis/people_v1/service.rb +21 -18
  363. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  364. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  365. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  366. data/generated/google/apis/privateca_v1beta1.rb +36 -0
  367. data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
  368. data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
  369. data/generated/google/apis/privateca_v1beta1/service.rb +1437 -0
  370. data/generated/google/apis/pubsub_v1.rb +1 -1
  371. data/generated/google/apis/pubsub_v1/classes.rb +0 -7
  372. data/generated/google/apis/pubsub_v1/representations.rb +0 -1
  373. data/generated/google/apis/pubsub_v1/service.rb +2 -2
  374. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  375. data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -7
  376. data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -1
  377. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  378. data/generated/google/apis/realtimebidding_v1/classes.rb +545 -0
  379. data/generated/google/apis/realtimebidding_v1/representations.rb +232 -0
  380. data/generated/google/apis/realtimebidding_v1/service.rb +450 -0
  381. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  382. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +32 -0
  383. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -0
  384. data/generated/google/apis/recommender_v1.rb +1 -1
  385. data/generated/google/apis/recommender_v1/classes.rb +3 -3
  386. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  387. data/generated/google/apis/recommender_v1beta1/classes.rb +3 -3
  388. data/generated/google/apis/redis_v1.rb +1 -1
  389. data/generated/google/apis/redis_v1/classes.rb +86 -0
  390. data/generated/google/apis/redis_v1/representations.rb +34 -0
  391. data/generated/google/apis/redis_v1/service.rb +34 -0
  392. data/generated/google/apis/redis_v1beta1.rb +1 -1
  393. data/generated/google/apis/redis_v1beta1/classes.rb +58 -0
  394. data/generated/google/apis/redis_v1beta1/representations.rb +20 -0
  395. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  396. data/generated/google/apis/remotebuildexecution_v1/classes.rb +5 -30
  397. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -16
  398. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  399. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -30
  400. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -16
  401. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  402. data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -30
  403. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -16
  404. data/generated/google/apis/reseller_v1.rb +4 -4
  405. data/generated/google/apis/reseller_v1/service.rb +5 -5
  406. data/generated/google/apis/run_v1.rb +1 -1
  407. data/generated/google/apis/run_v1/classes.rb +2 -1
  408. data/generated/google/apis/run_v1alpha1.rb +1 -1
  409. data/generated/google/apis/run_v1alpha1/classes.rb +2 -1
  410. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  411. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +0 -7
  412. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +0 -1
  413. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  414. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  415. data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -0
  416. data/generated/google/apis/secretmanager_v1.rb +1 -1
  417. data/generated/google/apis/secretmanager_v1/classes.rb +0 -7
  418. data/generated/google/apis/secretmanager_v1/representations.rb +0 -1
  419. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  420. data/generated/google/apis/secretmanager_v1beta1/classes.rb +0 -7
  421. data/generated/google/apis/secretmanager_v1beta1/representations.rb +0 -1
  422. data/generated/google/apis/securitycenter_v1.rb +1 -1
  423. data/generated/google/apis/securitycenter_v1/classes.rb +91 -0
  424. data/generated/google/apis/securitycenter_v1/representations.rb +37 -0
  425. data/generated/google/apis/securitycenter_v1/service.rb +1448 -414
  426. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  427. data/generated/google/apis/securitycenter_v1beta1/classes.rb +68 -0
  428. data/generated/google/apis/securitycenter_v1beta1/representations.rb +32 -0
  429. data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
  430. data/generated/google/apis/securitycenter_v1beta2/classes.rb +68 -0
  431. data/generated/google/apis/securitycenter_v1beta2/representations.rb +32 -0
  432. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  433. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +6 -64
  434. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
  435. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  436. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +6 -64
  437. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
  438. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  439. data/generated/google/apis/servicecontrol_v1/classes.rb +77 -2
  440. data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
  441. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  442. data/generated/google/apis/servicecontrol_v2/classes.rb +62 -0
  443. data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
  444. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  445. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +26 -13
  446. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +0 -1
  447. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  448. data/generated/google/apis/servicemanagement_v1/classes.rb +6 -64
  449. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -18
  450. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  451. data/generated/google/apis/servicenetworking_v1/classes.rb +156 -64
  452. data/generated/google/apis/servicenetworking_v1/representations.rb +62 -15
  453. data/generated/google/apis/servicenetworking_v1/service.rb +80 -0
  454. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  455. data/generated/google/apis/servicenetworking_v1beta/classes.rb +69 -64
  456. data/generated/google/apis/servicenetworking_v1beta/representations.rb +29 -15
  457. data/generated/google/apis/serviceusage_v1.rb +1 -1
  458. data/generated/google/apis/serviceusage_v1/classes.rb +6 -64
  459. data/generated/google/apis/serviceusage_v1/representations.rb +0 -18
  460. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  461. data/generated/google/apis/serviceusage_v1beta1/classes.rb +36 -64
  462. data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -18
  463. data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
  464. data/generated/google/apis/sheets_v4.rb +1 -1
  465. data/generated/google/apis/sheets_v4/classes.rb +332 -7
  466. data/generated/google/apis/sheets_v4/representations.rb +102 -0
  467. data/generated/google/apis/slides_v1.rb +1 -1
  468. data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
  469. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +0 -34
  470. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -16
  471. data/generated/google/apis/smartdevicemanagement_v1/service.rb +3 -8
  472. data/generated/google/apis/spanner_v1.rb +1 -1
  473. data/generated/google/apis/spanner_v1/classes.rb +10 -8
  474. data/generated/google/apis/spanner_v1/representations.rb +1 -1
  475. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  476. data/generated/google/apis/speech_v1p1beta1/classes.rb +22 -0
  477. data/generated/google/apis/speech_v1p1beta1/representations.rb +2 -0
  478. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  479. data/generated/google/apis/sqladmin_v1beta4/classes.rb +118 -11
  480. data/generated/google/apis/sqladmin_v1beta4/representations.rb +37 -0
  481. data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
  482. data/generated/google/apis/storage_v1.rb +1 -1
  483. data/generated/google/apis/storage_v1/classes.rb +7 -0
  484. data/generated/google/apis/storage_v1/representations.rb +1 -0
  485. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  486. data/generated/google/apis/storagetransfer_v1/classes.rb +72 -50
  487. data/generated/google/apis/storagetransfer_v1/representations.rb +3 -0
  488. data/generated/google/apis/storagetransfer_v1/service.rb +3 -3
  489. data/generated/google/apis/tagmanager_v2.rb +1 -1
  490. data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
  491. data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
  492. data/generated/google/apis/testing_v1.rb +1 -1
  493. data/generated/google/apis/testing_v1/classes.rb +45 -33
  494. data/generated/google/apis/testing_v1/representations.rb +1 -0
  495. data/generated/google/apis/testing_v1/service.rb +4 -4
  496. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  497. data/generated/google/apis/toolresults_v1beta3/classes.rb +13 -0
  498. data/generated/google/apis/toolresults_v1beta3/representations.rb +12 -0
  499. data/generated/google/apis/transcoder_v1beta1.rb +34 -0
  500. data/generated/google/apis/transcoder_v1beta1/classes.rb +1684 -0
  501. data/generated/google/apis/transcoder_v1beta1/representations.rb +756 -0
  502. data/generated/google/apis/transcoder_v1beta1/service.rb +329 -0
  503. data/generated/google/apis/translate_v3.rb +1 -1
  504. data/generated/google/apis/translate_v3/classes.rb +2 -1
  505. data/generated/google/apis/translate_v3beta1.rb +1 -1
  506. data/generated/google/apis/translate_v3beta1/classes.rb +2 -1
  507. data/generated/google/apis/vault_v1.rb +1 -1
  508. data/generated/google/apis/vault_v1/classes.rb +76 -0
  509. data/generated/google/apis/vault_v1/representations.rb +45 -0
  510. data/generated/google/apis/vectortile_v1.rb +1 -1
  511. data/generated/google/apis/vectortile_v1/classes.rb +59 -4
  512. data/generated/google/apis/vectortile_v1/representations.rb +19 -0
  513. data/generated/google/apis/videointelligence_v1.rb +1 -1
  514. data/generated/google/apis/videointelligence_v1/classes.rb +65 -0
  515. data/generated/google/apis/videointelligence_v1/representations.rb +15 -0
  516. data/generated/google/apis/videointelligence_v1/service.rb +0 -62
  517. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  518. data/generated/google/apis/videointelligence_v1beta2/classes.rb +65 -0
  519. data/generated/google/apis/videointelligence_v1beta2/representations.rb +15 -0
  520. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  521. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +65 -0
  522. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +15 -0
  523. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  524. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +65 -0
  525. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +15 -0
  526. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  527. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +65 -0
  528. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +15 -0
  529. data/generated/google/apis/vision_v1.rb +1 -1
  530. data/generated/google/apis/vision_v1/classes.rb +16 -16
  531. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  532. data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
  533. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  534. data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
  535. data/generated/google/apis/youtube_v3.rb +1 -1
  536. data/generated/google/apis/youtube_v3/classes.rb +2 -2
  537. data/generated/google/apis/youtube_v3/service.rb +6 -6
  538. data/google-api-client.gemspec +25 -25
  539. data/lib/google/apis/core/http_command.rb +2 -1
  540. data/lib/google/apis/options.rb +8 -5
  541. data/lib/google/apis/version.rb +1 -1
  542. metadata +53 -24
  543. data/generated/google/apis/displayvideo_v1beta.rb +0 -38
  544. data/generated/google/apis/displayvideo_v1beta/classes.rb +0 -146
  545. data/generated/google/apis/displayvideo_v1beta/representations.rb +0 -72
  546. data/generated/google/apis/displayvideo_v1beta/service.rb +0 -161
  547. data/generated/google/apis/displayvideo_v1beta2.rb +0 -38
  548. data/generated/google/apis/displayvideo_v1beta2/classes.rb +0 -146
  549. data/generated/google/apis/displayvideo_v1beta2/representations.rb +0 -72
  550. data/generated/google/apis/displayvideo_v1beta2/service.rb +0 -130
  551. data/generated/google/apis/displayvideo_v1dev.rb +0 -38
  552. data/generated/google/apis/displayvideo_v1dev/classes.rb +0 -146
  553. data/generated/google/apis/displayvideo_v1dev/service.rb +0 -130
  554. data/generated/google/apis/jobs_v2/classes.rb +0 -4012
  555. data/generated/google/apis/jobs_v2/representations.rb +0 -1396
  556. data/generated/google/apis/jobs_v2/service.rb +0 -693
@@ -22,10 +22,10 @@ module Google
22
22
  #
23
23
  # Accesses report data in Google Analytics.
24
24
  #
25
- # @see https://developers.google.com/analytics/trusted-testing/analytics-data/
25
+ # @see https://developers.google.com/analytics/devguides/reporting/data/v1/
26
26
  module AnalyticsdataV1alpha
27
27
  VERSION = 'V1alpha'
28
- REVISION = '20201013'
28
+ REVISION = '20201201'
29
29
 
30
30
  # View and manage your Google Analytics data
31
31
  AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics'
@@ -157,21 +157,19 @@ module Google
157
157
  end
158
158
  end
159
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.
160
+ # Defines a cohort selection criteria. A cohort is a group of users who share a
161
+ # common characteristic. For example, users with the same `firstTouchDate`
162
+ # belong to the same cohort.
163
163
  class Cohort
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
172
171
 
173
- # The dimension used by cohort. Only supports `firstTouchDate` for retention
174
- # report.
172
+ # Dimension used by the cohort. Required and only supports `firstTouchDate`.
175
173
  # Corresponds to the JSON property `dimension`
176
174
  # @return [String]
177
175
  attr_accessor :dimension
@@ -196,11 +194,11 @@ module Google
196
194
  end
197
195
  end
198
196
 
199
- # Settings of a cohort report.
197
+ # Optional settings of a cohort report.
200
198
  class CohortReportSettings
201
199
  include Google::Apis::Core::Hashable
202
200
 
203
- # If true, accumulates the result from first visit day to the end day. Not
201
+ # If true, accumulates the result from first touch day to the end day. Not
204
202
  # supported in `RunReportRequest`.
205
203
  # Corresponds to the JSON property `accumulate`
206
204
  # @return [Boolean]
@@ -217,21 +215,34 @@ module Google
217
215
  end
218
216
  end
219
217
 
220
- # Specification for a cohort report.
218
+ # Specification of cohorts for a cohort report. Cohort reports can be used for
219
+ # example to create a time series of user retention for the cohort. For example,
220
+ # you could select the cohort of users that were acquired in the first week of
221
+ # September and follow that cohort for the next six weeks. Selecting the users
222
+ # acquired in the first week of September cohort is specified in the `cohort`
223
+ # object. Following that cohort for the next six weeks is specified in the `
224
+ # cohortsRange` object. The report response could show a weekly time series
225
+ # where say your app has retained 60% of this cohort after three weeks and 25%
226
+ # of this cohort after six weeks. These two percentages can be calculated by the
227
+ # metric `cohortActiveUsers/cohortTotalUsers` and will be separate rows in the
228
+ # report.
221
229
  class CohortSpec
222
230
  include Google::Apis::Core::Hashable
223
231
 
224
- # Settings of a cohort report.
232
+ # Optional settings of a cohort report.
225
233
  # Corresponds to the JSON property `cohortReportSettings`
226
234
  # @return [Google::Apis::AnalyticsdataV1alpha::CohortReportSettings]
227
235
  attr_accessor :cohort_report_settings
228
236
 
229
- # The definition for the cohorts.
237
+ # Defines the selection criteria to group users into cohorts. Most cohort
238
+ # reports define only a single cohort. If multiple cohorts are specified, each
239
+ # cohort can be recognized in the report by their name.
230
240
  # Corresponds to the JSON property `cohorts`
231
241
  # @return [Array<Google::Apis::AnalyticsdataV1alpha::Cohort>]
232
242
  attr_accessor :cohorts
233
243
 
234
- # Describes date range for a cohort report.
244
+ # Configures the extended reporting date range for a cohort report. Specifies an
245
+ # offset duration to follow the cohorts over.
235
246
  # Corresponds to the JSON property `cohortsRange`
236
247
  # @return [Google::Apis::AnalyticsdataV1alpha::CohortsRange]
237
248
  attr_accessor :cohorts_range
@@ -248,23 +259,39 @@ module Google
248
259
  end
249
260
  end
250
261
 
251
- # Describes date range for a cohort report.
262
+ # Configures the extended reporting date range for a cohort report. Specifies an
263
+ # offset duration to follow the cohorts over.
252
264
  class CohortsRange
253
265
  include Google::Apis::Core::Hashable
254
266
 
255
- # For daily cohorts, this will be the end day offset. For weekly cohorts, this
256
- # will be the week offset.
267
+ # `endOffset` specifies the end date of the extended reporting date range for a
268
+ # cohort report. `endOffset` can be any positive integer but is commonly set to
269
+ # 5 to 10 so that reports contain data on the cohort for the next several
270
+ # granularity time periods. If `granularity` is `DAILY`, the `endDate` of the
271
+ # extended reporting date range is `endDate` of the cohort plus `endOffset` days.
272
+ # If `granularity` is `WEEKLY`, the `endDate` of the extended reporting date
273
+ # range is `endDate` of the cohort plus `endOffset * 7` days. If `granularity`
274
+ # is `MONTHLY`, the `endDate` of the extended reporting date range is `endDate`
275
+ # of the cohort plus `endOffset * 30` days.
257
276
  # Corresponds to the JSON property `endOffset`
258
277
  # @return [Fixnum]
259
278
  attr_accessor :end_offset
260
279
 
261
- # Reporting date range for each cohort is calculated based on these three fields.
280
+ # The granularity used to interpret the `startOffset` and `endOffset` for the
281
+ # extended reporting date range for a cohort report.
262
282
  # Corresponds to the JSON property `granularity`
263
283
  # @return [String]
264
284
  attr_accessor :granularity
265
285
 
266
- # For daily cohorts, this will be the start day offset. For weekly cohorts, this
267
- # will be the week offset.
286
+ # `startOffset` specifies the start date of the extended reporting date range
287
+ # for a cohort report. `startOffset` is commonly set to 0 so that reports
288
+ # contain data from the acquisition of the cohort forward. If `granularity` is `
289
+ # DAILY`, the `startDate` of the extended reporting date range is `startDate` of
290
+ # the cohort plus `startOffset` days. If `granularity` is `WEEKLY`, the `
291
+ # startDate` of the extended reporting date range is `startDate` of the cohort
292
+ # plus `startOffset * 7` days. If `granularity` is `MONTHLY`, the `startDate` of
293
+ # the extended reporting date range is `startDate` of the cohort plus `
294
+ # startOffset * 30` days.
268
295
  # Corresponds to the JSON property `startOffset`
269
296
  # @return [Fixnum]
270
297
  attr_accessor :start_offset
@@ -312,8 +339,7 @@ module Google
312
339
  end
313
340
 
314
341
  # 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.
342
+ # allowed up to 4 date ranges.
317
343
  class DateRange
318
344
  include Google::Apis::Core::Hashable
319
345
 
@@ -353,9 +379,10 @@ module Google
353
379
  end
354
380
  end
355
381
 
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.
382
+ # Dimensions are attributes of your data. For example, the dimension city
383
+ # indicates the city from which an event originates. Dimension values in report
384
+ # responses are strings; for example, city could be "Paris" or "New York".
385
+ # Requests are allowed up to 8 dimensions.
359
386
  class Dimension
360
387
  include Google::Apis::Core::Hashable
361
388
 
@@ -366,7 +393,13 @@ module Google
366
393
  # @return [Google::Apis::AnalyticsdataV1alpha::DimensionExpression]
367
394
  attr_accessor :dimension_expression
368
395
 
369
- # The name of the dimension.
396
+ # The name of the dimension. See the [API Dimensions](https://developers.google.
397
+ # com/analytics/devguides/reporting/data/v1/api-schema#dimensions) for the list
398
+ # of dimension names. If `dimensionExpression` is specified, `name` can be any
399
+ # string that you would like. For example if a `dimensionExpression`
400
+ # concatenates `country` and `city`, you could call that dimension `
401
+ # countryAndCity`. Dimensions are referenced by `name` in `dimensionFilter`, `
402
+ # orderBys`, `dimensionExpression`, and `pivots`.
370
403
  # Corresponds to the JSON property `name`
371
404
  # @return [String]
372
405
  attr_accessor :name
@@ -447,6 +480,12 @@ module Google
447
480
  # @return [String]
448
481
  attr_accessor :api_name
449
482
 
483
+ # True if the dimension is a custom dimension for this property.
484
+ # Corresponds to the JSON property `customDefinition`
485
+ # @return [Boolean]
486
+ attr_accessor :custom_definition
487
+ alias_method :custom_definition?, :custom_definition
488
+
450
489
  # Still usable but deprecated names for this dimension. If populated, this
451
490
  # dimension is available by either `apiName` or one of `deprecatedApiNames` for
452
491
  # a period of time. After the deprecation period, the dimension will be
@@ -473,6 +512,7 @@ module Google
473
512
  # Update properties of this object
474
513
  def update!(**args)
475
514
  @api_name = args[:api_name] if args.key?(:api_name)
515
+ @custom_definition = args[:custom_definition] if args.key?(:custom_definition)
476
516
  @deprecated_api_names = args[:deprecated_api_names] if args.key?(:deprecated_api_names)
477
517
  @description = args[:description] if args.key?(:description)
478
518
  @ui_name = args[:ui_name] if args.key?(:ui_name)
@@ -527,7 +567,9 @@ module Google
527
567
  class Entity
528
568
  include Google::Apis::Core::Hashable
529
569
 
530
- # A Google Analytics GA4 property id.
570
+ # A Google Analytics GA4 property id. To learn more, see [where to find your
571
+ # Property ID](https://developers.google.com/analytics/devguides/reporting/data/
572
+ # v1/property-id).
531
573
  # Corresponds to the JSON property `propertyId`
532
574
  # @return [String]
533
575
  attr_accessor :property_id
@@ -562,7 +604,10 @@ module Google
562
604
  # @return [Google::Apis::AnalyticsdataV1alpha::InListFilter]
563
605
  attr_accessor :in_list_filter
564
606
 
565
- # A filter for null values.
607
+ # A filter for null values. If True, a null dimension value is matched by this
608
+ # filter. Null filter is commonly used inside a NOT filter expression. For
609
+ # example, a NOT expression of a null filter removes rows when a dimension is
610
+ # null.
566
611
  # Corresponds to the JSON property `nullFilter`
567
612
  # @return [Boolean]
568
613
  attr_accessor :null_filter
@@ -681,7 +726,7 @@ module Google
681
726
  class Metadata
682
727
  include Google::Apis::Core::Hashable
683
728
 
684
- # The dimensions descriptions.
729
+ # The dimension descriptions.
685
730
  # Corresponds to the JSON property `dimensions`
686
731
  # @return [Array<Google::Apis::AnalyticsdataV1alpha::DimensionMetadata>]
687
732
  attr_accessor :dimensions
@@ -708,26 +753,31 @@ module Google
708
753
  end
709
754
  end
710
755
 
711
- # The quantitative measurements of a report. For example, the metric eventCount
756
+ # The quantitative measurements of a report. For example, the metric `eventCount`
712
757
  # is the total number of events. Requests are allowed up to 10 metrics.
713
758
  class Metric
714
759
  include Google::Apis::Core::Hashable
715
760
 
716
761
  # A mathematical expression for derived metrics. For example, the metric Event
717
- # count per user is eventCount/totalUsers.
762
+ # count per user is `eventCount/totalUsers`.
718
763
  # Corresponds to the JSON property `expression`
719
764
  # @return [String]
720
765
  attr_accessor :expression
721
766
 
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.
767
+ # Indicates if a metric is invisible in the report response. If a metric is
768
+ # invisible, the metric will not produce a column in the response, but can be
769
+ # used in `metricFilter`, `orderBys`, or a metric `expression`.
725
770
  # Corresponds to the JSON property `invisible`
726
771
  # @return [Boolean]
727
772
  attr_accessor :invisible
728
773
  alias_method :invisible?, :invisible
729
774
 
730
- # The name of the metric.
775
+ # The name of the metric. See the [API Metrics](https://developers.google.com/
776
+ # analytics/devguides/reporting/data/v1/api-schema#metrics) for the list of
777
+ # metric names. If `expression` is specified, `name` can be any string that you
778
+ # would like. For example if `expression` is `screenPageViews/sessions`, you
779
+ # could call that metric's name = `viewsPerSession`. Metrics are referenced by `
780
+ # name` in `metricFilter`, `orderBys`, and metric `expression`.
731
781
  # Corresponds to the JSON property `name`
732
782
  # @return [String]
733
783
  attr_accessor :name
@@ -782,6 +832,12 @@ module Google
782
832
  # @return [String]
783
833
  attr_accessor :api_name
784
834
 
835
+ # True if the metric is a custom metric for this property.
836
+ # Corresponds to the JSON property `customDefinition`
837
+ # @return [Boolean]
838
+ attr_accessor :custom_definition
839
+ alias_method :custom_definition?, :custom_definition
840
+
785
841
  # Still usable but deprecated names for this metric. If populated, this metric
786
842
  # is available by either `apiName` or one of `deprecatedApiNames` for a period
787
843
  # of time. After the deprecation period, the metric will be available only by `
@@ -820,6 +876,7 @@ module Google
820
876
  # Update properties of this object
821
877
  def update!(**args)
822
878
  @api_name = args[:api_name] if args.key?(:api_name)
879
+ @custom_definition = args[:custom_definition] if args.key?(:custom_definition)
823
880
  @deprecated_api_names = args[:deprecated_api_names] if args.key?(:deprecated_api_names)
824
881
  @description = args[:description] if args.key?(:description)
825
882
  @expression = args[:expression] if args.key?(:expression)
@@ -1199,11 +1256,12 @@ module Google
1199
1256
  end
1200
1257
  end
1201
1258
 
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 ` ```
1259
+ # Report data for each row. For example if RunReportRequest contains: ```none "
1260
+ # dimensions": [ ` "name": "eventName" `, ` "name": "countryId" ` ], "metrics": [
1261
+ # ` "name": "eventCount" ` ] ``` One row with 'in_app_purchase' as the
1262
+ # eventName, 'JP' as the countryId, and 15 as the eventCount, would be: ```none "
1263
+ # dimensionValues": [ ` "value": "in_app_purchase" `, ` "value": "JP" ` ], "
1264
+ # metricValues": [ ` "value": "15" ` ] ```
1207
1265
  class Row
1208
1266
  include Google::Apis::Core::Hashable
1209
1267
 
@@ -1233,7 +1291,17 @@ module Google
1233
1291
  class RunPivotReportRequest
1234
1292
  include Google::Apis::Core::Hashable
1235
1293
 
1236
- # Specification for a cohort report.
1294
+ # Specification of cohorts for a cohort report. Cohort reports can be used for
1295
+ # example to create a time series of user retention for the cohort. For example,
1296
+ # you could select the cohort of users that were acquired in the first week of
1297
+ # September and follow that cohort for the next six weeks. Selecting the users
1298
+ # acquired in the first week of September cohort is specified in the `cohort`
1299
+ # object. Following that cohort for the next six weeks is specified in the `
1300
+ # cohortsRange` object. The report response could show a weekly time series
1301
+ # where say your app has retained 60% of this cohort after three weeks and 25%
1302
+ # of this cohort after six weeks. These two percentages can be calculated by the
1303
+ # metric `cohortActiveUsers/cohortTotalUsers` and will be separate rows in the
1304
+ # report.
1237
1305
  # Corresponds to the JSON property `cohortSpec`
1238
1306
  # @return [Google::Apis::AnalyticsdataV1alpha::CohortSpec]
1239
1307
  attr_accessor :cohort_spec
@@ -1395,11 +1463,156 @@ module Google
1395
1463
  end
1396
1464
  end
1397
1465
 
1466
+ # The request to generate a realtime report.
1467
+ class RunRealtimeReportRequest
1468
+ include Google::Apis::Core::Hashable
1469
+
1470
+ # To express dimension or metric filters. The fields in the same
1471
+ # FilterExpression need to be either all dimensions or all metrics.
1472
+ # Corresponds to the JSON property `dimensionFilter`
1473
+ # @return [Google::Apis::AnalyticsdataV1alpha::FilterExpression]
1474
+ attr_accessor :dimension_filter
1475
+
1476
+ # The dimensions requested and displayed.
1477
+ # Corresponds to the JSON property `dimensions`
1478
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::Dimension>]
1479
+ attr_accessor :dimensions
1480
+
1481
+ # The number of rows to return. If unspecified, 10 rows are returned. If -1, all
1482
+ # rows are returned.
1483
+ # Corresponds to the JSON property `limit`
1484
+ # @return [Fixnum]
1485
+ attr_accessor :limit
1486
+
1487
+ # Aggregation of metrics. Aggregated metric values will be shown in rows where
1488
+ # the dimension_values are set to "RESERVED_(MetricAggregation)".
1489
+ # Corresponds to the JSON property `metricAggregations`
1490
+ # @return [Array<String>]
1491
+ attr_accessor :metric_aggregations
1492
+
1493
+ # To express dimension or metric filters. The fields in the same
1494
+ # FilterExpression need to be either all dimensions or all metrics.
1495
+ # Corresponds to the JSON property `metricFilter`
1496
+ # @return [Google::Apis::AnalyticsdataV1alpha::FilterExpression]
1497
+ attr_accessor :metric_filter
1498
+
1499
+ # The metrics requested and displayed.
1500
+ # Corresponds to the JSON property `metrics`
1501
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::Metric>]
1502
+ attr_accessor :metrics
1503
+
1504
+ # Specifies how rows are ordered in the response.
1505
+ # Corresponds to the JSON property `orderBys`
1506
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::OrderBy>]
1507
+ attr_accessor :order_bys
1508
+
1509
+ # Toggles whether to return the current state of this Analytics Property's
1510
+ # Realtime quota. Quota is returned in [PropertyQuota](#PropertyQuota).
1511
+ # Corresponds to the JSON property `returnPropertyQuota`
1512
+ # @return [Boolean]
1513
+ attr_accessor :return_property_quota
1514
+ alias_method :return_property_quota?, :return_property_quota
1515
+
1516
+ def initialize(**args)
1517
+ update!(**args)
1518
+ end
1519
+
1520
+ # Update properties of this object
1521
+ def update!(**args)
1522
+ @dimension_filter = args[:dimension_filter] if args.key?(:dimension_filter)
1523
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
1524
+ @limit = args[:limit] if args.key?(:limit)
1525
+ @metric_aggregations = args[:metric_aggregations] if args.key?(:metric_aggregations)
1526
+ @metric_filter = args[:metric_filter] if args.key?(:metric_filter)
1527
+ @metrics = args[:metrics] if args.key?(:metrics)
1528
+ @order_bys = args[:order_bys] if args.key?(:order_bys)
1529
+ @return_property_quota = args[:return_property_quota] if args.key?(:return_property_quota)
1530
+ end
1531
+ end
1532
+
1533
+ # The response realtime report table corresponding to a request.
1534
+ class RunRealtimeReportResponse
1535
+ include Google::Apis::Core::Hashable
1536
+
1537
+ # Describes dimension columns. The number of DimensionHeaders and ordering of
1538
+ # DimensionHeaders matches the dimensions present in rows.
1539
+ # Corresponds to the JSON property `dimensionHeaders`
1540
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::DimensionHeader>]
1541
+ attr_accessor :dimension_headers
1542
+
1543
+ # If requested, the maximum values of metrics.
1544
+ # Corresponds to the JSON property `maximums`
1545
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::Row>]
1546
+ attr_accessor :maximums
1547
+
1548
+ # Describes metric columns. The number of MetricHeaders and ordering of
1549
+ # MetricHeaders matches the metrics present in rows.
1550
+ # Corresponds to the JSON property `metricHeaders`
1551
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::MetricHeader>]
1552
+ attr_accessor :metric_headers
1553
+
1554
+ # If requested, the minimum values of metrics.
1555
+ # Corresponds to the JSON property `minimums`
1556
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::Row>]
1557
+ attr_accessor :minimums
1558
+
1559
+ # Current state of all quotas for this Analytics Property. If any quota for a
1560
+ # property is exhausted, all requests to that property will return Resource
1561
+ # Exhausted errors.
1562
+ # Corresponds to the JSON property `propertyQuota`
1563
+ # @return [Google::Apis::AnalyticsdataV1alpha::PropertyQuota]
1564
+ attr_accessor :property_quota
1565
+
1566
+ # The total number of rows in the query result, regardless of the number of rows
1567
+ # returned in the response. For example if a query returns 175 rows and includes
1568
+ # limit = 50 in the API request, the response will contain row_count = 175 but
1569
+ # only 50 rows.
1570
+ # Corresponds to the JSON property `rowCount`
1571
+ # @return [Fixnum]
1572
+ attr_accessor :row_count
1573
+
1574
+ # Rows of dimension value combinations and metric values in the report.
1575
+ # Corresponds to the JSON property `rows`
1576
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::Row>]
1577
+ attr_accessor :rows
1578
+
1579
+ # If requested, the totaled values of metrics.
1580
+ # Corresponds to the JSON property `totals`
1581
+ # @return [Array<Google::Apis::AnalyticsdataV1alpha::Row>]
1582
+ attr_accessor :totals
1583
+
1584
+ def initialize(**args)
1585
+ update!(**args)
1586
+ end
1587
+
1588
+ # Update properties of this object
1589
+ def update!(**args)
1590
+ @dimension_headers = args[:dimension_headers] if args.key?(:dimension_headers)
1591
+ @maximums = args[:maximums] if args.key?(:maximums)
1592
+ @metric_headers = args[:metric_headers] if args.key?(:metric_headers)
1593
+ @minimums = args[:minimums] if args.key?(:minimums)
1594
+ @property_quota = args[:property_quota] if args.key?(:property_quota)
1595
+ @row_count = args[:row_count] if args.key?(:row_count)
1596
+ @rows = args[:rows] if args.key?(:rows)
1597
+ @totals = args[:totals] if args.key?(:totals)
1598
+ end
1599
+ end
1600
+
1398
1601
  # The request to generate a report.
1399
1602
  class RunReportRequest
1400
1603
  include Google::Apis::Core::Hashable
1401
1604
 
1402
- # Specification for a cohort report.
1605
+ # Specification of cohorts for a cohort report. Cohort reports can be used for
1606
+ # example to create a time series of user retention for the cohort. For example,
1607
+ # you could select the cohort of users that were acquired in the first week of
1608
+ # September and follow that cohort for the next six weeks. Selecting the users
1609
+ # acquired in the first week of September cohort is specified in the `cohort`
1610
+ # object. Following that cohort for the next six weeks is specified in the `
1611
+ # cohortsRange` object. The report response could show a weekly time series
1612
+ # where say your app has retained 60% of this cohort after three weeks and 25%
1613
+ # of this cohort after six weeks. These two percentages can be calculated by the
1614
+ # metric `cohortActiveUsers/cohortTotalUsers` and will be separate rows in the
1615
+ # report.
1403
1616
  # Corresponds to the JSON property `cohortSpec`
1404
1617
  # @return [Google::Apis::AnalyticsdataV1alpha::CohortSpec]
1405
1618
  attr_accessor :cohort_spec
@@ -1444,7 +1657,9 @@ module Google
1444
1657
  alias_method :keep_empty_rows?, :keep_empty_rows
1445
1658
 
1446
1659
  # The number of rows to return. If unspecified, 10 rows are returned. If -1, all
1447
- # rows are returned.
1660
+ # rows are returned. To learn more about this pagination parameter, see [
1661
+ # Pagination](https://developers.google.com/analytics/devguides/reporting/data/
1662
+ # v1/basics#pagination).
1448
1663
  # Corresponds to the JSON property `limit`
1449
1664
  # @return [Fixnum]
1450
1665
  attr_accessor :limit
@@ -1466,7 +1681,9 @@ module Google
1466
1681
  # @return [Array<Google::Apis::AnalyticsdataV1alpha::Metric>]
1467
1682
  attr_accessor :metrics
1468
1683
 
1469
- # The row count of the start row. The first row is counted as row 0.
1684
+ # The row count of the start row. The first row is counted as row 0. To learn
1685
+ # more about this pagination parameter, see [Pagination](https://developers.
1686
+ # google.com/analytics/devguides/reporting/data/v1/basics#pagination).
1470
1687
  # Corresponds to the JSON property `offset`
1471
1688
  # @return [Fixnum]
1472
1689
  attr_accessor :offset
@@ -1547,7 +1764,9 @@ module Google
1547
1764
  # The total number of rows in the query result, regardless of the number of rows
1548
1765
  # returned in the response. For example if a query returns 175 rows and includes
1549
1766
  # limit = 50 in the API request, the response will contain row_count = 175 but
1550
- # only 50 rows.
1767
+ # only 50 rows. To learn more about this pagination parameter, see [Pagination](
1768
+ # https://developers.google.com/analytics/devguides/reporting/data/v1/basics#
1769
+ # pagination).
1551
1770
  # Corresponds to the JSON property `rowCount`
1552
1771
  # @return [Fixnum]
1553
1772
  attr_accessor :row_count
@@ -1611,31 +1830,6 @@ module Google
1611
1830
  @value = args[:value] if args.key?(:value)
1612
1831
  end
1613
1832
  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
1833
  end
1640
1834
  end
1641
1835
  end