google-api-client 0.9.8 → 0.9.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (238) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +37 -0
  3. data/Gemfile +9 -1
  4. data/README.md +10 -2
  5. data/api_names.yaml +63 -110
  6. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +35 -0
  7. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +298 -0
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +122 -0
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +458 -0
  10. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +260 -13
  12. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +81 -0
  13. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +60 -8
  14. data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
  15. data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
  16. data/generated/google/apis/admin_directory_v1.rb +1 -1
  17. data/generated/google/apis/admin_directory_v1/classes.rb +86 -0
  18. data/generated/google/apis/admin_directory_v1/representations.rb +24 -0
  19. data/generated/google/apis/admin_directory_v1/service.rb +41 -2
  20. data/generated/google/apis/admin_reports_v1.rb +3 -3
  21. data/generated/google/apis/admin_reports_v1/service.rb +2 -2
  22. data/generated/google/apis/adsense_v1_4.rb +1 -1
  23. data/generated/google/apis/adsense_v1_4/classes.rb +1 -1
  24. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  25. data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -2
  26. data/generated/google/apis/analytics_v3.rb +1 -1
  27. data/generated/google/apis/analytics_v3/classes.rb +379 -3
  28. data/generated/google/apis/analytics_v3/representations.rb +136 -0
  29. data/generated/google/apis/analytics_v3/service.rb +217 -0
  30. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  31. data/generated/google/apis/analyticsreporting_v4/classes.rb +50 -22
  32. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  33. data/generated/google/apis/androidenterprise_v1/classes.rb +813 -49
  34. data/generated/google/apis/androidenterprise_v1/representations.rb +336 -0
  35. data/generated/google/apis/androidenterprise_v1/service.rb +1234 -145
  36. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  37. data/generated/google/apis/androidpublisher_v2/classes.rb +47 -8
  38. data/generated/google/apis/androidpublisher_v2/representations.rb +27 -0
  39. data/generated/google/apis/androidpublisher_v2/service.rb +55 -0
  40. data/generated/google/apis/appengine_v1beta5.rb +7 -1
  41. data/generated/google/apis/appengine_v1beta5/classes.rb +516 -313
  42. data/generated/google/apis/appengine_v1beta5/representations.rb +115 -22
  43. data/generated/google/apis/appengine_v1beta5/service.rb +329 -33
  44. data/generated/google/apis/appsactivity_v1.rb +1 -1
  45. data/generated/google/apis/appsactivity_v1/classes.rb +7 -0
  46. data/generated/google/apis/appsactivity_v1/representations.rb +1 -0
  47. data/generated/google/apis/appstate_v1.rb +1 -1
  48. data/generated/google/apis/bigquery_v2.rb +1 -1
  49. data/generated/google/apis/bigquery_v2/classes.rb +277 -20
  50. data/generated/google/apis/bigquery_v2/representations.rb +86 -0
  51. data/generated/google/apis/bigquery_v2/service.rb +8 -2
  52. data/generated/google/apis/books_v1.rb +2 -2
  53. data/generated/google/apis/books_v1/classes.rb +79 -1
  54. data/generated/google/apis/books_v1/representations.rb +34 -0
  55. data/generated/google/apis/books_v1/service.rb +7 -3
  56. data/generated/google/apis/calendar_v3.rb +1 -1
  57. data/generated/google/apis/civicinfo_v2.rb +3 -2
  58. data/generated/google/apis/civicinfo_v2/classes.rb +377 -5
  59. data/generated/google/apis/civicinfo_v2/representations.rb +149 -0
  60. data/generated/google/apis/civicinfo_v2/service.rb +27 -6
  61. data/generated/google/apis/classroom_v1.rb +1 -1
  62. data/generated/google/apis/classroom_v1/classes.rb +183 -37
  63. data/generated/google/apis/classroom_v1/representations.rb +74 -9
  64. data/generated/google/apis/classroom_v1/service.rb +403 -38
  65. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  66. data/generated/google/apis/cloudbuild_v1/classes.rb +381 -17
  67. data/generated/google/apis/cloudbuild_v1/representations.rb +137 -2
  68. data/generated/google/apis/cloudbuild_v1/service.rb +174 -1
  69. data/generated/google/apis/clouddebugger_v2.rb +3 -6
  70. data/generated/google/apis/clouddebugger_v2/service.rb +4 -4
  71. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  72. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  73. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +502 -111
  74. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +162 -24
  75. data/generated/google/apis/cloudresourcemanager_v1/service.rb +274 -30
  76. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  77. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +121 -9
  78. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +46 -0
  79. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +71 -58
  80. data/generated/google/apis/compute_beta.rb +1 -1
  81. data/generated/google/apis/compute_beta/classes.rb +2299 -434
  82. data/generated/google/apis/compute_beta/representations.rb +752 -33
  83. data/generated/google/apis/compute_beta/service.rb +6067 -3153
  84. data/generated/google/apis/compute_v1.rb +1 -1
  85. data/generated/google/apis/compute_v1/classes.rb +1681 -207
  86. data/generated/google/apis/compute_v1/representations.rb +552 -0
  87. data/generated/google/apis/compute_v1/service.rb +2797 -1171
  88. data/generated/google/apis/content_v2.rb +1 -1
  89. data/generated/google/apis/content_v2/classes.rb +757 -1
  90. data/generated/google/apis/content_v2/representations.rb +337 -0
  91. data/generated/google/apis/content_v2/service.rb +244 -0
  92. data/generated/google/apis/dataflow_v1b3.rb +38 -0
  93. data/generated/google/apis/dataflow_v1b3/classes.rb +4053 -0
  94. data/generated/google/apis/dataflow_v1b3/representations.rb +1736 -0
  95. data/generated/google/apis/dataflow_v1b3/service.rb +875 -0
  96. data/generated/google/apis/dataproc_v1.rb +2 -2
  97. data/generated/google/apis/dataproc_v1/classes.rb +213 -68
  98. data/generated/google/apis/dataproc_v1/representations.rb +38 -0
  99. data/generated/google/apis/dataproc_v1/service.rb +78 -48
  100. data/generated/google/apis/datastore_v1.rb +38 -0
  101. data/generated/google/apis/datastore_v1/classes.rb +1284 -0
  102. data/generated/google/apis/datastore_v1/representations.rb +572 -0
  103. data/generated/google/apis/datastore_v1/service.rb +259 -0
  104. data/generated/google/apis/datastore_v1beta3.rb +38 -0
  105. data/generated/google/apis/datastore_v1beta3/classes.rb +1284 -0
  106. data/generated/google/apis/datastore_v1beta3/representations.rb +572 -0
  107. data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
  108. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  109. data/generated/google/apis/deploymentmanager_v2/classes.rb +384 -2
  110. data/generated/google/apis/deploymentmanager_v2/representations.rb +161 -0
  111. data/generated/google/apis/deploymentmanager_v2/service.rb +217 -55
  112. data/generated/google/apis/dfareporting_v2_5.rb +40 -0
  113. data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
  114. data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
  115. data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
  116. data/generated/google/apis/dfareporting_v2_6.rb +40 -0
  117. data/generated/google/apis/dfareporting_v2_6/classes.rb +11586 -0
  118. data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
  119. data/generated/google/apis/dfareporting_v2_6/service.rb +9025 -0
  120. data/generated/google/apis/dns_v1.rb +1 -1
  121. data/generated/google/apis/dns_v1/classes.rb +1 -1
  122. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  123. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +79 -86
  124. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +25 -28
  125. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +10 -8
  126. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  127. data/generated/google/apis/drive_v2.rb +1 -1
  128. data/generated/google/apis/drive_v2/classes.rb +27 -3
  129. data/generated/google/apis/drive_v2/representations.rb +4 -0
  130. data/generated/google/apis/drive_v2/service.rb +16 -3
  131. data/generated/google/apis/drive_v3.rb +1 -1
  132. data/generated/google/apis/drive_v3/classes.rb +50 -16
  133. data/generated/google/apis/drive_v3/representations.rb +4 -0
  134. data/generated/google/apis/drive_v3/service.rb +12 -2
  135. data/generated/google/apis/fitness_v1.rb +8 -2
  136. data/generated/google/apis/fitness_v1/classes.rb +64 -6
  137. data/generated/google/apis/fitness_v1/representations.rb +20 -0
  138. data/generated/google/apis/fitness_v1/service.rb +17 -18
  139. data/generated/google/apis/fusiontables_v2.rb +1 -1
  140. data/generated/google/apis/fusiontables_v2/classes.rb +4 -3
  141. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  142. data/generated/google/apis/games_management_v1management.rb +1 -1
  143. data/generated/google/apis/games_v1.rb +1 -1
  144. data/generated/google/apis/genomics_v1.rb +2 -4
  145. data/generated/google/apis/genomics_v1/classes.rb +143 -34
  146. data/generated/google/apis/genomics_v1/representations.rb +48 -11
  147. data/generated/google/apis/genomics_v1/service.rb +35 -37
  148. data/generated/google/apis/gmail_v1.rb +10 -1
  149. data/generated/google/apis/gmail_v1/classes.rb +542 -4
  150. data/generated/google/apis/gmail_v1/representations.rb +213 -0
  151. data/generated/google/apis/gmail_v1/service.rb +898 -1
  152. data/generated/google/apis/groupssettings_v1.rb +1 -1
  153. data/generated/google/apis/groupssettings_v1/classes.rb +12 -0
  154. data/generated/google/apis/groupssettings_v1/representations.rb +2 -0
  155. data/generated/google/apis/iam_v1.rb +2 -2
  156. data/generated/google/apis/iam_v1/classes.rb +181 -206
  157. data/generated/google/apis/iam_v1/representations.rb +36 -45
  158. data/generated/google/apis/iam_v1/service.rb +101 -67
  159. data/generated/google/apis/identitytoolkit_v3.rb +4 -1
  160. data/generated/google/apis/identitytoolkit_v3/classes.rb +171 -1
  161. data/generated/google/apis/identitytoolkit_v3/representations.rb +26 -0
  162. data/generated/google/apis/language_v1beta1.rb +36 -0
  163. data/generated/google/apis/language_v1beta1/classes.rb +599 -0
  164. data/generated/google/apis/language_v1beta1/representations.rb +289 -0
  165. data/generated/google/apis/language_v1beta1/service.rb +152 -0
  166. data/generated/google/apis/logging_v2beta1.rb +6 -6
  167. data/generated/google/apis/logging_v2beta1/classes.rb +760 -731
  168. data/generated/google/apis/logging_v2beta1/representations.rb +136 -147
  169. data/generated/google/apis/logging_v2beta1/service.rb +290 -209
  170. data/generated/google/apis/mirror_v1.rb +2 -2
  171. data/generated/google/apis/mirror_v1/service.rb +1 -1
  172. data/generated/google/apis/monitoring_v3.rb +45 -0
  173. data/generated/google/apis/monitoring_v3/classes.rb +1337 -0
  174. data/generated/google/apis/monitoring_v3/representations.rb +516 -0
  175. data/generated/google/apis/monitoring_v3/service.rb +711 -0
  176. data/generated/google/apis/oauth2_v2.rb +1 -1
  177. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  178. data/generated/google/apis/plus_domains_v1.rb +1 -1
  179. data/generated/google/apis/plus_v1.rb +1 -1
  180. data/generated/google/apis/pubsub_v1.rb +1 -1
  181. data/generated/google/apis/pubsub_v1/classes.rb +10 -9
  182. data/generated/google/apis/pubsub_v1/service.rb +128 -27
  183. data/generated/google/apis/qpx_express_v1.rb +1 -1
  184. data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
  185. data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
  186. data/generated/google/apis/replicapool_v1beta2.rb +1 -1
  187. data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -2
  188. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +3 -1
  189. data/generated/google/apis/script_v1.rb +1 -1
  190. data/generated/google/apis/script_v1/classes.rb +6 -0
  191. data/generated/google/apis/script_v1/representations.rb +1 -0
  192. data/generated/google/apis/sheets_v4.rb +1 -1
  193. data/generated/google/apis/sheets_v4/classes.rb +910 -89
  194. data/generated/google/apis/sheets_v4/representations.rb +194 -10
  195. data/generated/google/apis/sheets_v4/service.rb +216 -49
  196. data/generated/google/apis/slides_v1.rb +49 -0
  197. data/generated/google/apis/slides_v1/classes.rb +3926 -0
  198. data/generated/google/apis/slides_v1/representations.rb +1722 -0
  199. data/generated/google/apis/slides_v1/service.rb +202 -0
  200. data/generated/google/apis/speech_v1beta1.rb +34 -0
  201. data/generated/google/apis/speech_v1beta1/classes.rb +511 -0
  202. data/generated/google/apis/speech_v1beta1/representations.rb +218 -0
  203. data/generated/google/apis/speech_v1beta1/service.rb +271 -0
  204. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  205. data/generated/google/apis/sqladmin_v1beta4/classes.rb +32 -8
  206. data/generated/google/apis/sqladmin_v1beta4/representations.rb +3 -0
  207. data/generated/google/apis/sqladmin_v1beta4/service.rb +42 -0
  208. data/generated/google/apis/storage_v1.rb +1 -1
  209. data/generated/google/apis/storage_v1/classes.rb +43 -18
  210. data/generated/google/apis/storage_v1/representations.rb +4 -1
  211. data/generated/google/apis/storage_v1/service.rb +5 -2
  212. data/generated/google/apis/translate_v2.rb +2 -2
  213. data/generated/google/apis/translate_v2/service.rb +1 -1
  214. data/generated/google/apis/vision_v1.rb +1 -1
  215. data/generated/google/apis/vision_v1/classes.rb +12 -11
  216. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  217. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  218. data/generated/google/apis/youtube_partner_v1/classes.rb +6 -0
  219. data/generated/google/apis/youtube_partner_v1/representations.rb +2 -0
  220. data/generated/google/apis/youtube_partner_v1/service.rb +15 -3
  221. data/generated/google/apis/youtube_v3.rb +1 -1
  222. data/generated/google/apis/youtube_v3/classes.rb +183 -21
  223. data/generated/google/apis/youtube_v3/representations.rb +85 -4
  224. data/generated/google/apis/youtube_v3/service.rb +41 -5
  225. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  226. data/google-api-client.gemspec +2 -1
  227. data/lib/google/apis/core/api_command.rb +4 -0
  228. data/lib/google/apis/core/base_service.rb +10 -4
  229. data/lib/google/apis/core/download.rb +7 -2
  230. data/lib/google/apis/core/http_command.rb +5 -1
  231. data/lib/google/apis/core/upload.rb +7 -1
  232. data/lib/google/apis/errors.rb +2 -2
  233. data/lib/google/apis/generator/annotator.rb +6 -0
  234. data/lib/google/apis/version.rb +1 -1
  235. data/samples/cli/lib/samples/bigquery.rb +101 -0
  236. data/samples/cli/lib/samples/sheets.rb +61 -0
  237. data/sync.rb +71 -0
  238. metadata +55 -13
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 19503993f8fe0783c2362273e709bfec718dbea5
4
- data.tar.gz: 3eed56a9c732cf3c6f074b6b61cfb1ff1bb2e396
3
+ metadata.gz: a1ade00ff945b086a4471c62effd00edadd75c58
4
+ data.tar.gz: d66275eb5f7662fb1d2a997510eec2fa95e2ef4a
5
5
  SHA512:
6
- metadata.gz: 7974cc965fa320d41cc9299b760bb6e24d88c63aac111ddc0c8fd7144ee128fe98573a5ba49f9da2bba3afafcfec738409d614bdf6d04746bcc489913d749131
7
- data.tar.gz: d367b1792461fa3ea4f753df899ce9c9766de977dc63747907274e6fb5d8adc6791bf707a891fd32a4ac282ba274b969e712224216aed8a6ccdaf62f2d1db40e
6
+ metadata.gz: 494ad51aad64409ce1535d301e9b1befdf9444539c69020e5224f0007a0a3679b6325d37dae2bb9a1b3520c681c08ff00759144a541149607fed2ade6068926f
7
+ data.tar.gz: 184162f174845ec4f952d2cf0dcf90cfaf719c41474acc098d73451a27163e403267fd9c0dc5738f0e865db7101f1b1a31743d9dc53294a7339793e7ff52a4fd
data/CHANGELOG.md CHANGED
@@ -1,3 +1,40 @@
1
+ # 0.9.20
2
+ * Regenerate APIs
3
+ * Add Slides API
4
+
5
+ # 0.9.19
6
+ * Regenerate APIs
7
+ * Add Adexchangebuyer2 API
8
+
9
+ # 0.9.15
10
+ * Add datastore v1
11
+ * Regenerate APIs
12
+
13
+ # 0.9.14
14
+ * Fix error handling with downloads, no longer fails silently
15
+ * Prevent form-encoding query parameters for APIs that don't expect it
16
+ * Regenerate APIs
17
+
18
+ # 0.9.13
19
+ * Fix fetch_all to work correctly with the genomics API
20
+ * Add speech & language APIs, regenerate APIs
21
+
22
+ # 0.9.12
23
+ * Regenerated APIs
24
+
25
+ # 0.9.11
26
+ * Add DFA Reporting 2.5, regenerate APIs
27
+
28
+ # 0.9.10
29
+ * Add datastore v1beta3, regenerate APIs
30
+ * Reduce memory footprint used by mimetypes library
31
+ * Fix bug with pagination when items collection is nil
32
+
33
+
34
+ # 0.9.9
35
+ * Add monitoring v3, regenerate APIs
36
+ * Add samples for sheets, bigquery
37
+
1
38
  # 0.9.8
