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
@@ -77,8 +77,7 @@ module Google
77
77
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
78
78
  # @raise [Google::Apis::AuthorizationError] Authorization is required
79
79
  def get_activity(activity_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
80
- path = 'activities/{activityId}'
81
- command = make_simple_command(:get, path, options)
80
+ command = make_simple_command(:get, 'activities/{activityId}', options)
82
81
  command.response_representation = Google::Apis::PlusDomainsV1::Activity::Representation
83
82
  command.response_class = Google::Apis::PlusDomainsV1::Activity
84
83
  command.params['activityId'] = activity_id unless activity_id.nil?
@@ -119,8 +118,7 @@ module Google
119
118
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
120
119
  # @raise [Google::Apis::AuthorizationError] Authorization is required
121
120
  def insert_activity(user_id, activity_object = nil, preview: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
122
- path = 'people/{userId}/activities'
123
- command = make_simple_command(:post, path, options)
121
+ command = make_simple_command(:post, 'people/{userId}/activities', options)
124
122
  command.request_representation = Google::Apis::PlusDomainsV1::Activity::Representation
125
123
  command.request_object = activity_object
126
124
  command.response_representation = Google::Apis::PlusDomainsV1::Activity::Representation
@@ -169,8 +167,7 @@ module Google
169
167
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
170
168
  # @raise [Google::Apis::AuthorizationError] Authorization is required
171
169
  def list_activities(user_id, collection, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
172
- path = 'people/{userId}/activities/{collection}'
173
- command = make_simple_command(:get, path, options)
170
+ command = make_simple_command(:get, 'people/{userId}/activities/{collection}', options)
174
171
  command.response_representation = Google::Apis::PlusDomainsV1::ActivityFeed::Representation
175
172
  command.response_class = Google::Apis::PlusDomainsV1::ActivityFeed
176
173
  command.params['userId'] = user_id unless user_id.nil?
@@ -217,8 +214,7 @@ module Google
217
214
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
218
215
  # @raise [Google::Apis::AuthorizationError] Authorization is required
219
216
  def list_audiences(user_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
220
- path = 'people/{userId}/audiences'
221
- command = make_simple_command(:get, path, options)
217
+ command = make_simple_command(:get, 'people/{userId}/audiences', options)
222
218
  command.response_representation = Google::Apis::PlusDomainsV1::AudiencesFeed::Representation
223
219
  command.response_class = Google::Apis::PlusDomainsV1::AudiencesFeed
224
220
  command.params['userId'] = user_id unless user_id.nil?
@@ -260,8 +256,7 @@ module Google
260
256
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
261
257
  # @raise [Google::Apis::AuthorizationError] Authorization is required
262
258
  def add_people(circle_id, email: nil, user_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
263
- path = 'circles/{circleId}/people'
264
- command = make_simple_command(:put, path, options)
259
+ command = make_simple_command(:put, 'circles/{circleId}/people', options)
265
260
  command.response_representation = Google::Apis::PlusDomainsV1::Circle::Representation
266
261
  command.response_class = Google::Apis::PlusDomainsV1::Circle
267
262
  command.params['circleId'] = circle_id unless circle_id.nil?
@@ -298,8 +293,7 @@ module Google
298
293
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
299
294
  # @raise [Google::Apis::AuthorizationError] Authorization is required
300
295
  def get_circle(circle_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
301
- path = 'circles/{circleId}'
302
- command = make_simple_command(:get, path, options)
296
+ command = make_simple_command(:get, 'circles/{circleId}', options)
303
297
  command.response_representation = Google::Apis::PlusDomainsV1::Circle::Representation
304
298
  command.response_class = Google::Apis::PlusDomainsV1::Circle
305
299
  command.params['circleId'] = circle_id unless circle_id.nil?
@@ -336,8 +330,7 @@ module Google
336
330
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
337
331
  # @raise [Google::Apis::AuthorizationError] Authorization is required
338
332
  def insert_circle(user_id, circle_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
339
- path = 'people/{userId}/circles'
340
- command = make_simple_command(:post, path, options)
333
+ command = make_simple_command(:post, 'people/{userId}/circles', options)
341
334
  command.request_representation = Google::Apis::PlusDomainsV1::Circle::Representation
342
335
  command.request_object = circle_object
343
336
  command.response_representation = Google::Apis::PlusDomainsV1::Circle::Representation
@@ -383,8 +376,7 @@ module Google
383
376
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
384
377
  # @raise [Google::Apis::AuthorizationError] Authorization is required
385
378
  def list_circles(user_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
386
- path = 'people/{userId}/circles'
387
- command = make_simple_command(:get, path, options)
379
+ command = make_simple_command(:get, 'people/{userId}/circles', options)
388
380
  command.response_representation = Google::Apis::PlusDomainsV1::CircleFeed::Representation
389
381
  command.response_class = Google::Apis::PlusDomainsV1::CircleFeed
390
382
  command.params['userId'] = user_id unless user_id.nil?
@@ -422,8 +414,7 @@ module Google
422
414
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
423
415
  # @raise [Google::Apis::AuthorizationError] Authorization is required
424
416
  def patch_circle(circle_id, circle_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
425
- path = 'circles/{circleId}'
426
- command = make_simple_command(:patch, path, options)
417
+ command = make_simple_command(:patch, 'circles/{circleId}', options)
427
418
  command.request_representation = Google::Apis::PlusDomainsV1::Circle::Representation
428
419
  command.request_object = circle_object
429
420
  command.response_representation = Google::Apis::PlusDomainsV1::Circle::Representation
@@ -460,8 +451,7 @@ module Google
460
451
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
461
452
  # @raise [Google::Apis::AuthorizationError] Authorization is required
462
453
  def remove_circle(circle_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
463
- path = 'circles/{circleId}'
464
- command = make_simple_command(:delete, path, options)
454
+ command = make_simple_command(:delete, 'circles/{circleId}', options)
465
455
  command.params['circleId'] = circle_id unless circle_id.nil?
466
456
  command.query['fields'] = fields unless fields.nil?
467
457
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -498,8 +488,7 @@ module Google
498
488
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
499
489
  # @raise [Google::Apis::AuthorizationError] Authorization is required
500
490
  def remove_people(circle_id, email: nil, user_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
501
- path = 'circles/{circleId}/people'
502
- command = make_simple_command(:delete, path, options)
491
+ command = make_simple_command(:delete, 'circles/{circleId}/people', options)
503
492
  command.params['circleId'] = circle_id unless circle_id.nil?
504
493
  command.query['email'] = email unless email.nil?
505
494
  command.query['userId'] = user_id unless user_id.nil?
@@ -535,8 +524,7 @@ module Google
535
524
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
536
525
  # @raise [Google::Apis::AuthorizationError] Authorization is required
537
526
  def update_circle(circle_id, circle_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
538
- path = 'circles/{circleId}'
539
- command = make_simple_command(:put, path, options)
527
+ command = make_simple_command(:put, 'circles/{circleId}', options)
540
528
  command.request_representation = Google::Apis::PlusDomainsV1::Circle::Representation
541
529
  command.request_object = circle_object
542
530
  command.response_representation = Google::Apis::PlusDomainsV1::Circle::Representation
@@ -573,8 +561,7 @@ module Google
573
561
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
574
562
  # @raise [Google::Apis::AuthorizationError] Authorization is required
575
563
  def get_comment(comment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
576
- path = 'comments/{commentId}'
577
- command = make_simple_command(:get, path, options)
564
+ command = make_simple_command(:get, 'comments/{commentId}', options)
578
565
  command.response_representation = Google::Apis::PlusDomainsV1::Comment::Representation
579
566
  command.response_class = Google::Apis::PlusDomainsV1::Comment
580
567
  command.params['commentId'] = comment_id unless comment_id.nil?
@@ -610,8 +597,7 @@ module Google
610
597
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
611
598
  # @raise [Google::Apis::AuthorizationError] Authorization is required
612
599
  def insert_comment(activity_id, comment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
613
- path = 'activities/{activityId}/comments'
614
- command = make_simple_command(:post, path, options)
600
+ command = make_simple_command(:post, 'activities/{activityId}/comments', options)
615
601
  command.request_representation = Google::Apis::PlusDomainsV1::Comment::Representation
616
602
  command.request_object = comment_object
617
603
  command.response_representation = Google::Apis::PlusDomainsV1::Comment::Representation
@@ -658,8 +644,7 @@ module Google
658
644
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
659
645
  # @raise [Google::Apis::AuthorizationError] Authorization is required
660
646
  def list_comments(activity_id, max_results: nil, page_token: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
661
- path = 'activities/{activityId}/comments'
662
- command = make_simple_command(:get, path, options)
647
+ command = make_simple_command(:get, 'activities/{activityId}/comments', options)
663
648
  command.response_representation = Google::Apis::PlusDomainsV1::CommentFeed::Representation
664
649
  command.response_class = Google::Apis::PlusDomainsV1::CommentFeed
665
650
  command.params['activityId'] = activity_id unless activity_id.nil?
@@ -706,11 +691,10 @@ module Google
706
691
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
707
692
  # @raise [Google::Apis::AuthorizationError] Authorization is required
708
693
  def insert_medium(user_id, collection, media_object = nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
709
- path = 'people/{userId}/media/{collection}'
710
694
  if upload_source.nil?
711
- command = make_simple_command(:post, path, options)
695
+ command = make_simple_command(:post, 'people/{userId}/media/{collection}', options)
712
696
  else
713
- command = make_upload_command(:post, path, options)
697
+ command = make_upload_command(:post, 'people/{userId}/media/{collection}', options)
714
698
  command.upload_source = upload_source
715
699
  command.upload_content_type = content_type
716
700
  end
@@ -752,8 +736,7 @@ module Google
752
736
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
753
737
  # @raise [Google::Apis::AuthorizationError] Authorization is required
754
738
  def get_person(user_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
755
- path = 'people/{userId}'
756
- command = make_simple_command(:get, path, options)
739
+ command = make_simple_command(:get, 'people/{userId}', options)
757
740
  command.response_representation = Google::Apis::PlusDomainsV1::Person::Representation
758
741
  command.response_class = Google::Apis::PlusDomainsV1::Person
759
742
  command.params['userId'] = user_id unless user_id.nil?
@@ -801,8 +784,7 @@ module Google
801
784
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
802
785
  # @raise [Google::Apis::AuthorizationError] Authorization is required
803
786
  def list_people(user_id, collection, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
804
- path = 'people/{userId}/people/{collection}'
805
- command = make_simple_command(:get, path, options)
787
+ command = make_simple_command(:get, 'people/{userId}/people/{collection}', options)
806
788
  command.response_representation = Google::Apis::PlusDomainsV1::PeopleFeed::Representation
807
789
  command.response_class = Google::Apis::PlusDomainsV1::PeopleFeed
808
790
  command.params['userId'] = user_id unless user_id.nil?
@@ -851,8 +833,7 @@ module Google
851
833
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
852
834
  # @raise [Google::Apis::AuthorizationError] Authorization is required
853
835
  def list_people_by_activity(activity_id, collection, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
854
- path = 'activities/{activityId}/people/{collection}'
855
- command = make_simple_command(:get, path, options)
836
+ command = make_simple_command(:get, 'activities/{activityId}/people/{collection}', options)
856
837
  command.response_representation = Google::Apis::PlusDomainsV1::PeopleFeed::Representation
857
838
  command.response_class = Google::Apis::PlusDomainsV1::PeopleFeed
858
839
  command.params['activityId'] = activity_id unless activity_id.nil?
@@ -898,8 +879,7 @@ module Google
898
879
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
899
880
  # @raise [Google::Apis::AuthorizationError] Authorization is required
900
881
  def list_people_by_circle(circle_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
901
- path = 'circles/{circleId}/people'
902
- command = make_simple_command(:get, path, options)
882
+ command = make_simple_command(:get, 'circles/{circleId}/people', options)
903
883
  command.response_representation = Google::Apis::PlusDomainsV1::PeopleFeed::Representation
904
884
  command.response_class = Google::Apis::PlusDomainsV1::PeopleFeed
905
885
  command.params['circleId'] = circle_id unless circle_id.nil?
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/+/api/
26
26
  module PlusV1
27
27
  VERSION = 'V1'
28
- REVISION = '20150729'
28
+ REVISION = '20151214'
29
29
 
30
30
  # Know your basic profile info and list of people in your circles.
31
31
  AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
@@ -198,6 +198,11 @@ module Google
198
198
  class Actor
199
199
  include Google::Apis::Core::Hashable
200
200
 
201
+ # Actor info specific to particular clients.
202
+ # Corresponds to the JSON property `clientSpecificActorInfo`
203
+ # @return [Google::Apis::PlusV1::Activity::Actor::ClientSpecificActorInfo]
204
+ attr_accessor :client_specific_actor_info
205
+
201
206
  # The name of the actor, suitable for display.
202
207
  # Corresponds to the JSON property `displayName`
203
208
  # @return [String]
@@ -223,17 +228,62 @@ module Google
223
228
  # @return [String]
224
229
  attr_accessor :url
225
230
 
231
+ # Verification status of actor.
232
+ # Corresponds to the JSON property `verification`
233
+ # @return [Google::Apis::PlusV1::Activity::Actor::Verification]
234
+ attr_accessor :verification
235
+
226
236
  def initialize(**args)
227
237
  update!(**args)
228
238
  end
229
239
 
230
240
  # Update properties of this object
231
241
  def update!(**args)
242
+ @client_specific_actor_info = args[:client_specific_actor_info] unless args[:client_specific_actor_info].nil?
232
243
  @display_name = args[:display_name] unless args[:display_name].nil?
233
244
  @id = args[:id] unless args[:id].nil?
234
245
  @image = args[:image] unless args[:image].nil?
235
246
  @name = args[:name] unless args[:name].nil?
236
247
  @url = args[:url] unless args[:url].nil?
248
+ @verification = args[:verification] unless args[:verification].nil?
249
+ end
250
+
251
+ # Actor info specific to particular clients.
252
+ class ClientSpecificActorInfo
253
+ include Google::Apis::Core::Hashable
254
+
255
+ # Actor info specific to YouTube clients.
256
+ # Corresponds to the JSON property `youtubeActorInfo`
257
+ # @return [Google::Apis::PlusV1::Activity::Actor::ClientSpecificActorInfo::YoutubeActorInfo]
258
+ attr_accessor :youtube_actor_info
259
+
260
+ def initialize(**args)
261
+ update!(**args)
262
+ end
263
+
264
+ # Update properties of this object
265
+ def update!(**args)
266
+ @youtube_actor_info = args[:youtube_actor_info] unless args[:youtube_actor_info].nil?
267
+ end
268
+
269
+ # Actor info specific to YouTube clients.
270
+ class YoutubeActorInfo
271
+ include Google::Apis::Core::Hashable
272
+
273
+ # ID of the YouTube channel owned by the Actor.
274
+ # Corresponds to the JSON property `channelId`
275
+ # @return [String]
276
+ attr_accessor :channel_id
277
+
278
+ def initialize(**args)
279
+ update!(**args)
280
+ end
281
+
282
+ # Update properties of this object
283
+ def update!(**args)
284
+ @channel_id = args[:channel_id] unless args[:channel_id].nil?
285
+ end
286
+ end
237
287
  end
238
288
 
239
289
  # The image representation of the actor.
@@ -281,6 +331,25 @@ module Google
281
331
  @given_name = args[:given_name] unless args[:given_name].nil?
282
332
  end
283
333
  end
334
+
335
+ # Verification status of actor.
336
+ class Verification
337
+ include Google::Apis::Core::Hashable
338
+
339
+ # Verification for one-time or manual processes.
340
+ # Corresponds to the JSON property `adHocVerified`
341
+ # @return [String]
342
+ attr_accessor :ad_hoc_verified
343
+
344
+ def initialize(**args)
345
+ update!(**args)
346
+ end
347
+
348
+ # Update properties of this object
349
+ def update!(**args)
350
+ @ad_hoc_verified = args[:ad_hoc_verified] unless args[:ad_hoc_verified].nil?
351
+ end
352
+ end
284
353
  end
285
354
 
286
355
  # The object of this activity.
@@ -367,6 +436,11 @@ module Google
367
436
  class Actor
368
437
  include Google::Apis::Core::Hashable
369
438
 
439
+ # Actor info specific to particular clients.
440
+ # Corresponds to the JSON property `clientSpecificActorInfo`
441
+ # @return [Google::Apis::PlusV1::Activity::Object::Actor::ClientSpecificActorInfo]
442
+ attr_accessor :client_specific_actor_info
443
+
370
444
  # The original actor's name, which is suitable for display.
371
445
  # Corresponds to the JSON property `displayName`
372
446
  # @return [String]
@@ -387,16 +461,61 @@ module Google
387
461
  # @return [String]
388
462
  attr_accessor :url
389
463
 
464
+ # Verification status of actor.
465
+ # Corresponds to the JSON property `verification`
466
+ # @return [Google::Apis::PlusV1::Activity::Object::Actor::Verification]
467
+ attr_accessor :verification
468
+
390
469
  def initialize(**args)
391
470
  update!(**args)
392
471
  end
393
472
 
394
473
  # Update properties of this object
395
474
  def update!(**args)
475
+ @client_specific_actor_info = args[:client_specific_actor_info] unless args[:client_specific_actor_info].nil?
396
476
  @display_name = args[:display_name] unless args[:display_name].nil?
397
477
  @id = args[:id] unless args[:id].nil?
398
478
  @image = args[:image] unless args[:image].nil?
399
479
  @url = args[:url] unless args[:url].nil?
480
+ @verification = args[:verification] unless args[:verification].nil?
481
+ end
482
+
483
+ # Actor info specific to particular clients.
484
+ class ClientSpecificActorInfo
485
+ include Google::Apis::Core::Hashable
486
+
487
+ # Actor info specific to YouTube clients.
488
+ # Corresponds to the JSON property `youtubeActorInfo`
489
+ # @return [Google::Apis::PlusV1::Activity::Object::Actor::ClientSpecificActorInfo::YoutubeActorInfo]
490
+ attr_accessor :youtube_actor_info
491
+
492
+ def initialize(**args)
493
+ update!(**args)
494
+ end
495
+
496
+ # Update properties of this object
497
+ def update!(**args)
498
+ @youtube_actor_info = args[:youtube_actor_info] unless args[:youtube_actor_info].nil?
499
+ end
500
+
501
+ # Actor info specific to YouTube clients.
502
+ class YoutubeActorInfo
503
+ include Google::Apis::Core::Hashable
504
+
505
+ # ID of the YouTube channel owned by the Actor.
506
+ # Corresponds to the JSON property `channelId`
507
+ # @return [String]
508
+ attr_accessor :channel_id
509
+
510
+ def initialize(**args)
511
+ update!(**args)
512
+ end
513
+
514
+ # Update properties of this object
515
+ def update!(**args)
516
+ @channel_id = args[:channel_id] unless args[:channel_id].nil?
517
+ end
518
+ end
400
519
  end
401
520
 
402
521
  # The image representation of the original actor.
@@ -417,6 +536,25 @@ module Google
417
536
  @url = args[:url] unless args[:url].nil?
418
537
  end
419
538
  end
539
+
540
+ # Verification status of actor.
541
+ class Verification
542
+ include Google::Apis::Core::Hashable
543
+
544
+ # Verification for one-time or manual processes.
545
+ # Corresponds to the JSON property `adHocVerified`
546
+ # @return [String]
547
+ attr_accessor :ad_hoc_verified
548
+
549
+ def initialize(**args)
550
+ update!(**args)
551
+ end
552
+
553
+ # Update properties of this object
554
+ def update!(**args)
555
+ @ad_hoc_verified = args[:ad_hoc_verified] unless args[:ad_hoc_verified].nil?
556
+ end
557
+ end
420
558
  end
421
559
 
422
560
  #
@@ -913,6 +1051,11 @@ module Google
913
1051
  class Actor
914
1052
  include Google::Apis::Core::Hashable
915
1053
 
1054
+ # Actor info specific to particular clients.
1055
+ # Corresponds to the JSON property `clientSpecificActorInfo`
1056
+ # @return [Google::Apis::PlusV1::Comment::Actor::ClientSpecificActorInfo]
1057
+ attr_accessor :client_specific_actor_info
1058
+
916
1059
  # The name of this actor, suitable for display.
917
1060
  # Corresponds to the JSON property `displayName`
918
1061
  # @return [String]
@@ -933,16 +1076,61 @@ module Google
933
1076
  # @return [String]
934
1077
  attr_accessor :url
935
1078
 
1079
+ # Verification status of actor.
1080
+ # Corresponds to the JSON property `verification`
1081
+ # @return [Google::Apis::PlusV1::Comment::Actor::Verification]
1082
+ attr_accessor :verification
1083
+
936
1084
  def initialize(**args)
937
1085
  update!(**args)
938
1086
  end
939
1087
 
940
1088
  # Update properties of this object
941
1089
  def update!(**args)
1090
+ @client_specific_actor_info = args[:client_specific_actor_info] unless args[:client_specific_actor_info].nil?
942
1091
  @display_name = args[:display_name] unless args[:display_name].nil?
943
1092
  @id = args[:id] unless args[:id].nil?
944
1093
  @image = args[:image] unless args[:image].nil?
945
1094
  @url = args[:url] unless args[:url].nil?
1095
+ @verification = args[:verification] unless args[:verification].nil?
1096
+ end
1097
+
1098
+ # Actor info specific to particular clients.
1099
+ class ClientSpecificActorInfo
1100
+ include Google::Apis::Core::Hashable
1101
+
1102
+ # Actor info specific to YouTube clients.
1103
+ # Corresponds to the JSON property `youtubeActorInfo`
1104
+ # @return [Google::Apis::PlusV1::Comment::Actor::ClientSpecificActorInfo::YoutubeActorInfo]
1105
+ attr_accessor :youtube_actor_info
1106
+
1107
+ def initialize(**args)
1108
+ update!(**args)
1109
+ end
1110
+
1111
+ # Update properties of this object
1112
+ def update!(**args)
1113
+ @youtube_actor_info = args[:youtube_actor_info] unless args[:youtube_actor_info].nil?
1114
+ end
1115
+
1116
+ # Actor info specific to YouTube clients.
1117
+ class YoutubeActorInfo
1118
+ include Google::Apis::Core::Hashable
1119
+
1120
+ # ID of the YouTube channel owned by the Actor.
1121
+ # Corresponds to the JSON property `channelId`
1122
+ # @return [String]
1123
+ attr_accessor :channel_id
1124
+
1125
+ def initialize(**args)
1126
+ update!(**args)
1127
+ end
1128
+
1129
+ # Update properties of this object
1130
+ def update!(**args)
1131
+ @channel_id = args[:channel_id] unless args[:channel_id].nil?
1132
+ end
1133
+ end
946
1134
  end
947
1135
 
948
1136
  # The image representation of this actor.
@@ -965,6 +1153,25 @@ module Google
965
1153
  @url = args[:url] unless args[:url].nil?
966
1154
  end
967
1155
  end
1156
+
1157
+ # Verification status of actor.
1158
+ class Verification
1159
+ include Google::Apis::Core::Hashable
1160
+
1161
+ # Verification for one-time or manual processes.
1162
+ # Corresponds to the JSON property `adHocVerified`
1163
+ # @return [String]
1164
+ attr_accessor :ad_hoc_verified
1165
+
1166
+ def initialize(**args)
1167
+ update!(**args)
1168
+ end
1169
+
1170
+ # Update properties of this object
1171
+ def update!(**args)
1172
+ @ad_hoc_verified = args[:ad_hoc_verified] unless args[:ad_hoc_verified].nil?
1173
+ end
1174
+ end
968
1175
  end
969
1176
 
970
1177
  #