google-api-client 0.9.pre3 → 0.9.pre4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (307) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +1 -0
  3. data/CHANGELOG.md +14 -2
  4. data/Gemfile +4 -0
  5. data/MIGRATING.md +1 -1
  6. data/README.md +17 -3
  7. data/api_names.yaml +127 -14
  8. data/api_names_out.yaml +5442 -710
  9. data/bin/generate-api +16 -14
  10. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +213 -2
  12. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +71 -0
  13. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -42
  14. data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
  15. data/generated/google/apis/adexchangeseller_v2_0/service.rb +15 -29
  16. data/generated/google/apis/admin_datatransfer_v1.rb +37 -0
  17. data/generated/google/apis/admin_datatransfer_v1/classes.rb +267 -0
  18. data/generated/google/apis/admin_datatransfer_v1/representations.rb +118 -0
  19. data/generated/google/apis/admin_datatransfer_v1/service.rb +262 -0
  20. data/generated/google/apis/admin_directory_v1.rb +25 -1
  21. data/generated/google/apis/admin_directory_v1/classes.rb +718 -0
  22. data/generated/google/apis/admin_directory_v1/representations.rb +244 -0
  23. data/generated/google/apis/admin_directory_v1/service.rb +1522 -509
  24. data/generated/google/apis/admin_reports_v1.rb +1 -1
  25. data/generated/google/apis/admin_reports_v1/service.rb +5 -10
  26. data/generated/google/apis/adsense_v1_4.rb +1 -1
  27. data/generated/google/apis/adsense_v1_4/classes.rb +6 -0
  28. data/generated/google/apis/adsense_v1_4/representations.rb +1 -0
  29. data/generated/google/apis/adsense_v1_4/service.rb +40 -78
  30. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  31. data/generated/google/apis/adsensehost_v4_1/service.rb +26 -52
  32. data/generated/google/apis/analytics_v3.rb +1 -1
  33. data/generated/google/apis/analytics_v3/classes.rb +11 -13
  34. data/generated/google/apis/analytics_v3/service.rb +84 -158
  35. data/generated/google/apis/androidenterprise_v1.rb +2 -2
  36. data/generated/google/apis/androidenterprise_v1/classes.rb +276 -8
  37. data/generated/google/apis/androidenterprise_v1/representations.rb +106 -0
  38. data/generated/google/apis/androidenterprise_v1/service.rb +715 -97
  39. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  40. data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
  41. data/generated/google/apis/androidpublisher_v2/service.rb +55 -107
  42. data/generated/google/apis/appengine_v1beta4.rb +35 -0
  43. data/generated/google/apis/appengine_v1beta4/classes.rb +1532 -0
  44. data/generated/google/apis/appengine_v1beta4/representations.rb +526 -0
  45. data/generated/google/apis/appengine_v1beta4/service.rb +476 -0
  46. data/generated/google/apis/appsactivity_v1.rb +1 -1
  47. data/generated/google/apis/appsactivity_v1/service.rb +1 -2
  48. data/generated/google/apis/appstate_v1.rb +1 -1
  49. data/generated/google/apis/appstate_v1/service.rb +6 -11
  50. data/generated/google/apis/autoscaler_v1beta2/service.rb +10 -20
  51. data/generated/google/apis/bigquery_v2.rb +4 -1
  52. data/generated/google/apis/bigquery_v2/classes.rb +231 -16
  53. data/generated/google/apis/bigquery_v2/representations.rb +62 -0
  54. data/generated/google/apis/bigquery_v2/service.rb +24 -45
  55. data/generated/google/apis/blogger_v3/service.rb +33 -66
  56. data/generated/google/apis/books_v1.rb +1 -1
  57. data/generated/google/apis/books_v1/classes.rb +441 -0
  58. data/generated/google/apis/books_v1/representations.rb +177 -0
  59. data/generated/google/apis/books_v1/service.rb +210 -90
  60. data/generated/google/apis/calendar_v3.rb +1 -1
  61. data/generated/google/apis/calendar_v3/classes.rb +34 -18
  62. data/generated/google/apis/calendar_v3/service.rb +118 -103
  63. data/generated/google/apis/civicinfo_v2.rb +1 -1
  64. data/generated/google/apis/civicinfo_v2/classes.rb +12 -3
  65. data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
  66. data/generated/google/apis/civicinfo_v2/service.rb +5 -10
  67. data/generated/google/apis/classroom_v1.rb +49 -0
  68. data/generated/google/apis/classroom_v1/classes.rb +512 -0
  69. data/generated/google/apis/classroom_v1/representations.rb +217 -0
  70. data/generated/google/apis/classroom_v1/service.rb +970 -0
  71. data/generated/google/apis/cloudbilling_v1.rb +35 -0
  72. data/generated/google/apis/cloudbilling_v1/classes.rb +169 -0
  73. data/generated/google/apis/cloudbilling_v1/representations.rb +79 -0
  74. data/generated/google/apis/cloudbilling_v1/service.rb +258 -0
  75. data/generated/google/apis/clouddebugger_v2.rb +41 -0
  76. data/generated/google/apis/clouddebugger_v2/classes.rb +1004 -0
  77. data/generated/google/apis/clouddebugger_v2/representations.rb +410 -0
  78. data/generated/google/apis/clouddebugger_v2/service.rb +370 -0
  79. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  80. data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +6 -12
  81. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +5 -2
  82. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +173 -249
  83. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +36 -68
  84. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +293 -80
  85. data/generated/google/apis/cloudtrace_v1.rb +35 -0
  86. data/generated/google/apis/cloudtrace_v1/classes.rb +188 -0
  87. data/generated/google/apis/cloudtrace_v1/representations.rb +92 -0
  88. data/generated/google/apis/cloudtrace_v1/service.rb +190 -0
  89. data/generated/google/apis/clouduseraccounts_beta.rb +43 -0
  90. data/generated/google/apis/clouduseraccounts_beta/classes.rb +823 -0
  91. data/generated/google/apis/clouduseraccounts_beta/representations.rb +313 -0
  92. data/generated/google/apis/clouduseraccounts_beta/service.rb +854 -0
  93. data/generated/google/apis/compute_beta.rb +49 -0
  94. data/generated/google/apis/compute_beta/classes.rb +9128 -0
  95. data/generated/google/apis/compute_beta/representations.rb +3048 -0
  96. data/generated/google/apis/compute_beta/service.rb +10154 -0
  97. data/generated/google/apis/compute_v1.rb +1 -1
  98. data/generated/google/apis/compute_v1/classes.rb +1305 -520
  99. data/generated/google/apis/compute_v1/representations.rb +122 -15
  100. data/generated/google/apis/compute_v1/service.rb +2202 -1085
  101. data/generated/google/apis/container_v1.rb +1 -1
  102. data/generated/google/apis/container_v1/classes.rb +56 -31
  103. data/generated/google/apis/container_v1/representations.rb +12 -0
  104. data/generated/google/apis/container_v1/service.rb +62 -41
  105. data/generated/google/apis/content_v2.rb +2 -2
  106. data/generated/google/apis/content_v2/classes.rb +2252 -56
  107. data/generated/google/apis/content_v2/representations.rb +917 -87
  108. data/generated/google/apis/content_v2/service.rb +680 -85
  109. data/generated/google/apis/coordinate_v1.rb +1 -1
  110. data/generated/google/apis/coordinate_v1/service.rb +16 -25
  111. data/generated/google/apis/customsearch_v1/service.rb +1 -2
  112. data/generated/google/apis/datastore_v1beta2.rb +1 -1
  113. data/generated/google/apis/datastore_v1beta2/service.rb +12 -18
  114. data/generated/google/apis/deploymentmanager_v2.rb +44 -0
  115. data/generated/google/apis/deploymentmanager_v2/classes.rb +1089 -0
  116. data/generated/google/apis/deploymentmanager_v2/representations.rb +422 -0
  117. data/generated/google/apis/deploymentmanager_v2/service.rb +857 -0
  118. data/generated/google/apis/deploymentmanager_v2beta2.rb +5 -2
  119. data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +22 -3
  120. data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +3 -0
  121. data/generated/google/apis/deploymentmanager_v2beta2/service.rb +14 -27
  122. data/generated/google/apis/dfareporting_v2_1.rb +1 -1
  123. data/generated/google/apis/dfareporting_v2_1/classes.rb +29 -14
  124. data/generated/google/apis/dfareporting_v2_1/service.rb +196 -389
  125. data/generated/google/apis/discovery_v1/classes.rb +7 -0
  126. data/generated/google/apis/discovery_v1/representations.rb +1 -0
  127. data/generated/google/apis/discovery_v1/service.rb +2 -4
  128. data/generated/google/apis/dns_v1.rb +4 -1
  129. data/generated/google/apis/dns_v1/service.rb +9 -18
  130. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  131. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +9 -2
  132. data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +1 -0
  133. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -16
  134. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  135. data/generated/google/apis/doubleclicksearch_v2/classes.rb +15 -6
  136. data/generated/google/apis/doubleclicksearch_v2/representations.rb +1 -0
  137. data/generated/google/apis/doubleclicksearch_v2/service.rb +13 -23
  138. data/generated/google/apis/drive_v2.rb +1 -1
  139. data/generated/google/apis/drive_v2/classes.rb +73 -30
  140. data/generated/google/apis/drive_v2/representations.rb +14 -0
  141. data/generated/google/apis/drive_v2/service.rb +139 -135
  142. data/generated/google/apis/drive_v3.rb +55 -0
  143. data/generated/google/apis/drive_v3/classes.rb +1534 -0
  144. data/generated/google/apis/drive_v3/representations.rb +497 -0
  145. data/generated/google/apis/drive_v3/service.rb +1541 -0
  146. data/generated/google/apis/fitness_v1.rb +1 -1
  147. data/generated/google/apis/fitness_v1/service.rb +14 -27
  148. data/generated/google/apis/fusiontables_v2/service.rb +40 -73
  149. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  150. data/generated/google/apis/games_configuration_v1configuration/service.rb +14 -27
  151. data/generated/google/apis/games_management_v1management.rb +37 -0
  152. data/generated/google/apis/games_management_v1management/classes.rb +524 -0
  153. data/generated/google/apis/games_management_v1management/representations.rb +231 -0
  154. data/generated/google/apis/games_management_v1management/service.rb +994 -0
  155. data/generated/google/apis/games_v1.rb +1 -1
  156. data/generated/google/apis/games_v1/classes.rb +39 -0
  157. data/generated/google/apis/games_v1/representations.rb +14 -0
  158. data/generated/google/apis/games_v1/service.rb +93 -109
  159. data/generated/google/apis/gan_v1beta1/service.rb +10 -20
  160. data/generated/google/apis/genomics_v1.rb +5 -3
  161. data/generated/google/apis/genomics_v1/classes.rb +519 -200
  162. data/generated/google/apis/genomics_v1/representations.rb +126 -13
  163. data/generated/google/apis/genomics_v1/service.rb +392 -236
  164. data/generated/google/apis/gmail_v1.rb +4 -1
  165. data/generated/google/apis/gmail_v1/service.rb +39 -71
  166. data/generated/google/apis/groupsmigration_v1/service.rb +2 -3
  167. data/generated/google/apis/groupssettings_v1/service.rb +3 -6
  168. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  169. data/generated/google/apis/identitytoolkit_v3/classes.rb +125 -0
  170. data/generated/google/apis/identitytoolkit_v3/representations.rb +37 -0
  171. data/generated/google/apis/identitytoolkit_v3/service.rb +44 -24
  172. data/generated/google/apis/kgsearch_v1.rb +32 -0
  173. data/generated/google/apis/kgsearch_v1/classes.rb +59 -0
  174. data/generated/google/apis/kgsearch_v1/representations.rb +39 -0
  175. data/generated/google/apis/kgsearch_v1/service.rb +111 -0
  176. data/generated/google/apis/licensing_v1.rb +1 -1
  177. data/generated/google/apis/licensing_v1/service.rb +7 -14
  178. data/generated/google/apis/logging_v1beta3.rb +16 -4
  179. data/generated/google/apis/logging_v1beta3/classes.rb +620 -46
  180. data/generated/google/apis/logging_v1beta3/representations.rb +144 -0
  181. data/generated/google/apis/logging_v1beta3/service.rb +435 -104
  182. data/generated/google/apis/manager_v1beta2.rb +3 -0
  183. data/generated/google/apis/manager_v1beta2/service.rb +8 -16
  184. data/generated/google/apis/mapsengine_v1.rb +1 -1
  185. data/generated/google/apis/mapsengine_v1/service.rb +85 -162
  186. data/generated/google/apis/mirror_v1.rb +1 -1
  187. data/generated/google/apis/mirror_v1/service.rb +28 -52
  188. data/generated/google/apis/oauth2_v2.rb +1 -1
  189. data/generated/google/apis/oauth2_v2/service.rb +4 -8
  190. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -2
  191. data/generated/google/apis/partners_v2.rb +32 -0
  192. data/generated/google/apis/partners_v2/classes.rb +942 -0
  193. data/generated/google/apis/partners_v2/representations.rb +402 -0
  194. data/generated/google/apis/partners_v2/service.rb +400 -0
  195. data/generated/google/apis/plus_domains_v1.rb +1 -1
  196. data/generated/google/apis/plus_domains_v1/classes.rb +207 -0
  197. data/generated/google/apis/plus_domains_v1/representations.rb +114 -0
  198. data/generated/google/apis/plus_domains_v1/service.rb +21 -41
  199. data/generated/google/apis/plus_v1.rb +1 -1
  200. data/generated/google/apis/plus_v1/classes.rb +207 -0
  201. data/generated/google/apis/plus_v1/representations.rb +114 -0
  202. data/generated/google/apis/plus_v1/service.rb +11 -56
  203. data/generated/google/apis/prediction_v1_6.rb +1 -1
  204. data/generated/google/apis/prediction_v1_6/service.rb +8 -16
  205. data/generated/google/apis/proximitybeacon_v1beta1.rb +31 -0
  206. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +639 -0
  207. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +274 -0
  208. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +591 -0
  209. data/generated/google/apis/pubsub_v1.rb +37 -0
  210. data/generated/google/apis/pubsub_v1/classes.rb +614 -0
  211. data/generated/google/apis/pubsub_v1/representations.rb +281 -0
  212. data/generated/google/apis/pubsub_v1/service.rb +774 -0
  213. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  214. data/generated/google/apis/pubsub_v1beta2/classes.rb +78 -283
  215. data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -85
  216. data/generated/google/apis/pubsub_v1beta2/service.rb +79 -87
  217. data/generated/google/apis/qpx_express_v1/service.rb +1 -2
  218. data/generated/google/apis/replicapool_v1beta2.rb +3 -0
  219. data/generated/google/apis/replicapool_v1beta2/service.rb +12 -24
  220. data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -1
  221. data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +46 -2
  222. data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +16 -0
  223. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +58 -18
  224. data/generated/google/apis/reseller_v1.rb +1 -1
  225. data/generated/google/apis/reseller_v1/classes.rb +19 -1
  226. data/generated/google/apis/reseller_v1/representations.rb +1 -0
  227. data/generated/google/apis/reseller_v1/service.rb +16 -30
  228. data/generated/google/apis/resourceviews_v1beta2.rb +3 -0
  229. data/generated/google/apis/resourceviews_v1beta2/service.rb +16 -27
  230. data/generated/google/apis/script_v1.rb +61 -0
  231. data/generated/google/apis/script_v1/classes.rb +259 -0
  232. data/generated/google/apis/script_v1/representations.rb +106 -0
  233. data/generated/google/apis/script_v1/service.rb +98 -0
  234. data/generated/google/apis/site_verification_v1.rb +1 -1
  235. data/generated/google/apis/site_verification_v1/service.rb +8 -15
  236. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  237. data/generated/google/apis/sqladmin_v1beta4/classes.rb +186 -2
  238. data/generated/google/apis/sqladmin_v1beta4/representations.rb +70 -0
  239. data/generated/google/apis/sqladmin_v1beta4/service.rb +166 -75
  240. data/generated/google/apis/storage_v1.rb +5 -2
  241. data/generated/google/apis/storage_v1/classes.rb +47 -4
  242. data/generated/google/apis/storage_v1/representations.rb +18 -0
  243. data/generated/google/apis/storage_v1/service.rb +77 -94
  244. data/generated/google/apis/storagetransfer_v1.rb +35 -0
  245. data/generated/google/apis/storagetransfer_v1/classes.rb +1046 -0
  246. data/generated/google/apis/storagetransfer_v1/representations.rb +370 -0
  247. data/generated/google/apis/storagetransfer_v1/service.rb +473 -0
  248. data/generated/google/apis/tagmanager_v1.rb +1 -1
  249. data/generated/google/apis/tagmanager_v1/classes.rb +189 -31
  250. data/generated/google/apis/tagmanager_v1/representations.rb +69 -15
  251. data/generated/google/apis/tagmanager_v1/service.rb +114 -275
  252. data/generated/google/apis/taskqueue_v1beta2/service.rb +8 -16
  253. data/generated/google/apis/tasks_v1/service.rb +14 -28
  254. data/generated/google/apis/translate_v2/service.rb +3 -6
  255. data/generated/google/apis/urlshortener_v1/service.rb +3 -6
  256. data/generated/google/apis/webmasters_v3.rb +3 -3
  257. data/generated/google/apis/webmasters_v3/classes.rb +4 -4
  258. data/generated/google/apis/webmasters_v3/service.rb +16 -30
  259. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  260. data/generated/google/apis/youtube_analytics_v1/classes.rb +6 -0
  261. data/generated/google/apis/youtube_analytics_v1/representations.rb +1 -0
  262. data/generated/google/apis/youtube_analytics_v1/service.rb +16 -21
  263. data/generated/google/apis/youtube_v3.rb +1 -1
  264. data/generated/google/apis/youtube_v3/classes.rb +111 -78
  265. data/generated/google/apis/youtube_v3/representations.rb +2 -0
  266. data/generated/google/apis/youtube_v3/service.rb +78 -246
  267. data/generated/google/apis/youtubereporting_v1.rb +38 -0
  268. data/generated/google/apis/youtubereporting_v1/classes.rb +258 -0
  269. data/generated/google/apis/youtubereporting_v1/representations.rb +128 -0
  270. data/generated/google/apis/youtubereporting_v1/service.rb +364 -0
  271. data/google-api-client.gemspec +3 -3
  272. data/lib/google/api_client/auth/installed_app.rb +2 -2
  273. data/lib/google/api_client/auth/key_utils.rb +1 -0
  274. data/lib/google/api_client/auth/storage.rb +1 -0
  275. data/lib/google/api_client/auth/storages/file_store.rb +1 -0
  276. data/lib/google/api_client/auth/storages/redis_store.rb +1 -0
  277. data/lib/google/api_client/client_secrets.rb +4 -5
  278. data/lib/google/apis/core/api_command.rb +2 -2
  279. data/lib/google/apis/core/base_service.rb +1 -0
  280. data/lib/google/apis/core/batch.rb +25 -8
  281. data/lib/google/apis/core/download.rb +1 -1
  282. data/lib/google/apis/core/http_command.rb +24 -12
  283. data/lib/google/apis/core/multipart.rb +20 -6
  284. data/lib/google/apis/core/upload.rb +11 -4
  285. data/lib/google/apis/generator/annotator.rb +29 -10
  286. data/lib/google/apis/generator/helpers.rb +1 -1
  287. data/lib/google/apis/generator/templates/_method.tmpl +5 -6
  288. data/lib/google/apis/options.rb +7 -3
  289. data/lib/google/apis/version.rb +1 -1
  290. data/samples/calendar/calendar.rb +1 -1
  291. data/samples/drive/drive.rb +9 -2
  292. data/samples/pubsub/pubsub.rb +5 -6
  293. data/samples/translate/translate.rb +1 -5
  294. data/script/generate +20 -5
  295. data/spec/fixtures/files/child/.gitignore +0 -0
  296. data/spec/fixtures/files/invalid.json +1 -0
  297. data/spec/google/api_client/client_secrets_spec.rb +38 -1
  298. data/spec/google/apis/core/batch_spec.rb +22 -8
  299. data/spec/google/apis/core/download_spec.rb +13 -0
  300. data/spec/google/apis/core/http_command_spec.rb +26 -9
  301. data/spec/google/apis/core/upload_spec.rb +65 -17
  302. data/spec/google/apis/options_spec.rb +8 -0
  303. data/spec/integration_tests/adsense_spec.rb +28 -0
  304. data/spec/integration_tests/pubsub_spec.rb +3 -3
  305. data/spec/spec_helper.rb +5 -1
  306. data/third_party/hurley_patches.rb +103 -0
  307. metadata +87 -7
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/+/domains/
26
26
  module PlusDomainsV1