2
39
  * Add mybusiness v3, regenerate APIs
3
40
 
data/Gemfile CHANGED
@@ -21,7 +21,7 @@ group :development do
21
21
  gem 'rmail', '~> 1.1'
22
22
  gem 'sinatra', '~> 1.4'
23
23
  gem 'redis', '~> 3.2'
24
- gem 'activesupport', '>= 3.2'
24
+ gem 'activesupport', '>= 3.2', '< 5.0'
25
25
  end
26
26
 
27
27
  platforms :jruby do
@@ -40,6 +40,14 @@ platforms :ruby do
40
40
  end
41
41
  end
42
42
 
43
+ platforms :mri_21, :mri_22, :mri_23 do
44
+ group :development do
45
+ gem 'derailed_benchmarks'
46
+ gem 'stackprof'
47
+ gem 'rack-test'
48
+ end
49
+ end
50
+
43
51
  if ENV['RAILS_VERSION']
44
52
  gem 'rails', ENV['RAILS_VERSION']
45
53
  end
data/README.md CHANGED
@@ -15,7 +15,7 @@ migrate to the latest version.
15
15
  Add this line to your application's Gemfile:
16
16
 
17
17
  ```ruby
18
- gem 'google-api-client', '0.9'
18
+ gem 'google-api-client', '~> 0.9'
19
19
 
20
20
  ```
