google-api-client 0.49.0 → 0.50.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (200) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +81 -0
  3. data/generated/google/apis/accessapproval_v1.rb +1 -1
  4. data/generated/google/apis/accessapproval_v1/service.rb +12 -9
  5. data/generated/google/apis/admob_v1.rb +4 -1
  6. data/generated/google/apis/admob_v1/service.rb +4 -0
  7. data/generated/google/apis/admob_v1beta.rb +38 -0
  8. data/generated/google/apis/admob_v1beta/classes.rb +1035 -0
  9. data/generated/google/apis/admob_v1beta/representations.rb +472 -0
  10. data/generated/google/apis/admob_v1beta/service.rb +279 -0
  11. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  12. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +8 -32
  13. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +0 -16
  14. data/generated/google/apis/analyticsdata_v1alpha/service.rb +3 -32
  15. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  16. data/generated/google/apis/androidenterprise_v1/classes.rb +6 -0
  17. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  18. data/generated/google/apis/apigee_v1.rb +1 -1
  19. data/generated/google/apis/apigee_v1/classes.rb +114 -11
  20. data/generated/google/apis/apigee_v1/representations.rb +39 -1
  21. data/generated/google/apis/apigee_v1/service.rb +370 -2
  22. data/generated/google/apis/area120tables_v1alpha1.rb +1 -1
  23. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  24. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +0 -6
  25. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +0 -1
  26. data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
  27. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +22 -10
  28. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +2 -0
  29. data/generated/google/apis/assuredworkloads_v1beta1/service.rb +1 -5
  30. data/generated/google/apis/billingbudgets_v1.rb +1 -1
  31. data/generated/google/apis/billingbudgets_v1/classes.rb +6 -6
  32. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  33. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +6 -6
  34. data/generated/google/apis/cloudasset_v1.rb +1 -1
  35. data/generated/google/apis/cloudasset_v1/classes.rb +425 -6
  36. data/generated/google/apis/cloudasset_v1/representations.rb +170 -1
  37. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  38. data/generated/google/apis/cloudasset_v1beta1/classes.rb +0 -6
  39. data/generated/google/apis/cloudasset_v1beta1/representations.rb +0 -1
  40. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  41. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +0 -6
  42. data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +0 -1
  43. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  44. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +0 -6
  45. data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +0 -1
  46. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  47. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +0 -6
  48. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +0 -1
  49. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  50. data/generated/google/apis/cloudfunctions_v1/classes.rb +0 -6
  51. data/generated/google/apis/cloudfunctions_v1/representations.rb +0 -1
  52. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  53. data/generated/google/apis/cloudidentity_v1/service.rb +7 -3
  54. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  55. data/generated/google/apis/cloudidentity_v1beta1/service.rb +7 -3
  56. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  57. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +323 -6
  58. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +248 -1
  59. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  60. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +323 -6
  61. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +248 -1
  62. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  63. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +323 -6
  64. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +248 -1
  65. data/generated/google/apis/cloudresourcemanager_v2/service.rb +5 -5
  66. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  67. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +323 -6
  68. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +248 -1
  69. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +5 -5
  70. data/generated/google/apis/compute_v1.rb +1 -1
  71. data/generated/google/apis/compute_v1/classes.rb +35 -13
  72. data/generated/google/apis/compute_v1/representations.rb +2 -0
  73. data/generated/google/apis/compute_v1/service.rb +2 -1
  74. data/generated/google/apis/content_v2.rb +1 -1
  75. data/generated/google/apis/content_v2/service.rb +3 -1
  76. data/generated/google/apis/content_v2_1.rb +1 -1
  77. data/generated/google/apis/content_v2_1/classes.rb +446 -4
  78. data/generated/google/apis/content_v2_1/representations.rb +136 -0
  79. data/generated/google/apis/content_v2_1/service.rb +36 -1
  80. data/generated/google/apis/deploymentmanager_v2.rb +2 -2
  81. data/generated/google/apis/deploymentmanager_v2/service.rb +1 -1
  82. data/generated/google/apis/deploymentmanager_v2beta.rb +2 -2
  83. data/generated/google/apis/deploymentmanager_v2beta/service.rb +1 -1
  84. data/generated/google/apis/dialogflow_v2.rb +1 -1
  85. data/generated/google/apis/dialogflow_v2/classes.rb +0 -31
  86. data/generated/google/apis/dialogflow_v2/representations.rb +0 -15
  87. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  88. data/generated/google/apis/dialogflow_v2beta1/classes.rb +0 -31
  89. data/generated/google/apis/dialogflow_v2beta1/representations.rb +0 -15
  90. data/generated/google/apis/dialogflow_v2beta1/service.rb +12 -6
  91. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  92. data/generated/google/apis/dialogflow_v3beta1/classes.rb +0 -31
  93. data/generated/google/apis/dialogflow_v3beta1/representations.rb +0 -15
  94. data/generated/google/apis/displayvideo_v1.rb +1 -1
  95. data/generated/google/apis/displayvideo_v1/classes.rb +5 -5
  96. data/generated/google/apis/displayvideo_v1/service.rb +1 -1
  97. data/generated/google/apis/dlp_v2.rb +1 -1
  98. data/generated/google/apis/dlp_v2/classes.rb +6 -0
  99. data/generated/google/apis/dlp_v2/representations.rb +1 -0
  100. data/generated/google/apis/domains_v1alpha2.rb +1 -1
  101. data/generated/google/apis/domains_v1alpha2/classes.rb +0 -6
  102. data/generated/google/apis/domains_v1alpha2/representations.rb +0 -1
  103. data/generated/google/apis/domains_v1beta1.rb +1 -1
  104. data/generated/google/apis/domains_v1beta1/classes.rb +0 -6
  105. data/generated/google/apis/domains_v1beta1/representations.rb +0 -1
  106. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  107. data/generated/google/apis/drive_v2.rb +1 -1
  108. data/generated/google/apis/drive_v2/classes.rb +2 -2
  109. data/generated/google/apis/drive_v3.rb +1 -1
  110. data/generated/google/apis/drive_v3/classes.rb +2 -2
  111. data/generated/google/apis/healthcare_v1.rb +1 -1
  112. data/generated/google/apis/healthcare_v1/classes.rb +6 -0
  113. data/generated/google/apis/healthcare_v1/representations.rb +1 -0
  114. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  115. data/generated/google/apis/healthcare_v1beta1/classes.rb +12 -54
  116. data/generated/google/apis/healthcare_v1beta1/representations.rb +3 -29
  117. data/generated/google/apis/logging_v2.rb +1 -1
  118. data/generated/google/apis/logging_v2/classes.rb +4 -2
  119. data/generated/google/apis/logging_v2/service.rb +20 -20
  120. data/generated/google/apis/managedidentities_v1.rb +1 -1
  121. data/generated/google/apis/managedidentities_v1/classes.rb +345 -4
  122. data/generated/google/apis/managedidentities_v1/representations.rb +149 -0
  123. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  124. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +345 -4
  125. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +149 -0
  126. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  127. data/generated/google/apis/managedidentities_v1beta1/classes.rb +345 -4
  128. data/generated/google/apis/managedidentities_v1beta1/representations.rb +149 -0
  129. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  130. data/generated/google/apis/memcache_v1beta2/classes.rb +345 -4
  131. data/generated/google/apis/memcache_v1beta2/representations.rb +149 -0
  132. data/generated/google/apis/notebooks_v1.rb +34 -0
  133. data/generated/google/apis/notebooks_v1/classes.rb +1461 -0
  134. data/generated/google/apis/notebooks_v1/representations.rb +581 -0
  135. data/generated/google/apis/notebooks_v1/service.rb +1042 -0
  136. data/generated/google/apis/people_v1.rb +1 -1
  137. data/generated/google/apis/people_v1/service.rb +9 -6
  138. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  139. data/generated/google/apis/policytroubleshooter_v1/classes.rb +0 -6
  140. data/generated/google/apis/policytroubleshooter_v1/representations.rb +0 -1
  141. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  142. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +0 -6
  143. data/generated/google/apis/policytroubleshooter_v1beta/representations.rb +0 -1
  144. data/generated/google/apis/privateca_v1beta1.rb +1 -1
  145. data/generated/google/apis/privateca_v1beta1/classes.rb +0 -6
  146. data/generated/google/apis/privateca_v1beta1/representations.rb +0 -1
  147. data/generated/google/apis/privateca_v1beta1/service.rb +0 -52
  148. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  149. data/generated/google/apis/realtimebidding_v1/classes.rb +545 -0
  150. data/generated/google/apis/realtimebidding_v1/representations.rb +232 -0
  151. data/generated/google/apis/realtimebidding_v1/service.rb +450 -0
  152. data/generated/google/apis/redis_v1.rb +1 -1
  153. data/generated/google/apis/redis_v1/classes.rb +58 -0
  154. data/generated/google/apis/redis_v1/representations.rb +20 -0
  155. data/generated/google/apis/redis_v1beta1.rb +1 -1
  156. data/generated/google/apis/redis_v1beta1/classes.rb +58 -0
  157. data/generated/google/apis/redis_v1beta1/representations.rb +20 -0
  158. data/generated/google/apis/run_v1.rb +1 -1
  159. data/generated/google/apis/run_v1/classes.rb +0 -6
  160. data/generated/google/apis/run_v1/representations.rb +0 -1
  161. data/generated/google/apis/run_v1alpha1.rb +1 -1
  162. data/generated/google/apis/run_v1alpha1/classes.rb +0 -6
  163. data/generated/google/apis/run_v1alpha1/representations.rb +0 -1
  164. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  165. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +0 -6
  166. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +0 -1
  167. data/generated/google/apis/secretmanager_v1.rb +1 -1
  168. data/generated/google/apis/secretmanager_v1/classes.rb +0 -6
  169. data/generated/google/apis/secretmanager_v1/representations.rb +0 -1
  170. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  171. data/generated/google/apis/secretmanager_v1beta1/classes.rb +0 -6
  172. data/generated/google/apis/secretmanager_v1beta1/representations.rb +0 -1
  173. data/generated/google/apis/securitycenter_v1.rb +1 -1
  174. data/generated/google/apis/securitycenter_v1/classes.rb +0 -6
  175. data/generated/google/apis/securitycenter_v1/representations.rb +0 -1
  176. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  177. data/generated/google/apis/securitycenter_v1beta1/classes.rb +0 -6
  178. data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -1
  179. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  180. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +26 -6
  181. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  182. data/generated/google/apis/servicemanagement_v1/classes.rb +1 -7
  183. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  184. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  185. data/generated/google/apis/servicenetworking_v1/service.rb +38 -0
  186. data/generated/google/apis/storage_v1.rb +1 -1
  187. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  188. data/generated/google/apis/storagetransfer_v1/classes.rb +31 -16
  189. data/generated/google/apis/storagetransfer_v1/representations.rb +3 -0
  190. data/generated/google/apis/storagetransfer_v1/service.rb +3 -3
  191. data/generated/google/apis/transcoder_v1beta1.rb +34 -0
  192. data/generated/google/apis/transcoder_v1beta1/classes.rb +1684 -0
  193. data/generated/google/apis/transcoder_v1beta1/representations.rb +756 -0
  194. data/generated/google/apis/transcoder_v1beta1/service.rb +329 -0
  195. data/generated/google/apis/translate_v3.rb +1 -1
  196. data/generated/google/apis/translate_v3beta1.rb +1 -1
  197. data/generated/google/apis/youtube_v3.rb +1 -1
  198. data/generated/google/apis/youtube_v3/service.rb +6 -6
  199. data/lib/google/apis/version.rb +1 -1
  200. metadata +15 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 67097755d9335410077560bc0c681e1575a076620056ddea60e589ef6dd0f015