27
27
  VERSION = 'V1'
28
- REVISION = '20150729'
28
+ REVISION = '20151214'
29
29
 
30
30
  # View your circles and the people and pages in them
31
31
  AUTH_PLUS_CIRCLES_READ = 'https://www.googleapis.com/auth/plus.circles.read'
@@ -205,6 +205,11 @@ module Google
205
205
  class Actor
206
206
  include Google::Apis::Core::Hashable
207
207
 
208
+ # Actor info specific to particular clients.
209
+ # Corresponds to the JSON property `clientSpecificActorInfo`
210
+ # @return [Google::Apis::PlusDomainsV1::Activity::Actor::ClientSpecificActorInfo]
211
+ attr_accessor :client_specific_actor_info
212
+
208
213
  # The name of the actor, suitable for display.
209
214
  # Corresponds to the JSON property `displayName`
210
215
  # @return [String]
@@ -230,17 +235,62 @@ module Google
230
235
  # @return [String]
231
236
  attr_accessor :url
232
237
 
238
+ # Verification status of actor.
239
+ # Corresponds to the JSON property `verification`
240
+ # @return [Google::Apis::PlusDomainsV1::Activity::Actor::Verification]
241
+ attr_accessor :verification
242
+
233
243
  def initialize(**args)
234
244
  update!(**args)
