google-api-client 0.46.1 → 0.50.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (496) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/autoapprove.yml +49 -0
  3. data/.github/workflows/release-please.yml +77 -0
  4. data/.gitignore +2 -0
  5. data/.kokoro/trampoline.sh +0 -0
  6. data/CHANGELOG.md +666 -191
  7. data/Gemfile +1 -0
  8. data/Rakefile +31 -3
  9. data/api_list_config.yaml +8 -0
  10. data/bin/generate-api +77 -15
  11. data/generated/google/apis/accessapproval_v1.rb +1 -1
  12. data/generated/google/apis/accessapproval_v1/classes.rb +13 -15
  13. data/generated/google/apis/accessapproval_v1/service.rb +12 -9
  14. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  15. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
  16. data/generated/google/apis/admin_directory_v1.rb +1 -1
  17. data/generated/google/apis/admin_directory_v1/classes.rb +135 -0
  18. data/generated/google/apis/admin_directory_v1/representations.rb +62 -0
  19. data/generated/google/apis/admin_directory_v1/service.rb +72 -0
  20. data/generated/google/apis/admin_reports_v1.rb +1 -1
  21. data/generated/google/apis/admob_v1.rb +4 -1
  22. data/generated/google/apis/admob_v1/classes.rb +29 -29
  23. data/generated/google/apis/admob_v1/service.rb +4 -0
  24. data/generated/google/apis/admob_v1beta.rb +38 -0
  25. data/generated/google/apis/admob_v1beta/classes.rb +1035 -0
  26. data/generated/google/apis/admob_v1beta/representations.rb +472 -0
  27. data/generated/google/apis/admob_v1beta/service.rb +279 -0
  28. data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
  29. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +19 -18
  30. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +12 -13
  31. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  32. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +179 -50
  33. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +50 -14
  34. data/generated/google/apis/analyticsdata_v1alpha/service.rb +49 -38
  35. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  36. data/generated/google/apis/androidenterprise_v1/classes.rb +6 -0
  37. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  38. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  39. data/generated/google/apis/androidmanagement_v1/classes.rb +29 -26
  40. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  41. data/generated/google/apis/androidpublisher_v3/classes.rb +2 -1
  42. data/generated/google/apis/androidpublisher_v3/service.rb +5 -2
  43. data/generated/google/apis/apigateway_v1beta.rb +1 -1
  44. data/generated/google/apis/apigateway_v1beta/classes.rb +8 -5
  45. data/generated/google/apis/apigateway_v1beta/representations.rb +1 -0
  46. data/generated/google/apis/apigee_v1.rb +1 -1
  47. data/generated/google/apis/apigee_v1/classes.rb +377 -137
  48. data/generated/google/apis/apigee_v1/representations.rb +109 -18
  49. data/generated/google/apis/apigee_v1/service.rb +673 -56
  50. data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
  51. data/generated/google/apis/area120tables_v1alpha1/classes.rb +481 -0
  52. data/generated/google/apis/area120tables_v1alpha1/representations.rb +279 -0
  53. data/generated/google/apis/area120tables_v1alpha1/service.rb +448 -0
  54. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  55. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -7
  56. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -1
  57. data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
  58. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +20 -0
  59. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +2 -0
  60. data/generated/google/apis/bigquery_v2.rb +1 -1
  61. data/generated/google/apis/bigquery_v2/classes.rb +158 -5
  62. data/generated/google/apis/bigquery_v2/representations.rb +67 -0
  63. data/generated/google/apis/bigquery_v2/service.rb +46 -0
  64. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  65. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -0
  66. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +1 -0
  67. data/generated/google/apis/billingbudgets_v1.rb +1 -1
  68. data/generated/google/apis/billingbudgets_v1/classes.rb +12 -1
  69. data/generated/google/apis/billingbudgets_v1/representations.rb +1 -0
  70. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  71. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +12 -1
  72. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  73. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  74. data/generated/google/apis/binaryauthorization_v1/classes.rb +3 -4
  75. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  76. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +3 -4
  77. data/generated/google/apis/books_v1.rb +1 -1
  78. data/generated/google/apis/books_v1/service.rb +52 -52
  79. data/generated/google/apis/calendar_v3.rb +1 -1
  80. data/generated/google/apis/calendar_v3/classes.rb +2 -2
  81. data/generated/google/apis/chat_v1.rb +1 -1
  82. data/generated/google/apis/chat_v1/classes.rb +7 -0
  83. data/generated/google/apis/chat_v1/representations.rb +1 -0
  84. data/generated/google/apis/civicinfo_v2.rb +1 -1
  85. data/generated/google/apis/civicinfo_v2/classes.rb +0 -24
  86. data/generated/google/apis/civicinfo_v2/representations.rb +0 -3
  87. data/generated/google/apis/classroom_v1.rb +1 -1
  88. data/generated/google/apis/classroom_v1/classes.rb +21 -21
  89. data/generated/google/apis/cloudasset_v1.rb +1 -1
  90. data/generated/google/apis/cloudasset_v1/classes.rb +1122 -0
  91. data/generated/google/apis/cloudasset_v1/representations.rb +474 -0
  92. data/generated/google/apis/cloudasset_v1/service.rb +171 -0
  93. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  94. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  95. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  96. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  97. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  98. data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
  99. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  100. data/generated/google/apis/cloudbuild_v1/classes.rb +2 -1
  101. data/generated/google/apis/cloudbuild_v1/service.rb +10 -2
  102. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  103. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  104. data/generated/google/apis/cloudidentity_v1/service.rb +7 -3
  105. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  106. data/generated/google/apis/cloudidentity_v1beta1/service.rb +29 -17
  107. data/generated/google/apis/cloudiot_v1.rb +1 -1
  108. data/generated/google/apis/cloudiot_v1/classes.rb +1 -2
  109. data/generated/google/apis/cloudkms_v1.rb +1 -1
  110. data/generated/google/apis/cloudkms_v1/classes.rb +1 -2
  111. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  112. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +401 -7
  113. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +280 -1
  114. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  115. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +401 -7
  116. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +280 -1
  117. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  118. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +405 -11
  119. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +280 -1
  120. data/generated/google/apis/cloudresourcemanager_v2/service.rb +13 -13
  121. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  122. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +405 -11
  123. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +280 -1
  124. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +13 -13
  125. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  126. data/generated/google/apis/cloudtasks_v2/classes.rb +1 -2
  127. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  128. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +1 -2
  129. data/generated/google/apis/cloudtasks_v2beta2/service.rb +12 -2
  130. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  131. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +1 -2
  132. data/generated/google/apis/compute_v1.rb +1 -1
  133. data/generated/google/apis/compute_v1/classes.rb +282 -29
  134. data/generated/google/apis/compute_v1/representations.rb +43 -0
  135. data/generated/google/apis/compute_v1/service.rb +4 -1
  136. data/generated/google/apis/container_v1.rb +1 -1
  137. data/generated/google/apis/container_v1/classes.rb +22 -10
  138. data/generated/google/apis/container_v1beta1.rb +1 -1
  139. data/generated/google/apis/container_v1beta1/classes.rb +51 -10
  140. data/generated/google/apis/container_v1beta1/representations.rb +15 -0
  141. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  142. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +1 -2
  143. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  144. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -2
  145. data/generated/google/apis/content_v2.rb +3 -4
  146. data/generated/google/apis/content_v2/classes.rb +511 -1219
  147. data/generated/google/apis/content_v2/service.rb +380 -651
  148. data/generated/google/apis/content_v2_1.rb +3 -4
  149. data/generated/google/apis/content_v2_1/classes.rb +1353 -1061
  150. data/generated/google/apis/content_v2_1/representations.rb +342 -0
  151. data/generated/google/apis/content_v2_1/service.rb +948 -809
  152. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  153. data/generated/google/apis/datacatalog_v1beta1/classes.rb +26 -12
  154. data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -0
  155. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  156. data/generated/google/apis/dataflow_v1b3/classes.rb +12 -0
  157. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  158. data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
  159. data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
  160. data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
  161. data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
  162. data/generated/google/apis/datamigration_v1beta1.rb +34 -0
  163. data/generated/google/apis/datamigration_v1beta1/classes.rb +1670 -0
  164. data/generated/google/apis/datamigration_v1beta1/representations.rb +678 -0
  165. data/generated/google/apis/datamigration_v1beta1/service.rb +1172 -0
  166. data/generated/google/apis/dataproc_v1.rb +1 -1
  167. data/generated/google/apis/dataproc_v1/classes.rb +18 -7
  168. data/generated/google/apis/dataproc_v1/representations.rb +1 -0
  169. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  170. data/generated/google/apis/dataproc_v1beta2/classes.rb +18 -7
  171. data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
  172. data/generated/google/apis/datastore_v1.rb +1 -1
  173. data/generated/google/apis/datastore_v1/classes.rb +4 -4
  174. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  175. data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
  176. data/generated/google/apis/deploymentmanager_v2.rb +6 -4
  177. data/generated/google/apis/deploymentmanager_v2/classes.rb +209 -558
  178. data/generated/google/apis/deploymentmanager_v2/representations.rb +1 -132
  179. data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
  180. data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
  181. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +253 -609
  182. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1 -132
  183. data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
  184. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  185. data/generated/google/apis/dfareporting_v3_3/classes.rb +6 -6
  186. data/generated/google/apis/dfareporting_v3_3/service.rb +12 -12
  187. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  188. data/generated/google/apis/dfareporting_v3_4/classes.rb +6 -6
  189. data/generated/google/apis/dfareporting_v3_4/service.rb +12 -12
  190. data/generated/google/apis/dialogflow_v2.rb +1 -1
  191. data/generated/google/apis/dialogflow_v2/classes.rb +649 -385
  192. data/generated/google/apis/dialogflow_v2/representations.rb +279 -192
  193. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  194. data/generated/google/apis/dialogflow_v2beta1/classes.rb +649 -385
  195. data/generated/google/apis/dialogflow_v2beta1/representations.rb +283 -196
  196. data/generated/google/apis/dialogflow_v2beta1/service.rb +14 -8
  197. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  198. data/generated/google/apis/dialogflow_v3beta1/classes.rb +712 -391
  199. data/generated/google/apis/dialogflow_v3beta1/representations.rb +301 -195
  200. data/generated/google/apis/dialogflow_v3beta1/service.rb +1 -1
  201. data/generated/google/apis/displayvideo_v1.rb +1 -1
  202. data/generated/google/apis/displayvideo_v1/classes.rb +241 -63
  203. data/generated/google/apis/displayvideo_v1/representations.rb +77 -0
  204. data/generated/google/apis/displayvideo_v1/service.rb +257 -17
  205. data/generated/google/apis/dlp_v2.rb +1 -1
  206. data/generated/google/apis/dlp_v2/classes.rb +39 -32
  207. data/generated/google/apis/dlp_v2/representations.rb +1 -0
  208. data/generated/google/apis/dns_v1.rb +2 -2
  209. data/generated/google/apis/dns_v1/classes.rb +181 -0
  210. data/generated/google/apis/dns_v1/representations.rb +83 -0
  211. data/generated/google/apis/dns_v1/service.rb +1 -1
  212. data/generated/google/apis/dns_v1beta2.rb +2 -2
  213. data/generated/google/apis/dns_v1beta2/classes.rb +195 -1
  214. data/generated/google/apis/dns_v1beta2/representations.rb +95 -0
  215. data/generated/google/apis/dns_v1beta2/service.rb +177 -1
  216. data/generated/google/apis/domains_v1alpha2.rb +34 -0
  217. data/generated/google/apis/domains_v1alpha2/classes.rb +1534 -0
  218. data/generated/google/apis/domains_v1alpha2/representations.rb +605 -0
  219. data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
  220. data/generated/google/apis/domains_v1beta1.rb +34 -0
  221. data/generated/google/apis/domains_v1beta1/classes.rb +1534 -0
  222. data/generated/google/apis/domains_v1beta1/representations.rb +605 -0
  223. data/generated/google/apis/domains_v1beta1/service.rb +805 -0
  224. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  225. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +2 -1
  226. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  227. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +2 -1
  228. data/generated/google/apis/drive_v2.rb +1 -1
  229. data/generated/google/apis/drive_v2/classes.rb +22 -20
  230. data/generated/google/apis/drive_v2/service.rb +2 -2
  231. data/generated/google/apis/drive_v3.rb +1 -1
  232. data/generated/google/apis/drive_v3/classes.rb +12 -9
  233. data/generated/google/apis/eventarc_v1beta1.rb +34 -0
  234. data/generated/google/apis/eventarc_v1beta1/classes.rb +937 -0
  235. data/generated/google/apis/eventarc_v1beta1/representations.rb +380 -0
  236. data/generated/google/apis/eventarc_v1beta1/service.rb +579 -0
  237. data/generated/google/apis/file_v1.rb +1 -1
  238. data/generated/google/apis/file_v1/classes.rb +505 -4
  239. data/generated/google/apis/file_v1/representations.rb +203 -0
  240. data/generated/google/apis/file_v1/service.rb +229 -1
  241. data/generated/google/apis/file_v1beta1.rb +1 -1
  242. data/generated/google/apis/file_v1beta1/classes.rb +346 -6
  243. data/generated/google/apis/file_v1beta1/representations.rb +149 -0
  244. data/generated/google/apis/file_v1beta1/service.rb +6 -2
  245. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  246. data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
  247. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  248. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
  249. data/generated/google/apis/firestore_v1.rb +1 -1
  250. data/generated/google/apis/firestore_v1/classes.rb +4 -4
  251. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  252. data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
  253. data/generated/google/apis/fitness_v1.rb +1 -1
  254. data/generated/google/apis/fitness_v1/service.rb +3 -1
  255. data/generated/google/apis/games_v1.rb +1 -1
  256. data/generated/google/apis/games_v1/classes.rb +300 -0
  257. data/generated/google/apis/games_v1/representations.rb +116 -0
  258. data/generated/google/apis/games_v1/service.rb +34 -0
  259. data/generated/google/apis/gameservices_v1.rb +1 -1
  260. data/generated/google/apis/gameservices_v1/classes.rb +16 -16
  261. data/generated/google/apis/gameservices_v1/service.rb +54 -51
  262. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  263. data/generated/google/apis/gameservices_v1beta/classes.rb +16 -16
  264. data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
  265. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  266. data/generated/google/apis/genomics_v2alpha1/classes.rb +25 -0
  267. data/generated/google/apis/genomics_v2alpha1/representations.rb +15 -0
  268. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
  269. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
  270. data/generated/google/apis/healthcare_v1.rb +1 -1
  271. data/generated/google/apis/healthcare_v1/classes.rb +10 -4
  272. data/generated/google/apis/healthcare_v1/representations.rb +1 -0
  273. data/generated/google/apis/healthcare_v1/service.rb +2 -1
  274. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  275. data/generated/google/apis/healthcare_v1beta1/classes.rb +350 -46
  276. data/generated/google/apis/healthcare_v1beta1/representations.rb +150 -18
  277. data/generated/google/apis/healthcare_v1beta1/service.rb +91 -13
  278. data/generated/google/apis/iam_v1.rb +2 -5
  279. data/generated/google/apis/iam_v1/classes.rb +8 -11
  280. data/generated/google/apis/iam_v1/representations.rb +0 -1
  281. data/generated/google/apis/iam_v1/service.rb +1 -4
  282. data/generated/google/apis/iamcredentials_v1.rb +3 -4
  283. data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
  284. data/generated/google/apis/iap_v1.rb +1 -1
  285. data/generated/google/apis/iap_v1/classes.rb +1 -13
  286. data/generated/google/apis/iap_v1/representations.rb +0 -1
  287. data/generated/google/apis/iap_v1beta1.rb +1 -1
  288. data/generated/google/apis/iap_v1beta1/classes.rb +1 -2
  289. data/generated/google/apis/licensing_v1.rb +1 -1
  290. data/generated/google/apis/localservices_v1.rb +1 -1
  291. data/generated/google/apis/localservices_v1/classes.rb +7 -0
  292. data/generated/google/apis/localservices_v1/representations.rb +2 -0
  293. data/generated/google/apis/localservices_v1/service.rb +20 -20
  294. data/generated/google/apis/logging_v2.rb +1 -1
  295. data/generated/google/apis/logging_v2/classes.rb +186 -10
  296. data/generated/google/apis/logging_v2/representations.rb +77 -0
  297. data/generated/google/apis/logging_v2/service.rb +446 -25
  298. data/generated/google/apis/managedidentities_v1.rb +1 -1
  299. data/generated/google/apis/managedidentities_v1/classes.rb +347 -7
  300. data/generated/google/apis/managedidentities_v1/representations.rb +149 -0
  301. data/generated/google/apis/managedidentities_v1/service.rb +1 -4
  302. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  303. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +426 -15
  304. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +182 -1
  305. data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
  306. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  307. data/generated/google/apis/managedidentities_v1beta1/classes.rb +427 -15
  308. data/generated/google/apis/managedidentities_v1beta1/representations.rb +182 -1
  309. data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
  310. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  311. data/generated/google/apis/memcache_v1beta2/classes.rb +345 -4
  312. data/generated/google/apis/memcache_v1beta2/representations.rb +149 -0
  313. data/generated/google/apis/ml_v1.rb +1 -1
  314. data/generated/google/apis/ml_v1/classes.rb +273 -79
  315. data/generated/google/apis/ml_v1/representations.rb +43 -0
  316. data/generated/google/apis/ml_v1/service.rb +35 -0
  317. data/generated/google/apis/monitoring_v3.rb +1 -1
  318. data/generated/google/apis/monitoring_v3/classes.rb +19 -13
  319. data/generated/google/apis/monitoring_v3/service.rb +50 -1
  320. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  321. data/generated/google/apis/networkmanagement_v1/classes.rb +6 -0
  322. data/generated/google/apis/networkmanagement_v1/representations.rb +1 -0
  323. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  324. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +57 -0
  325. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +31 -0
  326. data/generated/google/apis/notebooks_v1.rb +34 -0
  327. data/generated/google/apis/notebooks_v1/classes.rb +1461 -0
  328. data/generated/google/apis/notebooks_v1/representations.rb +581 -0
  329. data/generated/google/apis/notebooks_v1/service.rb +1042 -0
  330. data/generated/google/apis/people_v1.rb +1 -1
  331. data/generated/google/apis/people_v1/classes.rb +49 -49
  332. data/generated/google/apis/people_v1/service.rb +21 -18
  333. data/generated/google/apis/playablelocations_v3.rb +1 -1
  334. data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
  335. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  336. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  337. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  338. data/generated/google/apis/poly_v1.rb +3 -4
  339. data/generated/google/apis/poly_v1/classes.rb +65 -79
  340. data/generated/google/apis/poly_v1/service.rb +50 -63
  341. data/generated/google/apis/privateca_v1beta1.rb +36 -0
  342. data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
  343. data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
  344. data/generated/google/apis/privateca_v1beta1/service.rb +1437 -0
  345. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  346. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
  347. data/generated/google/apis/pubsub_v1.rb +1 -1
  348. data/generated/google/apis/pubsub_v1/classes.rb +1 -2
  349. data/generated/google/apis/pubsub_v1/service.rb +2 -2
  350. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  351. data/generated/google/apis/pubsub_v1beta2/classes.rb +1 -2
  352. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  353. data/generated/google/apis/realtimebidding_v1/classes.rb +578 -33
  354. data/generated/google/apis/realtimebidding_v1/representations.rb +232 -0
  355. data/generated/google/apis/realtimebidding_v1/service.rb +454 -4
  356. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  357. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +32 -0
  358. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -0
  359. data/generated/google/apis/recommender_v1.rb +1 -1
  360. data/generated/google/apis/recommender_v1/classes.rb +1 -1
  361. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  362. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
  363. data/generated/google/apis/redis_v1.rb +1 -1
  364. data/generated/google/apis/redis_v1/classes.rb +86 -0
  365. data/generated/google/apis/redis_v1/representations.rb +34 -0
  366. data/generated/google/apis/redis_v1/service.rb +34 -0
  367. data/generated/google/apis/redis_v1beta1.rb +1 -1
  368. data/generated/google/apis/redis_v1beta1/classes.rb +58 -0
  369. data/generated/google/apis/redis_v1beta1/representations.rb +20 -0
  370. data/generated/google/apis/run_v1.rb +1 -1
  371. data/generated/google/apis/run_v1/classes.rb +7 -6
  372. data/generated/google/apis/run_v1alpha1.rb +1 -1
  373. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  374. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +0 -7
  375. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +0 -1
  376. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  377. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  378. data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -0
  379. data/generated/google/apis/secretmanager_v1.rb +1 -1
  380. data/generated/google/apis/secretmanager_v1/classes.rb +0 -7
  381. data/generated/google/apis/secretmanager_v1/representations.rb +0 -1
  382. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  383. data/generated/google/apis/secretmanager_v1beta1/classes.rb +0 -7
  384. data/generated/google/apis/secretmanager_v1beta1/representations.rb +0 -1
  385. data/generated/google/apis/securitycenter_v1.rb +1 -1
  386. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  387. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  388. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +6 -64
  389. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
  390. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  391. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +6 -64
  392. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
  393. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  394. data/generated/google/apis/servicecontrol_v1/classes.rb +77 -2
  395. data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
  396. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  397. data/generated/google/apis/servicecontrol_v2/classes.rb +62 -0
  398. data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
  399. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  400. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +27 -8
  401. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  402. data/generated/google/apis/servicemanagement_v1/classes.rb +6 -64
  403. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -18
  404. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  405. data/generated/google/apis/servicenetworking_v1/classes.rb +207 -65
  406. data/generated/google/apis/servicenetworking_v1/representations.rb +77 -14
  407. data/generated/google/apis/servicenetworking_v1/service.rb +82 -2
  408. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  409. data/generated/google/apis/servicenetworking_v1beta/classes.rb +140 -65
  410. data/generated/google/apis/servicenetworking_v1beta/representations.rb +46 -14
  411. data/generated/google/apis/serviceusage_v1.rb +1 -1
  412. data/generated/google/apis/serviceusage_v1/classes.rb +6 -64
  413. data/generated/google/apis/serviceusage_v1/representations.rb +0 -18
  414. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  415. data/generated/google/apis/serviceusage_v1beta1/classes.rb +36 -64
  416. data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -18
  417. data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
  418. data/generated/google/apis/sheets_v4.rb +1 -1
  419. data/generated/google/apis/sheets_v4/classes.rb +23 -7
  420. data/generated/google/apis/sheets_v4/representations.rb +3 -0
  421. data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
  422. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +0 -34
  423. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -16
  424. data/generated/google/apis/smartdevicemanagement_v1/service.rb +3 -8
  425. data/generated/google/apis/spanner_v1.rb +1 -1
  426. data/generated/google/apis/spanner_v1/classes.rb +2 -3
  427. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  428. data/generated/google/apis/sqladmin_v1beta4/classes.rb +28 -4
  429. data/generated/google/apis/sqladmin_v1beta4/representations.rb +3 -0
  430. data/generated/google/apis/storage_v1.rb +1 -1
  431. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  432. data/generated/google/apis/storagetransfer_v1/classes.rb +82 -50
  433. data/generated/google/apis/storagetransfer_v1/representations.rb +4 -0
  434. data/generated/google/apis/storagetransfer_v1/service.rb +20 -21
  435. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  436. data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
  437. data/generated/google/apis/sts_v1beta.rb +1 -1
  438. data/generated/google/apis/sts_v1beta/classes.rb +12 -11
  439. data/generated/google/apis/tagmanager_v2.rb +1 -1
  440. data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
  441. data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
  442. data/generated/google/apis/testing_v1.rb +1 -1
  443. data/generated/google/apis/testing_v1/classes.rb +45 -33
  444. data/generated/google/apis/testing_v1/representations.rb +1 -0
  445. data/generated/google/apis/testing_v1/service.rb +4 -4
  446. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  447. data/generated/google/apis/toolresults_v1beta3/classes.rb +13 -0
  448. data/generated/google/apis/toolresults_v1beta3/representations.rb +12 -0
  449. data/generated/google/apis/tpu_v1.rb +1 -1
  450. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  451. data/generated/google/apis/tpu_v1/service.rb +8 -8
  452. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  453. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  454. data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
  455. data/generated/google/apis/transcoder_v1beta1.rb +34 -0
  456. data/generated/google/apis/transcoder_v1beta1/classes.rb +1684 -0
  457. data/generated/google/apis/transcoder_v1beta1/representations.rb +756 -0
  458. data/generated/google/apis/transcoder_v1beta1/service.rb +329 -0
  459. data/generated/google/apis/translate_v3.rb +1 -1
  460. data/generated/google/apis/translate_v3/classes.rb +2 -1
  461. data/generated/google/apis/translate_v3beta1.rb +1 -1
  462. data/generated/google/apis/translate_v3beta1/classes.rb +2 -1
  463. data/generated/google/apis/vault_v1.rb +1 -1
  464. data/generated/google/apis/vault_v1/classes.rb +333 -0
  465. data/generated/google/apis/vault_v1/representations.rb +162 -0
  466. data/generated/google/apis/vault_v1/service.rb +151 -0
  467. data/generated/google/apis/videointelligence_v1.rb +1 -1
  468. data/generated/google/apis/videointelligence_v1/service.rb +0 -62
  469. data/generated/google/apis/vision_v1.rb +1 -1
  470. data/generated/google/apis/vision_v1/classes.rb +16 -16
  471. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  472. data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
  473. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  474. data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
  475. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  476. data/generated/google/apis/youtube_v3.rb +1 -1
  477. data/generated/google/apis/youtube_v3/service.rb +8 -8
  478. data/google-api-client.gemspec +25 -25
  479. data/lib/google/apis/core/api_command.rb +1 -0
  480. data/lib/google/apis/core/http_command.rb +2 -1
  481. data/lib/google/apis/options.rb +8 -5
  482. data/lib/google/apis/version.rb +1 -1
  483. data/synth.py +40 -0
  484. metadata +47 -16
  485. data/generated/google/apis/displayvideo_v1beta.rb +0 -38
  486. data/generated/google/apis/displayvideo_v1beta/classes.rb +0 -146
  487. data/generated/google/apis/displayvideo_v1beta/representations.rb +0 -72
  488. data/generated/google/apis/displayvideo_v1beta/service.rb +0 -161
  489. data/generated/google/apis/displayvideo_v1beta2.rb +0 -38
  490. data/generated/google/apis/displayvideo_v1beta2/classes.rb +0 -146
  491. data/generated/google/apis/displayvideo_v1beta2/representations.rb +0 -72
  492. data/generated/google/apis/displayvideo_v1beta2/service.rb +0 -130
  493. data/generated/google/apis/displayvideo_v1dev.rb +0 -38
  494. data/generated/google/apis/displayvideo_v1dev/classes.rb +0 -146
  495. data/generated/google/apis/displayvideo_v1dev/representations.rb +0 -72
  496. data/generated/google/apis/displayvideo_v1dev/service.rb +0 -130