21
21
 
@@ -53,6 +53,14 @@ metadata = drive.insert_file(metadata, upload_source: 'test.txt', content_type:
53
53
  # Download a file
54
54
  drive.get_file(metadata.id, download_dest: '/tmp/myfile.txt')
55
55
  ```
56
+ ### Naming conventions vs JSON representation
57
+
58
+ Object properties in the ruby client use the standard ruby convention for naming -- snake_case. This differs from the underlying JSON representation which typically uses camelCase for properties. There are a few notable exceptions to this rule:
59
+
60
+ * For properties that are defined as hashes with user-defined keys, no translation is performed on the key.
61
+ * For embedded field masks in requests (for example, the Sheets API), specify the camelCase form when referencing fields.
62
+
63
+ Outisde those exceptions, if a property is specified using camelCase in a request, it will be ignored during serialization and omitted from the request.
56
64
 
57
65
  ### Media
58
66
 
@@ -306,7 +314,7 @@ A URL can also be specified:
306
314
  ## License
307
315
 
308
316
  This library is licensed under Apache 2.0. Full license text is
309
- available in [LICENSE.txt](LICENSE.txt).
317
+ available in [LICENSE](LICENSE).
310
318
 
311
319
  ## Contributing
312
320
 
data/api_names.yaml CHANGED
@@ -619,10 +619,16 @@
619
619
  "/dataproc:v1/dataproc.projects.regions.operations.list": list_operations
620
620
  "/dataproc:v1/dataproc.projects.regions.operations.cancel": cancel_operation
621
621
  "/dataproc:v1/dataproc.projects.regions.operations.delete": delete_operation
622
+ "/dataflow:v1b3/dataflow.projects.jobs.workItems.lease": lease_project_work_item
623
+ "/dataflow:v1b3/dataflow.projects.locations.jobs.workItems.lease": lease_project_location_work_item
622
624
  "/datastore:v1beta2/AllocateIdsRequest": allocate_ids_request
623
625
  "/datastore:v1beta2/AllocateIdsResponse": allocate_ids_response
624
626
  "/datastore:v1beta2/BeginTransactionRequest": begin_transaction_request
625
627
  "/datastore:v1beta2/BeginTransactionResponse": begin_transaction_response
628
+ "/datastore:v1/AllocateIdsRequest": allocate_ids_request
629
+ "/datastore:v1/AllocateIdsResponse": allocate_ids_response
630
+ "/datastore:v1/BeginTransactionRequest": begin_transaction_request
631
+ "/datastore:v1/BeginTransactionResponse": begin_transaction_response
626
632
  "/deploymentmanager:v2/DeploymentsListResponse": list_deployments_response
627
633
  "/deploymentmanager:v2/ManifestsListResponse": list_manifests_response
628
634
  "/deploymentmanager:v2/OperationsListResponse": list_operations_response
@@ -643,116 +649,61 @@
643
649
  "/deploymentmanager:v2beta2/OperationsListResponse": list_operations_response
644
650
  "/deploymentmanager:v2beta2/ResourcesListResponse": list_resources_response
645
651
  "/deploymentmanager:v2beta2/TypesListResponse": list_types_response
646
- "/dfareporting:v2.1/AccountPermissionGroupsListResponse": list_account_permission_groups_response
647
- "/dfareporting:v2.1/AccountPermissionsListResponse": list_account_permissions_response
648
- "/dfareporting:v2.1/AccountUserProfilesListResponse": list_account_user_profiles_response
649
- "/dfareporting:v2.1/AccountsListResponse": list_accounts_response
650
- "/dfareporting:v2.1/AdsListResponse": list_ads_response
651
- "/dfareporting:v2.1/AdvertiserGroupsListResponse": list_advertiser_groups_response
652
- "/dfareporting:v2.1/AdvertisersListResponse": list_advertisers_response
653
- "/dfareporting:v2.1/BrowsersListResponse": list_browsers_response
654
- "/dfareporting:v2.1/CampaignCreativeAssociationsListResponse": list_campaign_creative_associations_response
655
- "/dfareporting:v2.1/CampaignsListResponse": list_campaigns_response
656
- "/dfareporting:v2.1/ChangeLog/objectId": obj_id
657
- "/dfareporting:v2.1/ChangeLogsListResponse": list_change_logs_response
658
- "/dfareporting:v2.1/CitiesListResponse": list_cities_response
659
- "/dfareporting:v2.1/ConnectionTypesListResponse": list_connection_types_response
660
- "/dfareporting:v2.1/ContentCategoriesListResponse": list_content_categories_response
661
- "/dfareporting:v2.1/CountriesListResponse": list_countries_response
662
- "/dfareporting:v2.1/CreativeFieldValuesListResponse": list_creative_field_values_response
663
- "/dfareporting:v2.1/CreativeFieldsListResponse": list_creative_fields_response
664
- "/dfareporting:v2.1/CreativeGroupsListResponse": list_creative_groups_response
665
- "/dfareporting:v2.1/CreativesListResponse": list_creatives_response
666
- "/dfareporting:v2.1/DimensionValueRequest": dimension_value_request
667
- "/dfareporting:v2.1/DirectorySiteContactsListResponse": list_directory_site_contacts_response
668
- "/dfareporting:v2.1/DirectorySitesListResponse": list_directory_sites_response
669
- "/dfareporting:v2.1/EventTagsListResponse": list_event_tags_response
670
- "/dfareporting:v2.1/FloodlightActivitiesGenerateTagResponse": floodlight_activities_generate_tag_response
671
- "/dfareporting:v2.1/FloodlightActivitiesListResponse": list_floodlight_activities_response
672
- "/dfareporting:v2.1/FloodlightActivityGroupsListResponse": list_floodlight_activity_groups_response
673
- "/dfareporting:v2.1/FloodlightConfigurationsListResponse": list_floodlight_configurations_response
674
- "/dfareporting:v2.1/InventoryItemsListResponse": list_inventory_items_response
675
- "/dfareporting:v2.1/LandingPagesListResponse": list_landing_pages_response
676
- "/dfareporting:v2.1/MetrosListResponse": list_metros_response
677
- "/dfareporting:v2.1/MobileCarriersListResponse": list_mobile_carriers_response
678
- "/dfareporting:v2.1/ObjectFilter/objectIds/object_id": obj_id
679
- "/dfareporting:v2.1/OperatingSystemVersionsListResponse": list_operating_system_versions_response
680
- "/dfareporting:v2.1/OperatingSystemsListResponse": list_operating_systems_response
681
- "/dfareporting:v2.1/OrderDocumentsListResponse": list_order_documents_response
682
- "/dfareporting:v2.1/OrdersListResponse": list_orders_response
683
- "/dfareporting:v2.1/PlacementGroupsListResponse": list_placement_groups_response
684
- "/dfareporting:v2.1/PlacementStrategiesListResponse": list_placement_strategies_response
685
- "/dfareporting:v2.1/PlacementsGenerateTagsResponse": generate_placements_tags_response
686
- "/dfareporting:v2.1/PlacementsListResponse": list_placements_response
687
- "/dfareporting:v2.1/PlatformTypesListResponse": list_platform_types_response
688
- "/dfareporting:v2.1/PostalCodesListResponse": list_postal_codes_response
689
- "/dfareporting:v2.1/ProjectsListResponse": list_projects_response
690
- "/dfareporting:v2.1/RegionsListResponse": list_regions_response
691
- "/dfareporting:v2.1/RemarketingListsListResponse": list_remarketing_lists_response
692
- "/dfareporting:v2.1/SitesListResponse": list_sites_response
693
- "/dfareporting:v2.1/SizesListResponse": list_sizes_response
694
- "/dfareporting:v2.1/SubaccountsListResponse": list_subaccounts_response
695
- "/dfareporting:v2.1/TargetableRemarketingListsListResponse": list_targetable_remarketing_lists_response
696
- "/dfareporting:v2.1/UserRolePermissionGroupsListResponse": list_user_role_permission_groups_response
697
- "/dfareporting:v2.1/UserRolePermissionsListResponse": list_user_role_permissions_response
698
- "/dfareporting:v2.1/UserRolesListResponse": list_user_roles_response
699
- "/dfareporting:v2.1/dfareporting.floodlightActivities.generatetag": generate_floodlight_activity_tag
700
- "/dfareporting:v2.1/dfareporting.placements.generatetags": generate_placement_tags
701
- "/dfareporting:v2.3/AccountPermissionGroupsListResponse": list_account_permission_groups_response
702
- "/dfareporting:v2.3/AccountPermissionsListResponse": list_account_permissions_response
703
- "/dfareporting:v2.3/AccountUserProfilesListResponse": list_account_user_profiles_response
704
- "/dfareporting:v2.3/AccountsListResponse": list_accounts_response
705
- "/dfareporting:v2.3/AdsListResponse": list_ads_response
706
- "/dfareporting:v2.3/AdvertiserGroupsListResponse": list_advertiser_groups_response
707
- "/dfareporting:v2.3/AdvertisersListResponse": list_advertisers_response
708
- "/dfareporting:v2.3/BrowsersListResponse": list_browsers_response
709
- "/dfareporting:v2.3/CampaignCreativeAssociationsListResponse": list_campaign_creative_associations_response
710
- "/dfareporting:v2.3/CampaignsListResponse": list_campaigns_response
711
- "/dfareporting:v2.3/ChangeLog/objectId": obj_id
712
- "/dfareporting:v2.3/ChangeLogsListResponse": list_change_logs_response
713
- "/dfareporting:v2.3/CitiesListResponse": list_cities_response
714
- "/dfareporting:v2.3/ConnectionTypesListResponse": list_connection_types_response
715
- "/dfareporting:v2.3/ContentCategoriesListResponse": list_content_categories_response
716
- "/dfareporting:v2.3/CountriesListResponse": list_countries_response
717
- "/dfareporting:v2.3/CreativeFieldValuesListResponse": list_creative_field_values_response
718
- "/dfareporting:v2.3/CreativeFieldsListResponse": list_creative_fields_response
719
- "/dfareporting:v2.3/CreativeGroupsListResponse": list_creative_groups_response
720
- "/dfareporting:v2.3/CreativesListResponse": list_creatives_response
721
- "/dfareporting:v2.3/DimensionValueRequest": dimension_value_request
722
- "/dfareporting:v2.3/DirectorySiteContactsListResponse": list_directory_site_contacts_response
723
- "/dfareporting:v2.3/DirectorySitesListResponse": list_directory_sites_response
724
- "/dfareporting:v2.3/EventTagsListResponse": list_event_tags_response
725
- "/dfareporting:v2.3/FloodlightActivitiesGenerateTagResponse": floodlight_activities_generate_tag_response
726
- "/dfareporting:v2.3/FloodlightActivitiesListResponse": list_floodlight_activities_response
727
- "/dfareporting:v2.3/FloodlightActivityGroupsListResponse": list_floodlight_activity_groups_response
728
- "/dfareporting:v2.3/FloodlightConfigurationsListResponse": list_floodlight_configurations_response
729
- "/dfareporting:v2.3/InventoryItemsListResponse": list_inventory_items_response
730
- "/dfareporting:v2.3/LandingPagesListResponse": list_landing_pages_response
731
- "/dfareporting:v2.3/MetrosListResponse": list_metros_response
732
- "/dfareporting:v2.3/MobileCarriersListResponse": list_mobile_carriers_response
733
- "/dfareporting:v2.3/ObjectFilter/objectIds/object_id": obj_id
734
- "/dfareporting:v2.3/OperatingSystemVersionsListResponse": list_operating_system_versions_response
735
- "/dfareporting:v2.3/OperatingSystemsListResponse": list_operating_systems_response
736
- "/dfareporting:v2.3/OrderDocumentsListResponse": list_order_documents_response
737
- "/dfareporting:v2.3/OrdersListResponse": list_orders_response
738
- "/dfareporting:v2.3/PlacementGroupsListResponse": list_placement_groups_response
739
- "/dfareporting:v2.3/PlacementStrategiesListResponse": list_placement_strategies_response
740
- "/dfareporting:v2.3/PlacementsGenerateTagsResponse": generate_placements_tags_response
741
- "/dfareporting:v2.3/PlacementsListResponse": list_placements_response
742
- "/dfareporting:v2.3/PlatformTypesListResponse": list_platform_types_response
743
- "/dfareporting:v2.3/PostalCodesListResponse": list_postal_codes_response
744
- "/dfareporting:v2.3/ProjectsListResponse": list_projects_response
745
- "/dfareporting:v2.3/RegionsListResponse": list_regions_response
746
- "/dfareporting:v2.3/RemarketingListsListResponse": list_remarketing_lists_response
747
- "/dfareporting:v2.3/SitesListResponse": list_sites_response
748
- "/dfareporting:v2.3/SizesListResponse": list_sizes_response
749
- "/dfareporting:v2.3/SubaccountsListResponse": list_subaccounts_response
750
- "/dfareporting:v2.3/TargetableRemarketingListsListResponse": list_targetable_remarketing_lists_response
751
- "/dfareporting:v2.3/UserRolePermissionGroupsListResponse": list_user_role_permission_groups_response
752
- "/dfareporting:v2.3/UserRolePermissionsListResponse": list_user_role_permissions_response
753
- "/dfareporting:v2.3/UserRolesListResponse": list_user_roles_response
754
- "/dfareporting:v2.3/dfareporting.floodlightActivities.generatetag": generate_floodlight_activity_tag
755
- "/dfareporting:v2.3/dfareporting.placements.generatetags": generate_placement_tags
652
+ "/dfareporting:v2.6/AccountPermissionGroupsListResponse": list_account_permission_groups_response
653
+ "/dfareporting:v2.6/AccountPermissionsListResponse": list_account_permissions_response
654
+ "/dfareporting:v2.6/AccountUserProfilesListResponse": list_account_user_profiles_response
655
+ "/dfareporting:v2.6/AccountsListResponse": list_accounts_response
656
+ "/dfareporting:v2.6/AdsListResponse": list_ads_response
657
+ "/dfareporting:v2.6/AdvertiserGroupsListResponse": list_advertiser_groups_response
658
+ "/dfareporting:v2.6/AdvertisersListResponse": list_advertisers_response
659
+ "/dfareporting:v2.6/BrowsersListResponse": list_browsers_response
660
+ "/dfareporting:v2.6/CampaignCreativeAssociationsListResponse": list_campaign_creative_associations_response
661
+ "/dfareporting:v2.6/CampaignsListResponse": list_campaigns_response
662
+ "/dfareporting:v2.6/ChangeLog/objectId": obj_id
663
+ "/dfareporting:v2.6/ChangeLogsListResponse": list_change_logs_response
664
+ "/dfareporting:v2.6/CitiesListResponse": list_cities_response
665
+ "/dfareporting:v2.6/ConnectionTypesListResponse": list_connection_types_response
666
+ "/dfareporting:v2.6/ContentCategoriesListResponse": list_content_categories_response
667
+ "/dfareporting:v2.6/CountriesListResponse": list_countries_response
668
+ "/dfareporting:v2.6/CreativeFieldValuesListResponse": list_creative_field_values_response
669
+ "/dfareporting:v2.6/CreativeFieldsListResponse": list_creative_fields_response
670
+ "/dfareporting:v2.6/CreativeGroupsListResponse": list_creative_groups_response
671
+ "/dfareporting:v2.6/CreativesListResponse": list_creatives_response
672
+ "/dfareporting:v2.6/DimensionValueRequest": dimension_value_request
673
+ "/dfareporting:v2.6/DirectorySiteContactsListResponse": list_directory_site_contacts_response
674
+ "/dfareporting:v2.6/DirectorySitesListResponse": list_directory_sites_response
675
+ "/dfareporting:v2.6/EventTagsListResponse": list_event_tags_response
676
+ "/dfareporting:v2.6/FloodlightActivitiesGenerateTagResponse": floodlight_activities_generate_tag_response
677
+ "/dfareporting:v2.6/FloodlightActivitiesListResponse": list_floodlight_activities_response
678
+ "/dfareporting:v2.6/FloodlightActivityGroupsListResponse": list_floodlight_activity_groups_response
679
+ "/dfareporting:v2.6/FloodlightConfigurationsListResponse": list_floodlight_configurations_response
680
+ "/dfareporting:v2.6/InventoryItemsListResponse": list_inventory_items_response
681
+ "/dfareporting:v2.6/LandingPagesListResponse": list_landing_pages_response
682
+ "/dfareporting:v2.6/MetrosListResponse": list_metros_response
683
+ "/dfareporting:v2.6/MobileCarriersListResponse": list_mobile_carriers_response
684
+ "/dfareporting:v2.6/ObjectFilter/objectIds/object_id": obj_id
685
+ "/dfareporting:v2.6/OperatingSystemVersionsListResponse": list_operating_system_versions_response
686
+ "/dfareporting:v2.6/OperatingSystemsListResponse": list_operating_systems_response
687
+ "/dfareporting:v2.6/OrderDocumentsListResponse": list_order_documents_response
688
+ "/dfareporting:v2.6/OrdersListResponse": list_orders_response
689
+ "/dfareporting:v2.6/PlacementGroupsListResponse": list_placement_groups_response
690
+ "/dfareporting:v2.6/PlacementStrategiesListResponse": list_placement_strategies_response
691
+ "/dfareporting:v2.6/PlacementsGenerateTagsResponse": generate_placements_tags_response
692
+ "/dfareporting:v2.6/PlacementsListResponse": list_placements_response
693
+ "/dfareporting:v2.6/PlatformTypesListResponse": list_platform_types_response
694
+ "/dfareporting:v2.6/PostalCodesListResponse": list_postal_codes_response
695
+ "/dfareporting:v2.6/ProjectsListResponse": list_projects_response
696
+ "/dfareporting:v2.6/RegionsListResponse": list_regions_response
697
+ "/dfareporting:v2.6/RemarketingListsListResponse": list_remarketing_lists_response
698
+ "/dfareporting:v2.6/SitesListResponse": list_sites_response
699
+ "/dfareporting:v2.6/SizesListResponse": list_sizes_response
700
+ "/dfareporting:v2.6/SubaccountsListResponse": list_subaccounts_response
701
+ "/dfareporting:v2.6/TargetableRemarketingListsListResponse": list_targetable_remarketing_lists_response
702
+ "/dfareporting:v2.6/UserRolePermissionGroupsListResponse": list_user_role_permission_groups_response
703
+ "/dfareporting:v2.6/UserRolePermissionsListResponse": list_user_role_permissions_response
704
+ "/dfareporting:v2.6/UserRolesListResponse": list_user_roles_response
705
+ "/dfareporting:v2.6/dfareporting.floodlightActivities.generatetag": generate_floodlight_activity_tag
706
+ "/dfareporting:v2.6/dfareporting.placements.generatetags": generate_placement_tags
756
707
  "/discovery:v1/RestDescription/methods": api_methods
757
708
  "/discovery:v1/RestResource/methods": api_methods
758
709
  "/discovery:v1/discovery.apis.getRest": get_rest_api
@@ -1105,3 +1056,5 @@
1105
1056
  "/classroom:v1/classroom.courses.courseWork.studentSubmissions.get": get_student_submission
1106
1057
  "/classroom:v1/classroom.courses.courseWork.studentSubmissions.patch": patch_student_submission
1107
1058
  "/classroom:v1/classroom.courses.courseWork.studentSubmissions.list": list_student_submissions
1059
+ "/speech:v1beta1/speech.speech.syncrecognize": sync_recognize_speech
1060
+ "/speech:v1beta1/speech.speech.asyncrecognize": async_recognize_speech
@@ -0,0 +1,35 @@
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/adexchangebuyer2_v2beta1/service.rb'
16
+ require 'google/apis/adexchangebuyer2_v2beta1/classes.rb'
17
+ require 'google/apis/adexchangebuyer2_v2beta1/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # Ad Exchange Buyer API II
22
+ #
23
+ # Accesses the latest features for managing Ad Exchange accounts, Real-Time
24
+ # Bidding configurations and auction metrics, and Marketplace programmatic deals.
25
+ #
26
+ # @see https://developers.google.com/ad-exchange/buyer-rest/guides/client-access/
27
+ module Adexchangebuyer2V2beta1
28
+ VERSION = 'V2beta1'
29
+ REVISION = '20161107'
30
+
31
+ # Manage your Ad Exchange buyer account configuration
32
+ AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
33
+ end
34
+ end
35
+ end
@@ -0,0 +1,298 @@
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 Adexchangebuyer2V2beta1
24
+
25
+ # A client user is created under a client buyer and has restricted access to
26
+ # the Ad Exchange Marketplace and certain other sections
27
+ # of the Ad Exchange Buyer UI based on the role
28
+ # granted to the associated client buyer.
29
+ # The only way a new client user can be created is via accepting an
30
+ # email invitation
31
+ # (see the
32
+ # accounts.clients.invitations.create
33
+ # method).
34
+ # All fields are required unless otherwise specified.
35
+ class ClientUser
36
+ include Google::Apis::Core::Hashable
37
+
38
+ # User's email address. The value of this field
39
+ # is ignored in an update operation.
40
+ # Corresponds to the JSON property `email`
41
+ # @return [String]
42
+ attr_accessor :email
43
+
44
+ # Numerical account ID of the client buyer
45
+ # with which the user is associated; the
46
+ # buyer must be a client of the current sponsor buyer.
47
+ # The value of this field is ignored in an update operation.
48
+ # Corresponds to the JSON property `clientAccountId`
49
+ # @return [String]
50
+ attr_accessor :client_account_id
51
+
52
+ # The status of the client user.
53
+ # Corresponds to the JSON property `status`
54
+ # @return [String]
55
+ attr_accessor :status
56
+
57
+ # The unique numerical ID of the client user
58
+ # that has accepted an invitation.
59
+ # The value of this field is ignored in an update operation.
60
+ # Corresponds to the JSON property `userId`
61
+ # @return [String]
62
+ attr_accessor :user_id
63
+
64
+ def initialize(**args)
65
+ update!(**args)
66
+ end
67
+
68
+ # Update properties of this object
69
+ def update!(**args)
70
+ @email = args[:email] if args.key?(:email)
71
+ @client_account_id = args[:client_account_id] if args.key?(:client_account_id)
72
+ @status = args[:status] if args.key?(:status)
73
+ @user_id = args[:user_id] if args.key?(:user_id)
74
+ end
75
+ end
76
+
77
+ # An invitation for a new client user to get access to the Ad Exchange
78
+ # Buyer UI.
79
+ # All fields are required unless otherwise specified.
80
+ class ClientUserInvitation
81
+ include Google::Apis::Core::Hashable
82
+
83
+ # The email address to which the invitation is sent. Email
84
+ # addresses should be unique among all client users under each sponsor
85
+ # buyer.
86
+ # Corresponds to the JSON property `email`
87
+ # @return [String]
88
+ attr_accessor :email
89
+
90
+ # Numerical account ID of the client buyer
91
+ # that the invited user is associated with.
92
+ # The value of this field is ignored in create operations.
93
+ # Corresponds to the JSON property `clientAccountId`
94
+ # @return [String]
95
+ attr_accessor :client_account_id
96
+
97
+ # The unique numerical ID of the invitation that is sent to the user.
98
+ # The value of this field is ignored in create operations.
99
+ # Corresponds to the JSON property `invitationId`
100
+ # @return [String]
101
+ attr_accessor :invitation_id
102
+
103
+ def initialize(**args)
104
+ update!(**args)
105
+ end
106
+
107
+ # Update properties of this object
108
+ def update!(**args)
109
+ @email = args[:email] if args.key?(:email)
110
+ @client_account_id = args[:client_account_id] if args.key?(:client_account_id)
111
+ @invitation_id = args[:invitation_id] if args.key?(:invitation_id)
112
+ end
113
+ end
114
+
115
+ #
116
+ class ListClientUserInvitationsResponse
117
+ include Google::Apis::Core::Hashable
118
+
119
+ # A token to retrieve the next page of results.
120
+ # Pass this value in the
121
+ # ListClientUserInvitationsRequest.pageToken
122
+ # field in the subsequent call to the
123
+ # clients.invitations.list
124
+ # method to retrieve the next
125
+ # page of results.
126
+ # Corresponds to the JSON property `nextPageToken`
127
+ # @return [String]
128
+ attr_accessor :next_page_token
129
+
130
+ # The returned list of client users.
131
+ # Corresponds to the JSON property `invitations`
132
+ # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ClientUserInvitation>]
133
+ attr_accessor :invitations
134
+
135
+ def initialize(**args)
136
+ update!(**args)
137
+ end
138
+
139
+ # Update properties of this object
140
+ def update!(**args)
141
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
142
+ @invitations = args[:invitations] if args.key?(:invitations)
143
+ end
144
+ end
145
+
146
+ #
147
+ class ListClientUsersResponse
148
+ include Google::Apis::Core::Hashable
149
+
150
+ # The returned list of client users.
151
+ # Corresponds to the JSON property `users`
152
+ # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::ClientUser>]
153
+ attr_accessor :users
154
+
155
+ # A token to retrieve the next page of results.
156
+ # Pass this value in the
157
+ # ListClientUsersRequest.pageToken
158
+ # field in the subsequent call to the
159
+ # clients.invitations.list
160
+ # method to retrieve the next
161
+ # page of results.
162
+ # Corresponds to the JSON property `nextPageToken`
163
+ # @return [String]
164
+ attr_accessor :next_page_token
165
+
166
+ def initialize(**args)
167
+ update!(**args)
168
+ end
169
+
170
+ # Update properties of this object
171
+ def update!(**args)
172
+ @users = args[:users] if args.key?(:users)
173
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
174
+ end
175
+ end
176
+
177
+ # A client resource represents a client buyer&mdash;an agency,
178
+ # a brand, or an advertiser customer of the sponsor buyer.
179
+ # Users associated with the client buyer have restricted access to
180
+ # the Ad Exchange Marketplace and certain other sections
181
+ # of the Ad Exchange Buyer UI based on the role
182
+ # granted to the client buyer.
183
+ # All fields are required unless otherwise specified.
184
+ class Client
185
+ include Google::Apis::Core::Hashable
186
+
187
+ # Whether the client buyer will be visible to sellers.
188
+ # Corresponds to the JSON property `visibleToSeller`
189
+ # @return [Boolean]
190
+ attr_accessor :visible_to_seller
191
+ alias_method :visible_to_seller?, :visible_to_seller
192
+
193
+ # The status of the client buyer.
194
+ # Corresponds to the JSON property `status`
195
+ # @return [String]
196
+ attr_accessor :status
197
+
198
+ # The type of the client entity: `ADVERTISER`, `BRAND`, or `AGENCY`.
199
+ # Corresponds to the JSON property `entityType`
200
+ # @return [String]
201
+ attr_accessor :entity_type
202
+
203
+ # The role which is assigned to the client buyer. Each role implies a set of
204
+ # permissions granted to the client. Must be one of `CLIENT_DEAL_VIEWER`,
205
+ # `CLIENT_DEAL_NEGOTIATOR` or `CLIENT_DEAL_APPROVER`.
206
+ # Corresponds to the JSON property `role`
207
+ # @return [String]
208
+ attr_accessor :role
209
+
210
+ # Name used to represent this client to publishers.
211
+ # You may have multiple clients that map to the same entity,
212
+ # but for each client the combination of `clientName` and entity
213
+ # must be unique.
214
+ # You can specify this field as empty.
215
+ # Corresponds to the JSON property `clientName`
216
+ # @return [String]
217
+ attr_accessor :client_name
218
+
219
+ # The globally-unique numerical ID of the client.
220
+ # The value of this field is ignored in create and update operations.
221
+ # Corresponds to the JSON property `clientAccountId`
222
+ # @return [String]
223
+ attr_accessor :client_account_id
224
+
225
+ # Numerical identifier of the client entity.
226
+ # The entity can be an advertiser, a brand, or an agency.
227
+ # This identifier is unique among all the entities with the same type.
228
+ # A list of all known advertisers with their identifiers is available in the
229
+ # [advertisers.txt](https://storage.googleapis.com/adx-rtb-dictionaries/
230
+ # advertisers.txt)
231
+ # file.
232
+ # A list of all known brands with their identifiers is available in the
233
+ # [brands.txt](https://storage.googleapis.com/adx-rtb-dictionaries/brands.txt)
234
+ # file.
235
+ # A list of all known agencies with their identifiers is available in the
236
+ # [agencies.txt](https://storage.googleapis.com/adx-rtb-dictionaries/agencies.
237
+ # txt)
238
+ # file.
239
+ # Corresponds to the JSON property `entityId`
240
+ # @return [String]
241
+ attr_accessor :entity_id
242
+
243
+ # The name of the entity. This field is automatically fetched based on
244
+ # the type and ID.
245
+ # The value of this field is ignored in create and update operations.
246
+ # Corresponds to the JSON property `entityName`
247
+ # @return [String]
248
+ attr_accessor :entity_name
249
+
250
+ def initialize(**args)
251
+ update!(**args)
252
+ end
253
+
254
+ # Update properties of this object
255
+ def update!(**args)
256
+ @visible_to_seller = args[:visible_to_seller] if args.key?(:visible_to_seller)
257
+ @status = args[:status] if args.key?(:status)
258
+ @entity_type = args[:entity_type] if args.key?(:entity_type)
259
+ @role = args[:role] if args.key?(:role)
260
+ @client_name = args[:client_name] if args.key?(:client_name)
261
+ @client_account_id = args[:client_account_id] if args.key?(:client_account_id)
262
+ @entity_id = args[:entity_id] if args.key?(:entity_id)
263
+ @entity_name = args[:entity_name] if args.key?(:entity_name)
264
+ end
265
+ end
266
+
267
+ #
268
+ class ListClientsResponse
269
+ include Google::Apis::Core::Hashable
270
+
271
+ # A token to retrieve the next page of results.
272
+ # Pass this value in the
273
+ # ListClientsRequest.pageToken
274
+ # field in the subsequent call to the
275
+ # accounts.clients.list method
276
+ # to retrieve the next page of results.
277
+ # Corresponds to the JSON property `nextPageToken`
278
+ # @return [String]
279
+ attr_accessor :next_page_token
280
+
281
+ # The returned list of clients.
282
+ # Corresponds to the JSON property `clients`
283
+ # @return [Array<Google::Apis::Adexchangebuyer2V2beta1::Client>]
284
+ attr_accessor :clients
285
+
286
+ def initialize(**args)
287
+ update!(**args)
288
+ end
289
+
290
+ # Update properties of this object
291
+ def update!(**args)
292
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
293
+ @clients = args[:clients] if args.key?(:clients)
294
+ end
295
+ end
296
+ end
297
+ end
298
+ end