235
245
  end
236
246
 
237
247
  # Update properties of this object
238
248
  def update!(**args)
249
+ @client_specific_actor_info = args[:client_specific_actor_info] unless args[:client_specific_actor_info].nil?
239
250
  @display_name = args[:display_name] unless args[:display_name].nil?
240
251
  @id = args[:id] unless args[:id].nil?
241
252
  @image = args[:image] unless args[:image].nil?
242
253
  @name = args[:name] unless args[:name].nil?
243
254
  @url = args[:url] unless args[:url].nil?
255
+ @verification = args[:verification] unless args[:verification].nil?
256
+ end
257
+
258
+ # Actor info specific to particular clients.
259
+ class ClientSpecificActorInfo
260
+ include Google::Apis::Core::Hashable
261
+
262
+ # Actor info specific to YouTube clients.
263
+ # Corresponds to the JSON property `youtubeActorInfo`
264
+ # @return [Google::Apis::PlusDomainsV1::Activity::Actor::ClientSpecificActorInfo::YoutubeActorInfo]
265
+ attr_accessor :youtube_actor_info
266
+
267
+ def initialize(**args)
268
+ update!(**args)
269
+ end
270
+
271
+ # Update properties of this object
272
+ def update!(**args)
273
+ @youtube_actor_info = args[:youtube_actor_info] unless args[:youtube_actor_info].nil?
274
+ end
275
+
276
+ # Actor info specific to YouTube clients.
277
+ class YoutubeActorInfo
278
+ include Google::Apis::Core::Hashable
279
+
280
+ # ID of the YouTube channel owned by the Actor.
281
+ # Corresponds to the JSON property `channelId`
282
+ # @return [String]
283
+ attr_accessor :channel_id
284
+
285
+ def initialize(**args)
286
+ update!(**args)
287
+ end
288
+
289
+ # Update properties of this object
290
+ def update!(**args)
291
+ @channel_id = args[:channel_id] unless args[:channel_id].nil?
292
+ end
293
+ end
244
294
  end
