google-api-client 0.44.2 → 0.46.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (502) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/autoapprove.yml +49 -0
  3. data/.gitignore +2 -0
  4. data/CHANGELOG.md +295 -0
  5. data/api_list_config.yaml +8 -0
  6. data/bin/generate-api +77 -15
  7. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  8. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
  9. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  10. data/generated/google/apis/accessapproval_v1.rb +1 -1
  11. data/generated/google/apis/accessapproval_v1/classes.rb +25 -16
  12. data/generated/google/apis/accessapproval_v1/service.rb +27 -27
  13. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  14. data/generated/google/apis/accesscontextmanager_v1/classes.rb +68 -0
  15. data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
  16. data/generated/google/apis/accesscontextmanager_v1/service.rb +180 -0
  17. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
  19. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  20. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -0
  21. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +15 -0
  22. data/generated/google/apis/admin_directory_v1.rb +1 -1
  23. data/generated/google/apis/admin_directory_v1/classes.rb +135 -0
  24. data/generated/google/apis/admin_directory_v1/representations.rb +62 -0
  25. data/generated/google/apis/admin_directory_v1/service.rb +72 -0
  26. data/generated/google/apis/admin_reports_v1.rb +1 -1
  27. data/generated/google/apis/admob_v1.rb +6 -2
  28. data/generated/google/apis/admob_v1/classes.rb +31 -31
  29. data/generated/google/apis/admob_v1/service.rb +2 -1
  30. data/generated/google/apis/adsense_v1_4.rb +1 -1
  31. data/generated/google/apis/adsense_v1_4/service.rb +4 -1
  32. data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
  33. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
  34. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
  35. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2134 -0
  36. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  37. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +32 -1
  38. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +17 -0
  39. data/generated/google/apis/analyticsdata_v1alpha/service.rb +39 -0
  40. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  41. data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
  42. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  43. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  44. data/generated/google/apis/androidpublisher_v3/classes.rb +7 -0
  45. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  46. data/generated/google/apis/apigee_v1.rb +1 -1
  47. data/generated/google/apis/apigee_v1/classes.rb +442 -14
  48. data/generated/google/apis/apigee_v1/representations.rb +161 -1
  49. data/generated/google/apis/apigee_v1/service.rb +264 -44
  50. data/generated/google/apis/appengine_v1.rb +1 -1
  51. data/generated/google/apis/appengine_v1beta.rb +1 -1
  52. data/generated/google/apis/appsmarket_v2.rb +1 -1
  53. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  54. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +14 -0
  55. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +2 -0
  56. data/generated/google/apis/{apigateway_v1alpha1.rb → assuredworkloads_v1beta1.rb} +8 -8
  57. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +722 -0
  58. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +359 -0
  59. data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
  60. data/generated/google/apis/bigquery_v2.rb +1 -1
  61. data/generated/google/apis/bigquery_v2/classes.rb +140 -23
  62. data/generated/google/apis/bigquery_v2/representations.rb +36 -0
  63. data/generated/google/apis/bigquery_v2/service.rb +46 -0
  64. data/generated/google/apis/billingbudgets_v1.rb +38 -0
  65. data/generated/google/apis/billingbudgets_v1/classes.rb +362 -0
  66. data/generated/google/apis/billingbudgets_v1/representations.rb +170 -0
  67. data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
  68. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  69. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +16 -6
  70. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  71. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  72. data/generated/google/apis/binaryauthorization_v1/classes.rb +187 -0
  73. data/generated/google/apis/binaryauthorization_v1/representations.rb +74 -0
  74. data/generated/google/apis/binaryauthorization_v1/service.rb +35 -0
  75. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  76. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +187 -0
  77. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +74 -0
  78. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +35 -0
  79. data/generated/google/apis/books_v1.rb +1 -1
  80. data/generated/google/apis/books_v1/service.rb +2 -2
  81. data/generated/google/apis/calendar_v3.rb +1 -1
  82. data/generated/google/apis/calendar_v3/classes.rb +2 -1
  83. data/generated/google/apis/chat_v1.rb +1 -1
  84. data/generated/google/apis/chat_v1/classes.rb +79 -5
  85. data/generated/google/apis/chat_v1/representations.rb +35 -0
  86. data/generated/google/apis/civicinfo_v2.rb +1 -1
  87. data/generated/google/apis/civicinfo_v2/classes.rb +0 -24
  88. data/generated/google/apis/civicinfo_v2/representations.rb +0 -3
  89. data/generated/google/apis/classroom_v1.rb +7 -1
  90. data/generated/google/apis/classroom_v1/classes.rb +153 -21
  91. data/generated/google/apis/classroom_v1/representations.rb +43 -0
  92. data/generated/google/apis/classroom_v1/service.rb +240 -0
  93. data/generated/google/apis/cloudasset_v1.rb +1 -1
  94. data/generated/google/apis/cloudasset_v1/classes.rb +52 -0
  95. data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
  96. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  97. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +7 -5
  98. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  99. data/generated/google/apis/cloudbilling_v1/classes.rb +4 -4
  100. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  101. data/generated/google/apis/cloudbuild_v1/classes.rb +0 -34
  102. data/generated/google/apis/cloudbuild_v1/representations.rb +0 -15
  103. data/generated/google/apis/cloudbuild_v1/service.rb +7 -4
  104. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  105. data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -1
  106. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  107. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  108. data/generated/google/apis/cloudidentity_v1/classes.rb +127 -63
  109. data/generated/google/apis/cloudidentity_v1/representations.rb +29 -0
  110. data/generated/google/apis/cloudidentity_v1/service.rb +124 -70
  111. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  112. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +188 -0
  113. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +94 -0
  114. data/generated/google/apis/cloudidentity_v1beta1/service.rb +179 -0
  115. data/generated/google/apis/cloudkms_v1.rb +1 -1
  116. data/generated/google/apis/cloudkms_v1/classes.rb +7 -0
  117. data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
  118. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  119. data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
  120. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  121. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
  122. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  123. data/generated/google/apis/cloudsearch_v1/classes.rb +2 -1
  124. data/generated/google/apis/cloudshell_v1.rb +1 -1
  125. data/generated/google/apis/cloudshell_v1/classes.rb +342 -0
  126. data/generated/google/apis/cloudshell_v1/representations.rb +200 -0
  127. data/generated/google/apis/cloudshell_v1/service.rb +177 -0
  128. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  129. data/generated/google/apis/cloudtasks_v2/classes.rb +7 -0
  130. data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
  131. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  132. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +25 -19
  133. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
  134. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  135. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +7 -0
  136. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  137. data/generated/google/apis/composer_v1.rb +1 -1
  138. data/generated/google/apis/composer_v1/classes.rb +2 -3
  139. data/generated/google/apis/composer_v1beta1.rb +1 -1
  140. data/generated/google/apis/composer_v1beta1/classes.rb +4 -4
  141. data/generated/google/apis/composer_v1beta1/service.rb +37 -35
  142. data/generated/google/apis/compute_alpha.rb +1 -1
  143. data/generated/google/apis/compute_alpha/classes.rb +633 -146
  144. data/generated/google/apis/compute_alpha/representations.rb +131 -8
  145. data/generated/google/apis/compute_alpha/service.rb +1995 -1013
  146. data/generated/google/apis/compute_beta.rb +1 -1
  147. data/generated/google/apis/compute_beta/classes.rb +566 -94
  148. data/generated/google/apis/compute_beta/representations.rb +100 -1
  149. data/generated/google/apis/compute_beta/service.rb +805 -136
  150. data/generated/google/apis/compute_v1.rb +1 -1
  151. data/generated/google/apis/compute_v1/classes.rb +336 -53
  152. data/generated/google/apis/compute_v1/representations.rb +57 -1
  153. data/generated/google/apis/compute_v1/service.rb +739 -133
  154. data/generated/google/apis/container_v1.rb +1 -1
  155. data/generated/google/apis/container_v1/classes.rb +22 -10
  156. data/generated/google/apis/container_v1beta1.rb +1 -1
  157. data/generated/google/apis/container_v1beta1/classes.rb +50 -10
  158. data/generated/google/apis/container_v1beta1/representations.rb +15 -0
  159. data/generated/google/apis/content_v2.rb +1 -1
  160. data/generated/google/apis/content_v2/classes.rb +2 -1
  161. data/generated/google/apis/content_v2_1.rb +1 -1
  162. data/generated/google/apis/content_v2_1/classes.rb +108 -5
  163. data/generated/google/apis/content_v2_1/representations.rb +47 -0
  164. data/generated/google/apis/content_v2_1/service.rb +38 -1
  165. data/generated/google/apis/customsearch_v1.rb +1 -1
  166. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  167. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  168. data/generated/google/apis/datacatalog_v1beta1/classes.rb +1 -1
  169. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  170. data/generated/google/apis/dataflow_v1b3/classes.rb +152 -5
  171. data/generated/google/apis/dataflow_v1b3/representations.rb +30 -0
  172. data/generated/google/apis/dataflow_v1b3/service.rb +10 -1
  173. data/generated/google/apis/datafusion_v1.rb +1 -1
  174. data/generated/google/apis/dataproc_v1.rb +1 -1
  175. data/generated/google/apis/dataproc_v1/classes.rb +29 -3
  176. data/generated/google/apis/dataproc_v1/representations.rb +15 -0
  177. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  178. data/generated/google/apis/dataproc_v1beta2/classes.rb +33 -6
  179. data/generated/google/apis/dataproc_v1beta2/representations.rb +15 -0
  180. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  181. data/generated/google/apis/dfareporting_v3_3/classes.rb +0 -164
  182. data/generated/google/apis/dfareporting_v3_3/representations.rb +0 -42
  183. data/generated/google/apis/dfareporting_v3_3/service.rb +51 -54
  184. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  185. data/generated/google/apis/dfareporting_v3_4/classes.rb +0 -164
  186. data/generated/google/apis/dfareporting_v3_4/representations.rb +0 -42
  187. data/generated/google/apis/dfareporting_v3_4/service.rb +51 -54
  188. data/generated/google/apis/dialogflow_v2.rb +1 -1
  189. data/generated/google/apis/dialogflow_v2/classes.rb +208 -30
  190. data/generated/google/apis/dialogflow_v2/representations.rb +118 -7
  191. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  192. data/generated/google/apis/dialogflow_v2beta1/classes.rb +215 -38
  193. data/generated/google/apis/dialogflow_v2beta1/representations.rb +118 -7
  194. data/generated/google/apis/dialogflow_v2beta1/service.rb +60 -10
  195. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  196. data/generated/google/apis/dialogflow_v3beta1/classes.rb +311 -33
  197. data/generated/google/apis/dialogflow_v3beta1/representations.rb +153 -7
  198. data/generated/google/apis/dialogflow_v3beta1/service.rb +22 -9
  199. data/generated/google/apis/displayvideo_v1.rb +1 -1
  200. data/generated/google/apis/displayvideo_v1/classes.rb +38 -30
  201. data/generated/google/apis/displayvideo_v1/representations.rb +1 -0
  202. data/generated/google/apis/displayvideo_v1/service.rb +21 -18
  203. data/generated/google/apis/dlp_v2.rb +1 -1
  204. data/generated/google/apis/dlp_v2/classes.rb +30 -3
  205. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  206. data/generated/google/apis/dlp_v2/service.rb +328 -328
  207. data/generated/google/apis/dns_v1.rb +1 -1
  208. data/generated/google/apis/dns_v1/classes.rb +181 -0
  209. data/generated/google/apis/dns_v1/representations.rb +83 -0
  210. data/generated/google/apis/dns_v1/service.rb +10 -10
  211. data/generated/google/apis/dns_v1beta2.rb +1 -1
  212. data/generated/google/apis/dns_v1beta2/classes.rb +181 -0
  213. data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
  214. data/generated/google/apis/dns_v1beta2/service.rb +10 -10
  215. data/generated/google/apis/documentai_v1beta3.rb +36 -0
  216. data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
  217. data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
  218. data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
  219. data/generated/google/apis/domains_v1alpha2.rb +34 -0
  220. data/generated/google/apis/domains_v1alpha2/classes.rb +1534 -0
  221. data/generated/google/apis/domains_v1alpha2/representations.rb +605 -0
  222. data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
  223. data/generated/google/apis/{appsactivity_v1.rb → domains_v1beta1.rb} +11 -11
  224. data/generated/google/apis/domains_v1beta1/classes.rb +1534 -0
  225. data/generated/google/apis/domains_v1beta1/representations.rb +605 -0
  226. data/generated/google/apis/domains_v1beta1/service.rb +805 -0
  227. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  228. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
  229. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  230. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +3 -3
  231. data/generated/google/apis/drive_v2.rb +1 -1
  232. data/generated/google/apis/drive_v2/classes.rb +4 -1
  233. data/generated/google/apis/drive_v3.rb +1 -1
  234. data/generated/google/apis/drive_v3/classes.rb +4 -2
  235. data/generated/google/apis/file_v1.rb +1 -1
  236. data/generated/google/apis/file_v1/classes.rb +1 -1
  237. data/generated/google/apis/file_v1beta1.rb +1 -1
  238. data/generated/google/apis/file_v1beta1/classes.rb +1 -1
  239. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  240. data/generated/google/apis/firebasehosting_v1beta1/service.rb +4 -4
  241. data/generated/google/apis/firestore_v1.rb +1 -1
  242. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  243. data/generated/google/apis/fitness_v1.rb +13 -1
  244. data/generated/google/apis/fitness_v1/service.rb +3 -1
  245. data/generated/google/apis/gameservices_v1.rb +1 -1
  246. data/generated/google/apis/gameservices_v1/classes.rb +15 -14
  247. data/generated/google/apis/gameservices_v1/service.rb +54 -51
  248. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  249. data/generated/google/apis/gameservices_v1beta/classes.rb +15 -14
  250. data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
  251. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  252. data/generated/google/apis/genomics_v2alpha1/classes.rb +104 -0
  253. data/generated/google/apis/genomics_v2alpha1/representations.rb +47 -0
  254. data/generated/google/apis/gmail_v1.rb +1 -1
  255. data/generated/google/apis/gmail_v1/service.rb +1 -1
  256. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
  257. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
  258. data/generated/google/apis/healthcare_v1.rb +1 -1
  259. data/generated/google/apis/healthcare_v1/classes.rb +7 -5
  260. data/generated/google/apis/healthcare_v1/service.rb +1 -3
  261. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  262. data/generated/google/apis/healthcare_v1beta1/classes.rb +1111 -278
  263. data/generated/google/apis/healthcare_v1beta1/representations.rb +486 -68
  264. data/generated/google/apis/healthcare_v1beta1/service.rb +1475 -247
  265. data/generated/google/apis/iam_v1.rb +1 -1
  266. data/generated/google/apis/iam_v1/service.rb +2 -1
  267. data/generated/google/apis/jobs_v2.rb +1 -1
  268. data/generated/google/apis/jobs_v2/classes.rb +798 -0
  269. data/generated/google/apis/jobs_v2/representations.rb +272 -0
  270. data/generated/google/apis/jobs_v3.rb +1 -1
  271. data/generated/google/apis/jobs_v3/classes.rb +798 -0
  272. data/generated/google/apis/jobs_v3/representations.rb +272 -0
  273. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  274. data/generated/google/apis/jobs_v3p1beta1/classes.rb +759 -0
  275. data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
  276. data/generated/google/apis/licensing_v1.rb +4 -3
  277. data/generated/google/apis/licensing_v1/classes.rb +1 -1
  278. data/generated/google/apis/licensing_v1/service.rb +55 -85
  279. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  280. data/generated/google/apis/lifesciences_v2beta/classes.rb +104 -0
  281. data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
  282. data/generated/google/apis/localservices_v1.rb +1 -1
  283. data/generated/google/apis/localservices_v1/service.rb +20 -20
  284. data/generated/google/apis/logging_v2.rb +1 -1
  285. data/generated/google/apis/logging_v2/classes.rb +98 -55
  286. data/generated/google/apis/logging_v2/representations.rb +32 -0
  287. data/generated/google/apis/logging_v2/service.rb +1214 -264
  288. data/generated/google/apis/managedidentities_v1.rb +1 -1
  289. data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
  290. data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
  291. data/generated/google/apis/managedidentities_v1/service.rb +1 -4
  292. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  293. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -9
  294. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -1
  295. data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
  296. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  297. data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -9
  298. data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -1
  299. data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
  300. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  301. data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
  302. data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
  303. data/generated/google/apis/monitoring_v1.rb +1 -1
  304. data/generated/google/apis/monitoring_v1/classes.rb +10 -10
  305. data/generated/google/apis/monitoring_v3.rb +1 -1
  306. data/generated/google/apis/monitoring_v3/classes.rb +99 -45
  307. data/generated/google/apis/monitoring_v3/representations.rb +18 -0
  308. data/generated/google/apis/monitoring_v3/service.rb +5 -5
  309. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  310. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +68 -0
  311. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +23 -0
  312. data/generated/google/apis/{plus_v1.rb → oauth2_v2.rb} +12 -15
  313. data/generated/google/apis/oauth2_v2/classes.rb +165 -0
  314. data/generated/google/apis/oauth2_v2/representations.rb +68 -0
  315. data/generated/google/apis/oauth2_v2/service.rb +158 -0
  316. data/generated/google/apis/osconfig_v1.rb +3 -3
  317. data/generated/google/apis/osconfig_v1/service.rb +4 -4
  318. data/generated/google/apis/osconfig_v1beta.rb +3 -3
  319. data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
  320. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  321. data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -2
  322. data/generated/google/apis/oslogin_v1alpha/service.rb +13 -13
  323. data/generated/google/apis/people_v1.rb +1 -1
  324. data/generated/google/apis/people_v1/classes.rb +48 -47
  325. data/generated/google/apis/people_v1/service.rb +12 -10
  326. data/generated/google/apis/playablelocations_v3.rb +1 -1
  327. data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
  328. data/generated/google/apis/poly_v1.rb +3 -4
  329. data/generated/google/apis/poly_v1/classes.rb +65 -79
  330. data/generated/google/apis/poly_v1/service.rb +50 -63
  331. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  332. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
  333. data/generated/google/apis/pubsub_v1.rb +1 -1
  334. data/generated/google/apis/pubsub_v1/classes.rb +7 -0
  335. data/generated/google/apis/pubsub_v1/representations.rb +1 -0
  336. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  337. data/generated/google/apis/pubsub_v1beta2/classes.rb +7 -0
  338. data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
  339. data/generated/google/apis/pubsublite_v1.rb +1 -1
  340. data/generated/google/apis/pubsublite_v1/classes.rb +72 -0
  341. data/generated/google/apis/pubsublite_v1/representations.rb +33 -0
  342. data/generated/google/apis/pubsublite_v1/service.rb +33 -0
  343. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  344. data/generated/google/apis/realtimebidding_v1/classes.rb +84 -123
  345. data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
  346. data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
  347. data/generated/google/apis/recommender_v1.rb +1 -1
  348. data/generated/google/apis/recommender_v1/service.rb +4 -2
  349. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  350. data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
  351. data/generated/google/apis/redis_v1.rb +1 -1
  352. data/generated/google/apis/redis_v1/classes.rb +5 -391
  353. data/generated/google/apis/redis_v1/representations.rb +0 -139
  354. data/generated/google/apis/redis_v1/service.rb +2 -2
  355. data/generated/google/apis/redis_v1beta1.rb +1 -1
  356. data/generated/google/apis/redis_v1beta1/classes.rb +33 -391
  357. data/generated/google/apis/redis_v1beta1/representations.rb +12 -137
  358. data/generated/google/apis/redis_v1beta1/service.rb +36 -2
  359. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  360. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  361. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  362. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  363. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  364. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  365. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  366. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  367. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  368. data/generated/google/apis/reseller_v1.rb +2 -2
  369. data/generated/google/apis/reseller_v1/classes.rb +151 -219
  370. data/generated/google/apis/reseller_v1/service.rb +122 -173
  371. data/generated/google/apis/run_v1.rb +1 -1
  372. data/generated/google/apis/run_v1/classes.rb +15 -135
  373. data/generated/google/apis/run_v1/representations.rb +0 -61
  374. data/generated/google/apis/run_v1/service.rb +0 -342
  375. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  376. data/generated/google/apis/sasportal_v1alpha1/classes.rb +20 -0
  377. data/generated/google/apis/sasportal_v1alpha1/representations.rb +13 -0
  378. data/generated/google/apis/sasportal_v1alpha1/service.rb +479 -0
  379. data/generated/google/apis/searchconsole_v1.rb +7 -1
  380. data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
  381. data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
  382. data/generated/google/apis/searchconsole_v1/service.rb +287 -0
  383. data/generated/google/apis/secretmanager_v1.rb +1 -1
  384. data/generated/google/apis/securitycenter_v1.rb +1 -1
  385. data/generated/google/apis/securitycenter_v1/classes.rb +5 -199
  386. data/generated/google/apis/securitycenter_v1/representations.rb +0 -72
  387. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  388. data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -196
  389. data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -72
  390. data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
  391. data/generated/google/apis/securitycenter_v1beta2/classes.rb +2 -196
  392. data/generated/google/apis/securitycenter_v1beta2/representations.rb +0 -72
  393. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  394. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +12 -12
  395. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +32 -30
  396. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  397. data/generated/google/apis/servicecontrol_v1/classes.rb +6 -4
  398. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  399. data/generated/google/apis/servicecontrol_v2/classes.rb +5 -3
  400. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  401. data/generated/google/apis/servicemanagement_v1/classes.rb +0 -22
  402. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -13
  403. data/generated/google/apis/servicemanagement_v1/service.rb +0 -36
  404. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  405. data/generated/google/apis/servicenetworking_v1/classes.rb +107 -4
  406. data/generated/google/apis/servicenetworking_v1/representations.rb +34 -0
  407. data/generated/google/apis/servicenetworking_v1/service.rb +2 -2
  408. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  409. data/generated/google/apis/servicenetworking_v1beta/classes.rb +107 -4
  410. data/generated/google/apis/servicenetworking_v1beta/representations.rb +34 -0
  411. data/generated/google/apis/sheets_v4.rb +1 -1
  412. data/generated/google/apis/sheets_v4/classes.rb +175 -85
  413. data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
  414. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +307 -0
  415. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +173 -0
  416. data/generated/google/apis/smartdevicemanagement_v1/service.rb +309 -0
  417. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  418. data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
  419. data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
  420. data/generated/google/apis/spanner_v1.rb +1 -1
  421. data/generated/google/apis/spanner_v1/classes.rb +7 -0
  422. data/generated/google/apis/spanner_v1/representations.rb +1 -0
  423. data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
  424. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +229 -109
  425. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +137 -87
  426. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +244 -244
  427. data/generated/google/apis/storage_v1.rb +1 -1
  428. data/generated/google/apis/storage_v1/classes.rb +2 -10
  429. data/generated/google/apis/storage_v1/representations.rb +0 -1
  430. data/generated/google/apis/storage_v1/service.rb +3 -2
  431. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  432. data/generated/google/apis/storagetransfer_v1/classes.rb +21 -0
  433. data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
  434. data/generated/google/apis/storagetransfer_v1/service.rb +22 -20
  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_v1.rb +1 -1
  438. data/generated/google/apis/sts_v1/classes.rb +10 -9
  439. data/generated/google/apis/sts_v1beta.rb +1 -1
  440. data/generated/google/apis/sts_v1beta/classes.rb +67 -67
  441. data/generated/google/apis/sts_v1beta/service.rb +2 -2
  442. data/generated/google/apis/tagmanager_v2.rb +1 -1
  443. data/generated/google/apis/tasks_v1.rb +1 -1
  444. data/generated/google/apis/tasks_v1/classes.rb +1 -1
  445. data/generated/google/apis/tasks_v1/service.rb +4 -3
  446. data/generated/google/apis/testing_v1.rb +1 -1
  447. data/generated/google/apis/testing_v1/classes.rb +49 -2
  448. data/generated/google/apis/testing_v1/representations.rb +20 -0
  449. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  450. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  451. data/generated/google/apis/tpu_v1.rb +1 -1
  452. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  453. data/generated/google/apis/tpu_v1/service.rb +8 -8
  454. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  455. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  456. data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
  457. data/generated/google/apis/translate_v3.rb +1 -1
  458. data/generated/google/apis/translate_v3/classes.rb +2 -2
  459. data/generated/google/apis/vault_v1.rb +1 -1
  460. data/generated/google/apis/vault_v1/classes.rb +333 -0
  461. data/generated/google/apis/vault_v1/representations.rb +162 -0
  462. data/generated/google/apis/vault_v1/service.rb +151 -0
  463. data/generated/google/apis/videointelligence_v1.rb +1 -1
  464. data/generated/google/apis/videointelligence_v1/classes.rb +751 -28
  465. data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
  466. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  467. data/generated/google/apis/videointelligence_v1beta2/classes.rb +751 -28
  468. data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
  469. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  470. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +749 -26
  471. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
  472. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  473. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +734 -11
  474. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
  475. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  476. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +667 -28
  477. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
  478. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  479. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  480. data/generated/google/apis/workflowexecutions_v1beta.rb +2 -2
  481. data/generated/google/apis/workflowexecutions_v1beta/service.rb +1 -1
  482. data/generated/google/apis/workflows_v1beta.rb +3 -2
  483. data/generated/google/apis/workflows_v1beta/service.rb +2 -1
  484. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  485. data/generated/google/apis/youtube_v3.rb +1 -1
  486. data/generated/google/apis/youtube_v3/classes.rb +12 -945
  487. data/generated/google/apis/youtube_v3/representations.rb +0 -445
  488. data/generated/google/apis/youtube_v3/service.rb +3 -198
  489. data/google-api-client.gemspec +1 -1
  490. data/lib/google/apis/core/api_command.rb +1 -0
  491. data/lib/google/apis/version.rb +1 -1
  492. data/synth.py +40 -0
  493. metadata +41 -19
  494. data/generated/google/apis/apigateway_v1alpha1/classes.rb +0 -633
  495. data/generated/google/apis/apigateway_v1alpha1/representations.rb +0 -250
  496. data/generated/google/apis/apigateway_v1alpha1/service.rb +0 -623
  497. data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
  498. data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
  499. data/generated/google/apis/appsactivity_v1/service.rb +0 -126
  500. data/generated/google/apis/plus_v1/classes.rb +0 -2094
  501. data/generated/google/apis/plus_v1/representations.rb +0 -907
  502. data/generated/google/apis/plus_v1/service.rb +0 -451
