google-api-client 0.43.0 → 0.48.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (964) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/autoapprove.yml +49 -0
  3. data/.github/workflows/release-please.yml +77 -0
  4. data/.gitignore +2 -0
  5. data/.kokoro/trampoline.sh +0 -0
  6. data/CHANGELOG.md +1066 -184
  7. data/Gemfile +1 -0
  8. data/Rakefile +31 -3
  9. data/api_list_config.yaml +8 -0
  10. data/api_names.yaml +1 -0
  11. data/bin/generate-api +77 -15
  12. data/docs/oauth-server.md +4 -6
  13. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
  14. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  15. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  16. data/generated/google/apis/accessapproval_v1/classes.rb +60 -86
  17. data/generated/google/apis/accessapproval_v1/service.rb +93 -132
  18. data/generated/google/apis/accessapproval_v1.rb +1 -1
  19. data/generated/google/apis/accesscontextmanager_v1/classes.rb +266 -236
  20. data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
  21. data/generated/google/apis/accesscontextmanager_v1/service.rb +308 -171
  22. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  23. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
  24. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
  25. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  26. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +47 -36
  27. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  28. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  29. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +72 -2
  30. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +33 -0
  31. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  32. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  33. data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
  34. data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
  35. data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
  36. data/generated/google/apis/admin_directory_v1/classes.rb +344 -242
  37. data/generated/google/apis/admin_directory_v1/representations.rb +62 -39
  38. data/generated/google/apis/admin_directory_v1/service.rb +607 -998
  39. data/generated/google/apis/admin_directory_v1.rb +6 -8
  40. data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
  41. data/generated/google/apis/admin_reports_v1/service.rb +131 -187
  42. data/generated/google/apis/admin_reports_v1.rb +6 -5
  43. data/generated/google/apis/admob_v1/classes.rb +31 -31
  44. data/generated/google/apis/admob_v1/service.rb +2 -1
  45. data/generated/google/apis/admob_v1.rb +6 -2
  46. data/generated/google/apis/adsense_v1_4/service.rb +4 -1
  47. data/generated/google/apis/adsense_v1_4.rb +1 -1
  48. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  49. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
  50. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
  51. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2134 -0
  52. data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
  53. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1655 -0
  54. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +806 -0
  55. data/generated/google/apis/analyticsdata_v1alpha/service.rb +261 -0
  56. data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
  57. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  58. data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
  59. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  60. data/generated/google/apis/androidmanagement_v1/classes.rb +115 -75
  61. data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
  62. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  63. data/generated/google/apis/androidpublisher_v3/classes.rb +9 -1
  64. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  65. data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
  66. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  67. data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
  68. data/generated/google/apis/{memcache_v1 → apigateway_v1beta}/representations.rb +156 -157
  69. data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
  70. data/generated/google/apis/apigateway_v1beta.rb +34 -0
  71. data/generated/google/apis/apigee_v1/classes.rb +630 -88
  72. data/generated/google/apis/apigee_v1/representations.rb +209 -1
  73. data/generated/google/apis/apigee_v1/service.rb +401 -74
  74. data/generated/google/apis/apigee_v1.rb +6 -7
  75. data/generated/google/apis/appengine_v1/classes.rb +96 -59
  76. data/generated/google/apis/appengine_v1/representations.rb +17 -0
  77. data/generated/google/apis/appengine_v1/service.rb +38 -47
  78. data/generated/google/apis/appengine_v1.rb +1 -1
  79. data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
  80. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  81. data/generated/google/apis/appengine_v1beta/classes.rb +103 -59
  82. data/generated/google/apis/appengine_v1beta/representations.rb +18 -0
  83. data/generated/google/apis/appengine_v1beta/service.rb +37 -47
  84. data/generated/google/apis/appengine_v1beta.rb +1 -1
  85. data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
  86. data/generated/google/apis/appsmarket_v2.rb +1 -1
  87. data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
  88. data/generated/google/apis/area120tables_v1alpha1/representations.rb +248 -0
  89. data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
  90. data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
  91. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +249 -337
  92. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +2 -0
  93. data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
  94. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  95. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +722 -0
  96. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +359 -0
  97. data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
  98. data/generated/google/apis/{accessapproval_v1beta1.rb → assuredworkloads_v1beta1.rb} +8 -8
  99. data/generated/google/apis/bigquery_v2/classes.rb +593 -576
  100. data/generated/google/apis/bigquery_v2/representations.rb +85 -0
  101. data/generated/google/apis/bigquery_v2/service.rb +79 -41
  102. data/generated/google/apis/bigquery_v2.rb +1 -1
  103. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
  104. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
  105. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  106. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
  107. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
  108. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  109. data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
  110. data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
  111. data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
  112. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  113. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
  114. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
  115. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  116. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
  117. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
  118. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
  119. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  120. data/generated/google/apis/bigtableadmin_v1/classes.rb +137 -119
  121. data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
  122. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  123. data/generated/google/apis/bigtableadmin_v2/classes.rb +455 -607
  124. data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
  125. data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
  126. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  127. data/generated/google/apis/billingbudgets_v1/classes.rb +373 -0
  128. data/generated/google/apis/billingbudgets_v1/representations.rb +171 -0
  129. data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
  130. data/generated/google/apis/billingbudgets_v1.rb +38 -0
  131. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +27 -6
  132. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +2 -0
  133. data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
  134. data/generated/google/apis/binaryauthorization_v1/classes.rb +434 -355
  135. data/generated/google/apis/binaryauthorization_v1/representations.rb +75 -0
  136. data/generated/google/apis/binaryauthorization_v1/service.rb +109 -89
  137. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  138. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +434 -355
  139. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +75 -0
  140. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +109 -89
  141. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  142. data/generated/google/apis/books_v1/service.rb +54 -54
  143. data/generated/google/apis/books_v1.rb +1 -1
  144. data/generated/google/apis/calendar_v3/classes.rb +13 -10
  145. data/generated/google/apis/calendar_v3.rb +1 -1
  146. data/generated/google/apis/chat_v1/classes.rb +173 -116
  147. data/generated/google/apis/chat_v1/representations.rb +36 -0
  148. data/generated/google/apis/chat_v1/service.rb +30 -42
  149. data/generated/google/apis/chat_v1.rb +1 -1
  150. data/generated/google/apis/civicinfo_v2/classes.rb +18 -32
  151. data/generated/google/apis/civicinfo_v2/representations.rb +2 -3
  152. data/generated/google/apis/civicinfo_v2.rb +1 -1
  153. data/generated/google/apis/classroom_v1/classes.rb +153 -21
  154. data/generated/google/apis/classroom_v1/representations.rb +43 -0
  155. data/generated/google/apis/classroom_v1/service.rb +240 -0
  156. data/generated/google/apis/classroom_v1.rb +7 -1
  157. data/generated/google/apis/cloudasset_v1/classes.rb +1461 -1039
  158. data/generated/google/apis/cloudasset_v1/representations.rb +320 -0
  159. data/generated/google/apis/cloudasset_v1/service.rb +296 -167
  160. data/generated/google/apis/cloudasset_v1.rb +1 -1
  161. data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
  162. data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
  163. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  164. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
  165. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
  166. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  167. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +222 -276
  168. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
  169. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  170. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
  171. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
  172. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  173. data/generated/google/apis/cloudbilling_v1/classes.rb +285 -446
  174. data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
  175. data/generated/google/apis/cloudbilling_v1.rb +7 -1
  176. data/generated/google/apis/cloudbuild_v1/classes.rb +339 -344
  177. data/generated/google/apis/cloudbuild_v1/representations.rb +8 -0
  178. data/generated/google/apis/cloudbuild_v1/service.rb +277 -67
  179. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  180. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +291 -329
  181. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
  182. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
  183. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  184. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +277 -313
  185. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +2 -0
  186. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
  187. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  188. data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
  189. data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
  190. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  191. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +127 -156
  192. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
  193. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  194. data/generated/google/apis/cloudfunctions_v1/classes.rb +335 -494
  195. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  196. data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
  197. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  198. data/generated/google/apis/cloudidentity_v1/classes.rb +989 -107
  199. data/generated/google/apis/cloudidentity_v1/representations.rb +371 -0
  200. data/generated/google/apis/cloudidentity_v1/service.rb +883 -88
  201. data/generated/google/apis/cloudidentity_v1.rb +4 -1
  202. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1236 -307
  203. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +424 -21
  204. data/generated/google/apis/cloudidentity_v1beta1/service.rb +921 -96
  205. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  206. data/generated/google/apis/cloudiot_v1/classes.rb +270 -373
  207. data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
  208. data/generated/google/apis/cloudiot_v1/service.rb +147 -154
  209. data/generated/google/apis/cloudiot_v1.rb +1 -1
  210. data/generated/google/apis/cloudkms_v1/classes.rb +509 -692
  211. data/generated/google/apis/cloudkms_v1/representations.rb +18 -0
  212. data/generated/google/apis/cloudkms_v1/service.rb +170 -216
  213. data/generated/google/apis/cloudkms_v1.rb +1 -1
  214. data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
  215. data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
  216. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  217. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
  218. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
  219. data/generated/google/apis/cloudresourcemanager_v1/service.rb +62 -60
  220. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  221. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
  222. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
  223. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +26 -25
  224. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  225. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
  226. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
  227. data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
  228. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  229. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
  230. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
  231. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
  232. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  233. data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
  234. data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
  235. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  236. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
  237. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
  238. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  239. data/generated/google/apis/cloudsearch_v1/classes.rb +651 -781
  240. data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
  241. data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
  242. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  243. data/generated/google/apis/cloudshell_v1/classes.rb +256 -105
  244. data/generated/google/apis/cloudshell_v1/representations.rb +143 -10
  245. data/generated/google/apis/cloudshell_v1/service.rb +198 -25
  246. data/generated/google/apis/cloudshell_v1.rb +1 -1
  247. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
  248. data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
  249. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  250. data/generated/google/apis/cloudtasks_v2/classes.rb +612 -933
  251. data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
  252. data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
  253. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  254. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +608 -964
  255. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
  256. data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
  257. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  258. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +616 -938
  259. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  260. data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
  261. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  262. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
  263. data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
  264. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  265. data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
  266. data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
  267. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  268. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
  269. data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
  270. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  271. data/generated/google/apis/composer_v1/classes.rb +189 -242
  272. data/generated/google/apis/composer_v1/service.rb +79 -150
  273. data/generated/google/apis/composer_v1.rb +1 -1
  274. data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
  275. data/generated/google/apis/composer_v1beta1/service.rb +94 -179
  276. data/generated/google/apis/composer_v1beta1.rb +1 -1
  277. data/generated/google/apis/compute_alpha/classes.rb +1227 -186
  278. data/generated/google/apis/compute_alpha/representations.rb +235 -8
  279. data/generated/google/apis/compute_alpha/service.rb +2009 -1024
  280. data/generated/google/apis/compute_alpha.rb +1 -1
  281. data/generated/google/apis/compute_beta/classes.rb +1080 -108
  282. data/generated/google/apis/compute_beta/representations.rb +212 -2
  283. data/generated/google/apis/compute_beta/service.rb +1413 -741
  284. data/generated/google/apis/compute_beta.rb +1 -1
  285. data/generated/google/apis/compute_v1/classes.rb +1512 -106
  286. data/generated/google/apis/compute_v1/representations.rb +470 -1
  287. data/generated/google/apis/compute_v1/service.rb +1625 -285
  288. data/generated/google/apis/compute_v1.rb +1 -1
  289. data/generated/google/apis/container_v1/classes.rb +982 -965
  290. data/generated/google/apis/container_v1/representations.rb +60 -0
  291. data/generated/google/apis/container_v1/service.rb +435 -502
  292. data/generated/google/apis/container_v1.rb +1 -1
  293. data/generated/google/apis/container_v1beta1/classes.rb +1106 -1044
  294. data/generated/google/apis/container_v1beta1/representations.rb +91 -0
  295. data/generated/google/apis/container_v1beta1/service.rb +403 -466
  296. data/generated/google/apis/container_v1beta1.rb +1 -1
  297. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +463 -596
  298. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  299. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
  300. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  301. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +461 -613
  302. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
  303. data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
  304. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  305. data/generated/google/apis/content_v2/classes.rb +515 -1219
  306. data/generated/google/apis/content_v2/service.rb +377 -650
  307. data/generated/google/apis/content_v2.rb +3 -4
  308. data/generated/google/apis/content_v2_1/classes.rb +1108 -1058
  309. data/generated/google/apis/content_v2_1/representations.rb +288 -0
  310. data/generated/google/apis/content_v2_1/service.rb +987 -795
  311. data/generated/google/apis/content_v2_1.rb +3 -4
  312. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  313. data/generated/google/apis/customsearch_v1.rb +1 -1
  314. data/generated/google/apis/datacatalog_v1beta1/classes.rb +413 -573
  315. data/generated/google/apis/datacatalog_v1beta1/representations.rb +6 -0
  316. data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
  317. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  318. data/generated/google/apis/dataflow_v1b3/classes.rb +1174 -973
  319. data/generated/google/apis/dataflow_v1b3/representations.rb +148 -0
  320. data/generated/google/apis/dataflow_v1b3/service.rb +308 -257
  321. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  322. data/generated/google/apis/datafusion_v1/classes.rb +283 -397
  323. data/generated/google/apis/datafusion_v1/representations.rb +5 -0
  324. data/generated/google/apis/datafusion_v1/service.rb +76 -89
  325. data/generated/google/apis/datafusion_v1.rb +5 -8
  326. data/generated/google/apis/datafusion_v1beta1/classes.rb +283 -397
  327. data/generated/google/apis/datafusion_v1beta1/representations.rb +5 -0
  328. data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
  329. data/generated/google/apis/datafusion_v1beta1.rb +5 -8
  330. data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
  331. data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
  332. data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
  333. data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
  334. data/generated/google/apis/dataproc_v1/classes.rb +97 -13
  335. data/generated/google/apis/dataproc_v1/representations.rb +34 -0
  336. data/generated/google/apis/dataproc_v1.rb +1 -1
  337. data/generated/google/apis/dataproc_v1beta2/classes.rb +117 -9
  338. data/generated/google/apis/dataproc_v1beta2/representations.rb +49 -0
  339. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  340. data/generated/google/apis/datastore_v1/classes.rb +334 -476
  341. data/generated/google/apis/datastore_v1/service.rb +52 -63
  342. data/generated/google/apis/datastore_v1.rb +1 -1
  343. data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
  344. data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
  345. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  346. data/generated/google/apis/datastore_v1beta3/classes.rb +259 -375
  347. data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
  348. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  349. data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
  350. data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
  351. data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
  352. data/generated/google/apis/deploymentmanager_v2.rb +6 -4
  353. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
  354. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
  355. data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
  356. data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
  357. data/generated/google/apis/dfareporting_v3_3/classes.rb +162 -339
  358. data/generated/google/apis/dfareporting_v3_3/service.rb +646 -1262
  359. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  360. data/generated/google/apis/dfareporting_v3_4/classes.rb +184 -350
  361. data/generated/google/apis/dfareporting_v3_4/representations.rb +1 -0
  362. data/generated/google/apis/dfareporting_v3_4/service.rb +681 -1261
  363. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  364. data/generated/google/apis/dialogflow_v2/classes.rb +746 -217
  365. data/generated/google/apis/dialogflow_v2/representations.rb +318 -67
  366. data/generated/google/apis/dialogflow_v2.rb +1 -1
  367. data/generated/google/apis/dialogflow_v2beta1/classes.rb +764 -233
  368. data/generated/google/apis/dialogflow_v2beta1/representations.rb +318 -67
  369. data/generated/google/apis/dialogflow_v2beta1/service.rb +556 -331
  370. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  371. data/generated/google/apis/dialogflow_v3beta1/classes.rb +8816 -0
  372. data/generated/google/apis/dialogflow_v3beta1/representations.rb +3725 -0
  373. data/generated/google/apis/dialogflow_v3beta1/service.rb +2825 -0
  374. data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
  375. data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
  376. data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
  377. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  378. data/generated/google/apis/displayvideo_v1/classes.rb +271 -38
  379. data/generated/google/apis/displayvideo_v1/representations.rb +83 -0
  380. data/generated/google/apis/displayvideo_v1/service.rb +287 -32
  381. data/generated/google/apis/displayvideo_v1.rb +1 -1
  382. data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
  383. data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
  384. data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
  385. data/generated/google/apis/displayvideo_v1beta.rb +38 -0
  386. data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
  387. data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
  388. data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
  389. data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
  390. data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
  391. data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
  392. data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
  393. data/generated/google/apis/displayvideo_v1dev.rb +38 -0
  394. data/generated/google/apis/dlp_v2/classes.rb +1111 -1310
  395. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  396. data/generated/google/apis/dlp_v2/service.rb +962 -905
  397. data/generated/google/apis/dlp_v2.rb +1 -1
  398. data/generated/google/apis/dns_v1/classes.rb +356 -198
  399. data/generated/google/apis/dns_v1/representations.rb +83 -0
  400. data/generated/google/apis/dns_v1/service.rb +83 -98
  401. data/generated/google/apis/dns_v1.rb +2 -2
  402. data/generated/google/apis/dns_v1beta2/classes.rb +362 -206
  403. data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
  404. data/generated/google/apis/dns_v1beta2/service.rb +83 -98
  405. data/generated/google/apis/dns_v1beta2.rb +2 -2
  406. data/generated/google/apis/docs_v1/classes.rb +894 -1229
  407. data/generated/google/apis/docs_v1/service.rb +17 -22
  408. data/generated/google/apis/docs_v1.rb +1 -1
  409. data/generated/google/apis/documentai_v1beta2/classes.rb +2253 -824
  410. data/generated/google/apis/documentai_v1beta2/representations.rb +701 -0
  411. data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
  412. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  413. data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
  414. data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
  415. data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
  416. data/generated/google/apis/{securitycenter_v1p1alpha1.rb → documentai_v1beta3.rb} +11 -10
  417. data/generated/google/apis/domains_v1alpha2/classes.rb +1540 -0
  418. data/generated/google/apis/domains_v1alpha2/representations.rb +606 -0
  419. data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
  420. data/generated/google/apis/domains_v1alpha2.rb +34 -0
  421. data/generated/google/apis/domains_v1beta1/classes.rb +1540 -0
  422. data/generated/google/apis/domains_v1beta1/representations.rb +606 -0
  423. data/generated/google/apis/domains_v1beta1/service.rb +805 -0
  424. data/generated/google/apis/domains_v1beta1.rb +34 -0
  425. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -12
  426. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
  427. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
  428. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +13 -20
  429. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
  430. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
  431. data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
  432. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  433. data/generated/google/apis/drive_v2/classes.rb +18 -7
  434. data/generated/google/apis/drive_v2/representations.rb +1 -0
  435. data/generated/google/apis/drive_v2/service.rb +79 -15
  436. data/generated/google/apis/drive_v2.rb +1 -1
  437. data/generated/google/apis/drive_v3/classes.rb +18 -8
  438. data/generated/google/apis/drive_v3/representations.rb +1 -0
  439. data/generated/google/apis/drive_v3/service.rb +59 -11
  440. data/generated/google/apis/drive_v3.rb +1 -1
  441. data/generated/google/apis/eventarc_v1beta1/classes.rb +931 -0
  442. data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
  443. data/generated/google/apis/{memcache_v1 → eventarc_v1beta1}/service.rb +236 -215
  444. data/generated/google/apis/eventarc_v1beta1.rb +34 -0
  445. data/generated/google/apis/file_v1/classes.rb +155 -174
  446. data/generated/google/apis/file_v1/service.rb +43 -52
  447. data/generated/google/apis/file_v1.rb +1 -1
  448. data/generated/google/apis/file_v1beta1/classes.rb +335 -194
  449. data/generated/google/apis/file_v1beta1/representations.rb +55 -0
  450. data/generated/google/apis/file_v1beta1/service.rb +267 -55
  451. data/generated/google/apis/file_v1beta1.rb +1 -1
  452. data/generated/google/apis/firebase_v1beta1/classes.rb +33 -51
  453. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
  454. data/generated/google/apis/firebase_v1beta1/service.rb +21 -1
  455. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  456. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  457. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +188 -0
  458. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +83 -0
  459. data/generated/google/apis/firebasehosting_v1beta1/service.rb +418 -4
  460. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  461. data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -8
  462. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -1
  463. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  464. data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
  465. data/generated/google/apis/firebaserules_v1/service.rb +87 -110
  466. data/generated/google/apis/firebaserules_v1.rb +1 -1
  467. data/generated/google/apis/firestore_v1/classes.rb +406 -502
  468. data/generated/google/apis/firestore_v1/service.rb +165 -201
  469. data/generated/google/apis/firestore_v1.rb +1 -1
  470. data/generated/google/apis/firestore_v1beta1/classes.rb +338 -413
  471. data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
  472. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  473. data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
  474. data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
  475. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  476. data/generated/google/apis/fitness_v1/classes.rb +982 -0
  477. data/generated/google/apis/fitness_v1/representations.rb +398 -0
  478. data/generated/google/apis/fitness_v1/service.rb +628 -0
  479. data/generated/google/apis/fitness_v1.rb +97 -0
  480. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
  481. data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
  482. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  483. data/generated/google/apis/games_management_v1management/classes.rb +14 -20
  484. data/generated/google/apis/games_management_v1management/service.rb +35 -36
  485. data/generated/google/apis/games_management_v1management.rb +2 -3
  486. data/generated/google/apis/games_v1/classes.rb +376 -83
  487. data/generated/google/apis/games_v1/representations.rb +118 -0
  488. data/generated/google/apis/games_v1/service.rb +118 -90
  489. data/generated/google/apis/games_v1.rb +2 -3
  490. data/generated/google/apis/gameservices_v1/classes.rb +22 -14
  491. data/generated/google/apis/gameservices_v1/representations.rb +1 -0
  492. data/generated/google/apis/gameservices_v1/service.rb +54 -51
  493. data/generated/google/apis/gameservices_v1.rb +1 -1
  494. data/generated/google/apis/gameservices_v1beta/classes.rb +22 -14
  495. data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
  496. data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
  497. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  498. data/generated/google/apis/genomics_v1/classes.rb +70 -76
  499. data/generated/google/apis/genomics_v1/service.rb +28 -43
  500. data/generated/google/apis/genomics_v1.rb +1 -1
  501. data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
  502. data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
  503. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  504. data/generated/google/apis/genomics_v2alpha1/classes.rb +356 -275
  505. data/generated/google/apis/genomics_v2alpha1/representations.rb +48 -0
  506. data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
  507. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  508. data/generated/google/apis/gmail_v1/classes.rb +37 -43
  509. data/generated/google/apis/gmail_v1/service.rb +5 -4
  510. data/generated/google/apis/gmail_v1.rb +1 -1
  511. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +11 -11
  512. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
  513. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  514. data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
  515. data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
  516. data/generated/google/apis/groupsmigration_v1.rb +35 -0
  517. data/generated/google/apis/healthcare_v1/classes.rb +637 -826
  518. data/generated/google/apis/healthcare_v1/representations.rb +32 -0
  519. data/generated/google/apis/healthcare_v1/service.rb +842 -855
  520. data/generated/google/apis/healthcare_v1.rb +1 -1
  521. data/generated/google/apis/healthcare_v1beta1/classes.rb +1937 -1299
  522. data/generated/google/apis/healthcare_v1beta1/representations.rb +534 -65
  523. data/generated/google/apis/healthcare_v1beta1/service.rb +2534 -1293
  524. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  525. data/generated/google/apis/homegraph_v1/classes.rb +76 -164
  526. data/generated/google/apis/homegraph_v1/service.rb +23 -35
  527. data/generated/google/apis/homegraph_v1.rb +4 -1
  528. data/generated/google/apis/iam_v1/classes.rb +395 -592
  529. data/generated/google/apis/iam_v1/representations.rb +1 -0
  530. data/generated/google/apis/iam_v1/service.rb +427 -555
  531. data/generated/google/apis/iam_v1.rb +1 -1
  532. data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
  533. data/generated/google/apis/iamcredentials_v1/service.rb +14 -13
  534. data/generated/google/apis/iamcredentials_v1.rb +3 -2
  535. data/generated/google/apis/iap_v1/classes.rb +253 -355
  536. data/generated/google/apis/iap_v1/representations.rb +1 -0
  537. data/generated/google/apis/iap_v1/service.rb +61 -71
  538. data/generated/google/apis/iap_v1.rb +1 -1
  539. data/generated/google/apis/iap_v1beta1/classes.rb +164 -254
  540. data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
  541. data/generated/google/apis/iap_v1beta1/service.rb +17 -19
  542. data/generated/google/apis/iap_v1beta1.rb +1 -1
  543. data/generated/google/apis/indexing_v3/classes.rb +11 -11
  544. data/generated/google/apis/indexing_v3.rb +1 -1
  545. data/generated/google/apis/jobs_v2/classes.rb +1584 -1086
  546. data/generated/google/apis/jobs_v2/representations.rb +272 -0
  547. data/generated/google/apis/jobs_v2/service.rb +85 -126
  548. data/generated/google/apis/jobs_v2.rb +1 -1
  549. data/generated/google/apis/jobs_v3/classes.rb +1559 -980
  550. data/generated/google/apis/jobs_v3/representations.rb +272 -0
  551. data/generated/google/apis/jobs_v3/service.rb +101 -139
  552. data/generated/google/apis/jobs_v3.rb +1 -1
  553. data/generated/google/apis/jobs_v3p1beta1/classes.rb +1521 -1023
  554. data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
  555. data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
  556. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  557. data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
  558. data/generated/google/apis/kgsearch_v1/service.rb +11 -11
  559. data/generated/google/apis/kgsearch_v1.rb +1 -1
  560. data/generated/google/apis/licensing_v1/classes.rb +1 -1
  561. data/generated/google/apis/licensing_v1/service.rb +56 -86
  562. data/generated/google/apis/licensing_v1.rb +4 -3
  563. data/generated/google/apis/lifesciences_v2beta/classes.rb +366 -290
  564. data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
  565. data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
  566. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  567. data/generated/google/apis/localservices_v1/classes.rb +426 -0
  568. data/generated/google/apis/localservices_v1/representations.rb +174 -0
  569. data/generated/google/apis/localservices_v1/service.rb +199 -0
  570. data/generated/google/apis/{appsactivity_v1.rb → localservices_v1.rb} +8 -11
  571. data/generated/google/apis/logging_v2/classes.rb +306 -232
  572. data/generated/google/apis/logging_v2/representations.rb +79 -0
  573. data/generated/google/apis/logging_v2/service.rb +3307 -1579
  574. data/generated/google/apis/logging_v2.rb +1 -1
  575. data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
  576. data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
  577. data/generated/google/apis/managedidentities_v1/service.rb +1 -4
  578. data/generated/google/apis/managedidentities_v1.rb +1 -1
  579. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -1
  580. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -0
  581. data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
  582. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  583. data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -1
  584. data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -0
  585. data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
  586. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  587. data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
  588. data/generated/google/apis/manufacturers_v1/service.rb +44 -55
  589. data/generated/google/apis/manufacturers_v1.rb +1 -1
  590. data/generated/google/apis/memcache_v1beta2/classes.rb +171 -250
  591. data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
  592. data/generated/google/apis/memcache_v1beta2/service.rb +60 -73
  593. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  594. data/generated/google/apis/ml_v1/classes.rb +1122 -1149
  595. data/generated/google/apis/ml_v1/representations.rb +82 -0
  596. data/generated/google/apis/ml_v1/service.rb +194 -253
  597. data/generated/google/apis/ml_v1.rb +1 -1
  598. data/generated/google/apis/monitoring_v1/classes.rb +107 -26
  599. data/generated/google/apis/monitoring_v1/representations.rb +35 -0
  600. data/generated/google/apis/monitoring_v1/service.rb +10 -11
  601. data/generated/google/apis/monitoring_v1.rb +1 -1
  602. data/generated/google/apis/monitoring_v3/classes.rb +303 -345
  603. data/generated/google/apis/monitoring_v3/representations.rb +18 -0
  604. data/generated/google/apis/monitoring_v3/service.rb +176 -146
  605. data/generated/google/apis/monitoring_v3.rb +1 -1
  606. data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
  607. data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
  608. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  609. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +456 -429
  610. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +63 -0
  611. data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
  612. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  613. data/generated/google/apis/osconfig_v1/classes.rb +154 -902
  614. data/generated/google/apis/osconfig_v1/representations.rb +0 -337
  615. data/generated/google/apis/osconfig_v1/service.rb +26 -31
  616. data/generated/google/apis/osconfig_v1.rb +3 -3
  617. data/generated/google/apis/osconfig_v1beta/classes.rb +327 -411
  618. data/generated/google/apis/osconfig_v1beta/service.rb +43 -56
  619. data/generated/google/apis/osconfig_v1beta.rb +3 -3
  620. data/generated/google/apis/oslogin_v1/classes.rb +14 -12
  621. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  622. data/generated/google/apis/oslogin_v1/service.rb +12 -16
  623. data/generated/google/apis/oslogin_v1.rb +1 -1
  624. data/generated/google/apis/oslogin_v1alpha/classes.rb +16 -14
  625. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  626. data/generated/google/apis/oslogin_v1alpha/service.rb +17 -17
  627. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  628. data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
  629. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  630. data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
  631. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  632. data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
  633. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
  634. data/generated/google/apis/pagespeedonline_v5.rb +2 -2
  635. data/generated/google/apis/people_v1/classes.rb +173 -63
  636. data/generated/google/apis/people_v1/representations.rb +41 -0
  637. data/generated/google/apis/people_v1/service.rb +63 -61
  638. data/generated/google/apis/people_v1.rb +1 -1
  639. data/generated/google/apis/playablelocations_v3/classes.rb +114 -161
  640. data/generated/google/apis/playablelocations_v3/service.rb +10 -10
  641. data/generated/google/apis/playablelocations_v3.rb +1 -1
  642. data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
  643. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  644. data/generated/google/apis/poly_v1/classes.rb +65 -79
  645. data/generated/google/apis/poly_v1/service.rb +50 -63
  646. data/generated/google/apis/poly_v1.rb +3 -4
  647. data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
  648. data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
  649. data/generated/google/apis/privateca_v1beta1/service.rb +1487 -0
  650. data/generated/google/apis/privateca_v1beta1.rb +34 -0
  651. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +26 -0
  652. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
  653. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +644 -56
  654. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  655. data/generated/google/apis/pubsub_v1/classes.rb +399 -518
  656. data/generated/google/apis/pubsub_v1/representations.rb +2 -0
  657. data/generated/google/apis/pubsub_v1/service.rb +221 -247
  658. data/generated/google/apis/pubsub_v1.rb +1 -1
  659. data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
  660. data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
  661. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  662. data/generated/google/apis/pubsub_v1beta2/classes.rb +251 -354
  663. data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
  664. data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
  665. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  666. data/generated/google/apis/pubsublite_v1/classes.rb +461 -0
  667. data/generated/google/apis/pubsublite_v1/representations.rb +261 -0
  668. data/generated/google/apis/pubsublite_v1/service.rb +558 -0
  669. data/generated/google/apis/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
  670. data/generated/google/apis/realtimebidding_v1/classes.rb +84 -123
  671. data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
  672. data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
  673. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  674. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +367 -456
  675. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -16
  676. data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
  677. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  678. data/generated/google/apis/recommender_v1/classes.rb +1 -1
  679. data/generated/google/apis/recommender_v1/service.rb +4 -2
  680. data/generated/google/apis/recommender_v1.rb +1 -1
  681. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
  682. data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
  683. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  684. data/generated/google/apis/redis_v1/classes.rb +91 -513
  685. data/generated/google/apis/redis_v1/representations.rb +0 -139
  686. data/generated/google/apis/redis_v1/service.rb +92 -109
  687. data/generated/google/apis/redis_v1.rb +1 -1
  688. data/generated/google/apis/redis_v1beta1/classes.rb +123 -517
  689. data/generated/google/apis/redis_v1beta1/representations.rb +12 -137
  690. data/generated/google/apis/redis_v1beta1/service.rb +126 -109
  691. data/generated/google/apis/redis_v1beta1.rb +1 -1
  692. data/generated/google/apis/remotebuildexecution_v1/classes.rb +957 -1078
  693. data/generated/google/apis/remotebuildexecution_v1/representations.rb +62 -0
  694. data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
  695. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  696. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +952 -1071
  697. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +62 -0
  698. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
  699. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  700. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1105 -1250
  701. data/generated/google/apis/remotebuildexecution_v2/representations.rb +62 -0
  702. data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
  703. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  704. data/generated/google/apis/reseller_v1/classes.rb +151 -219
  705. data/generated/google/apis/reseller_v1/service.rb +122 -173
  706. data/generated/google/apis/reseller_v1.rb +2 -2
  707. data/generated/google/apis/run_v1/classes.rb +19 -138
  708. data/generated/google/apis/run_v1/representations.rb +1 -62
  709. data/generated/google/apis/run_v1/service.rb +0 -342
  710. data/generated/google/apis/run_v1.rb +1 -1
  711. data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
  712. data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
  713. data/generated/google/apis/run_v1alpha1.rb +1 -1
  714. data/generated/google/apis/run_v1beta1/classes.rb +3 -2
  715. data/generated/google/apis/run_v1beta1.rb +1 -1
  716. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +301 -412
  717. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
  718. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
  719. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  720. data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
  721. data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
  722. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  723. data/generated/google/apis/sasportal_v1alpha1/classes.rb +26 -0
  724. data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
  725. data/generated/google/apis/sasportal_v1alpha1/service.rb +644 -56
  726. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  727. data/generated/google/apis/script_v1/classes.rb +88 -111
  728. data/generated/google/apis/script_v1/service.rb +63 -69
  729. data/generated/google/apis/script_v1.rb +1 -1
  730. data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
  731. data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
  732. data/generated/google/apis/searchconsole_v1/service.rb +287 -0
  733. data/generated/google/apis/searchconsole_v1.rb +7 -1
  734. data/generated/google/apis/secretmanager_v1/classes.rb +378 -365
  735. data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
  736. data/generated/google/apis/secretmanager_v1/service.rb +66 -82
  737. data/generated/google/apis/secretmanager_v1.rb +1 -1
  738. data/generated/google/apis/secretmanager_v1beta1/classes.rb +217 -363
  739. data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
  740. data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
  741. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  742. data/generated/google/apis/securitycenter_v1/classes.rb +20 -204
  743. data/generated/google/apis/securitycenter_v1/representations.rb +1 -72
  744. data/generated/google/apis/securitycenter_v1.rb +1 -1
  745. data/generated/google/apis/securitycenter_v1beta1/classes.rb +22 -204
  746. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -72
  747. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  748. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +275 -291
  749. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +83 -84
  750. data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
  751. data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
  752. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +35 -123
  753. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
  754. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +32 -30
  755. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  756. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +24 -112
  757. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
  758. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  759. data/generated/google/apis/servicecontrol_v1/classes.rb +601 -642
  760. data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
  761. data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
  762. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  763. data/generated/google/apis/servicecontrol_v2/classes.rb +343 -325
  764. data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
  765. data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
  766. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  767. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +221 -333
  768. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
  769. data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
  770. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  771. data/generated/google/apis/servicemanagement_v1/classes.rb +1244 -2174
  772. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -31
  773. data/generated/google/apis/servicemanagement_v1/service.rb +141 -228
  774. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  775. data/generated/google/apis/servicenetworking_v1/classes.rb +278 -121
  776. data/generated/google/apis/servicenetworking_v1/representations.rb +115 -15
  777. data/generated/google/apis/servicenetworking_v1/service.rb +118 -2
  778. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  779. data/generated/google/apis/servicenetworking_v1beta/classes.rb +213 -112
  780. data/generated/google/apis/servicenetworking_v1beta/representations.rb +84 -14
  781. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  782. data/generated/google/apis/serviceusage_v1/classes.rb +57 -111
  783. data/generated/google/apis/serviceusage_v1/representations.rb +4 -18
  784. data/generated/google/apis/serviceusage_v1/service.rb +5 -1
  785. data/generated/google/apis/serviceusage_v1.rb +1 -1
  786. data/generated/google/apis/serviceusage_v1beta1/classes.rb +122 -112
  787. data/generated/google/apis/serviceusage_v1beta1/representations.rb +23 -18
  788. data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
  789. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  790. data/generated/google/apis/sheets_v4/classes.rb +4029 -5014
  791. data/generated/google/apis/sheets_v4/representations.rb +625 -0
  792. data/generated/google/apis/sheets_v4/service.rb +113 -149
  793. data/generated/google/apis/sheets_v4.rb +1 -1
  794. data/generated/google/apis/site_verification_v1.rb +1 -1
  795. data/generated/google/apis/slides_v1/classes.rb +841 -1114
  796. data/generated/google/apis/slides_v1/service.rb +23 -30
  797. data/generated/google/apis/slides_v1.rb +1 -1
  798. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +273 -0
  799. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +157 -0
  800. data/generated/google/apis/smartdevicemanagement_v1/service.rb +304 -0
  801. data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
  802. data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
  803. data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
  804. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  805. data/generated/google/apis/spanner_v1/classes.rb +1553 -2157
  806. data/generated/google/apis/spanner_v1/representations.rb +1 -0
  807. data/generated/google/apis/spanner_v1/service.rb +443 -618
  808. data/generated/google/apis/spanner_v1.rb +1 -1
  809. data/generated/google/apis/speech_v1/classes.rb +174 -220
  810. data/generated/google/apis/speech_v1/service.rb +27 -32
  811. data/generated/google/apis/speech_v1.rb +1 -1
  812. data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
  813. data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
  814. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  815. data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
  816. data/generated/google/apis/speech_v2beta1/service.rb +10 -12
  817. data/generated/google/apis/speech_v2beta1.rb +1 -1
  818. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +537 -452
  819. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +142 -87
  820. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +295 -300
  821. data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
  822. data/generated/google/apis/storage_v1/classes.rb +10 -17
  823. data/generated/google/apis/storage_v1/representations.rb +2 -3
  824. data/generated/google/apis/storage_v1/service.rb +3 -2
  825. data/generated/google/apis/storage_v1.rb +1 -1
  826. data/generated/google/apis/storagetransfer_v1/classes.rb +301 -349
  827. data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
  828. data/generated/google/apis/storagetransfer_v1/service.rb +53 -72
  829. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  830. data/generated/google/apis/streetviewpublish_v1/classes.rb +110 -152
  831. data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
  832. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  833. data/generated/google/apis/sts_v1/classes.rb +121 -0
  834. data/generated/google/apis/sts_v1/representations.rb +59 -0
  835. data/generated/google/apis/sts_v1/service.rb +90 -0
  836. data/generated/google/apis/sts_v1.rb +32 -0
  837. data/generated/google/apis/sts_v1beta/classes.rb +191 -0
  838. data/generated/google/apis/sts_v1beta/representations.rb +61 -0
  839. data/generated/google/apis/sts_v1beta/service.rb +92 -0
  840. data/generated/google/apis/sts_v1beta.rb +32 -0
  841. data/generated/google/apis/tagmanager_v1/service.rb +2 -2
  842. data/generated/google/apis/tagmanager_v1.rb +1 -1
  843. data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
  844. data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
  845. data/generated/google/apis/tagmanager_v2/service.rb +2 -2
  846. data/generated/google/apis/tagmanager_v2.rb +1 -1
  847. data/generated/google/apis/tasks_v1/classes.rb +21 -22
  848. data/generated/google/apis/tasks_v1/service.rb +19 -19
  849. data/generated/google/apis/tasks_v1.rb +1 -1
  850. data/generated/google/apis/testing_v1/classes.rb +384 -390
  851. data/generated/google/apis/testing_v1/representations.rb +23 -0
  852. data/generated/google/apis/testing_v1/service.rb +22 -28
  853. data/generated/google/apis/testing_v1.rb +1 -1
  854. data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
  855. data/generated/google/apis/texttospeech_v1/service.rb +9 -10
  856. data/generated/google/apis/texttospeech_v1.rb +1 -1
  857. data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
  858. data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
  859. data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
  860. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  861. data/generated/google/apis/toolresults_v1beta3/classes.rb +20 -0
  862. data/generated/google/apis/toolresults_v1beta3/representations.rb +13 -0
  863. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  864. data/generated/google/apis/tpu_v1/classes.rb +57 -3
  865. data/generated/google/apis/tpu_v1/representations.rb +19 -0
  866. data/generated/google/apis/tpu_v1/service.rb +8 -8
  867. data/generated/google/apis/tpu_v1.rb +1 -1
  868. data/generated/google/apis/tpu_v1alpha1/classes.rb +57 -3
  869. data/generated/google/apis/tpu_v1alpha1/representations.rb +19 -0
  870. data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
  871. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  872. data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
  873. data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
  874. data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
  875. data/generated/google/apis/trafficdirector_v2.rb +34 -0
  876. data/generated/google/apis/translate_v3/classes.rb +151 -177
  877. data/generated/google/apis/translate_v3/service.rb +122 -151
  878. data/generated/google/apis/translate_v3.rb +1 -1
  879. data/generated/google/apis/translate_v3beta1/classes.rb +150 -170
  880. data/generated/google/apis/translate_v3beta1/service.rb +122 -151
  881. data/generated/google/apis/translate_v3beta1.rb +1 -1
  882. data/generated/google/apis/vault_v1/classes.rb +413 -103
  883. data/generated/google/apis/vault_v1/representations.rb +162 -0
  884. data/generated/google/apis/vault_v1/service.rb +182 -37
  885. data/generated/google/apis/vault_v1.rb +1 -1
  886. data/generated/google/apis/vectortile_v1/classes.rb +185 -267
  887. data/generated/google/apis/vectortile_v1/service.rb +75 -88
  888. data/generated/google/apis/vectortile_v1.rb +1 -1
  889. data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
  890. data/generated/google/apis/verifiedaccess_v1.rb +1 -1
  891. data/generated/google/apis/videointelligence_v1/classes.rb +1493 -935
  892. data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
  893. data/generated/google/apis/videointelligence_v1/service.rb +38 -77
  894. data/generated/google/apis/videointelligence_v1.rb +1 -1
  895. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1488 -928
  896. data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
  897. data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
  898. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  899. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1482 -922
  900. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
  901. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
  902. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  903. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1485 -925
  904. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
  905. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
  906. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  907. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1410 -937
  908. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
  909. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
  910. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  911. data/generated/google/apis/vision_v1/classes.rb +16 -16
  912. data/generated/google/apis/vision_v1.rb +1 -1
  913. data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
  914. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  915. data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
  916. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  917. data/generated/google/apis/webfonts_v1/classes.rb +1 -2
  918. data/generated/google/apis/webfonts_v1/service.rb +2 -4
  919. data/generated/google/apis/webfonts_v1.rb +2 -3
  920. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  921. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  922. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  923. data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
  924. data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
  925. data/generated/google/apis/{securitycenter_v1p1alpha1 → workflowexecutions_v1beta}/service.rb +73 -69
  926. data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
  927. data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
  928. data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
  929. data/generated/google/apis/workflows_v1beta/service.rb +438 -0
  930. data/generated/google/apis/workflows_v1beta.rb +35 -0
  931. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  932. data/generated/google/apis/youtube_v3/classes.rb +0 -586
  933. data/generated/google/apis/youtube_v3/representations.rb +0 -269
  934. data/generated/google/apis/youtube_v3/service.rb +3 -120
  935. data/generated/google/apis/youtube_v3.rb +1 -1
  936. data/google-api-client.gemspec +25 -24
  937. data/lib/google/apis/core/api_command.rb +1 -0
  938. data/lib/google/apis/core/http_command.rb +2 -1
  939. data/lib/google/apis/options.rb +8 -5
  940. data/lib/google/apis/version.rb +1 -1
  941. data/synth.py +40 -0
  942. metadata +134 -41
  943. data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
  944. data/generated/google/apis/accessapproval_v1beta1/representations.rb +0 -203
  945. data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
  946. data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
  947. data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
  948. data/generated/google/apis/appsactivity_v1/service.rb +0 -126
  949. data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
  950. data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
  951. data/generated/google/apis/dns_v2beta1/service.rb +0 -928
  952. data/generated/google/apis/dns_v2beta1.rb +0 -43
  953. data/generated/google/apis/memcache_v1/classes.rb +0 -1157
  954. data/generated/google/apis/plus_v1/classes.rb +0 -2094
  955. data/generated/google/apis/plus_v1/representations.rb +0 -907
  956. data/generated/google/apis/plus_v1/service.rb +0 -451
  957. data/generated/google/apis/plus_v1.rb +0 -43
  958. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
  959. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
  960. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
  961. data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
  962. data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
  963. data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
  964. data/generated/google/apis/storage_v1beta2.rb +0 -40