245
295
 
246
296
  # The image representation of the actor.
@@ -288,6 +338,25 @@ module Google
288
338
  @given_name = args[:given_name] unless args[:given_name].nil?
289
339
  end
290
340
  end
341
+
342
+ # Verification status of actor.
343
+ class Verification
344
+ include Google::Apis::Core::Hashable
345
+
346
+ # Verification for one-time or manual processes.
347
+ # Corresponds to the JSON property `adHocVerified`
348
+ # @return [String]
349
+ attr_accessor :ad_hoc_verified
350
+
351
+ def initialize(**args)
352
+ update!(**args)
353
+ end
354
+
355
+ # Update properties of this object
356
+ def update!(**args)
357
+ @ad_hoc_verified = args[:ad_hoc_verified] unless args[:ad_hoc_verified].nil?
358
+ end
359
+ end
291
360
  end
292
361
 
293
362
  # The object of this activity.
@@ -380,6 +449,11 @@ module Google
380
449
  class Actor
381
450
  include Google::Apis::Core::Hashable
382
451
 
452
+ # Actor info specific to particular clients.
453
+ # Corresponds to the JSON property `clientSpecificActorInfo`
454
+ # @return [Google::Apis::PlusDomainsV1::Activity::Object::Actor::ClientSpecificActorInfo]
455
+ attr_accessor :client_specific_actor_info
456
+
383
457
  # The original actor's name, which is suitable for display.