@@ -27,7 +27,7 @@ module Google
27
27
  # @see http://developers.google.com/admin-sdk/
28
28
  module AdminReportsV1
29
29
  VERSION = 'ReportsV1'
30
- REVISION = '20200819'
30
+ REVISION = '20201013'
31
31
 
32
32
  # View audit reports for your G Suite domain
33
33
  AUTH_ADMIN_REPORTS_AUDIT_READONLY = 'https://www.googleapis.com/auth/admin.reports.audit.readonly'
@@ -20,12 +20,16 @@ module Google
20
20
  module Apis
21
21
  # AdMob API
22
22
  #
23
- # The Google AdMob API lets you programmatically get reports on earnings.
23
+ # The AdMob API allows publishers to programmatically get information about
24
+ # their AdMob account.
24
25
  #
25
26
  # @see https://developers.google.com/admob/api/
26
27
  module AdmobV1
27
28
  VERSION = 'V1'
28
- REVISION = '20200905'
29
+ REVISION = '20201013'
30
+
31
+ # See your AdMob data
32
+ AUTH_ADMOB_REPORT = 'https://www.googleapis.com/auth/admob.report'
29
33
  end
30
34
  end
31
35
  end
@@ -22,31 +22,31 @@ module Google
22
22
  module Apis
23
23
  module AdmobV1