4
- data.tar.gz: cde41f65367b5b6cce97f96c573dac72793d7e56855d973b93a2dcf9bfa384dd
3
+ metadata.gz: ad55724f0ec975a0c07a24ba41fa489d597147c7f737b89425b4e8c0f62bc9b6
4
+ data.tar.gz: ecca31432a18ad425b32485239a4439b41243ea877441108e2ed3d84b65d2998
5
5
  SHA512:
6
- metadata.gz: 552ec898c09ff7e49faab5350a3c394c64ed9b64b296d4fb2c59c23c4056ca26fda3fb7572fa3561ee8373c4cf1e4967bba7b5c87330b001184a021c845811c6
7
- data.tar.gz: 554d69fb1a37bfb082093db2245011e9fc600ef0f7f88d2a7b8da7d43625c87b668b556bcb8eb227bb5b1b996ae73ddfac165558004c84b0664b2edc8bbd6803
6
+ metadata.gz: 44b406465ef5a7653ef8dc35d579f165ff3cd4a94b7f0a639af78c7be5fc4f6bb7fe5c463b34c2189deb0b341d3fcf4231d4562b736cc4ae73c5414feea834dd
7
+ data.tar.gz: 0615d605544a2f30c3910b4b77c6c08c3e74d41cf0aff35b68910698bf8c57f069d25df5419649360988a56bb434d684982a80ccef67de30c4d135b3a2e9be1d
@@ -1,5 +1,86 @@
1
1
  # Release History