384
458
  # Corresponds to the JSON property `displayName`
385
459
  # @return [String]
@@ -400,16 +474,61 @@ module Google
400
474
  # @return [String]
401
475
  attr_accessor :url
402
476
 
477
+ # Verification status of actor.
478
+ # Corresponds to the JSON property `verification`
479
+ # @return [Google::Apis::PlusDomainsV1::Activity::Object::Actor::Verification]
480
+ attr_accessor :verification
481
+
403
482
  def initialize(**args)
404
483
  update!(**args)
405
484
  end
406
485
 
407
486
  # Update properties of this object
408
487
  def update!(**args)
488
+ @client_specific_actor_info = args[:client_specific_actor_info] unless args[:client_specific_actor_info].nil?
409
489
  @display_name = args[:display_name] unless args[:display_name].nil?
410
490
  @id = args[:id] unless args[:id].nil?
411
491
  @image = args[:image] unless args[:image].nil?
412
492
  @url = args[:url] unless args[:url].nil?
493
+ @verification = args[:verification] unless args[:verification].nil?
494
+ end
495
+
496
+ # Actor info specific to particular clients.
497
+ class ClientSpecificActorInfo
498
+ include Google::Apis::Core::Hashable
499
+
500
+ # Actor info specific to YouTube clients.
501
+ # Corresponds to the JSON property `youtubeActorInfo`
502
+ # @return [Google::Apis::PlusDomainsV1::Activity::Object::Actor::ClientSpecificActorInfo::YoutubeActorInfo]
503
+ attr_accessor :youtube_actor_info
504
+
505
+ def initialize(**args)
506
+ update!(**args)
507
+ end
508
+
509
+ # Update properties of this object
510
+ def update!(**args)
511
+ @youtube_actor_info = args[:youtube_actor_info] unless args[:youtube_actor_info].nil?
512
+ end
513
+
514
+ # Actor info specific to YouTube clients.
515
+ class YoutubeActorInfo
516
+ include Google::Apis::Core::Hashable
517
+
518
+ # ID of the YouTube channel owned by the Actor.
519
+ # Corresponds to the JSON property `channelId`
520
+ # @return [String]
521
+ attr_accessor :channel_id
522
+
523
+ def initialize(**args)
524
+ update!(**args)
525
+ end
526
+
527
+ # Update properties of this object
528
+ def update!(**args)
529
+ @channel_id = args[:channel_id] unless args[:channel_id].nil?
530
+ end
531
+ end
413
532
  end