24
24
 
25
- # Represents a whole or partial calendar date, e.g. a birthday. The time of day
26
- # and time zone are either specified elsewhere or are not significant. The date
27
- # is relative to the Proleptic Gregorian Calendar. This can represent: * A full
28
- # date, with non-zero year, month and day values * A month and day value, with a
29
- # zero year, e.g. an anniversary * A year on its own, with zero month and day
30
- # values * A year and month value, with a zero day, e.g. a credit card
31
- # expiration date Related types are google.type.TimeOfDay and `google.protobuf.
32
- # Timestamp`.
25
+ # Represents a whole or partial calendar date, such as a birthday. The time of
26
+ # day and time zone are either specified elsewhere or are insignificant. The
27
+ # date is relative to the Gregorian Calendar. This can represent one of the
28
+ # following: * A full date, with non-zero year, month, and day values * A month
29
+ # and day value, with a zero year, such as an anniversary * A year on its own,
30
+ # with zero month and day values * A year and month value, with a zero day, such
31
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
32
+ # google.protobuf.Timestamp`.
33
33
  class Date
34
34
  include Google::Apis::Core::Hashable
35
35
 
36
- # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if
37
- # specifying a year by itself or a year and month where the day is not
38
- # significant.
36
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
37
+ # specify a year by itself or a year and month where the day isn't significant.
39
38
  # Corresponds to the JSON property `day`
40
39
  # @return [Fixnum]
41
40
  attr_accessor :day
42
41
 
43
- # Month of year. Must be from 1 to 12, or 0 if specifying a year without a month
42
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
44
43
  # and day.
45
44
  # Corresponds to the JSON property `month`
46
45
  # @return [Fixnum]
47
46
  attr_accessor :month
48
47
 
49
- # Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.
48
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
49
+ # year.
50
50
  # Corresponds to the JSON property `year`
51
51
  # @return [Fixnum]
52
52
  attr_accessor :year
@@ -67,26 +67,26 @@ module Google
67
67
  class DateRange
68
68
  include Google::Apis::Core::Hashable
69
69
 
70
- # Represents a whole or partial calendar date, e.g. a birthday. The time of day
71
- # and time zone are either specified elsewhere or are not significant. The date
72
- # is relative to the Proleptic Gregorian Calendar. This can represent: * A full
73
- # date, with non-zero year, month and day values * A month and day value, with a
74
- # zero year, e.g. an anniversary * A year on its own, with zero month and day
75
- # values * A year and month value, with a zero day, e.g. a credit card
76
- # expiration date Related types are google.type.TimeOfDay and `google.protobuf.
77
- # Timestamp`.
70
+ # Represents a whole or partial calendar date, such as a birthday. The time of
71
+ # day and time zone are either specified elsewhere or are insignificant. The
72
+ # date is relative to the Gregorian Calendar. This can represent one of the
73
+ # following: * A full date, with non-zero year, month, and day values * A month
74
+ # and day value, with a zero year, such as an anniversary * A year on its own,
75
+ # with zero month and day values * A year and month value, with a zero day, such
76
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
77
+ # google.protobuf.Timestamp`.
78
78
  # Corresponds to the JSON property `endDate`
79
79
  # @return [Google::Apis::AdmobV1::Date]
80
80
  attr_accessor :end_date
81
81
 
82
- # Represents a whole or partial calendar date, e.g. a birthday. The time of day
83
- # and time zone are either specified elsewhere or are not significant. The date
84
- # is relative to the Proleptic Gregorian Calendar. This can represent: * A full
85
- # date, with non-zero year, month and day values * A month and day value, with a
86
- # zero year, e.g. an anniversary * A year on its own, with zero month and day
87
- # values * A year and month value, with a zero day, e.g. a credit card
88
- # expiration date Related types are google.type.TimeOfDay and `google.protobuf.
89
- # Timestamp`.
82
+ # Represents a whole or partial calendar date, such as a birthday. The time of
83
+ # day and time zone are either specified elsewhere or are insignificant. The
84
+ # date is relative to the Gregorian Calendar. This can represent one of the
85
+ # following: * A full date, with non-zero year, month, and day values * A month
86
+ # and day value, with a zero year, such as an anniversary * A year on its own,
87
+ # with zero month and day values * A year and month value, with a zero day, such
88
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
89
+ # google.protobuf.Timestamp`.
90
90
  # Corresponds to the JSON property `startDate`
91
91
  # @return [Google::Apis::AdmobV1::Date]
92
92
  attr_accessor :start_date
@@ -345,7 +345,7 @@ module Google
345
345
 
346
346
  # Maximum number of report data rows to return. If the value is not set, the API
347
347
  # returns as many rows as possible, up to 100000. Acceptable values are 1-100000,
348
- # inclusive. Any other values are treated as 100000.
348
+ # inclusive. Values larger than 100000 return an error.
349
349
  # Corresponds to the JSON property `maxReportRows`
350
350
  # @return [Fixnum]
351
351
  attr_accessor :max_report_rows
@@ -485,7 +485,7 @@ module Google
485
485
 
486
486
  # Maximum number of report data rows to return. If the value is not set, the API
487
487
  # returns as many rows as possible, up to 100000. Acceptable values are 1-100000,
488
- # inclusive. Any other values are treated as 100000.
488
+ # inclusive. Values larger than 100000 return an error.
489
489
  # Corresponds to the JSON property `maxReportRows`
490
490
  # @return [Fixnum]
491
491
  attr_accessor :max_report_rows
@@ -22,7 +22,8 @@ module Google
22
22
  module AdmobV1
23
23
  # AdMob API
24
24
  #
25
- # The Google AdMob API lets you programmatically get reports on earnings.
25
+ # The AdMob API allows publishers to programmatically get information about
26
+ # their AdMob account.
26
27
  #
27
28
  # @example
28
29
  # require 'google/apis/admob_v1'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/adsense/management/
26
26
  module AdsenseV1_4
27
27
  VERSION = 'V1_4'
28
- REVISION = '20200311'
28
+ REVISION = '20201002'
29
29
 
30
30
  # View and manage your AdSense data
31
31
  AUTH_ADSENSE = 'https://www.googleapis.com/auth/adsense'
@@ -129,6 +129,8 @@ module Google
129
129
  # Account which contains the ad client.
130
130
  # @param [String] ad_client_id
131
131
  # Ad client to get the code for.
132
+ # @param [String] tag_partner
133
+ # Tag partner to include in the ad code snippet.
132
134
  # @param [String] fields
133
135
  # Selector specifying which fields to include in a partial response.
134
136
  # @param [String] quota_user
@@ -148,12 +150,13 @@ module Google
148
150
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
149
151
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
150
152
  # @raise [Google::Apis::AuthorizationError] Authorization is required