@@ -20,10 +20,11 @@ require 'google/apis/errors'
20
20
  module Google
21
21
  module Apis
22
22
  module AdminDirectoryV1
23
- # Admin Directory API
23
+ # Admin SDK
24
24
  #
25
- # Manages enterprise resources such as users and groups, administrative
26
- # notifications, security features, and more.
25
+ # Admin SDK lets administrators of enterprise domains to view and manage
26
+ # resources like user, groups etc. It also provides audit and usage reports of
27
+ # domain.
27
28
  #
28
29
  # @example
29
30
  # require 'google/apis/admin_directory_v1'
@@ -31,7 +32,7 @@ module Google
31
32
  # Admin = Google::Apis::AdminDirectoryV1 # Alias the module
32
33
  # service = Admin::DirectoryService.new
33
34
  #
34
- # @see https://developers.google.com/admin-sdk/directory/
35
+ # @see http://developers.google.com/admin-sdk/
35
36
  class DirectoryService < Google::Apis::Core::BaseService
36
37
  # @return [String]
37
38
  # API key. Your API key identifies your project and provides you with API access,
@@ -39,16 +40,12 @@ module Google
39
40
  attr_accessor :key
40
41
 
41
42
  # @return [String]
42
- # An opaque string that represents a user for quota purposes. Must not exceed 40
43
- # characters.
43
+ # Available to use for quota purposes for server-side applications. Can be any
44
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
44
45
  attr_accessor :quota_user
45
46
 
46
- # @return [String]
47
- # Deprecated. Please use quotaUser instead.
48
- attr_accessor :user_ip
49
-
50
47
  def initialize
51
- super('https://www.googleapis.com/', 'admin/directory/v1/')
48
+ super('https://www.googleapis.com/', '')
52
49
  @batch_path = 'batch/admin/directory_v1'
53
50
  end
54
51
 
@@ -61,10 +58,8 @@ module Google
61
58
  # @param [String] fields
62
59
  # Selector specifying which fields to include in a partial response.
63
60
  # @param [String] quota_user
64
- # An opaque string that represents a user for quota purposes. Must not exceed 40
65
- # characters.
66
- # @param [String] user_ip
67
- # Deprecated. Please use quotaUser instead.
61
+ # Available to use for quota purposes for server-side applications. Can be any
62
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
68
63
  # @param [Google::Apis::RequestOptions] options
69
64
  # Request-specific options
70
65
  #
@@ -77,13 +72,12 @@ module Google
77
72
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
78
73
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
79
74
  # @raise [Google::Apis::AuthorizationError] Authorization is required