414
533
 
415
534
  # The image representation of the original actor.
@@ -430,6 +549,25 @@ module Google
430
549
  @url = args[:url] unless args[:url].nil?
431
550
  end
432
551
  end
552
+
553
+ # Verification status of actor.
554
+ class Verification
555
+ include Google::Apis::Core::Hashable
556
+
557
+ # Verification for one-time or manual processes.
558
+ # Corresponds to the JSON property `adHocVerified`
559
+ # @return [String]
560
+ attr_accessor :ad_hoc_verified
561
+
562
+ def initialize(**args)
563
+ update!(**args)
564
+ end
565
+
566
+ # Update properties of this object
567
+ def update!(**args)
568
+ @ad_hoc_verified = args[:ad_hoc_verified] unless args[:ad_hoc_verified].nil?
569
+ end
570
+ end
433
571
  end
434
572
 
435
573
  #
@@ -1232,6 +1370,11 @@ module Google
1232
1370
  class Actor
1233
1371
  include Google::Apis::Core::Hashable
1234
1372
 
1373
+ # Actor info specific to particular clients.
1374
+ # Corresponds to the JSON property `clientSpecificActorInfo`
1375
+ # @return [Google::Apis::PlusDomainsV1::Comment::Actor::ClientSpecificActorInfo]
1376
+ attr_accessor :client_specific_actor_info
1377
+
1235
1378
  # The name of this actor, suitable for display.
1236
1379
  # Corresponds to the JSON property `displayName`
1237
1380
  # @return [String]
@@ -1252,16 +1395,61 @@ module Google
1252
1395
  # @return [String]
1253
1396
  attr_accessor :url
1254
1397
 
1398
+ # Verification status of actor.
1399
+ # Corresponds to the JSON property `verification`
1400
+ # @return [Google::Apis::PlusDomainsV1::Comment::Actor::Verification]
1401
+ attr_accessor :verification
1402
+
1255
1403
  def initialize(**args)
1256
1404
  update!(**args)
1257
1405
  end
1258
1406
 
1259
1407
  # Update properties of this object
1260
1408
  def update!(**args)
1409
+ @client_specific_actor_info = args[:client_specific_actor_info] unless args[:client_specific_actor_info].nil?
1261
1410
  @display_name = args[:display_name] unless args[:display_name].nil?
1262
1411
  @id = args[:id] unless args[:id].nil?
1263
1412
  @image = args[:image] unless args[:image].nil?
1264
1413
  @url = args[:url] unless args[:url].nil?
1414
+ @verification = args[:verification] unless args[:verification].nil?
1415
+ end
1416
+
1417
+ # Actor info specific to particular clients.
1418
+ class ClientSpecificActorInfo
1419
+ include Google::Apis::Core::Hashable
1420
+
1421
+ # Actor info specific to YouTube clients.
1422
+ # Corresponds to the JSON property `youtubeActorInfo`
1423
+ # @return [Google::Apis::PlusDomainsV1::Comment::Actor::ClientSpecificActorInfo::YoutubeActorInfo]
1424
+ attr_accessor :youtube_actor_info
1425
+
1426
+ def initialize(**args)
1427
+ update!(**args)
1428
+ end
1429
+
1430
+ # Update properties of this object
1431
+ def update!(**args)
1432
+ @youtube_actor_info = args[:youtube_actor_info] unless args[:youtube_actor_info].nil?
1433
+ end
1434
+
1435
+ # Actor info specific to YouTube clients.
1436
+ class YoutubeActorInfo
1437
+ include Google::Apis::Core::Hashable
1438
+
1439
+ # ID of the YouTube channel owned by the Actor.
1440
+ # Corresponds to the JSON property `channelId`
1441
+ # @return [String]
1442
+ attr_accessor :channel_id
1443
+
1444
+ def initialize(**args)
1445
+ update!(**args)
1446
+ end
1447
+
1448
+ # Update properties of this object
1449
+ def update!(**args)
1450
+ @channel_id = args[:channel_id] unless args[:channel_id].nil?
1451
+ end
1452
+ end
1265
1453
  end