151
- def get_account_adclient_ad_code(account_id, ad_client_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
153
+ def get_account_adclient_ad_code(account_id, ad_client_id, tag_partner: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
152
154
  command = make_simple_command(:get, 'accounts/{accountId}/adclients/{adClientId}/adcode', options)
153
155
  command.response_representation = Google::Apis::AdsenseV1_4::AdCode::Representation
154
156
  command.response_class = Google::Apis::AdsenseV1_4::AdCode
155
157
  command.params['accountId'] = account_id unless account_id.nil?
156
158
  command.params['adClientId'] = ad_client_id unless ad_client_id.nil?
159
+ command.query['tagPartner'] = tag_partner unless tag_partner.nil?
157
160
  command.query['fields'] = fields unless fields.nil?
158
161
  command.query['quotaUser'] = quota_user unless quota_user.nil?
159
162
  command.query['userIp'] = user_ip unless user_ip.nil?
@@ -0,0 +1,43 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'google/apis/analyticsadmin_v1alpha/service.rb'
16
+ require 'google/apis/analyticsadmin_v1alpha/classes.rb'
17
+ require 'google/apis/analyticsadmin_v1alpha/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # Google Analytics Admin API
22
+ #
23
+ #
24
+ #
25
+ # @see http://code.google.com/apis/analytics/docs/mgmt/home.html
26
+ module AnalyticsadminV1alpha
27
+ VERSION = 'V1alpha'
28
+ REVISION = '20201015'
29
+
30
+ # Edit Google Analytics management entities
31
+ AUTH_ANALYTICS_EDIT = 'https://www.googleapis.com/auth/analytics.edit'
32
+
33
+ # Manage Google Analytics Account users by email address
34
+ AUTH_ANALYTICS_MANAGE_USERS = 'https://www.googleapis.com/auth/analytics.manage.users'
35
+
36
+ # View Google Analytics user permissions
37
+ AUTH_ANALYTICS_MANAGE_USERS_READONLY = 'https://www.googleapis.com/auth/analytics.manage.users.readonly'
38
+
39
+ # View your Google Analytics data
40
+ AUTH_ANALYTICS_READONLY = 'https://www.googleapis.com/auth/analytics.readonly'
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,1361 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module AnalyticsadminV1alpha
24
+
25
+ # A resource message representing a Google Analytics account.
26
+ class GoogleAnalyticsAdminV1alphaAccount
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Country of business. Must be a non-deprecated code for a UN M.49 region. https:
30
+ # //unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.
31
+ # html
32
+ # Corresponds to the JSON property `countryCode`
33
+ # @return [String]
34
+ attr_accessor :country_code
35
+
36
+ # Output only. Time when this account was originally created.
37
+ # Corresponds to the JSON property `createTime`
38
+ # @return [String]
39
+ attr_accessor :create_time
40
+
41
+ # Output only. Indicates whether this Account is soft-deleted or not. Deleted
42
+ # accounts are excluded from List results unless specifically requested.
43
+ # Corresponds to the JSON property `deleted`
44
+ # @return [Boolean]
45
+ attr_accessor :deleted
46
+ alias_method :deleted?, :deleted
47
+
48
+ # Required. Human-readable display name for this account.
49
+ # Corresponds to the JSON property `displayName`
50
+ # @return [String]
51
+ attr_accessor :display_name
52
+
53
+ # Output only. Resource name of this account. Format: accounts/`account` Example:
54
+ # "accounts/100"
55
+ # Corresponds to the JSON property `name`
56
+ # @return [String]
57
+ attr_accessor :name
58
+
59
+ # Output only. Time when account payload fields were last updated.
60
+ # Corresponds to the JSON property `updateTime`
61
+ # @return [String]
62
+ attr_accessor :update_time
63
+
64
+ def initialize(**args)
65
+ update!(**args)
66
+ end
67
+
68
+ # Update properties of this object
69
+ def update!(**args)
70
+ @country_code = args[:country_code] if args.key?(:country_code)
71
+ @create_time = args[:create_time] if args.key?(:create_time)
72
+ @deleted = args[:deleted] if args.key?(:deleted)
73
+ @display_name = args[:display_name] if args.key?(:display_name)
74
+ @name = args[:name] if args.key?(:name)
75
+ @update_time = args[:update_time] if args.key?(:update_time)
76
+ end
77
+ end
78
+
79
+ # A virtual resource representing an overview of an account and all its child
80
+ # GA4 properties.
81
+ class GoogleAnalyticsAdminV1alphaAccountSummary
82
+ include Google::Apis::Core::Hashable
83
+
84
+ # Resource name of account referred to by this account summary Format: accounts/`
85
+ # account_id` Example: "accounts/1000"
86
+ # Corresponds to the JSON property `account`
87
+ # @return [String]
88
+ attr_accessor :account
89
+
90
+ # Display name for the account referred to in this account summary.
91
+ # Corresponds to the JSON property `displayName`
92
+ # @return [String]
93
+ attr_accessor :display_name
94
+
95
+ # Resource name for this account summary. Format: accountSummaries/`account_id`
96
+ # Example: "accountSummaries/1000"
97
+ # Corresponds to the JSON property `name`
98
+ # @return [String]
99
+ attr_accessor :name
100
+
101
+ # List of summaries for child accounts of this account.
102
+ # Corresponds to the JSON property `propertySummaries`
103
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaPropertySummary>]
104
+ attr_accessor :property_summaries
105
+
106
+ def initialize(**args)
107
+ update!(**args)
108
+ end
109
+
110
+ # Update properties of this object
111
+ def update!(**args)
112
+ @account = args[:account] if args.key?(:account)
113
+ @display_name = args[:display_name] if args.key?(:display_name)
114
+ @name = args[:name] if args.key?(:name)
115
+ @property_summaries = args[:property_summaries] if args.key?(:property_summaries)
116
+ end
117
+ end
118
+
119
+ # A resource message representing a Google Analytics Android app stream.
120
+ class GoogleAnalyticsAdminV1alphaAndroidAppDataStream
121
+ include Google::Apis::Core::Hashable
122
+
123
+ # Output only. Time when this stream was originally created.
124
+ # Corresponds to the JSON property `createTime`
125
+ # @return [String]
126
+ attr_accessor :create_time
127
+
128
+ # Human-readable display name for the Data Stream. The max allowed display name
129
+ # length is 255 UTF-16 code units.
130
+ # Corresponds to the JSON property `displayName`
131
+ # @return [String]
132
+ attr_accessor :display_name
133
+
134
+ # Output only. ID of the corresponding Android app in Firebase, if any. This ID
135
+ # can change if the Android app is deleted and recreated.
136
+ # Corresponds to the JSON property `firebaseAppId`
137
+ # @return [String]
138
+ attr_accessor :firebase_app_id
139
+
140
+ # Output only. Resource name of this Data Stream. Format: properties/`
141
+ # property_id`/androidAppDataStreams/`stream_id` Example: "properties/1000/
142
+ # androidAppDataStreams/2000"
143
+ # Corresponds to the JSON property `name`
144
+ # @return [String]
145
+ attr_accessor :name
146
+
147
+ # Immutable. The package name for the app being measured. Example: "com.example.
148
+ # myandroidapp"
149
+ # Corresponds to the JSON property `packageName`
150
+ # @return [String]
151
+ attr_accessor :package_name
152
+
153
+ # Output only. Time when stream payload fields were last updated.
154
+ # Corresponds to the JSON property `updateTime`
155
+ # @return [String]
156
+ attr_accessor :update_time
157
+
158
+ def initialize(**args)
159
+ update!(**args)
160
+ end
161
+
162
+ # Update properties of this object
163
+ def update!(**args)
164
+ @create_time = args[:create_time] if args.key?(:create_time)
165
+ @display_name = args[:display_name] if args.key?(:display_name)
166
+ @firebase_app_id = args[:firebase_app_id] if args.key?(:firebase_app_id)
167
+ @name = args[:name] if args.key?(:name)
168
+ @package_name = args[:package_name] if args.key?(:package_name)
169
+ @update_time = args[:update_time] if args.key?(:update_time)
170
+ end
171
+ end
172
+
173
+ # Read-only resource used to summarize a principal's effective roles.
174
+ class GoogleAnalyticsAdminV1alphaAuditUserLink
175
+ include Google::Apis::Core::Hashable
176
+
177
+ # Roles directly assigned to this user for this entity. Format: predefinedRoles/
178
+ # read Excludes roles that are inherited from an account (if this is for a
179
+ # property), group, or organization admin role.
180
+ # Corresponds to the JSON property `directRoles`
181
+ # @return [Array<String>]
182
+ attr_accessor :direct_roles
183
+
184
+ # Union of all permissions a user has at this account or property (includes
185
+ # direct permissions, group-inherited permissions, etc.). Format:
186
+ # predefinedRoles/read
187
+ # Corresponds to the JSON property `effectiveRoles`
188
+ # @return [Array<String>]
189
+ attr_accessor :effective_roles
190
+
191
+ # Email address of the linked user
192
+ # Corresponds to the JSON property `emailAddress`
193
+ # @return [String]
194
+ attr_accessor :email_address
195
+
196
+ # Example format: properties/1234/userLinks/5678
197
+ # Corresponds to the JSON property `name`
198
+ # @return [String]
199
+ attr_accessor :name
200
+
201
+ def initialize(**args)
202
+ update!(**args)
203
+ end
204
+
205
+ # Update properties of this object
206
+ def update!(**args)
207
+ @direct_roles = args[:direct_roles] if args.key?(:direct_roles)
208
+ @effective_roles = args[:effective_roles] if args.key?(:effective_roles)
209
+ @email_address = args[:email_address] if args.key?(:email_address)
210
+ @name = args[:name] if args.key?(:name)
211
+ end
212
+ end
213
+
214
+ # Request message for AuditUserLinks RPC.
215
+ class GoogleAnalyticsAdminV1alphaAuditUserLinksRequest
216
+ include Google::Apis::Core::Hashable
217
+
218
+ # The maximum number of user links to return. The service may return fewer than
219
+ # this value. If unspecified, at most 1000 user links will be returned. The
220
+ # maximum value is 5000; values above 5000 will be coerced to 5000.
221
+ # Corresponds to the JSON property `pageSize`
222
+ # @return [Fixnum]
223
+ attr_accessor :page_size
224
+
225
+ # A page token, received from a previous `AuditUserLinks` call. Provide this to
226
+ # retrieve the subsequent page. When paginating, all other parameters provided
227
+ # to `AuditUserLinks` must match the call that provided the page token.
228
+ # Corresponds to the JSON property `pageToken`
229
+ # @return [String]
230
+ attr_accessor :page_token
231
+
232
+ def initialize(**args)
233
+ update!(**args)
234
+ end
235
+
236
+ # Update properties of this object
237
+ def update!(**args)
238
+ @page_size = args[:page_size] if args.key?(:page_size)
239
+ @page_token = args[:page_token] if args.key?(:page_token)
240
+ end
241
+ end
242
+
243
+ # Response message for AuditUserLinks RPC.
244
+ class GoogleAnalyticsAdminV1alphaAuditUserLinksResponse
245
+ include Google::Apis::Core::Hashable
246
+
247
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
248
+ # field is omitted, there are no subsequent pages.
249
+ # Corresponds to the JSON property `nextPageToken`
250
+ # @return [String]
251
+ attr_accessor :next_page_token
252
+
253
+ # List of AuditUserLinks. These will be ordered stably, but in an arbitrary
254
+ # order.
255
+ # Corresponds to the JSON property `userLinks`
256
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAuditUserLink>]
257
+ attr_accessor :user_links
258
+
259
+ def initialize(**args)
260
+ update!(**args)
261
+ end
262
+
263
+ # Update properties of this object
264
+ def update!(**args)
265
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
266
+ @user_links = args[:user_links] if args.key?(:user_links)
267
+ end
268
+ end
269
+
270
+ # Request message for BatchCreateUserLinks RPC.
271
+ class GoogleAnalyticsAdminV1alphaBatchCreateUserLinksRequest
272
+ include Google::Apis::Core::Hashable
273
+
274
+ # Optional. If notify_new_users is set, then email new users that they've been
275
+ # given permissions on the resource.
276
+ # Corresponds to the JSON property `notifyNewUsers`
277
+ # @return [Boolean]
278
+ attr_accessor :notify_new_users
279
+ alias_method :notify_new_users?, :notify_new_users
280
+
281
+ # The requests specifying the user links to create. A maximum of 1000 user links
282
+ # can be created in a batch.
283
+ # Corresponds to the JSON property `requests`
284
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaCreateUserLinkRequest>]
285
+ attr_accessor :requests
286
+
287
+ def initialize(**args)
288
+ update!(**args)
289
+ end
290
+
291
+ # Update properties of this object
292
+ def update!(**args)
293
+ @notify_new_users = args[:notify_new_users] if args.key?(:notify_new_users)
294
+ @requests = args[:requests] if args.key?(:requests)
295
+ end
296
+ end
297
+
298
+ # Response message for BatchCreateUserLinks RPC.
299
+ class GoogleAnalyticsAdminV1alphaBatchCreateUserLinksResponse
300
+ include Google::Apis::Core::Hashable
301
+
302
+ # The user links created.
303
+ # Corresponds to the JSON property `userLinks`
304
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink>]
305
+ attr_accessor :user_links
306
+
307
+ def initialize(**args)
308
+ update!(**args)
309
+ end
310
+
311
+ # Update properties of this object
312
+ def update!(**args)
313
+ @user_links = args[:user_links] if args.key?(:user_links)
314
+ end
315
+ end
316
+
317
+ # Request message for BatchDeleteUserLinks RPC.
318
+ class GoogleAnalyticsAdminV1alphaBatchDeleteUserLinksRequest
319
+ include Google::Apis::Core::Hashable
320
+
321
+ # The requests specifying the user links to update. A maximum of 1000 user links
322
+ # can be updated in a batch.
323
+ # Corresponds to the JSON property `requests`
324
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest>]
325
+ attr_accessor :requests
326
+
327
+ def initialize(**args)
328
+ update!(**args)
329
+ end
330
+
331
+ # Update properties of this object
332
+ def update!(**args)
333
+ @requests = args[:requests] if args.key?(:requests)
334
+ end
335
+ end
336
+
337
+ # Response message for BatchGetUserLinks RPC.
338
+ class GoogleAnalyticsAdminV1alphaBatchGetUserLinksResponse
339
+ include Google::Apis::Core::Hashable
340
+
341
+ # The requested user links.
342
+ # Corresponds to the JSON property `userLinks`
343
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink>]
344
+ attr_accessor :user_links
345
+
346
+ def initialize(**args)
347
+ update!(**args)
348
+ end
349
+
350
+ # Update properties of this object
351
+ def update!(**args)
352
+ @user_links = args[:user_links] if args.key?(:user_links)
353
+ end
354
+ end
355
+
356
+ # Request message for BatchUpdateUserLinks RPC.
357
+ class GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksRequest
358
+ include Google::Apis::Core::Hashable
359
+
360
+ # The requests specifying the user links to update. A maximum of 1000 user links
361
+ # can be updated in a batch.
362
+ # Corresponds to the JSON property `requests`
363
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest>]
364
+ attr_accessor :requests
365
+
366
+ def initialize(**args)
367
+ update!(**args)
368
+ end
369
+
370
+ # Update properties of this object
371
+ def update!(**args)
372
+ @requests = args[:requests] if args.key?(:requests)
373
+ end
374
+ end
375
+
376
+ # Response message for BatchUpdateUserLinks RPC.
377
+ class GoogleAnalyticsAdminV1alphaBatchUpdateUserLinksResponse
378
+ include Google::Apis::Core::Hashable
379
+
380
+ # The user links updated.
381
+ # Corresponds to the JSON property `userLinks`
382
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink>]
383
+ attr_accessor :user_links
384
+
385
+ def initialize(**args)
386
+ update!(**args)
387
+ end
388
+
389
+ # Update properties of this object
390
+ def update!(**args)
391
+ @user_links = args[:user_links] if args.key?(:user_links)
392
+ end
393
+ end
394
+
395
+ # Request message for CreateUserLink RPC. Users can have multiple email
396
+ # addresses associated with their Google account, and one of these email
397
+ # addresses is the "primary" email address. Any of the email addresses
398
+ # associated with a Google account may be used for a new UserLink, but the
399
+ # returned UserLink will always contain the "primary" email address. As a result,
400
+ # the input and output email address for this request may differ.
401
+ class GoogleAnalyticsAdminV1alphaCreateUserLinkRequest
402
+ include Google::Apis::Core::Hashable
403
+
404
+ # Optional. If notify_new_user is set, then email new user that they've been
405
+ # given permissions on the resource.
406
+ # Corresponds to the JSON property `notifyNewUser`
407
+ # @return [Boolean]
408
+ attr_accessor :notify_new_user
409
+ alias_method :notify_new_user?, :notify_new_user
410
+
411
+ # Required. Example format: accounts/1234
412
+ # Corresponds to the JSON property `parent`
413
+ # @return [String]
414
+ attr_accessor :parent
415
+
416
+ # A resource message representing a user's permissions on an Account or Property
417
+ # resource.
418
+ # Corresponds to the JSON property `userLink`
419
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink]
420
+ attr_accessor :user_link
421
+
422
+ def initialize(**args)
423
+ update!(**args)
424
+ end
425
+
426
+ # Update properties of this object
427
+ def update!(**args)
428
+ @notify_new_user = args[:notify_new_user] if args.key?(:notify_new_user)
429
+ @parent = args[:parent] if args.key?(:parent)
430
+ @user_link = args[:user_link] if args.key?(:user_link)
431
+ end
432
+ end
433
+
434
+ # A resource message representing data sharing settings of a Google Analytics
435
+ # account.
436
+ class GoogleAnalyticsAdminV1alphaDataSharingSettings
437
+ include Google::Apis::Core::Hashable
438
+
439
+ # Output only. Resource name. Format: accounts/`account`/dataSharingSettings
440
+ # Example: "accounts/1000/dataSharingSettings"
441
+ # Corresponds to the JSON property `name`
442
+ # @return [String]
443
+ attr_accessor :name
444
+
445
+ # Allows any of Google sales to access the data in order to suggest
446
+ # configuration changes to improve results.
447
+ # Corresponds to the JSON property `sharingWithGoogleAnySalesEnabled`
448
+ # @return [Boolean]
449
+ attr_accessor :sharing_with_google_any_sales_enabled
450
+ alias_method :sharing_with_google_any_sales_enabled?, :sharing_with_google_any_sales_enabled
451
+
452
+ # Allows Google sales teams that are assigned to the customer to access the data
453
+ # in order to suggest configuration changes to improve results. Sales team
454
+ # restrictions still apply when enabled.
455
+ # Corresponds to the JSON property `sharingWithGoogleAssignedSalesEnabled`
456
+ # @return [Boolean]
457
+ attr_accessor :sharing_with_google_assigned_sales_enabled
458
+ alias_method :sharing_with_google_assigned_sales_enabled?, :sharing_with_google_assigned_sales_enabled
459
+
460
+ # Allows Google to use the data to improve other Google products or services.
461
+ # Corresponds to the JSON property `sharingWithGoogleProductsEnabled`
462
+ # @return [Boolean]
463
+ attr_accessor :sharing_with_google_products_enabled
464
+ alias_method :sharing_with_google_products_enabled?, :sharing_with_google_products_enabled
465
+
466
+ # Allows Google support to access the data in order to help troubleshoot issues.
467
+ # Corresponds to the JSON property `sharingWithGoogleSupportEnabled`
468
+ # @return [Boolean]
469
+ attr_accessor :sharing_with_google_support_enabled
470
+ alias_method :sharing_with_google_support_enabled?, :sharing_with_google_support_enabled
471
+
472
+ # Allows Google to share the data anonymously in aggregate form with others.
473
+ # Corresponds to the JSON property `sharingWithOthersEnabled`
474
+ # @return [Boolean]
475
+ attr_accessor :sharing_with_others_enabled
476
+ alias_method :sharing_with_others_enabled?, :sharing_with_others_enabled
477
+
478
+ def initialize(**args)
479
+ update!(**args)
480
+ end
481
+
482
+ # Update properties of this object
483
+ def update!(**args)
484
+ @name = args[:name] if args.key?(:name)
485
+ @sharing_with_google_any_sales_enabled = args[:sharing_with_google_any_sales_enabled] if args.key?(:sharing_with_google_any_sales_enabled)
486
+ @sharing_with_google_assigned_sales_enabled = args[:sharing_with_google_assigned_sales_enabled] if args.key?(:sharing_with_google_assigned_sales_enabled)
487
+ @sharing_with_google_products_enabled = args[:sharing_with_google_products_enabled] if args.key?(:sharing_with_google_products_enabled)
488
+ @sharing_with_google_support_enabled = args[:sharing_with_google_support_enabled] if args.key?(:sharing_with_google_support_enabled)
489
+ @sharing_with_others_enabled = args[:sharing_with_others_enabled] if args.key?(:sharing_with_others_enabled)
490
+ end
491
+ end
492
+
493
+ # Request message for DeleteUserLink RPC.
494
+ class GoogleAnalyticsAdminV1alphaDeleteUserLinkRequest
495
+ include Google::Apis::Core::Hashable
496
+
497
+ # Required. Example format: accounts/1234/userLinks/5678
498
+ # Corresponds to the JSON property `name`
499
+ # @return [String]
500
+ attr_accessor :name
501
+
502
+ def initialize(**args)
503
+ update!(**args)
504
+ end
505
+
506
+ # Update properties of this object
507
+ def update!(**args)
508
+ @name = args[:name] if args.key?(:name)
509
+ end
510
+ end
511
+
512
+ # Singleton resource under a WebDataStream, configuring measurement of
513
+ # additional site interactions and content.
514
+ class GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings
515
+ include Google::Apis::Core::Hashable
516
+
517
+ # Capture events when your visitors view content on your site that has articles
518
+ # or blog posts.
519
+ # Corresponds to the JSON property `articlesAndBlogsEnabled`
520
+ # @return [Boolean]
521
+ attr_accessor :articles_and_blogs_enabled
522
+ alias_method :articles_and_blogs_enabled?, :articles_and_blogs_enabled
523
+
524
+ # Capture events when your visitors view content on your site that has
525
+ # structured data (eg, articles, blog posts, product details screens, etc.).
526
+ # Corresponds to the JSON property `contentViewsEnabled`
527
+ # @return [Boolean]
528
+ attr_accessor :content_views_enabled
529
+ alias_method :content_views_enabled?, :content_views_enabled
530
+
531
+ # If enabled, capture a click event each time a visitor clicks a link or element
532
+ # that has data attributes beginning with "data-ga".
533
+ # Corresponds to the JSON property `dataTaggedElementClicksEnabled`
534
+ # @return [Boolean]
535
+ attr_accessor :data_tagged_element_clicks_enabled
536
+ alias_method :data_tagged_element_clicks_enabled?, :data_tagged_element_clicks_enabled
537
+
538
+ # Domains to exclude from measurement. Max length is 1024 characters.
539
+ # Corresponds to the JSON property `excludedDomains`
540
+ # @return [String]
541
+ attr_accessor :excluded_domains
542
+
543
+ # If enabled, capture a file download event each time a link is clicked with a
544
+ # common document, compressed file, application, video, or audio extension.
545
+ # Corresponds to the JSON property `fileDownloadsEnabled`
546
+ # @return [Boolean]
547
+ attr_accessor :file_downloads_enabled
548
+ alias_method :file_downloads_enabled?, :file_downloads_enabled
549
+
550
+ # If enabled, capture a view search results event each time a visitor interacts
551
+ # with a form on your site.
552
+ # Corresponds to the JSON property `formInteractionsEnabled`
553
+ # @return [Boolean]
554
+ attr_accessor :form_interactions_enabled
555
+ alias_method :form_interactions_enabled?, :form_interactions_enabled
556
+
557
+ # Output only. Resource name of this Data Stream. Format: properties/`
558
+ # property_id`/webDataStreams/`stream_id`/enhancedMeasurementSettings Example: "
559
+ # properties/1000/webDataStreams/2000/enhancedMeasurementSettings"
560
+ # Corresponds to the JSON property `name`
561
+ # @return [String]
562
+ attr_accessor :name
563
+
564
+ # If enabled, capture an outbound click event each time a visitor clicks a link
565
+ # that leads them away from your domain.
566
+ # Corresponds to the JSON property `outboundClicksEnabled`
567
+ # @return [Boolean]
568
+ attr_accessor :outbound_clicks_enabled
569
+ alias_method :outbound_clicks_enabled?, :outbound_clicks_enabled
570
+
571
+ # If enabled, capture a page view event each time the website changes the
572
+ # browser history state.
573
+ # Corresponds to the JSON property `pageChangesEnabled`
574
+ # @return [Boolean]
575
+ attr_accessor :page_changes_enabled
576
+ alias_method :page_changes_enabled?, :page_changes_enabled
577
+
578
+ # If enabled, capture a page view event each time a page loads.
579
+ # Corresponds to the JSON property `pageLoadsEnabled`
580
+ # @return [Boolean]
581
+ attr_accessor :page_loads_enabled
582
+ alias_method :page_loads_enabled?, :page_loads_enabled
583
+
584
+ # Output only. If enabled, capture a page view event each time a page loads or
585
+ # the website changes the browser history state.
586
+ # Corresponds to the JSON property `pageViewsEnabled`
587
+ # @return [Boolean]
588
+ attr_accessor :page_views_enabled
589
+ alias_method :page_views_enabled?, :page_views_enabled
590
+
591
+ # Capture events when your visitors view content on your site that has product
592
+ # details screens, etc.
593
+ # Corresponds to the JSON property `productsAndEcommerceEnabled`
594
+ # @return [Boolean]
595
+ attr_accessor :products_and_ecommerce_enabled
596
+ alias_method :products_and_ecommerce_enabled?, :products_and_ecommerce_enabled
597
+
598
+ # If enabled, capture scroll events each time a visitor gets to the bottom of a
599
+ # page.
600
+ # Corresponds to the JSON property `scrollsEnabled`
601
+ # @return [Boolean]
602
+ attr_accessor :scrolls_enabled
603
+ alias_method :scrolls_enabled?, :scrolls_enabled
604
+
605
+ # Required. URL query parameters to interpret as site search parameters. Max
606
+ # length is 1024 characters. Must not be empty.
607
+ # Corresponds to the JSON property `searchQueryParameter`
608
+ # @return [String]
609
+ attr_accessor :search_query_parameter
610
+
611
+ # If enabled, capture a view search results event each time a visitor performs a
612
+ # search on your site (based on a query parameter).
613
+ # Corresponds to the JSON property `siteSearchEnabled`
614
+ # @return [Boolean]
615
+ attr_accessor :site_search_enabled
616
+ alias_method :site_search_enabled?, :site_search_enabled
617
+
618
+ # Indicates whether Enhanced Measurement Settings will be used to automatically
619
+ # measure interactions and content on this web stream. Changing this value does
620
+ # not affect the settings themselves, but determines whether they are respected.
621
+ # Corresponds to the JSON property `streamEnabled`
622
+ # @return [Boolean]
623
+ attr_accessor :stream_enabled
624
+ alias_method :stream_enabled?, :stream_enabled
625
+
626
+ # Additional URL query parameters. Max length is 1024 characters.
627
+ # Corresponds to the JSON property `urlQueryParameter`
628
+ # @return [String]
629
+ attr_accessor :url_query_parameter
630
+
631
+ # If enabled, capture video play, progress, and complete events as visitors view
632
+ # embedded videos on your site.
633
+ # Corresponds to the JSON property `videoEngagementEnabled`
634
+ # @return [Boolean]
635
+ attr_accessor :video_engagement_enabled
636
+ alias_method :video_engagement_enabled?, :video_engagement_enabled
637
+
638
+ def initialize(**args)
639
+ update!(**args)
640
+ end
641
+
642
+ # Update properties of this object
643
+ def update!(**args)
644
+ @articles_and_blogs_enabled = args[:articles_and_blogs_enabled] if args.key?(:articles_and_blogs_enabled)
645
+ @content_views_enabled = args[:content_views_enabled] if args.key?(:content_views_enabled)
646
+ @data_tagged_element_clicks_enabled = args[:data_tagged_element_clicks_enabled] if args.key?(:data_tagged_element_clicks_enabled)
647
+ @excluded_domains = args[:excluded_domains] if args.key?(:excluded_domains)
648
+ @file_downloads_enabled = args[:file_downloads_enabled] if args.key?(:file_downloads_enabled)
649
+ @form_interactions_enabled = args[:form_interactions_enabled] if args.key?(:form_interactions_enabled)
650
+ @name = args[:name] if args.key?(:name)
651
+ @outbound_clicks_enabled = args[:outbound_clicks_enabled] if args.key?(:outbound_clicks_enabled)
652
+ @page_changes_enabled = args[:page_changes_enabled] if args.key?(:page_changes_enabled)
653
+ @page_loads_enabled = args[:page_loads_enabled] if args.key?(:page_loads_enabled)
654
+ @page_views_enabled = args[:page_views_enabled] if args.key?(:page_views_enabled)
655
+ @products_and_ecommerce_enabled = args[:products_and_ecommerce_enabled] if args.key?(:products_and_ecommerce_enabled)
656
+ @scrolls_enabled = args[:scrolls_enabled] if args.key?(:scrolls_enabled)
657
+ @search_query_parameter = args[:search_query_parameter] if args.key?(:search_query_parameter)
658
+ @site_search_enabled = args[:site_search_enabled] if args.key?(:site_search_enabled)
659
+ @stream_enabled = args[:stream_enabled] if args.key?(:stream_enabled)
660
+ @url_query_parameter = args[:url_query_parameter] if args.key?(:url_query_parameter)
661
+ @video_engagement_enabled = args[:video_engagement_enabled] if args.key?(:video_engagement_enabled)
662
+ end
663
+ end
664
+
665
+ # A link between an GA4 property and a Firebase project.
666
+ class GoogleAnalyticsAdminV1alphaFirebaseLink
667
+ include Google::Apis::Core::Hashable
668
+
669
+ # Output only. Time when this FirebaseLink was originally created.
670
+ # Corresponds to the JSON property `createTime`
671
+ # @return [String]
672
+ attr_accessor :create_time
673
+
674
+ # Maximum user access to the GA4 property allowed to admins of the linked
675
+ # Firebase project.
676
+ # Corresponds to the JSON property `maximumUserAccess`
677
+ # @return [String]
678
+ attr_accessor :maximum_user_access
679
+
680
+ # Output only. Example format: properties/1234/firebaseLinks/5678
681
+ # Corresponds to the JSON property `name`
682
+ # @return [String]
683
+ attr_accessor :name
684
+
685
+ # Immutable. Firebase project resource name. When creating a FirebaseLink, you
686
+ # may provide this resource name using either a project number or project ID.
687
+ # Once this resource has been created, returned FirebaseLinks will always have a
688
+ # project_name that contains a project number. Format: 'projects/`project number`
689
+ # ' Example: 'projects/1234'
690
+ # Corresponds to the JSON property `project`
691
+ # @return [String]
692
+ attr_accessor :project
693
+
694
+ def initialize(**args)
695
+ update!(**args)
696
+ end
697
+
698
+ # Update properties of this object
699
+ def update!(**args)
700
+ @create_time = args[:create_time] if args.key?(:create_time)
701
+ @maximum_user_access = args[:maximum_user_access] if args.key?(:maximum_user_access)
702
+ @name = args[:name] if args.key?(:name)
703
+ @project = args[:project] if args.key?(:project)
704
+ end
705
+ end
706
+
707
+ # Read-only resource with the tag for sending data from a website to a
708
+ # WebDataStream.
709
+ class GoogleAnalyticsAdminV1alphaGlobalSiteTag
710
+ include Google::Apis::Core::Hashable
711
+
712
+ # Immutable. JavaScript code snippet to be pasted as the first item into the
713
+ # head tag of every webpage to measure.
714
+ # Corresponds to the JSON property `snippet`
715
+ # @return [String]
716
+ attr_accessor :snippet
717
+
718
+ def initialize(**args)
719
+ update!(**args)
720
+ end
721
+
722
+ # Update properties of this object
723
+ def update!(**args)
724
+ @snippet = args[:snippet] if args.key?(:snippet)
725
+ end
726
+ end
727
+
728
+ # A link between an GA4 property and a Google Ads account.
729
+ class GoogleAnalyticsAdminV1alphaGoogleAdsLink
730
+ include Google::Apis::Core::Hashable
731
+
732
+ # Enable personalized advertising features with this integration. Automatically
733
+ # publish my Google Analytics audience lists and Google Analytics remarketing
734
+ # events/parameters to the linked Google Ads account. If this field is not set
735
+ # on create/update it will be defaulted to true.
736
+ # Corresponds to the JSON property `adsPersonalizationEnabled`
737
+ # @return [Boolean]
738
+ attr_accessor :ads_personalization_enabled
739
+ alias_method :ads_personalization_enabled?, :ads_personalization_enabled
740
+
741
+ # Output only. If true, this link is for a Google Ads manager account.
742
+ # Corresponds to the JSON property `canManageClients`
743
+ # @return [Boolean]
744
+ attr_accessor :can_manage_clients
745
+ alias_method :can_manage_clients?, :can_manage_clients
746
+
747
+ # Output only. Time when this link was originally created.
748
+ # Corresponds to the JSON property `createTime`
749
+ # @return [String]
750
+ attr_accessor :create_time
751
+
752
+ # Immutable. Google Ads customer ID.
753
+ # Corresponds to the JSON property `customerId`
754
+ # @return [String]
755
+ attr_accessor :customer_id
756
+
757
+ # Output only. Email address of the user that created the link. An empty string
758
+ # will be returned if the email address can't be retrieved.
759
+ # Corresponds to the JSON property `emailAddress`
760
+ # @return [String]
761
+ attr_accessor :email_address
762
+
763
+ # Output only. Format: properties/`propertyId`/googleAdsLinks/`googleAdsLinkId`
764
+ # Note: googleAdsLinkId is not the Google Ads customer ID.
765
+ # Corresponds to the JSON property `name`
766
+ # @return [String]
767
+ attr_accessor :name
768
+
769
+ # Immutable. Format: properties/`propertyId`
770
+ # Corresponds to the JSON property `parent`
771
+ # @return [String]
772
+ attr_accessor :parent
773
+
774
+ # Output only. Time when this link was last updated.
775
+ # Corresponds to the JSON property `updateTime`
776
+ # @return [String]
777
+ attr_accessor :update_time
778
+
779
+ def initialize(**args)
780
+ update!(**args)
781
+ end
782
+
783
+ # Update properties of this object
784
+ def update!(**args)
785
+ @ads_personalization_enabled = args[:ads_personalization_enabled] if args.key?(:ads_personalization_enabled)
786
+ @can_manage_clients = args[:can_manage_clients] if args.key?(:can_manage_clients)
787
+ @create_time = args[:create_time] if args.key?(:create_time)
788
+ @customer_id = args[:customer_id] if args.key?(:customer_id)
789
+ @email_address = args[:email_address] if args.key?(:email_address)
790
+ @name = args[:name] if args.key?(:name)
791
+ @parent = args[:parent] if args.key?(:parent)
792
+ @update_time = args[:update_time] if args.key?(:update_time)
793
+ end
794
+ end
795
+
796
+ # A resource message representing a Google Analytics IOS app stream.
797
+ class GoogleAnalyticsAdminV1alphaIosAppDataStream
798
+ include Google::Apis::Core::Hashable
799
+
800
+ # Required. Immutable. The Apple App Store Bundle ID for the app Example: "com.
801
+ # example.myiosapp"
802
+ # Corresponds to the JSON property `bundleId`
803
+ # @return [String]
804
+ attr_accessor :bundle_id
805
+
806
+ # Output only. Time when this stream was originally created.
807
+ # Corresponds to the JSON property `createTime`
808
+ # @return [String]
809
+ attr_accessor :create_time
810
+
811
+ # Human-readable display name for the Data Stream. The max allowed display name
812
+ # length is 255 UTF-16 code units.
813
+ # Corresponds to the JSON property `displayName`
814
+ # @return [String]
815
+ attr_accessor :display_name
816
+
817
+ # Output only. ID of the corresponding iOS app in Firebase, if any. This ID can
818
+ # change if the iOS app is deleted and recreated.
819
+ # Corresponds to the JSON property `firebaseAppId`
820
+ # @return [String]
821
+ attr_accessor :firebase_app_id
822
+
823
+ # Output only. Resource name of this Data Stream. Format: properties/`
824
+ # property_id`/iosAppDataStreams/`stream_id` Example: "properties/1000/
825
+ # iosAppDataStreams/2000"
826
+ # Corresponds to the JSON property `name`
827
+ # @return [String]
828
+ attr_accessor :name
829
+
830
+ # Output only. Time when stream payload fields were last updated.
831
+ # Corresponds to the JSON property `updateTime`
832
+ # @return [String]
833
+ attr_accessor :update_time
834
+
835
+ def initialize(**args)
836
+ update!(**args)
837
+ end
838
+
839
+ # Update properties of this object
840
+ def update!(**args)
841
+ @bundle_id = args[:bundle_id] if args.key?(:bundle_id)
842
+ @create_time = args[:create_time] if args.key?(:create_time)
843
+ @display_name = args[:display_name] if args.key?(:display_name)
844
+ @firebase_app_id = args[:firebase_app_id] if args.key?(:firebase_app_id)
845
+ @name = args[:name] if args.key?(:name)
846
+ @update_time = args[:update_time] if args.key?(:update_time)
847
+ end
848
+ end
849
+
850
+ # Response message for ListAccountSummaries RPC.
851
+ class GoogleAnalyticsAdminV1alphaListAccountSummariesResponse
852
+ include Google::Apis::Core::Hashable
853
+
854
+ # Account summaries of all accounts the caller has access to.
855
+ # Corresponds to the JSON property `accountSummaries`
856
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccountSummary>]
857
+ attr_accessor :account_summaries
858
+
859
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
860
+ # field is omitted, there are no subsequent pages.
861
+ # Corresponds to the JSON property `nextPageToken`
862
+ # @return [String]
863
+ attr_accessor :next_page_token
864
+
865
+ def initialize(**args)
866
+ update!(**args)
867
+ end
868
+
869
+ # Update properties of this object
870
+ def update!(**args)
871
+ @account_summaries = args[:account_summaries] if args.key?(:account_summaries)
872
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
873
+ end
874
+ end
875
+
876
+ # Request message for ListAccounts RPC.
877
+ class GoogleAnalyticsAdminV1alphaListAccountsResponse
878
+ include Google::Apis::Core::Hashable
879
+
880
+ # Results that were accessible to the caller.
881
+ # Corresponds to the JSON property `accounts`
882
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount>]
883
+ attr_accessor :accounts
884
+
885
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
886
+ # field is omitted, there are no subsequent pages.
887
+ # Corresponds to the JSON property `nextPageToken`
888
+ # @return [String]
889
+ attr_accessor :next_page_token
890
+
891
+ def initialize(**args)
892
+ update!(**args)
893
+ end
894
+
895
+ # Update properties of this object
896
+ def update!(**args)
897
+ @accounts = args[:accounts] if args.key?(:accounts)
898
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
899
+ end
900
+ end
901
+
902
+ # Request message for ListAndroidDataStreams RPC.
903
+ class GoogleAnalyticsAdminV1alphaListAndroidAppDataStreamsResponse
904
+ include Google::Apis::Core::Hashable
905
+
906
+ # Results that matched the filter criteria and were accessible to the caller.
907
+ # Corresponds to the JSON property `androidAppDataStreams`
908
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAndroidAppDataStream>]
909
+ attr_accessor :android_app_data_streams
910
+
911
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
912
+ # field is omitted, there are no subsequent pages.
913
+ # Corresponds to the JSON property `nextPageToken`
914
+ # @return [String]
915
+ attr_accessor :next_page_token
916
+
917
+ def initialize(**args)
918
+ update!(**args)
919
+ end
920
+
921
+ # Update properties of this object
922
+ def update!(**args)
923
+ @android_app_data_streams = args[:android_app_data_streams] if args.key?(:android_app_data_streams)
924
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
925
+ end
926
+ end
927
+
928
+ # Response message for ListFirebaseLinks RPC
929
+ class GoogleAnalyticsAdminV1alphaListFirebaseLinksResponse
930
+ include Google::Apis::Core::Hashable
931
+
932
+ # List of FirebaseLinks. This will have at most one value.
933
+ # Corresponds to the JSON property `firebaseLinks`
934
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaFirebaseLink>]
935
+ attr_accessor :firebase_links
936
+
937
+ def initialize(**args)
938
+ update!(**args)
939
+ end
940
+
941
+ # Update properties of this object
942
+ def update!(**args)
943
+ @firebase_links = args[:firebase_links] if args.key?(:firebase_links)
944
+ end
945
+ end
946
+
947
+ # Response message for ListGoogleAdsLinks RPC.
948
+ class GoogleAnalyticsAdminV1alphaListGoogleAdsLinksResponse
949
+ include Google::Apis::Core::Hashable
950
+
951
+ # List of GoogleAdsLinks.
952
+ # Corresponds to the JSON property `googleAdsLinks`
953
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaGoogleAdsLink>]
954
+ attr_accessor :google_ads_links
955
+
956
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
957
+ # field is omitted, there are no subsequent pages.
958
+ # Corresponds to the JSON property `nextPageToken`
959
+ # @return [String]
960
+ attr_accessor :next_page_token
961
+
962
+ def initialize(**args)
963
+ update!(**args)
964
+ end
965
+
966
+ # Update properties of this object
967
+ def update!(**args)
968
+ @google_ads_links = args[:google_ads_links] if args.key?(:google_ads_links)
969
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
970
+ end
971
+ end
972
+
973
+ # Request message for ListIosAppDataStreams RPC.
974
+ class GoogleAnalyticsAdminV1alphaListIosAppDataStreamsResponse
975
+ include Google::Apis::Core::Hashable
976
+
977
+ # Results that matched the filter criteria and were accessible to the caller.
978
+ # Corresponds to the JSON property `iosAppDataStreams`
979
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaIosAppDataStream>]
980
+ attr_accessor :ios_app_data_streams
981
+
982
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
983
+ # field is omitted, there are no subsequent pages.
984
+ # Corresponds to the JSON property `nextPageToken`
985
+ # @return [String]
986
+ attr_accessor :next_page_token
987
+
988
+ def initialize(**args)
989
+ update!(**args)
990
+ end
991
+
992
+ # Update properties of this object
993
+ def update!(**args)
994
+ @ios_app_data_streams = args[:ios_app_data_streams] if args.key?(:ios_app_data_streams)
995
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
996
+ end
997
+ end
998
+
999
+ # Response message for ListProperties RPC.
1000
+ class GoogleAnalyticsAdminV1alphaListPropertiesResponse
1001
+ include Google::Apis::Core::Hashable
1002
+
1003
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1004
+ # field is omitted, there are no subsequent pages.
1005
+ # Corresponds to the JSON property `nextPageToken`
1006
+ # @return [String]
1007
+ attr_accessor :next_page_token
1008
+
1009
+ # Results that matched the filter criteria and were accessible to the caller.
1010
+ # Corresponds to the JSON property `properties`
1011
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaProperty>]
1012
+ attr_accessor :properties
1013
+
1014
+ def initialize(**args)
1015
+ update!(**args)
1016
+ end
1017
+
1018
+ # Update properties of this object
1019
+ def update!(**args)
1020
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1021
+ @properties = args[:properties] if args.key?(:properties)
1022
+ end
1023
+ end
1024
+
1025
+ # Response message for ListUserLinks RPC.
1026
+ class GoogleAnalyticsAdminV1alphaListUserLinksResponse
1027
+ include Google::Apis::Core::Hashable
1028
+
1029
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1030
+ # field is omitted, there are no subsequent pages.
1031
+ # Corresponds to the JSON property `nextPageToken`
1032
+ # @return [String]
1033
+ attr_accessor :next_page_token
1034
+
1035
+ # List of UserLinks. These will be ordered stably, but in an arbitrary order.
1036
+ # Corresponds to the JSON property `userLinks`
1037
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink>]
1038
+ attr_accessor :user_links
1039
+
1040
+ def initialize(**args)
1041
+ update!(**args)
1042
+ end
1043
+
1044
+ # Update properties of this object
1045
+ def update!(**args)
1046
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1047
+ @user_links = args[:user_links] if args.key?(:user_links)
1048
+ end
1049
+ end
1050
+
1051
+ # Request message for ListWebDataStreams RPC.
1052
+ class GoogleAnalyticsAdminV1alphaListWebDataStreamsResponse
1053
+ include Google::Apis::Core::Hashable
1054
+
1055
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
1056
+ # field is omitted, there are no subsequent pages.
1057
+ # Corresponds to the JSON property `nextPageToken`
1058
+ # @return [String]
1059
+ attr_accessor :next_page_token
1060
+
1061
+ # Results that matched the filter criteria and were accessible to the caller.
1062
+ # Corresponds to the JSON property `webDataStreams`
1063
+ # @return [Array<Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaWebDataStream>]
1064
+ attr_accessor :web_data_streams
1065
+
1066
+ def initialize(**args)
1067
+ update!(**args)
1068
+ end
1069
+
1070
+ # Update properties of this object
1071
+ def update!(**args)
1072
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1073
+ @web_data_streams = args[:web_data_streams] if args.key?(:web_data_streams)
1074
+ end
1075
+ end
1076
+
1077
+ # A resource message representing a Google Analytics GA4 property.
1078
+ class GoogleAnalyticsAdminV1alphaProperty
1079
+ include Google::Apis::Core::Hashable
1080
+
1081
+ # Output only. Time when the entity was originally created.
1082
+ # Corresponds to the JSON property `createTime`
1083
+ # @return [String]
1084
+ attr_accessor :create_time
1085
+
1086
+ # The currency type used in reports involving monetary values. Format: https://
1087
+ # en.wikipedia.org/wiki/ISO_4217 Examples: "USD", "EUR", "JPY"
1088
+ # Corresponds to the JSON property `currencyCode`
1089
+ # @return [String]
1090
+ attr_accessor :currency_code
1091
+
1092
+ # Output only. Indicates whether this Property is soft-deleted or not. Deleted
1093
+ # properties are excluded from List results unless specifically requested.
1094
+ # Corresponds to the JSON property `deleted`
1095
+ # @return [Boolean]
1096
+ attr_accessor :deleted
1097
+ alias_method :deleted?, :deleted
1098
+
1099
+ # Required. Human-readable display name for this property. The max allowed
1100
+ # display name length is 100 UTF-16 code units.
1101
+ # Corresponds to the JSON property `displayName`
1102
+ # @return [String]
1103
+ attr_accessor :display_name
1104
+
1105
+ # Industry associated with this property Example: AUTOMOTIVE, FOOD_AND_DRINK
1106
+ # Corresponds to the JSON property `industryCategory`
1107
+ # @return [String]
1108
+ attr_accessor :industry_category
1109
+
1110
+ # Output only. Resource name of this property. Format: properties/`property_id`
1111
+ # Example: "properties/1000"
1112
+ # Corresponds to the JSON property `name`
1113
+ # @return [String]
1114
+ attr_accessor :name
1115
+
1116
+ # Immutable. Resource name of this property's logical parent. Note: The Property-
1117
+ # Moving UI can be used to change the parent. Format: accounts/`account` Example:
1118
+ # "accounts/100"
1119
+ # Corresponds to the JSON property `parent`
1120
+ # @return [String]
1121
+ attr_accessor :parent
1122
+
1123
+ # Reporting Time Zone, used as the day boundary for reports, regardless of where
1124
+ # the data originates. If the time zone honors DST, Analytics will automatically
1125
+ # adjust for the changes. NOTE: Changing the time zone only affects data going
1126
+ # forward, and is not applied retroactively. Format: https://www.iana.org/time-
1127
+ # zones Example: "America/Los_Angeles"
1128
+ # Corresponds to the JSON property `timeZone`
1129
+ # @return [String]
1130
+ attr_accessor :time_zone
1131
+
1132
+ # Output only. Time when entity payload fields were last updated.
1133
+ # Corresponds to the JSON property `updateTime`
1134
+ # @return [String]
1135
+ attr_accessor :update_time
1136
+
1137
+ def initialize(**args)
1138
+ update!(**args)
1139
+ end
1140
+
1141
+ # Update properties of this object
1142
+ def update!(**args)
1143
+ @create_time = args[:create_time] if args.key?(:create_time)
1144
+ @currency_code = args[:currency_code] if args.key?(:currency_code)
1145
+ @deleted = args[:deleted] if args.key?(:deleted)
1146
+ @display_name = args[:display_name] if args.key?(:display_name)
1147
+ @industry_category = args[:industry_category] if args.key?(:industry_category)
1148
+ @name = args[:name] if args.key?(:name)
1149
+ @parent = args[:parent] if args.key?(:parent)
1150
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
1151
+ @update_time = args[:update_time] if args.key?(:update_time)
1152
+ end
1153
+ end
1154
+
1155
+ # A virtual resource representing metadata for an GA4 property.
1156
+ class GoogleAnalyticsAdminV1alphaPropertySummary
1157
+ include Google::Apis::Core::Hashable
1158
+
1159
+ # Display name for the property referred to in this account summary.
1160
+ # Corresponds to the JSON property `displayName`
1161
+ # @return [String]
1162
+ attr_accessor :display_name
1163
+
1164
+ # Resource name of property referred to by this property summary Format:
1165
+ # properties/`property_id` Example: "properties/1000"
1166
+ # Corresponds to the JSON property `property`
1167
+ # @return [String]
1168
+ attr_accessor :property
1169
+
1170
+ def initialize(**args)
1171
+ update!(**args)
1172
+ end
1173
+
1174
+ # Update properties of this object
1175
+ def update!(**args)
1176
+ @display_name = args[:display_name] if args.key?(:display_name)
1177
+ @property = args[:property] if args.key?(:property)
1178
+ end
1179
+ end
1180
+
1181
+ # Request message for ProvisionAccountTicket RPC.
1182
+ class GoogleAnalyticsAdminV1alphaProvisionAccountTicketRequest
1183
+ include Google::Apis::Core::Hashable
1184
+
1185
+ # A resource message representing a Google Analytics account.
1186
+ # Corresponds to the JSON property `account`
1187
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaAccount]
1188
+ attr_accessor :account
1189
+
1190
+ # Redirect URI where the user will be sent after accepting Terms of Service.
1191
+ # Must be configured in Developers Console as a Redirect URI
1192
+ # Corresponds to the JSON property `redirectUri`
1193
+ # @return [String]
1194
+ attr_accessor :redirect_uri
1195
+
1196
+ def initialize(**args)
1197
+ update!(**args)
1198
+ end
1199
+
1200
+ # Update properties of this object
1201
+ def update!(**args)
1202
+ @account = args[:account] if args.key?(:account)
1203
+ @redirect_uri = args[:redirect_uri] if args.key?(:redirect_uri)
1204
+ end
1205
+ end
1206
+
1207
+ # Response message for ProvisionAccountTicket RPC.
1208
+ class GoogleAnalyticsAdminV1alphaProvisionAccountTicketResponse
1209
+ include Google::Apis::Core::Hashable
1210
+
1211
+ # The param to be passed in the ToS link.
1212
+ # Corresponds to the JSON property `accountTicketId`
1213
+ # @return [String]
1214
+ attr_accessor :account_ticket_id
1215
+
1216
+ def initialize(**args)
1217
+ update!(**args)
1218
+ end
1219
+
1220
+ # Update properties of this object
1221
+ def update!(**args)
1222
+ @account_ticket_id = args[:account_ticket_id] if args.key?(:account_ticket_id)
1223
+ end
1224
+ end
1225
+
1226
+ # Request message for UpdateUserLink RPC.
1227
+ class GoogleAnalyticsAdminV1alphaUpdateUserLinkRequest
1228
+ include Google::Apis::Core::Hashable
1229
+
1230
+ # A resource message representing a user's permissions on an Account or Property
1231
+ # resource.
1232
+ # Corresponds to the JSON property `userLink`
1233
+ # @return [Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaUserLink]
1234
+ attr_accessor :user_link
1235
+
1236
+ def initialize(**args)
1237
+ update!(**args)
1238
+ end
1239
+
1240
+ # Update properties of this object
1241
+ def update!(**args)
1242
+ @user_link = args[:user_link] if args.key?(:user_link)
1243
+ end
1244
+ end
1245
+
1246
+ # A resource message representing a user's permissions on an Account or Property
1247
+ # resource.
1248
+ class GoogleAnalyticsAdminV1alphaUserLink
1249
+ include Google::Apis::Core::Hashable
1250
+
1251
+ # Roles directly assigned to this user for this account or property. Valid
1252
+ # values: predefinedRoles/read predefinedRoles/collaborate predefinedRoles/edit
1253
+ # predefinedRoles/manage-users Excludes roles that are inherited from a higher-
1254
+ # level entity, group, or organization admin role. A UserLink that is updated to
1255
+ # have an empty list of direct_roles will be deleted.
1256
+ # Corresponds to the JSON property `directRoles`
1257
+ # @return [Array<String>]
1258
+ attr_accessor :direct_roles
1259
+
1260
+ # Email address of the user to link
1261
+ # Corresponds to the JSON property `emailAddress`
1262
+ # @return [String]
1263
+ attr_accessor :email_address
1264
+
1265
+ # Example format: properties/1234/userLinks/5678
1266
+ # Corresponds to the JSON property `name`
1267
+ # @return [String]
1268
+ attr_accessor :name
1269
+
1270
+ def initialize(**args)
1271
+ update!(**args)
1272
+ end
1273
+
1274
+ # Update properties of this object
1275
+ def update!(**args)
1276
+ @direct_roles = args[:direct_roles] if args.key?(:direct_roles)
1277
+ @email_address = args[:email_address] if args.key?(:email_address)
1278
+ @name = args[:name] if args.key?(:name)
1279
+ end
1280
+ end
1281
+
1282
+ # A resource message representing a Google Analytics web stream.
1283
+ class GoogleAnalyticsAdminV1alphaWebDataStream
1284
+ include Google::Apis::Core::Hashable
1285
+
1286
+ # Output only. Time when this stream was originally created.
1287
+ # Corresponds to the JSON property `createTime`
1288
+ # @return [String]
1289
+ attr_accessor :create_time
1290
+
1291
+ # Immutable. Domain name of the web app being measured, or empty. Example: "http:
1292
+ # //www.google.com", "https://www.google.com"
1293
+ # Corresponds to the JSON property `defaultUri`
1294
+ # @return [String]
1295
+ attr_accessor :default_uri
1296
+
1297
+ # Required. Human-readable display name for the Data Stream. The max allowed
1298
+ # display name length is 100 UTF-16 code units.
1299
+ # Corresponds to the JSON property `displayName`
1300
+ # @return [String]
1301
+ attr_accessor :display_name
1302
+
1303
+ # Output only. ID of the corresponding web app in Firebase, if any. This ID can
1304
+ # change if the web app is deleted and recreated.
1305
+ # Corresponds to the JSON property `firebaseAppId`
1306
+ # @return [String]
1307
+ attr_accessor :firebase_app_id
1308
+
1309
+ # Output only. Analytics "Measurement ID", without the "G-" prefix. Example: "G-
1310
+ # 1A2BCD345E" would just be "1A2BCD345E"
1311
+ # Corresponds to the JSON property `measurementId`
1312
+ # @return [String]
1313
+ attr_accessor :measurement_id
1314
+
1315
+ # Output only. Resource name of this Data Stream. Format: properties/`
1316
+ # property_id`/webDataStreams/`stream_id` Example: "properties/1000/
1317
+ # webDataStreams/2000"
1318
+ # Corresponds to the JSON property `name`
1319
+ # @return [String]
1320
+ attr_accessor :name
1321
+
1322
+ # Output only. Time when stream payload fields were last updated.
1323
+ # Corresponds to the JSON property `updateTime`
1324
+ # @return [String]
1325
+ attr_accessor :update_time
1326
+
1327
+ def initialize(**args)
1328
+ update!(**args)
1329
+ end
1330
+
1331
+ # Update properties of this object
1332
+ def update!(**args)
1333
+ @create_time = args[:create_time] if args.key?(:create_time)
1334
+ @default_uri = args[:default_uri] if args.key?(:default_uri)
1335
+ @display_name = args[:display_name] if args.key?(:display_name)
1336
+ @firebase_app_id = args[:firebase_app_id] if args.key?(:firebase_app_id)
1337
+ @measurement_id = args[:measurement_id] if args.key?(:measurement_id)
1338
+ @name = args[:name] if args.key?(:name)
1339
+ @update_time = args[:update_time] if args.key?(:update_time)
1340
+ end
1341
+ end
1342
+
1343
+ # A generic empty message that you can re-use to avoid defining duplicated empty
1344
+ # messages in your APIs. A typical example is to use it as the request or the
1345
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
1346
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
1347
+ # `Empty` is empty JSON object ````.
1348
+ class GoogleProtobufEmpty
1349
+ include Google::Apis::Core::Hashable
1350
+
1351
+ def initialize(**args)
1352
+ update!(**args)
1353
+ end
1354
+
1355
+ # Update properties of this object
1356
+ def update!(**args)
1357
+ end
1358
+ end
1359
+ end
1360
+ end
1361
+ end