google-api-client 0.43.0 → 0.45.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (863) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +462 -0
  3. data/api_names.yaml +1 -0
  4. data/docs/oauth-server.md +4 -6
  5. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
  7. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  8. data/generated/google/apis/accessapproval_v1.rb +1 -1
  9. data/generated/google/apis/accessapproval_v1/classes.rb +53 -86
  10. data/generated/google/apis/accessapproval_v1/service.rb +93 -132
  11. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  12. data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
  13. data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
  14. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  15. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
  16. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
  17. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +17 -6
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  20. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  21. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
  22. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
  23. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  24. data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
  25. data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
  26. data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
  27. data/generated/google/apis/admin_directory_v1.rb +6 -8
  28. data/generated/google/apis/admin_directory_v1/classes.rb +209 -242
  29. data/generated/google/apis/admin_directory_v1/representations.rb +0 -39
  30. data/generated/google/apis/admin_directory_v1/service.rb +535 -998
  31. data/generated/google/apis/admin_reports_v1.rb +6 -5
  32. data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
  33. data/generated/google/apis/admin_reports_v1/service.rb +131 -187
  34. data/generated/google/apis/admob_v1.rb +4 -1
  35. data/generated/google/apis/admob_v1/classes.rb +2 -2
  36. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  37. data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
  38. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
  39. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
  40. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2135 -0
  41. data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
  42. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1610 -0
  43. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +789 -0
  44. data/generated/google/apis/analyticsdata_v1alpha/service.rb +220 -0
  45. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  46. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  47. data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
  48. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  49. data/generated/google/apis/androidmanagement_v1/classes.rb +98 -61
  50. data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
  51. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  52. data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
  53. data/generated/google/apis/apigateway_v1alpha1.rb +34 -0
  54. data/generated/google/apis/apigateway_v1alpha1/classes.rb +633 -0
  55. data/generated/google/apis/apigateway_v1alpha1/representations.rb +250 -0
  56. data/generated/google/apis/apigateway_v1alpha1/service.rb +623 -0
  57. data/generated/google/apis/apigateway_v1alpha2.rb +34 -0
  58. data/generated/google/apis/apigateway_v1alpha2/classes.rb +633 -0
  59. data/generated/google/apis/apigateway_v1alpha2/representations.rb +250 -0
  60. data/generated/google/apis/apigateway_v1alpha2/service.rb +623 -0
  61. data/generated/google/apis/apigateway_v1beta.rb +34 -0
  62. data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
  63. data/generated/google/apis/{memcache_v1 → apigateway_v1beta}/representations.rb +156 -157
  64. data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
  65. data/generated/google/apis/apigee_v1.rb +6 -7
  66. data/generated/google/apis/apigee_v1/classes.rb +432 -82
  67. data/generated/google/apis/apigee_v1/representations.rb +139 -1
  68. data/generated/google/apis/apigee_v1/service.rb +158 -41
  69. data/generated/google/apis/appengine_v1.rb +1 -1
  70. data/generated/google/apis/appengine_v1/classes.rb +96 -59
  71. data/generated/google/apis/appengine_v1/representations.rb +17 -0
  72. data/generated/google/apis/appengine_v1/service.rb +38 -47
  73. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  74. data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
  75. data/generated/google/apis/appengine_v1beta.rb +1 -1
  76. data/generated/google/apis/appengine_v1beta/classes.rb +103 -59
  77. data/generated/google/apis/appengine_v1beta/representations.rb +18 -0
  78. data/generated/google/apis/appengine_v1beta/service.rb +37 -47
  79. data/generated/google/apis/appsmarket_v2.rb +1 -1
  80. data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
  81. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  82. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +242 -337
  83. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
  84. data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
  85. data/generated/google/apis/{accessapproval_v1beta1.rb → assuredworkloads_v1beta1.rb} +8 -8
  86. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +458 -0
  87. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +230 -0
  88. data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
  89. data/generated/google/apis/bigquery_v2.rb +1 -1
  90. data/generated/google/apis/bigquery_v2/classes.rb +403 -553
  91. data/generated/google/apis/bigquery_v2/representations.rb +17 -0
  92. data/generated/google/apis/bigquery_v2/service.rb +32 -40
  93. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  94. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
  95. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
  96. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  97. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
  98. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
  99. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  100. data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
  101. data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
  102. data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
  103. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  104. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
  105. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
  106. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  107. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
  108. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
  109. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
  110. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  111. data/generated/google/apis/bigtableadmin_v1/classes.rb +137 -119
  112. data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
  113. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  114. data/generated/google/apis/bigtableadmin_v2/classes.rb +455 -607
  115. data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
  116. data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
  117. data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
  118. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +15 -5
  119. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  120. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  121. data/generated/google/apis/binaryauthorization_v1/classes.rb +433 -354
  122. data/generated/google/apis/binaryauthorization_v1/representations.rb +75 -0
  123. data/generated/google/apis/binaryauthorization_v1/service.rb +109 -89
  124. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  125. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +433 -354
  126. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +75 -0
  127. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +109 -89
  128. data/generated/google/apis/calendar_v3.rb +1 -1
  129. data/generated/google/apis/calendar_v3/classes.rb +13 -10
  130. data/generated/google/apis/chat_v1.rb +1 -1
  131. data/generated/google/apis/chat_v1/classes.rb +165 -116
  132. data/generated/google/apis/chat_v1/representations.rb +35 -0
  133. data/generated/google/apis/chat_v1/service.rb +30 -42
  134. data/generated/google/apis/civicinfo_v2.rb +1 -1
  135. data/generated/google/apis/civicinfo_v2/classes.rb +18 -8
  136. data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
  137. data/generated/google/apis/classroom_v1.rb +7 -1
  138. data/generated/google/apis/classroom_v1/classes.rb +132 -0
  139. data/generated/google/apis/classroom_v1/representations.rb +43 -0
  140. data/generated/google/apis/classroom_v1/service.rb +240 -0
  141. data/generated/google/apis/cloudasset_v1.rb +1 -1
  142. data/generated/google/apis/cloudasset_v1/classes.rb +764 -1039
  143. data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
  144. data/generated/google/apis/cloudasset_v1/service.rb +125 -167
  145. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  146. data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
  147. data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
  148. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  149. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
  150. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
  151. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  152. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +222 -276
  153. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
  154. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  155. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
  156. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
  157. data/generated/google/apis/cloudbilling_v1.rb +7 -1
  158. data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
  159. data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
  160. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  161. data/generated/google/apis/cloudbuild_v1/classes.rb +337 -343
  162. data/generated/google/apis/cloudbuild_v1/representations.rb +8 -0
  163. data/generated/google/apis/cloudbuild_v1/service.rb +268 -66
  164. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  165. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +291 -329
  166. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
  167. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
  168. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  169. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +277 -313
  170. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +2 -0
  171. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
  172. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  173. data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
  174. data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
  175. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  176. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +127 -156
  177. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
  178. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  179. data/generated/google/apis/cloudfunctions_v1/classes.rb +335 -494
  180. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  181. data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
  182. data/generated/google/apis/cloudidentity_v1.rb +4 -1
  183. data/generated/google/apis/cloudidentity_v1/classes.rb +943 -75
  184. data/generated/google/apis/cloudidentity_v1/representations.rb +371 -0
  185. data/generated/google/apis/cloudidentity_v1/service.rb +841 -62
  186. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  187. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1233 -307
  188. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +424 -21
  189. data/generated/google/apis/cloudidentity_v1beta1/service.rb +906 -96
  190. data/generated/google/apis/cloudiot_v1.rb +1 -1
  191. data/generated/google/apis/cloudiot_v1/classes.rb +270 -373
  192. data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
  193. data/generated/google/apis/cloudiot_v1/service.rb +147 -154
  194. data/generated/google/apis/cloudkms_v1.rb +1 -1
  195. data/generated/google/apis/cloudkms_v1/classes.rb +509 -692
  196. data/generated/google/apis/cloudkms_v1/representations.rb +18 -0
  197. data/generated/google/apis/cloudkms_v1/service.rb +170 -216
  198. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  199. data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
  200. data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
  201. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  202. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
  203. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
  204. data/generated/google/apis/cloudresourcemanager_v1/service.rb +62 -60
  205. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  206. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
  207. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
  208. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +26 -25
  209. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  210. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
  211. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
  212. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  213. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
  214. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
  215. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  216. data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
  217. data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
  218. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  219. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
  220. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
  221. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  222. data/generated/google/apis/cloudsearch_v1/classes.rb +650 -781
  223. data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
  224. data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
  225. data/generated/google/apis/cloudshell_v1.rb +1 -1
  226. data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
  227. data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
  228. data/generated/google/apis/cloudshell_v1/service.rb +21 -25
  229. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  230. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
  231. data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
  232. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  233. data/generated/google/apis/cloudtasks_v2/classes.rb +612 -933
  234. data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
  235. data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
  236. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  237. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +608 -964
  238. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
  239. data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
  240. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  241. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +616 -938
  242. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  243. data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
  244. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  245. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
  246. data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
  247. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  248. data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
  249. data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
  250. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  251. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
  252. data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
  253. data/generated/google/apis/composer_v1.rb +1 -1
  254. data/generated/google/apis/composer_v1/classes.rb +190 -242
  255. data/generated/google/apis/composer_v1/service.rb +79 -150
  256. data/generated/google/apis/composer_v1beta1.rb +1 -1
  257. data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
  258. data/generated/google/apis/composer_v1beta1/service.rb +92 -179
  259. data/generated/google/apis/compute_alpha.rb +1 -1
  260. data/generated/google/apis/compute_alpha/classes.rb +681 -127
  261. data/generated/google/apis/compute_alpha/representations.rb +110 -6
  262. data/generated/google/apis/compute_alpha/service.rb +695 -692
  263. data/generated/google/apis/compute_beta.rb +1 -1
  264. data/generated/google/apis/compute_beta/classes.rb +570 -70
  265. data/generated/google/apis/compute_beta/representations.rb +112 -1
  266. data/generated/google/apis/compute_beta/service.rb +608 -605
  267. data/generated/google/apis/compute_v1.rb +1 -1
  268. data/generated/google/apis/compute_v1/classes.rb +977 -85
  269. data/generated/google/apis/compute_v1/representations.rb +372 -0
  270. data/generated/google/apis/compute_v1/service.rb +747 -15
  271. data/generated/google/apis/container_v1.rb +1 -1
  272. data/generated/google/apis/container_v1/classes.rb +970 -965
  273. data/generated/google/apis/container_v1/representations.rb +60 -0
  274. data/generated/google/apis/container_v1/service.rb +435 -502
  275. data/generated/google/apis/container_v1beta1.rb +1 -1
  276. data/generated/google/apis/container_v1beta1/classes.rb +1094 -1044
  277. data/generated/google/apis/container_v1beta1/representations.rb +91 -0
  278. data/generated/google/apis/container_v1beta1/service.rb +403 -466
  279. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  280. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +463 -596
  281. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  282. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
  283. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  284. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +461 -613
  285. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
  286. data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
  287. data/generated/google/apis/content_v2.rb +1 -1
  288. data/generated/google/apis/content_v2/classes.rb +5 -2
  289. data/generated/google/apis/content_v2_1.rb +1 -1
  290. data/generated/google/apis/content_v2_1/classes.rb +107 -5
  291. data/generated/google/apis/content_v2_1/representations.rb +35 -0
  292. data/generated/google/apis/content_v2_1/service.rb +54 -3
  293. data/generated/google/apis/customsearch_v1.rb +1 -1
  294. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  295. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  296. data/generated/google/apis/datacatalog_v1beta1/classes.rb +389 -573
  297. data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
  298. data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
  299. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  300. data/generated/google/apis/dataflow_v1b3/classes.rb +1162 -973
  301. data/generated/google/apis/dataflow_v1b3/representations.rb +145 -0
  302. data/generated/google/apis/dataflow_v1b3/service.rb +308 -257
  303. data/generated/google/apis/datafusion_v1.rb +5 -8
  304. data/generated/google/apis/datafusion_v1/classes.rb +283 -397
  305. data/generated/google/apis/datafusion_v1/representations.rb +5 -0
  306. data/generated/google/apis/datafusion_v1/service.rb +76 -89
  307. data/generated/google/apis/datafusion_v1beta1.rb +5 -8
  308. data/generated/google/apis/datafusion_v1beta1/classes.rb +283 -397
  309. data/generated/google/apis/datafusion_v1beta1/representations.rb +5 -0
  310. data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
  311. data/generated/google/apis/dataproc_v1.rb +1 -1
  312. data/generated/google/apis/dataproc_v1/classes.rb +60 -14
  313. data/generated/google/apis/dataproc_v1/representations.rb +18 -0
  314. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  315. data/generated/google/apis/dataproc_v1beta2/classes.rb +80 -10
  316. data/generated/google/apis/dataproc_v1beta2/representations.rb +33 -0
  317. data/generated/google/apis/datastore_v1.rb +1 -1
  318. data/generated/google/apis/datastore_v1/classes.rb +330 -472
  319. data/generated/google/apis/datastore_v1/service.rb +52 -63
  320. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  321. data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
  322. data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
  323. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  324. data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
  325. data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
  326. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  327. data/generated/google/apis/dfareporting_v3_3/classes.rb +162 -339
  328. data/generated/google/apis/dfareporting_v3_3/service.rb +646 -1262
  329. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  330. data/generated/google/apis/dfareporting_v3_4/classes.rb +184 -350
  331. data/generated/google/apis/dfareporting_v3_4/representations.rb +1 -0
  332. data/generated/google/apis/dfareporting_v3_4/service.rb +681 -1261
  333. data/generated/google/apis/dialogflow_v2.rb +1 -1
  334. data/generated/google/apis/dialogflow_v2/classes.rb +199 -70
  335. data/generated/google/apis/dialogflow_v2/representations.rb +104 -15
  336. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  337. data/generated/google/apis/dialogflow_v2beta1/classes.rb +210 -78
  338. data/generated/google/apis/dialogflow_v2beta1/representations.rb +104 -15
  339. data/generated/google/apis/dialogflow_v2beta1/service.rb +500 -325
  340. data/generated/google/apis/{securitycenter_v1p1alpha1.rb → dialogflow_v3beta1.rb} +13 -10
  341. data/generated/google/apis/dialogflow_v3beta1/classes.rb +8352 -0
  342. data/generated/google/apis/dialogflow_v3beta1/representations.rb +3544 -0
  343. data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
  344. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  345. data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
  346. data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
  347. data/generated/google/apis/displayvideo_v1.rb +1 -1
  348. data/generated/google/apis/displayvideo_v1/classes.rb +63 -8
  349. data/generated/google/apis/displayvideo_v1/representations.rb +6 -0
  350. data/generated/google/apis/displayvideo_v1/service.rb +47 -35
  351. data/generated/google/apis/displayvideo_v1beta.rb +38 -0
  352. data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
  353. data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
  354. data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
  355. data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
  356. data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
  357. data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
  358. data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
  359. data/generated/google/apis/displayvideo_v1dev.rb +38 -0
  360. data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
  361. data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
  362. data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
  363. data/generated/google/apis/dlp_v2.rb +1 -1
  364. data/generated/google/apis/dlp_v2/classes.rb +1102 -1302
  365. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  366. data/generated/google/apis/dlp_v2/service.rb +962 -905
  367. data/generated/google/apis/dns_v1.rb +1 -1
  368. data/generated/google/apis/dns_v1/classes.rb +175 -198
  369. data/generated/google/apis/dns_v1/service.rb +82 -97
  370. data/generated/google/apis/dns_v1beta2.rb +1 -1
  371. data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
  372. data/generated/google/apis/dns_v1beta2/service.rb +82 -97
  373. data/generated/google/apis/docs_v1.rb +1 -1
  374. data/generated/google/apis/docs_v1/classes.rb +894 -1229
  375. data/generated/google/apis/docs_v1/service.rb +17 -22
  376. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  377. data/generated/google/apis/documentai_v1beta2/classes.rb +2253 -824
  378. data/generated/google/apis/documentai_v1beta2/representations.rb +701 -0
  379. data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
  380. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
  381. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +7 -14
  382. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
  383. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
  384. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +12 -20
  385. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
  386. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  387. data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
  388. data/generated/google/apis/drive_v2.rb +1 -1
  389. data/generated/google/apis/drive_v2/classes.rb +14 -6
  390. data/generated/google/apis/drive_v2/representations.rb +1 -0
  391. data/generated/google/apis/drive_v2/service.rb +79 -15
  392. data/generated/google/apis/drive_v3.rb +1 -1
  393. data/generated/google/apis/drive_v3/classes.rb +14 -6
  394. data/generated/google/apis/drive_v3/representations.rb +1 -0
  395. data/generated/google/apis/drive_v3/service.rb +59 -11
  396. data/generated/google/apis/file_v1.rb +1 -1
  397. data/generated/google/apis/file_v1/classes.rb +154 -173
  398. data/generated/google/apis/file_v1/service.rb +43 -52
  399. data/generated/google/apis/file_v1beta1.rb +1 -1
  400. data/generated/google/apis/file_v1beta1/classes.rb +334 -193
  401. data/generated/google/apis/file_v1beta1/representations.rb +55 -0
  402. data/generated/google/apis/file_v1beta1/service.rb +267 -55
  403. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  404. data/generated/google/apis/firebase_v1beta1/classes.rb +33 -51
  405. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
  406. data/generated/google/apis/firebase_v1beta1/service.rb +8 -1
  407. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  408. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  409. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +186 -0
  410. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +83 -0
  411. data/generated/google/apis/firebasehosting_v1beta1/service.rb +418 -4
  412. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  413. data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -8
  414. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -1
  415. data/generated/google/apis/firebaserules_v1.rb +1 -1
  416. data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
  417. data/generated/google/apis/firebaserules_v1/service.rb +87 -110
  418. data/generated/google/apis/firestore_v1.rb +1 -1
  419. data/generated/google/apis/firestore_v1/classes.rb +402 -498
  420. data/generated/google/apis/firestore_v1/service.rb +165 -201
  421. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  422. data/generated/google/apis/firestore_v1beta1/classes.rb +334 -409
  423. data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
  424. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  425. data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
  426. data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
  427. data/generated/google/apis/fitness_v1.rb +85 -0
  428. data/generated/google/apis/fitness_v1/classes.rb +982 -0
  429. data/generated/google/apis/fitness_v1/representations.rb +398 -0
  430. data/generated/google/apis/fitness_v1/service.rb +626 -0
  431. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  432. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
  433. data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
  434. data/generated/google/apis/games_management_v1management.rb +2 -3
  435. data/generated/google/apis/games_management_v1management/classes.rb +14 -20
  436. data/generated/google/apis/games_management_v1management/service.rb +35 -36
  437. data/generated/google/apis/games_v1.rb +2 -3
  438. data/generated/google/apis/games_v1/classes.rb +76 -83
  439. data/generated/google/apis/games_v1/representations.rb +2 -0
  440. data/generated/google/apis/games_v1/service.rb +84 -90
  441. data/generated/google/apis/gameservices_v1.rb +1 -1
  442. data/generated/google/apis/gameservices_v1/classes.rb +7 -0
  443. data/generated/google/apis/gameservices_v1/representations.rb +1 -0
  444. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  445. data/generated/google/apis/gameservices_v1beta/classes.rb +7 -0
  446. data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
  447. data/generated/google/apis/genomics_v1.rb +1 -1
  448. data/generated/google/apis/genomics_v1/classes.rb +70 -76
  449. data/generated/google/apis/genomics_v1/service.rb +28 -43
  450. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  451. data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
  452. data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
  453. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  454. data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -275
  455. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
  456. data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
  457. data/generated/google/apis/gmail_v1.rb +1 -1
  458. data/generated/google/apis/gmail_v1/classes.rb +37 -43
  459. data/generated/google/apis/gmail_v1/service.rb +5 -4
  460. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
  461. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +1 -1
  462. data/generated/google/apis/groupsmigration_v1.rb +35 -0
  463. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  464. data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
  465. data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
  466. data/generated/google/apis/healthcare_v1.rb +1 -1
  467. data/generated/google/apis/healthcare_v1/classes.rb +637 -826
  468. data/generated/google/apis/healthcare_v1/representations.rb +32 -0
  469. data/generated/google/apis/healthcare_v1/service.rb +840 -854
  470. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  471. data/generated/google/apis/healthcare_v1beta1/classes.rb +1833 -1102
  472. data/generated/google/apis/healthcare_v1beta1/representations.rb +474 -0
  473. data/generated/google/apis/healthcare_v1beta1/service.rb +2476 -1281
  474. data/generated/google/apis/homegraph_v1.rb +4 -1
  475. data/generated/google/apis/homegraph_v1/classes.rb +76 -164
  476. data/generated/google/apis/homegraph_v1/service.rb +23 -35
  477. data/generated/google/apis/iam_v1.rb +5 -2
  478. data/generated/google/apis/iam_v1/classes.rb +395 -592
  479. data/generated/google/apis/iam_v1/representations.rb +1 -0
  480. data/generated/google/apis/iam_v1/service.rb +431 -556
  481. data/generated/google/apis/iamcredentials_v1.rb +4 -2
  482. data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
  483. data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
  484. data/generated/google/apis/iap_v1.rb +1 -1
  485. data/generated/google/apis/iap_v1/classes.rb +253 -355
  486. data/generated/google/apis/iap_v1/representations.rb +1 -0
  487. data/generated/google/apis/iap_v1/service.rb +61 -71
  488. data/generated/google/apis/iap_v1beta1.rb +1 -1
  489. data/generated/google/apis/iap_v1beta1/classes.rb +164 -254
  490. data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
  491. data/generated/google/apis/iap_v1beta1/service.rb +17 -19
  492. data/generated/google/apis/indexing_v3.rb +1 -1
  493. data/generated/google/apis/indexing_v3/classes.rb +11 -11
  494. data/generated/google/apis/jobs_v2.rb +1 -1
  495. data/generated/google/apis/jobs_v2/classes.rb +786 -1086
  496. data/generated/google/apis/jobs_v2/service.rb +85 -126
  497. data/generated/google/apis/jobs_v3.rb +1 -1
  498. data/generated/google/apis/jobs_v3/classes.rb +637 -856
  499. data/generated/google/apis/jobs_v3/service.rb +101 -139
  500. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  501. data/generated/google/apis/jobs_v3p1beta1/classes.rb +762 -1023
  502. data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
  503. data/generated/google/apis/kgsearch_v1.rb +1 -1
  504. data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
  505. data/generated/google/apis/kgsearch_v1/service.rb +11 -11
  506. data/generated/google/apis/licensing_v1.rb +4 -3
  507. data/generated/google/apis/licensing_v1/classes.rb +1 -1
  508. data/generated/google/apis/licensing_v1/service.rb +55 -85
  509. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  510. data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
  511. data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
  512. data/generated/google/apis/localservices_v1.rb +31 -0
  513. data/generated/google/apis/localservices_v1/classes.rb +419 -0
  514. data/generated/google/apis/localservices_v1/representations.rb +172 -0
  515. data/generated/google/apis/localservices_v1/service.rb +199 -0
  516. data/generated/google/apis/logging_v2.rb +1 -1
  517. data/generated/google/apis/logging_v2/classes.rb +230 -227
  518. data/generated/google/apis/logging_v2/representations.rb +47 -0
  519. data/generated/google/apis/logging_v2/service.rb +2056 -673
  520. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  521. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +8 -0
  522. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +1 -0
  523. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  524. data/generated/google/apis/managedidentities_v1beta1/classes.rb +8 -0
  525. data/generated/google/apis/managedidentities_v1beta1/representations.rb +1 -0
  526. data/generated/google/apis/manufacturers_v1.rb +1 -1
  527. data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
  528. data/generated/google/apis/manufacturers_v1/service.rb +44 -55
  529. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  530. data/generated/google/apis/memcache_v1beta2/classes.rb +170 -249
  531. data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
  532. data/generated/google/apis/memcache_v1beta2/service.rb +58 -71
  533. data/generated/google/apis/ml_v1.rb +1 -1
  534. data/generated/google/apis/ml_v1/classes.rb +956 -1144
  535. data/generated/google/apis/ml_v1/representations.rb +65 -0
  536. data/generated/google/apis/ml_v1/service.rb +194 -253
  537. data/generated/google/apis/monitoring_v1.rb +1 -1
  538. data/generated/google/apis/monitoring_v1/classes.rb +107 -26
  539. data/generated/google/apis/monitoring_v1/representations.rb +35 -0
  540. data/generated/google/apis/monitoring_v1/service.rb +10 -11
  541. data/generated/google/apis/monitoring_v3.rb +1 -1
  542. data/generated/google/apis/monitoring_v3/classes.rb +232 -328
  543. data/generated/google/apis/monitoring_v3/service.rb +121 -140
  544. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  545. data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
  546. data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
  547. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  548. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +456 -429
  549. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +63 -0
  550. data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
  551. data/generated/google/apis/osconfig_v1.rb +1 -1
  552. data/generated/google/apis/osconfig_v1/classes.rb +154 -902
  553. data/generated/google/apis/osconfig_v1/representations.rb +0 -337
  554. data/generated/google/apis/osconfig_v1/service.rb +22 -27
  555. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  556. data/generated/google/apis/osconfig_v1beta/classes.rb +327 -411
  557. data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
  558. data/generated/google/apis/oslogin_v1.rb +1 -1
  559. data/generated/google/apis/oslogin_v1/classes.rb +14 -12
  560. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  561. data/generated/google/apis/oslogin_v1/service.rb +12 -16
  562. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  563. data/generated/google/apis/oslogin_v1alpha/classes.rb +16 -14
  564. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  565. data/generated/google/apis/oslogin_v1alpha/service.rb +17 -17
  566. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  567. data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
  568. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  569. data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
  570. data/generated/google/apis/pagespeedonline_v5.rb +2 -2
  571. data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
  572. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
  573. data/generated/google/apis/people_v1.rb +1 -1
  574. data/generated/google/apis/people_v1/classes.rb +121 -12
  575. data/generated/google/apis/people_v1/representations.rb +41 -0
  576. data/generated/google/apis/people_v1/service.rb +47 -45
  577. data/generated/google/apis/playablelocations_v3.rb +1 -1
  578. data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
  579. data/generated/google/apis/playablelocations_v3/service.rb +10 -10
  580. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  581. data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
  582. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  583. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +26 -0
  584. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
  585. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +479 -0
  586. data/generated/google/apis/pubsub_v1.rb +1 -1
  587. data/generated/google/apis/pubsub_v1/classes.rb +399 -518
  588. data/generated/google/apis/pubsub_v1/representations.rb +2 -0
  589. data/generated/google/apis/pubsub_v1/service.rb +220 -246
  590. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  591. data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
  592. data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
  593. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  594. data/generated/google/apis/pubsub_v1beta2/classes.rb +251 -354
  595. data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
  596. data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
  597. data/generated/google/apis/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
  598. data/generated/google/apis/pubsublite_v1/classes.rb +461 -0
  599. data/generated/google/apis/pubsublite_v1/representations.rb +261 -0
  600. data/generated/google/apis/{memcache_v1 → pubsublite_v1}/service.rb +228 -228
  601. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  602. data/generated/google/apis/realtimebidding_v1/classes.rb +4 -4
  603. data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
  604. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  605. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +335 -456
  606. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +0 -16
  607. data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
  608. data/generated/google/apis/redis_v1.rb +1 -1
  609. data/generated/google/apis/redis_v1/classes.rb +91 -513
  610. data/generated/google/apis/redis_v1/representations.rb +0 -139
  611. data/generated/google/apis/redis_v1/service.rb +93 -110
  612. data/generated/google/apis/redis_v1beta1.rb +1 -1
  613. data/generated/google/apis/redis_v1beta1/classes.rb +95 -517
  614. data/generated/google/apis/redis_v1beta1/representations.rb +0 -139
  615. data/generated/google/apis/redis_v1beta1/service.rb +93 -110
  616. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  617. data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
  618. data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
  619. data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
  620. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  621. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
  622. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
  623. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
  624. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  625. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
  626. data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
  627. data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
  628. data/generated/google/apis/reseller_v1.rb +2 -2
  629. data/generated/google/apis/reseller_v1/classes.rb +151 -219
  630. data/generated/google/apis/reseller_v1/service.rb +122 -173
  631. data/generated/google/apis/run_v1.rb +1 -1
  632. data/generated/google/apis/run_v1/classes.rb +12 -135
  633. data/generated/google/apis/run_v1/representations.rb +1 -62
  634. data/generated/google/apis/run_v1/service.rb +0 -342
  635. data/generated/google/apis/run_v1alpha1.rb +1 -1
  636. data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
  637. data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
  638. data/generated/google/apis/run_v1beta1.rb +1 -1
  639. data/generated/google/apis/run_v1beta1/classes.rb +3 -2
  640. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  641. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +302 -412
  642. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
  643. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
  644. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  645. data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
  646. data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
  647. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  648. data/generated/google/apis/sasportal_v1alpha1/classes.rb +26 -0
  649. data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
  650. data/generated/google/apis/sasportal_v1alpha1/service.rb +479 -0
  651. data/generated/google/apis/script_v1.rb +1 -1
  652. data/generated/google/apis/script_v1/classes.rb +88 -111
  653. data/generated/google/apis/script_v1/service.rb +63 -69
  654. data/generated/google/apis/searchconsole_v1.rb +7 -1
  655. data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
  656. data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
  657. data/generated/google/apis/searchconsole_v1/service.rb +287 -0
  658. data/generated/google/apis/secretmanager_v1.rb +1 -1
  659. data/generated/google/apis/secretmanager_v1/classes.rb +379 -365
  660. data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
  661. data/generated/google/apis/secretmanager_v1/service.rb +66 -82
  662. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  663. data/generated/google/apis/secretmanager_v1beta1/classes.rb +218 -363
  664. data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
  665. data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
  666. data/generated/google/apis/securitycenter_v1.rb +1 -1
  667. data/generated/google/apis/securitycenter_v1/classes.rb +20 -204
  668. data/generated/google/apis/securitycenter_v1/representations.rb +1 -72
  669. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  670. data/generated/google/apis/securitycenter_v1beta1/classes.rb +22 -204
  671. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -72
  672. data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
  673. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +275 -291
  674. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +83 -84
  675. data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
  676. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  677. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +30 -60
  678. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +31 -29
  679. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  680. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +19 -49
  681. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  682. data/generated/google/apis/servicecontrol_v1/classes.rb +525 -641
  683. data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
  684. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  685. data/generated/google/apis/servicecontrol_v2/classes.rb +281 -325
  686. data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
  687. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  688. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +221 -333
  689. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
  690. data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
  691. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  692. data/generated/google/apis/servicemanagement_v1/classes.rb +1263 -2135
  693. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -13
  694. data/generated/google/apis/servicemanagement_v1/service.rb +141 -228
  695. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  696. data/generated/google/apis/servicenetworking_v1/classes.rb +93 -57
  697. data/generated/google/apis/servicenetworking_v1/representations.rb +52 -1
  698. data/generated/google/apis/servicenetworking_v1/service.rb +116 -0
  699. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  700. data/generated/google/apis/servicenetworking_v1beta/classes.rb +74 -48
  701. data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
  702. data/generated/google/apis/serviceusage_v1.rb +1 -1
  703. data/generated/google/apis/serviceusage_v1/classes.rb +52 -48
  704. data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
  705. data/generated/google/apis/serviceusage_v1/service.rb +5 -1
  706. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  707. data/generated/google/apis/serviceusage_v1beta1/classes.rb +87 -49
  708. data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
  709. data/generated/google/apis/sheets_v4.rb +1 -1
  710. data/generated/google/apis/sheets_v4/classes.rb +3933 -5008
  711. data/generated/google/apis/sheets_v4/representations.rb +625 -0
  712. data/generated/google/apis/sheets_v4/service.rb +113 -149
  713. data/generated/google/apis/site_verification_v1.rb +1 -1
  714. data/generated/google/apis/slides_v1.rb +1 -1
  715. data/generated/google/apis/slides_v1/classes.rb +841 -1114
  716. data/generated/google/apis/slides_v1/service.rb +23 -30
  717. data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
  718. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +313 -0
  719. data/generated/google/apis/{accessapproval_v1beta1 → smartdevicemanagement_v1}/representations.rb +44 -73
  720. data/generated/google/apis/smartdevicemanagement_v1/service.rb +312 -0
  721. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  722. data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
  723. data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
  724. data/generated/google/apis/spanner_v1.rb +1 -1
  725. data/generated/google/apis/spanner_v1/classes.rb +1553 -2157
  726. data/generated/google/apis/spanner_v1/representations.rb +1 -0
  727. data/generated/google/apis/spanner_v1/service.rb +443 -618
  728. data/generated/google/apis/speech_v1.rb +1 -1
  729. data/generated/google/apis/speech_v1/classes.rb +174 -220
  730. data/generated/google/apis/speech_v1/service.rb +27 -32
  731. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  732. data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
  733. data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
  734. data/generated/google/apis/speech_v2beta1.rb +1 -1
  735. data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
  736. data/generated/google/apis/speech_v2beta1/service.rb +10 -12
  737. data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
  738. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +469 -452
  739. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +122 -87
  740. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +295 -300
  741. data/generated/google/apis/storage_v1.rb +1 -1
  742. data/generated/google/apis/storage_v1/classes.rb +8 -7
  743. data/generated/google/apis/storage_v1/representations.rb +2 -2
  744. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  745. data/generated/google/apis/storagetransfer_v1/classes.rb +261 -339
  746. data/generated/google/apis/storagetransfer_v1/service.rb +43 -64
  747. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  748. data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
  749. data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
  750. data/generated/google/apis/sts_v1.rb +32 -0
  751. data/generated/google/apis/sts_v1/classes.rb +120 -0
  752. data/generated/google/apis/sts_v1/representations.rb +59 -0
  753. data/generated/google/apis/sts_v1/service.rb +90 -0
  754. data/generated/google/apis/sts_v1beta.rb +32 -0
  755. data/generated/google/apis/sts_v1beta/classes.rb +194 -0
  756. data/generated/google/apis/{oauth2_v2 → sts_v1beta}/representations.rb +14 -21
  757. data/generated/google/apis/sts_v1beta/service.rb +92 -0
  758. data/generated/google/apis/tagmanager_v1.rb +1 -1
  759. data/generated/google/apis/tagmanager_v1/service.rb +2 -2
  760. data/generated/google/apis/tagmanager_v2.rb +1 -1
  761. data/generated/google/apis/tagmanager_v2/service.rb +2 -2
  762. data/generated/google/apis/tasks_v1.rb +1 -1
  763. data/generated/google/apis/tasks_v1/classes.rb +21 -22
  764. data/generated/google/apis/tasks_v1/service.rb +19 -19
  765. data/generated/google/apis/testing_v1.rb +1 -1
  766. data/generated/google/apis/testing_v1/classes.rb +317 -382
  767. data/generated/google/apis/testing_v1/representations.rb +2 -0
  768. data/generated/google/apis/testing_v1/service.rb +22 -28
  769. data/generated/google/apis/texttospeech_v1.rb +1 -1
  770. data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
  771. data/generated/google/apis/texttospeech_v1/service.rb +9 -10
  772. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  773. data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
  774. data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
  775. data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
  776. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  777. data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -0
  778. data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
  779. data/generated/google/apis/tpu_v1.rb +1 -1
  780. data/generated/google/apis/tpu_v1/classes.rb +54 -0
  781. data/generated/google/apis/tpu_v1/representations.rb +19 -0
  782. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  783. data/generated/google/apis/tpu_v1alpha1/classes.rb +54 -0
  784. data/generated/google/apis/tpu_v1alpha1/representations.rb +19 -0
  785. data/generated/google/apis/trafficdirector_v2.rb +34 -0
  786. data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
  787. data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
  788. data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
  789. data/generated/google/apis/translate_v3.rb +1 -1
  790. data/generated/google/apis/translate_v3/classes.rb +148 -175
  791. data/generated/google/apis/translate_v3/service.rb +122 -151
  792. data/generated/google/apis/translate_v3beta1.rb +1 -1
  793. data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
  794. data/generated/google/apis/translate_v3beta1/service.rb +122 -151
  795. data/generated/google/apis/vault_v1.rb +1 -1
  796. data/generated/google/apis/vault_v1/classes.rb +80 -103
  797. data/generated/google/apis/vault_v1/service.rb +31 -37
  798. data/generated/google/apis/vectortile_v1.rb +1 -1
  799. data/generated/google/apis/vectortile_v1/classes.rb +185 -267
  800. data/generated/google/apis/vectortile_v1/service.rb +75 -88
  801. data/generated/google/apis/verifiedaccess_v1.rb +1 -1
  802. data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
  803. data/generated/google/apis/videointelligence_v1.rb +1 -1
  804. data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
  805. data/generated/google/apis/videointelligence_v1/service.rb +71 -48
  806. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  807. data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
  808. data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
  809. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  810. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
  811. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
  812. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  813. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
  814. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
  815. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  816. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
  817. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
  818. data/generated/google/apis/vision_v1.rb +1 -1
  819. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  820. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  821. data/generated/google/apis/webfonts_v1.rb +2 -3
  822. data/generated/google/apis/webfonts_v1/classes.rb +1 -2
  823. data/generated/google/apis/webfonts_v1/service.rb +2 -4
  824. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  825. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  826. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  827. data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
  828. data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
  829. data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
  830. data/generated/google/apis/{securitycenter_v1p1alpha1 → workflowexecutions_v1beta}/service.rb +73 -69
  831. data/generated/google/apis/workflows_v1beta.rb +34 -0
  832. data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
  833. data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
  834. data/generated/google/apis/workflows_v1beta/service.rb +437 -0
  835. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  836. data/generated/google/apis/youtube_v3.rb +1 -1
  837. data/generated/google/apis/youtube_v3/classes.rb +0 -586
  838. data/generated/google/apis/youtube_v3/representations.rb +0 -269
  839. data/generated/google/apis/youtube_v3/service.rb +0 -117
  840. data/google-api-client.gemspec +2 -1
  841. data/lib/google/apis/version.rb +1 -1
  842. metadata +106 -40
  843. data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
  844. data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
  845. data/generated/google/apis/dns_v2beta1.rb +0 -43
  846. data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
  847. data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
  848. data/generated/google/apis/dns_v2beta1/service.rb +0 -928
  849. data/generated/google/apis/memcache_v1/classes.rb +0 -1157
  850. data/generated/google/apis/oauth2_v2.rb +0 -40
  851. data/generated/google/apis/oauth2_v2/classes.rb +0 -165
  852. data/generated/google/apis/oauth2_v2/service.rb +0 -158
  853. data/generated/google/apis/plus_v1.rb +0 -43
  854. data/generated/google/apis/plus_v1/classes.rb +0 -2094
  855. data/generated/google/apis/plus_v1/representations.rb +0 -907
  856. data/generated/google/apis/plus_v1/service.rb +0 -451
  857. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
  858. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
  859. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
  860. data/generated/google/apis/storage_v1beta2.rb +0 -40
  861. data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
  862. data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
  863. data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