@@ -184,6 +184,30 @@ module Google
184
184
  include Google::Apis::Core::JsonObjectSupport
185
185
  end
186
186
 
187
+ class DirectoryChromeosdevicesCommand
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class DirectoryChromeosdevicesCommandResult
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class DirectoryChromeosdevicesIssueCommandRequest
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class DirectoryChromeosdevicesIssueCommandResponse
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
187
211
  class DomainAlias
188
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
213
 
@@ -857,6 +881,44 @@ module Google
857
881
  end
858
882
  end
859
883
 
884
+ class DirectoryChromeosdevicesCommand
885
+ # @private
886
+ class Representation < Google::Apis::Core::JsonRepresentation
887
+ property :command_expire_time, as: 'commandExpireTime'
888
+ property :command_id, :numeric_string => true, as: 'commandId'
889
+ property :command_result, as: 'commandResult', class: Google::Apis::AdminDirectoryV1::DirectoryChromeosdevicesCommandResult, decorator: Google::Apis::AdminDirectoryV1::DirectoryChromeosdevicesCommandResult::Representation
890
+
891
+ property :issue_time, as: 'issueTime'
892
+ property :payload, as: 'payload'
893
+ property :state, as: 'state'
894
+ property :type, as: 'type'
895
+ end
896
+ end
897
+
898
+ class DirectoryChromeosdevicesCommandResult
899
+ # @private
900
+ class Representation < Google::Apis::Core::JsonRepresentation
901
+ property :error_message, as: 'errorMessage'
902
+ property :execute_time, as: 'executeTime'
903
+ property :result, as: 'result'
904
+ end
905
+ end
906
+
907
+ class DirectoryChromeosdevicesIssueCommandRequest
908
+ # @private
909
+ class Representation < Google::Apis::Core::JsonRepresentation
910
+ property :command_type, as: 'commandType'
911
+ property :payload, as: 'payload'
912
+ end
913
+ end
914
+
915
+ class DirectoryChromeosdevicesIssueCommandResponse
916
+ # @private
917
+ class Representation < Google::Apis::Core::JsonRepresentation
918
+ property :command_id, :numeric_string => true, as: 'commandId'
919
+ end
920
+ end
921
+
860
922
  class DomainAlias
