google-api-client 0.43.0 → 0.44.0

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