@@ -1,40 +0,0 @@
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/oauth2_v2/service.rb'
16
- require 'google/apis/oauth2_v2/classes.rb'
17
- require 'google/apis/oauth2_v2/representations.rb'
18
-
19
- module Google
20
- module Apis
21
- # Google OAuth2 API
22
- #
23
- # Obtains end-user authorization grants for use with other Google APIs.
24
- #
25
- # @see https://developers.google.com/identity/protocols/oauth2/
26
- module Oauth2V2
27
- VERSION = 'V2'
28
- REVISION = '20200213'
29
-
30
- # View your email address
31
- AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
32
-
33
- # See your personal info, including any personal info you've made publicly available
34
- AUTH_USERINFO_PROFILE = 'https://www.googleapis.com/auth/userinfo.profile'
35
-
36
- # Associate you with your personal info on Google
37
- PENID = 'openid'
38
- end
39
- end
40
- end
@@ -1,165 +0,0 @@
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 Oauth2V2
24
-
25
- #
26
- class Tokeninfo
27
- include Google::Apis::Core::Hashable
28
-
29
- # Who is the intended audience for this token. In general the same as issued_to.
30
- # Corresponds to the JSON property `audience`
31
- # @return [String]
32
- attr_accessor :audience
33
-
34
- # The email address of the user. Present only if the email scope is present in
35
- # the request.
36
- # Corresponds to the JSON property `email`
37
- # @return [String]
38
- attr_accessor :email
39
-
40
- # The expiry time of the token, as number of seconds left until expiry.
41
- # Corresponds to the JSON property `expires_in`
42
- # @return [Fixnum]
43
- attr_accessor :expires_in
44
-
45
- # To whom was the token issued to. In general the same as audience.
46
- # Corresponds to the JSON property `issued_to`
47
- # @return [String]
48
- attr_accessor :issued_to
49
-
50
- # The space separated list of scopes granted to this token.
51
- # Corresponds to the JSON property `scope`
52
- # @return [String]
53
- attr_accessor :scope
54
-
55
- # The obfuscated user id.
56
- # Corresponds to the JSON property `user_id`
57
- # @return [String]
58
- attr_accessor :user_id
59
-
60
- # Boolean flag which is true if the email address is verified. Present only if
61
- # the email scope is present in the request.
62
- # Corresponds to the JSON property `verified_email`
63
- # @return [Boolean]
64
- attr_accessor :verified_email
65
- alias_method :verified_email?, :verified_email
66
-
67
- def initialize(**args)
68
- update!(**args)
69
- end
70
-
71
- # Update properties of this object
72
- def update!(**args)
73
- @audience = args[:audience] if args.key?(:audience)
74
- @email = args[:email] if args.key?(:email)
75
- @expires_in = args[:expires_in] if args.key?(:expires_in)
76
- @issued_to = args[:issued_to] if args.key?(:issued_to)
77
- @scope = args[:scope] if args.key?(:scope)
78
- @user_id = args[:user_id] if args.key?(:user_id)
79
- @verified_email = args[:verified_email] if args.key?(:verified_email)
80
- end
81
- end
82
-
83
- #
84
- class Userinfo
85
- include Google::Apis::Core::Hashable
86
-
87
- # The user's email address.
88
- # Corresponds to the JSON property `email`
89
- # @return [String]
90
- attr_accessor :email
91
-
92
- # The user's last name.
93
- # Corresponds to the JSON property `family_name`
94
- # @return [String]
95
- attr_accessor :family_name
96
-
97
- # The user's gender.
98
- # Corresponds to the JSON property `gender`
99
- # @return [String]
100
- attr_accessor :gender
101
-
102
- # The user's first name.
103
- # Corresponds to the JSON property `given_name`
104
- # @return [String]
105
- attr_accessor :given_name
106
-
107
- # The hosted domain e.g. example.com if the user is Google apps user.
108
- # Corresponds to the JSON property `hd`
109
- # @return [String]
110
- attr_accessor :hd
111
-
112
- # The obfuscated ID of the user.
113
- # Corresponds to the JSON property `id`
114
- # @return [String]
115
- attr_accessor :id
116
-
117
- # URL of the profile page.
118
- # Corresponds to the JSON property `link`
119
- # @return [String]
120
- attr_accessor :link
121
-
122
- # The user's preferred locale.
123
- # Corresponds to the JSON property `locale`
124
- # @return [String]
125
- attr_accessor :locale
126
-
127
- # The user's full name.
128
- # Corresponds to the JSON property `name`
129
- # @return [String]
130
- attr_accessor :name
131
-
132
- # URL of the user's picture image.
133
- # Corresponds to the JSON property `picture`
134
- # @return [String]
135
- attr_accessor :picture
136
-
137
- # Boolean flag which is true if the email address is verified. Always verified
138
- # because we only return the user's primary email address.
139
- # Corresponds to the JSON property `verified_email`
140
- # @return [Boolean]
141
- attr_accessor :verified_email
142
- alias_method :verified_email?, :verified_email
143
-
144
- def initialize(**args)
145
- update!(**args)
146
- end
147
-
148
- # Update properties of this object
149
- def update!(**args)
150
- @email = args[:email] if args.key?(:email)
151
- @family_name = args[:family_name] if args.key?(:family_name)
152
- @gender = args[:gender] if args.key?(:gender)
153
- @given_name = args[:given_name] if args.key?(:given_name)
154
- @hd = args[:hd] if args.key?(:hd)
155
- @id = args[:id] if args.key?(:id)
156
- @link = args[:link] if args.key?(:link)
157
- @locale = args[:locale] if args.key?(:locale)
158
- @name = args[:name] if args.key?(:name)
159
- @picture = args[:picture] if args.key?(:picture)
160
- @verified_email = args[:verified_email] if args.key?(:verified_email)
161
- end
162
- end
163
- end
164
- end
165
- end
@@ -1,158 +0,0 @@
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/core/base_service'
16
- require 'google/apis/core/json_representation'
17
- require 'google/apis/core/hashable'
18
- require 'google/apis/errors'
19
-
20
- module Google
21
- module Apis
22
- module Oauth2V2
23
- # Google OAuth2 API
24
- #
25
- # Obtains end-user authorization grants for use with other Google APIs.
26
- #
27
- # @example
28
- # require 'google/apis/oauth2_v2'
29
- #
30
- # Oauth2 = Google::Apis::Oauth2V2 # Alias the module
31
- # service = Oauth2::Oauth2Service.new
32
- #
33
- # @see https://developers.google.com/identity/protocols/oauth2/
34
- class Oauth2Service < Google::Apis::Core::BaseService
35
- # @return [String]
36
- # API key. Your API key identifies your project and provides you with API access,
37
- # quota, and reports. Required unless you provide an OAuth 2.0 token.
38
- attr_accessor :key
39
-
40
- # @return [String]
41
- # An opaque string that represents a user for quota purposes. Must not exceed 40
42
- # characters.
43
- attr_accessor :quota_user
44
-
45
- # @return [String]
46
- # Deprecated. Please use quotaUser instead.
47
- attr_accessor :user_ip
48
-
49
- def initialize
50
- super('https://www.googleapis.com/', '')
51
- @batch_path = 'batch/oauth2/v2'
52
- end
53
-
54
- #
55
- # @param [String] access_token
56
- # @param [String] id_token
57
- # @param [String] fields
58
- # Selector specifying which fields to include in a partial response.
59
- # @param [String] quota_user
60
- # An opaque string that represents a user for quota purposes. Must not exceed 40
61
- # characters.
62
- # @param [String] user_ip
63
- # Deprecated. Please use quotaUser instead.
64
- # @param [Google::Apis::RequestOptions] options
65
- # Request-specific options
66
- #
67
- # @yield [result, err] Result & error if block supplied
68
- # @yieldparam result [Google::Apis::Oauth2V2::Tokeninfo] parsed result object
69
- # @yieldparam err [StandardError] error object if request failed
70
- #
71
- # @return [Google::Apis::Oauth2V2::Tokeninfo]
72
- #
73
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
74
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
75
- # @raise [Google::Apis::AuthorizationError] Authorization is required
76
- def tokeninfo(access_token: nil, id_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
77
- command = make_simple_command(:post, 'oauth2/v2/tokeninfo', options)
78
- command.response_representation = Google::Apis::Oauth2V2::Tokeninfo::Representation
79
- command.response_class = Google::Apis::Oauth2V2::Tokeninfo
80
- command.query['access_token'] = access_token unless access_token.nil?
81
- command.query['id_token'] = id_token unless id_token.nil?
82
- command.query['fields'] = fields unless fields.nil?
83
- command.query['quotaUser'] = quota_user unless quota_user.nil?
84
- command.query['userIp'] = user_ip unless user_ip.nil?
85
- execute_or_queue_command(command, &block)
86
- end
87
-
88
- #
89
- # @param [String] fields
90
- # Selector specifying which fields to include in a partial response.
91
- # @param [String] quota_user
92
- # An opaque string that represents a user for quota purposes. Must not exceed 40
93
- # characters.
94
- # @param [String] user_ip
95
- # Deprecated. Please use quotaUser instead.
96
- # @param [Google::Apis::RequestOptions] options
97
- # Request-specific options
98
- #
99
- # @yield [result, err] Result & error if block supplied
100
- # @yieldparam result [Google::Apis::Oauth2V2::Userinfo] parsed result object
101
- # @yieldparam err [StandardError] error object if request failed
102
- #
103
- # @return [Google::Apis::Oauth2V2::Userinfo]
104
- #
105
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
106
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
107
- # @raise [Google::Apis::AuthorizationError] Authorization is required
108
- def get_userinfo(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
109
- command = make_simple_command(:get, 'oauth2/v2/userinfo', options)
110
- command.response_representation = Google::Apis::Oauth2V2::Userinfo::Representation
111
- command.response_class = Google::Apis::Oauth2V2::Userinfo
112
- command.query['fields'] = fields unless fields.nil?
113
- command.query['quotaUser'] = quota_user unless quota_user.nil?
114
- command.query['userIp'] = user_ip unless user_ip.nil?
115
- execute_or_queue_command(command, &block)
116
- end
117
-
118
- #
119
- # @param [String] fields
120
- # Selector specifying which fields to include in a partial response.
121
- # @param [String] quota_user
122
- # An opaque string that represents a user for quota purposes. Must not exceed 40
123
- # characters.
124
- # @param [String] user_ip
125
- # Deprecated. Please use quotaUser instead.
126
- # @param [Google::Apis::RequestOptions] options
127
- # Request-specific options
128
- #
129
- # @yield [result, err] Result & error if block supplied
130
- # @yieldparam result [Google::Apis::Oauth2V2::Userinfo] parsed result object
131
- # @yieldparam err [StandardError] error object if request failed
132
- #
133
- # @return [Google::Apis::Oauth2V2::Userinfo]
134
- #
135
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
136
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
137
- # @raise [Google::Apis::AuthorizationError] Authorization is required
138
- def get_userinfo_v2(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
139
- command = make_simple_command(:get, 'userinfo/v2/me', options)
140
- command.response_representation = Google::Apis::Oauth2V2::Userinfo::Representation
141
- command.response_class = Google::Apis::Oauth2V2::Userinfo
142
- command.query['fields'] = fields unless fields.nil?
143
- command.query['quotaUser'] = quota_user unless quota_user.nil?
144
- command.query['userIp'] = user_ip unless user_ip.nil?
145
- execute_or_queue_command(command, &block)
146
- end
147
-
148
- protected
149
-
150
- def apply_command_defaults(command)
151
- command.query['key'] = key unless key.nil?
152
- command.query['quotaUser'] = quota_user unless quota_user.nil?
153
- command.query['userIp'] = user_ip unless user_ip.nil?
154
- end
155
- end
156
- end
157
- end
158
- end
@@ -1,43 +0,0 @@
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/plus_v1/service.rb'
16
- require 'google/apis/plus_v1/classes.rb'
17
- require 'google/apis/plus_v1/representations.rb'
18
-
19
- module Google
20
- module Apis
21
- # Google+ API
22
- #
23
- # Builds on top of the Google+ platform.
24
- #
25
- # @see https://developers.google.com/+/api/
26
- module PlusV1
27
- VERSION = 'V1'
28
- REVISION = '20190328'
29
-
30
- # View your basic profile info, including your age range and language
31
- AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'
32
-
33
- # Associate you with your personal info on Google
34
- AUTH_PLUS_ME = 'https://www.googleapis.com/auth/plus.me'
35
-
36
- # View your email address
37
- AUTH_USERINFO_EMAIL = 'https://www.googleapis.com/auth/userinfo.email'
38
-
39
- # See your personal info, including any personal info you've made publicly available
40
- AUTH_USERINFO_PROFILE = 'https://www.googleapis.com/auth/userinfo.profile'
41
- end
42
- end
43
- end
@@ -1,2094 +0,0 @@
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 PlusV1
24
-
25
- #
26
- class Acl
27
- include Google::Apis::Core::Hashable
28
-
29
- # Description of the access granted, suitable for display.
30
- # Corresponds to the JSON property `description`
31
- # @return [String]
32
- attr_accessor :description
33
-
34
- # The list of access entries.
35
- # Corresponds to the JSON property `items`
36
- # @return [Array<Google::Apis::PlusV1::PlusAclentryResource>]
37
- attr_accessor :items
38
-
39
- # Identifies this resource as a collection of access controls. Value: "plus#acl".
40
- # Corresponds to the JSON property `kind`
41
- # @return [String]
42
- attr_accessor :kind
43
-
44
- def initialize(**args)
45
- update!(**args)
46
- end
47
-
48
- # Update properties of this object
49
- def update!(**args)
50
- @description = args[:description] if args.key?(:description)
51
- @items = args[:items] if args.key?(:items)
52
- @kind = args[:kind] if args.key?(:kind)
53
- end
54
- end
55
-
56
- #
57
- class Activity
58
- include Google::Apis::Core::Hashable
59
-
60
- # Identifies who has access to see this activity.
61
- # Corresponds to the JSON property `access`
62
- # @return [Google::Apis::PlusV1::Acl]
63
- attr_accessor :access
64
-
65
- # The person who performed this activity.
66
- # Corresponds to the JSON property `actor`
67
- # @return [Google::Apis::PlusV1::Activity::Actor]
68
- attr_accessor :actor
69
-
70
- # Street address where this activity occurred.
71
- # Corresponds to the JSON property `address`
72
- # @return [String]
73
- attr_accessor :address
74
-
75
- # Additional content added by the person who shared this activity, applicable
76
- # only when resharing an activity.
77
- # Corresponds to the JSON property `annotation`
78
- # @return [String]
79
- attr_accessor :annotation
80
-
81
- # If this activity is a crosspost from another system, this property specifies
82
- # the ID of the original activity.
83
- # Corresponds to the JSON property `crosspostSource`
84
- # @return [String]
85
- attr_accessor :crosspost_source
86
-
87
- # ETag of this response for caching purposes.
88
- # Corresponds to the JSON property `etag`
89
- # @return [String]
90
- attr_accessor :etag
91
-
92
- # Latitude and longitude where this activity occurred. Format is latitude
93
- # followed by longitude, space separated.
94
- # Corresponds to the JSON property `geocode`
95
- # @return [String]
96
- attr_accessor :geocode
97
-
98
- # The ID of this activity.
99
- # Corresponds to the JSON property `id`
100
- # @return [String]
101
- attr_accessor :id
102
-
103
- # Identifies this resource as an activity. Value: "plus#activity".
104
- # Corresponds to the JSON property `kind`
105
- # @return [String]
106
- attr_accessor :kind
107
-
108
- # The location where this activity occurred.
109
- # Corresponds to the JSON property `location`
110
- # @return [Google::Apis::PlusV1::Place]
111
- attr_accessor :location
112
-
113
- # The object of this activity.
114
- # Corresponds to the JSON property `object`
115
- # @return [Google::Apis::PlusV1::Activity::Object]
116
- attr_accessor :object
117
-
118
- # ID of the place where this activity occurred.
119
- # Corresponds to the JSON property `placeId`
120
- # @return [String]
121
- attr_accessor :place_id
122
-
123
- # Name of the place where this activity occurred.
124
- # Corresponds to the JSON property `placeName`
125
- # @return [String]
126
- attr_accessor :place_name
127
-
128
- # The service provider that initially published this activity.
129
- # Corresponds to the JSON property `provider`
130
- # @return [Google::Apis::PlusV1::Activity::Provider]
131
- attr_accessor :provider
132
-
133
- # The time at which this activity was initially published. Formatted as an RFC
134
- # 3339 timestamp.
135
- # Corresponds to the JSON property `published`
136
- # @return [DateTime]
137
- attr_accessor :published
138
-
139
- # Radius, in meters, of the region where this activity occurred, centered at the
140
- # latitude and longitude identified in geocode.
141
- # Corresponds to the JSON property `radius`
142
- # @return [String]
143
- attr_accessor :radius
144
-
145
- # Title of this activity.
146
- # Corresponds to the JSON property `title`
147
- # @return [String]
148
- attr_accessor :title
149
-
150
- # The time at which this activity was last updated. Formatted as an RFC 3339
151
- # timestamp.
152
- # Corresponds to the JSON property `updated`
153
- # @return [DateTime]
154
- attr_accessor :updated
155
-
156
- # The link to this activity.
157
- # Corresponds to the JSON property `url`
158
- # @return [String]
159
- attr_accessor :url
160
-
161
- # This activity's verb, which indicates the action that was performed. Possible
162
- # values include, but are not limited to, the following values:
163
- # - "post" - Publish content to the stream.
164
- # - "share" - Reshare an activity.
165
- # Corresponds to the JSON property `verb`
166
- # @return [String]
167
- attr_accessor :verb
168
-
169
- def initialize(**args)
170
- update!(**args)
171
- end
172
-
173
- # Update properties of this object
174
- def update!(**args)
175
- @access = args[:access] if args.key?(:access)
176
- @actor = args[:actor] if args.key?(:actor)
177
- @address = args[:address] if args.key?(:address)
178
- @annotation = args[:annotation] if args.key?(:annotation)
179
- @crosspost_source = args[:crosspost_source] if args.key?(:crosspost_source)
180
- @etag = args[:etag] if args.key?(:etag)
181
- @geocode = args[:geocode] if args.key?(:geocode)
182
- @id = args[:id] if args.key?(:id)
183
- @kind = args[:kind] if args.key?(:kind)
184
- @location = args[:location] if args.key?(:location)
185
- @object = args[:object] if args.key?(:object)
186
- @place_id = args[:place_id] if args.key?(:place_id)
187
- @place_name = args[:place_name] if args.key?(:place_name)
188
- @provider = args[:provider] if args.key?(:provider)
189
- @published = args[:published] if args.key?(:published)
190
- @radius = args[:radius] if args.key?(:radius)
191
- @title = args[:title] if args.key?(:title)
192
- @updated = args[:updated] if args.key?(:updated)
193
- @url = args[:url] if args.key?(:url)
194
- @verb = args[:verb] if args.key?(:verb)
195
- end
196
-
197
- # The person who performed this activity.
198
- class Actor
199
- include Google::Apis::Core::Hashable
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
-
206
- # The name of the actor, suitable for display.
207
- # Corresponds to the JSON property `displayName`
208
- # @return [String]
209
- attr_accessor :display_name
210
-
211
- # The ID of the actor's Person resource.
212
- # Corresponds to the JSON property `id`
213
- # @return [String]
214
- attr_accessor :id
215
-
216
- # The image representation of the actor.
217
- # Corresponds to the JSON property `image`
218
- # @return [Google::Apis::PlusV1::Activity::Actor::Image]
219
- attr_accessor :image
220
-
221
- # An object representation of the individual components of name.
222
- # Corresponds to the JSON property `name`
223
- # @return [Google::Apis::PlusV1::Activity::Actor::Name]
224
- attr_accessor :name
225
-
226
- # The link to the actor's Google profile.
227
- # Corresponds to the JSON property `url`
228
- # @return [String]
229
- attr_accessor :url
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
-
236
- def initialize(**args)
237
- update!(**args)
238
- end
239
-
240
- # Update properties of this object
241
- def update!(**args)
242
- @client_specific_actor_info = args[:client_specific_actor_info] if args.key?(:client_specific_actor_info)
243
- @display_name = args[:display_name] if args.key?(:display_name)
244
- @id = args[:id] if args.key?(:id)
245
- @image = args[:image] if args.key?(:image)
246
- @name = args[:name] if args.key?(:name)
247
- @url = args[:url] if args.key?(:url)
248
- @verification = args[:verification] if args.key?(:verification)
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] if args.key?(:youtube_actor_info)
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] if args.key?(:channel_id)
285
- end
286
- end
287
- end
288
-
289
- # The image representation of the actor.
290
- class Image
291
- include Google::Apis::Core::Hashable
292
-
293
- # The URL of the actor's profile photo. To resize the image and crop it to a
294
- # square, append the query string ?sz=x, where x is the dimension in pixels of
295
- # each side.
296
- # Corresponds to the JSON property `url`
297
- # @return [String]
298
- attr_accessor :url
299
-
300
- def initialize(**args)
301
- update!(**args)
302
- end
303
-
304
- # Update properties of this object
305
- def update!(**args)
306
- @url = args[:url] if args.key?(:url)
307
- end
308
- end
309
-
310
- # An object representation of the individual components of name.
311
- class Name
312
- include Google::Apis::Core::Hashable
313
-
314
- # The family name ("last name") of the actor.
315
- # Corresponds to the JSON property `familyName`
316
- # @return [String]
317
- attr_accessor :family_name
318
-
319
- # The given name ("first name") of the actor.
320
- # Corresponds to the JSON property `givenName`
321
- # @return [String]
322
- attr_accessor :given_name
323
-
324
- def initialize(**args)
325
- update!(**args)
326
- end
327
-
328
- # Update properties of this object
329
- def update!(**args)
330
- @family_name = args[:family_name] if args.key?(:family_name)
331
- @given_name = args[:given_name] if args.key?(:given_name)
332
- end
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] if args.key?(:ad_hoc_verified)
351
- end
352
- end
353
- end
354
-
355
- # The object of this activity.
356
- class Object
357
- include Google::Apis::Core::Hashable
358
-
359
- # If this activity's object is itself another activity, such as when a person
360
- # reshares an activity, this property specifies the original activity's actor.
361
- # Corresponds to the JSON property `actor`
362
- # @return [Google::Apis::PlusV1::Activity::Object::Actor]
363
- attr_accessor :actor
364
-
365
- # The media objects attached to this activity.
366
- # Corresponds to the JSON property `attachments`
367
- # @return [Array<Google::Apis::PlusV1::Activity::Object::Attachment>]
368
- attr_accessor :attachments
369
-
370
- # The HTML-formatted content, which is suitable for display.
371
- # Corresponds to the JSON property `content`
372
- # @return [String]
373
- attr_accessor :content
374
-
375
- # The ID of the object. When resharing an activity, this is the ID of the
376
- # activity that is being reshared.
377
- # Corresponds to the JSON property `id`
378
- # @return [String]
379
- attr_accessor :id
380
-
381
- # The type of the object. Possible values include, but are not limited to, the
382
- # following values:
383
- # - "note" - Textual content.
384
- # - "activity" - A Google+ activity.
385
- # Corresponds to the JSON property `objectType`
386
- # @return [String]
387
- attr_accessor :object_type
388
-
389
- # The content (text) as provided by the author, which is stored without any HTML
390
- # formatting. When creating or updating an activity, this value must be supplied
391
- # as plain text in the request.
392
- # Corresponds to the JSON property `originalContent`
393
- # @return [String]
394
- attr_accessor :original_content
395
-
396
- # People who +1'd this activity.
397
- # Corresponds to the JSON property `plusoners`
398
- # @return [Google::Apis::PlusV1::Activity::Object::Plusoners]
399
- attr_accessor :plusoners
400
-
401
- # Comments in reply to this activity.
402
- # Corresponds to the JSON property `replies`
403
- # @return [Google::Apis::PlusV1::Activity::Object::Replies]
404
- attr_accessor :replies
405
-
406
- # People who reshared this activity.
407
- # Corresponds to the JSON property `resharers`
408
- # @return [Google::Apis::PlusV1::Activity::Object::Resharers]
409
- attr_accessor :resharers
410
-
411
- # The URL that points to the linked resource.
412
- # Corresponds to the JSON property `url`
413
- # @return [String]
414
- attr_accessor :url
415
-
416
- def initialize(**args)
417
- update!(**args)
418
- end
419
-
420
- # Update properties of this object
421
- def update!(**args)
422
- @actor = args[:actor] if args.key?(:actor)
423
- @attachments = args[:attachments] if args.key?(:attachments)
424
- @content = args[:content] if args.key?(:content)
425
- @id = args[:id] if args.key?(:id)
426
- @object_type = args[:object_type] if args.key?(:object_type)
427
- @original_content = args[:original_content] if args.key?(:original_content)
428
- @plusoners = args[:plusoners] if args.key?(:plusoners)
429
- @replies = args[:replies] if args.key?(:replies)
430
- @resharers = args[:resharers] if args.key?(:resharers)
431
- @url = args[:url] if args.key?(:url)
432
- end
433
-
434
- # If this activity's object is itself another activity, such as when a person
435
- # reshares an activity, this property specifies the original activity's actor.
436
- class Actor
437
- include Google::Apis::Core::Hashable
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
-
444
- # The original actor's name, which is suitable for display.
445
- # Corresponds to the JSON property `displayName`
446
- # @return [String]
447
- attr_accessor :display_name
448
-
449
- # ID of the original actor.
450
- # Corresponds to the JSON property `id`
451
- # @return [String]
452
- attr_accessor :id
453
-
454
- # The image representation of the original actor.
455
- # Corresponds to the JSON property `image`
456
- # @return [Google::Apis::PlusV1::Activity::Object::Actor::Image]
457
- attr_accessor :image
458
-
459
- # A link to the original actor's Google profile.
460
- # Corresponds to the JSON property `url`
461
- # @return [String]
462
- attr_accessor :url
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
-
469
- def initialize(**args)
470
- update!(**args)
471
- end
472
-
473
- # Update properties of this object
474
- def update!(**args)
475
- @client_specific_actor_info = args[:client_specific_actor_info] if args.key?(:client_specific_actor_info)
476
- @display_name = args[:display_name] if args.key?(:display_name)
477
- @id = args[:id] if args.key?(:id)
478
- @image = args[:image] if args.key?(:image)
479
- @url = args[:url] if args.key?(:url)
480
- @verification = args[:verification] if args.key?(:verification)
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] if args.key?(:youtube_actor_info)
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] if args.key?(:channel_id)
517
- end
518
- end
519
- end
520
-
521
- # The image representation of the original actor.
522
- class Image
523
- include Google::Apis::Core::Hashable
524
-
525
- # A URL that points to a thumbnail photo of the original actor.
526
- # Corresponds to the JSON property `url`
527
- # @return [String]
528
- attr_accessor :url
529
-
530
- def initialize(**args)
531
- update!(**args)
532
- end
533
-
534
- # Update properties of this object
535
- def update!(**args)
536
- @url = args[:url] if args.key?(:url)
537
- end
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] if args.key?(:ad_hoc_verified)
556
- end
557
- end
558
- end
559
-
560
- #
561
- class Attachment
562
- include Google::Apis::Core::Hashable
563
-
564
- # If the attachment is an article, this property contains a snippet of text from
565
- # the article. It can also include descriptions for other types.
566
- # Corresponds to the JSON property `content`
567
- # @return [String]
568
- attr_accessor :content
569
-
570
- # The title of the attachment, such as a photo caption or an article title.
571
- # Corresponds to the JSON property `displayName`
572
- # @return [String]
573
- attr_accessor :display_name
574
-
575
- # If the attachment is a video, the embeddable link.
576
- # Corresponds to the JSON property `embed`
577
- # @return [Google::Apis::PlusV1::Activity::Object::Attachment::Embed]
578
- attr_accessor :embed
579
-
580
- # The full image URL for photo attachments.
581
- # Corresponds to the JSON property `fullImage`
582
- # @return [Google::Apis::PlusV1::Activity::Object::Attachment::FullImage]
583
- attr_accessor :full_image
584
-
585
- # The ID of the attachment.
586
- # Corresponds to the JSON property `id`
587
- # @return [String]
588
- attr_accessor :id
589
-
590
- # The preview image for photos or videos.
591
- # Corresponds to the JSON property `image`
592
- # @return [Google::Apis::PlusV1::Activity::Object::Attachment::Image]
593
- attr_accessor :image
594
-
595
- # The type of media object. Possible values include, but are not limited to, the
596
- # following values:
597
- # - "photo" - A photo.
598
- # - "album" - A photo album.
599
- # - "video" - A video.
600
- # - "article" - An article, specified by a link.
601
- # Corresponds to the JSON property `objectType`
602
- # @return [String]
603
- attr_accessor :object_type
604
-
605
- # If the attachment is an album, this property is a list of potential additional
606
- # thumbnails from the album.
607
- # Corresponds to the JSON property `thumbnails`
608
- # @return [Array<Google::Apis::PlusV1::Activity::Object::Attachment::Thumbnail>]
609
- attr_accessor :thumbnails
610
-
611
- # The link to the attachment, which should be of type text/html.
612
- # Corresponds to the JSON property `url`
613
- # @return [String]
614
- attr_accessor :url
615
-
616
- def initialize(**args)
617
- update!(**args)
618
- end
619
-
620
- # Update properties of this object
621
- def update!(**args)
622
- @content = args[:content] if args.key?(:content)
623
- @display_name = args[:display_name] if args.key?(:display_name)
624
- @embed = args[:embed] if args.key?(:embed)
625
- @full_image = args[:full_image] if args.key?(:full_image)
626
- @id = args[:id] if args.key?(:id)
627
- @image = args[:image] if args.key?(:image)
628
- @object_type = args[:object_type] if args.key?(:object_type)
629
- @thumbnails = args[:thumbnails] if args.key?(:thumbnails)
630
- @url = args[:url] if args.key?(:url)
631
- end
632
-
633
- # If the attachment is a video, the embeddable link.
634
- class Embed
635
- include Google::Apis::Core::Hashable
636
-
637
- # Media type of the link.
638
- # Corresponds to the JSON property `type`
639
- # @return [String]
640
- attr_accessor :type
641
-
642
- # URL of the link.
643
- # Corresponds to the JSON property `url`
644
- # @return [String]
645
- attr_accessor :url
646
-
647
- def initialize(**args)
648
- update!(**args)
649
- end
650
-
651
- # Update properties of this object
652
- def update!(**args)
653
- @type = args[:type] if args.key?(:type)
654
- @url = args[:url] if args.key?(:url)
655
- end
656
- end
657
-
658
- # The full image URL for photo attachments.
659
- class FullImage
660
- include Google::Apis::Core::Hashable
661
-
662
- # The height, in pixels, of the linked resource.
663
- # Corresponds to the JSON property `height`
664
- # @return [Fixnum]
665
- attr_accessor :height
666
-
667
- # Media type of the link.
668
- # Corresponds to the JSON property `type`
669
- # @return [String]
670
- attr_accessor :type
671
-
672
- # URL of the image.
673
- # Corresponds to the JSON property `url`
674
- # @return [String]
675
- attr_accessor :url
676
-
677
- # The width, in pixels, of the linked resource.
678
- # Corresponds to the JSON property `width`
679
- # @return [Fixnum]
680
- attr_accessor :width
681
-
682
- def initialize(**args)
683
- update!(**args)
684
- end
685
-
686
- # Update properties of this object
687
- def update!(**args)
688
- @height = args[:height] if args.key?(:height)
689
- @type = args[:type] if args.key?(:type)
690
- @url = args[:url] if args.key?(:url)
691
- @width = args[:width] if args.key?(:width)
692
- end
693
- end
694
-
695
- # The preview image for photos or videos.
696
- class Image
697
- include Google::Apis::Core::Hashable
698
-
699
- # The height, in pixels, of the linked resource.
700
- # Corresponds to the JSON property `height`
701
- # @return [Fixnum]
702
- attr_accessor :height
703
-
704
- # Media type of the link.
705
- # Corresponds to the JSON property `type`
706
- # @return [String]
707
- attr_accessor :type
708
-
709
- # Image URL.
710
- # Corresponds to the JSON property `url`
711
- # @return [String]
712
- attr_accessor :url
713
-
714
- # The width, in pixels, of the linked resource.
715
- # Corresponds to the JSON property `width`
716
- # @return [Fixnum]
717
- attr_accessor :width
718
-
719
- def initialize(**args)
720
- update!(**args)
721
- end
722
-
723
- # Update properties of this object
724
- def update!(**args)
725
- @height = args[:height] if args.key?(:height)
726
- @type = args[:type] if args.key?(:type)
727
- @url = args[:url] if args.key?(:url)
728
- @width = args[:width] if args.key?(:width)
729
- end
730
- end
731
-
732
- #
733
- class Thumbnail
734
- include Google::Apis::Core::Hashable
735
-
736
- # Potential name of the thumbnail.
737
- # Corresponds to the JSON property `description`
738
- # @return [String]
739
- attr_accessor :description
740
-
741
- # Image resource.
742
- # Corresponds to the JSON property `image`
743
- # @return [Google::Apis::PlusV1::Activity::Object::Attachment::Thumbnail::Image]
744
- attr_accessor :image
745
-
746
- # URL of the webpage containing the image.
747
- # Corresponds to the JSON property `url`
748
- # @return [String]
749
- attr_accessor :url
750
-
751
- def initialize(**args)
752
- update!(**args)
753
- end
754
-
755
- # Update properties of this object
756
- def update!(**args)
757
- @description = args[:description] if args.key?(:description)
758
- @image = args[:image] if args.key?(:image)
759
- @url = args[:url] if args.key?(:url)
760
- end
761
-
762
- # Image resource.
763
- class Image
764
- include Google::Apis::Core::Hashable
765
-
766
- # The height, in pixels, of the linked resource.
767
- # Corresponds to the JSON property `height`
768
- # @return [Fixnum]
769
- attr_accessor :height
770
-
771
- # Media type of the link.
772
- # Corresponds to the JSON property `type`
773
- # @return [String]
774
- attr_accessor :type
775
-
776
- # Image url.
777
- # Corresponds to the JSON property `url`
778
- # @return [String]
779
- attr_accessor :url
780
-
781
- # The width, in pixels, of the linked resource.
782
- # Corresponds to the JSON property `width`
783
- # @return [Fixnum]
784
- attr_accessor :width
785
-
786
- def initialize(**args)
787
- update!(**args)
788
- end
789
-
790
- # Update properties of this object
791
- def update!(**args)
792
- @height = args[:height] if args.key?(:height)
793
- @type = args[:type] if args.key?(:type)
794
- @url = args[:url] if args.key?(:url)
795
- @width = args[:width] if args.key?(:width)
796
- end
797
- end
798
- end
799
- end
800
-
801
- # People who +1'd this activity.
802
- class Plusoners
803
- include Google::Apis::Core::Hashable
804
-
805
- # The URL for the collection of people who +1'd this activity.
806
- # Corresponds to the JSON property `selfLink`
807
- # @return [String]
808
- attr_accessor :self_link
809
-
810
- # Total number of people who +1'd this activity.
811
- # Corresponds to the JSON property `totalItems`
812
- # @return [Fixnum]
813
- attr_accessor :total_items
814
-
815
- def initialize(**args)
816
- update!(**args)
817
- end
818
-
819
- # Update properties of this object
820
- def update!(**args)
821
- @self_link = args[:self_link] if args.key?(:self_link)
822
- @total_items = args[:total_items] if args.key?(:total_items)
823
- end
824
- end
825
-
826
- # Comments in reply to this activity.
827
- class Replies
828
- include Google::Apis::Core::Hashable
829
-
830
- # The URL for the collection of comments in reply to this activity.
831
- # Corresponds to the JSON property `selfLink`
832
- # @return [String]
833
- attr_accessor :self_link
834
-
835
- # Total number of comments on this activity.
836
- # Corresponds to the JSON property `totalItems`
837
- # @return [Fixnum]
838
- attr_accessor :total_items
839
-
840
- def initialize(**args)
841
- update!(**args)
842
- end
843
-
844
- # Update properties of this object
845
- def update!(**args)
846
- @self_link = args[:self_link] if args.key?(:self_link)
847
- @total_items = args[:total_items] if args.key?(:total_items)
848
- end
849
- end
850
-
851
- # People who reshared this activity.
852
- class Resharers
853
- include Google::Apis::Core::Hashable
854
-
855
- # The URL for the collection of resharers.
856
- # Corresponds to the JSON property `selfLink`
857
- # @return [String]
858
- attr_accessor :self_link
859
-
860
- # Total number of people who reshared this activity.
861
- # Corresponds to the JSON property `totalItems`
862
- # @return [Fixnum]
863
- attr_accessor :total_items
864
-
865
- def initialize(**args)
866
- update!(**args)
867
- end
868
-
869
- # Update properties of this object
870
- def update!(**args)
871
- @self_link = args[:self_link] if args.key?(:self_link)
872
- @total_items = args[:total_items] if args.key?(:total_items)
873
- end
874
- end
875
- end
876
-
877
- # The service provider that initially published this activity.
878
- class Provider
879
- include Google::Apis::Core::Hashable
880
-
881
- # Name of the service provider.
882
- # Corresponds to the JSON property `title`
883
- # @return [String]
884
- attr_accessor :title
885
-
886
- def initialize(**args)
887
- update!(**args)
888
- end
889
-
890
- # Update properties of this object
891
- def update!(**args)
892
- @title = args[:title] if args.key?(:title)
893
- end
894
- end
895
- end
896
-
897
- #
898
- class ActivityFeed
899
- include Google::Apis::Core::Hashable
900
-
901
- # ETag of this response for caching purposes.
902
- # Corresponds to the JSON property `etag`
903
- # @return [String]
904
- attr_accessor :etag
905
-
906
- # The ID of this collection of activities. Deprecated.
907
- # Corresponds to the JSON property `id`
908
- # @return [String]
909
- attr_accessor :id
910
-
911
- # The activities in this page of results.
912
- # Corresponds to the JSON property `items`
913
- # @return [Array<Google::Apis::PlusV1::Activity>]
914
- attr_accessor :items
915
-
916
- # Identifies this resource as a collection of activities. Value: "plus#
917
- # activityFeed".
918
- # Corresponds to the JSON property `kind`
919
- # @return [String]
920
- attr_accessor :kind
921
-
922
- # Link to the next page of activities.
923
- # Corresponds to the JSON property `nextLink`
924
- # @return [String]
925
- attr_accessor :next_link
926
-
927
- # The continuation token, which is used to page through large result sets.
928
- # Provide this value in a subsequent request to return the next page of results.
929
- # Corresponds to the JSON property `nextPageToken`
930
- # @return [String]
931
- attr_accessor :next_page_token
932
-
933
- # Link to this activity resource.
934
- # Corresponds to the JSON property `selfLink`
935
- # @return [String]
936
- attr_accessor :self_link
937
-
938
- # The title of this collection of activities, which is a truncated portion of
939
- # the content.
940
- # Corresponds to the JSON property `title`
941
- # @return [String]
942
- attr_accessor :title
943
-
944
- # The time at which this collection of activities was last updated. Formatted as
945
- # an RFC 3339 timestamp.
946
- # Corresponds to the JSON property `updated`
947
- # @return [DateTime]
948
- attr_accessor :updated
949
-
950
- def initialize(**args)
951
- update!(**args)
952
- end
953
-
954
- # Update properties of this object
955
- def update!(**args)
956
- @etag = args[:etag] if args.key?(:etag)
957
- @id = args[:id] if args.key?(:id)
958
- @items = args[:items] if args.key?(:items)
959
- @kind = args[:kind] if args.key?(:kind)
960
- @next_link = args[:next_link] if args.key?(:next_link)
961
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
962
- @self_link = args[:self_link] if args.key?(:self_link)
963
- @title = args[:title] if args.key?(:title)
964
- @updated = args[:updated] if args.key?(:updated)
965
- end
966
- end
967
-
968
- #
969
- class Comment
970
- include Google::Apis::Core::Hashable
971
-
972
- # The person who posted this comment.
973
- # Corresponds to the JSON property `actor`
974
- # @return [Google::Apis::PlusV1::Comment::Actor]
975
- attr_accessor :actor
976
-
977
- # ETag of this response for caching purposes.
978
- # Corresponds to the JSON property `etag`
979
- # @return [String]
980
- attr_accessor :etag
981
-
982
- # The ID of this comment.
983
- # Corresponds to the JSON property `id`
984
- # @return [String]
985
- attr_accessor :id
986
-
987
- # The activity this comment replied to.
988
- # Corresponds to the JSON property `inReplyTo`
989
- # @return [Array<Google::Apis::PlusV1::Comment::InReplyTo>]
990
- attr_accessor :in_reply_to
991
-
992
- # Identifies this resource as a comment. Value: "plus#comment".
993
- # Corresponds to the JSON property `kind`
994
- # @return [String]
995
- attr_accessor :kind
996
-
997
- # The object of this comment.
998
- # Corresponds to the JSON property `object`
999
- # @return [Google::Apis::PlusV1::Comment::Object]
1000
- attr_accessor :object
1001
-
1002
- # People who +1'd this comment.
1003
- # Corresponds to the JSON property `plusoners`
1004
- # @return [Google::Apis::PlusV1::Comment::Plusoners]
1005
- attr_accessor :plusoners
1006
-
1007
- # The time at which this comment was initially published. Formatted as an RFC
1008
- # 3339 timestamp.
1009
- # Corresponds to the JSON property `published`
1010
- # @return [DateTime]
1011
- attr_accessor :published
1012
-
1013
- # Link to this comment resource.
1014
- # Corresponds to the JSON property `selfLink`
1015
- # @return [String]
1016
- attr_accessor :self_link
1017
-
1018
- # The time at which this comment was last updated. Formatted as an RFC 3339
1019
- # timestamp.
1020
- # Corresponds to the JSON property `updated`
1021
- # @return [DateTime]
1022
- attr_accessor :updated
1023
-
1024
- # This comment's verb, indicating what action was performed. Possible values are:
1025
- #
1026
- # - "post" - Publish content to the stream.
1027
- # Corresponds to the JSON property `verb`
1028
- # @return [String]
1029
- attr_accessor :verb
1030
-
1031
- def initialize(**args)
1032
- update!(**args)
1033
- end
1034
-
1035
- # Update properties of this object
1036
- def update!(**args)
1037
- @actor = args[:actor] if args.key?(:actor)
1038
- @etag = args[:etag] if args.key?(:etag)
1039
- @id = args[:id] if args.key?(:id)
1040
- @in_reply_to = args[:in_reply_to] if args.key?(:in_reply_to)
1041
- @kind = args[:kind] if args.key?(:kind)
1042
- @object = args[:object] if args.key?(:object)
1043
- @plusoners = args[:plusoners] if args.key?(:plusoners)
1044
- @published = args[:published] if args.key?(:published)
1045
- @self_link = args[:self_link] if args.key?(:self_link)
1046
- @updated = args[:updated] if args.key?(:updated)
1047
- @verb = args[:verb] if args.key?(:verb)
1048
- end
1049
-
1050
- # The person who posted this comment.
1051
- class Actor
1052
- include Google::Apis::Core::Hashable
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
-
1059
- # The name of this actor, suitable for display.
1060
- # Corresponds to the JSON property `displayName`
1061
- # @return [String]
1062
- attr_accessor :display_name
1063
-
1064
- # The ID of the actor.
1065
- # Corresponds to the JSON property `id`
1066
- # @return [String]
1067
- attr_accessor :id
1068
-
1069
- # The image representation of this actor.
1070
- # Corresponds to the JSON property `image`
1071
- # @return [Google::Apis::PlusV1::Comment::Actor::Image]
1072
- attr_accessor :image
1073
-
1074
- # A link to the Person resource for this actor.
1075
- # Corresponds to the JSON property `url`
1076
- # @return [String]
1077
- attr_accessor :url
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
-
1084
- def initialize(**args)
1085
- update!(**args)
1086
- end
1087
-
1088
- # Update properties of this object
1089
- def update!(**args)
1090
- @client_specific_actor_info = args[:client_specific_actor_info] if args.key?(:client_specific_actor_info)
1091
- @display_name = args[:display_name] if args.key?(:display_name)
1092
- @id = args[:id] if args.key?(:id)
1093
- @image = args[:image] if args.key?(:image)
1094
- @url = args[:url] if args.key?(:url)
1095
- @verification = args[:verification] if args.key?(:verification)
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] if args.key?(:youtube_actor_info)
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] if args.key?(:channel_id)
1132
- end
1133
- end
1134
- end
1135
-
1136
- # The image representation of this actor.
1137
- class Image
1138
- include Google::Apis::Core::Hashable
1139
-
1140
- # The URL of the actor's profile photo. To resize the image and crop it to a
1141
- # square, append the query string ?sz=x, where x is the dimension in pixels of
1142
- # each side.
1143
- # Corresponds to the JSON property `url`
1144
- # @return [String]
1145
- attr_accessor :url
1146
-
1147
- def initialize(**args)
1148
- update!(**args)
1149
- end
1150
-
1151
- # Update properties of this object
1152
- def update!(**args)
1153
- @url = args[:url] if args.key?(:url)
1154
- end
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] if args.key?(:ad_hoc_verified)
1173
- end
1174
- end
1175
- end
1176
-
1177
- #
1178
- class InReplyTo
1179
- include Google::Apis::Core::Hashable
1180
-
1181
- # The ID of the activity.
1182
- # Corresponds to the JSON property `id`
1183
- # @return [String]
1184
- attr_accessor :id
1185
-
1186
- # The URL of the activity.
1187
- # Corresponds to the JSON property `url`
1188
- # @return [String]
1189
- attr_accessor :url
1190
-
1191
- def initialize(**args)
1192
- update!(**args)
1193
- end
1194
-
1195
- # Update properties of this object
1196
- def update!(**args)
1197
- @id = args[:id] if args.key?(:id)
1198
- @url = args[:url] if args.key?(:url)
1199
- end
1200
- end
1201
-
1202
- # The object of this comment.
1203
- class Object
1204
- include Google::Apis::Core::Hashable
1205
-
1206
- # The HTML-formatted content, suitable for display.
1207
- # Corresponds to the JSON property `content`
1208
- # @return [String]
1209
- attr_accessor :content
1210
-
1211
- # The object type of this comment. Possible values are:
1212
- # - "comment" - A comment in reply to an activity.
1213
- # Corresponds to the JSON property `objectType`
1214
- # @return [String]
1215
- attr_accessor :object_type
1216
-
1217
- # The content (text) as provided by the author, stored without any HTML
1218
- # formatting. When creating or updating a comment, this value must be supplied
1219
- # as plain text in the request.
1220
- # Corresponds to the JSON property `originalContent`
1221
- # @return [String]
1222
- attr_accessor :original_content
1223
-
1224
- def initialize(**args)
1225
- update!(**args)
1226
- end
1227
-
1228
- # Update properties of this object
1229
- def update!(**args)
1230
- @content = args[:content] if args.key?(:content)
1231
- @object_type = args[:object_type] if args.key?(:object_type)
1232
- @original_content = args[:original_content] if args.key?(:original_content)
1233
- end
1234
- end
1235
-
1236
- # People who +1'd this comment.
1237
- class Plusoners
1238
- include Google::Apis::Core::Hashable
1239
-
1240
- # Total number of people who +1'd this comment.
1241
- # Corresponds to the JSON property `totalItems`
1242
- # @return [Fixnum]
1243
- attr_accessor :total_items
1244
-
1245
- def initialize(**args)
1246
- update!(**args)
1247
- end
1248
-
1249
- # Update properties of this object
1250
- def update!(**args)
1251
- @total_items = args[:total_items] if args.key?(:total_items)
1252
- end
1253
- end
1254
- end
1255
-
1256
- #
1257
- class CommentFeed
1258
- include Google::Apis::Core::Hashable
1259
-
1260
- # ETag of this response for caching purposes.
1261
- # Corresponds to the JSON property `etag`
1262
- # @return [String]
1263
- attr_accessor :etag
1264
-
1265
- # The ID of this collection of comments.
1266
- # Corresponds to the JSON property `id`
1267
- # @return [String]
1268
- attr_accessor :id
1269
-
1270
- # The comments in this page of results.
1271
- # Corresponds to the JSON property `items`
1272
- # @return [Array<Google::Apis::PlusV1::Comment>]
1273
- attr_accessor :items
1274
-
1275
- # Identifies this resource as a collection of comments. Value: "plus#commentFeed"
1276
- # .
1277
- # Corresponds to the JSON property `kind`
1278
- # @return [String]
1279
- attr_accessor :kind
1280
-
1281
- # Link to the next page of activities.
1282
- # Corresponds to the JSON property `nextLink`
1283
- # @return [String]
1284
- attr_accessor :next_link
1285
-
1286
- # The continuation token, which is used to page through large result sets.
1287
- # Provide this value in a subsequent request to return the next page of results.
1288
- # Corresponds to the JSON property `nextPageToken`
1289
- # @return [String]
1290
- attr_accessor :next_page_token
1291
-
1292
- # The title of this collection of comments.
1293
- # Corresponds to the JSON property `title`
1294
- # @return [String]
1295
- attr_accessor :title
1296
-
1297
- # The time at which this collection of comments was last updated. Formatted as
1298
- # an RFC 3339 timestamp.
1299
- # Corresponds to the JSON property `updated`
1300
- # @return [DateTime]
1301
- attr_accessor :updated
1302
-
1303
- def initialize(**args)
1304
- update!(**args)
1305
- end
1306
-
1307
- # Update properties of this object
1308
- def update!(**args)
1309
- @etag = args[:etag] if args.key?(:etag)
1310
- @id = args[:id] if args.key?(:id)
1311
- @items = args[:items] if args.key?(:items)
1312
- @kind = args[:kind] if args.key?(:kind)
1313
- @next_link = args[:next_link] if args.key?(:next_link)
1314
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1315
- @title = args[:title] if args.key?(:title)
1316
- @updated = args[:updated] if args.key?(:updated)
1317
- end
1318
- end
1319
-
1320
- #
1321
- class PeopleFeed
1322
- include Google::Apis::Core::Hashable
1323
-
1324
- # ETag of this response for caching purposes.
1325
- # Corresponds to the JSON property `etag`
1326
- # @return [String]
1327
- attr_accessor :etag
1328
-
1329
- # The people in this page of results. Each item includes the id, displayName,
1330
- # image, and url for the person. To retrieve additional profile data, see the
1331
- # people.get method.
1332
- # Corresponds to the JSON property `items`
1333
- # @return [Array<Google::Apis::PlusV1::Person>]
1334
- attr_accessor :items
1335
-
1336
- # Identifies this resource as a collection of people. Value: "plus#peopleFeed".
1337
- # Corresponds to the JSON property `kind`
1338
- # @return [String]
1339
- attr_accessor :kind
1340
-
1341
- # The continuation token, which is used to page through large result sets.
1342
- # Provide this value in a subsequent request to return the next page of results.
1343
- # Corresponds to the JSON property `nextPageToken`
1344
- # @return [String]
1345
- attr_accessor :next_page_token
1346
-
1347
- # Link to this resource.
1348
- # Corresponds to the JSON property `selfLink`
1349
- # @return [String]
1350
- attr_accessor :self_link
1351
-
1352
- # The title of this collection of people.
1353
- # Corresponds to the JSON property `title`
1354
- # @return [String]
1355
- attr_accessor :title
1356
-
1357
- # The total number of people available in this list. The number of people in a
1358
- # response might be smaller due to paging. This might not be set for all
1359
- # collections.
1360
- # Corresponds to the JSON property `totalItems`
1361
- # @return [Fixnum]
1362
- attr_accessor :total_items
1363
-
1364
- def initialize(**args)
1365
- update!(**args)
1366
- end
1367
-
1368
- # Update properties of this object
1369
- def update!(**args)
1370
- @etag = args[:etag] if args.key?(:etag)
1371
- @items = args[:items] if args.key?(:items)
1372
- @kind = args[:kind] if args.key?(:kind)
1373
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
1374
- @self_link = args[:self_link] if args.key?(:self_link)
1375
- @title = args[:title] if args.key?(:title)
1376
- @total_items = args[:total_items] if args.key?(:total_items)
1377
- end
1378
- end
1379
-
1380
- #
1381
- class Person
1382
- include Google::Apis::Core::Hashable
1383
-
1384
- # A short biography for this person.
1385
- # Corresponds to the JSON property `aboutMe`
1386
- # @return [String]
1387
- attr_accessor :about_me
1388
-
1389
- # The age range of the person. Valid ranges are 17 or younger, 18 to 20, and 21
1390
- # or older. Age is determined from the user's birthday using Western age
1391
- # reckoning.
1392
- # Corresponds to the JSON property `ageRange`
1393
- # @return [Google::Apis::PlusV1::Person::AgeRange]
1394
- attr_accessor :age_range
1395
-
1396
- # The person's date of birth, represented as YYYY-MM-DD.
1397
- # Corresponds to the JSON property `birthday`
1398
- # @return [String]
1399
- attr_accessor :birthday
1400
-
1401
- # The "bragging rights" line of this person.
1402
- # Corresponds to the JSON property `braggingRights`
1403
- # @return [String]
1404
- attr_accessor :bragging_rights
1405
-
1406
- # For followers who are visible, the number of people who have added this person
1407
- # or page to a circle.
1408
- # Corresponds to the JSON property `circledByCount`
1409
- # @return [Fixnum]
1410
- attr_accessor :circled_by_count
1411
-
1412
- # The cover photo content.
1413
- # Corresponds to the JSON property `cover`
1414
- # @return [Google::Apis::PlusV1::Person::Cover]
1415
- attr_accessor :cover
1416
-
1417
- # (this field is not currently used)
1418
- # Corresponds to the JSON property `currentLocation`
1419
- # @return [String]
1420
- attr_accessor :current_location
1421
-
1422
- # The name of this person, which is suitable for display.
1423
- # Corresponds to the JSON property `displayName`
1424
- # @return [String]
1425
- attr_accessor :display_name
1426
-
1427
- # The hosted domain name for the user's Google Apps account. For instance,
1428
- # example.com. The plus.profile.emails.read or email scope is needed to get this
1429
- # domain name.
1430
- # Corresponds to the JSON property `domain`
1431
- # @return [String]
1432
- attr_accessor :domain
1433
-
1434
- # A list of email addresses that this person has, including their Google account
1435
- # email address, and the public verified email addresses on their Google+
1436
- # profile. The plus.profile.emails.read scope is needed to retrieve these email
1437
- # addresses, or the email scope can be used to retrieve just the Google account
1438
- # email address.
1439
- # Corresponds to the JSON property `emails`
1440
- # @return [Array<Google::Apis::PlusV1::Person::Email>]
1441
- attr_accessor :emails
1442
-
1443
- # ETag of this response for caching purposes.
1444
- # Corresponds to the JSON property `etag`
1445
- # @return [String]
1446
- attr_accessor :etag
1447
-
1448
- # The person's gender. Possible values include, but are not limited to, the
1449
- # following values:
1450
- # - "male" - Male gender.
1451
- # - "female" - Female gender.
1452
- # - "other" - Other.
1453
- # Corresponds to the JSON property `gender`
1454
- # @return [String]
1455
- attr_accessor :gender
1456
-
1457
- # The ID of this person.
1458
- # Corresponds to the JSON property `id`
1459
- # @return [String]
1460
- attr_accessor :id
1461
-
1462
- # The representation of the person's profile photo.
1463
- # Corresponds to the JSON property `image`
1464
- # @return [Google::Apis::PlusV1::Person::Image]
1465
- attr_accessor :image
1466
-
1467
- # Whether this user has signed up for Google+.
1468
- # Corresponds to the JSON property `isPlusUser`
1469
- # @return [Boolean]
1470
- attr_accessor :is_plus_user
1471
- alias_method :is_plus_user?, :is_plus_user
1472
-
1473
- # Identifies this resource as a person. Value: "plus#person".
1474
- # Corresponds to the JSON property `kind`
1475
- # @return [String]
1476
- attr_accessor :kind
1477
-
1478
- # The user's preferred language for rendering.
1479
- # Corresponds to the JSON property `language`
1480
- # @return [String]
1481
- attr_accessor :language
1482
-
1483
- # An object representation of the individual components of a person's name.
1484
- # Corresponds to the JSON property `name`
1485
- # @return [Google::Apis::PlusV1::Person::Name]
1486
- attr_accessor :name
1487
-
1488
- # The nickname of this person.
1489
- # Corresponds to the JSON property `nickname`
1490
- # @return [String]
1491
- attr_accessor :nickname
1492
-
1493
- # Type of person within Google+. Possible values include, but are not limited to,
1494
- # the following values:
1495
- # - "person" - represents an actual person.
1496
- # - "page" - represents a page.
1497
- # Corresponds to the JSON property `objectType`
1498
- # @return [String]
1499
- attr_accessor :object_type
1500
-
1501
- # The occupation of this person.
1502
- # Corresponds to the JSON property `occupation`
1503
- # @return [String]
1504
- attr_accessor :occupation
1505
-
1506
- # A list of current or past organizations with which this person is associated.
1507
- # Corresponds to the JSON property `organizations`
1508
- # @return [Array<Google::Apis::PlusV1::Person::Organization>]
1509
- attr_accessor :organizations
1510
-
1511
- # A list of places where this person has lived.
1512
- # Corresponds to the JSON property `placesLived`
1513
- # @return [Array<Google::Apis::PlusV1::Person::PlacesLived>]
1514
- attr_accessor :places_lived
1515
-
1516
- # If a Google+ Page, the number of people who have +1'd this page.
1517
- # Corresponds to the JSON property `plusOneCount`
1518
- # @return [Fixnum]
1519
- attr_accessor :plus_one_count
1520
-
1521
- # The person's relationship status. Possible values include, but are not limited
1522
- # to, the following values:
1523
- # - "single" - Person is single.
1524
- # - "in_a_relationship" - Person is in a relationship.
1525
- # - "engaged" - Person is engaged.
1526
- # - "married" - Person is married.
1527
- # - "its_complicated" - The relationship is complicated.
1528
- # - "open_relationship" - Person is in an open relationship.
1529
- # - "widowed" - Person is widowed.
1530
- # - "in_domestic_partnership" - Person is in a domestic partnership.
1531
- # - "in_civil_union" - Person is in a civil union.
1532
- # Corresponds to the JSON property `relationshipStatus`
1533
- # @return [String]
1534
- attr_accessor :relationship_status
1535
-
1536
- # The person's skills.
1537
- # Corresponds to the JSON property `skills`
1538
- # @return [String]
1539
- attr_accessor :skills
1540
-
1541
- # The brief description (tagline) of this person.
1542
- # Corresponds to the JSON property `tagline`
1543
- # @return [String]
1544
- attr_accessor :tagline
1545
-
1546
- # The URL of this person's profile.
1547
- # Corresponds to the JSON property `url`
1548
- # @return [String]
1549
- attr_accessor :url
1550
-
1551
- # A list of URLs for this person.
1552
- # Corresponds to the JSON property `urls`
1553
- # @return [Array<Google::Apis::PlusV1::Person::Url>]
1554
- attr_accessor :urls
1555
-
1556
- # Whether the person or Google+ Page has been verified.
1557
- # Corresponds to the JSON property `verified`
1558
- # @return [Boolean]
1559
- attr_accessor :verified
1560
- alias_method :verified?, :verified
1561
-
1562
- def initialize(**args)
1563
- update!(**args)
1564
- end
1565
-
1566
- # Update properties of this object
1567
- def update!(**args)
1568
- @about_me = args[:about_me] if args.key?(:about_me)
1569
- @age_range = args[:age_range] if args.key?(:age_range)
1570
- @birthday = args[:birthday] if args.key?(:birthday)
1571
- @bragging_rights = args[:bragging_rights] if args.key?(:bragging_rights)
1572
- @circled_by_count = args[:circled_by_count] if args.key?(:circled_by_count)
1573
- @cover = args[:cover] if args.key?(:cover)
1574
- @current_location = args[:current_location] if args.key?(:current_location)
1575
- @display_name = args[:display_name] if args.key?(:display_name)
1576
- @domain = args[:domain] if args.key?(:domain)
1577
- @emails = args[:emails] if args.key?(:emails)
1578
- @etag = args[:etag] if args.key?(:etag)
1579
- @gender = args[:gender] if args.key?(:gender)
1580
- @id = args[:id] if args.key?(:id)
1581
- @image = args[:image] if args.key?(:image)
1582
- @is_plus_user = args[:is_plus_user] if args.key?(:is_plus_user)
1583
- @kind = args[:kind] if args.key?(:kind)
1584
- @language = args[:language] if args.key?(:language)
1585
- @name = args[:name] if args.key?(:name)
1586
- @nickname = args[:nickname] if args.key?(:nickname)
1587
- @object_type = args[:object_type] if args.key?(:object_type)
1588
- @occupation = args[:occupation] if args.key?(:occupation)
1589
- @organizations = args[:organizations] if args.key?(:organizations)
1590
- @places_lived = args[:places_lived] if args.key?(:places_lived)
1591
- @plus_one_count = args[:plus_one_count] if args.key?(:plus_one_count)
1592
- @relationship_status = args[:relationship_status] if args.key?(:relationship_status)
1593
- @skills = args[:skills] if args.key?(:skills)
1594
- @tagline = args[:tagline] if args.key?(:tagline)
1595
- @url = args[:url] if args.key?(:url)
1596
- @urls = args[:urls] if args.key?(:urls)
1597
- @verified = args[:verified] if args.key?(:verified)
1598
- end
1599
-
1600
- # The age range of the person. Valid ranges are 17 or younger, 18 to 20, and 21
1601
- # or older. Age is determined from the user's birthday using Western age
1602
- # reckoning.
1603
- class AgeRange
1604
- include Google::Apis::Core::Hashable
1605
-
1606
- # The age range's upper bound, if any. Possible values include, but are not
1607
- # limited to, the following:
1608
- # - "17" - for age 17
1609
- # - "20" - for age 20
1610
- # Corresponds to the JSON property `max`
1611
- # @return [Fixnum]
1612
- attr_accessor :max
1613
-
1614
- # The age range's lower bound, if any. Possible values include, but are not
1615
- # limited to, the following:
1616
- # - "21" - for age 21
1617
- # - "18" - for age 18
1618
- # Corresponds to the JSON property `min`
1619
- # @return [Fixnum]
1620
- attr_accessor :min
1621
-
1622
- def initialize(**args)
1623
- update!(**args)
1624
- end
1625
-
1626
- # Update properties of this object
1627
- def update!(**args)
1628
- @max = args[:max] if args.key?(:max)
1629
- @min = args[:min] if args.key?(:min)
1630
- end
1631
- end
1632
-
1633
- # The cover photo content.
1634
- class Cover
1635
- include Google::Apis::Core::Hashable
1636
-
1637
- # Extra information about the cover photo.
1638
- # Corresponds to the JSON property `coverInfo`
1639
- # @return [Google::Apis::PlusV1::Person::Cover::CoverInfo]
1640
- attr_accessor :cover_info
1641
-
1642
- # The person's primary cover image.
1643
- # Corresponds to the JSON property `coverPhoto`
1644
- # @return [Google::Apis::PlusV1::Person::Cover::CoverPhoto]
1645
- attr_accessor :cover_photo
1646
-
1647
- # The layout of the cover art. Possible values include, but are not limited to,
1648
- # the following values:
1649
- # - "banner" - One large image banner.
1650
- # Corresponds to the JSON property `layout`
1651
- # @return [String]
1652
- attr_accessor :layout
1653
-
1654
- def initialize(**args)
1655
- update!(**args)
1656
- end
1657
-
1658
- # Update properties of this object
1659
- def update!(**args)
1660
- @cover_info = args[:cover_info] if args.key?(:cover_info)
1661
- @cover_photo = args[:cover_photo] if args.key?(:cover_photo)
1662
- @layout = args[:layout] if args.key?(:layout)
1663
- end
1664
-
1665
- # Extra information about the cover photo.
1666
- class CoverInfo
1667
- include Google::Apis::Core::Hashable
1668
-
1669
- # The difference between the left position of the cover image and the actual
1670
- # displayed cover image. Only valid for banner layout.
1671
- # Corresponds to the JSON property `leftImageOffset`
1672
- # @return [Fixnum]
1673
- attr_accessor :left_image_offset
1674
-
1675
- # The difference between the top position of the cover image and the actual
1676
- # displayed cover image. Only valid for banner layout.
1677
- # Corresponds to the JSON property `topImageOffset`
1678
- # @return [Fixnum]
1679
- attr_accessor :top_image_offset
1680
-
1681
- def initialize(**args)
1682
- update!(**args)
1683
- end
1684
-
1685
- # Update properties of this object
1686
- def update!(**args)
1687
- @left_image_offset = args[:left_image_offset] if args.key?(:left_image_offset)
1688
- @top_image_offset = args[:top_image_offset] if args.key?(:top_image_offset)
1689
- end
1690
- end
1691
-
1692
- # The person's primary cover image.
1693
- class CoverPhoto
1694
- include Google::Apis::Core::Hashable
1695
-
1696
- # The height of the image.
1697
- # Corresponds to the JSON property `height`
1698
- # @return [Fixnum]
1699
- attr_accessor :height
1700
-
1701
- # The URL of the image.
1702
- # Corresponds to the JSON property `url`
1703
- # @return [String]
1704
- attr_accessor :url
1705
-
1706
- # The width of the image.
1707
- # Corresponds to the JSON property `width`
1708
- # @return [Fixnum]
1709
- attr_accessor :width
1710
-
1711
- def initialize(**args)
1712
- update!(**args)
1713
- end
1714
-
1715
- # Update properties of this object
1716
- def update!(**args)
1717
- @height = args[:height] if args.key?(:height)
1718
- @url = args[:url] if args.key?(:url)
1719
- @width = args[:width] if args.key?(:width)
1720
- end
1721
- end
1722
- end
1723
-
1724
- #
1725
- class Email
1726
- include Google::Apis::Core::Hashable
1727
-
1728
- # The type of address. Possible values include, but are not limited to, the
1729
- # following values:
1730
- # - "account" - Google account email address.
1731
- # - "home" - Home email address.
1732
- # - "work" - Work email address.
1733
- # - "other" - Other.
1734
- # Corresponds to the JSON property `type`
1735
- # @return [String]
1736
- attr_accessor :type
1737
-
1738
- # The email address.
1739
- # Corresponds to the JSON property `value`
1740
- # @return [String]
1741
- attr_accessor :value
1742
-
1743
- def initialize(**args)
1744
- update!(**args)
1745
- end
1746
-
1747
- # Update properties of this object
1748
- def update!(**args)
1749
- @type = args[:type] if args.key?(:type)
1750
- @value = args[:value] if args.key?(:value)
1751
- end
1752
- end
1753
-
1754
- # The representation of the person's profile photo.
1755
- class Image
1756
- include Google::Apis::Core::Hashable
1757
-
1758
- # Whether the person's profile photo is the default one
1759
- # Corresponds to the JSON property `isDefault`
1760
- # @return [Boolean]
1761
- attr_accessor :is_default
1762
- alias_method :is_default?, :is_default
1763
-
1764
- # The URL of the person's profile photo. To resize the image and crop it to a
1765
- # square, append the query string ?sz=x, where x is the dimension in pixels of
1766
- # each side.
1767
- # Corresponds to the JSON property `url`
1768
- # @return [String]
1769
- attr_accessor :url
1770
-
1771
- def initialize(**args)
1772
- update!(**args)
1773
- end
1774
-
1775
- # Update properties of this object
1776
- def update!(**args)
1777
- @is_default = args[:is_default] if args.key?(:is_default)
1778
- @url = args[:url] if args.key?(:url)
1779
- end
1780
- end
1781
-
1782
- # An object representation of the individual components of a person's name.
1783
- class Name
1784
- include Google::Apis::Core::Hashable
1785
-
1786
- # The family name (last name) of this person.
1787
- # Corresponds to the JSON property `familyName`
1788
- # @return [String]
1789
- attr_accessor :family_name
1790
-
1791
- # The full name of this person, including middle names, suffixes, etc.
1792
- # Corresponds to the JSON property `formatted`
1793
- # @return [String]
1794
- attr_accessor :formatted
1795
-
1796
- # The given name (first name) of this person.
1797
- # Corresponds to the JSON property `givenName`
1798
- # @return [String]
1799
- attr_accessor :given_name
1800
-
1801
- # The honorific prefixes (such as "Dr." or "Mrs.") for this person.
1802
- # Corresponds to the JSON property `honorificPrefix`
1803
- # @return [String]
1804
- attr_accessor :honorific_prefix
1805
-
1806
- # The honorific suffixes (such as "Jr.") for this person.
1807
- # Corresponds to the JSON property `honorificSuffix`
1808
- # @return [String]
1809
- attr_accessor :honorific_suffix
1810
-
1811
- # The middle name of this person.
1812
- # Corresponds to the JSON property `middleName`
1813
- # @return [String]
1814
- attr_accessor :middle_name
1815
-
1816
- def initialize(**args)
1817
- update!(**args)
1818
- end
1819
-
1820
- # Update properties of this object
1821
- def update!(**args)
1822
- @family_name = args[:family_name] if args.key?(:family_name)
1823
- @formatted = args[:formatted] if args.key?(:formatted)
1824
- @given_name = args[:given_name] if args.key?(:given_name)
1825
- @honorific_prefix = args[:honorific_prefix] if args.key?(:honorific_prefix)
1826
- @honorific_suffix = args[:honorific_suffix] if args.key?(:honorific_suffix)
1827
- @middle_name = args[:middle_name] if args.key?(:middle_name)
1828
- end
1829
- end
1830
-
1831
- #
1832
- class Organization
1833
- include Google::Apis::Core::Hashable
1834
-
1835
- # The department within the organization. Deprecated.
1836
- # Corresponds to the JSON property `department`
1837
- # @return [String]
1838
- attr_accessor :department
1839
-
1840
- # A short description of the person's role in this organization. Deprecated.
1841
- # Corresponds to the JSON property `description`
1842
- # @return [String]
1843
- attr_accessor :description
1844
-
1845
- # The date that the person left this organization.
1846
- # Corresponds to the JSON property `endDate`
1847
- # @return [String]
1848
- attr_accessor :end_date
1849
-
1850
- # The location of this organization. Deprecated.
1851
- # Corresponds to the JSON property `location`
1852
- # @return [String]
1853
- attr_accessor :location
1854
-
1855
- # The name of the organization.
1856
- # Corresponds to the JSON property `name`
1857
- # @return [String]
1858
- attr_accessor :name
1859
-
1860
- # If "true", indicates this organization is the person's primary one, which is
1861
- # typically interpreted as the current one.
1862
- # Corresponds to the JSON property `primary`
1863
- # @return [Boolean]
1864
- attr_accessor :primary
1865
- alias_method :primary?, :primary
1866
-
1867
- # The date that the person joined this organization.
1868
- # Corresponds to the JSON property `startDate`
1869
- # @return [String]
1870
- attr_accessor :start_date
1871
-
1872
- # The person's job title or role within the organization.
1873
- # Corresponds to the JSON property `title`
1874
- # @return [String]
1875
- attr_accessor :title
1876
-
1877
- # The type of organization. Possible values include, but are not limited to, the
1878
- # following values:
1879
- # - "work" - Work.
1880
- # - "school" - School.
1881
- # Corresponds to the JSON property `type`
1882
- # @return [String]
1883
- attr_accessor :type
1884
-
1885
- def initialize(**args)
1886
- update!(**args)
1887
- end
1888
-
1889
- # Update properties of this object
1890
- def update!(**args)
1891
- @department = args[:department] if args.key?(:department)
1892
- @description = args[:description] if args.key?(:description)
1893
- @end_date = args[:end_date] if args.key?(:end_date)
1894
- @location = args[:location] if args.key?(:location)
1895
- @name = args[:name] if args.key?(:name)
1896
- @primary = args[:primary] if args.key?(:primary)
1897
- @start_date = args[:start_date] if args.key?(:start_date)
1898
- @title = args[:title] if args.key?(:title)
1899
- @type = args[:type] if args.key?(:type)
1900
- end
1901
- end
1902
-
1903
- #
1904
- class PlacesLived
1905
- include Google::Apis::Core::Hashable
1906
-
1907
- # If "true", this place of residence is this person's primary residence.
1908
- # Corresponds to the JSON property `primary`
1909
- # @return [Boolean]
1910
- attr_accessor :primary
1911
- alias_method :primary?, :primary
1912
-
1913
- # A place where this person has lived. For example: "Seattle, WA", "Near Toronto"
1914
- # .
1915
- # Corresponds to the JSON property `value`
1916
- # @return [String]
1917
- attr_accessor :value
1918
-
1919
- def initialize(**args)
1920
- update!(**args)
1921
- end
1922
-
1923
- # Update properties of this object
1924
- def update!(**args)
1925
- @primary = args[:primary] if args.key?(:primary)
1926
- @value = args[:value] if args.key?(:value)
1927
- end
1928
- end
1929
-
1930
- #
1931
- class Url
1932
- include Google::Apis::Core::Hashable
1933
-
1934
- # The label of the URL.
1935
- # Corresponds to the JSON property `label`
1936
- # @return [String]
1937
- attr_accessor :label
1938
-
1939
- # The type of URL. Possible values include, but are not limited to, the
1940
- # following values:
1941
- # - "otherProfile" - URL for another profile.
1942
- # - "contributor" - URL to a site for which this person is a contributor.
1943
- # - "website" - URL for this Google+ Page's primary website.
1944
- # - "other" - Other URL.
1945
- # Corresponds to the JSON property `type`
1946
- # @return [String]
1947
- attr_accessor :type
1948
-
1949
- # The URL value.
1950
- # Corresponds to the JSON property `value`
1951
- # @return [String]
1952
- attr_accessor :value
1953
-
1954
- def initialize(**args)
1955
- update!(**args)
1956
- end
1957
-
1958
- # Update properties of this object
1959
- def update!(**args)
1960
- @label = args[:label] if args.key?(:label)
1961
- @type = args[:type] if args.key?(:type)
1962
- @value = args[:value] if args.key?(:value)
1963
- end
1964
- end
1965
- end
1966
-
1967
- #
1968
- class Place
1969
- include Google::Apis::Core::Hashable
1970
-
1971
- # The physical address of the place.
1972
- # Corresponds to the JSON property `address`
1973
- # @return [Google::Apis::PlusV1::Place::Address]
1974
- attr_accessor :address
1975
-
1976
- # The display name of the place.
1977
- # Corresponds to the JSON property `displayName`
1978
- # @return [String]
1979
- attr_accessor :display_name
1980
-
1981
- # The id of the place.
1982
- # Corresponds to the JSON property `id`
1983
- # @return [String]
1984
- attr_accessor :id
1985
-
1986
- # Identifies this resource as a place. Value: "plus#place".
1987
- # Corresponds to the JSON property `kind`
1988
- # @return [String]
1989
- attr_accessor :kind
1990
-
1991
- # The position of the place.
1992
- # Corresponds to the JSON property `position`
1993
- # @return [Google::Apis::PlusV1::Place::Position]
1994
- attr_accessor :position
1995
-
1996
- def initialize(**args)
1997
- update!(**args)
1998
- end
1999
-
2000
- # Update properties of this object
2001
- def update!(**args)
2002
- @address = args[:address] if args.key?(:address)
2003
- @display_name = args[:display_name] if args.key?(:display_name)
2004
- @id = args[:id] if args.key?(:id)
2005
- @kind = args[:kind] if args.key?(:kind)
2006
- @position = args[:position] if args.key?(:position)
2007
- end
2008
-
2009
- # The physical address of the place.
2010
- class Address
2011
- include Google::Apis::Core::Hashable
2012
-
2013
- # The formatted address for display.
2014
- # Corresponds to the JSON property `formatted`
2015
- # @return [String]
2016
- attr_accessor :formatted
2017
-
2018
- def initialize(**args)
2019
- update!(**args)
2020
- end
2021
-
2022
- # Update properties of this object
2023
- def update!(**args)
2024
- @formatted = args[:formatted] if args.key?(:formatted)
2025
- end
2026
- end
2027
-
2028
- # The position of the place.
2029
- class Position
2030
- include Google::Apis::Core::Hashable
2031
-
2032
- # The latitude of this position.
2033
- # Corresponds to the JSON property `latitude`
2034
- # @return [Float]
2035
- attr_accessor :latitude
2036
-
2037
- # The longitude of this position.
2038
- # Corresponds to the JSON property `longitude`
2039
- # @return [Float]
2040
- attr_accessor :longitude
2041
-
2042
- def initialize(**args)
2043
- update!(**args)
2044
- end
2045
-
2046
- # Update properties of this object
2047
- def update!(**args)
2048
- @latitude = args[:latitude] if args.key?(:latitude)
2049
- @longitude = args[:longitude] if args.key?(:longitude)
2050
- end
2051
- end
2052
- end
2053
-
2054
- #
2055
- class PlusAclentryResource
2056
- include Google::Apis::Core::Hashable
2057
-
2058
- # A descriptive name for this entry. Suitable for display.
2059
- # Corresponds to the JSON property `displayName`
2060
- # @return [String]
2061
- attr_accessor :display_name
2062
-
2063
- # The ID of the entry. For entries of type "person" or "circle", this is the ID
2064
- # of the resource. For other types, this property is not set.
2065
- # Corresponds to the JSON property `id`
2066
- # @return [String]
2067
- attr_accessor :id
2068
-
2069
- # The type of entry describing to whom access is granted. Possible values are:
2070
- # - "person" - Access to an individual.
2071
- # - "circle" - Access to members of a circle.
2072
- # - "myCircles" - Access to members of all the person's circles.
2073
- # - "extendedCircles" - Access to members of all the person's circles, plus all
2074
- # of the people in their circles.
2075
- # - "domain" - Access to members of the person's Google Apps domain.
2076
- # - "public" - Access to anyone on the web.
2077
- # Corresponds to the JSON property `type`
2078
- # @return [String]
2079
- attr_accessor :type
2080
-
2081
- def initialize(**args)
2082
- update!(**args)
2083
- end
2084
-
2085
- # Update properties of this object
2086
- def update!(**args)
2087
- @display_name = args[:display_name] if args.key?(:display_name)
2088
- @id = args[:id] if args.key?(:id)
2089
- @type = args[:type] if args.key?(:type)
2090
- end
2091
- end
2092
- end
2093
- end
2094
- end