861
923
  # @private
862
924
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -409,6 +409,78 @@ module Google
409
409
  execute_or_queue_command(command, &block)
410
410
  end
411
411
 
412
+ # Issues a command for the device to execute.
413
+ # @param [String] customer_id
414
+ # Immutable. Immutable ID of the G Suite account.
415
+ # @param [String] device_id
416
+ # Immutable. Immutable ID of Chrome OS Device.
417
+ # @param [Google::Apis::AdminDirectoryV1::DirectoryChromeosdevicesIssueCommandRequest] directory_chromeosdevices_issue_command_request_object
418
+ # @param [String] fields
419
+ # Selector specifying which fields to include in a partial response.
420
+ # @param [String] quota_user
421
+ # Available to use for quota purposes for server-side applications. Can be any
422
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
423
+ # @param [Google::Apis::RequestOptions] options
424
+ # Request-specific options
425
+ #
426
+ # @yield [result, err] Result & error if block supplied
427
+ # @yieldparam result [Google::Apis::AdminDirectoryV1::DirectoryChromeosdevicesIssueCommandResponse] parsed result object
428
+ # @yieldparam err [StandardError] error object if request failed
429
+ #
430
+ # @return [Google::Apis::AdminDirectoryV1::DirectoryChromeosdevicesIssueCommandResponse]
431
+ #
432
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
433
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
434
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
435
+ def issue_customer_device_chromeo_command(customer_id, device_id, directory_chromeosdevices_issue_command_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
436
+ command = make_simple_command(:post, 'admin/directory/v1/customer/{customerId}/devices/chromeos/{deviceId}:issueCommand', options)
437
+ command.request_representation = Google::Apis::AdminDirectoryV1::DirectoryChromeosdevicesIssueCommandRequest::Representation
438
+ command.request_object = directory_chromeosdevices_issue_command_request_object
439
+ command.response_representation = Google::Apis::AdminDirectoryV1::DirectoryChromeosdevicesIssueCommandResponse::Representation
440
+ command.response_class = Google::Apis::AdminDirectoryV1::DirectoryChromeosdevicesIssueCommandResponse
441
+ command.params['customerId'] = customer_id unless customer_id.nil?
442
+ command.params['deviceId'] = device_id unless device_id.nil?
443
+ command.query['fields'] = fields unless fields.nil?
444
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
445
+ execute_or_queue_command(command, &block)
446
+ end
447
+
448
+ # Gets command data a specific command issued to the device.
449
+ # @param [String] customer_id
450
+ # Immutable. Immutable ID of the G Suite account.
451
+ # @param [String] device_id
452
+ # Immutable. Immutable ID of Chrome OS Device.
453
+ # @param [Fixnum] command_id
454
+ # Immutable. Immutable ID of Chrome OS Device Command.
455
+ # @param [String] fields
456
+ # Selector specifying which fields to include in a partial response.
457
+ # @param [String] quota_user
458
+ # Available to use for quota purposes for server-side applications. Can be any
459
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
460
+ # @param [Google::Apis::RequestOptions] options
461
+ # Request-specific options
462
+ #
463
+ # @yield [result, err] Result & error if block supplied
464
+ # @yieldparam result [Google::Apis::AdminDirectoryV1::DirectoryChromeosdevicesCommand] parsed result object
465
+ # @yieldparam err [StandardError] error object if request failed
466
+ #
467
+ # @return [Google::Apis::AdminDirectoryV1::DirectoryChromeosdevicesCommand]
468
+ #
469
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
470
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
471
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
472
+ def get_customer_device_chromeo_command(customer_id, device_id, command_id, fields: nil, quota_user: nil, options: nil, &block)
473
+ command = make_simple_command(:get, 'admin/directory/v1/customer/{customerId}/devices/chromeos/{deviceId}/commands/{commandId}', options)
474
+ command.response_representation = Google::Apis::AdminDirectoryV1::DirectoryChromeosdevicesCommand::Representation
475
+ command.response_class = Google::Apis::AdminDirectoryV1::DirectoryChromeosdevicesCommand
476
+ command.params['customerId'] = customer_id unless customer_id.nil?
477
+ command.params['deviceId'] = device_id unless device_id.nil?
478
+ command.params['commandId'] = command_id unless command_id.nil?
479
+ command.query['fields'] = fields unless fields.nil?
480
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
481
+ execute_or_queue_command(command, &block)
482
+ end
483
+
412
484
  # Retrieves a customer.
413
485
  # @param [String] customer_key
414
486
  # Id of the customer to be retrieved
@@ -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'
@@ -26,7 +26,10 @@ module Google
26
26
  # @see https://developers.google.com/admob/api/
27
27
  module AdmobV1
28
28
  VERSION = 'V1'
29
- REVISION = '20201002'
29
+ REVISION = '20201112'
30
+
31
+ # See your AdMob data
32
+ AUTH_ADMOB_READONLY = 'https://www.googleapis.com/auth/admob.readonly'
30
33
 
31
34
  # See your AdMob data
32
35
  AUTH_ADMOB_REPORT = 'https://www.googleapis.com/auth/admob.report'
@@ -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
@@ -116,6 +116,8 @@ module Google
116
116
  end
117
117
 
118
118
  # Generates an AdMob Mediation report based on the provided report specification.
119
+ # Returns result of a server-side streaming RPC. The result is returned in a
120
+ # sequence of responses.
119
121
  # @param [String] parent
120
122
  # Resource name of the account to generate the report for. Example: accounts/pub-
121
123
  # 9876543210987654
@@ -150,6 +152,8 @@ module Google
150
152
  end
151
153
 
152
154
  # Generates an AdMob Network report based on the provided report specification.
155
+ # Returns result of a server-side streaming RPC. The result is returned in a
156
+ # sequence of responses.
153
157
  # @param [String] parent
154
158
  # Resource name of the account to generate the report for. Example: accounts/pub-
155
159
  # 9876543210987654
@@ -0,0 +1,38 @@
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/admob_v1beta/service.rb'
16
+ require 'google/apis/admob_v1beta/classes.rb'
17
+ require 'google/apis/admob_v1beta/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # AdMob API
22
+ #
23
+ # The AdMob API allows publishers to programmatically get information about
24
+ # their AdMob account.
25
+ #
26
+ # @see https://developers.google.com/admob/api/
27
+ module AdmobV1beta
28
+ VERSION = 'V1beta'
29
+ REVISION = '20201112'
30
+
31
+ # See your AdMob data
32
+ AUTH_ADMOB_READONLY = 'https://www.googleapis.com/auth/admob.readonly'
33
+
34
+ # See your AdMob data
35
+ AUTH_ADMOB_REPORT = 'https://www.googleapis.com/auth/admob.report'
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,1035 @@
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 AdmobV1beta
24
+
25
+ # Describes an AdMob ad unit.
26
+ class AdUnit
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # AdFormat of the ad unit. Possible values are as follows: "BANNER" - Banner ad
30
+ # format. "BANNER_INTERSTITIAL" - Legacy format that can be used as either
31
+ # banner or interstitial. This format can no longer be created but can be
32
+ # targeted by mediation groups. "INTERSTITIAL" - A full screen ad. Supported ad
33
+ # types are "RICH_MEDIA" and "VIDEO". "NATIVE" - Native ad format. "REWARDED" -
34
+ # An ad that, once viewed, gets a callback verifying the view so that a reward
35
+ # can be given to the user. Supported ad types are "RICH_MEDIA" (interactive)
36
+ # and video where video can not be excluded.
37
+ # Corresponds to the JSON property `adFormat`
38
+ # @return [String]
39
+ attr_accessor :ad_format
40
+
41
+ # Ad media type supported by this ad unit. Possible values as follows: "
42
+ # RICH_MEDIA" - Text, image, and other non-video media. "VIDEO" - Video media.
43
+ # Corresponds to the JSON property `adTypes`
44
+ # @return [Array<String>]
45
+ attr_accessor :ad_types
46
+
47
+ # The externally visible ID of the ad unit which can be used to integrate with
48
+ # the AdMob SDK. This is a read only property. Example: ca-app-pub-
49
+ # 9876543210987654/0123456789
50
+ # Corresponds to the JSON property `adUnitId`
51
+ # @return [String]
52
+ attr_accessor :ad_unit_id
53
+
54
+ # The externally visible ID of the app this ad unit is associated with. Example:
55
+ # ca-app-pub-9876543210987654~0123456789
56
+ # Corresponds to the JSON property `appId`
57
+ # @return [String]
58
+ attr_accessor :app_id
59
+
60
+ # The display name of the ad unit as shown in the AdMob UI, which is provided by
61
+ # the user. The maximum length allowed is 80 characters.
62
+ # Corresponds to the JSON property `displayName`
63
+ # @return [String]
64
+ attr_accessor :display_name
65
+
66
+ # Resource name for this ad unit. Format is accounts/`publisher_id`/adUnits/`
67
+ # ad_unit_id_fragment` Example: accounts/pub-9876543210987654/adUnits/0123456789
68
+ # Corresponds to the JSON property `name`
69
+ # @return [String]
70
+ attr_accessor :name
71
+
72
+ def initialize(**args)
73
+ update!(**args)
74
+ end
75
+
76
+ # Update properties of this object
77
+ def update!(**args)
78
+ @ad_format = args[:ad_format] if args.key?(:ad_format)
79
+ @ad_types = args[:ad_types] if args.key?(:ad_types)
80
+ @ad_unit_id = args[:ad_unit_id] if args.key?(:ad_unit_id)
81
+ @app_id = args[:app_id] if args.key?(:app_id)
82
+ @display_name = args[:display_name] if args.key?(:display_name)
83
+ @name = args[:name] if args.key?(:name)
84
+ end
85
+ end
86
+
87
+ # Describes an AdMob app for a specific platform (For example: Android or iOS).
88
+ class App
89
+ include Google::Apis::Core::Hashable
90
+
91
+ # The externally visible ID of the app which can be used to integrate with the
92
+ # AdMob SDK. This is a read only property. Example: ca-app-pub-9876543210987654~
93
+ # 0123456789
94
+ # Corresponds to the JSON property `appId`
95
+ # @return [String]
96
+ attr_accessor :app_id
97
+
98
+ # Information from the app store if the app is linked to an app store.
99
+ # Corresponds to the JSON property `linkedAppInfo`
100
+ # @return [Google::Apis::AdmobV1beta::AppLinkedAppInfo]
101
+ attr_accessor :linked_app_info
102
+
103
+ # Information provided for manual apps which are not linked to an application
104
+ # store (Example: Google Play, App Store).
105
+ # Corresponds to the JSON property `manualAppInfo`
106
+ # @return [Google::Apis::AdmobV1beta::AppManualAppInfo]
107
+ attr_accessor :manual_app_info
108
+
109
+ # Resource name for this app. Format is accounts/`publisher_id`/apps/`
110
+ # app_id_fragment` Example: accounts/pub-9876543210987654/apps/0123456789
111
+ # Corresponds to the JSON property `name`
112
+ # @return [String]
113
+ attr_accessor :name
114
+
115
+ # Describes the platform of the app. Limited to "IOS" and "ANDROID".
116
+ # Corresponds to the JSON property `platform`
117
+ # @return [String]
118
+ attr_accessor :platform
119
+
120
+ def initialize(**args)
121
+ update!(**args)
122
+ end
123
+
124
+ # Update properties of this object
125
+ def update!(**args)
126
+ @app_id = args[:app_id] if args.key?(:app_id)
127
+ @linked_app_info = args[:linked_app_info] if args.key?(:linked_app_info)
128
+ @manual_app_info = args[:manual_app_info] if args.key?(:manual_app_info)
129
+ @name = args[:name] if args.key?(:name)
130
+ @platform = args[:platform] if args.key?(:platform)
131
+ end
132
+ end
133
+
134
+ # Information from the app store if the app is linked to an app store.
135
+ class AppLinkedAppInfo
136
+ include Google::Apis::Core::Hashable
137
+
138
+ # The app store ID of the app; present if and only if the app is linked to an
139
+ # app store. If the app is added to the Google Play store, it will be the
140
+ # application ID of the app. For example: "com.example.myapp". See https://
141
+ # developer.android.com/studio/build/application-id. If the app is added to the
142
+ # Apple App Store, it will be app store ID. For example "105169111". Note that
143
+ # setting the app store id is considered an irreversible action. Once an app is
144
+ # linked, it cannot be unlinked.
145
+ # Corresponds to the JSON property `appStoreId`
146
+ # @return [String]
147
+ attr_accessor :app_store_id
148
+
149
+ # Output only. Display name of the app as it appears in the app store. This is
150
+ # an output-only field, and may be empty if the app cannot be found in the store.
151
+ # Corresponds to the JSON property `displayName`
152
+ # @return [String]
153
+ attr_accessor :display_name
154
+
155
+ def initialize(**args)
156
+ update!(**args)
157
+ end
158
+
159
+ # Update properties of this object
160
+ def update!(**args)
161
+ @app_store_id = args[:app_store_id] if args.key?(:app_store_id)
162
+ @display_name = args[:display_name] if args.key?(:display_name)
163
+ end
164
+ end
165
+
166
+ # Information provided for manual apps which are not linked to an application
167
+ # store (Example: Google Play, App Store).
168
+ class AppManualAppInfo
169
+ include Google::Apis::Core::Hashable
170
+
171
+ # The display name of the app as shown in the AdMob UI, which is provided by the
172
+ # user. The maximum length allowed is 80 characters.
173
+ # Corresponds to the JSON property `displayName`
174
+ # @return [String]
175
+ attr_accessor :display_name
176
+
177
+ def initialize(**args)
178
+ update!(**args)
179
+ end
180
+
181
+ # Update properties of this object
182
+ def update!(**args)
183
+ @display_name = args[:display_name] if args.key?(:display_name)
184
+ end
185
+ end
186
+
187
+ # Represents a whole or partial calendar date, such as a birthday. The time of
188
+ # day and time zone are either specified elsewhere or are insignificant. The
189
+ # date is relative to the Gregorian Calendar. This can represent one of the
190
+ # following: * A full date, with non-zero year, month, and day values * A month
191
+ # and day value, with a zero year, such as an anniversary * A year on its own,
192
+ # with zero month and day values * A year and month value, with a zero day, such
193
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
194
+ # google.protobuf.Timestamp`.
195
+ class Date
196
+ include Google::Apis::Core::Hashable
197
+
198
+ # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
199
+ # specify a year by itself or a year and month where the day isn't significant.
200
+ # Corresponds to the JSON property `day`
201
+ # @return [Fixnum]
202
+ attr_accessor :day
203
+
204
+ # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
205
+ # and day.
206
+ # Corresponds to the JSON property `month`
207
+ # @return [Fixnum]
208
+ attr_accessor :month
209
+
210
+ # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
211
+ # year.
212
+ # Corresponds to the JSON property `year`
213
+ # @return [Fixnum]
214
+ attr_accessor :year
215
+
216
+ def initialize(**args)
217
+ update!(**args)
218
+ end
219
+
220
+ # Update properties of this object
221
+ def update!(**args)
222
+ @day = args[:day] if args.key?(:day)
223
+ @month = args[:month] if args.key?(:month)
224
+ @year = args[:year] if args.key?(:year)
225
+ end
226
+ end
227
+
228
+ # Specification of a single date range. Both dates are inclusive.
229
+ class DateRange
230
+ include Google::Apis::Core::Hashable
231
+
232
+ # Represents a whole or partial calendar date, such as a birthday. The time of
233
+ # day and time zone are either specified elsewhere or are insignificant. The
234
+ # date is relative to the Gregorian Calendar. This can represent one of the
235
+ # following: * A full date, with non-zero year, month, and day values * A month
236
+ # and day value, with a zero year, such as an anniversary * A year on its own,
237
+ # with zero month and day values * A year and month value, with a zero day, such
238
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
239
+ # google.protobuf.Timestamp`.
240
+ # Corresponds to the JSON property `endDate`
241
+ # @return [Google::Apis::AdmobV1beta::Date]
242
+ attr_accessor :end_date
243
+
244
+ # Represents a whole or partial calendar date, such as a birthday. The time of
245
+ # day and time zone are either specified elsewhere or are insignificant. The
246
+ # date is relative to the Gregorian Calendar. This can represent one of the
247
+ # following: * A full date, with non-zero year, month, and day values * A month
248
+ # and day value, with a zero year, such as an anniversary * A year on its own,
249
+ # with zero month and day values * A year and month value, with a zero day, such
250
+ # as a credit card expiration date Related types are google.type.TimeOfDay and `
251
+ # google.protobuf.Timestamp`.
252
+ # Corresponds to the JSON property `startDate`
253
+ # @return [Google::Apis::AdmobV1beta::Date]
254
+ attr_accessor :start_date
255
+
256
+ def initialize(**args)
257
+ update!(**args)
258
+ end
259
+
260
+ # Update properties of this object
261
+ def update!(**args)
262
+ @end_date = args[:end_date] if args.key?(:end_date)
263
+ @start_date = args[:start_date] if args.key?(:start_date)
264
+ end
265
+ end
266
+
267
+ # Request to generate an AdMob Mediation report.
268
+ class GenerateMediationReportRequest
269
+ include Google::Apis::Core::Hashable
270
+
271
+ # The specification for generating an AdMob Mediation report. For example, the
272
+ # specification to get observed ECPM sliced by ad source and app for the 'US'
273
+ # and 'CN' countries can look like the following example: ` "date_range": ` "
274
+ # start_date": `"year": 2018, "month": 9, "day": 1`, "end_date": `"year": 2018, "
275
+ # month": 9, "day": 30` `, "dimensions": ["AD_SOURCE", "APP", "COUNTRY"], "
276
+ # metrics": ["OBSERVED_ECPM"], "dimension_filters": [ ` "dimension": "COUNTRY", "
277
+ # matches_any": `"values": [`"value": "US", "value": "CN"`]` ` ], "
278
+ # sort_conditions": [ `"dimension":"APP", order: "ASCENDING"` ], "
279
+ # localization_settings": ` "currency_code": "USD", "language_code": "en-US" ` `
280
+ # For a better understanding, you can treat the preceding specification like the
281
+ # following pseudo SQL: SELECT AD_SOURCE, APP, COUNTRY, OBSERVED_ECPM FROM
282
+ # MEDIATION_REPORT WHERE DATE >= '2018-09-01' AND DATE <= '2018-09-30' AND
283
+ # COUNTRY IN ('US', 'CN') GROUP BY AD_SOURCE, APP, COUNTRY ORDER BY APP ASC;
284
+ # Corresponds to the JSON property `reportSpec`
285
+ # @return [Google::Apis::AdmobV1beta::MediationReportSpec]
286
+ attr_accessor :report_spec
287
+
288
+ def initialize(**args)
289
+ update!(**args)
290
+ end
291
+
292
+ # Update properties of this object
293
+ def update!(**args)
294
+ @report_spec = args[:report_spec] if args.key?(:report_spec)
295
+ end
296
+ end
297
+
298
+ # The streaming response for the AdMob Mediation report where the first response
299
+ # contains the report header, then a stream of row responses, and finally a
300
+ # footer as the last response message. For example: [` "header": ` "date_range":
301
+ # ` "start_date": `"year": 2018, "month": 9, "day": 1`, "end_date": `"year":
302
+ # 2018, "month": 9, "day": 1` `, "localization_settings": ` "currency_code": "
303
+ # USD", "language_code": "en-US" ` ` `, ` "row": ` "dimension_values": ` "DATE":
304
+ # `"value": "20180918"`, "APP": ` "value": "ca-app-pub-8123415297019784~
305
+ # 1001342552", "display_label": "My app name!" ` `, "metric_values": ` "
306
+ # ESTIMATED_EARNINGS": `"decimal_value": "1324746"` ` ` `, ` "footer": `"
307
+ # matching_row_count": 1` `]
308
+ class GenerateMediationReportResponse
309
+ include Google::Apis::Core::Hashable
310
+
311
+ # Groups data available after report generation, for example, warnings and row
312
+ # counts. Always sent as the last message in the stream response.
313
+ # Corresponds to the JSON property `footer`
314
+ # @return [Google::Apis::AdmobV1beta::ReportFooter]
315
+ attr_accessor :footer
316
+
317
+ # Groups data helps to treat the generated report. Always sent as a first
318
+ # message in the stream response.
319
+ # Corresponds to the JSON property `header`
320
+ # @return [Google::Apis::AdmobV1beta::ReportHeader]
321
+ attr_accessor :header
322
+
323
+ # A row of the returning report.
324
+ # Corresponds to the JSON property `row`
325
+ # @return [Google::Apis::AdmobV1beta::ReportRow]
326
+ attr_accessor :row
327
+
328
+ def initialize(**args)
329
+ update!(**args)
330
+ end
331
+
332
+ # Update properties of this object
333
+ def update!(**args)
334
+ @footer = args[:footer] if args.key?(:footer)
335
+ @header = args[:header] if args.key?(:header)
336
+ @row = args[:row] if args.key?(:row)
337
+ end
338
+ end
339
+
340
+ # Request to generate an AdMob Network report.
341
+ class GenerateNetworkReportRequest
342
+ include Google::Apis::Core::Hashable
343
+
344
+ # The specification for generating an AdMob Network report. For example, the
345
+ # specification to get clicks and estimated earnings for only the 'US' and 'CN'
346
+ # countries can look like the following example: ` 'date_range': ` 'start_date':
347
+ # `'year': 2018, 'month': 9, 'day': 1`, 'end_date': `'year': 2018, 'month': 9, '
348
+ # day': 30` `, 'dimensions': ['DATE', 'APP', 'COUNTRY'], 'metrics': ['CLICKS', '
349
+ # ESTIMATED_EARNINGS'], 'dimension_filters': [ ` 'dimension': 'COUNTRY', '
350
+ # matches_any': `'values': [`'value': 'US', 'value': 'CN'`]` ` ], '
351
+ # sort_conditions': [ `'dimension':'APP', order: 'ASCENDING'`, `'metric':'CLICKS'
352
+ # , order: 'DESCENDING'` ], 'localization_settings': ` 'currency_code': 'USD', '
353
+ # language_code': 'en-US' ` ` For a better understanding, you can treat the
354
+ # preceding specification like the following pseudo SQL: SELECT DATE, APP,
355
+ # COUNTRY, CLICKS, ESTIMATED_EARNINGS FROM NETWORK_REPORT WHERE DATE >= '2018-09-
356
+ # 01' AND DATE <= '2018-09-30' AND COUNTRY IN ('US', 'CN') GROUP BY DATE, APP,
357
+ # COUNTRY ORDER BY APP ASC, CLICKS DESC;
358
+ # Corresponds to the JSON property `reportSpec`
359
+ # @return [Google::Apis::AdmobV1beta::NetworkReportSpec]
360
+ attr_accessor :report_spec
361
+
362
+ def initialize(**args)
363
+ update!(**args)
364
+ end
365
+
366
+ # Update properties of this object
367
+ def update!(**args)
368
+ @report_spec = args[:report_spec] if args.key?(:report_spec)
369
+ end
370
+ end
371
+
372
+ # The streaming response for the AdMob Network report where the first response
373
+ # contains the report header, then a stream of row responses, and finally a
374
+ # footer as the last response message. For example: [` "header": ` "dateRange": `
375
+ # "startDate": `"year": 2018, "month": 9, "day": 1`, "endDate": `"year": 2018, "
376
+ # month": 9, "day": 1` `, "localizationSettings": ` "currencyCode": "USD", "
377
+ # languageCode": "en-US" ` ` `, ` "row": ` "dimensionValues": ` "DATE": `"value":
378
+ # "20180918"`, "APP": ` "value": "ca-app-pub-8123415297019784~1001342552",
379
+ # displayLabel: "My app name!" ` `, "metricValues": ` "ESTIMATED_EARNINGS": `"
380
+ # microsValue": 6500000` ` ` `, ` "footer": `"matchingRowCount": 1` `]
381
+ class GenerateNetworkReportResponse
382
+ include Google::Apis::Core::Hashable
383
+
384
+ # Groups data available after report generation, for example, warnings and row
385
+ # counts. Always sent as the last message in the stream response.
386
+ # Corresponds to the JSON property `footer`
387
+ # @return [Google::Apis::AdmobV1beta::ReportFooter]
388
+ attr_accessor :footer
389
+
390
+ # Groups data helps to treat the generated report. Always sent as a first
391
+ # message in the stream response.
392
+ # Corresponds to the JSON property `header`
393
+ # @return [Google::Apis::AdmobV1beta::ReportHeader]
394
+ attr_accessor :header
395
+
396
+ # A row of the returning report.
397
+ # Corresponds to the JSON property `row`
398
+ # @return [Google::Apis::AdmobV1beta::ReportRow]
399
+ attr_accessor :row
400
+
401
+ def initialize(**args)
402
+ update!(**args)
403
+ end
404
+
405
+ # Update properties of this object
406
+ def update!(**args)
407
+ @footer = args[:footer] if args.key?(:footer)
408
+ @header = args[:header] if args.key?(:header)
409
+ @row = args[:row] if args.key?(:row)
410
+ end
411
+ end
412
+
413
+ # Response for the ad units list request.
414
+ class ListAdUnitsResponse
415
+ include Google::Apis::Core::Hashable
416
+
417
+ # The resulting ad units for the requested account.
418
+ # Corresponds to the JSON property `adUnits`
419
+ # @return [Array<Google::Apis::AdmobV1beta::AdUnit>]
420
+ attr_accessor :ad_units
421
+
422
+ # If not empty, indicates that there may be more ad units for the request; this
423
+ # value should be passed in a new `ListAdUnitsRequest`.
424
+ # Corresponds to the JSON property `nextPageToken`
425
+ # @return [String]
426
+ attr_accessor :next_page_token
427
+
428
+ def initialize(**args)
429
+ update!(**args)
430
+ end
431
+
432
+ # Update properties of this object
433
+ def update!(**args)
434
+ @ad_units = args[:ad_units] if args.key?(:ad_units)
435
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
436
+ end
437
+ end
438
+
439
+ # Response for the apps list request.
440
+ class ListAppsResponse
441
+ include Google::Apis::Core::Hashable
442
+
443
+ # The resulting apps for the requested account.
444
+ # Corresponds to the JSON property `apps`
445
+ # @return [Array<Google::Apis::AdmobV1beta::App>]
446
+ attr_accessor :apps
447
+
448
+ # If not empty, indicates that there may be more apps for the request; this
449
+ # value should be passed in a new `ListAppsRequest`.
450
+ # Corresponds to the JSON property `nextPageToken`
451
+ # @return [String]
452
+ attr_accessor :next_page_token
453
+
454
+ def initialize(**args)
455
+ update!(**args)
456
+ end
457
+
458
+ # Update properties of this object
459
+ def update!(**args)
460
+ @apps = args[:apps] if args.key?(:apps)
461
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
462
+ end
463
+ end
464
+
465
+ # Response for the publisher account list request.
466
+ class ListPublisherAccountsResponse
467
+ include Google::Apis::Core::Hashable
468
+
469
+ # Publisher that the client credentials can access.
470
+ # Corresponds to the JSON property `account`
471
+ # @return [Array<Google::Apis::AdmobV1beta::PublisherAccount>]
472
+ attr_accessor :account
473
+
474
+ # If not empty, indicates that there might be more accounts for the request; you
475
+ # must pass this value in a new `ListPublisherAccountsRequest`.
476
+ # Corresponds to the JSON property `nextPageToken`
477
+ # @return [String]
478
+ attr_accessor :next_page_token
479
+
480
+ def initialize(**args)
481
+ update!(**args)
482
+ end
483
+
484
+ # Update properties of this object
485
+ def update!(**args)
486
+ @account = args[:account] if args.key?(:account)
487
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
488
+ end
489
+ end
490
+
491
+ # Localization settings for reports, such as currency and language. It affects
492
+ # how metrics are calculated.
493
+ class LocalizationSettings
494
+ include Google::Apis::Core::Hashable
495
+
496
+ # Currency code of the earning related metrics, which is the 3-letter code
497
+ # defined in ISO 4217. The daily average rate is used for the currency
498
+ # conversion. Defaults to the account currency code if unspecified.
499
+ # Corresponds to the JSON property `currencyCode`
500
+ # @return [String]
501
+ attr_accessor :currency_code
502
+
503
+ # Language used for any localized text, such as some dimension value display
504
+ # labels. The language tag defined in the IETF BCP47. Defaults to 'en-US' if
505
+ # unspecified.
506
+ # Corresponds to the JSON property `languageCode`
507
+ # @return [String]
508
+ attr_accessor :language_code
509
+
510
+ def initialize(**args)
511
+ update!(**args)
512
+ end
513
+
514
+ # Update properties of this object
515
+ def update!(**args)
516
+ @currency_code = args[:currency_code] if args.key?(:currency_code)
517
+ @language_code = args[:language_code] if args.key?(:language_code)
518
+ end
519
+ end
520
+
521
+ # The specification for generating an AdMob Mediation report. For example, the
522
+ # specification to get observed ECPM sliced by ad source and app for the 'US'
523
+ # and 'CN' countries can look like the following example: ` "date_range": ` "
524
+ # start_date": `"year": 2018, "month": 9, "day": 1`, "end_date": `"year": 2018, "
525
+ # month": 9, "day": 30` `, "dimensions": ["AD_SOURCE", "APP", "COUNTRY"], "
526
+ # metrics": ["OBSERVED_ECPM"], "dimension_filters": [ ` "dimension": "COUNTRY", "
527
+ # matches_any": `"values": [`"value": "US", "value": "CN"`]` ` ], "
528
+ # sort_conditions": [ `"dimension":"APP", order: "ASCENDING"` ], "
529
+ # localization_settings": ` "currency_code": "USD", "language_code": "en-US" ` `
530
+ # For a better understanding, you can treat the preceding specification like the
531
+ # following pseudo SQL: SELECT AD_SOURCE, APP, COUNTRY, OBSERVED_ECPM FROM
532
+ # MEDIATION_REPORT WHERE DATE >= '2018-09-01' AND DATE <= '2018-09-30' AND
533
+ # COUNTRY IN ('US', 'CN') GROUP BY AD_SOURCE, APP, COUNTRY ORDER BY APP ASC;
534
+ class MediationReportSpec
535
+ include Google::Apis::Core::Hashable
536
+
537
+ # Specification of a single date range. Both dates are inclusive.
538
+ # Corresponds to the JSON property `dateRange`
539
+ # @return [Google::Apis::AdmobV1beta::DateRange]
540
+ attr_accessor :date_range
541
+
542
+ # Describes which report rows to match based on their dimension values.
543
+ # Corresponds to the JSON property `dimensionFilters`
544
+ # @return [Array<Google::Apis::AdmobV1beta::MediationReportSpecDimensionFilter>]
545
+ attr_accessor :dimension_filters
546
+
547
+ # List of dimensions of the report. The value combination of these dimensions
548
+ # determines the row of the report. If no dimensions are specified, the report
549
+ # returns a single row of requested metrics for the entire account.
550
+ # Corresponds to the JSON property `dimensions`
551
+ # @return [Array<String>]
552
+ attr_accessor :dimensions
553
+
554
+ # Localization settings for reports, such as currency and language. It affects
555
+ # how metrics are calculated.
556
+ # Corresponds to the JSON property `localizationSettings`
557
+ # @return [Google::Apis::AdmobV1beta::LocalizationSettings]
558
+ attr_accessor :localization_settings
559
+
560
+ # Maximum number of report data rows to return. If the value is not set, the API
561
+ # returns as many rows as possible, up to 100000. Acceptable values are 1-100000,
562
+ # inclusive. Values larger than 100000 return an error.
563
+ # Corresponds to the JSON property `maxReportRows`
564
+ # @return [Fixnum]
565
+ attr_accessor :max_report_rows
566
+
567
+ # List of metrics of the report. A report must specify at least one metric.
568
+ # Corresponds to the JSON property `metrics`
569
+ # @return [Array<String>]
570
+ attr_accessor :metrics
571
+
572
+ # Describes the sorting of report rows. The order of the condition in the list
573
+ # defines its precedence; the earlier the condition, the higher its precedence.
574
+ # If no sort conditions are specified, the row ordering is undefined.
575
+ # Corresponds to the JSON property `sortConditions`
576
+ # @return [Array<Google::Apis::AdmobV1beta::MediationReportSpecSortCondition>]
577
+ attr_accessor :sort_conditions
578
+
579
+ # A report time zone. Accepts an IANA TZ name values, such as "America/
580
+ # Los_Angeles." If no time zone is defined, the account default takes effect.
581
+ # Check default value by the get account action. **Warning:** The "America/
582
+ # Los_Angeles" is the only supported value at the moment.
583
+ # Corresponds to the JSON property `timeZone`
584
+ # @return [String]
585
+ attr_accessor :time_zone
586
+
587
+ def initialize(**args)
588
+ update!(**args)
589
+ end
590
+
591
+ # Update properties of this object
592
+ def update!(**args)
593
+ @date_range = args[:date_range] if args.key?(:date_range)
594
+ @dimension_filters = args[:dimension_filters] if args.key?(:dimension_filters)
595
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
596
+ @localization_settings = args[:localization_settings] if args.key?(:localization_settings)
597
+ @max_report_rows = args[:max_report_rows] if args.key?(:max_report_rows)
598
+ @metrics = args[:metrics] if args.key?(:metrics)
599
+ @sort_conditions = args[:sort_conditions] if args.key?(:sort_conditions)
600
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
601
+ end
602
+ end
603
+
604
+ # Describes which report rows to match based on their dimension values.
605
+ class MediationReportSpecDimensionFilter
606
+ include Google::Apis::Core::Hashable
607
+
608
+ # Applies the filter criterion to the specified dimension.
609
+ # Corresponds to the JSON property `dimension`
610
+ # @return [String]
611
+ attr_accessor :dimension
612
+
613
+ # List of string values.
614
+ # Corresponds to the JSON property `matchesAny`
615
+ # @return [Google::Apis::AdmobV1beta::StringList]
616
+ attr_accessor :matches_any
617
+
618
+ def initialize(**args)
619
+ update!(**args)
620
+ end
621
+
622
+ # Update properties of this object
623
+ def update!(**args)
624
+ @dimension = args[:dimension] if args.key?(:dimension)
625
+ @matches_any = args[:matches_any] if args.key?(:matches_any)
626
+ end
627
+ end
628
+
629
+ # Sorting direction to be applied on a dimension or a metric.
630
+ class MediationReportSpecSortCondition
631
+ include Google::Apis::Core::Hashable
632
+
633
+ # Sort by the specified dimension.
634
+ # Corresponds to the JSON property `dimension`
635
+ # @return [String]
636
+ attr_accessor :dimension
637
+
638
+ # Sort by the specified metric.
639
+ # Corresponds to the JSON property `metric`
640
+ # @return [String]
641
+ attr_accessor :metric
642
+
643
+ # Sorting order of the dimension or metric.
644
+ # Corresponds to the JSON property `order`
645
+ # @return [String]
646
+ attr_accessor :order
647
+
648
+ def initialize(**args)
649
+ update!(**args)
650
+ end
651
+
652
+ # Update properties of this object
653
+ def update!(**args)
654
+ @dimension = args[:dimension] if args.key?(:dimension)
655
+ @metric = args[:metric] if args.key?(:metric)
656
+ @order = args[:order] if args.key?(:order)
657
+ end
658
+ end
659
+
660
+ # The specification for generating an AdMob Network report. For example, the
661
+ # specification to get clicks and estimated earnings for only the 'US' and 'CN'
662
+ # countries can look like the following example: ` 'date_range': ` 'start_date':
663
+ # `'year': 2018, 'month': 9, 'day': 1`, 'end_date': `'year': 2018, 'month': 9, '
664
+ # day': 30` `, 'dimensions': ['DATE', 'APP', 'COUNTRY'], 'metrics': ['CLICKS', '
665
+ # ESTIMATED_EARNINGS'], 'dimension_filters': [ ` 'dimension': 'COUNTRY', '
666
+ # matches_any': `'values': [`'value': 'US', 'value': 'CN'`]` ` ], '
667
+ # sort_conditions': [ `'dimension':'APP', order: 'ASCENDING'`, `'metric':'CLICKS'
668
+ # , order: 'DESCENDING'` ], 'localization_settings': ` 'currency_code': 'USD', '
669
+ # language_code': 'en-US' ` ` For a better understanding, you can treat the
670
+ # preceding specification like the following pseudo SQL: SELECT DATE, APP,
671
+ # COUNTRY, CLICKS, ESTIMATED_EARNINGS FROM NETWORK_REPORT WHERE DATE >= '2018-09-
672
+ # 01' AND DATE <= '2018-09-30' AND COUNTRY IN ('US', 'CN') GROUP BY DATE, APP,
673
+ # COUNTRY ORDER BY APP ASC, CLICKS DESC;
674
+ class NetworkReportSpec
675
+ include Google::Apis::Core::Hashable
676
+
677
+ # Specification of a single date range. Both dates are inclusive.
678
+ # Corresponds to the JSON property `dateRange`
679
+ # @return [Google::Apis::AdmobV1beta::DateRange]
680
+ attr_accessor :date_range
681
+
682
+ # Describes which report rows to match based on their dimension values.
683
+ # Corresponds to the JSON property `dimensionFilters`
684
+ # @return [Array<Google::Apis::AdmobV1beta::NetworkReportSpecDimensionFilter>]
685
+ attr_accessor :dimension_filters
686
+
687
+ # List of dimensions of the report. The value combination of these dimensions
688
+ # determines the row of the report. If no dimensions are specified, the report
689
+ # returns a single row of requested metrics for the entire account.
690
+ # Corresponds to the JSON property `dimensions`
691
+ # @return [Array<String>]
692
+ attr_accessor :dimensions
693
+
694
+ # Localization settings for reports, such as currency and language. It affects
695
+ # how metrics are calculated.
696
+ # Corresponds to the JSON property `localizationSettings`
697
+ # @return [Google::Apis::AdmobV1beta::LocalizationSettings]
698
+ attr_accessor :localization_settings
699
+
700
+ # Maximum number of report data rows to return. If the value is not set, the API
701
+ # returns as many rows as possible, up to 100000. Acceptable values are 1-100000,
702
+ # inclusive. Values larger than 100000 return an error.
703
+ # Corresponds to the JSON property `maxReportRows`
704
+ # @return [Fixnum]
705
+ attr_accessor :max_report_rows
706
+
707
+ # List of metrics of the report. A report must specify at least one metric.
708
+ # Corresponds to the JSON property `metrics`
709
+ # @return [Array<String>]
710
+ attr_accessor :metrics
711
+
712
+ # Describes the sorting of report rows. The order of the condition in the list
713
+ # defines its precedence; the earlier the condition, the higher its precedence.
714
+ # If no sort conditions are specified, the row ordering is undefined.
715
+ # Corresponds to the JSON property `sortConditions`
716
+ # @return [Array<Google::Apis::AdmobV1beta::NetworkReportSpecSortCondition>]
717
+ attr_accessor :sort_conditions
718
+
719
+ # A report time zone. Accepts an IANA TZ name values, such as "America/
720
+ # Los_Angeles." If no time zone is defined, the account default takes effect.
721
+ # Check default value by the get account action. **Warning:** The "America/
722
+ # Los_Angeles" is the only supported value at the moment.
723
+ # Corresponds to the JSON property `timeZone`
724
+ # @return [String]
725
+ attr_accessor :time_zone
726
+
727
+ def initialize(**args)
728
+ update!(**args)
729
+ end
730
+
731
+ # Update properties of this object
732
+ def update!(**args)
733
+ @date_range = args[:date_range] if args.key?(:date_range)
734
+ @dimension_filters = args[:dimension_filters] if args.key?(:dimension_filters)
735
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
736
+ @localization_settings = args[:localization_settings] if args.key?(:localization_settings)
737
+ @max_report_rows = args[:max_report_rows] if args.key?(:max_report_rows)
738
+ @metrics = args[:metrics] if args.key?(:metrics)
739
+ @sort_conditions = args[:sort_conditions] if args.key?(:sort_conditions)
740
+ @time_zone = args[:time_zone] if args.key?(:time_zone)
741
+ end
742
+ end
743
+
744
+ # Describes which report rows to match based on their dimension values.
745
+ class NetworkReportSpecDimensionFilter
746
+ include Google::Apis::Core::Hashable
747
+
748
+ # Applies the filter criterion to the specified dimension.
749
+ # Corresponds to the JSON property `dimension`
750
+ # @return [String]
751
+ attr_accessor :dimension
752
+
753
+ # List of string values.
754
+ # Corresponds to the JSON property `matchesAny`
755
+ # @return [Google::Apis::AdmobV1beta::StringList]
756
+ attr_accessor :matches_any
757
+
758
+ def initialize(**args)
759
+ update!(**args)
760
+ end
761
+
762
+ # Update properties of this object
763
+ def update!(**args)
764
+ @dimension = args[:dimension] if args.key?(:dimension)
765
+ @matches_any = args[:matches_any] if args.key?(:matches_any)
766
+ end
767
+ end
768
+
769
+ # Sorting direction to be applied on a dimension or a metric.
770
+ class NetworkReportSpecSortCondition
771
+ include Google::Apis::Core::Hashable
772
+
773
+ # Sort by the specified dimension.
774
+ # Corresponds to the JSON property `dimension`
775
+ # @return [String]
776
+ attr_accessor :dimension
777
+
778
+ # Sort by the specified metric.
779
+ # Corresponds to the JSON property `metric`
780
+ # @return [String]
781
+ attr_accessor :metric
782
+
783
+ # Sorting order of the dimension or metric.
784
+ # Corresponds to the JSON property `order`
785
+ # @return [String]
786
+ attr_accessor :order
787
+
788
+ def initialize(**args)
789
+ update!(**args)
790
+ end
791
+
792
+ # Update properties of this object
793
+ def update!(**args)
794
+ @dimension = args[:dimension] if args.key?(:dimension)
795
+ @metric = args[:metric] if args.key?(:metric)
796
+ @order = args[:order] if args.key?(:order)
797
+ end
798
+ end
799
+
800
+ # A publisher account contains information relevant to the use of this API, such
801
+ # as the time zone used for the reports.
802
+ class PublisherAccount
803
+ include Google::Apis::Core::Hashable
804
+
805
+ # Currency code of the earning-related metrics, which is the 3-letter code
806
+ # defined in ISO 4217. The daily average rate is used for the currency
807
+ # conversion.
808
+ # Corresponds to the JSON property `currencyCode`
809
+ # @return [String]
810
+ attr_accessor :currency_code
811
+
812
+ # Resource name of this account. Format is accounts/`publisher_id`.
813
+ # Corresponds to the JSON property `name`
814
+ # @return [String]
815
+ attr_accessor :name
816
+
817
+ # The unique ID by which this publisher account can be identified in the API
818
+ # requests (for example, pub-1234567890).
819
+ # Corresponds to the JSON property `publisherId`
820
+ # @return [String]
821
+ attr_accessor :publisher_id
822
+
823
+ # The time zone that is used in reports that are generated for this account. The
824
+ # value is a time-zone ID as specified by the CLDR project, for example, "
825
+ # America/Los_Angeles".
826
+ # Corresponds to the JSON property `reportingTimeZone`
827
+ # @return [String]
828
+ attr_accessor :reporting_time_zone
829
+
830
+ def initialize(**args)
831
+ update!(**args)
832
+ end
833
+
834
+ # Update properties of this object
835
+ def update!(**args)
836
+ @currency_code = args[:currency_code] if args.key?(:currency_code)
837
+ @name = args[:name] if args.key?(:name)
838
+ @publisher_id = args[:publisher_id] if args.key?(:publisher_id)
839
+ @reporting_time_zone = args[:reporting_time_zone] if args.key?(:reporting_time_zone)
840
+ end
841
+ end
842
+
843
+ # Groups data available after report generation, for example, warnings and row
844
+ # counts. Always sent as the last message in the stream response.
845
+ class ReportFooter
846
+ include Google::Apis::Core::Hashable
847
+
848
+ # Total number of rows that matched the request. Warning: This count does NOT
849
+ # always match the number of rows in the response. Do not make that assumption
850
+ # when processing the response.
851
+ # Corresponds to the JSON property `matchingRowCount`
852
+ # @return [Fixnum]
853
+ attr_accessor :matching_row_count
854
+
855
+ # Warnings associated with generation of the report.
856
+ # Corresponds to the JSON property `warnings`
857
+ # @return [Array<Google::Apis::AdmobV1beta::ReportWarning>]
858
+ attr_accessor :warnings
859
+
860
+ def initialize(**args)
861
+ update!(**args)
862
+ end
863
+
864
+ # Update properties of this object
865
+ def update!(**args)
866
+ @matching_row_count = args[:matching_row_count] if args.key?(:matching_row_count)
867
+ @warnings = args[:warnings] if args.key?(:warnings)
868
+ end
869
+ end
870
+
871
+ # Groups data helps to treat the generated report. Always sent as a first
872
+ # message in the stream response.
873
+ class ReportHeader
874
+ include Google::Apis::Core::Hashable
875
+
876
+ # Specification of a single date range. Both dates are inclusive.
877
+ # Corresponds to the JSON property `dateRange`
878
+ # @return [Google::Apis::AdmobV1beta::DateRange]
879
+ attr_accessor :date_range
880
+
881
+ # Localization settings for reports, such as currency and language. It affects
882
+ # how metrics are calculated.
883
+ # Corresponds to the JSON property `localizationSettings`
884
+ # @return [Google::Apis::AdmobV1beta::LocalizationSettings]
885
+ attr_accessor :localization_settings
886
+
887
+ # The report time zone. The value is a time-zone ID as specified by the CLDR
888
+ # project, for example, "America/Los_Angeles".
889
+ # Corresponds to the JSON property `reportingTimeZone`
890
+ # @return [String]
891
+ attr_accessor :reporting_time_zone
892
+
893
+ def initialize(**args)
894
+ update!(**args)
895
+ end
896
+
897
+ # Update properties of this object
898
+ def update!(**args)
899
+ @date_range = args[:date_range] if args.key?(:date_range)
900
+ @localization_settings = args[:localization_settings] if args.key?(:localization_settings)
901
+ @reporting_time_zone = args[:reporting_time_zone] if args.key?(:reporting_time_zone)
902
+ end
903
+ end
904
+
905
+ # A row of the returning report.
906
+ class ReportRow
907
+ include Google::Apis::Core::Hashable
908
+
909
+ # Map of dimension values in a row, with keys as enum name of the dimensions.
910
+ # Corresponds to the JSON property `dimensionValues`
911
+ # @return [Hash<String,Google::Apis::AdmobV1beta::ReportRowDimensionValue>]
912
+ attr_accessor :dimension_values
913
+
914
+ # Map of metric values in a row, with keys as enum name of the metrics. If a
915
+ # metric being requested has no value returned, the map will not include it.
916
+ # Corresponds to the JSON property `metricValues`
917
+ # @return [Hash<String,Google::Apis::AdmobV1beta::ReportRowMetricValue>]
918
+ attr_accessor :metric_values
919
+
920
+ def initialize(**args)
921
+ update!(**args)
922
+ end
923
+
924
+ # Update properties of this object
925
+ def update!(**args)
926
+ @dimension_values = args[:dimension_values] if args.key?(:dimension_values)
927
+ @metric_values = args[:metric_values] if args.key?(:metric_values)
928
+ end
929
+ end
930
+
931
+ # Representation of a dimension value.
932
+ class ReportRowDimensionValue
933
+ include Google::Apis::Core::Hashable
934
+
935
+ # The localized string representation of the value. If unspecified, the display
936
+ # label should be derived from the value.
937
+ # Corresponds to the JSON property `displayLabel`
938
+ # @return [String]
939
+ attr_accessor :display_label
940
+
941
+ # Dimension value in the format specified in the report's spec Dimension enum.
942
+ # Corresponds to the JSON property `value`
943
+ # @return [String]
944
+ attr_accessor :value
945
+
946
+ def initialize(**args)
947
+ update!(**args)
948
+ end
949
+
950
+ # Update properties of this object
951
+ def update!(**args)
952
+ @display_label = args[:display_label] if args.key?(:display_label)
953
+ @value = args[:value] if args.key?(:value)
954
+ end
955
+ end
956
+
957
+ # Representation of a metric value.
958
+ class ReportRowMetricValue
959
+ include Google::Apis::Core::Hashable
960
+
961
+ # Double precision (approximate) decimal values. Rates are from 0 to 1.
962
+ # Corresponds to the JSON property `doubleValue`
963
+ # @return [Float]
964
+ attr_accessor :double_value
965
+
966
+ # Metric integer value.
967
+ # Corresponds to the JSON property `integerValue`
968
+ # @return [Fixnum]
969
+ attr_accessor :integer_value
970
+
971
+ # Amount in micros. One million is equivalent to one unit. Currency value is in
972
+ # the unit (USD, EUR or other) specified by the request. For example, $6.50
973
+ # whould be represented as 6500000 micros.
974
+ # Corresponds to the JSON property `microsValue`
975
+ # @return [Fixnum]
976
+ attr_accessor :micros_value
977
+
978
+ def initialize(**args)
979
+ update!(**args)
980
+ end
981
+
982
+ # Update properties of this object
983
+ def update!(**args)
984
+ @double_value = args[:double_value] if args.key?(:double_value)
985
+ @integer_value = args[:integer_value] if args.key?(:integer_value)
986
+ @micros_value = args[:micros_value] if args.key?(:micros_value)
987
+ end
988
+ end
989
+
990
+ # Warnings associated with generation of the report.
991
+ class ReportWarning
992
+ include Google::Apis::Core::Hashable
993
+
994
+ # Describes the details of the warning message, in English.
995
+ # Corresponds to the JSON property `description`
996
+ # @return [String]
997
+ attr_accessor :description
998
+
999
+ # Type of the warning.
1000
+ # Corresponds to the JSON property `type`
1001
+ # @return [String]
1002
+ attr_accessor :type
1003
+
1004
+ def initialize(**args)
1005
+ update!(**args)
1006
+ end
1007
+
1008
+ # Update properties of this object
1009
+ def update!(**args)
1010
+ @description = args[:description] if args.key?(:description)
1011
+ @type = args[:type] if args.key?(:type)
1012
+ end
1013
+ end
1014
+
1015
+ # List of string values.
1016
+ class StringList
1017
+ include Google::Apis::Core::Hashable
1018
+
1019
+ # The string values.
1020
+ # Corresponds to the JSON property `values`
1021
+ # @return [Array<String>]
1022
+ attr_accessor :values
1023
+
1024
+ def initialize(**args)
1025
+ update!(**args)
1026
+ end
1027
+
1028
+ # Update properties of this object
1029
+ def update!(**args)
1030
+ @values = args[:values] if args.key?(:values)
1031
+ end
1032
+ end
1033
+ end
1034
+ end
1035
+ end