1266
1454
 
1267
1455
  # The image representation of this actor.
@@ -1284,6 +1472,25 @@ module Google
1284
1472
  @url = args[:url] unless args[:url].nil?
1285
1473
  end
1286
1474
  end
1475
+
1476
+ # Verification status of actor.
1477
+ class Verification
1478
+ include Google::Apis::Core::Hashable
1479
+
1480
+ # Verification for one-time or manual processes.
1481
+ # Corresponds to the JSON property `adHocVerified`
1482
+ # @return [String]
1483
+ attr_accessor :ad_hoc_verified
1484
+
1485
+ def initialize(**args)
1486
+ update!(**args)
1487
+ end
1488
+
1489
+ # Update properties of this object
1490
+ def update!(**args)
1491
+ @ad_hoc_verified = args[:ad_hoc_verified] unless args[:ad_hoc_verified].nil?
1492
+ end
1493
+ end
1287
1494
  end
1288
1495
 
1289
1496
  #
@@ -32,6 +32,14 @@ module Google
32
32
  class Actor
33
33
  class Representation < Google::Apis::Core::JsonRepresentation; end
34
34
 
35
+ class ClientSpecificActorInfo
36
+ class Representation < Google::Apis::Core::JsonRepresentation; end
37
+
38
+ class YoutubeActorInfo
39
+ class Representation < Google::Apis::Core::JsonRepresentation; end
40
+ end
41
+ end
42
+
35
43
  class Image
36
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
37
45
  end
@@ -39,6 +47,10 @@ module Google
39
47
  class Name
40
48
  class Representation < Google::Apis::Core::JsonRepresentation; end
41
49
  end
50
+
51
+ class Verification
52
+ class Representation < Google::Apis::Core::JsonRepresentation; end
53
+ end
42
54
  end
43
55
 
44
56
  class Object
@@ -47,9 +59,21 @@ module Google
47
59
  class Actor
48
60
  class Representation < Google::Apis::Core::JsonRepresentation; end
49
61
 
62
+ class ClientSpecificActorInfo
63
+ class Representation < Google::Apis::Core::JsonRepresentation; end
64
+
65
+ class YoutubeActorInfo
66
+ class Representation < Google::Apis::Core::JsonRepresentation; end
67
+ end
68
+ end
69
+
50
70
  class Image
51
71
  class Representation < Google::Apis::Core::JsonRepresentation; end
52
72
  end
73
+
74
+ class Verification
75
+ class Representation < Google::Apis::Core::JsonRepresentation; end
76
+ end
53
77
  end
54
78
 
55
79
  class Attachment
@@ -132,9 +156,21 @@ module Google
132
156
  class Actor
133
157
  class Representation < Google::Apis::Core::JsonRepresentation; end
134
158
 
159
+ class ClientSpecificActorInfo
160
+ class Representation < Google::Apis::Core::JsonRepresentation; end
161
+
162
+ class YoutubeActorInfo
163
+ class Representation < Google::Apis::Core::JsonRepresentation; end
164
+ end
165
+ end
166
+
135
167
  class Image
136
168
  class Representation < Google::Apis::Core::JsonRepresentation; end
137
169
  end
170
+
171
+ class Verification
172
+ class Representation < Google::Apis::Core::JsonRepresentation; end
173
+ end
138
174
  end
139
175
 
140
176
  class InReplyTo
@@ -280,6 +316,8 @@ module Google
280
316
  class Actor
281
317
  # @private
282
318
  class Representation < Google::Apis::Core::JsonRepresentation
319
+ property :client_specific_actor_info, as: 'clientSpecificActorInfo', class: Google::Apis::PlusDomainsV1::Activity::Actor::ClientSpecificActorInfo, decorator: Google::Apis::PlusDomainsV1::Activity::Actor::ClientSpecificActorInfo::Representation
320
+
283
321
  property :display_name, as: 'displayName'
284
322
  property :id, as: 'id'
285
323
  property :image, as: 'image', class: Google::Apis::PlusDomainsV1::Activity::Actor::Image, decorator: Google::Apis::PlusDomainsV1::Activity::Actor::Image::Representation
@@ -287,6 +325,23 @@ module Google
287
325
  property :name, as: 'name', class: Google::Apis::PlusDomainsV1::Activity::Actor::Name, decorator: Google::Apis::PlusDomainsV1::Activity::Actor::Name::Representation
288
326
 
289
327
  property :url, as: 'url'
328
+ property :verification, as: 'verification', class: Google::Apis::PlusDomainsV1::Activity::Actor::Verification, decorator: Google::Apis::PlusDomainsV1::Activity::Actor::Verification::Representation
329
+
330
+ end
331
+
332
+ class ClientSpecificActorInfo
333
+ # @private
334
+ class Representation < Google::Apis::Core::JsonRepresentation
335
+ property :youtube_actor_info, as: 'youtubeActorInfo', class: Google::Apis::PlusDomainsV1::Activity::Actor::ClientSpecificActorInfo::YoutubeActorInfo, decorator: Google::Apis::PlusDomainsV1::Activity::Actor::ClientSpecificActorInfo::YoutubeActorInfo::Representation
336
+
337
+ end
338
+
339
+ class YoutubeActorInfo
340
+ # @private
341
+ class Representation < Google::Apis::Core::JsonRepresentation
342
+ property :channel_id, as: 'channelId'
343
+ end
344
+ end
290
345
  end