2
2
 
3
+ ## [0.50.0](https://www.github.com/googleapis/google-api-ruby-client/compare/v0.49.0...v0.50.0) (2020-11-16)
4
+
5
+
6
+ ### Features
7
+
8
+ * Automated regeneration of accessapproval v1 client ([#1444](https://www.github.com/googleapis/google-api-ruby-client/issues/1444)) ([f31be6c](https://www.github.com/googleapis/google-api-ruby-client/commit/f31be6c999499d1dec0dfc3ec1ff4204cc445fd3))
9
+ * Automated regeneration of admob v1 client ([#1445](https://www.github.com/googleapis/google-api-ruby-client/issues/1445)) ([c2dac22](https://www.github.com/googleapis/google-api-ruby-client/commit/c2dac22e565689192a79a902fc0c6c9f5ed5bcab))
10
+ * Automated regeneration of admob v1 client ([#1465](https://www.github.com/googleapis/google-api-ruby-client/issues/1465)) ([81ee1e5](https://www.github.com/googleapis/google-api-ruby-client/commit/81ee1e5029feb56c067350bd2ec44155f2507129))
11
+ * Automated regeneration of admob v1 client ([#1499](https://www.github.com/googleapis/google-api-ruby-client/issues/1499)) ([7c976cf](https://www.github.com/googleapis/google-api-ruby-client/commit/7c976cf9eb6c08f79dc8a936508b1b70eb2ae0f7))
12
+ * Automated regeneration of admob v1beta client ([#1466](https://www.github.com/googleapis/google-api-ruby-client/issues/1466)) ([03fcbbc](https://www.github.com/googleapis/google-api-ruby-client/commit/03fcbbc8def2b753f53e44325d3e089eec8ddb60))
13
+ * Automated regeneration of admob v1beta client ([#1500](https://www.github.com/googleapis/google-api-ruby-client/issues/1500)) ([21acd5a](https://www.github.com/googleapis/google-api-ruby-client/commit/21acd5a0b03221630207df8b88eb5bb7c9826206))
14
+ * Automated regeneration of analyticsdata v1alpha client ([#1446](https://www.github.com/googleapis/google-api-ruby-client/issues/1446)) ([da4ce73](https://www.github.com/googleapis/google-api-ruby-client/commit/da4ce73b38e724077afa6f7e81832e1b416b0ea2))
15
+ * Automated regeneration of analyticsdata v1alpha client ([#1482](https://www.github.com/googleapis/google-api-ruby-client/issues/1482)) ([a083312](https://www.github.com/googleapis/google-api-ruby-client/commit/a0833120c5511b30a60c4c1a440ec78b29f8b748))
16
+ * Automated regeneration of androidenterprise v1 client ([#1447](https://www.github.com/googleapis/google-api-ruby-client/issues/1447)) ([f68c763](https://www.github.com/googleapis/google-api-ruby-client/commit/f68c763f091d7734d99043945f3fc125f70bc0e5))
17
+ * Automated regeneration of apigee v1 client ([#1448](https://www.github.com/googleapis/google-api-ruby-client/issues/1448)) ([756e428](https://www.github.com/googleapis/google-api-ruby-client/commit/756e428d4f71179ec6d5b8e41ebfd3b31a80f895))
18
+ * Automated regeneration of area120tables v1alpha1 client ([#1508](https://www.github.com/googleapis/google-api-ruby-client/issues/1508)) ([64cc0a9](https://www.github.com/googleapis/google-api-ruby-client/commit/64cc0a9fa3e5be2081f51465ccb191ff506c9ece))
19
+ * Automated regeneration of artifactregistry v1beta1 client ([#1509](https://www.github.com/googleapis/google-api-ruby-client/issues/1509)) ([25d8dd7](https://www.github.com/googleapis/google-api-ruby-client/commit/25d8dd72a84b4d3af1b4b16f497ed5471b55829f))
20
+ * Automated regeneration of assuredworkloads v1beta1 client ([#1449](https://www.github.com/googleapis/google-api-ruby-client/issues/1449)) ([3b958ca](https://www.github.com/googleapis/google-api-ruby-client/commit/3b958ca172b98f15a141120c6c09cf858513d7df))
21
+ * Automated regeneration of billingbudgets v1 client ([#1450](https://www.github.com/googleapis/google-api-ruby-client/issues/1450)) ([bc83ebb](https://www.github.com/googleapis/google-api-ruby-client/commit/bc83ebb13c5b370033fd6f8de7f8041a1913996b))
22
+ * Automated regeneration of billingbudgets v1beta1 client ([#1451](https://www.github.com/googleapis/google-api-ruby-client/issues/1451)) ([f4816b8](https://www.github.com/googleapis/google-api-ruby-client/commit/f4816b814d93bcc387c461c05515a06df139c939))
23
+ * Automated regeneration of cloudasset v1 client ([#1467](https://www.github.com/googleapis/google-api-ruby-client/issues/1467)) ([8fc8e7d](https://www.github.com/googleapis/google-api-ruby-client/commit/8fc8e7dc1cc2247a9192e74076a1a94fe80a7c16))
24
+ * Automated regeneration of cloudasset v1beta1 client ([#1468](https://www.github.com/googleapis/google-api-ruby-client/issues/1468)) ([2b7879b](https://www.github.com/googleapis/google-api-ruby-client/commit/2b7879b70717593eb51df8f2a11c72d4484f4977))
25
+ * Automated regeneration of cloudasset v1p1beta1 client ([#1469](https://www.github.com/googleapis/google-api-ruby-client/issues/1469)) ([76ceb93](https://www.github.com/googleapis/google-api-ruby-client/commit/76ceb93d1da6345465a96d29b5f9cc8c8d889822))
26
+ * Automated regeneration of cloudasset v1p4beta1 client ([#1470](https://www.github.com/googleapis/google-api-ruby-client/issues/1470)) ([9aabebe](https://www.github.com/googleapis/google-api-ruby-client/commit/9aabebef5c3fb03dd1987208be2a5b2bc93cfdc4))
27
+ * Automated regeneration of cloudasset v1p5beta1 client ([#1471](https://www.github.com/googleapis/google-api-ruby-client/issues/1471)) ([416512d](https://www.github.com/googleapis/google-api-ruby-client/commit/416512d3a2f0d2e1e8721fa57fcb236e0fdc4f1e))
28
+ * Automated regeneration of cloudfunctions v1 client ([#1510](https://www.github.com/googleapis/google-api-ruby-client/issues/1510)) ([47d1ed5](https://www.github.com/googleapis/google-api-ruby-client/commit/47d1ed5b485137003b6413ab06e2512d4616d6c6))
29
+ * Automated regeneration of cloudidentity v1 client ([#1472](https://www.github.com/googleapis/google-api-ruby-client/issues/1472)) ([4f07f72](https://www.github.com/googleapis/google-api-ruby-client/commit/4f07f72c8c5e0c46908b30bec70e09d6df462162))
30
+ * Automated regeneration of cloudidentity v1 client ([#1502](https://www.github.com/googleapis/google-api-ruby-client/issues/1502)) ([1f6e530](https://www.github.com/googleapis/google-api-ruby-client/commit/1f6e5308dea8362951ece94804425aec892c64b1))
31
+ * Automated regeneration of cloudidentity v1beta1 client ([#1473](https://www.github.com/googleapis/google-api-ruby-client/issues/1473)) ([e317a0f](https://www.github.com/googleapis/google-api-ruby-client/commit/e317a0f5e6109142be13031fa9e9baee4d2f897e))
32
+ * Automated regeneration of cloudidentity v1beta1 client ([#1503](https://www.github.com/googleapis/google-api-ruby-client/issues/1503)) ([50f5d4b](https://www.github.com/googleapis/google-api-ruby-client/commit/50f5d4b6c20942f1a2d116f4ecaade1ffad0fe09))
33
+ * Automated regeneration of cloudresourcemanager v1 client ([#1483](https://www.github.com/googleapis/google-api-ruby-client/issues/1483)) ([93b1128](https://www.github.com/googleapis/google-api-ruby-client/commit/93b11284a8b62d8387838a859f24925e1fe8a9a7))
34
+ * Automated regeneration of cloudresourcemanager v1beta1 client ([#1484](https://www.github.com/googleapis/google-api-ruby-client/issues/1484)) ([d6095bb](https://www.github.com/googleapis/google-api-ruby-client/commit/d6095bb3d3730f819854bd121870fba5e07c2c92))
35
+ * Automated regeneration of cloudresourcemanager v2 client ([#1485](https://www.github.com/googleapis/google-api-ruby-client/issues/1485)) ([8df36f7](https://www.github.com/googleapis/google-api-ruby-client/commit/8df36f7a58719497a0bfb7310e00bcfe6b40d8d6))
36
+ * Automated regeneration of cloudresourcemanager v2beta1 client ([#1486](https://www.github.com/googleapis/google-api-ruby-client/issues/1486)) ([ff681b7](https://www.github.com/googleapis/google-api-ruby-client/commit/ff681b7f670cbaef01ff3e8e3640d38d81cf4760))
37
+ * Automated regeneration of compute v1 client ([#1511](https://www.github.com/googleapis/google-api-ruby-client/issues/1511)) ([745919d](https://www.github.com/googleapis/google-api-ruby-client/commit/745919d35325388ea1c88385e5271539cf14f98d))
38
+ * Automated regeneration of content v2 client ([#1453](https://www.github.com/googleapis/google-api-ruby-client/issues/1453)) ([579321f](https://www.github.com/googleapis/google-api-ruby-client/commit/579321fd4114f939376f4fb72f0379f19400ae53))
39
+ * Automated regeneration of content v2.1 client ([#1452](https://www.github.com/googleapis/google-api-ruby-client/issues/1452)) ([146e23d](https://www.github.com/googleapis/google-api-ruby-client/commit/146e23ddff24116ddaec400b04873a1fb186f7b4))
40
+ * Automated regeneration of deploymentmanager v2 client ([#1504](https://www.github.com/googleapis/google-api-ruby-client/issues/1504)) ([5482174](https://www.github.com/googleapis/google-api-ruby-client/commit/5482174b898aeb1e3e266bbde0cc60c467d496f5))
41
+ * Automated regeneration of deploymentmanager v2beta client ([#1505](https://www.github.com/googleapis/google-api-ruby-client/issues/1505)) ([05510ff](https://www.github.com/googleapis/google-api-ruby-client/commit/05510ff51fe4cf81c260203aa3b78b6086833908))
42
+ * Automated regeneration of dialogflow v2 client ([#1474](https://www.github.com/googleapis/google-api-ruby-client/issues/1474)) ([c1df161](https://www.github.com/googleapis/google-api-ruby-client/commit/c1df1613563973ec7b9d67a6975322cbbc7af6c2))
43
+ * Automated regeneration of dialogflow v2beta1 client ([#1475](https://www.github.com/googleapis/google-api-ruby-client/issues/1475)) ([5121de2](https://www.github.com/googleapis/google-api-ruby-client/commit/5121de256c9e69d5cf21216cdda8390f9ccee6a2))
44
+ * Automated regeneration of dialogflow v3beta1 client ([#1476](https://www.github.com/googleapis/google-api-ruby-client/issues/1476)) ([64c6d36](https://www.github.com/googleapis/google-api-ruby-client/commit/64c6d36ab993d9fbda11694fa8a3025f3f5fd5a7))
45
+ * Automated regeneration of displayvideo v1 client ([#1512](https://www.github.com/googleapis/google-api-ruby-client/issues/1512)) ([94b9cd6](https://www.github.com/googleapis/google-api-ruby-client/commit/94b9cd6d15cbae1dbec16415a5988f71d5abc1be))
46
+ * Automated regeneration of dlp v2 client ([#1477](https://www.github.com/googleapis/google-api-ruby-client/issues/1477)) ([f1b42ae](https://www.github.com/googleapis/google-api-ruby-client/commit/f1b42ae48f3d96c1e942ce1f3f092014f72a86ff))
47
+ * Automated regeneration of domains v1alpha2 client ([#1487](https://www.github.com/googleapis/google-api-ruby-client/issues/1487)) ([4228bd0](https://www.github.com/googleapis/google-api-ruby-client/commit/4228bd0a1f7dbd64177dfa0a0b71991929ee66cb))
48
+ * Automated regeneration of domains v1beta1 client ([#1488](https://www.github.com/googleapis/google-api-ruby-client/issues/1488)) ([beb75af](https://www.github.com/googleapis/google-api-ruby-client/commit/beb75af616d287dcb445e5b33858c96477c2b3a7))
49
+ * Automated regeneration of doubleclickbidmanager v1.1 client ([#1489](https://www.github.com/googleapis/google-api-ruby-client/issues/1489)) ([832523e](https://www.github.com/googleapis/google-api-ruby-client/commit/832523ee7e1f8f507780ff9786763db4a07ba35a))
50
+ * Automated regeneration of drive v2 client ([#1490](https://www.github.com/googleapis/google-api-ruby-client/issues/1490)) ([dadc6d2](https://www.github.com/googleapis/google-api-ruby-client/commit/dadc6d21eefb965d1827084a7c0e9466a5dc2637))
51
+ * Automated regeneration of drive v3 client ([#1491](https://www.github.com/googleapis/google-api-ruby-client/issues/1491)) ([133a9c7](https://www.github.com/googleapis/google-api-ruby-client/commit/133a9c7037c502dc784f76f9a127f826749ac248))
52
+ * Automated regeneration of healthcare v1 client ([#1454](https://www.github.com/googleapis/google-api-ruby-client/issues/1454)) ([9faa19c](https://www.github.com/googleapis/google-api-ruby-client/commit/9faa19ccde6c1062d290bd3099b5e4965cfed4d1))
53
+ * Automated regeneration of healthcare v1beta1 client ([#1455](https://www.github.com/googleapis/google-api-ruby-client/issues/1455)) ([b62c09a](https://www.github.com/googleapis/google-api-ruby-client/commit/b62c09a4d05ec7b7d91daeea13a376f5f2a45dd7))
54
+ * Automated regeneration of logging v2 client ([#1513](https://www.github.com/googleapis/google-api-ruby-client/issues/1513)) ([e4e7cf6](https://www.github.com/googleapis/google-api-ruby-client/commit/e4e7cf64adc24b6b01126744eb3d8299c67e1de5))
55
+ * Automated regeneration of managedidentities v1 client ([#1514](https://www.github.com/googleapis/google-api-ruby-client/issues/1514)) ([54ef4fc](https://www.github.com/googleapis/google-api-ruby-client/commit/54ef4fcc4a5dd5ee89c0186e940d70c942286340))
56
+ * Automated regeneration of managedidentities v1alpha1 client ([#1515](https://www.github.com/googleapis/google-api-ruby-client/issues/1515)) ([281a913](https://www.github.com/googleapis/google-api-ruby-client/commit/281a9138b5a186a62fa9030004497cbf47e3869e))
57
+ * Automated regeneration of managedidentities v1beta1 client ([#1516](https://www.github.com/googleapis/google-api-ruby-client/issues/1516)) ([bad4fa6](https://www.github.com/googleapis/google-api-ruby-client/commit/bad4fa6a65befd216014ec4cef142dd1f75260d7))
58
+ * Automated regeneration of memcache v1beta2 client ([#1456](https://www.github.com/googleapis/google-api-ruby-client/issues/1456)) ([f859915](https://www.github.com/googleapis/google-api-ruby-client/commit/f859915a619dbbe62653b3be5f7b8881057c8b55))
59
+ * Automated regeneration of notebooks v1 client ([#1457](https://www.github.com/googleapis/google-api-ruby-client/issues/1457)) ([33b84d0](https://www.github.com/googleapis/google-api-ruby-client/commit/33b84d0738d4f86612984844493a4e0f8651f26d))
60
+ * Automated regeneration of people v1 client ([#1492](https://www.github.com/googleapis/google-api-ruby-client/issues/1492)) ([dff3ae8](https://www.github.com/googleapis/google-api-ruby-client/commit/dff3ae80692150bdcf839279653e24410f8f3454))
61
+ * Automated regeneration of policytroubleshooter v1 client ([#1478](https://www.github.com/googleapis/google-api-ruby-client/issues/1478)) ([d6bb380](https://www.github.com/googleapis/google-api-ruby-client/commit/d6bb3809f3dd3cb546ad3b4a570dfe6d11b2653e))
62
+ * Automated regeneration of policytroubleshooter v1beta client ([#1479](https://www.github.com/googleapis/google-api-ruby-client/issues/1479)) ([1c69cd4](https://www.github.com/googleapis/google-api-ruby-client/commit/1c69cd4744086d45d65912be897334c9c1e6e20d))
63
+ * Automated regeneration of privateca v1beta1 client ([#1520](https://www.github.com/googleapis/google-api-ruby-client/issues/1520)) ([9c402c3](https://www.github.com/googleapis/google-api-ruby-client/commit/9c402c3a051dbb2c13424c190371d13b3d8a72f8))
64
+ * Automated regeneration of realtimebidding v1 client ([#1458](https://www.github.com/googleapis/google-api-ruby-client/issues/1458)) ([15a629c](https://www.github.com/googleapis/google-api-ruby-client/commit/15a629c2e59d6f5ddd1af971fa8ec5df2d776ca0))
65
+ * Automated regeneration of redis v1 client ([#1493](https://www.github.com/googleapis/google-api-ruby-client/issues/1493)) ([111d0cd](https://www.github.com/googleapis/google-api-ruby-client/commit/111d0cd88a77dab7508e9c4875887d8b65566fd8))
66
+ * Automated regeneration of redis v1beta1 client ([#1494](https://www.github.com/googleapis/google-api-ruby-client/issues/1494)) ([bfdbb25](https://www.github.com/googleapis/google-api-ruby-client/commit/bfdbb25208c9c8330c7c0c94ec4dec4e2a868931))
67
+ * Automated regeneration of run v1 client ([#1517](https://www.github.com/googleapis/google-api-ruby-client/issues/1517)) ([bab2f6f](https://www.github.com/googleapis/google-api-ruby-client/commit/bab2f6f4bddcf2989f56a7161e73d8f4cdfee5d4))
68
+ * Automated regeneration of run v1alpha1 client ([#1518](https://www.github.com/googleapis/google-api-ruby-client/issues/1518)) ([1fd2ead](https://www.github.com/googleapis/google-api-ruby-client/commit/1fd2ead3918be0b5ad0782678b3f78b7601764ad))
69
+ * Automated regeneration of runtimeconfig v1beta1 client ([#1459](https://www.github.com/googleapis/google-api-ruby-client/issues/1459)) ([68d5a79](https://www.github.com/googleapis/google-api-ruby-client/commit/68d5a79b6ddecb19cd319fe46c0a4195df8b6e58))
70
+ * Automated regeneration of secretmanager v1 client ([#1506](https://www.github.com/googleapis/google-api-ruby-client/issues/1506)) ([c26d2f1](https://www.github.com/googleapis/google-api-ruby-client/commit/c26d2f16205383db9917e8164e4a1a9b46d36692))
71
+ * Automated regeneration of secretmanager v1beta1 client ([#1507](https://www.github.com/googleapis/google-api-ruby-client/issues/1507)) ([667ab19](https://www.github.com/googleapis/google-api-ruby-client/commit/667ab19214ed267d6590e8b071a3cd1e8fe8bd11))
72
+ * Automated regeneration of securitycenter v1 client ([#1460](https://www.github.com/googleapis/google-api-ruby-client/issues/1460)) ([c75b517](https://www.github.com/googleapis/google-api-ruby-client/commit/c75b5170067683affd8cc8a5c0a4f731b4cde80c))
73
+ * Automated regeneration of securitycenter v1beta1 client ([#1461](https://www.github.com/googleapis/google-api-ruby-client/issues/1461)) ([e66035b](https://www.github.com/googleapis/google-api-ruby-client/commit/e66035b536151891cd2acb0ad73cc6e4f2c81390))
74
+ * Automated regeneration of servicedirectory v1beta1 client ([#1519](https://www.github.com/googleapis/google-api-ruby-client/issues/1519)) ([54796b4](https://www.github.com/googleapis/google-api-ruby-client/commit/54796b441315c0a1a74a6bf8610c42b5121a8be2))
75
+ * Automated regeneration of servicemanagement v1 client ([#1495](https://www.github.com/googleapis/google-api-ruby-client/issues/1495)) ([425b3cb](https://www.github.com/googleapis/google-api-ruby-client/commit/425b3cb354762a2428a3c13717df6d6153fd198b))
76
+ * Automated regeneration of servicenetworking v1 client ([#1462](https://www.github.com/googleapis/google-api-ruby-client/issues/1462)) ([3d3c5d5](https://www.github.com/googleapis/google-api-ruby-client/commit/3d3c5d566a07d15ecad3418ec32874e222edf9ce))
77
+ * Automated regeneration of storage v1 client ([#1480](https://www.github.com/googleapis/google-api-ruby-client/issues/1480)) ([1bb17b1](https://www.github.com/googleapis/google-api-ruby-client/commit/1bb17b1864e8dc07fa081d861f21fba8dbeb7e6f))
78
+ * Automated regeneration of storagetransfer v1 client ([#1496](https://www.github.com/googleapis/google-api-ruby-client/issues/1496)) ([b225891](https://www.github.com/googleapis/google-api-ruby-client/commit/b225891cdea37559c05bab3e62c427ff73169b3f))
79
+ * Automated regeneration of transcoder v1beta1 client ([#1481](https://www.github.com/googleapis/google-api-ruby-client/issues/1481)) ([f98e8cc](https://www.github.com/googleapis/google-api-ruby-client/commit/f98e8cc384534befb2581970289d37af2f501cc2))
80
+ * Automated regeneration of translate v3 client ([#1463](https://www.github.com/googleapis/google-api-ruby-client/issues/1463)) ([6902f9c](https://www.github.com/googleapis/google-api-ruby-client/commit/6902f9c5b9b0ce0dbaa27e0665a739d191d24fac))
81
+ * Automated regeneration of translate v3beta1 client ([#1464](https://www.github.com/googleapis/google-api-ruby-client/issues/1464)) ([31ecb4e](https://www.github.com/googleapis/google-api-ruby-client/commit/31ecb4ef70932126f31e997425fc15e2fa21ab5a))
82
+ * Automated regeneration of youtube v3 client ([#1497](https://www.github.com/googleapis/google-api-ruby-client/issues/1497)) ([e48e65a](https://www.github.com/googleapis/google-api-ruby-client/commit/e48e65a4518aedb356bd7fa4004eccd1c29387cb))
83
+
3
84
  ## [0.49.0](https://www.github.com/googleapis/google-api-ruby-client/compare/v0.48.0...v0.49.0) (2020-11-09)
4
85
 
5
86
 
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/access-approval/docs
26
26
  module AccessapprovalV1
27
27
  VERSION = 'V1'
28
- REVISION = '20201014'
28
+ REVISION = '20201030'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -268,9 +268,10 @@ module Google
268
268
  # A filter on the type of approval requests to retrieve. Must be one of the
269
269
  # following values: * [not set]: Requests that are pending or have active
270
270
  # approvals. * ALL: All requests. * PENDING: Only pending requests. * ACTIVE:
271
- # Only active (i.e. currently approved) requests. * DISMISSED: Only dismissed (
272
- # including expired) requests. * HISTORY: Active and dismissed (including
273
- # expired) requests.
271
+ # Only active (i.e. currently approved) requests. * DISMISSED: Only requests
272
+ # that have been dismissed, or requests that . are not approved and past
273
+ # expiration. * EXPIRED: Only requests that have been approved, and the approval
274
+ # has expired. * HISTORY: Active, dismissed and expired requests.
274
275
  # @param [Fixnum] page_size
275
276
  # Requested page size.
276
277
  # @param [String] page_token
@@ -526,9 +527,10 @@ module Google
526
527
  # A filter on the type of approval requests to retrieve. Must be one of the
527
528
  # following values: * [not set]: Requests that are pending or have active
528
529
  # approvals. * ALL: All requests. * PENDING: Only pending requests. * ACTIVE:
529
- # Only active (i.e. currently approved) requests. * DISMISSED: Only dismissed (
530
- # including expired) requests. * HISTORY: Active and dismissed (including
531
- # expired) requests.
530
+ # Only active (i.e. currently approved) requests. * DISMISSED: Only requests
531
+ # that have been dismissed, or requests that . are not approved and past
532
+ # expiration. * EXPIRED: Only requests that have been approved, and the approval
533
+ # has expired. * HISTORY: Active, dismissed and expired requests.
532
534
  # @param [Fixnum] page_size
533
535
  # Requested page size.
534
536
  # @param [String] page_token
@@ -784,9 +786,10 @@ module Google
784
786
  # A filter on the type of approval requests to retrieve. Must be one of the
785
787
  # following values: * [not set]: Requests that are pending or have active
786
788
  # approvals. * ALL: All requests. * PENDING: Only pending requests. * ACTIVE:
787
- # Only active (i.e. currently approved) requests. * DISMISSED: Only dismissed (
788
- # including expired) requests. * HISTORY: Active and dismissed (including
789
- # expired) requests.
789
+ # Only active (i.e. currently approved) requests. * DISMISSED: Only requests
790
+ # that have been dismissed, or requests that . are not approved and past
791
+ # expiration. * EXPIRED: Only requests that have been approved, and the approval
792
+ # has expired. * HISTORY: Active, dismissed and expired requests.
790
793
  # @param [Fixnum] page_size
791
794
  # Requested page size.
792
795
  # @param [String] page_token
@@ -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 = '20201022'
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'
@@ -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