80
- def delete_asp(user_key, code_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
81
- command = make_simple_command(:delete, 'users/{userKey}/asps/{codeId}', options)
75
+ def delete_asp(user_key, code_id, fields: nil, quota_user: nil, options: nil, &block)
76
+ command = make_simple_command(:delete, 'admin/directory/v1/users/{userKey}/asps/{codeId}', options)
82
77
  command.params['userKey'] = user_key unless user_key.nil?
83
78
  command.params['codeId'] = code_id unless code_id.nil?
84
79
  command.query['fields'] = fields unless fields.nil?
85
80
  command.query['quotaUser'] = quota_user unless quota_user.nil?
86
- command.query['userIp'] = user_ip unless user_ip.nil?
87
81
  execute_or_queue_command(command, &block)
88
82
  end
89
83
 
@@ -96,10 +90,8 @@ module Google
96
90
  # @param [String] fields
97
91
  # Selector specifying which fields to include in a partial response.
98
92
  # @param [String] quota_user
99
- # An opaque string that represents a user for quota purposes. Must not exceed 40
100
- # characters.
101
- # @param [String] user_ip
102
- # Deprecated. Please use quotaUser instead.
93
+ # Available to use for quota purposes for server-side applications. Can be any
94
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
103
95
  # @param [Google::Apis::RequestOptions] options
104
96
  # Request-specific options
105
97
  #
@@ -112,15 +104,14 @@ module Google
112
104
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
113
105
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
114
106
  # @raise [Google::Apis::AuthorizationError] Authorization is required
115
- def get_asp(user_key, code_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
116
- command = make_simple_command(:get, 'users/{userKey}/asps/{codeId}', options)
107
+ def get_asp(user_key, code_id, fields: nil, quota_user: nil, options: nil, &block)
108
+ command = make_simple_command(:get, 'admin/directory/v1/users/{userKey}/asps/{codeId}', options)
117
109
  command.response_representation = Google::Apis::AdminDirectoryV1::Asp::Representation
118
110
  command.response_class = Google::Apis::AdminDirectoryV1::Asp
119
111
  command.params['userKey'] = user_key unless user_key.nil?
120
112
  command.params['codeId'] = code_id unless code_id.nil?
121
113
  command.query['fields'] = fields unless fields.nil?
122
114
  command.query['quotaUser'] = quota_user unless quota_user.nil?
123
- command.query['userIp'] = user_ip unless user_ip.nil?
124
115
  execute_or_queue_command(command, &block)
125
116
  end
126
117
 
@@ -131,10 +122,8 @@ module Google
131
122
  # @param [String] fields
132
123
  # Selector specifying which fields to include in a partial response.
133
124
  # @param [String] quota_user
134
- # An opaque string that represents a user for quota purposes. Must not exceed 40
135
- # characters.
136
- # @param [String] user_ip
137
- # Deprecated. Please use quotaUser instead.
125
+ # Available to use for quota purposes for server-side applications. Can be any
126
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
138
127
  # @param [Google::Apis::RequestOptions] options
139
128
  # Request-specific options
140
129
  #
@@ -147,26 +136,23 @@ module Google
147
136
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
148
137
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
149
138
  # @raise [Google::Apis::AuthorizationError] Authorization is required
150
- def list_asps(user_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
151
- command = make_simple_command(:get, 'users/{userKey}/asps', options)
139
+ def list_asps(user_key, fields: nil, quota_user: nil, options: nil, &block)
140
+ command = make_simple_command(:get, 'admin/directory/v1/users/{userKey}/asps', options)
152
141
  command.response_representation = Google::Apis::AdminDirectoryV1::Asps::Representation
153
142
  command.response_class = Google::Apis::AdminDirectoryV1::Asps
154
143
  command.params['userKey'] = user_key unless user_key.nil?
155
144
  command.query['fields'] = fields unless fields.nil?
156
145
  command.query['quotaUser'] = quota_user unless quota_user.nil?
157
- command.query['userIp'] = user_ip unless user_ip.nil?
158
146
  execute_or_queue_command(command, &block)
159
147
  end
160
148
 
161
- # Stop watching resources through this channel
149
+ # Stop watching resources through this channel.
162
150
  # @param [Google::Apis::AdminDirectoryV1::Channel] channel_object
163
151
  # @param [String] fields
164
152
  # Selector specifying which fields to include in a partial response.
165
153
  # @param [String] quota_user
166
- # An opaque string that represents a user for quota purposes. Must not exceed 40
167
- # characters.
168
- # @param [String] user_ip
169
- # Deprecated. Please use quotaUser instead.
154
+ # Available to use for quota purposes for server-side applications. Can be any
155
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
170
156
  # @param [Google::Apis::RequestOptions] options
171
157
  # Request-specific options
172
158
  #
@@ -179,13 +165,12 @@ module Google
179
165
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
180
166
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
181
167
  # @raise [Google::Apis::AuthorizationError] Authorization is required
182
- def stop_channel(channel_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
183
- command = make_simple_command(:post, '/admin/directory_v1/channels/stop', options)
168
+ def stop_channel(channel_object = nil, fields: nil, quota_user: nil, options: nil, &block)
169
+ command = make_simple_command(:post, 'admin/directory_v1/channels/stop', options)
184
170
  command.request_representation = Google::Apis::AdminDirectoryV1::Channel::Representation
185
171
  command.request_object = channel_object
186
172
  command.query['fields'] = fields unless fields.nil?
187
173
  command.query['quotaUser'] = quota_user unless quota_user.nil?
188
- command.query['userIp'] = user_ip unless user_ip.nil?
189
174
  execute_or_queue_command(command, &block)
190
175
  end
191
176
 
@@ -198,10 +183,8 @@ module Google
198
183
  # @param [String] fields
199
184
  # Selector specifying which fields to include in a partial response.
200
185
  # @param [String] quota_user
201
- # An opaque string that represents a user for quota purposes. Must not exceed 40
202
- # characters.
203
- # @param [String] user_ip
204
- # Deprecated. Please use quotaUser instead.
186
+ # Available to use for quota purposes for server-side applications. Can be any
187
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
205
188
  # @param [Google::Apis::RequestOptions] options
206
189
  # Request-specific options
207
190
  #
@@ -214,15 +197,14 @@ module Google
214
197
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
215
198
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
216
199
  # @raise [Google::Apis::AuthorizationError] Authorization is required
217
- def action_chromeosdevice(customer_id, resource_id, chrome_os_device_action_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
218
- command = make_simple_command(:post, 'customer/{customerId}/devices/chromeos/{resourceId}/action', options)
200
+ def action_chromeosdevice(customer_id, resource_id, chrome_os_device_action_object = nil, fields: nil, quota_user: nil, options: nil, &block)
201
+ command = make_simple_command(:post, 'admin/directory/v1/customer/{customerId}/devices/chromeos/{resourceId}/action', options)
219
202
  command.request_representation = Google::Apis::AdminDirectoryV1::ChromeOsDeviceAction::Representation
220
203
  command.request_object = chrome_os_device_action_object
221
204
  command.params['customerId'] = customer_id unless customer_id.nil?
222
205
  command.params['resourceId'] = resource_id unless resource_id.nil?
223
206
  command.query['fields'] = fields unless fields.nil?
224
207
  command.query['quotaUser'] = quota_user unless quota_user.nil?
225
- command.query['userIp'] = user_ip unless user_ip.nil?
226
208
  execute_or_queue_command(command, &block)
227
209
  end
228
210
 
@@ -236,10 +218,8 @@ module Google
236
218
  # @param [String] fields
237
219
  # Selector specifying which fields to include in a partial response.
238
220
  # @param [String] quota_user
239
- # An opaque string that represents a user for quota purposes. Must not exceed 40
240
- # characters.
241
- # @param [String] user_ip
242
- # Deprecated. Please use quotaUser instead.
221
+ # Available to use for quota purposes for server-side applications. Can be any
222
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
243
223
  # @param [Google::Apis::RequestOptions] options
244
224
  # Request-specific options
245
225
  #
@@ -252,8 +232,8 @@ module Google
252
232
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
253
233
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
254
234
  # @raise [Google::Apis::AuthorizationError] Authorization is required
255
- def get_chrome_os_device(customer_id, device_id, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
256
- command = make_simple_command(:get, 'customer/{customerId}/devices/chromeos/{deviceId}', options)
235
+ def get_chrome_os_device(customer_id, device_id, projection: nil, fields: nil, quota_user: nil, options: nil, &block)
236
+ command = make_simple_command(:get, 'admin/directory/v1/customer/{customerId}/devices/chromeos/{deviceId}', options)
257
237
  command.response_representation = Google::Apis::AdminDirectoryV1::ChromeOsDevice::Representation
258
238
  command.response_class = Google::Apis::AdminDirectoryV1::ChromeOsDevice
259
239
  command.params['customerId'] = customer_id unless customer_id.nil?
@@ -261,7 +241,6 @@ module Google
261
241
  command.query['projection'] = projection unless projection.nil?
262
242
  command.query['fields'] = fields unless fields.nil?
263
243
  command.query['quotaUser'] = quota_user unless quota_user.nil?
264
- command.query['userIp'] = user_ip unless user_ip.nil?
265
244
  execute_or_queue_command(command, &block)
266
245
  end
267
246
 
@@ -269,7 +248,7 @@ module Google
269
248
  # @param [String] customer_id
270
249
  # Immutable ID of the G Suite account
271
250
  # @param [Fixnum] max_results
272
- # Maximum number of results to return. Max allowed value is 200.
251
+ # Maximum number of results to return.
273
252
  # @param [String] order_by
274
253
  # Column to use for sorting results
275
254
  # @param [String] org_unit_path
@@ -279,17 +258,16 @@ module Google
279
258
  # @param [String] projection
280
259
  # Restrict information returned to a set of selected fields.
281
260
  # @param [String] query
282
- # Search string in the format provided by this Help Center article.
261
+ # Search string in the format given at http://support.google.com/chromeos/a/bin/
262
+ # answer.py?answer=1698333
283
263
  # @param [String] sort_order
284
264
  # Whether to return results in ascending or descending order. Only of use when
285
265
  # orderBy is also used
286
266
  # @param [String] fields
287
267
  # Selector specifying which fields to include in a partial response.
288
268
  # @param [String] quota_user
289
- # An opaque string that represents a user for quota purposes. Must not exceed 40
290
- # characters.
291
- # @param [String] user_ip
292
- # Deprecated. Please use quotaUser instead.
269
+ # Available to use for quota purposes for server-side applications. Can be any
270
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
293
271
  # @param [Google::Apis::RequestOptions] options
294
272
  # Request-specific options
295
273
  #
@@ -302,8 +280,8 @@ module Google
302
280
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
303
281
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
304
282
  # @raise [Google::Apis::AuthorizationError] Authorization is required
305
- def list_chrome_os_devices(customer_id, max_results: nil, order_by: nil, org_unit_path: nil, page_token: nil, projection: nil, query: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
306
- command = make_simple_command(:get, 'customer/{customerId}/devices/chromeos', options)
283
+ def list_chrome_os_devices(customer_id, max_results: nil, order_by: nil, org_unit_path: nil, page_token: nil, projection: nil, query: nil, sort_order: nil, fields: nil, quota_user: nil, options: nil, &block)
284
+ command = make_simple_command(:get, 'admin/directory/v1/customer/{customerId}/devices/chromeos', options)
307
285
  command.response_representation = Google::Apis::AdminDirectoryV1::ChromeOsDevices::Representation
308
286
  command.response_class = Google::Apis::AdminDirectoryV1::ChromeOsDevices
309
287
  command.params['customerId'] = customer_id unless customer_id.nil?
@@ -316,7 +294,6 @@ module Google
316
294
  command.query['sortOrder'] = sort_order unless sort_order.nil?
317
295
  command.query['fields'] = fields unless fields.nil?
318
296
  command.query['quotaUser'] = quota_user unless quota_user.nil?
319
- command.query['userIp'] = user_ip unless user_ip.nil?
320
297
  execute_or_queue_command(command, &block)
321
298
  end
322
299
 
@@ -329,10 +306,8 @@ module Google
329
306
  # @param [String] fields
330
307
  # Selector specifying which fields to include in a partial response.
331
308
  # @param [String] quota_user
332
- # An opaque string that represents a user for quota purposes. Must not exceed 40
333
- # characters.
334
- # @param [String] user_ip
335
- # Deprecated. Please use quotaUser instead.
309
+ # Available to use for quota purposes for server-side applications. Can be any
310
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
336
311
  # @param [Google::Apis::RequestOptions] options
337
312
  # Request-specific options
338
313
  #
@@ -345,19 +320,18 @@ module Google
345
320
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
346
321
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
347
322
  # @raise [Google::Apis::AuthorizationError] Authorization is required
348
- def move_chromeosdevice_devices_to_ou(customer_id, org_unit_path, chrome_os_move_devices_to_ou_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
349
- command = make_simple_command(:post, 'customer/{customerId}/devices/chromeos/moveDevicesToOu', options)
323
+ def move_chromeosdevice_devices_to_ou(customer_id, org_unit_path, chrome_os_move_devices_to_ou_object = nil, fields: nil, quota_user: nil, options: nil, &block)
324
+ command = make_simple_command(:post, 'admin/directory/v1/customer/{customerId}/devices/chromeos/moveDevicesToOu', options)
350
325
  command.request_representation = Google::Apis::AdminDirectoryV1::ChromeOsMoveDevicesToOu::Representation
351
326
  command.request_object = chrome_os_move_devices_to_ou_object
352
327
  command.params['customerId'] = customer_id unless customer_id.nil?
353
328
  command.query['orgUnitPath'] = org_unit_path unless org_unit_path.nil?
354
329
  command.query['fields'] = fields unless fields.nil?
355
330
  command.query['quotaUser'] = quota_user unless quota_user.nil?
356
- command.query['userIp'] = user_ip unless user_ip.nil?
357
331
  execute_or_queue_command(command, &block)
358
332
  end
359
333
 
360
- # Update Chrome OS Device. This method supports patch semantics.
334
+ # Patch Chrome OS Device
361
335
  # @param [String] customer_id
362
336
  # Immutable ID of the G Suite account
363
337
  # @param [String] device_id
@@ -368,10 +342,8 @@ module Google
368
342
  # @param [String] fields
369
343
  # Selector specifying which fields to include in a partial response.
370
344
  # @param [String] quota_user
371
- # An opaque string that represents a user for quota purposes. Must not exceed 40
372
- # characters.
373
- # @param [String] user_ip
374
- # Deprecated. Please use quotaUser instead.
345
+ # Available to use for quota purposes for server-side applications. Can be any
346
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
375
347
  # @param [Google::Apis::RequestOptions] options
376
348
  # Request-specific options
377
349
  #
@@ -384,8 +356,8 @@ module Google
384
356
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
385
357
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
386
358
  # @raise [Google::Apis::AuthorizationError] Authorization is required
387
- def patch_chrome_os_device(customer_id, device_id, chrome_os_device_object = nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
388
- command = make_simple_command(:patch, 'customer/{customerId}/devices/chromeos/{deviceId}', options)
359
+ def patch_chrome_os_device(customer_id, device_id, chrome_os_device_object = nil, projection: nil, fields: nil, quota_user: nil, options: nil, &block)
360
+ command = make_simple_command(:patch, 'admin/directory/v1/customer/{customerId}/devices/chromeos/{deviceId}', options)
389
361
  command.request_representation = Google::Apis::AdminDirectoryV1::ChromeOsDevice::Representation
390
362
  command.request_object = chrome_os_device_object
391
363
  command.response_representation = Google::Apis::AdminDirectoryV1::ChromeOsDevice::Representation
@@ -395,7 +367,6 @@ module Google
395
367
  command.query['projection'] = projection unless projection.nil?
396
368
  command.query['fields'] = fields unless fields.nil?
397
369
  command.query['quotaUser'] = quota_user unless quota_user.nil?
398
- command.query['userIp'] = user_ip unless user_ip.nil?
399
370
  execute_or_queue_command(command, &block)
400
371
  end
401
372
 
@@ -410,10 +381,8 @@ module Google
410
381
  # @param [String] fields
411
382
  # Selector specifying which fields to include in a partial response.
412
383
  # @param [String] quota_user
413
- # An opaque string that represents a user for quota purposes. Must not exceed 40
414
- # characters.
415
- # @param [String] user_ip
416
- # Deprecated. Please use quotaUser instead.
384
+ # Available to use for quota purposes for server-side applications. Can be any
385
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
417
386
  # @param [Google::Apis::RequestOptions] options
418
387
  # Request-specific options
419
388
  #
@@ -426,8 +395,8 @@ module Google
426
395
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
427
396
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
428
397
  # @raise [Google::Apis::AuthorizationError] Authorization is required
429
- def update_chrome_os_device(customer_id, device_id, chrome_os_device_object = nil, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
430
- command = make_simple_command(:put, 'customer/{customerId}/devices/chromeos/{deviceId}', options)
398
+ def update_chrome_os_device(customer_id, device_id, chrome_os_device_object = nil, projection: nil, fields: nil, quota_user: nil, options: nil, &block)
399
+ command = make_simple_command(:put, 'admin/directory/v1/customer/{customerId}/devices/chromeos/{deviceId}', options)
431
400
  command.request_representation = Google::Apis::AdminDirectoryV1::ChromeOsDevice::Representation
432
401
  command.request_object = chrome_os_device_object
433
402
  command.response_representation = Google::Apis::AdminDirectoryV1::ChromeOsDevice::Representation
@@ -437,7 +406,78 @@ module Google
437
406
  command.query['projection'] = projection unless projection.nil?
438
407
  command.query['fields'] = fields unless fields.nil?
439
408
  command.query['quotaUser'] = quota_user unless quota_user.nil?
440
- command.query['userIp'] = user_ip unless user_ip.nil?
409
+ execute_or_queue_command(command, &block)
410
+ end
411
+
412
+ # Issues a command for the device to execute.
413
+ # @param [String] customer_id
414
+ # Immutable. Immutable ID of the G Suite account.
415
+ # @param [String] device_id
416
+ # Immutable. Immutable ID of Chrome OS Device.
417
+ # @param [Google::Apis::AdminDirectoryV1::DirectoryChromeosdevicesIssueCommandRequest] directory_chromeosdevices_issue_command_request_object
418
+ # @param [String] fields
419
+ # Selector specifying which fields to include in a partial response.
420
+ # @param [String] quota_user
421
+ # Available to use for quota purposes for server-side applications. Can be any
422
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
423
+ # @param [Google::Apis::RequestOptions] options
424
+ # Request-specific options
425
+ #
426
+ # @yield [result, err] Result & error if block supplied
427
+ # @yieldparam result [Google::Apis::AdminDirectoryV1::DirectoryChromeosdevicesIssueCommandResponse] parsed result object
428
+ # @yieldparam err [StandardError] error object if request failed
429
+ #
430
+ # @return [Google::Apis::AdminDirectoryV1::DirectoryChromeosdevicesIssueCommandResponse]
431
+ #
432
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
433
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
434
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
435
+ def issue_customer_device_chromeo_command(customer_id, device_id, directory_chromeosdevices_issue_command_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
436
+ command = make_simple_command(:post, 'admin/directory/v1/customer/{customerId}/devices/chromeos/{deviceId}:issueCommand', options)
437
+ command.request_representation = Google::Apis::AdminDirectoryV1::DirectoryChromeosdevicesIssueCommandRequest::Representation
438
+ command.request_object = directory_chromeosdevices_issue_command_request_object
439
+ command.response_representation = Google::Apis::AdminDirectoryV1::DirectoryChromeosdevicesIssueCommandResponse::Representation
440
+ command.response_class = Google::Apis::AdminDirectoryV1::DirectoryChromeosdevicesIssueCommandResponse
441
+ command.params['customerId'] = customer_id unless customer_id.nil?
442
+ command.params['deviceId'] = device_id unless device_id.nil?
443
+ command.query['fields'] = fields unless fields.nil?
444
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
445
+ execute_or_queue_command(command, &block)
446
+ end
447
+
448
+ # Gets command data a specific command issued to the device.
449
+ # @param [String] customer_id
450
+ # Immutable. Immutable ID of the G Suite account.
451
+ # @param [String] device_id
452
+ # Immutable. Immutable ID of Chrome OS Device.
453
+ # @param [Fixnum] command_id
454
+ # Immutable. Immutable ID of Chrome OS Device Command.
455
+ # @param [String] fields
456
+ # Selector specifying which fields to include in a partial response.
457
+ # @param [String] quota_user
458
+ # Available to use for quota purposes for server-side applications. Can be any
459
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
460
+ # @param [Google::Apis::RequestOptions] options
461
+ # Request-specific options
462
+ #
463
+ # @yield [result, err] Result & error if block supplied
464
+ # @yieldparam result [Google::Apis::AdminDirectoryV1::DirectoryChromeosdevicesCommand] parsed result object
465
+ # @yieldparam err [StandardError] error object if request failed
466
+ #
467
+ # @return [Google::Apis::AdminDirectoryV1::DirectoryChromeosdevicesCommand]
468
+ #
469
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
470
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
471
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
472
+ def get_customer_device_chromeo_command(customer_id, device_id, command_id, fields: nil, quota_user: nil, options: nil, &block)
473
+ command = make_simple_command(:get, 'admin/directory/v1/customer/{customerId}/devices/chromeos/{deviceId}/commands/{commandId}', options)
474
+ command.response_representation = Google::Apis::AdminDirectoryV1::DirectoryChromeosdevicesCommand::Representation
475
+ command.response_class = Google::Apis::AdminDirectoryV1::DirectoryChromeosdevicesCommand
476
+ command.params['customerId'] = customer_id unless customer_id.nil?
477
+ command.params['deviceId'] = device_id unless device_id.nil?
478
+ command.params['commandId'] = command_id unless command_id.nil?
479
+ command.query['fields'] = fields unless fields.nil?
480
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
441
481
  execute_or_queue_command(command, &block)
442
482
  end
443
483
 
@@ -447,10 +487,8 @@ module Google
447
487
  # @param [String] fields
448
488
  # Selector specifying which fields to include in a partial response.
449
489
  # @param [String] quota_user
450
- # An opaque string that represents a user for quota purposes. Must not exceed 40
451
- # characters.
452
- # @param [String] user_ip
453
- # Deprecated. Please use quotaUser instead.
490
+ # Available to use for quota purposes for server-side applications. Can be any
491
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
454
492
  # @param [Google::Apis::RequestOptions] options
455
493
  # Request-specific options
456
494
  #
@@ -463,28 +501,25 @@ module Google
463
501
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
464
502
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
465
503
  # @raise [Google::Apis::AuthorizationError] Authorization is required
466
- def get_customer(customer_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
467
- command = make_simple_command(:get, 'customers/{customerKey}', options)
504
+ def get_customer(customer_key, fields: nil, quota_user: nil, options: nil, &block)
505
+ command = make_simple_command(:get, 'admin/directory/v1/customers/{customerKey}', options)
468
506
  command.response_representation = Google::Apis::AdminDirectoryV1::Customer::Representation
469
507
  command.response_class = Google::Apis::AdminDirectoryV1::Customer
470
508
  command.params['customerKey'] = customer_key unless customer_key.nil?
471
509
  command.query['fields'] = fields unless fields.nil?
472
510
  command.query['quotaUser'] = quota_user unless quota_user.nil?
473
- command.query['userIp'] = user_ip unless user_ip.nil?
474
511
  execute_or_queue_command(command, &block)
475
512
  end
476
513
 
477
- # Updates a customer. This method supports patch semantics.
514
+ # Patch Customers via Apiary Patch Orchestration
478
515
  # @param [String] customer_key
479
516
  # Id of the customer to be updated
480
517
  # @param [Google::Apis::AdminDirectoryV1::Customer] customer_object
481
518
  # @param [String] fields
482
519
  # Selector specifying which fields to include in a partial response.
483
520
  # @param [String] quota_user
484
- # An opaque string that represents a user for quota purposes. Must not exceed 40
485
- # characters.
486
- # @param [String] user_ip
487
- # Deprecated. Please use quotaUser instead.
521
+ # Available to use for quota purposes for server-side applications. Can be any
522
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
488
523
  # @param [Google::Apis::RequestOptions] options
489
524
  # Request-specific options
490
525
  #
@@ -497,8 +532,8 @@ module Google
497
532
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
498
533
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
499
534
  # @raise [Google::Apis::AuthorizationError] Authorization is required
500
- def patch_customer(customer_key, customer_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
501
- command = make_simple_command(:patch, 'customers/{customerKey}', options)
535
+ def patch_customer(customer_key, customer_object = nil, fields: nil, quota_user: nil, options: nil, &block)
536
+ command = make_simple_command(:patch, 'admin/directory/v1/customers/{customerKey}', options)
502
537
  command.request_representation = Google::Apis::AdminDirectoryV1::Customer::Representation
503
538
  command.request_object = customer_object
504
539
  command.response_representation = Google::Apis::AdminDirectoryV1::Customer::Representation
@@ -506,7 +541,6 @@ module Google
506
541
  command.params['customerKey'] = customer_key unless customer_key.nil?
507
542
  command.query['fields'] = fields unless fields.nil?
508
543
  command.query['quotaUser'] = quota_user unless quota_user.nil?
509
- command.query['userIp'] = user_ip unless user_ip.nil?
510
544
  execute_or_queue_command(command, &block)
511
545
  end
512
546
 
@@ -517,10 +551,8 @@ module Google
517
551
  # @param [String] fields
518
552
  # Selector specifying which fields to include in a partial response.
519
553
  # @param [String] quota_user
520
- # An opaque string that represents a user for quota purposes. Must not exceed 40
521
- # characters.
522
- # @param [String] user_ip
523
- # Deprecated. Please use quotaUser instead.
554
+ # Available to use for quota purposes for server-side applications. Can be any
555
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
524
556
  # @param [Google::Apis::RequestOptions] options
525
557
  # Request-specific options
526
558
  #
@@ -533,8 +565,8 @@ module Google
533
565
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
534
566
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
535
567
  # @raise [Google::Apis::AuthorizationError] Authorization is required
536
- def update_customer(customer_key, customer_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
537
- command = make_simple_command(:put, 'customers/{customerKey}', options)
568
+ def update_customer(customer_key, customer_object = nil, fields: nil, quota_user: nil, options: nil, &block)
569
+ command = make_simple_command(:put, 'admin/directory/v1/customers/{customerKey}', options)
538
570
  command.request_representation = Google::Apis::AdminDirectoryV1::Customer::Representation
539
571
  command.request_object = customer_object
540
572
  command.response_representation = Google::Apis::AdminDirectoryV1::Customer::Representation
@@ -542,11 +574,10 @@ module Google
542
574
  command.params['customerKey'] = customer_key unless customer_key.nil?
543
575
  command.query['fields'] = fields unless fields.nil?
544
576
  command.query['quotaUser'] = quota_user unless quota_user.nil?
545
- command.query['userIp'] = user_ip unless user_ip.nil?
546
577
  execute_or_queue_command(command, &block)
547
578
  end
548
579
 
549
- # Deletes a Domain Alias of the customer.
580
+ # Deletes a domain Alias of the customer.
550
581
  # @param [String] customer
551
582
  # Immutable ID of the G Suite account.
552
583
  # @param [String] domain_alias_name
@@ -554,10 +585,8 @@ module Google
554
585
  # @param [String] fields
555
586
  # Selector specifying which fields to include in a partial response.
556
587
  # @param [String] quota_user
557
- # An opaque string that represents a user for quota purposes. Must not exceed 40
558
- # characters.
559
- # @param [String] user_ip
560
- # Deprecated. Please use quotaUser instead.
588
+ # Available to use for quota purposes for server-side applications. Can be any
589
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
561
590
  # @param [Google::Apis::RequestOptions] options
562
591
  # Request-specific options
563
592
  #
@@ -570,13 +599,12 @@ module Google
570
599
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
571
600
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
572
601
  # @raise [Google::Apis::AuthorizationError] Authorization is required
573
- def delete_domain_alias(customer, domain_alias_name, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
574
- command = make_simple_command(:delete, 'customer/{customer}/domainaliases/{domainAliasName}', options)
602
+ def delete_domain_alias(customer, domain_alias_name, fields: nil, quota_user: nil, options: nil, &block)
603
+ command = make_simple_command(:delete, 'admin/directory/v1/customer/{customer}/domainaliases/{domainAliasName}', options)
575
604
  command.params['customer'] = customer unless customer.nil?
576
605
  command.params['domainAliasName'] = domain_alias_name unless domain_alias_name.nil?
577
606
  command.query['fields'] = fields unless fields.nil?
578
607
  command.query['quotaUser'] = quota_user unless quota_user.nil?
579
- command.query['userIp'] = user_ip unless user_ip.nil?
580
608
  execute_or_queue_command(command, &block)
581
609
  end
582
610
 
@@ -588,10 +616,8 @@ module Google
588
616
  # @param [String] fields
589
617
  # Selector specifying which fields to include in a partial response.
590
618
  # @param [String] quota_user
591
- # An opaque string that represents a user for quota purposes. Must not exceed 40
592
- # characters.
593
- # @param [String] user_ip
594
- # Deprecated. Please use quotaUser instead.
619
+ # Available to use for quota purposes for server-side applications. Can be any
620
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
595
621
  # @param [Google::Apis::RequestOptions] options
596
622
  # Request-specific options
597
623
  #
@@ -604,29 +630,26 @@ module Google
604
630
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
605
631
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
606
632
  # @raise [Google::Apis::AuthorizationError] Authorization is required
607
- def get_domain_alias(customer, domain_alias_name, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
608
- command = make_simple_command(:get, 'customer/{customer}/domainaliases/{domainAliasName}', options)
633
+ def get_domain_alias(customer, domain_alias_name, fields: nil, quota_user: nil, options: nil, &block)
634
+ command = make_simple_command(:get, 'admin/directory/v1/customer/{customer}/domainaliases/{domainAliasName}', options)
609
635
  command.response_representation = Google::Apis::AdminDirectoryV1::DomainAlias::Representation
610
636
  command.response_class = Google::Apis::AdminDirectoryV1::DomainAlias
611
637
  command.params['customer'] = customer unless customer.nil?
612
638
  command.params['domainAliasName'] = domain_alias_name unless domain_alias_name.nil?
613
639
  command.query['fields'] = fields unless fields.nil?
614
640
  command.query['quotaUser'] = quota_user unless quota_user.nil?
615
- command.query['userIp'] = user_ip unless user_ip.nil?
616
641
  execute_or_queue_command(command, &block)
617
642
  end
618
643
 
619
- # Inserts a Domain alias of the customer.
644
+ # Inserts a domain alias of the customer.
620
645
  # @param [String] customer
621
646
  # Immutable ID of the G Suite account.
622
647
  # @param [Google::Apis::AdminDirectoryV1::DomainAlias] domain_alias_object
623
648
  # @param [String] fields
624
649
  # Selector specifying which fields to include in a partial response.
625
650
  # @param [String] quota_user
626
- # An opaque string that represents a user for quota purposes. Must not exceed 40
627
- # characters.
628
- # @param [String] user_ip
629
- # Deprecated. Please use quotaUser instead.
651
+ # Available to use for quota purposes for server-side applications. Can be any
652
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
630
653
  # @param [Google::Apis::RequestOptions] options
631
654
  # Request-specific options
632
655
  #
@@ -639,8 +662,8 @@ module Google
639
662
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
640
663
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
641
664
  # @raise [Google::Apis::AuthorizationError] Authorization is required
642
- def insert_domain_alias(customer, domain_alias_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
643
- command = make_simple_command(:post, 'customer/{customer}/domainaliases', options)
665
+ def insert_domain_alias(customer, domain_alias_object = nil, fields: nil, quota_user: nil, options: nil, &block)
666
+ command = make_simple_command(:post, 'admin/directory/v1/customer/{customer}/domainaliases', options)
644
667
  command.request_representation = Google::Apis::AdminDirectoryV1::DomainAlias::Representation
645
668
  command.request_object = domain_alias_object
646
669
  command.response_representation = Google::Apis::AdminDirectoryV1::DomainAlias::Representation
@@ -648,7 +671,6 @@ module Google
648
671
  command.params['customer'] = customer unless customer.nil?
649
672
  command.query['fields'] = fields unless fields.nil?
650
673
  command.query['quotaUser'] = quota_user unless quota_user.nil?
651
- command.query['userIp'] = user_ip unless user_ip.nil?
652
674
  execute_or_queue_command(command, &block)
653
675
  end
654
676
 
@@ -660,10 +682,8 @@ module Google
660
682
  # @param [String] fields
661
683
  # Selector specifying which fields to include in a partial response.
662
684
  # @param [String] quota_user
663
- # An opaque string that represents a user for quota purposes. Must not exceed 40
664
- # characters.
665
- # @param [String] user_ip
666
- # Deprecated. Please use quotaUser instead.
685
+ # Available to use for quota purposes for server-side applications. Can be any
686
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
667
687
  # @param [Google::Apis::RequestOptions] options
668
688
  # Request-specific options
669
689
  #
@@ -676,15 +696,14 @@ module Google
676
696
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
677
697
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
678
698
  # @raise [Google::Apis::AuthorizationError] Authorization is required
679
- def list_domain_aliases(customer, parent_domain_name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
680
- command = make_simple_command(:get, 'customer/{customer}/domainaliases', options)
699
+ def list_domain_aliases(customer, parent_domain_name: nil, fields: nil, quota_user: nil, options: nil, &block)
700
+ command = make_simple_command(:get, 'admin/directory/v1/customer/{customer}/domainaliases', options)
681
701
  command.response_representation = Google::Apis::AdminDirectoryV1::DomainAliases::Representation
682
702
  command.response_class = Google::Apis::AdminDirectoryV1::DomainAliases
683
703
  command.params['customer'] = customer unless customer.nil?
684
704
  command.query['parentDomainName'] = parent_domain_name unless parent_domain_name.nil?
685
705
  command.query['fields'] = fields unless fields.nil?
686
706
  command.query['quotaUser'] = quota_user unless quota_user.nil?
687
- command.query['userIp'] = user_ip unless user_ip.nil?
688
707
  execute_or_queue_command(command, &block)
689
708
  end
690
709
 
@@ -696,10 +715,8 @@ module Google
696
715
  # @param [String] fields
697
716
  # Selector specifying which fields to include in a partial response.
698
717
  # @param [String] quota_user
699
- # An opaque string that represents a user for quota purposes. Must not exceed 40
700
- # characters.
701
- # @param [String] user_ip
702
- # Deprecated. Please use quotaUser instead.
718
+ # Available to use for quota purposes for server-side applications. Can be any
719
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
703
720
  # @param [Google::Apis::RequestOptions] options
704
721
  # Request-specific options
705
722
  #
@@ -712,13 +729,12 @@ module Google
712
729
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
713
730
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
714
731
  # @raise [Google::Apis::AuthorizationError] Authorization is required
715
- def delete_domain(customer, domain_name, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
716
- command = make_simple_command(:delete, 'customer/{customer}/domains/{domainName}', options)
732
+ def delete_domain(customer, domain_name, fields: nil, quota_user: nil, options: nil, &block)
733
+ command = make_simple_command(:delete, 'admin/directory/v1/customer/{customer}/domains/{domainName}', options)
717
734
  command.params['customer'] = customer unless customer.nil?
718
735
  command.params['domainName'] = domain_name unless domain_name.nil?
719
736
  command.query['fields'] = fields unless fields.nil?
720
737
  command.query['quotaUser'] = quota_user unless quota_user.nil?
721
- command.query['userIp'] = user_ip unless user_ip.nil?
722
738
  execute_or_queue_command(command, &block)
723
739
  end
724
740
 
@@ -730,10 +746,8 @@ module Google
730
746
  # @param [String] fields
731
747
  # Selector specifying which fields to include in a partial response.
732
748
  # @param [String] quota_user
733
- # An opaque string that represents a user for quota purposes. Must not exceed 40
734
- # characters.
735
- # @param [String] user_ip
736
- # Deprecated. Please use quotaUser instead.
749
+ # Available to use for quota purposes for server-side applications. Can be any
750
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
737
751
  # @param [Google::Apis::RequestOptions] options
738
752
  # Request-specific options
739
753
  #
@@ -746,15 +760,14 @@ module Google
746
760
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
747
761
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
748
762
  # @raise [Google::Apis::AuthorizationError] Authorization is required
749
- def get_domain(customer, domain_name, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
750
- command = make_simple_command(:get, 'customer/{customer}/domains/{domainName}', options)
763
+ def get_domain(customer, domain_name, fields: nil, quota_user: nil, options: nil, &block)
764
+ command = make_simple_command(:get, 'admin/directory/v1/customer/{customer}/domains/{domainName}', options)
751
765
  command.response_representation = Google::Apis::AdminDirectoryV1::Domains::Representation
752
766
  command.response_class = Google::Apis::AdminDirectoryV1::Domains
753
767
  command.params['customer'] = customer unless customer.nil?
754
768
  command.params['domainName'] = domain_name unless domain_name.nil?
755
769
  command.query['fields'] = fields unless fields.nil?
756
770
  command.query['quotaUser'] = quota_user unless quota_user.nil?
757
- command.query['userIp'] = user_ip unless user_ip.nil?
758
771
  execute_or_queue_command(command, &block)
759
772
  end
760
773
 
@@ -765,10 +778,8 @@ module Google
765
778
  # @param [String] fields
766
779
  # Selector specifying which fields to include in a partial response.
767
780
  # @param [String] quota_user
768
- # An opaque string that represents a user for quota purposes. Must not exceed 40
769
- # characters.
770
- # @param [String] user_ip
771
- # Deprecated. Please use quotaUser instead.
781
+ # Available to use for quota purposes for server-side applications. Can be any
782
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
772
783
  # @param [Google::Apis::RequestOptions] options
773
784
  # Request-specific options
774
785
  #
@@ -781,8 +792,8 @@ module Google
781
792
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
782
793
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
783
794
  # @raise [Google::Apis::AuthorizationError] Authorization is required
784
- def insert_domain(customer, domains_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
785
- command = make_simple_command(:post, 'customer/{customer}/domains', options)
795
+ def insert_domain(customer, domains_object = nil, fields: nil, quota_user: nil, options: nil, &block)
796
+ command = make_simple_command(:post, 'admin/directory/v1/customer/{customer}/domains', options)
786
797
  command.request_representation = Google::Apis::AdminDirectoryV1::Domains::Representation
787
798
  command.request_object = domains_object
788
799
  command.response_representation = Google::Apis::AdminDirectoryV1::Domains::Representation
@@ -790,7 +801,6 @@ module Google
790
801
  command.params['customer'] = customer unless customer.nil?
791
802
  command.query['fields'] = fields unless fields.nil?
792
803
  command.query['quotaUser'] = quota_user unless quota_user.nil?
793
- command.query['userIp'] = user_ip unless user_ip.nil?
794
804
  execute_or_queue_command(command, &block)
795
805
  end
796
806
 
@@ -800,10 +810,8 @@ module Google
800
810
  # @param [String] fields
801
811
  # Selector specifying which fields to include in a partial response.
802
812
  # @param [String] quota_user
803
- # An opaque string that represents a user for quota purposes. Must not exceed 40
804
- # characters.
805
- # @param [String] user_ip
806
- # Deprecated. Please use quotaUser instead.
813
+ # Available to use for quota purposes for server-side applications. Can be any
814
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
807
815
  # @param [Google::Apis::RequestOptions] options
808
816
  # Request-specific options
809
817
  #
@@ -816,14 +824,13 @@ module Google
816
824
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
817
825
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
818
826
  # @raise [Google::Apis::AuthorizationError] Authorization is required
819
- def list_domains(customer, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
820
- command = make_simple_command(:get, 'customer/{customer}/domains', options)
827
+ def list_domains(customer, fields: nil, quota_user: nil, options: nil, &block)
828
+ command = make_simple_command(:get, 'admin/directory/v1/customer/{customer}/domains', options)
821
829
  command.response_representation = Google::Apis::AdminDirectoryV1::Domains2::Representation
822
830
  command.response_class = Google::Apis::AdminDirectoryV1::Domains2
823
831
  command.params['customer'] = customer unless customer.nil?
824
832
  command.query['fields'] = fields unless fields.nil?
825
833
  command.query['quotaUser'] = quota_user unless quota_user.nil?
826
- command.query['userIp'] = user_ip unless user_ip.nil?
827
834
  execute_or_queue_command(command, &block)
828
835
  end
829
836
 
@@ -833,10 +840,8 @@ module Google
833
840
  # @param [String] fields
834
841
  # Selector specifying which fields to include in a partial response.
835
842
  # @param [String] quota_user
836
- # An opaque string that represents a user for quota purposes. Must not exceed 40
837
- # characters.
838
- # @param [String] user_ip
839
- # Deprecated. Please use quotaUser instead.
843
+ # Available to use for quota purposes for server-side applications. Can be any
844
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
840
845
  # @param [Google::Apis::RequestOptions] options
841
846
  # Request-specific options
842
847
  #
@@ -849,12 +854,11 @@ module Google
849
854
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
850
855
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
851
856
  # @raise [Google::Apis::AuthorizationError] Authorization is required
852
- def delete_group(group_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
853
- command = make_simple_command(:delete, 'groups/{groupKey}', options)
857
+ def delete_group(group_key, fields: nil, quota_user: nil, options: nil, &block)
858
+ command = make_simple_command(:delete, 'admin/directory/v1/groups/{groupKey}', options)
854
859
  command.params['groupKey'] = group_key unless group_key.nil?
855
860
  command.query['fields'] = fields unless fields.nil?
856
861
  command.query['quotaUser'] = quota_user unless quota_user.nil?
857
- command.query['userIp'] = user_ip unless user_ip.nil?
858
862
  execute_or_queue_command(command, &block)
859
863
  end
860
864
 
@@ -864,10 +868,8 @@ module Google
864
868
  # @param [String] fields
865
869
  # Selector specifying which fields to include in a partial response.
866
870
  # @param [String] quota_user
867
- # An opaque string that represents a user for quota purposes. Must not exceed 40
868
- # characters.
869
- # @param [String] user_ip
870
- # Deprecated. Please use quotaUser instead.
871
+ # Available to use for quota purposes for server-side applications. Can be any
872
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
871
873
  # @param [Google::Apis::RequestOptions] options
872
874
  # Request-specific options
873
875
  #
@@ -880,14 +882,13 @@ module Google
880
882
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
881
883
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
882
884
  # @raise [Google::Apis::AuthorizationError] Authorization is required
883
- def get_group(group_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
884
- command = make_simple_command(:get, 'groups/{groupKey}', options)
885
+ def get_group(group_key, fields: nil, quota_user: nil, options: nil, &block)
886
+ command = make_simple_command(:get, 'admin/directory/v1/groups/{groupKey}', options)
885
887
  command.response_representation = Google::Apis::AdminDirectoryV1::Group::Representation
886
888
  command.response_class = Google::Apis::AdminDirectoryV1::Group
887
889
  command.params['groupKey'] = group_key unless group_key.nil?
888
890
  command.query['fields'] = fields unless fields.nil?
889
891
  command.query['quotaUser'] = quota_user unless quota_user.nil?
890
- command.query['userIp'] = user_ip unless user_ip.nil?
891
892
  execute_or_queue_command(command, &block)
892
893
  end
893
894
 
@@ -896,10 +897,8 @@ module Google
896
897
  # @param [String] fields
897
898
  # Selector specifying which fields to include in a partial response.
898
899
  # @param [String] quota_user
899
- # An opaque string that represents a user for quota purposes. Must not exceed 40
900
- # characters.
901
- # @param [String] user_ip
902
- # Deprecated. Please use quotaUser instead.
900
+ # Available to use for quota purposes for server-side applications. Can be any
901
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
903
902
  # @param [Google::Apis::RequestOptions] options
904
903
  # Request-specific options
905
904
  #
@@ -912,15 +911,14 @@ module Google
912
911
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
913
912
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
914
913
  # @raise [Google::Apis::AuthorizationError] Authorization is required
915
- def insert_group(group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
916
- command = make_simple_command(:post, 'groups', options)
914
+ def insert_group(group_object = nil, fields: nil, quota_user: nil, options: nil, &block)
915
+ command = make_simple_command(:post, 'admin/directory/v1/groups', options)
917
916
  command.request_representation = Google::Apis::AdminDirectoryV1::Group::Representation
918
917
  command.request_object = group_object
919
918
  command.response_representation = Google::Apis::AdminDirectoryV1::Group::Representation
920
919
  command.response_class = Google::Apis::AdminDirectoryV1::Group
921
920
  command.query['fields'] = fields unless fields.nil?
922
921
  command.query['quotaUser'] = quota_user unless quota_user.nil?
923
- command.query['userIp'] = user_ip unless user_ip.nil?
924
922
  execute_or_queue_command(command, &block)
925
923
  end
926
924
 
@@ -939,7 +937,7 @@ module Google
939
937
  # Token to specify next page in the list
940
938
  # @param [String] query
941
939
  # Query string search. Should be of the form "". Complete documentation is at
942
- # https://developers.google.com/admin-sdk/directory/v1/guides/search-groups
940
+ # https: //developers.google.com/admin-sdk/directory/v1/guides/search-groups
943
941
  # @param [String] sort_order
944
942
  # Whether to return results in ascending or descending order. Only of use when
945
943
  # orderBy is also used
@@ -950,10 +948,8 @@ module Google
950
948
  # @param [String] fields
951
949
  # Selector specifying which fields to include in a partial response.
952
950
  # @param [String] quota_user
953
- # An opaque string that represents a user for quota purposes. Must not exceed 40
954
- # characters.
955
- # @param [String] user_ip
956
- # Deprecated. Please use quotaUser instead.
951
+ # Available to use for quota purposes for server-side applications. Can be any
952
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
957
953
  # @param [Google::Apis::RequestOptions] options
958
954
  # Request-specific options
959
955
  #
@@ -966,8 +962,8 @@ module Google
966
962
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
967
963
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
968
964
  # @raise [Google::Apis::AuthorizationError] Authorization is required
969
- def list_groups(customer: nil, domain: nil, max_results: nil, order_by: nil, page_token: nil, query: nil, sort_order: nil, user_key: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
970
- command = make_simple_command(:get, 'groups', options)
965
+ def list_groups(customer: nil, domain: nil, max_results: nil, order_by: nil, page_token: nil, query: nil, sort_order: nil, user_key: nil, fields: nil, quota_user: nil, options: nil, &block)
966
+ command = make_simple_command(:get, 'admin/directory/v1/groups', options)
971
967
  command.response_representation = Google::Apis::AdminDirectoryV1::Groups::Representation
972
968
  command.response_class = Google::Apis::AdminDirectoryV1::Groups
973
969
  command.query['customer'] = customer unless customer.nil?
@@ -980,11 +976,10 @@ module Google
980
976
  command.query['userKey'] = user_key unless user_key.nil?
981
977
  command.query['fields'] = fields unless fields.nil?
982
978
  command.query['quotaUser'] = quota_user unless quota_user.nil?
983
- command.query['userIp'] = user_ip unless user_ip.nil?
984
979
  execute_or_queue_command(command, &block)
985
980
  end
986
981
 
987
- # Update Group. This method supports patch semantics.
982
+ # Patch Groups via Apiary Patch Orchestration
988
983
  # @param [String] group_key
989
984
  # Email or immutable ID of the group. If ID, it should match with id of group
990
985
  # object
@@ -992,10 +987,8 @@ module Google
992
987
  # @param [String] fields
993
988
  # Selector specifying which fields to include in a partial response.
994
989
  # @param [String] quota_user
995
- # An opaque string that represents a user for quota purposes. Must not exceed 40
996
- # characters.
997
- # @param [String] user_ip
998
- # Deprecated. Please use quotaUser instead.
990
+ # Available to use for quota purposes for server-side applications. Can be any
991
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
999
992
  # @param [Google::Apis::RequestOptions] options
1000
993
  # Request-specific options
1001
994
  #
@@ -1008,8 +1001,8 @@ module Google
1008
1001
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1009
1002
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1010
1003
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1011
- def patch_group(group_key, group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1012
- command = make_simple_command(:patch, 'groups/{groupKey}', options)
1004
+ def patch_group(group_key, group_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1005
+ command = make_simple_command(:patch, 'admin/directory/v1/groups/{groupKey}', options)
1013
1006
  command.request_representation = Google::Apis::AdminDirectoryV1::Group::Representation
1014
1007
  command.request_object = group_object
1015
1008
  command.response_representation = Google::Apis::AdminDirectoryV1::Group::Representation
@@ -1017,7 +1010,6 @@ module Google
1017
1010
  command.params['groupKey'] = group_key unless group_key.nil?
1018
1011
  command.query['fields'] = fields unless fields.nil?
1019
1012
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1020
- command.query['userIp'] = user_ip unless user_ip.nil?
1021
1013
  execute_or_queue_command(command, &block)
1022
1014
  end
1023
1015
 
@@ -1029,10 +1021,8 @@ module Google
1029
1021
  # @param [String] fields
1030
1022
  # Selector specifying which fields to include in a partial response.
1031
1023
  # @param [String] quota_user
1032
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1033
- # characters.
1034
- # @param [String] user_ip
1035
- # Deprecated. Please use quotaUser instead.
1024
+ # Available to use for quota purposes for server-side applications. Can be any
1025
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1036
1026
  # @param [Google::Apis::RequestOptions] options
1037
1027
  # Request-specific options
1038
1028
  #
@@ -1045,8 +1035,8 @@ module Google
1045
1035
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1046
1036
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1047
1037
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1048
- def update_group(group_key, group_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1049
- command = make_simple_command(:put, 'groups/{groupKey}', options)
1038
+ def update_group(group_key, group_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1039
+ command = make_simple_command(:put, 'admin/directory/v1/groups/{groupKey}', options)
1050
1040
  command.request_representation = Google::Apis::AdminDirectoryV1::Group::Representation
1051
1041
  command.request_object = group_object
1052
1042
  command.response_representation = Google::Apis::AdminDirectoryV1::Group::Representation
@@ -1054,7 +1044,6 @@ module Google
1054
1044
  command.params['groupKey'] = group_key unless group_key.nil?
1055
1045
  command.query['fields'] = fields unless fields.nil?
1056
1046
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1057
- command.query['userIp'] = user_ip unless user_ip.nil?
1058
1047
  execute_or_queue_command(command, &block)
1059
1048
  end
1060
1049
 
@@ -1066,10 +1055,8 @@ module Google
1066
1055
  # @param [String] fields
1067
1056
  # Selector specifying which fields to include in a partial response.
1068
1057
  # @param [String] quota_user
1069
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1070
- # characters.
1071
- # @param [String] user_ip
1072
- # Deprecated. Please use quotaUser instead.
1058
+ # Available to use for quota purposes for server-side applications. Can be any
1059
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1073
1060
  # @param [Google::Apis::RequestOptions] options
1074
1061
  # Request-specific options
1075
1062
  #
@@ -1082,13 +1069,12 @@ module Google
1082
1069
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1083
1070
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1084
1071
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1085
- def delete_group_alias(group_key, group_alias, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1086
- command = make_simple_command(:delete, 'groups/{groupKey}/aliases/{alias}', options)
1072
+ def delete_group_alias(group_key, group_alias, fields: nil, quota_user: nil, options: nil, &block)
1073
+ command = make_simple_command(:delete, 'admin/directory/v1/groups/{groupKey}/aliases/{alias}', options)
1087
1074
  command.params['groupKey'] = group_key unless group_key.nil?
1088
1075
  command.params['alias'] = group_alias unless group_alias.nil?
1089
1076
  command.query['fields'] = fields unless fields.nil?
1090
1077
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1091
- command.query['userIp'] = user_ip unless user_ip.nil?
1092
1078
  execute_or_queue_command(command, &block)
1093
1079
  end
1094
1080
 
@@ -1099,10 +1085,8 @@ module Google
1099
1085
  # @param [String] fields
1100
1086
  # Selector specifying which fields to include in a partial response.
1101
1087
  # @param [String] quota_user
1102
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1103
- # characters.
1104
- # @param [String] user_ip
1105
- # Deprecated. Please use quotaUser instead.
1088
+ # Available to use for quota purposes for server-side applications. Can be any
1089
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1106
1090
  # @param [Google::Apis::RequestOptions] options
1107
1091
  # Request-specific options
1108
1092
  #
@@ -1115,8 +1099,8 @@ module Google
1115
1099
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1116
1100
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1117
1101
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1118
- def insert_group_alias(group_key, alias_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1119
- command = make_simple_command(:post, 'groups/{groupKey}/aliases', options)
1102
+ def insert_group_alias(group_key, alias_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1103
+ command = make_simple_command(:post, 'admin/directory/v1/groups/{groupKey}/aliases', options)
1120
1104
  command.request_representation = Google::Apis::AdminDirectoryV1::Alias::Representation
1121
1105
  command.request_object = alias_object
1122
1106
  command.response_representation = Google::Apis::AdminDirectoryV1::Alias::Representation
@@ -1124,7 +1108,6 @@ module Google
1124
1108
  command.params['groupKey'] = group_key unless group_key.nil?
1125
1109
  command.query['fields'] = fields unless fields.nil?
1126
1110
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1127
- command.query['userIp'] = user_ip unless user_ip.nil?
1128
1111
  execute_or_queue_command(command, &block)
1129
1112
  end
1130
1113
 
@@ -1134,10 +1117,8 @@ module Google
1134
1117
  # @param [String] fields
1135
1118
  # Selector specifying which fields to include in a partial response.
1136
1119
  # @param [String] quota_user
1137
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1138
- # characters.
1139
- # @param [String] user_ip
1140
- # Deprecated. Please use quotaUser instead.
1120
+ # Available to use for quota purposes for server-side applications. Can be any
1121
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1141
1122
  # @param [Google::Apis::RequestOptions] options
1142
1123
  # Request-specific options
1143
1124
  #
@@ -1150,14 +1131,13 @@ module Google
1150
1131
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1151
1132
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1152
1133
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1153
- def list_group_aliases(group_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1154
- command = make_simple_command(:get, 'groups/{groupKey}/aliases', options)
1134
+ def list_group_aliases(group_key, fields: nil, quota_user: nil, options: nil, &block)
1135
+ command = make_simple_command(:get, 'admin/directory/v1/groups/{groupKey}/aliases', options)
1155
1136
  command.response_representation = Google::Apis::AdminDirectoryV1::Aliases::Representation
1156
1137
  command.response_class = Google::Apis::AdminDirectoryV1::Aliases
1157
1138
  command.params['groupKey'] = group_key unless group_key.nil?
1158
1139
  command.query['fields'] = fields unless fields.nil?
1159
1140
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1160
- command.query['userIp'] = user_ip unless user_ip.nil?
1161
1141
  execute_or_queue_command(command, &block)
1162
1142
  end
1163
1143
 
@@ -1169,10 +1149,8 @@ module Google
1169
1149
  # @param [String] fields
1170
1150
  # Selector specifying which fields to include in a partial response.
1171
1151
  # @param [String] quota_user
1172
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1173
- # characters.
1174
- # @param [String] user_ip
1175
- # Deprecated. Please use quotaUser instead.
1152
+ # Available to use for quota purposes for server-side applications. Can be any
1153
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1176
1154
  # @param [Google::Apis::RequestOptions] options
1177
1155
  # Request-specific options
1178
1156
  #
@@ -1185,13 +1163,12 @@ module Google
1185
1163
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1186
1164
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1187
1165
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1188
- def delete_member(group_key, member_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1189
- command = make_simple_command(:delete, 'groups/{groupKey}/members/{memberKey}', options)
1166
+ def delete_member(group_key, member_key, fields: nil, quota_user: nil, options: nil, &block)
1167
+ command = make_simple_command(:delete, 'admin/directory/v1/groups/{groupKey}/members/{memberKey}', options)
1190
1168
  command.params['groupKey'] = group_key unless group_key.nil?
1191
1169
  command.params['memberKey'] = member_key unless member_key.nil?
1192
1170
  command.query['fields'] = fields unless fields.nil?
1193
1171
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1194
- command.query['userIp'] = user_ip unless user_ip.nil?
1195
1172
  execute_or_queue_command(command, &block)
1196
1173
  end
1197
1174
 
@@ -1203,10 +1180,8 @@ module Google
1203
1180
  # @param [String] fields
1204
1181
  # Selector specifying which fields to include in a partial response.
1205
1182
  # @param [String] quota_user
1206
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1207
- # characters.
1208
- # @param [String] user_ip
1209
- # Deprecated. Please use quotaUser instead.
1183
+ # Available to use for quota purposes for server-side applications. Can be any
1184
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1210
1185
  # @param [Google::Apis::RequestOptions] options
1211
1186
  # Request-specific options
1212
1187
  #
@@ -1219,15 +1194,14 @@ module Google
1219
1194
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1220
1195
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1221
1196
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1222
- def get_member(group_key, member_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1223
- command = make_simple_command(:get, 'groups/{groupKey}/members/{memberKey}', options)
1197
+ def get_member(group_key, member_key, fields: nil, quota_user: nil, options: nil, &block)
1198
+ command = make_simple_command(:get, 'admin/directory/v1/groups/{groupKey}/members/{memberKey}', options)
1224
1199
  command.response_representation = Google::Apis::AdminDirectoryV1::Member::Representation
1225
1200
  command.response_class = Google::Apis::AdminDirectoryV1::Member
1226
1201
  command.params['groupKey'] = group_key unless group_key.nil?
1227
1202
  command.params['memberKey'] = member_key unless member_key.nil?
1228
1203
  command.query['fields'] = fields unless fields.nil?
1229
1204
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1230
- command.query['userIp'] = user_ip unless user_ip.nil?
1231
1205
  execute_or_queue_command(command, &block)
1232
1206
  end
1233
1207
 
@@ -1242,10 +1216,8 @@ module Google
1242
1216
  # @param [String] fields
1243
1217
  # Selector specifying which fields to include in a partial response.
1244
1218
  # @param [String] quota_user
1245
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1246
- # characters.
1247
- # @param [String] user_ip
1248
- # Deprecated. Please use quotaUser instead.
1219
+ # Available to use for quota purposes for server-side applications. Can be any
1220
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1249
1221
  # @param [Google::Apis::RequestOptions] options
1250
1222
  # Request-specific options
1251
1223
  #
@@ -1258,15 +1230,14 @@ module Google
1258
1230
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1259
1231
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1260
1232
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1261
- def has_member_member(group_key, member_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1262
- command = make_simple_command(:get, 'groups/{groupKey}/hasMember/{memberKey}', options)
1233
+ def has_member_member(group_key, member_key, fields: nil, quota_user: nil, options: nil, &block)
1234
+ command = make_simple_command(:get, 'admin/directory/v1/groups/{groupKey}/hasMember/{memberKey}', options)
1263
1235
  command.response_representation = Google::Apis::AdminDirectoryV1::MembersHasMember::Representation
1264
1236
  command.response_class = Google::Apis::AdminDirectoryV1::MembersHasMember
1265
1237
  command.params['groupKey'] = group_key unless group_key.nil?
1266
1238
  command.params['memberKey'] = member_key unless member_key.nil?
1267
1239
  command.query['fields'] = fields unless fields.nil?
1268
1240
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1269
- command.query['userIp'] = user_ip unless user_ip.nil?
1270
1241
  execute_or_queue_command(command, &block)
1271
1242
  end
1272
1243
 
@@ -1277,10 +1248,8 @@ module Google
1277
1248
  # @param [String] fields
1278
1249
  # Selector specifying which fields to include in a partial response.
1279
1250
  # @param [String] quota_user
1280
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1281
- # characters.
1282
- # @param [String] user_ip
1283
- # Deprecated. Please use quotaUser instead.
1251
+ # Available to use for quota purposes for server-side applications. Can be any
1252
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1284
1253
  # @param [Google::Apis::RequestOptions] options
1285
1254
  # Request-specific options
1286
1255
  #
@@ -1293,8 +1262,8 @@ module Google
1293
1262
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1294
1263
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1295
1264
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1296
- def insert_member(group_key, member_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1297
- command = make_simple_command(:post, 'groups/{groupKey}/members', options)
1265
+ def insert_member(group_key, member_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1266
+ command = make_simple_command(:post, 'admin/directory/v1/groups/{groupKey}/members', options)
1298
1267
  command.request_representation = Google::Apis::AdminDirectoryV1::Member::Representation
1299
1268
  command.request_object = member_object
1300
1269
  command.response_representation = Google::Apis::AdminDirectoryV1::Member::Representation
@@ -1302,7 +1271,6 @@ module Google
1302
1271
  command.params['groupKey'] = group_key unless group_key.nil?
1303
1272
  command.query['fields'] = fields unless fields.nil?
1304
1273
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1305
- command.query['userIp'] = user_ip unless user_ip.nil?
1306
1274
  execute_or_queue_command(command, &block)
1307
1275
  end
1308
1276
 
@@ -1320,10 +1288,8 @@ module Google
1320
1288
  # @param [String] fields
1321
1289
  # Selector specifying which fields to include in a partial response.
1322
1290
  # @param [String] quota_user
1323
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1324
- # characters.
1325
- # @param [String] user_ip
1326
- # Deprecated. Please use quotaUser instead.
1291
+ # Available to use for quota purposes for server-side applications. Can be any
1292
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1327
1293
  # @param [Google::Apis::RequestOptions] options
1328
1294
  # Request-specific options
1329
1295
  #
@@ -1336,8 +1302,8 @@ module Google
1336
1302
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1337
1303
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1338
1304
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1339
- def list_members(group_key, include_derived_membership: nil, max_results: nil, page_token: nil, roles: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1340
- command = make_simple_command(:get, 'groups/{groupKey}/members', options)
1305
+ def list_members(group_key, include_derived_membership: nil, max_results: nil, page_token: nil, roles: nil, fields: nil, quota_user: nil, options: nil, &block)
1306
+ command = make_simple_command(:get, 'admin/directory/v1/groups/{groupKey}/members', options)
1341
1307
  command.response_representation = Google::Apis::AdminDirectoryV1::Members::Representation
1342
1308
  command.response_class = Google::Apis::AdminDirectoryV1::Members
1343
1309
  command.params['groupKey'] = group_key unless group_key.nil?
@@ -1347,12 +1313,10 @@ module Google
1347
1313
  command.query['roles'] = roles unless roles.nil?
1348
1314
  command.query['fields'] = fields unless fields.nil?
1349
1315
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1350
- command.query['userIp'] = user_ip unless user_ip.nil?
1351
1316
  execute_or_queue_command(command, &block)
1352
1317
  end
1353
1318
 
1354
- # Update membership of a user in the specified group. This method supports patch
1355
- # semantics.
1319
+ # Patch Member via Apiary Patch Orchestration
1356
1320
  # @param [String] group_key
1357
1321
  # Email or immutable ID of the group. If ID, it should match with id of group
1358
1322
  # object
@@ -1363,10 +1327,8 @@ module Google
1363
1327
  # @param [String] fields
1364
1328
  # Selector specifying which fields to include in a partial response.
1365
1329
  # @param [String] quota_user
1366
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1367
- # characters.
1368
- # @param [String] user_ip
1369
- # Deprecated. Please use quotaUser instead.
1330
+ # Available to use for quota purposes for server-side applications. Can be any
1331
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1370
1332
  # @param [Google::Apis::RequestOptions] options
1371
1333
  # Request-specific options
1372
1334
  #
@@ -1379,8 +1341,8 @@ module Google
1379
1341
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1380
1342
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1381
1343
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1382
- def patch_member(group_key, member_key, member_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1383
- command = make_simple_command(:patch, 'groups/{groupKey}/members/{memberKey}', options)
1344
+ def patch_member(group_key, member_key, member_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1345
+ command = make_simple_command(:patch, 'admin/directory/v1/groups/{groupKey}/members/{memberKey}', options)
1384
1346
  command.request_representation = Google::Apis::AdminDirectoryV1::Member::Representation
1385
1347
  command.request_object = member_object
1386
1348
  command.response_representation = Google::Apis::AdminDirectoryV1::Member::Representation
@@ -1389,7 +1351,6 @@ module Google
1389
1351
  command.params['memberKey'] = member_key unless member_key.nil?
1390
1352
  command.query['fields'] = fields unless fields.nil?
1391
1353
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1392
- command.query['userIp'] = user_ip unless user_ip.nil?
1393
1354
  execute_or_queue_command(command, &block)
1394
1355
  end
1395
1356
 
@@ -1404,10 +1365,8 @@ module Google
1404
1365
  # @param [String] fields
1405
1366
  # Selector specifying which fields to include in a partial response.
1406
1367
  # @param [String] quota_user
1407
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1408
- # characters.
1409
- # @param [String] user_ip
1410
- # Deprecated. Please use quotaUser instead.
1368
+ # Available to use for quota purposes for server-side applications. Can be any
1369
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1411
1370
  # @param [Google::Apis::RequestOptions] options
1412
1371
  # Request-specific options
1413
1372
  #
@@ -1420,8 +1379,8 @@ module Google
1420
1379
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1421
1380
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1422
1381
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1423
- def update_member(group_key, member_key, member_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1424
- command = make_simple_command(:put, 'groups/{groupKey}/members/{memberKey}', options)
1382
+ def update_member(group_key, member_key, member_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1383
+ command = make_simple_command(:put, 'admin/directory/v1/groups/{groupKey}/members/{memberKey}', options)
1425
1384
  command.request_representation = Google::Apis::AdminDirectoryV1::Member::Representation
1426
1385
  command.request_object = member_object
1427
1386
  command.response_representation = Google::Apis::AdminDirectoryV1::Member::Representation
@@ -1430,7 +1389,6 @@ module Google
1430
1389
  command.params['memberKey'] = member_key unless member_key.nil?
1431
1390
  command.query['fields'] = fields unless fields.nil?
1432
1391
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1433
- command.query['userIp'] = user_ip unless user_ip.nil?
1434
1392
  execute_or_queue_command(command, &block)
1435
1393
  end
1436
1394
 
@@ -1443,10 +1401,8 @@ module Google
1443
1401
  # @param [String] fields
1444
1402
  # Selector specifying which fields to include in a partial response.
1445
1403
  # @param [String] quota_user
1446
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1447
- # characters.
1448
- # @param [String] user_ip
1449
- # Deprecated. Please use quotaUser instead.
1404
+ # Available to use for quota purposes for server-side applications. Can be any
1405
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1450
1406
  # @param [Google::Apis::RequestOptions] options
1451
1407
  # Request-specific options
1452
1408
  #
@@ -1459,15 +1415,14 @@ module Google
1459
1415
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1460
1416
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1461
1417
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1462
- def action_mobile_device(customer_id, resource_id, mobile_device_action_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1463
- command = make_simple_command(:post, 'customer/{customerId}/devices/mobile/{resourceId}/action', options)
1418
+ def action_mobile_device(customer_id, resource_id, mobile_device_action_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1419
+ command = make_simple_command(:post, 'admin/directory/v1/customer/{customerId}/devices/mobile/{resourceId}/action', options)
1464
1420
  command.request_representation = Google::Apis::AdminDirectoryV1::MobileDeviceAction::Representation
1465
1421
  command.request_object = mobile_device_action_object
1466
1422
  command.params['customerId'] = customer_id unless customer_id.nil?
1467
1423
  command.params['resourceId'] = resource_id unless resource_id.nil?
1468
1424
  command.query['fields'] = fields unless fields.nil?
1469
1425
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1470
- command.query['userIp'] = user_ip unless user_ip.nil?
1471
1426
  execute_or_queue_command(command, &block)
1472
1427
  end
1473
1428
 
@@ -1479,10 +1434,8 @@ module Google
1479
1434
  # @param [String] fields
1480
1435
  # Selector specifying which fields to include in a partial response.
1481
1436
  # @param [String] quota_user
1482
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1483
- # characters.
1484
- # @param [String] user_ip
1485
- # Deprecated. Please use quotaUser instead.
1437
+ # Available to use for quota purposes for server-side applications. Can be any
1438
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1486
1439
  # @param [Google::Apis::RequestOptions] options
1487
1440
  # Request-specific options
1488
1441
  #
@@ -1495,13 +1448,12 @@ module Google
1495
1448
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1496
1449
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1497
1450
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1498
- def delete_mobile_device(customer_id, resource_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1499
- command = make_simple_command(:delete, 'customer/{customerId}/devices/mobile/{resourceId}', options)
1451
+ def delete_mobile_device(customer_id, resource_id, fields: nil, quota_user: nil, options: nil, &block)
1452
+ command = make_simple_command(:delete, 'admin/directory/v1/customer/{customerId}/devices/mobile/{resourceId}', options)
1500
1453
  command.params['customerId'] = customer_id unless customer_id.nil?
1501
1454
  command.params['resourceId'] = resource_id unless resource_id.nil?
1502
1455
  command.query['fields'] = fields unless fields.nil?
1503
1456
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1504
- command.query['userIp'] = user_ip unless user_ip.nil?
1505
1457
  execute_or_queue_command(command, &block)
1506
1458
  end
1507
1459
 
@@ -1515,10 +1467,8 @@ module Google
1515
1467
  # @param [String] fields
1516
1468
  # Selector specifying which fields to include in a partial response.
1517
1469
  # @param [String] quota_user
1518
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1519
- # characters.
1520
- # @param [String] user_ip
1521
- # Deprecated. Please use quotaUser instead.
1470
+ # Available to use for quota purposes for server-side applications. Can be any
1471
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1522
1472
  # @param [Google::Apis::RequestOptions] options
1523
1473
  # Request-specific options
1524
1474
  #
@@ -1531,8 +1481,8 @@ module Google
1531
1481
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1532
1482
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1533
1483
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1534
- def get_mobile_device(customer_id, resource_id, projection: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1535
- command = make_simple_command(:get, 'customer/{customerId}/devices/mobile/{resourceId}', options)
1484
+ def get_mobile_device(customer_id, resource_id, projection: nil, fields: nil, quota_user: nil, options: nil, &block)
1485
+ command = make_simple_command(:get, 'admin/directory/v1/customer/{customerId}/devices/mobile/{resourceId}', options)
1536
1486
  command.response_representation = Google::Apis::AdminDirectoryV1::MobileDevice::Representation
1537
1487
  command.response_class = Google::Apis::AdminDirectoryV1::MobileDevice
1538
1488
  command.params['customerId'] = customer_id unless customer_id.nil?
@@ -1540,7 +1490,6 @@ module Google
1540
1490
  command.query['projection'] = projection unless projection.nil?
1541
1491
  command.query['fields'] = fields unless fields.nil?
1542
1492
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1543
- command.query['userIp'] = user_ip unless user_ip.nil?
1544
1493
  execute_or_queue_command(command, &block)
1545
1494
  end
1546
1495
 
@@ -1548,7 +1497,7 @@ module Google
1548
1497
  # @param [String] customer_id
1549
1498
  # Immutable ID of the G Suite account
1550
1499
  # @param [Fixnum] max_results
1551
- # Maximum number of results to return.
1500
+ # Maximum number of results to return. Max allowed value is 100.
1552
1501
  # @param [String] order_by
1553
1502
  # Column to use for sorting results
1554
1503
  # @param [String] page_token
@@ -1556,17 +1505,16 @@ module Google
1556
1505
  # @param [String] projection
1557
1506
  # Restrict information returned to a set of selected fields.
1558
1507
  # @param [String] query
1559
- # Search string in the format provided by this Help Center article.
1508
+ # Search string in the format given at http://support.google.com/a/bin/answer.py?
1509
+ # answer=1408863#search
1560
1510
  # @param [String] sort_order
1561
1511
  # Whether to return results in ascending or descending order. Only of use when
1562
1512
  # orderBy is also used
1563
1513
  # @param [String] fields
1564
1514
  # Selector specifying which fields to include in a partial response.
1565
1515
  # @param [String] quota_user
1566
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1567
- # characters.
1568
- # @param [String] user_ip
1569
- # Deprecated. Please use quotaUser instead.
1516
+ # Available to use for quota purposes for server-side applications. Can be any
1517
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1570
1518
  # @param [Google::Apis::RequestOptions] options
1571
1519
  # Request-specific options
1572
1520
  #
@@ -1579,8 +1527,8 @@ module Google
1579
1527
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1580
1528
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1581
1529
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1582
- def list_mobile_devices(customer_id, max_results: nil, order_by: nil, page_token: nil, projection: nil, query: nil, sort_order: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1583
- command = make_simple_command(:get, 'customer/{customerId}/devices/mobile', options)
1530
+ def list_mobile_devices(customer_id, max_results: nil, order_by: nil, page_token: nil, projection: nil, query: nil, sort_order: nil, fields: nil, quota_user: nil, options: nil, &block)
1531
+ command = make_simple_command(:get, 'admin/directory/v1/customer/{customerId}/devices/mobile', options)
1584
1532
  command.response_representation = Google::Apis::AdminDirectoryV1::MobileDevices::Representation
1585
1533
  command.response_class = Google::Apis::AdminDirectoryV1::MobileDevices
1586
1534
  command.params['customerId'] = customer_id unless customer_id.nil?
@@ -1592,215 +1540,19 @@ module Google
1592
1540
  command.query['sortOrder'] = sort_order unless sort_order.nil?
1593
1541
  command.query['fields'] = fields unless fields.nil?
1594
1542
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1595
- command.query['userIp'] = user_ip unless user_ip.nil?
1596
- execute_or_queue_command(command, &block)
1597
- end
1598
-
1599
- # Deletes a notification
1600
- # @param [String] customer
1601
- # The unique ID for the customer's G Suite account. The customerId is also
1602
- # returned as part of the Users resource.
1603
- # @param [String] notification_id
1604
- # The unique ID of the notification.
1605
- # @param [String] fields
1606
- # Selector specifying which fields to include in a partial response.
1607
- # @param [String] quota_user
1608
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1609
- # characters.
1610
- # @param [String] user_ip
1611
- # Deprecated. Please use quotaUser instead.
1612
- # @param [Google::Apis::RequestOptions] options
1613
- # Request-specific options
1614
- #
1615
- # @yield [result, err] Result & error if block supplied
1616
- # @yieldparam result [NilClass] No result returned for this method
1617
- # @yieldparam err [StandardError] error object if request failed
1618
- #
1619
- # @return [void]
1620
- #
1621
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1622
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1623
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1624
- def delete_notification(customer, notification_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1625
- command = make_simple_command(:delete, 'customer/{customer}/notifications/{notificationId}', options)
1626
- command.params['customer'] = customer unless customer.nil?
1627
- command.params['notificationId'] = notification_id unless notification_id.nil?
1628
- command.query['fields'] = fields unless fields.nil?
1629
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1630
- command.query['userIp'] = user_ip unless user_ip.nil?
1631
- execute_or_queue_command(command, &block)
1632
- end
1633
-
1634
- # Retrieves a notification.
1635
- # @param [String] customer
1636
- # The unique ID for the customer's G Suite account. The customerId is also
1637
- # returned as part of the Users resource.
1638
- # @param [String] notification_id
1639
- # The unique ID of the notification.
1640
- # @param [String] fields
1641
- # Selector specifying which fields to include in a partial response.
1642
- # @param [String] quota_user
1643
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1644
- # characters.
1645
- # @param [String] user_ip
1646
- # Deprecated. Please use quotaUser instead.
1647
- # @param [Google::Apis::RequestOptions] options
1648
- # Request-specific options
1649
- #
1650
- # @yield [result, err] Result & error if block supplied
1651
- # @yieldparam result [Google::Apis::AdminDirectoryV1::Notification] parsed result object
1652
- # @yieldparam err [StandardError] error object if request failed
1653
- #
1654
- # @return [Google::Apis::AdminDirectoryV1::Notification]
1655
- #
1656
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1657
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1658
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1659
- def get_notification(customer, notification_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1660
- command = make_simple_command(:get, 'customer/{customer}/notifications/{notificationId}', options)
1661
- command.response_representation = Google::Apis::AdminDirectoryV1::Notification::Representation
1662
- command.response_class = Google::Apis::AdminDirectoryV1::Notification
1663
- command.params['customer'] = customer unless customer.nil?
1664
- command.params['notificationId'] = notification_id unless notification_id.nil?
1665
- command.query['fields'] = fields unless fields.nil?
1666
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1667
- command.query['userIp'] = user_ip unless user_ip.nil?
1668
- execute_or_queue_command(command, &block)
1669
- end
1670
-
1671
- # Retrieves a list of notifications.
1672
- # @param [String] customer
1673
- # The unique ID for the customer's G Suite account.
1674
- # @param [String] language
1675
- # The ISO 639-1 code of the language notifications are returned in. The default
1676
- # is English (en).
1677
- # @param [Fixnum] max_results
1678
- # Maximum number of notifications to return per page. The default is 100.
1679
- # @param [String] page_token
1680
- # The token to specify the page of results to retrieve.
1681
- # @param [String] fields
1682
- # Selector specifying which fields to include in a partial response.
1683
- # @param [String] quota_user
1684
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1685
- # characters.
1686
- # @param [String] user_ip
1687
- # Deprecated. Please use quotaUser instead.
1688
- # @param [Google::Apis::RequestOptions] options
1689
- # Request-specific options
1690
- #
1691
- # @yield [result, err] Result & error if block supplied
1692
- # @yieldparam result [Google::Apis::AdminDirectoryV1::Notifications] parsed result object
1693
- # @yieldparam err [StandardError] error object if request failed
1694
- #
1695
- # @return [Google::Apis::AdminDirectoryV1::Notifications]
1696
- #
1697
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1698
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1699
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1700
- def list_notifications(customer, language: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1701
- command = make_simple_command(:get, 'customer/{customer}/notifications', options)
1702
- command.response_representation = Google::Apis::AdminDirectoryV1::Notifications::Representation
1703
- command.response_class = Google::Apis::AdminDirectoryV1::Notifications
1704
- command.params['customer'] = customer unless customer.nil?
1705
- command.query['language'] = language unless language.nil?
1706
- command.query['maxResults'] = max_results unless max_results.nil?
1707
- command.query['pageToken'] = page_token unless page_token.nil?
1708
- command.query['fields'] = fields unless fields.nil?
1709
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1710
- command.query['userIp'] = user_ip unless user_ip.nil?
1711
- execute_or_queue_command(command, &block)
1712
- end
1713
-
1714
- # Updates a notification. This method supports patch semantics.
1715
- # @param [String] customer
1716
- # The unique ID for the customer's G Suite account.
1717
- # @param [String] notification_id
1718
- # The unique ID of the notification.
1719
- # @param [Google::Apis::AdminDirectoryV1::Notification] notification_object
1720
- # @param [String] fields
1721
- # Selector specifying which fields to include in a partial response.
1722
- # @param [String] quota_user
1723
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1724
- # characters.
1725
- # @param [String] user_ip
1726
- # Deprecated. Please use quotaUser instead.
1727
- # @param [Google::Apis::RequestOptions] options
1728
- # Request-specific options
1729
- #
1730
- # @yield [result, err] Result & error if block supplied
1731
- # @yieldparam result [Google::Apis::AdminDirectoryV1::Notification] parsed result object
1732
- # @yieldparam err [StandardError] error object if request failed
1733
- #
1734
- # @return [Google::Apis::AdminDirectoryV1::Notification]
1735
- #
1736
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1737
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1738
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1739
- def patch_notification(customer, notification_id, notification_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1740
- command = make_simple_command(:patch, 'customer/{customer}/notifications/{notificationId}', options)
1741
- command.request_representation = Google::Apis::AdminDirectoryV1::Notification::Representation
1742
- command.request_object = notification_object
1743
- command.response_representation = Google::Apis::AdminDirectoryV1::Notification::Representation
1744
- command.response_class = Google::Apis::AdminDirectoryV1::Notification
1745
- command.params['customer'] = customer unless customer.nil?
1746
- command.params['notificationId'] = notification_id unless notification_id.nil?
1747
- command.query['fields'] = fields unless fields.nil?
1748
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1749
- command.query['userIp'] = user_ip unless user_ip.nil?
1750
- execute_or_queue_command(command, &block)
1751
- end
1752
-
1753
- # Updates a notification.
1754
- # @param [String] customer
1755
- # The unique ID for the customer's G Suite account.
1756
- # @param [String] notification_id
1757
- # The unique ID of the notification.
1758
- # @param [Google::Apis::AdminDirectoryV1::Notification] notification_object
1759
- # @param [String] fields
1760
- # Selector specifying which fields to include in a partial response.
1761
- # @param [String] quota_user
1762
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1763
- # characters.
1764
- # @param [String] user_ip
1765
- # Deprecated. Please use quotaUser instead.
1766
- # @param [Google::Apis::RequestOptions] options
1767
- # Request-specific options
1768
- #
1769
- # @yield [result, err] Result & error if block supplied
1770
- # @yieldparam result [Google::Apis::AdminDirectoryV1::Notification] parsed result object
1771
- # @yieldparam err [StandardError] error object if request failed
1772
- #
1773
- # @return [Google::Apis::AdminDirectoryV1::Notification]
1774
- #
1775
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1776
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1777
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1778
- def update_notification(customer, notification_id, notification_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1779
- command = make_simple_command(:put, 'customer/{customer}/notifications/{notificationId}', options)
1780
- command.request_representation = Google::Apis::AdminDirectoryV1::Notification::Representation
1781
- command.request_object = notification_object
1782
- command.response_representation = Google::Apis::AdminDirectoryV1::Notification::Representation
1783
- command.response_class = Google::Apis::AdminDirectoryV1::Notification
1784
- command.params['customer'] = customer unless customer.nil?
1785
- command.params['notificationId'] = notification_id unless notification_id.nil?
1786
- command.query['fields'] = fields unless fields.nil?
1787
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1788
- command.query['userIp'] = user_ip unless user_ip.nil?
1789
1543
  execute_or_queue_command(command, &block)
1790
1544
  end
1791
1545
 
1792
1546
  # Remove organizational unit
1793
1547
  # @param [String] customer_id
1794
1548
  # Immutable ID of the G Suite account
1795
- # @param [Array<String>, String] org_unit_path
1549
+ # @param [String] org_unit_path
1796
1550
  # Full path of the organizational unit or its ID
1797
1551
  # @param [String] fields
1798
1552
  # Selector specifying which fields to include in a partial response.
1799
1553
  # @param [String] quota_user
1800
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1801
- # characters.
1802
- # @param [String] user_ip
1803
- # Deprecated. Please use quotaUser instead.
1554
+ # Available to use for quota purposes for server-side applications. Can be any
1555
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1804
1556
  # @param [Google::Apis::RequestOptions] options
1805
1557
  # Request-specific options
1806
1558
  #
@@ -1813,28 +1565,25 @@ module Google
1813
1565
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1814
1566
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1815
1567
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1816
- def delete_org_unit(customer_id, org_unit_path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1817
- command = make_simple_command(:delete, 'customer/{customerId}/orgunits{/orgUnitPath*}', options)
1568
+ def delete_org_unit(customer_id, org_unit_path, fields: nil, quota_user: nil, options: nil, &block)
1569
+ command = make_simple_command(:delete, 'admin/directory/v1/customer/{customerId}/orgunits/{+orgUnitPath}', options)
1818
1570
  command.params['customerId'] = customer_id unless customer_id.nil?
1819
1571
  command.params['orgUnitPath'] = org_unit_path unless org_unit_path.nil?
1820
1572
  command.query['fields'] = fields unless fields.nil?
1821
1573
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1822
- command.query['userIp'] = user_ip unless user_ip.nil?
1823
1574
  execute_or_queue_command(command, &block)
1824
1575
  end
1825
1576
 
1826
1577
  # Retrieve organizational unit
1827
1578
  # @param [String] customer_id
1828
1579
  # Immutable ID of the G Suite account
1829
- # @param [Array<String>, String] org_unit_path
1580
+ # @param [String] org_unit_path
1830
1581
  # Full path of the organizational unit or its ID
1831
1582
  # @param [String] fields
1832
1583
  # Selector specifying which fields to include in a partial response.
1833
1584
  # @param [String] quota_user
1834
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1835
- # characters.
1836
- # @param [String] user_ip
1837
- # Deprecated. Please use quotaUser instead.
1585
+ # Available to use for quota purposes for server-side applications. Can be any
1586
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1838
1587
  # @param [Google::Apis::RequestOptions] options
1839
1588
  # Request-specific options
1840
1589
  #
@@ -1847,15 +1596,14 @@ module Google
1847
1596
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1848
1597
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1849
1598
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1850
- def get_org_unit(customer_id, org_unit_path, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1851
- command = make_simple_command(:get, 'customer/{customerId}/orgunits{/orgUnitPath*}', options)
1599
+ def get_org_unit(customer_id, org_unit_path, fields: nil, quota_user: nil, options: nil, &block)
1600
+ command = make_simple_command(:get, 'admin/directory/v1/customer/{customerId}/orgunits/{+orgUnitPath}', options)
1852
1601
  command.response_representation = Google::Apis::AdminDirectoryV1::OrgUnit::Representation
1853
1602
  command.response_class = Google::Apis::AdminDirectoryV1::OrgUnit
1854
1603
  command.params['customerId'] = customer_id unless customer_id.nil?
1855
1604
  command.params['orgUnitPath'] = org_unit_path unless org_unit_path.nil?
1856
1605
  command.query['fields'] = fields unless fields.nil?
1857
1606
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1858
- command.query['userIp'] = user_ip unless user_ip.nil?
1859
1607
  execute_or_queue_command(command, &block)
1860
1608
  end
1861
1609
 
@@ -1866,10 +1614,8 @@ module Google
1866
1614
  # @param [String] fields
1867
1615
  # Selector specifying which fields to include in a partial response.
1868
1616
  # @param [String] quota_user
1869
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1870
- # characters.
1871
- # @param [String] user_ip
1872
- # Deprecated. Please use quotaUser instead.
1617
+ # Available to use for quota purposes for server-side applications. Can be any
1618
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1873
1619
  # @param [Google::Apis::RequestOptions] options
1874
1620
  # Request-specific options
1875
1621
  #
@@ -1882,8 +1628,8 @@ module Google
1882
1628
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1883
1629
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1884
1630
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1885
- def insert_org_unit(customer_id, org_unit_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1886
- command = make_simple_command(:post, 'customer/{customerId}/orgunits', options)
1631
+ def insert_org_unit(customer_id, org_unit_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1632
+ command = make_simple_command(:post, 'admin/directory/v1/customer/{customerId}/orgunits', options)
1887
1633
  command.request_representation = Google::Apis::AdminDirectoryV1::OrgUnit::Representation
1888
1634
  command.request_object = org_unit_object
1889
1635
  command.response_representation = Google::Apis::AdminDirectoryV1::OrgUnit::Representation
@@ -1891,7 +1637,6 @@ module Google
1891
1637
  command.params['customerId'] = customer_id unless customer_id.nil?
1892
1638
  command.query['fields'] = fields unless fields.nil?
1893
1639
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1894
- command.query['userIp'] = user_ip unless user_ip.nil?
1895
1640
  execute_or_queue_command(command, &block)
1896
1641
  end
1897
1642
 
@@ -1905,10 +1650,8 @@ module Google
1905
1650
  # @param [String] fields
1906
1651
  # Selector specifying which fields to include in a partial response.
1907
1652
  # @param [String] quota_user
1908
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1909
- # characters.
1910
- # @param [String] user_ip
1911
- # Deprecated. Please use quotaUser instead.
1653
+ # Available to use for quota purposes for server-side applications. Can be any
1654
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1912
1655
  # @param [Google::Apis::RequestOptions] options
1913
1656
  # Request-specific options
1914
1657
  #
@@ -1921,8 +1664,8 @@ module Google
1921
1664
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1922
1665
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1923
1666
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1924
- def list_org_units(customer_id, org_unit_path: nil, type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1925
- command = make_simple_command(:get, 'customer/{customerId}/orgunits', options)
1667
+ def list_org_units(customer_id, org_unit_path: nil, type: nil, fields: nil, quota_user: nil, options: nil, &block)
1668
+ command = make_simple_command(:get, 'admin/directory/v1/customer/{customerId}/orgunits', options)
1926
1669
  command.response_representation = Google::Apis::AdminDirectoryV1::OrgUnits::Representation
1927
1670
  command.response_class = Google::Apis::AdminDirectoryV1::OrgUnits
1928
1671
  command.params['customerId'] = customer_id unless customer_id.nil?
@@ -1930,23 +1673,20 @@ module Google
1930
1673
  command.query['type'] = type unless type.nil?
1931
1674
  command.query['fields'] = fields unless fields.nil?
1932
1675
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1933
- command.query['userIp'] = user_ip unless user_ip.nil?
1934
1676
  execute_or_queue_command(command, &block)
1935
1677
  end
1936
1678
 
1937
- # Update organizational unit. This method supports patch semantics.
1679
+ # Patch organization unit via Apiary Patch Orchestration
1938
1680
  # @param [String] customer_id
1939
1681
  # Immutable ID of the G Suite account
1940
- # @param [Array<String>, String] org_unit_path
1682
+ # @param [String] org_unit_path
1941
1683
  # Full path of the organizational unit or its ID
1942
1684
  # @param [Google::Apis::AdminDirectoryV1::OrgUnit] org_unit_object
1943
1685
  # @param [String] fields
1944
1686
  # Selector specifying which fields to include in a partial response.
1945
1687
  # @param [String] quota_user
1946
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1947
- # characters.
1948
- # @param [String] user_ip
1949
- # Deprecated. Please use quotaUser instead.
1688
+ # Available to use for quota purposes for server-side applications. Can be any
1689
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1950
1690
  # @param [Google::Apis::RequestOptions] options
1951
1691
  # Request-specific options
1952
1692
  #
@@ -1959,8 +1699,8 @@ module Google
1959
1699
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1960
1700
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1961
1701
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1962
- def patch_org_unit(customer_id, org_unit_path, org_unit_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
1963
- command = make_simple_command(:patch, 'customer/{customerId}/orgunits{/orgUnitPath*}', options)
1702
+ def patch_org_unit(customer_id, org_unit_path, org_unit_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1703
+ command = make_simple_command(:patch, 'admin/directory/v1/customer/{customerId}/orgunits/{+orgUnitPath}', options)
1964
1704
  command.request_representation = Google::Apis::AdminDirectoryV1::OrgUnit::Representation
1965
1705
  command.request_object = org_unit_object
1966
1706
  command.response_representation = Google::Apis::AdminDirectoryV1::OrgUnit::Representation
@@ -1969,23 +1709,20 @@ module Google
1969
1709
  command.params['orgUnitPath'] = org_unit_path unless org_unit_path.nil?
1970
1710
  command.query['fields'] = fields unless fields.nil?
1971
1711
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1972
- command.query['userIp'] = user_ip unless user_ip.nil?
1973
1712
  execute_or_queue_command(command, &block)
1974
1713
  end
1975
1714
 
1976
1715
  # Update organizational unit
1977
1716
  # @param [String] customer_id
1978
1717
  # Immutable ID of the G Suite account
1979
- # @param [Array<String>, String] org_unit_path
1718
+ # @param [String] org_unit_path
1980
1719
  # Full path of the organizational unit or its ID
1981
1720
  # @param [Google::Apis::AdminDirectoryV1::OrgUnit] org_unit_object
1982
1721
  # @param [String] fields
1983
1722
  # Selector specifying which fields to include in a partial response.
1984
1723
  # @param [String] quota_user
1985
- # An opaque string that represents a user for quota purposes. Must not exceed 40
1986
- # characters.
1987
- # @param [String] user_ip
1988
- # Deprecated. Please use quotaUser instead.
1724
+ # Available to use for quota purposes for server-side applications. Can be any
1725
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1989
1726
  # @param [Google::Apis::RequestOptions] options
1990
1727
  # Request-specific options
1991
1728
  #
@@ -1998,8 +1735,8 @@ module Google
1998
1735
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1999
1736
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2000
1737
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2001
- def update_org_unit(customer_id, org_unit_path, org_unit_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2002
- command = make_simple_command(:put, 'customer/{customerId}/orgunits{/orgUnitPath*}', options)
1738
+ def update_org_unit(customer_id, org_unit_path, org_unit_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1739
+ command = make_simple_command(:put, 'admin/directory/v1/customer/{customerId}/orgunits/{+orgUnitPath}', options)
2003
1740
  command.request_representation = Google::Apis::AdminDirectoryV1::OrgUnit::Representation
2004
1741
  command.request_object = org_unit_object
2005
1742
  command.response_representation = Google::Apis::AdminDirectoryV1::OrgUnit::Representation
@@ -2008,7 +1745,6 @@ module Google
2008
1745
  command.params['orgUnitPath'] = org_unit_path unless org_unit_path.nil?
2009
1746
  command.query['fields'] = fields unless fields.nil?
2010
1747
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2011
- command.query['userIp'] = user_ip unless user_ip.nil?
2012
1748
  execute_or_queue_command(command, &block)
2013
1749
  end
2014
1750
 
@@ -2018,10 +1754,8 @@ module Google
2018
1754
  # @param [String] fields
2019
1755
  # Selector specifying which fields to include in a partial response.
2020
1756
  # @param [String] quota_user
2021
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2022
- # characters.
2023
- # @param [String] user_ip
2024
- # Deprecated. Please use quotaUser instead.
1757
+ # Available to use for quota purposes for server-side applications. Can be any
1758
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2025
1759
  # @param [Google::Apis::RequestOptions] options
2026
1760
  # Request-specific options
2027
1761
  #
@@ -2034,14 +1768,13 @@ module Google
2034
1768
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2035
1769
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2036
1770
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2037
- def list_privileges(customer, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2038
- command = make_simple_command(:get, 'customer/{customer}/roles/ALL/privileges', options)
1771
+ def list_privileges(customer, fields: nil, quota_user: nil, options: nil, &block)
1772
+ command = make_simple_command(:get, 'admin/directory/v1/customer/{customer}/roles/ALL/privileges', options)
2039
1773
  command.response_representation = Google::Apis::AdminDirectoryV1::Privileges::Representation
2040
1774
  command.response_class = Google::Apis::AdminDirectoryV1::Privileges
2041
1775
  command.params['customer'] = customer unless customer.nil?
2042
1776
  command.query['fields'] = fields unless fields.nil?
2043
1777
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2044
- command.query['userIp'] = user_ip unless user_ip.nil?
2045
1778
  execute_or_queue_command(command, &block)
2046
1779
  end
2047
1780
 
@@ -2050,14 +1783,12 @@ module Google
2050
1783
  # The unique ID for the customer's G Suite account. As an account administrator,
2051
1784
  # you can also use the my_customer alias to represent your account's customer ID.
2052
1785
  # @param [String] building_id
2053
- # The ID of the building to delete.
1786
+ # The id of the building to delete.
2054
1787
  # @param [String] fields
2055
1788
  # Selector specifying which fields to include in a partial response.
2056
1789
  # @param [String] quota_user
2057
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2058
- # characters.
2059
- # @param [String] user_ip
2060
- # Deprecated. Please use quotaUser instead.
1790
+ # Available to use for quota purposes for server-side applications. Can be any
1791
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2061
1792
  # @param [Google::Apis::RequestOptions] options
2062
1793
  # Request-specific options
2063
1794
  #
@@ -2070,13 +1801,12 @@ module Google
2070
1801
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2071
1802
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2072
1803
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2073
- def delete_resource_building(customer, building_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2074
- command = make_simple_command(:delete, 'customer/{customer}/resources/buildings/{buildingId}', options)
1804
+ def delete_resource_building(customer, building_id, fields: nil, quota_user: nil, options: nil, &block)
1805
+ command = make_simple_command(:delete, 'admin/directory/v1/customer/{customer}/resources/buildings/{buildingId}', options)
2075
1806
  command.params['customer'] = customer unless customer.nil?
2076
1807
  command.params['buildingId'] = building_id unless building_id.nil?
2077
1808
  command.query['fields'] = fields unless fields.nil?
2078
1809
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2079
- command.query['userIp'] = user_ip unless user_ip.nil?
2080
1810
  execute_or_queue_command(command, &block)
2081
1811
  end
2082
1812
 
@@ -2089,10 +1819,8 @@ module Google
2089
1819
  # @param [String] fields
2090
1820
  # Selector specifying which fields to include in a partial response.
2091
1821
  # @param [String] quota_user
2092
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2093
- # characters.
2094
- # @param [String] user_ip
2095
- # Deprecated. Please use quotaUser instead.
1822
+ # Available to use for quota purposes for server-side applications. Can be any
1823
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2096
1824
  # @param [Google::Apis::RequestOptions] options
2097
1825
  # Request-specific options
2098
1826
  #
@@ -2105,15 +1833,14 @@ module Google
2105
1833
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2106
1834
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2107
1835
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2108
- def get_resource_building(customer, building_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2109
- command = make_simple_command(:get, 'customer/{customer}/resources/buildings/{buildingId}', options)
1836
+ def get_resource_building(customer, building_id, fields: nil, quota_user: nil, options: nil, &block)
1837
+ command = make_simple_command(:get, 'admin/directory/v1/customer/{customer}/resources/buildings/{buildingId}', options)
2110
1838
  command.response_representation = Google::Apis::AdminDirectoryV1::Building::Representation
2111
1839
  command.response_class = Google::Apis::AdminDirectoryV1::Building
2112
1840
  command.params['customer'] = customer unless customer.nil?
2113
1841
  command.params['buildingId'] = building_id unless building_id.nil?
2114
1842
  command.query['fields'] = fields unless fields.nil?
2115
1843
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2116
- command.query['userIp'] = user_ip unless user_ip.nil?
2117
1844
  execute_or_queue_command(command, &block)
2118
1845
  end
2119
1846
 
@@ -2127,10 +1854,8 @@ module Google
2127
1854
  # @param [String] fields
2128
1855
  # Selector specifying which fields to include in a partial response.
2129
1856
  # @param [String] quota_user
2130
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2131
- # characters.
2132
- # @param [String] user_ip
2133
- # Deprecated. Please use quotaUser instead.
1857
+ # Available to use for quota purposes for server-side applications. Can be any
1858
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2134
1859
  # @param [Google::Apis::RequestOptions] options
2135
1860
  # Request-specific options
2136
1861
  #
@@ -2143,8 +1868,8 @@ module Google
2143
1868
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2144
1869
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2145
1870
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2146
- def insert_resource_building(customer, building_object = nil, coordinates_source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2147
- command = make_simple_command(:post, 'customer/{customer}/resources/buildings', options)
1871
+ def insert_resource_building(customer, building_object = nil, coordinates_source: nil, fields: nil, quota_user: nil, options: nil, &block)
1872
+ command = make_simple_command(:post, 'admin/directory/v1/customer/{customer}/resources/buildings', options)
2148
1873
  command.request_representation = Google::Apis::AdminDirectoryV1::Building::Representation
2149
1874
  command.request_object = building_object
2150
1875
  command.response_representation = Google::Apis::AdminDirectoryV1::Building::Representation
@@ -2153,7 +1878,6 @@ module Google
2153
1878
  command.query['coordinatesSource'] = coordinates_source unless coordinates_source.nil?
2154
1879
  command.query['fields'] = fields unless fields.nil?
2155
1880
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2156
- command.query['userIp'] = user_ip unless user_ip.nil?
2157
1881
  execute_or_queue_command(command, &block)
2158
1882
  end
2159
1883
 
@@ -2168,10 +1892,8 @@ module Google
2168
1892
  # @param [String] fields
2169
1893
  # Selector specifying which fields to include in a partial response.
2170
1894
  # @param [String] quota_user
2171
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2172
- # characters.
2173
- # @param [String] user_ip
2174
- # Deprecated. Please use quotaUser instead.
1895
+ # Available to use for quota purposes for server-side applications. Can be any
1896
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2175
1897
  # @param [Google::Apis::RequestOptions] options
2176
1898
  # Request-specific options
2177
1899
  #
@@ -2184,8 +1906,8 @@ module Google
2184
1906
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2185
1907
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2186
1908
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2187
- def list_resource_buildings(customer, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2188
- command = make_simple_command(:get, 'customer/{customer}/resources/buildings', options)
1909
+ def list_resource_buildings(customer, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1910
+ command = make_simple_command(:get, 'admin/directory/v1/customer/{customer}/resources/buildings', options)
2189
1911
  command.response_representation = Google::Apis::AdminDirectoryV1::Buildings::Representation
2190
1912
  command.response_class = Google::Apis::AdminDirectoryV1::Buildings
2191
1913
  command.params['customer'] = customer unless customer.nil?
@@ -2193,26 +1915,23 @@ module Google
2193
1915
  command.query['pageToken'] = page_token unless page_token.nil?
2194
1916
  command.query['fields'] = fields unless fields.nil?
2195
1917
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2196
- command.query['userIp'] = user_ip unless user_ip.nil?
2197
1918
  execute_or_queue_command(command, &block)
2198
1919
  end
2199
1920
 
2200
- # Updates a building. This method supports patch semantics.
1921
+ # Patches a building via Apiary Patch Orchestration.
2201
1922
  # @param [String] customer
2202
1923
  # The unique ID for the customer's G Suite account. As an account administrator,
2203
1924
  # you can also use the my_customer alias to represent your account's customer ID.
2204
1925
  # @param [String] building_id
2205
- # The ID of the building to update.
1926
+ # The id of the building to update.
2206
1927
  # @param [Google::Apis::AdminDirectoryV1::Building] building_object
2207
1928
  # @param [String] coordinates_source
2208
1929
  # Source from which Building.coordinates are derived.
2209
1930
  # @param [String] fields
2210
1931
  # Selector specifying which fields to include in a partial response.
2211
1932
  # @param [String] quota_user
2212
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2213
- # characters.
2214
- # @param [String] user_ip
2215
- # Deprecated. Please use quotaUser instead.
1933
+ # Available to use for quota purposes for server-side applications. Can be any
1934
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2216
1935
  # @param [Google::Apis::RequestOptions] options
2217
1936
  # Request-specific options
2218
1937
  #
@@ -2225,8 +1944,8 @@ module Google
2225
1944
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2226
1945
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2227
1946
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2228
- def patch_resource_building(customer, building_id, building_object = nil, coordinates_source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2229
- command = make_simple_command(:patch, 'customer/{customer}/resources/buildings/{buildingId}', options)
1947
+ def patch_resource_building(customer, building_id, building_object = nil, coordinates_source: nil, fields: nil, quota_user: nil, options: nil, &block)
1948
+ command = make_simple_command(:patch, 'admin/directory/v1/customer/{customer}/resources/buildings/{buildingId}', options)
2230
1949
  command.request_representation = Google::Apis::AdminDirectoryV1::Building::Representation
2231
1950
  command.request_object = building_object
2232
1951
  command.response_representation = Google::Apis::AdminDirectoryV1::Building::Representation
@@ -2236,7 +1955,6 @@ module Google
2236
1955
  command.query['coordinatesSource'] = coordinates_source unless coordinates_source.nil?
2237
1956
  command.query['fields'] = fields unless fields.nil?
2238
1957
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2239
- command.query['userIp'] = user_ip unless user_ip.nil?
2240
1958
  execute_or_queue_command(command, &block)
2241
1959
  end
2242
1960
 
@@ -2245,17 +1963,15 @@ module Google
2245
1963
  # The unique ID for the customer's G Suite account. As an account administrator,
2246
1964
  # you can also use the my_customer alias to represent your account's customer ID.
2247
1965
  # @param [String] building_id
2248
- # The ID of the building to update.
1966
+ # The id of the building to update.
2249
1967
  # @param [Google::Apis::AdminDirectoryV1::Building] building_object
2250
1968
  # @param [String] coordinates_source
2251
1969
  # Source from which Building.coordinates are derived.
2252
1970
  # @param [String] fields
2253
1971
  # Selector specifying which fields to include in a partial response.
2254
1972
  # @param [String] quota_user
2255
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2256
- # characters.
2257
- # @param [String] user_ip
2258
- # Deprecated. Please use quotaUser instead.
1973
+ # Available to use for quota purposes for server-side applications. Can be any
1974
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2259
1975
  # @param [Google::Apis::RequestOptions] options
2260
1976
  # Request-specific options
2261
1977
  #
@@ -2268,8 +1984,8 @@ module Google
2268
1984
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2269
1985
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2270
1986
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2271
- def update_resource_building(customer, building_id, building_object = nil, coordinates_source: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2272
- command = make_simple_command(:put, 'customer/{customer}/resources/buildings/{buildingId}', options)
1987
+ def update_resource_building(customer, building_id, building_object = nil, coordinates_source: nil, fields: nil, quota_user: nil, options: nil, &block)
1988
+ command = make_simple_command(:put, 'admin/directory/v1/customer/{customer}/resources/buildings/{buildingId}', options)
2273
1989
  command.request_representation = Google::Apis::AdminDirectoryV1::Building::Representation
2274
1990
  command.request_object = building_object
2275
1991
  command.response_representation = Google::Apis::AdminDirectoryV1::Building::Representation
@@ -2279,7 +1995,6 @@ module Google
2279
1995
  command.query['coordinatesSource'] = coordinates_source unless coordinates_source.nil?
2280
1996
  command.query['fields'] = fields unless fields.nil?
2281
1997
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2282
- command.query['userIp'] = user_ip unless user_ip.nil?
2283
1998
  execute_or_queue_command(command, &block)
2284
1999
  end
2285
2000
 
@@ -2292,10 +2007,8 @@ module Google
2292
2007
  # @param [String] fields
2293
2008
  # Selector specifying which fields to include in a partial response.
2294
2009
  # @param [String] quota_user
2295
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2296
- # characters.
2297
- # @param [String] user_ip
2298
- # Deprecated. Please use quotaUser instead.
2010
+ # Available to use for quota purposes for server-side applications. Can be any
2011
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2299
2012
  # @param [Google::Apis::RequestOptions] options
2300
2013
  # Request-specific options
2301
2014
  #
@@ -2308,13 +2021,12 @@ module Google
2308
2021
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2309
2022
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2310
2023
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2311
- def delete_calendar_resource(customer, calendar_resource_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2312
- command = make_simple_command(:delete, 'customer/{customer}/resources/calendars/{calendarResourceId}', options)
2024
+ def delete_calendar_resource(customer, calendar_resource_id, fields: nil, quota_user: nil, options: nil, &block)
2025
+ command = make_simple_command(:delete, 'admin/directory/v1/customer/{customer}/resources/calendars/{calendarResourceId}', options)
2313
2026
  command.params['customer'] = customer unless customer.nil?
2314
2027
  command.params['calendarResourceId'] = calendar_resource_id unless calendar_resource_id.nil?
2315
2028
  command.query['fields'] = fields unless fields.nil?
2316
2029
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2317
- command.query['userIp'] = user_ip unless user_ip.nil?
2318
2030
  execute_or_queue_command(command, &block)
2319
2031
  end
2320
2032
 
@@ -2327,10 +2039,8 @@ module Google
2327
2039
  # @param [String] fields
2328
2040
  # Selector specifying which fields to include in a partial response.
2329
2041
  # @param [String] quota_user
2330
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2331
- # characters.
2332
- # @param [String] user_ip
2333
- # Deprecated. Please use quotaUser instead.
2042
+ # Available to use for quota purposes for server-side applications. Can be any
2043
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2334
2044
  # @param [Google::Apis::RequestOptions] options
2335
2045
  # Request-specific options
2336
2046
  #
@@ -2343,15 +2053,14 @@ module Google
2343
2053
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2344
2054
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2345
2055
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2346
- def get_calendar_resource(customer, calendar_resource_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2347
- command = make_simple_command(:get, 'customer/{customer}/resources/calendars/{calendarResourceId}', options)
2056
+ def get_calendar_resource(customer, calendar_resource_id, fields: nil, quota_user: nil, options: nil, &block)
2057
+ command = make_simple_command(:get, 'admin/directory/v1/customer/{customer}/resources/calendars/{calendarResourceId}', options)
2348
2058
  command.response_representation = Google::Apis::AdminDirectoryV1::CalendarResource::Representation
2349
2059
  command.response_class = Google::Apis::AdminDirectoryV1::CalendarResource
2350
2060
  command.params['customer'] = customer unless customer.nil?
2351
2061
  command.params['calendarResourceId'] = calendar_resource_id unless calendar_resource_id.nil?
2352
2062
  command.query['fields'] = fields unless fields.nil?
2353
2063
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2354
- command.query['userIp'] = user_ip unless user_ip.nil?
2355
2064
  execute_or_queue_command(command, &block)
2356
2065
  end
2357
2066
 
@@ -2363,10 +2072,8 @@ module Google
2363
2072
  # @param [String] fields
2364
2073
  # Selector specifying which fields to include in a partial response.
2365
2074
  # @param [String] quota_user
2366
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2367
- # characters.
2368
- # @param [String] user_ip
2369
- # Deprecated. Please use quotaUser instead.
2075
+ # Available to use for quota purposes for server-side applications. Can be any
2076
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2370
2077
  # @param [Google::Apis::RequestOptions] options
2371
2078
  # Request-specific options
2372
2079
  #
@@ -2379,8 +2086,8 @@ module Google
2379
2086
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2380
2087
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2381
2088
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2382
- def calendar_resource(customer, calendar_resource_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2383
- command = make_simple_command(:post, 'customer/{customer}/resources/calendars', options)
2089
+ def calendar_resource(customer, calendar_resource_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2090
+ command = make_simple_command(:post, 'admin/directory/v1/customer/{customer}/resources/calendars', options)
2384
2091
  command.request_representation = Google::Apis::AdminDirectoryV1::CalendarResource::Representation
2385
2092
  command.request_object = calendar_resource_object
2386
2093
  command.response_representation = Google::Apis::AdminDirectoryV1::CalendarResource::Representation
@@ -2388,7 +2095,6 @@ module Google
2388
2095
  command.params['customer'] = customer unless customer.nil?
2389
2096
  command.query['fields'] = fields unless fields.nil?
2390
2097
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2391
- command.query['userIp'] = user_ip unless user_ip.nil?
2392
2098
  execute_or_queue_command(command, &block)
2393
2099
  end
2394
2100
 
@@ -2410,18 +2116,18 @@ module Google
2410
2116
  # @param [String] query
2411
2117
  # String query used to filter results. Should be of the form "field operator
2412
2118
  # value" where field can be any of supported fields and operators can be any of
2413
- # supported operations. Operators include '=' for exact match and ':' for prefix
2414
- # match or HAS match where applicable. For prefix match, the value should always
2415
- # be followed by a *. Supported fields include generatedResourceName, name,
2416
- # buildingId, featureInstances.feature.name. For example buildingId=US-NYC-9TH
2417
- # AND featureInstances.feature.name:Phone.
2119
+ # supported operations. Operators include '=' for exact match, '!=' for mismatch
2120
+ # and ':' for prefix match or HAS match where applicable. For prefix match, the
2121
+ # value should always be followed by a *. Logical operators NOT and AND are
2122
+ # supported (in this order of precedence). Supported fields include
2123
+ # generatedResourceName, name, buildingId, floor_name, capacity,
2124
+ # featureInstances.feature.name. For example buildingId=US-NYC-9TH AND
2125
+ # featureInstances.feature.name:Phone.
2418
2126
  # @param [String] fields
2419
2127
  # Selector specifying which fields to include in a partial response.
2420
2128
  # @param [String] quota_user
2421
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2422
- # characters.
2423
- # @param [String] user_ip
2424
- # Deprecated. Please use quotaUser instead.
2129
+ # Available to use for quota purposes for server-side applications. Can be any
2130
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2425
2131
  # @param [Google::Apis::RequestOptions] options
2426
2132
  # Request-specific options
2427
2133
  #
@@ -2434,8 +2140,8 @@ module Google
2434
2140
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2435
2141
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2436
2142
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2437
- def list_calendar_resources(customer, max_results: nil, order_by: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2438
- command = make_simple_command(:get, 'customer/{customer}/resources/calendars', options)
2143
+ def list_calendar_resources(customer, max_results: nil, order_by: nil, page_token: nil, query: nil, fields: nil, quota_user: nil, options: nil, &block)
2144
+ command = make_simple_command(:get, 'admin/directory/v1/customer/{customer}/resources/calendars', options)
2439
2145
  command.response_representation = Google::Apis::AdminDirectoryV1::CalendarResources::Representation
2440
2146
  command.response_class = Google::Apis::AdminDirectoryV1::CalendarResources
2441
2147
  command.params['customer'] = customer unless customer.nil?
@@ -2445,14 +2151,10 @@ module Google
2445
2151
  command.query['query'] = query unless query.nil?
2446
2152
  command.query['fields'] = fields unless fields.nil?
2447
2153
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2448
- command.query['userIp'] = user_ip unless user_ip.nil?
2449
2154
  execute_or_queue_command(command, &block)
2450
2155
  end
2451
2156
 
2452
- # Updates a calendar resource.
2453
- # This method supports patch semantics, meaning you only need to include the
2454
- # fields you wish to update. Fields that are not present in the request will be
2455
- # preserved. This method supports patch semantics.
2157
+ # Patches a calendar resource via Apiary Patch Orchestration.
2456
2158
  # @param [String] customer
2457
2159
  # The unique ID for the customer's G Suite account. As an account administrator,
2458
2160
  # you can also use the my_customer alias to represent your account's customer ID.
@@ -2462,10 +2164,8 @@ module Google
2462
2164
  # @param [String] fields
2463
2165
  # Selector specifying which fields to include in a partial response.
2464
2166
  # @param [String] quota_user
2465
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2466
- # characters.
2467
- # @param [String] user_ip
2468
- # Deprecated. Please use quotaUser instead.
2167
+ # Available to use for quota purposes for server-side applications. Can be any
2168
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2469
2169
  # @param [Google::Apis::RequestOptions] options
2470
2170
  # Request-specific options
2471
2171
  #
@@ -2478,8 +2178,8 @@ module Google
2478
2178
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2479
2179
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2480
2180
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2481
- def patch_calendar_resource(customer, calendar_resource_id, calendar_resource_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2482
- command = make_simple_command(:patch, 'customer/{customer}/resources/calendars/{calendarResourceId}', options)
2181
+ def patch_calendar_resource(customer, calendar_resource_id, calendar_resource_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2182
+ command = make_simple_command(:patch, 'admin/directory/v1/customer/{customer}/resources/calendars/{calendarResourceId}', options)
2483
2183
  command.request_representation = Google::Apis::AdminDirectoryV1::CalendarResource::Representation
2484
2184
  command.request_object = calendar_resource_object
2485
2185
  command.response_representation = Google::Apis::AdminDirectoryV1::CalendarResource::Representation
@@ -2488,14 +2188,12 @@ module Google
2488
2188
  command.params['calendarResourceId'] = calendar_resource_id unless calendar_resource_id.nil?
2489
2189
  command.query['fields'] = fields unless fields.nil?
2490
2190
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2491
- command.query['userIp'] = user_ip unless user_ip.nil?
2492
2191
  execute_or_queue_command(command, &block)
2493
2192
  end
2494
2193
 
2495
- # Updates a calendar resource.
2496
- # This method supports patch semantics, meaning you only need to include the
2497
- # fields you wish to update. Fields that are not present in the request will be
2498
- # preserved.
2194
+ # Updates a calendar resource. This method supports patch semantics, meaning you
2195
+ # only need to include the fields you wish to update. Fields that are not
2196
+ # present in the request will be preserved.
2499
2197
  # @param [String] customer
2500
2198
  # The unique ID for the customer's G Suite account. As an account administrator,
2501
2199
  # you can also use the my_customer alias to represent your account's customer ID.
@@ -2505,10 +2203,8 @@ module Google
2505
2203
  # @param [String] fields
2506
2204
  # Selector specifying which fields to include in a partial response.
2507
2205
  # @param [String] quota_user
2508
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2509
- # characters.
2510
- # @param [String] user_ip
2511
- # Deprecated. Please use quotaUser instead.
2206
+ # Available to use for quota purposes for server-side applications. Can be any
2207
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2512
2208
  # @param [Google::Apis::RequestOptions] options
2513
2209
  # Request-specific options
2514
2210
  #
@@ -2521,8 +2217,8 @@ module Google
2521
2217
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2522
2218
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2523
2219
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2524
- def update_calendar_resource(customer, calendar_resource_id, calendar_resource_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2525
- command = make_simple_command(:put, 'customer/{customer}/resources/calendars/{calendarResourceId}', options)
2220
+ def update_calendar_resource(customer, calendar_resource_id, calendar_resource_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2221
+ command = make_simple_command(:put, 'admin/directory/v1/customer/{customer}/resources/calendars/{calendarResourceId}', options)
2526
2222
  command.request_representation = Google::Apis::AdminDirectoryV1::CalendarResource::Representation
2527
2223
  command.request_object = calendar_resource_object
2528
2224
  command.response_representation = Google::Apis::AdminDirectoryV1::CalendarResource::Representation
@@ -2531,7 +2227,6 @@ module Google
2531
2227
  command.params['calendarResourceId'] = calendar_resource_id unless calendar_resource_id.nil?
2532
2228
  command.query['fields'] = fields unless fields.nil?
2533
2229
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2534
- command.query['userIp'] = user_ip unless user_ip.nil?
2535
2230
  execute_or_queue_command(command, &block)
2536
2231
  end
2537
2232
 
@@ -2544,10 +2239,8 @@ module Google
2544
2239
  # @param [String] fields
2545
2240
  # Selector specifying which fields to include in a partial response.
2546
2241
  # @param [String] quota_user
2547
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2548
- # characters.
2549
- # @param [String] user_ip
2550
- # Deprecated. Please use quotaUser instead.
2242
+ # Available to use for quota purposes for server-side applications. Can be any
2243
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2551
2244
  # @param [Google::Apis::RequestOptions] options
2552
2245
  # Request-specific options
2553
2246
  #
@@ -2560,13 +2253,12 @@ module Google
2560
2253
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2561
2254
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2562
2255
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2563
- def delete_resource_feature(customer, feature_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2564
- command = make_simple_command(:delete, 'customer/{customer}/resources/features/{featureKey}', options)
2256
+ def delete_resource_feature(customer, feature_key, fields: nil, quota_user: nil, options: nil, &block)
2257
+ command = make_simple_command(:delete, 'admin/directory/v1/customer/{customer}/resources/features/{featureKey}', options)
2565
2258
  command.params['customer'] = customer unless customer.nil?
2566
2259
  command.params['featureKey'] = feature_key unless feature_key.nil?
2567
2260
  command.query['fields'] = fields unless fields.nil?
2568
2261
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2569
- command.query['userIp'] = user_ip unless user_ip.nil?
2570
2262
  execute_or_queue_command(command, &block)
2571
2263
  end
2572
2264
 
@@ -2579,10 +2271,8 @@ module Google
2579
2271
  # @param [String] fields
2580
2272
  # Selector specifying which fields to include in a partial response.
2581
2273
  # @param [String] quota_user
2582
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2583
- # characters.
2584
- # @param [String] user_ip
2585
- # Deprecated. Please use quotaUser instead.
2274
+ # Available to use for quota purposes for server-side applications. Can be any
2275
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2586
2276
  # @param [Google::Apis::RequestOptions] options
2587
2277
  # Request-specific options
2588
2278
  #
@@ -2595,15 +2285,14 @@ module Google
2595
2285
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2596
2286
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2597
2287
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2598
- def get_resource_feature(customer, feature_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2599
- command = make_simple_command(:get, 'customer/{customer}/resources/features/{featureKey}', options)
2288
+ def get_resource_feature(customer, feature_key, fields: nil, quota_user: nil, options: nil, &block)
2289
+ command = make_simple_command(:get, 'admin/directory/v1/customer/{customer}/resources/features/{featureKey}', options)
2600
2290
  command.response_representation = Google::Apis::AdminDirectoryV1::Feature::Representation
2601
2291
  command.response_class = Google::Apis::AdminDirectoryV1::Feature
2602
2292
  command.params['customer'] = customer unless customer.nil?
2603
2293
  command.params['featureKey'] = feature_key unless feature_key.nil?
2604
2294
  command.query['fields'] = fields unless fields.nil?
2605
2295
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2606
- command.query['userIp'] = user_ip unless user_ip.nil?
2607
2296
  execute_or_queue_command(command, &block)
2608
2297
  end
2609
2298
 
@@ -2615,10 +2304,8 @@ module Google
2615
2304
  # @param [String] fields
2616
2305
  # Selector specifying which fields to include in a partial response.
2617
2306
  # @param [String] quota_user
2618
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2619
- # characters.
2620
- # @param [String] user_ip
2621
- # Deprecated. Please use quotaUser instead.
2307
+ # Available to use for quota purposes for server-side applications. Can be any
2308
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2622
2309
  # @param [Google::Apis::RequestOptions] options
2623
2310
  # Request-specific options
2624
2311
  #
@@ -2631,8 +2318,8 @@ module Google
2631
2318
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2632
2319
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2633
2320
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2634
- def insert_resource_feature(customer, feature_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2635
- command = make_simple_command(:post, 'customer/{customer}/resources/features', options)
2321
+ def insert_resource_feature(customer, feature_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2322
+ command = make_simple_command(:post, 'admin/directory/v1/customer/{customer}/resources/features', options)
2636
2323
  command.request_representation = Google::Apis::AdminDirectoryV1::Feature::Representation
2637
2324
  command.request_object = feature_object
2638
2325
  command.response_representation = Google::Apis::AdminDirectoryV1::Feature::Representation
@@ -2640,7 +2327,6 @@ module Google
2640
2327
  command.params['customer'] = customer unless customer.nil?
2641
2328
  command.query['fields'] = fields unless fields.nil?
2642
2329
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2643
- command.query['userIp'] = user_ip unless user_ip.nil?
2644
2330
  execute_or_queue_command(command, &block)
2645
2331
  end
2646
2332
 
@@ -2655,10 +2341,8 @@ module Google
2655
2341
  # @param [String] fields
2656
2342
  # Selector specifying which fields to include in a partial response.
2657
2343
  # @param [String] quota_user
2658
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2659
- # characters.
2660
- # @param [String] user_ip
2661
- # Deprecated. Please use quotaUser instead.
2344
+ # Available to use for quota purposes for server-side applications. Can be any
2345
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2662
2346
  # @param [Google::Apis::RequestOptions] options
2663
2347
  # Request-specific options
2664
2348
  #
@@ -2671,8 +2355,8 @@ module Google
2671
2355
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2672
2356
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2673
2357
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2674
- def list_resource_features(customer, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2675
- command = make_simple_command(:get, 'customer/{customer}/resources/features', options)
2358
+ def list_resource_features(customer, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2359
+ command = make_simple_command(:get, 'admin/directory/v1/customer/{customer}/resources/features', options)
2676
2360
  command.response_representation = Google::Apis::AdminDirectoryV1::Features::Representation
2677
2361
  command.response_class = Google::Apis::AdminDirectoryV1::Features
2678
2362
  command.params['customer'] = customer unless customer.nil?
@@ -2680,11 +2364,10 @@ module Google
2680
2364
  command.query['pageToken'] = page_token unless page_token.nil?
2681
2365
  command.query['fields'] = fields unless fields.nil?
2682
2366
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2683
- command.query['userIp'] = user_ip unless user_ip.nil?
2684
2367
  execute_or_queue_command(command, &block)
2685
2368
  end
2686
2369
 
2687
- # Updates a feature. This method supports patch semantics.
2370
+ # Patches a feature via Apiary Patch Orchestration.
2688
2371
  # @param [String] customer
2689
2372
  # The unique ID for the customer's G Suite account. As an account administrator,
2690
2373
  # you can also use the my_customer alias to represent your account's customer ID.
@@ -2694,10 +2377,8 @@ module Google
2694
2377
  # @param [String] fields
2695
2378
  # Selector specifying which fields to include in a partial response.
2696
2379
  # @param [String] quota_user
2697
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2698
- # characters.
2699
- # @param [String] user_ip
2700
- # Deprecated. Please use quotaUser instead.
2380
+ # Available to use for quota purposes for server-side applications. Can be any
2381
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2701
2382
  # @param [Google::Apis::RequestOptions] options
2702
2383
  # Request-specific options
2703
2384
  #
@@ -2710,8 +2391,8 @@ module Google
2710
2391
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2711
2392
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2712
2393
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2713
- def patch_resource_feature(customer, feature_key, feature_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2714
- command = make_simple_command(:patch, 'customer/{customer}/resources/features/{featureKey}', options)
2394
+ def patch_resource_feature(customer, feature_key, feature_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2395
+ command = make_simple_command(:patch, 'admin/directory/v1/customer/{customer}/resources/features/{featureKey}', options)
2715
2396
  command.request_representation = Google::Apis::AdminDirectoryV1::Feature::Representation
2716
2397
  command.request_object = feature_object
2717
2398
  command.response_representation = Google::Apis::AdminDirectoryV1::Feature::Representation
@@ -2720,7 +2401,6 @@ module Google
2720
2401
  command.params['featureKey'] = feature_key unless feature_key.nil?
2721
2402
  command.query['fields'] = fields unless fields.nil?
2722
2403
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2723
- command.query['userIp'] = user_ip unless user_ip.nil?
2724
2404
  execute_or_queue_command(command, &block)
2725
2405
  end
2726
2406
 
@@ -2734,10 +2414,8 @@ module Google
2734
2414
  # @param [String] fields
2735
2415
  # Selector specifying which fields to include in a partial response.
2736
2416
  # @param [String] quota_user
2737
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2738
- # characters.
2739
- # @param [String] user_ip
2740
- # Deprecated. Please use quotaUser instead.
2417
+ # Available to use for quota purposes for server-side applications. Can be any
2418
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2741
2419
  # @param [Google::Apis::RequestOptions] options
2742
2420
  # Request-specific options
2743
2421
  #
@@ -2750,15 +2428,14 @@ module Google
2750
2428
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2751
2429
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2752
2430
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2753
- def rename_resource_feature(customer, old_name, feature_rename_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2754
- command = make_simple_command(:post, 'customer/{customer}/resources/features/{oldName}/rename', options)
2431
+ def rename_resource_feature(customer, old_name, feature_rename_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2432
+ command = make_simple_command(:post, 'admin/directory/v1/customer/{customer}/resources/features/{oldName}/rename', options)
2755
2433
  command.request_representation = Google::Apis::AdminDirectoryV1::FeatureRename::Representation
2756
2434
  command.request_object = feature_rename_object
2757
2435
  command.params['customer'] = customer unless customer.nil?
2758
2436
  command.params['oldName'] = old_name unless old_name.nil?
2759
2437
  command.query['fields'] = fields unless fields.nil?
2760
2438
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2761
- command.query['userIp'] = user_ip unless user_ip.nil?
2762
2439
  execute_or_queue_command(command, &block)
2763
2440
  end
2764
2441
 
@@ -2772,10 +2449,8 @@ module Google
2772
2449
  # @param [String] fields
2773
2450
  # Selector specifying which fields to include in a partial response.
2774
2451
  # @param [String] quota_user
2775
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2776
- # characters.
2777
- # @param [String] user_ip
2778
- # Deprecated. Please use quotaUser instead.
2452
+ # Available to use for quota purposes for server-side applications. Can be any
2453
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2779
2454
  # @param [Google::Apis::RequestOptions] options
2780
2455
  # Request-specific options
2781
2456
  #
@@ -2788,8 +2463,8 @@ module Google
2788
2463
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2789
2464
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2790
2465
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2791
- def update_resource_feature(customer, feature_key, feature_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2792
- command = make_simple_command(:put, 'customer/{customer}/resources/features/{featureKey}', options)
2466
+ def update_resource_feature(customer, feature_key, feature_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2467
+ command = make_simple_command(:put, 'admin/directory/v1/customer/{customer}/resources/features/{featureKey}', options)
2793
2468
  command.request_representation = Google::Apis::AdminDirectoryV1::Feature::Representation
2794
2469
  command.request_object = feature_object
2795
2470
  command.response_representation = Google::Apis::AdminDirectoryV1::Feature::Representation
@@ -2798,7 +2473,6 @@ module Google
2798
2473
  command.params['featureKey'] = feature_key unless feature_key.nil?
2799
2474
  command.query['fields'] = fields unless fields.nil?
2800
2475
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2801
- command.query['userIp'] = user_ip unless user_ip.nil?
2802
2476
  execute_or_queue_command(command, &block)
2803
2477
  end
2804
2478
 
@@ -2810,10 +2484,8 @@ module Google
2810
2484
  # @param [String] fields
2811
2485
  # Selector specifying which fields to include in a partial response.
2812
2486
  # @param [String] quota_user
2813
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2814
- # characters.
2815
- # @param [String] user_ip
2816
- # Deprecated. Please use quotaUser instead.
2487
+ # Available to use for quota purposes for server-side applications. Can be any
2488
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2817
2489
  # @param [Google::Apis::RequestOptions] options
2818
2490
  # Request-specific options
2819
2491
  #
@@ -2826,13 +2498,12 @@ module Google
2826
2498
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2827
2499
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2828
2500
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2829
- def delete_role_assignment(customer, role_assignment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2830
- command = make_simple_command(:delete, 'customer/{customer}/roleassignments/{roleAssignmentId}', options)
2501
+ def delete_role_assignment(customer, role_assignment_id, fields: nil, quota_user: nil, options: nil, &block)
2502
+ command = make_simple_command(:delete, 'admin/directory/v1/customer/{customer}/roleassignments/{roleAssignmentId}', options)
2831
2503
  command.params['customer'] = customer unless customer.nil?
2832
2504
  command.params['roleAssignmentId'] = role_assignment_id unless role_assignment_id.nil?
2833
2505
  command.query['fields'] = fields unless fields.nil?
2834
2506
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2835
- command.query['userIp'] = user_ip unless user_ip.nil?
2836
2507
  execute_or_queue_command(command, &block)
2837
2508
  end
2838
2509
 
@@ -2844,10 +2515,8 @@ module Google
2844
2515
  # @param [String] fields
2845
2516
  # Selector specifying which fields to include in a partial response.
2846
2517
  # @param [String] quota_user
2847
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2848
- # characters.
2849
- # @param [String] user_ip
2850
- # Deprecated. Please use quotaUser instead.
2518
+ # Available to use for quota purposes for server-side applications. Can be any
2519
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2851
2520
  # @param [Google::Apis::RequestOptions] options
2852
2521
  # Request-specific options
2853
2522
  #
@@ -2860,15 +2529,14 @@ module Google
2860
2529
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2861
2530
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2862
2531
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2863
- def get_role_assignment(customer, role_assignment_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2864
- command = make_simple_command(:get, 'customer/{customer}/roleassignments/{roleAssignmentId}', options)
2532
+ def get_role_assignment(customer, role_assignment_id, fields: nil, quota_user: nil, options: nil, &block)
2533
+ command = make_simple_command(:get, 'admin/directory/v1/customer/{customer}/roleassignments/{roleAssignmentId}', options)
2865
2534
  command.response_representation = Google::Apis::AdminDirectoryV1::RoleAssignment::Representation
2866
2535
  command.response_class = Google::Apis::AdminDirectoryV1::RoleAssignment
2867
2536
  command.params['customer'] = customer unless customer.nil?
2868
2537
  command.params['roleAssignmentId'] = role_assignment_id unless role_assignment_id.nil?
2869
2538
  command.query['fields'] = fields unless fields.nil?
2870
2539
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2871
- command.query['userIp'] = user_ip unless user_ip.nil?
2872
2540
  execute_or_queue_command(command, &block)
2873
2541
  end
2874
2542
 
@@ -2879,10 +2547,8 @@ module Google
2879
2547
  # @param [String] fields
2880
2548
  # Selector specifying which fields to include in a partial response.
2881
2549
  # @param [String] quota_user
2882
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2883
- # characters.
2884
- # @param [String] user_ip
2885
- # Deprecated. Please use quotaUser instead.
2550
+ # Available to use for quota purposes for server-side applications. Can be any
2551
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2886
2552
  # @param [Google::Apis::RequestOptions] options
2887
2553
  # Request-specific options
2888
2554
  #
@@ -2895,8 +2561,8 @@ module Google
2895
2561
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2896
2562
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2897
2563
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2898
- def insert_role_assignment(customer, role_assignment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2899
- command = make_simple_command(:post, 'customer/{customer}/roleassignments', options)
2564
+ def insert_role_assignment(customer, role_assignment_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2565
+ command = make_simple_command(:post, 'admin/directory/v1/customer/{customer}/roleassignments', options)
2900
2566
  command.request_representation = Google::Apis::AdminDirectoryV1::RoleAssignment::Representation
2901
2567
  command.request_object = role_assignment_object
2902
2568
  command.response_representation = Google::Apis::AdminDirectoryV1::RoleAssignment::Representation
@@ -2904,7 +2570,6 @@ module Google
2904
2570
  command.params['customer'] = customer unless customer.nil?
2905
2571
  command.query['fields'] = fields unless fields.nil?
2906
2572
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2907
- command.query['userIp'] = user_ip unless user_ip.nil?
2908
2573
  execute_or_queue_command(command, &block)
2909
2574
  end
2910
2575
 
@@ -2924,10 +2589,8 @@ module Google
2924
2589
  # @param [String] fields
2925
2590
  # Selector specifying which fields to include in a partial response.
2926
2591
  # @param [String] quota_user
2927
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2928
- # characters.
2929
- # @param [String] user_ip
2930
- # Deprecated. Please use quotaUser instead.
2592
+ # Available to use for quota purposes for server-side applications. Can be any
2593
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2931
2594
  # @param [Google::Apis::RequestOptions] options
2932
2595
  # Request-specific options
2933
2596
  #
@@ -2940,8 +2603,8 @@ module Google
2940
2603
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2941
2604
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2942
2605
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2943
- def list_role_assignments(customer, max_results: nil, page_token: nil, role_id: nil, user_key: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2944
- command = make_simple_command(:get, 'customer/{customer}/roleassignments', options)
2606
+ def list_role_assignments(customer, max_results: nil, page_token: nil, role_id: nil, user_key: nil, fields: nil, quota_user: nil, options: nil, &block)
2607
+ command = make_simple_command(:get, 'admin/directory/v1/customer/{customer}/roleassignments', options)
2945
2608
  command.response_representation = Google::Apis::AdminDirectoryV1::RoleAssignments::Representation
2946
2609
  command.response_class = Google::Apis::AdminDirectoryV1::RoleAssignments
2947
2610
  command.params['customer'] = customer unless customer.nil?
@@ -2951,7 +2614,6 @@ module Google
2951
2614
  command.query['userKey'] = user_key unless user_key.nil?
2952
2615
  command.query['fields'] = fields unless fields.nil?
2953
2616
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2954
- command.query['userIp'] = user_ip unless user_ip.nil?
2955
2617
  execute_or_queue_command(command, &block)
2956
2618
  end
2957
2619
 
@@ -2963,10 +2625,8 @@ module Google
2963
2625
  # @param [String] fields
2964
2626
  # Selector specifying which fields to include in a partial response.
2965
2627
  # @param [String] quota_user
2966
- # An opaque string that represents a user for quota purposes. Must not exceed 40
2967
- # characters.
2968
- # @param [String] user_ip
2969
- # Deprecated. Please use quotaUser instead.
2628
+ # Available to use for quota purposes for server-side applications. Can be any
2629
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2970
2630
  # @param [Google::Apis::RequestOptions] options
2971
2631
  # Request-specific options
2972
2632
  #
@@ -2979,13 +2639,12 @@ module Google
2979
2639
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2980
2640
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2981
2641
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2982
- def delete_role(customer, role_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
2983
- command = make_simple_command(:delete, 'customer/{customer}/roles/{roleId}', options)
2642
+ def delete_role(customer, role_id, fields: nil, quota_user: nil, options: nil, &block)
2643
+ command = make_simple_command(:delete, 'admin/directory/v1/customer/{customer}/roles/{roleId}', options)
2984
2644
  command.params['customer'] = customer unless customer.nil?
2985
2645
  command.params['roleId'] = role_id unless role_id.nil?
2986
2646
  command.query['fields'] = fields unless fields.nil?
2987
2647
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2988
- command.query['userIp'] = user_ip unless user_ip.nil?
2989
2648
  execute_or_queue_command(command, &block)
2990
2649
  end
2991
2650
 
@@ -2997,10 +2656,8 @@ module Google
2997
2656
  # @param [String] fields
2998
2657
  # Selector specifying which fields to include in a partial response.
2999
2658
  # @param [String] quota_user
3000
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3001
- # characters.
3002
- # @param [String] user_ip
3003
- # Deprecated. Please use quotaUser instead.
2659
+ # Available to use for quota purposes for server-side applications. Can be any
2660
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3004
2661
  # @param [Google::Apis::RequestOptions] options
3005
2662
  # Request-specific options
3006
2663
  #
@@ -3013,15 +2670,14 @@ module Google
3013
2670
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3014
2671
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3015
2672
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3016
- def get_role(customer, role_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3017
- command = make_simple_command(:get, 'customer/{customer}/roles/{roleId}', options)
2673
+ def get_role(customer, role_id, fields: nil, quota_user: nil, options: nil, &block)
2674
+ command = make_simple_command(:get, 'admin/directory/v1/customer/{customer}/roles/{roleId}', options)
3018
2675
  command.response_representation = Google::Apis::AdminDirectoryV1::Role::Representation
3019
2676
  command.response_class = Google::Apis::AdminDirectoryV1::Role
3020
2677
  command.params['customer'] = customer unless customer.nil?
3021
2678
  command.params['roleId'] = role_id unless role_id.nil?
3022
2679
  command.query['fields'] = fields unless fields.nil?
3023
2680
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3024
- command.query['userIp'] = user_ip unless user_ip.nil?
3025
2681
  execute_or_queue_command(command, &block)
3026
2682
  end
3027
2683
 
@@ -3032,10 +2688,8 @@ module Google
3032
2688
  # @param [String] fields
3033
2689
  # Selector specifying which fields to include in a partial response.
3034
2690
  # @param [String] quota_user
3035
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3036
- # characters.
3037
- # @param [String] user_ip
3038
- # Deprecated. Please use quotaUser instead.
2691
+ # Available to use for quota purposes for server-side applications. Can be any
2692
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3039
2693
  # @param [Google::Apis::RequestOptions] options
3040
2694
  # Request-specific options
3041
2695
  #
@@ -3048,8 +2702,8 @@ module Google
3048
2702
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3049
2703
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3050
2704
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3051
- def insert_role(customer, role_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3052
- command = make_simple_command(:post, 'customer/{customer}/roles', options)
2705
+ def insert_role(customer, role_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2706
+ command = make_simple_command(:post, 'admin/directory/v1/customer/{customer}/roles', options)
3053
2707
  command.request_representation = Google::Apis::AdminDirectoryV1::Role::Representation
3054
2708
  command.request_object = role_object
3055
2709
  command.response_representation = Google::Apis::AdminDirectoryV1::Role::Representation
@@ -3057,7 +2711,6 @@ module Google
3057
2711
  command.params['customer'] = customer unless customer.nil?
3058
2712
  command.query['fields'] = fields unless fields.nil?
3059
2713
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3060
- command.query['userIp'] = user_ip unless user_ip.nil?
3061
2714
  execute_or_queue_command(command, &block)
3062
2715
  end
3063
2716
 
@@ -3071,10 +2724,8 @@ module Google
3071
2724
  # @param [String] fields
3072
2725
  # Selector specifying which fields to include in a partial response.
3073
2726
  # @param [String] quota_user
3074
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3075
- # characters.
3076
- # @param [String] user_ip
3077
- # Deprecated. Please use quotaUser instead.
2727
+ # Available to use for quota purposes for server-side applications. Can be any
2728
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3078
2729
  # @param [Google::Apis::RequestOptions] options
3079
2730
  # Request-specific options
3080
2731
  #
@@ -3087,8 +2738,8 @@ module Google
3087
2738
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3088
2739
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3089
2740
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3090
- def list_roles(customer, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3091
- command = make_simple_command(:get, 'customer/{customer}/roles', options)
2741
+ def list_roles(customer, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2742
+ command = make_simple_command(:get, 'admin/directory/v1/customer/{customer}/roles', options)
3092
2743
  command.response_representation = Google::Apis::AdminDirectoryV1::Roles::Representation
3093
2744
  command.response_class = Google::Apis::AdminDirectoryV1::Roles
3094
2745
  command.params['customer'] = customer unless customer.nil?
@@ -3096,11 +2747,10 @@ module Google
3096
2747
  command.query['pageToken'] = page_token unless page_token.nil?
3097
2748
  command.query['fields'] = fields unless fields.nil?
3098
2749
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3099
- command.query['userIp'] = user_ip unless user_ip.nil?
3100
2750
  execute_or_queue_command(command, &block)
3101
2751
  end
3102
2752
 
3103
- # Updates a role. This method supports patch semantics.
2753
+ # Patch role via Apiary Patch Orchestration
3104
2754
  # @param [String] customer
3105
2755
  # Immutable ID of the G Suite account.
3106
2756
  # @param [String] role_id
@@ -3109,10 +2759,8 @@ module Google
3109
2759
  # @param [String] fields
3110
2760
  # Selector specifying which fields to include in a partial response.
3111
2761
  # @param [String] quota_user
3112
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3113
- # characters.
3114
- # @param [String] user_ip
3115
- # Deprecated. Please use quotaUser instead.
2762
+ # Available to use for quota purposes for server-side applications. Can be any
2763
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3116
2764
  # @param [Google::Apis::RequestOptions] options
3117
2765
  # Request-specific options
3118
2766
  #
@@ -3125,8 +2773,8 @@ module Google
3125
2773
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3126
2774
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3127
2775
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3128
- def patch_role(customer, role_id, role_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3129
- command = make_simple_command(:patch, 'customer/{customer}/roles/{roleId}', options)
2776
+ def patch_role(customer, role_id, role_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2777
+ command = make_simple_command(:patch, 'admin/directory/v1/customer/{customer}/roles/{roleId}', options)
3130
2778
  command.request_representation = Google::Apis::AdminDirectoryV1::Role::Representation
3131
2779
  command.request_object = role_object
3132
2780
  command.response_representation = Google::Apis::AdminDirectoryV1::Role::Representation
@@ -3135,7 +2783,6 @@ module Google
3135
2783
  command.params['roleId'] = role_id unless role_id.nil?
3136
2784
  command.query['fields'] = fields unless fields.nil?
3137
2785
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3138
- command.query['userIp'] = user_ip unless user_ip.nil?
3139
2786
  execute_or_queue_command(command, &block)
3140
2787
  end
3141
2788
 
@@ -3148,10 +2795,8 @@ module Google
3148
2795
  # @param [String] fields
3149
2796
  # Selector specifying which fields to include in a partial response.
3150
2797
  # @param [String] quota_user
3151
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3152
- # characters.
3153
- # @param [String] user_ip
3154
- # Deprecated. Please use quotaUser instead.
2798
+ # Available to use for quota purposes for server-side applications. Can be any
2799
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3155
2800
  # @param [Google::Apis::RequestOptions] options
3156
2801
  # Request-specific options
3157
2802
  #
@@ -3164,8 +2809,8 @@ module Google
3164
2809
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3165
2810
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3166
2811
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3167
- def update_role(customer, role_id, role_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3168
- command = make_simple_command(:put, 'customer/{customer}/roles/{roleId}', options)
2812
+ def update_role(customer, role_id, role_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2813
+ command = make_simple_command(:put, 'admin/directory/v1/customer/{customer}/roles/{roleId}', options)
3169
2814
  command.request_representation = Google::Apis::AdminDirectoryV1::Role::Representation
3170
2815
  command.request_object = role_object
3171
2816
  command.response_representation = Google::Apis::AdminDirectoryV1::Role::Representation
@@ -3174,7 +2819,6 @@ module Google
3174
2819
  command.params['roleId'] = role_id unless role_id.nil?
3175
2820
  command.query['fields'] = fields unless fields.nil?
3176
2821
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3177
- command.query['userIp'] = user_ip unless user_ip.nil?
3178
2822
  execute_or_queue_command(command, &block)
3179
2823
  end
3180
2824
 
@@ -3186,10 +2830,8 @@ module Google
3186
2830
  # @param [String] fields
3187
2831
  # Selector specifying which fields to include in a partial response.
3188
2832
  # @param [String] quota_user
3189
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3190
- # characters.
3191
- # @param [String] user_ip
3192
- # Deprecated. Please use quotaUser instead.
2833
+ # Available to use for quota purposes for server-side applications. Can be any
2834
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3193
2835
  # @param [Google::Apis::RequestOptions] options
3194
2836
  # Request-specific options
3195
2837
  #
@@ -3202,13 +2844,12 @@ module Google
3202
2844
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3203
2845
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3204
2846
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3205
- def delete_schema(customer_id, schema_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3206
- command = make_simple_command(:delete, 'customer/{customerId}/schemas/{schemaKey}', options)
2847
+ def delete_schema(customer_id, schema_key, fields: nil, quota_user: nil, options: nil, &block)
2848
+ command = make_simple_command(:delete, 'admin/directory/v1/customer/{customerId}/schemas/{schemaKey}', options)
3207
2849
  command.params['customerId'] = customer_id unless customer_id.nil?
3208
2850
  command.params['schemaKey'] = schema_key unless schema_key.nil?
3209
2851
  command.query['fields'] = fields unless fields.nil?
3210
2852
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3211
- command.query['userIp'] = user_ip unless user_ip.nil?
3212
2853
  execute_or_queue_command(command, &block)
3213
2854
  end
3214
2855
 
@@ -3220,10 +2861,8 @@ module Google
3220
2861
  # @param [String] fields
3221
2862
  # Selector specifying which fields to include in a partial response.
3222
2863
  # @param [String] quota_user
3223
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3224
- # characters.
3225
- # @param [String] user_ip
3226
- # Deprecated. Please use quotaUser instead.
2864
+ # Available to use for quota purposes for server-side applications. Can be any
2865
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3227
2866
  # @param [Google::Apis::RequestOptions] options
3228
2867
  # Request-specific options
3229
2868
  #
@@ -3236,15 +2875,14 @@ module Google
3236
2875
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3237
2876
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3238
2877
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3239
- def get_schema(customer_id, schema_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3240
- command = make_simple_command(:get, 'customer/{customerId}/schemas/{schemaKey}', options)
2878
+ def get_schema(customer_id, schema_key, fields: nil, quota_user: nil, options: nil, &block)
2879
+ command = make_simple_command(:get, 'admin/directory/v1/customer/{customerId}/schemas/{schemaKey}', options)
3241
2880
  command.response_representation = Google::Apis::AdminDirectoryV1::Schema::Representation
3242
2881
  command.response_class = Google::Apis::AdminDirectoryV1::Schema
3243
2882
  command.params['customerId'] = customer_id unless customer_id.nil?
3244
2883
  command.params['schemaKey'] = schema_key unless schema_key.nil?
3245
2884
  command.query['fields'] = fields unless fields.nil?
3246
2885
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3247
- command.query['userIp'] = user_ip unless user_ip.nil?
3248
2886
  execute_or_queue_command(command, &block)
3249
2887
  end
3250
2888
 
@@ -3255,10 +2893,8 @@ module Google
3255
2893
  # @param [String] fields
3256
2894
  # Selector specifying which fields to include in a partial response.
3257
2895
  # @param [String] quota_user
3258
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3259
- # characters.
3260
- # @param [String] user_ip
3261
- # Deprecated. Please use quotaUser instead.
2896
+ # Available to use for quota purposes for server-side applications. Can be any
2897
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3262
2898
  # @param [Google::Apis::RequestOptions] options
3263
2899
  # Request-specific options
3264
2900
  #
@@ -3271,8 +2907,8 @@ module Google
3271
2907
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3272
2908
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3273
2909
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3274
- def insert_schema(customer_id, schema_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3275
- command = make_simple_command(:post, 'customer/{customerId}/schemas', options)
2910
+ def insert_schema(customer_id, schema_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2911
+ command = make_simple_command(:post, 'admin/directory/v1/customer/{customerId}/schemas', options)
3276
2912
  command.request_representation = Google::Apis::AdminDirectoryV1::Schema::Representation
3277
2913
  command.request_object = schema_object
3278
2914
  command.response_representation = Google::Apis::AdminDirectoryV1::Schema::Representation
@@ -3280,7 +2916,6 @@ module Google
3280
2916
  command.params['customerId'] = customer_id unless customer_id.nil?
3281
2917
  command.query['fields'] = fields unless fields.nil?
3282
2918
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3283
- command.query['userIp'] = user_ip unless user_ip.nil?
3284
2919
  execute_or_queue_command(command, &block)
3285
2920
  end
3286
2921
 
@@ -3290,10 +2925,8 @@ module Google
3290
2925
  # @param [String] fields
3291
2926
  # Selector specifying which fields to include in a partial response.
3292
2927
  # @param [String] quota_user
3293
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3294
- # characters.
3295
- # @param [String] user_ip
3296
- # Deprecated. Please use quotaUser instead.
2928
+ # Available to use for quota purposes for server-side applications. Can be any
2929
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3297
2930
  # @param [Google::Apis::RequestOptions] options
3298
2931
  # Request-specific options
3299
2932
  #
@@ -3306,18 +2939,17 @@ module Google
3306
2939
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3307
2940
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3308
2941
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3309
- def list_schemas(customer_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3310
- command = make_simple_command(:get, 'customer/{customerId}/schemas', options)
2942
+ def list_schemas(customer_id, fields: nil, quota_user: nil, options: nil, &block)
2943
+ command = make_simple_command(:get, 'admin/directory/v1/customer/{customerId}/schemas', options)
3311
2944
  command.response_representation = Google::Apis::AdminDirectoryV1::Schemas::Representation
3312
2945
  command.response_class = Google::Apis::AdminDirectoryV1::Schemas
3313
2946
  command.params['customerId'] = customer_id unless customer_id.nil?
3314
2947
  command.query['fields'] = fields unless fields.nil?
3315
2948
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3316
- command.query['userIp'] = user_ip unless user_ip.nil?
3317
2949
  execute_or_queue_command(command, &block)
3318
2950
  end
3319
2951
 
3320
- # Update schema. This method supports patch semantics.
2952
+ # Patch Schema via Apiary Patch Orchestration
3321
2953
  # @param [String] customer_id
3322
2954
  # Immutable ID of the G Suite account
3323
2955
  # @param [String] schema_key
@@ -3326,10 +2958,8 @@ module Google
3326
2958
  # @param [String] fields
3327
2959
  # Selector specifying which fields to include in a partial response.
3328
2960
  # @param [String] quota_user
3329
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3330
- # characters.
3331
- # @param [String] user_ip
3332
- # Deprecated. Please use quotaUser instead.
2961
+ # Available to use for quota purposes for server-side applications. Can be any
2962
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3333
2963
  # @param [Google::Apis::RequestOptions] options
3334
2964
  # Request-specific options
3335
2965
  #
@@ -3342,8 +2972,8 @@ module Google
3342
2972
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3343
2973
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3344
2974
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3345
- def patch_schema(customer_id, schema_key, schema_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3346
- command = make_simple_command(:patch, 'customer/{customerId}/schemas/{schemaKey}', options)
2975
+ def patch_schema(customer_id, schema_key, schema_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2976
+ command = make_simple_command(:patch, 'admin/directory/v1/customer/{customerId}/schemas/{schemaKey}', options)
3347
2977
  command.request_representation = Google::Apis::AdminDirectoryV1::Schema::Representation
3348
2978
  command.request_object = schema_object
3349
2979
  command.response_representation = Google::Apis::AdminDirectoryV1::Schema::Representation
@@ -3352,7 +2982,6 @@ module Google
3352
2982
  command.params['schemaKey'] = schema_key unless schema_key.nil?
3353
2983
  command.query['fields'] = fields unless fields.nil?
3354
2984
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3355
- command.query['userIp'] = user_ip unless user_ip.nil?
3356
2985
  execute_or_queue_command(command, &block)
3357
2986
  end
3358
2987
 
@@ -3365,10 +2994,8 @@ module Google
3365
2994
  # @param [String] fields
3366
2995
  # Selector specifying which fields to include in a partial response.
3367
2996
  # @param [String] quota_user
3368
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3369
- # characters.
3370
- # @param [String] user_ip
3371
- # Deprecated. Please use quotaUser instead.
2997
+ # Available to use for quota purposes for server-side applications. Can be any
2998
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3372
2999
  # @param [Google::Apis::RequestOptions] options
3373
3000
  # Request-specific options
3374
3001
  #
@@ -3381,8 +3008,8 @@ module Google
3381
3008
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3382
3009
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3383
3010
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3384
- def update_schema(customer_id, schema_key, schema_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3385
- command = make_simple_command(:put, 'customer/{customerId}/schemas/{schemaKey}', options)
3011
+ def update_schema(customer_id, schema_key, schema_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3012
+ command = make_simple_command(:put, 'admin/directory/v1/customer/{customerId}/schemas/{schemaKey}', options)
3386
3013
  command.request_representation = Google::Apis::AdminDirectoryV1::Schema::Representation
3387
3014
  command.request_object = schema_object
3388
3015
  command.response_representation = Google::Apis::AdminDirectoryV1::Schema::Representation
@@ -3391,7 +3018,6 @@ module Google
3391
3018
  command.params['schemaKey'] = schema_key unless schema_key.nil?
3392
3019
  command.query['fields'] = fields unless fields.nil?
3393
3020
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3394
- command.query['userIp'] = user_ip unless user_ip.nil?
3395
3021
  execute_or_queue_command(command, &block)
3396
3022
  end
3397
3023
 
@@ -3404,10 +3030,8 @@ module Google
3404
3030
  # @param [String] fields
3405
3031
  # Selector specifying which fields to include in a partial response.
3406
3032
  # @param [String] quota_user
3407
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3408
- # characters.
3409
- # @param [String] user_ip
3410
- # Deprecated. Please use quotaUser instead.
3033
+ # Available to use for quota purposes for server-side applications. Can be any
3034
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3411
3035
  # @param [Google::Apis::RequestOptions] options
3412
3036
  # Request-specific options
3413
3037
  #
@@ -3420,13 +3044,12 @@ module Google
3420
3044
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3421
3045
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3422
3046
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3423
- def delete_token(user_key, client_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3424
- command = make_simple_command(:delete, 'users/{userKey}/tokens/{clientId}', options)
3047
+ def delete_token(user_key, client_id, fields: nil, quota_user: nil, options: nil, &block)
3048
+ command = make_simple_command(:delete, 'admin/directory/v1/users/{userKey}/tokens/{clientId}', options)
3425
3049
  command.params['userKey'] = user_key unless user_key.nil?
3426
3050
  command.params['clientId'] = client_id unless client_id.nil?
3427
3051
  command.query['fields'] = fields unless fields.nil?
3428
3052
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3429
- command.query['userIp'] = user_ip unless user_ip.nil?
3430
3053
  execute_or_queue_command(command, &block)
3431
3054
  end
3432
3055
 
@@ -3439,10 +3062,8 @@ module Google
3439
3062
  # @param [String] fields
3440
3063
  # Selector specifying which fields to include in a partial response.
3441
3064
  # @param [String] quota_user
3442
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3443
- # characters.
3444
- # @param [String] user_ip
3445
- # Deprecated. Please use quotaUser instead.
3065
+ # Available to use for quota purposes for server-side applications. Can be any
3066
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3446
3067
  # @param [Google::Apis::RequestOptions] options
3447
3068
  # Request-specific options
3448
3069
  #
@@ -3455,15 +3076,14 @@ module Google
3455
3076
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3456
3077
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3457
3078
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3458
- def get_token(user_key, client_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3459
- command = make_simple_command(:get, 'users/{userKey}/tokens/{clientId}', options)
3079
+ def get_token(user_key, client_id, fields: nil, quota_user: nil, options: nil, &block)
3080
+ command = make_simple_command(:get, 'admin/directory/v1/users/{userKey}/tokens/{clientId}', options)
3460
3081
  command.response_representation = Google::Apis::AdminDirectoryV1::Token::Representation
3461
3082
  command.response_class = Google::Apis::AdminDirectoryV1::Token
3462
3083
  command.params['userKey'] = user_key unless user_key.nil?
3463
3084
  command.params['clientId'] = client_id unless client_id.nil?
3464
3085
  command.query['fields'] = fields unless fields.nil?
3465
3086
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3466
- command.query['userIp'] = user_ip unless user_ip.nil?
3467
3087
  execute_or_queue_command(command, &block)
3468
3088
  end
3469
3089
 
@@ -3474,10 +3094,8 @@ module Google
3474
3094
  # @param [String] fields
3475
3095
  # Selector specifying which fields to include in a partial response.
3476
3096
  # @param [String] quota_user
3477
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3478
- # characters.
3479
- # @param [String] user_ip
3480
- # Deprecated. Please use quotaUser instead.
3097
+ # Available to use for quota purposes for server-side applications. Can be any
3098
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3481
3099
  # @param [Google::Apis::RequestOptions] options
3482
3100
  # Request-specific options
3483
3101
  #
@@ -3490,14 +3108,42 @@ module Google
3490
3108
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3491
3109
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3492
3110
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3493
- def list_tokens(user_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3494
- command = make_simple_command(:get, 'users/{userKey}/tokens', options)
3111
+ def list_tokens(user_key, fields: nil, quota_user: nil, options: nil, &block)
3112
+ command = make_simple_command(:get, 'admin/directory/v1/users/{userKey}/tokens', options)
3495
3113
  command.response_representation = Google::Apis::AdminDirectoryV1::Tokens::Representation
3496
3114
  command.response_class = Google::Apis::AdminDirectoryV1::Tokens
3497
3115
  command.params['userKey'] = user_key unless user_key.nil?
3498
3116
  command.query['fields'] = fields unless fields.nil?
3499
3117
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3500
- command.query['userIp'] = user_ip unless user_ip.nil?
3118
+ execute_or_queue_command(command, &block)
3119
+ end
3120
+
3121
+ # Turn off 2-Step Verification for user.
3122
+ # @param [String] user_key
3123
+ # Identifies the user in the API request. The value can be the user's primary
3124
+ # email address, alias email address, or unique user ID.
3125
+ # @param [String] fields
3126
+ # Selector specifying which fields to include in a partial response.
3127
+ # @param [String] quota_user
3128
+ # Available to use for quota purposes for server-side applications. Can be any
3129
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3130
+ # @param [Google::Apis::RequestOptions] options
3131
+ # Request-specific options
3132
+ #
3133
+ # @yield [result, err] Result & error if block supplied
3134
+ # @yieldparam result [NilClass] No result returned for this method
3135
+ # @yieldparam err [StandardError] error object if request failed
3136
+ #
3137
+ # @return [void]
3138
+ #
3139
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3140
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3141
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3142
+ def turn_two_step_verification_off(user_key, fields: nil, quota_user: nil, options: nil, &block)
3143
+ command = make_simple_command(:post, 'admin/directory/v1/users/{userKey}/twoStepVerification/turnOff', options)
3144
+ command.params['userKey'] = user_key unless user_key.nil?
3145
+ command.query['fields'] = fields unless fields.nil?
3146
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3501
3147
  execute_or_queue_command(command, &block)
3502
3148
  end
3503
3149
 
@@ -3507,10 +3153,8 @@ module Google
3507
3153
  # @param [String] fields
3508
3154
  # Selector specifying which fields to include in a partial response.
3509
3155
  # @param [String] quota_user
3510
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3511
- # characters.
3512
- # @param [String] user_ip
3513
- # Deprecated. Please use quotaUser instead.
3156
+ # Available to use for quota purposes for server-side applications. Can be any
3157
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3514
3158
  # @param [Google::Apis::RequestOptions] options
3515
3159
  # Request-specific options
3516
3160
  #
@@ -3523,12 +3167,11 @@ module Google
3523
3167
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3524
3168
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3525
3169
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3526
- def delete_user(user_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3527
- command = make_simple_command(:delete, 'users/{userKey}', options)
3170
+ def delete_user(user_key, fields: nil, quota_user: nil, options: nil, &block)
3171
+ command = make_simple_command(:delete, 'admin/directory/v1/users/{userKey}', options)
3528
3172
  command.params['userKey'] = user_key unless user_key.nil?
3529
3173
  command.query['fields'] = fields unless fields.nil?
3530
3174
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3531
- command.query['userIp'] = user_ip unless user_ip.nil?
3532
3175
  execute_or_queue_command(command, &block)
3533
3176
  end
3534
3177
 
@@ -3545,10 +3188,8 @@ module Google
3545
3188
  # @param [String] fields
3546
3189
  # Selector specifying which fields to include in a partial response.
3547
3190
  # @param [String] quota_user
3548
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3549
- # characters.
3550
- # @param [String] user_ip
3551
- # Deprecated. Please use quotaUser instead.
3191
+ # Available to use for quota purposes for server-side applications. Can be any
3192
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3552
3193
  # @param [Google::Apis::RequestOptions] options
3553
3194
  # Request-specific options
3554
3195
  #
@@ -3561,8 +3202,8 @@ module Google
3561
3202
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3562
3203
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3563
3204
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3564
- def get_user(user_key, custom_field_mask: nil, projection: nil, view_type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3565
- command = make_simple_command(:get, 'users/{userKey}', options)
3205
+ def get_user(user_key, custom_field_mask: nil, projection: nil, view_type: nil, fields: nil, quota_user: nil, options: nil, &block)
3206
+ command = make_simple_command(:get, 'admin/directory/v1/users/{userKey}', options)
3566
3207
  command.response_representation = Google::Apis::AdminDirectoryV1::User::Representation
3567
3208
  command.response_class = Google::Apis::AdminDirectoryV1::User
3568
3209
  command.params['userKey'] = user_key unless user_key.nil?
@@ -3571,7 +3212,6 @@ module Google
3571
3212
  command.query['viewType'] = view_type unless view_type.nil?
3572
3213
  command.query['fields'] = fields unless fields.nil?
3573
3214
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3574
- command.query['userIp'] = user_ip unless user_ip.nil?
3575
3215
  execute_or_queue_command(command, &block)
3576
3216
  end
3577
3217
 
@@ -3580,10 +3220,8 @@ module Google
3580
3220
  # @param [String] fields
3581
3221
  # Selector specifying which fields to include in a partial response.
3582
3222
  # @param [String] quota_user
3583
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3584
- # characters.
3585
- # @param [String] user_ip
3586
- # Deprecated. Please use quotaUser instead.
3223
+ # Available to use for quota purposes for server-side applications. Can be any
3224
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3587
3225
  # @param [Google::Apis::RequestOptions] options
3588
3226
  # Request-specific options
3589
3227
  #
@@ -3596,15 +3234,14 @@ module Google
3596
3234
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3597
3235
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3598
3236
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3599
- def insert_user(user_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3600
- command = make_simple_command(:post, 'users', options)
3237
+ def insert_user(user_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3238
+ command = make_simple_command(:post, 'admin/directory/v1/users', options)
3601
3239
  command.request_representation = Google::Apis::AdminDirectoryV1::User::Representation
3602
3240
  command.request_object = user_object
3603
3241
  command.response_representation = Google::Apis::AdminDirectoryV1::User::Representation
3604
3242
  command.response_class = Google::Apis::AdminDirectoryV1::User
3605
3243
  command.query['fields'] = fields unless fields.nil?
3606
3244
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3607
- command.query['userIp'] = user_ip unless user_ip.nil?
3608
3245
  execute_or_queue_command(command, &block)
3609
3246
  end
3610
3247
 
@@ -3618,8 +3255,6 @@ module Google
3618
3255
  # @param [String] domain
3619
3256
  # Name of the domain. Fill this field to get users from only this domain. To
3620
3257
  # return all users in a multi-domain fill customer field instead.
3621
- # @param [String] event
3622
- # Event on which subscription is intended (if subscribing)
3623
3258
  # @param [Fixnum] max_results
3624
3259
  # Maximum number of results to return.
3625
3260
  # @param [String] order_by
@@ -3630,7 +3265,7 @@ module Google
3630
3265
  # What subset of fields to fetch for this user.
3631
3266
  # @param [String] query
3632
3267
  # Query string search. Should be of the form "". Complete documentation is at
3633
- # https://developers.google.com/admin-sdk/directory/v1/guides/search-users
3268
+ # https: //developers.google.com/admin-sdk/directory/v1/guides/search-users
3634
3269
  # @param [String] show_deleted
3635
3270
  # If set to true, retrieves the list of deleted users. (Default: false)
3636
3271
  # @param [String] sort_order
@@ -3640,10 +3275,8 @@ module Google
3640
3275
  # @param [String] fields
3641
3276
  # Selector specifying which fields to include in a partial response.
3642
3277
  # @param [String] quota_user
3643
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3644
- # characters.
3645
- # @param [String] user_ip
3646
- # Deprecated. Please use quotaUser instead.
3278
+ # Available to use for quota purposes for server-side applications. Can be any
3279
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3647
3280
  # @param [Google::Apis::RequestOptions] options
3648
3281
  # Request-specific options
3649
3282
  #
@@ -3656,14 +3289,13 @@ module Google
3656
3289
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3657
3290
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3658
3291
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3659
- def list_users(custom_field_mask: nil, customer: nil, domain: nil, event: nil, max_results: nil, order_by: nil, page_token: nil, projection: nil, query: nil, show_deleted: nil, sort_order: nil, view_type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3660
- command = make_simple_command(:get, 'users', options)
3292
+ def list_users(custom_field_mask: nil, customer: nil, domain: nil, max_results: nil, order_by: nil, page_token: nil, projection: nil, query: nil, show_deleted: nil, sort_order: nil, view_type: nil, fields: nil, quota_user: nil, options: nil, &block)
3293
+ command = make_simple_command(:get, 'admin/directory/v1/users', options)
3661
3294
  command.response_representation = Google::Apis::AdminDirectoryV1::Users::Representation
3662
3295
  command.response_class = Google::Apis::AdminDirectoryV1::Users
3663
3296
  command.query['customFieldMask'] = custom_field_mask unless custom_field_mask.nil?
3664
3297
  command.query['customer'] = customer unless customer.nil?
3665
3298
  command.query['domain'] = domain unless domain.nil?
3666
- command.query['event'] = event unless event.nil?
3667
3299
  command.query['maxResults'] = max_results unless max_results.nil?
3668
3300
  command.query['orderBy'] = order_by unless order_by.nil?
3669
3301
  command.query['pageToken'] = page_token unless page_token.nil?
@@ -3674,7 +3306,6 @@ module Google
3674
3306
  command.query['viewType'] = view_type unless view_type.nil?
3675
3307
  command.query['fields'] = fields unless fields.nil?
3676
3308
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3677
- command.query['userIp'] = user_ip unless user_ip.nil?
3678
3309
  execute_or_queue_command(command, &block)
3679
3310
  end
3680
3311
 
@@ -3685,10 +3316,8 @@ module Google
3685
3316
  # @param [String] fields
3686
3317
  # Selector specifying which fields to include in a partial response.
3687
3318
  # @param [String] quota_user
3688
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3689
- # characters.
3690
- # @param [String] user_ip
3691
- # Deprecated. Please use quotaUser instead.
3319
+ # Available to use for quota purposes for server-side applications. Can be any
3320
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3692
3321
  # @param [Google::Apis::RequestOptions] options
3693
3322
  # Request-specific options
3694
3323
  #
@@ -3701,18 +3330,17 @@ module Google
3701
3330
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3702
3331
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3703
3332
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3704
- def make_user_admin(user_key, user_make_admin_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3705
- command = make_simple_command(:post, 'users/{userKey}/makeAdmin', options)
3333
+ def make_user_admin(user_key, user_make_admin_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3334
+ command = make_simple_command(:post, 'admin/directory/v1/users/{userKey}/makeAdmin', options)
3706
3335
  command.request_representation = Google::Apis::AdminDirectoryV1::UserMakeAdmin::Representation
3707
3336
  command.request_object = user_make_admin_object
3708
3337
  command.params['userKey'] = user_key unless user_key.nil?
3709
3338
  command.query['fields'] = fields unless fields.nil?
3710
3339
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3711
- command.query['userIp'] = user_ip unless user_ip.nil?
3712
3340
  execute_or_queue_command(command, &block)
3713
3341
  end
3714
3342
 
3715
- # update user. This method supports patch semantics.
3343
+ # Patch Users via Apiary Patch Orchestration
3716
3344
  # @param [String] user_key
3717
3345
  # Email or immutable ID of the user. If ID, it should match with id of user
3718
3346
  # object
@@ -3720,10 +3348,8 @@ module Google
3720
3348
  # @param [String] fields
3721
3349
  # Selector specifying which fields to include in a partial response.
3722
3350
  # @param [String] quota_user
3723
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3724
- # characters.
3725
- # @param [String] user_ip
3726
- # Deprecated. Please use quotaUser instead.
3351
+ # Available to use for quota purposes for server-side applications. Can be any
3352
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3727
3353
  # @param [Google::Apis::RequestOptions] options
3728
3354
  # Request-specific options
3729
3355
  #
@@ -3736,8 +3362,8 @@ module Google
3736
3362
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3737
3363
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3738
3364
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3739
- def patch_user(user_key, user_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3740
- command = make_simple_command(:patch, 'users/{userKey}', options)
3365
+ def patch_user(user_key, user_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3366
+ command = make_simple_command(:patch, 'admin/directory/v1/users/{userKey}', options)
3741
3367
  command.request_representation = Google::Apis::AdminDirectoryV1::User::Representation
3742
3368
  command.request_object = user_object
3743
3369
  command.response_representation = Google::Apis::AdminDirectoryV1::User::Representation
@@ -3745,7 +3371,36 @@ module Google
3745
3371
  command.params['userKey'] = user_key unless user_key.nil?
3746
3372
  command.query['fields'] = fields unless fields.nil?
3747
3373
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3748
- command.query['userIp'] = user_ip unless user_ip.nil?
3374
+ execute_or_queue_command(command, &block)
3375
+ end
3376
+
3377
+ # Sign a user out of all web and device sessions and reset their sign-in cookies.
3378
+ # User will have to sign in by authenticating again.
3379
+ # @param [String] user_key
3380
+ # Identifies the target user in the API request. The value can be the user's
3381
+ # primary email address, alias email address, or unique user ID.
3382
+ # @param [String] fields
3383
+ # Selector specifying which fields to include in a partial response.
3384
+ # @param [String] quota_user
3385
+ # Available to use for quota purposes for server-side applications. Can be any
3386
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3387
+ # @param [Google::Apis::RequestOptions] options
3388
+ # Request-specific options
3389
+ #
3390
+ # @yield [result, err] Result & error if block supplied
3391
+ # @yieldparam result [NilClass] No result returned for this method
3392
+ # @yieldparam err [StandardError] error object if request failed
3393
+ #
3394
+ # @return [void]
3395
+ #
3396
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3397
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3398
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3399
+ def sign_user_out(user_key, fields: nil, quota_user: nil, options: nil, &block)
3400
+ command = make_simple_command(:post, 'admin/directory/v1/users/{userKey}/signOut', options)
3401
+ command.params['userKey'] = user_key unless user_key.nil?
3402
+ command.query['fields'] = fields unless fields.nil?
3403
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3749
3404
  execute_or_queue_command(command, &block)
3750
3405
  end
3751
3406
 
@@ -3756,10 +3411,8 @@ module Google
3756
3411
  # @param [String] fields
3757
3412
  # Selector specifying which fields to include in a partial response.
3758
3413
  # @param [String] quota_user
3759
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3760
- # characters.
3761
- # @param [String] user_ip
3762
- # Deprecated. Please use quotaUser instead.
3414
+ # Available to use for quota purposes for server-side applications. Can be any
3415
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3763
3416
  # @param [Google::Apis::RequestOptions] options
3764
3417
  # Request-specific options
3765
3418
  #
@@ -3772,14 +3425,13 @@ module Google
3772
3425
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3773
3426
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3774
3427
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3775
- def undelete_user(user_key, user_undelete_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3776
- command = make_simple_command(:post, 'users/{userKey}/undelete', options)
3428
+ def undelete_user(user_key, user_undelete_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3429
+ command = make_simple_command(:post, 'admin/directory/v1/users/{userKey}/undelete', options)
3777
3430
  command.request_representation = Google::Apis::AdminDirectoryV1::UserUndelete::Representation
3778
3431
  command.request_object = user_undelete_object
3779
3432
  command.params['userKey'] = user_key unless user_key.nil?
3780
3433
  command.query['fields'] = fields unless fields.nil?
3781
3434
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3782
- command.query['userIp'] = user_ip unless user_ip.nil?
3783
3435
  execute_or_queue_command(command, &block)
3784
3436
  end
3785
3437
 
@@ -3791,10 +3443,8 @@ module Google
3791
3443
  # @param [String] fields
3792
3444
  # Selector specifying which fields to include in a partial response.
3793
3445
  # @param [String] quota_user
3794
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3795
- # characters.
3796
- # @param [String] user_ip
3797
- # Deprecated. Please use quotaUser instead.
3446
+ # Available to use for quota purposes for server-side applications. Can be any
3447
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3798
3448
  # @param [Google::Apis::RequestOptions] options
3799
3449
  # Request-specific options
3800
3450
  #
@@ -3807,8 +3457,8 @@ module Google
3807
3457
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3808
3458
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3809
3459
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3810
- def update_user(user_key, user_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3811
- command = make_simple_command(:put, 'users/{userKey}', options)
3460
+ def update_user(user_key, user_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3461
+ command = make_simple_command(:put, 'admin/directory/v1/users/{userKey}', options)
3812
3462
  command.request_representation = Google::Apis::AdminDirectoryV1::User::Representation
3813
3463
  command.request_object = user_object
3814
3464
  command.response_representation = Google::Apis::AdminDirectoryV1::User::Representation
@@ -3816,7 +3466,6 @@ module Google
3816
3466
  command.params['userKey'] = user_key unless user_key.nil?
3817
3467
  command.query['fields'] = fields unless fields.nil?
3818
3468
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3819
- command.query['userIp'] = user_ip unless user_ip.nil?
3820
3469
  execute_or_queue_command(command, &block)
3821
3470
  end
3822
3471
 
@@ -3830,9 +3479,9 @@ module Google
3830
3479
  # users for a customer, fill this field instead of domain.
3831
3480
  # @param [String] domain
3832
3481
  # Name of the domain. Fill this field to get users from only this domain. To
3833
- # return all users in a multi-domain fill customer field instead.
3482
+ # return all users in a multi-domain fill customer field instead."
3834
3483
  # @param [String] event
3835
- # Event on which subscription is intended (if subscribing)
3484
+ # Event on which subscription is intended
3836
3485
  # @param [Fixnum] max_results
3837
3486
  # Maximum number of results to return.
3838
3487
  # @param [String] order_by
@@ -3843,7 +3492,7 @@ module Google
3843
3492
  # What subset of fields to fetch for this user.
3844
3493
  # @param [String] query
3845
3494
  # Query string search. Should be of the form "". Complete documentation is at
3846
- # https://developers.google.com/admin-sdk/directory/v1/guides/search-users
3495
+ # https: //developers.google.com/admin-sdk/directory/v1/guides/search-users
3847
3496
  # @param [String] show_deleted
3848
3497
  # If set to true, retrieves the list of deleted users. (Default: false)
3849
3498
  # @param [String] sort_order
@@ -3853,10 +3502,8 @@ module Google
3853
3502
  # @param [String] fields
3854
3503
  # Selector specifying which fields to include in a partial response.
3855
3504
  # @param [String] quota_user
3856
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3857
- # characters.
3858
- # @param [String] user_ip
3859
- # Deprecated. Please use quotaUser instead.
3505
+ # Available to use for quota purposes for server-side applications. Can be any
3506
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3860
3507
  # @param [Google::Apis::RequestOptions] options
3861
3508
  # Request-specific options
3862
3509
  #
@@ -3869,8 +3516,8 @@ module Google
3869
3516
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3870
3517
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3871
3518
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3872
- def watch_user(channel_object = nil, custom_field_mask: nil, customer: nil, domain: nil, event: nil, max_results: nil, order_by: nil, page_token: nil, projection: nil, query: nil, show_deleted: nil, sort_order: nil, view_type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3873
- command = make_simple_command(:post, 'users/watch', options)
3519
+ def watch_user(channel_object = nil, custom_field_mask: nil, customer: nil, domain: nil, event: nil, max_results: nil, order_by: nil, page_token: nil, projection: nil, query: nil, show_deleted: nil, sort_order: nil, view_type: nil, fields: nil, quota_user: nil, options: nil, &block)
3520
+ command = make_simple_command(:post, 'admin/directory/v1/users/watch', options)
3874
3521
  command.request_representation = Google::Apis::AdminDirectoryV1::Channel::Representation
3875
3522
  command.request_object = channel_object
3876
3523
  command.response_representation = Google::Apis::AdminDirectoryV1::Channel::Representation
@@ -3889,7 +3536,6 @@ module Google
3889
3536
  command.query['viewType'] = view_type unless view_type.nil?
3890
3537
  command.query['fields'] = fields unless fields.nil?
3891
3538
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3892
- command.query['userIp'] = user_ip unless user_ip.nil?
3893
3539
  execute_or_queue_command(command, &block)
3894
3540
  end
3895
3541
 
@@ -3901,10 +3547,8 @@ module Google
3901
3547
  # @param [String] fields
3902
3548
  # Selector specifying which fields to include in a partial response.
3903
3549
  # @param [String] quota_user
3904
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3905
- # characters.
3906
- # @param [String] user_ip
3907
- # Deprecated. Please use quotaUser instead.
3550
+ # Available to use for quota purposes for server-side applications. Can be any
3551
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3908
3552
  # @param [Google::Apis::RequestOptions] options
3909
3553
  # Request-specific options
3910
3554
  #
@@ -3917,13 +3561,12 @@ module Google
3917
3561
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3918
3562
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3919
3563
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3920
- def delete_user_alias(user_key, user_alias, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3921
- command = make_simple_command(:delete, 'users/{userKey}/aliases/{alias}', options)
3564
+ def delete_user_alias(user_key, user_alias, fields: nil, quota_user: nil, options: nil, &block)
3565
+ command = make_simple_command(:delete, 'admin/directory/v1/users/{userKey}/aliases/{alias}', options)
3922
3566
  command.params['userKey'] = user_key unless user_key.nil?
3923
3567
  command.params['alias'] = user_alias unless user_alias.nil?
3924
3568
  command.query['fields'] = fields unless fields.nil?
3925
3569
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3926
- command.query['userIp'] = user_ip unless user_ip.nil?
3927
3570
  execute_or_queue_command(command, &block)
3928
3571
  end
3929
3572
 
@@ -3934,10 +3577,8 @@ module Google
3934
3577
  # @param [String] fields
3935
3578
  # Selector specifying which fields to include in a partial response.
3936
3579
  # @param [String] quota_user
3937
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3938
- # characters.
3939
- # @param [String] user_ip
3940
- # Deprecated. Please use quotaUser instead.
3580
+ # Available to use for quota purposes for server-side applications. Can be any
3581
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3941
3582
  # @param [Google::Apis::RequestOptions] options
3942
3583
  # Request-specific options
3943
3584
  #
@@ -3950,8 +3591,8 @@ module Google
3950
3591
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3951
3592
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3952
3593
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3953
- def insert_user_alias(user_key, alias_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3954
- command = make_simple_command(:post, 'users/{userKey}/aliases', options)
3594
+ def insert_user_alias(user_key, alias_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3595
+ command = make_simple_command(:post, 'admin/directory/v1/users/{userKey}/aliases', options)
3955
3596
  command.request_representation = Google::Apis::AdminDirectoryV1::Alias::Representation
3956
3597
  command.request_object = alias_object
3957
3598
  command.response_representation = Google::Apis::AdminDirectoryV1::Alias::Representation
@@ -3959,22 +3600,17 @@ module Google
3959
3600
  command.params['userKey'] = user_key unless user_key.nil?
3960
3601
  command.query['fields'] = fields unless fields.nil?
3961
3602
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3962
- command.query['userIp'] = user_ip unless user_ip.nil?
3963
3603
  execute_or_queue_command(command, &block)
3964
3604
  end
3965
3605
 
3966
3606
  # List all aliases for a user
3967
3607
  # @param [String] user_key
3968
3608
  # Email or immutable ID of the user
3969
- # @param [String] event
3970
- # Event on which subscription is intended (if subscribing)
3971
3609
  # @param [String] fields
3972
3610
  # Selector specifying which fields to include in a partial response.
3973
3611
  # @param [String] quota_user
3974
- # An opaque string that represents a user for quota purposes. Must not exceed 40
3975
- # characters.
3976
- # @param [String] user_ip
3977
- # Deprecated. Please use quotaUser instead.
3612
+ # Available to use for quota purposes for server-side applications. Can be any
3613
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3978
3614
  # @param [Google::Apis::RequestOptions] options
3979
3615
  # Request-specific options
3980
3616
  #
@@ -3987,19 +3623,17 @@ module Google
3987
3623
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3988
3624
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3989
3625
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3990
- def list_user_aliases(user_key, event: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3991
- command = make_simple_command(:get, 'users/{userKey}/aliases', options)
3626
+ def list_user_aliases(user_key, fields: nil, quota_user: nil, options: nil, &block)
3627
+ command = make_simple_command(:get, 'admin/directory/v1/users/{userKey}/aliases', options)
3992
3628
  command.response_representation = Google::Apis::AdminDirectoryV1::Aliases::Representation
3993
3629
  command.response_class = Google::Apis::AdminDirectoryV1::Aliases
3994
3630
  command.params['userKey'] = user_key unless user_key.nil?
3995
- command.query['event'] = event unless event.nil?
3996
3631
  command.query['fields'] = fields unless fields.nil?
3997
3632
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3998
- command.query['userIp'] = user_ip unless user_ip.nil?
3999
3633
  execute_or_queue_command(command, &block)
4000
3634
  end
4001
3635
 
4002
- # Watch for changes in user aliases list
3636
+ # Watch for changes in users list
4003
3637
  # @param [String] user_key
4004
3638
  # Email or immutable ID of the user
4005
3639
  # @param [Google::Apis::AdminDirectoryV1::Channel] channel_object
@@ -4008,10 +3642,8 @@ module Google
4008
3642
  # @param [String] fields
4009
3643
  # Selector specifying which fields to include in a partial response.
4010
3644
  # @param [String] quota_user
4011
- # An opaque string that represents a user for quota purposes. Must not exceed 40
4012
- # characters.
4013
- # @param [String] user_ip
4014
- # Deprecated. Please use quotaUser instead.
3645
+ # Available to use for quota purposes for server-side applications. Can be any
3646
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4015
3647
  # @param [Google::Apis::RequestOptions] options
4016
3648
  # Request-specific options
4017
3649
  #
@@ -4024,8 +3656,8 @@ module Google
4024
3656
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4025
3657
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4026
3658
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4027
- def watch_user_alias(user_key, channel_object = nil, event: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4028
- command = make_simple_command(:post, 'users/{userKey}/aliases/watch', options)
3659
+ def watch_user_alias(user_key, channel_object = nil, event: nil, fields: nil, quota_user: nil, options: nil, &block)
3660
+ command = make_simple_command(:post, 'admin/directory/v1/users/{userKey}/aliases/watch', options)
4029
3661
  command.request_representation = Google::Apis::AdminDirectoryV1::Channel::Representation
4030
3662
  command.request_object = channel_object
4031
3663
  command.response_representation = Google::Apis::AdminDirectoryV1::Channel::Representation
@@ -4034,7 +3666,6 @@ module Google
4034
3666
  command.query['event'] = event unless event.nil?
4035
3667
  command.query['fields'] = fields unless fields.nil?
4036
3668
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4037
- command.query['userIp'] = user_ip unless user_ip.nil?
4038
3669
  execute_or_queue_command(command, &block)
4039
3670
  end
4040
3671
 
@@ -4044,10 +3675,8 @@ module Google
4044
3675
  # @param [String] fields
4045
3676
  # Selector specifying which fields to include in a partial response.
4046
3677
  # @param [String] quota_user
4047
- # An opaque string that represents a user for quota purposes. Must not exceed 40
4048
- # characters.
4049
- # @param [String] user_ip
4050
- # Deprecated. Please use quotaUser instead.
3678
+ # Available to use for quota purposes for server-side applications. Can be any
3679
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4051
3680
  # @param [Google::Apis::RequestOptions] options
4052
3681
  # Request-specific options
4053
3682
  #
@@ -4060,12 +3689,11 @@ module Google
4060
3689
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4061
3690
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4062
3691
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4063
- def delete_user_photo(user_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4064
- command = make_simple_command(:delete, 'users/{userKey}/photos/thumbnail', options)
3692
+ def delete_user_photo(user_key, fields: nil, quota_user: nil, options: nil, &block)
3693
+ command = make_simple_command(:delete, 'admin/directory/v1/users/{userKey}/photos/thumbnail', options)
4065
3694
  command.params['userKey'] = user_key unless user_key.nil?
4066
3695
  command.query['fields'] = fields unless fields.nil?
4067
3696
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4068
- command.query['userIp'] = user_ip unless user_ip.nil?
4069
3697
  execute_or_queue_command(command, &block)
4070
3698
  end
4071
3699
 
@@ -4075,10 +3703,8 @@ module Google
4075
3703
  # @param [String] fields
4076
3704
  # Selector specifying which fields to include in a partial response.
4077
3705
  # @param [String] quota_user
4078
- # An opaque string that represents a user for quota purposes. Must not exceed 40
4079
- # characters.
4080
- # @param [String] user_ip
4081
- # Deprecated. Please use quotaUser instead.
3706
+ # Available to use for quota purposes for server-side applications. Can be any
3707
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4082
3708
  # @param [Google::Apis::RequestOptions] options
4083
3709
  # Request-specific options
4084
3710
  #
@@ -4091,28 +3717,25 @@ module Google
4091
3717
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4092
3718
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4093
3719
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4094
- def get_user_photo(user_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4095
- command = make_simple_command(:get, 'users/{userKey}/photos/thumbnail', options)
3720
+ def get_user_photo(user_key, fields: nil, quota_user: nil, options: nil, &block)
3721
+ command = make_simple_command(:get, 'admin/directory/v1/users/{userKey}/photos/thumbnail', options)
4096
3722
  command.response_representation = Google::Apis::AdminDirectoryV1::UserPhoto::Representation
4097
3723
  command.response_class = Google::Apis::AdminDirectoryV1::UserPhoto
4098
3724
  command.params['userKey'] = user_key unless user_key.nil?
4099
3725
  command.query['fields'] = fields unless fields.nil?
4100
3726
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4101
- command.query['userIp'] = user_ip unless user_ip.nil?
4102
3727
  execute_or_queue_command(command, &block)
4103
3728
  end
4104
3729
 
4105
- # Add a photo for the user. This method supports patch semantics.
3730
+ # Patch Photo via Apiary Patch Orchestration
4106
3731
  # @param [String] user_key
4107
3732
  # Email or immutable ID of the user
4108
3733
  # @param [Google::Apis::AdminDirectoryV1::UserPhoto] user_photo_object
4109
3734
  # @param [String] fields
4110
3735
  # Selector specifying which fields to include in a partial response.
4111
3736
  # @param [String] quota_user
4112
- # An opaque string that represents a user for quota purposes. Must not exceed 40
4113
- # characters.
4114
- # @param [String] user_ip
4115
- # Deprecated. Please use quotaUser instead.
3737
+ # Available to use for quota purposes for server-side applications. Can be any
3738
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4116
3739
  # @param [Google::Apis::RequestOptions] options
4117
3740
  # Request-specific options
4118
3741
  #
@@ -4125,8 +3748,8 @@ module Google
4125
3748
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4126
3749
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4127
3750
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4128
- def patch_user_photo(user_key, user_photo_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4129
- command = make_simple_command(:patch, 'users/{userKey}/photos/thumbnail', options)
3751
+ def patch_user_photo(user_key, user_photo_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3752
+ command = make_simple_command(:patch, 'admin/directory/v1/users/{userKey}/photos/thumbnail', options)
4130
3753
  command.request_representation = Google::Apis::AdminDirectoryV1::UserPhoto::Representation
4131
3754
  command.request_object = user_photo_object
4132
3755
  command.response_representation = Google::Apis::AdminDirectoryV1::UserPhoto::Representation
@@ -4134,7 +3757,6 @@ module Google
4134
3757
  command.params['userKey'] = user_key unless user_key.nil?
4135
3758
  command.query['fields'] = fields unless fields.nil?
4136
3759
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4137
- command.query['userIp'] = user_ip unless user_ip.nil?
4138
3760
  execute_or_queue_command(command, &block)
4139
3761
  end
4140
3762
 
@@ -4145,10 +3767,8 @@ module Google
4145
3767
  # @param [String] fields
4146
3768
  # Selector specifying which fields to include in a partial response.
4147
3769
  # @param [String] quota_user
4148
- # An opaque string that represents a user for quota purposes. Must not exceed 40
4149
- # characters.
4150
- # @param [String] user_ip
4151
- # Deprecated. Please use quotaUser instead.
3770
+ # Available to use for quota purposes for server-side applications. Can be any
3771
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4152
3772
  # @param [Google::Apis::RequestOptions] options
4153
3773
  # Request-specific options
4154
3774
  #
@@ -4161,8 +3781,8 @@ module Google
4161
3781
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4162
3782
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4163
3783
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4164
- def update_user_photo(user_key, user_photo_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4165
- command = make_simple_command(:put, 'users/{userKey}/photos/thumbnail', options)
3784
+ def update_user_photo(user_key, user_photo_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3785
+ command = make_simple_command(:put, 'admin/directory/v1/users/{userKey}/photos/thumbnail', options)
4166
3786
  command.request_representation = Google::Apis::AdminDirectoryV1::UserPhoto::Representation
4167
3787
  command.request_object = user_photo_object
4168
3788
  command.response_representation = Google::Apis::AdminDirectoryV1::UserPhoto::Representation
@@ -4170,7 +3790,6 @@ module Google
4170
3790
  command.params['userKey'] = user_key unless user_key.nil?
4171
3791
  command.query['fields'] = fields unless fields.nil?
4172
3792
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4173
- command.query['userIp'] = user_ip unless user_ip.nil?
4174
3793
  execute_or_queue_command(command, &block)
4175
3794
  end
4176
3795
 
@@ -4180,10 +3799,8 @@ module Google
4180
3799
  # @param [String] fields
4181
3800
  # Selector specifying which fields to include in a partial response.
4182
3801
  # @param [String] quota_user
4183
- # An opaque string that represents a user for quota purposes. Must not exceed 40
4184
- # characters.
4185
- # @param [String] user_ip
4186
- # Deprecated. Please use quotaUser instead.
3802
+ # Available to use for quota purposes for server-side applications. Can be any
3803
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4187
3804
  # @param [Google::Apis::RequestOptions] options
4188
3805
  # Request-specific options
4189
3806
  #
@@ -4196,12 +3813,11 @@ module Google
4196
3813
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4197
3814
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4198
3815
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4199
- def generate_verification_code(user_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4200
- command = make_simple_command(:post, 'users/{userKey}/verificationCodes/generate', options)
3816
+ def generate_verification_code(user_key, fields: nil, quota_user: nil, options: nil, &block)
3817
+ command = make_simple_command(:post, 'admin/directory/v1/users/{userKey}/verificationCodes/generate', options)
4201
3818
  command.params['userKey'] = user_key unless user_key.nil?
4202
3819
  command.query['fields'] = fields unless fields.nil?
4203
3820
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4204
- command.query['userIp'] = user_ip unless user_ip.nil?
4205
3821
  execute_or_queue_command(command, &block)
4206
3822
  end
4207
3823
 
@@ -4211,10 +3827,8 @@ module Google
4211
3827
  # @param [String] fields
4212
3828
  # Selector specifying which fields to include in a partial response.
4213
3829
  # @param [String] quota_user
4214
- # An opaque string that represents a user for quota purposes. Must not exceed 40
4215
- # characters.
4216
- # @param [String] user_ip
4217
- # Deprecated. Please use quotaUser instead.
3830
+ # Available to use for quota purposes for server-side applications. Can be any
3831
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4218
3832
  # @param [Google::Apis::RequestOptions] options
4219
3833
  # Request-specific options
4220
3834
  #
@@ -4227,12 +3841,11 @@ module Google
4227
3841
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4228
3842
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4229
3843
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4230
- def invalidate_verification_code(user_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4231
- command = make_simple_command(:post, 'users/{userKey}/verificationCodes/invalidate', options)
3844
+ def invalidate_verification_code(user_key, fields: nil, quota_user: nil, options: nil, &block)
3845
+ command = make_simple_command(:post, 'admin/directory/v1/users/{userKey}/verificationCodes/invalidate', options)
4232
3846
  command.params['userKey'] = user_key unless user_key.nil?
4233
3847
  command.query['fields'] = fields unless fields.nil?
4234
3848
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4235
- command.query['userIp'] = user_ip unless user_ip.nil?
4236
3849
  execute_or_queue_command(command, &block)
4237
3850
  end
4238
3851
 
@@ -4244,10 +3857,8 @@ module Google
4244
3857
  # @param [String] fields
4245
3858
  # Selector specifying which fields to include in a partial response.
4246
3859
  # @param [String] quota_user
4247
- # An opaque string that represents a user for quota purposes. Must not exceed 40
4248
- # characters.
4249
- # @param [String] user_ip
4250
- # Deprecated. Please use quotaUser instead.
3860
+ # Available to use for quota purposes for server-side applications. Can be any
3861
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4251
3862
  # @param [Google::Apis::RequestOptions] options
4252
3863
  # Request-specific options
4253
3864
  #
@@ -4260,14 +3871,13 @@ module Google
4260
3871
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4261
3872
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4262
3873
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4263
- def list_verification_codes(user_key, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
4264
- command = make_simple_command(:get, 'users/{userKey}/verificationCodes', options)
3874
+ def list_verification_codes(user_key, fields: nil, quota_user: nil, options: nil, &block)
3875
+ command = make_simple_command(:get, 'admin/directory/v1/users/{userKey}/verificationCodes', options)
4265
3876
  command.response_representation = Google::Apis::AdminDirectoryV1::VerificationCodes::Representation
4266
3877
  command.response_class = Google::Apis::AdminDirectoryV1::VerificationCodes
4267
3878
  command.params['userKey'] = user_key unless user_key.nil?
4268
3879
  command.query['fields'] = fields unless fields.nil?
4269
3880
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4270
- command.query['userIp'] = user_ip unless user_ip.nil?
4271
3881
  execute_or_queue_command(command, &block)
4272
3882
  end
4273
3883
 
@@ -4276,7 +3886,6 @@ module Google
4276
3886
  def apply_command_defaults(command)
4277
3887
  command.query['key'] = key unless key.nil?
4278
3888
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4279
- command.query['userIp'] = user_ip unless user_ip.nil?
4280
3889
  end
4281
3890
  end
4282
3891
  end