291
346
 
292
347
  class Image
@@ -303,6 +358,13 @@ module Google
303
358
  property :given_name, as: 'givenName'
304
359
  end
305
360
  end
361
+
362
+ class Verification
363
+ # @private
364
+ class Representation < Google::Apis::Core::JsonRepresentation
365
+ property :ad_hoc_verified, as: 'adHocVerified'
366
+ end
367
+ end
306
368
  end
307
369
 
308
370
  class Object
@@ -330,11 +392,30 @@ module Google
330
392
  class Actor
331
393
  # @private
332
394
  class Representation < Google::Apis::Core::JsonRepresentation
395
+ property :client_specific_actor_info, as: 'clientSpecificActorInfo', class: Google::Apis::PlusDomainsV1::Activity::Object::Actor::ClientSpecificActorInfo, decorator: Google::Apis::PlusDomainsV1::Activity::Object::Actor::ClientSpecificActorInfo::Representation
396
+
333
397
  property :display_name, as: 'displayName'
334
398
  property :id, as: 'id'
335
399
  property :image, as: 'image', class: Google::Apis::PlusDomainsV1::Activity::Object::Actor::Image, decorator: Google::Apis::PlusDomainsV1::Activity::Object::Actor::Image::Representation
336
400
 
337
401
  property :url, as: 'url'
402
+ property :verification, as: 'verification', class: Google::Apis::PlusDomainsV1::Activity::Object::Actor::Verification, decorator: Google::Apis::PlusDomainsV1::Activity::Object::Actor::Verification::Representation
403
+
404
+ end
405
+
406
+ class ClientSpecificActorInfo
407
+ # @private
408
+ class Representation < Google::Apis::Core::JsonRepresentation
409
+ property :youtube_actor_info, as: 'youtubeActorInfo', class: Google::Apis::PlusDomainsV1::Activity::Object::Actor::ClientSpecificActorInfo::YoutubeActorInfo, decorator: Google::Apis::PlusDomainsV1::Activity::Object::Actor::ClientSpecificActorInfo::YoutubeActorInfo::Representation
410
+
411
+ end
412
+
413
+ class YoutubeActorInfo
414
+ # @private
415
+ class Representation < Google::Apis::Core::JsonRepresentation
416
+ property :channel_id, as: 'channelId'
417
+ end
418
+ end
338
419
  end
339
420
 
340
421
  class Image
@@ -343,6 +424,13 @@ module Google
343
424
  property :url, as: 'url'
344
425
  end
345
426
  end
427
+
428
+ class Verification
429
+ # @private
430
+ class Representation < Google::Apis::Core::JsonRepresentation
431
+ property :ad_hoc_verified, as: 'adHocVerified'
432
+ end
433
+ end
346
434
  end
347
435
 
348
436
  class Attachment
@@ -567,11 +655,30 @@ module Google
567
655
  class Actor
568
656
  # @private
569
657
  class Representation < Google::Apis::Core::JsonRepresentation
658
+ property :client_specific_actor_info, as: 'clientSpecificActorInfo', class: Google::Apis::PlusDomainsV1::Comment::Actor::ClientSpecificActorInfo, decorator: Google::Apis::PlusDomainsV1::Comment::Actor::ClientSpecificActorInfo::Representation
659
+
570
660
  property :display_name, as: 'displayName'
571
661
  property :id, as: 'id'
572
662
  property :image, as: 'image', class: Google::Apis::PlusDomainsV1::Comment::Actor::Image, decorator: Google::Apis::PlusDomainsV1::Comment::Actor::Image::Representation
573
663
 
574
664
  property :url, as: 'url'
665
+ property :verification, as: 'verification', class: Google::Apis::PlusDomainsV1::Comment::Actor::Verification, decorator: Google::Apis::PlusDomainsV1::Comment::Actor::Verification::Representation
666
+
667
+ end
668
+
669
+ class ClientSpecificActorInfo
670
+ # @private
671
+ class Representation < Google::Apis::Core::JsonRepresentation
672
+ property :youtube_actor_info, as: 'youtubeActorInfo', class: Google::Apis::PlusDomainsV1::Comment::Actor::ClientSpecificActorInfo::YoutubeActorInfo, decorator: Google::Apis::PlusDomainsV1::Comment::Actor::ClientSpecificActorInfo::YoutubeActorInfo::Representation
673
+
674
+ end
675
+
676
+ class YoutubeActorInfo
677
+ # @private
678
+ class Representation < Google::Apis::Core::JsonRepresentation
679
+ property :channel_id, as: 'channelId'
680
+ end
681
+ end
575
682
  end
576
683
 
577
684
  class Image
@@ -580,6 +687,13 @@ module Google
580
687
  property :url, as: 'url'
581
688
  end
582
689
  end
690
+
691
+ class Verification
692
+ # @private
693
+ class Representation < Google::Apis::Core::JsonRepresentation
694
+ property :ad_hoc_verified, as: 'adHocVerified'
695
+ end
696
+ end
583
697
  end
584
698
 
585
699
  class InReplyTo