google-api-client 0.42.2 → 0.45.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (959) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +535 -0
  3. data/api_names.yaml +1 -0
  4. data/docs/oauth-server.md +4 -6
  5. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  6. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
  7. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
  8. data/generated/google/apis/accessapproval_v1.rb +1 -1
  9. data/generated/google/apis/accessapproval_v1/classes.rb +59 -83
  10. data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
  11. data/generated/google/apis/accessapproval_v1/service.rb +93 -132
  12. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  13. data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
  14. data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
  15. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  16. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
  17. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
  18. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +532 -651
  20. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  21. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
  22. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  23. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
  24. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
  25. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  26. data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
  27. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
  28. data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
  29. data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
  30. data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
  31. data/generated/google/apis/admin_directory_v1.rb +6 -8
  32. data/generated/google/apis/admin_directory_v1/classes.rb +209 -242
  33. data/generated/google/apis/admin_directory_v1/representations.rb +0 -39
  34. data/generated/google/apis/admin_directory_v1/service.rb +535 -998
  35. data/generated/google/apis/admin_reports_v1.rb +6 -5
  36. data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
  37. data/generated/google/apis/admin_reports_v1/service.rb +131 -187
  38. data/generated/google/apis/admob_v1.rb +4 -1
  39. data/generated/google/apis/admob_v1/classes.rb +139 -270
  40. data/generated/google/apis/admob_v1/service.rb +11 -13
  41. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  42. data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
  43. data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
  44. data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
  45. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1610 -0
  46. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +789 -0
  47. data/generated/google/apis/analyticsdata_v1alpha/service.rb +220 -0
  48. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  49. data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
  50. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  51. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
  52. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
  53. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  54. data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
  55. data/generated/google/apis/androidenterprise_v1/service.rb +183 -242
  56. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  57. data/generated/google/apis/androidmanagement_v1/classes.rb +98 -61
  58. data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
  59. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  60. data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
  61. data/generated/google/apis/androidpublisher_v3/service.rb +127 -155
  62. data/generated/google/apis/apigateway_v1alpha1.rb +34 -0
  63. data/generated/google/apis/apigateway_v1alpha1/classes.rb +633 -0
  64. data/generated/google/apis/apigateway_v1alpha1/representations.rb +250 -0
  65. data/generated/google/apis/apigateway_v1alpha1/service.rb +623 -0
  66. data/generated/google/apis/apigateway_v1beta.rb +34 -0
  67. data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
  68. data/generated/google/apis/apigateway_v1beta/representations.rb +470 -0
  69. data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
  70. data/generated/google/apis/apigee_v1.rb +6 -8
  71. data/generated/google/apis/apigee_v1/classes.rb +1123 -1214
  72. data/generated/google/apis/apigee_v1/representations.rb +139 -0
  73. data/generated/google/apis/apigee_v1/service.rb +1018 -1151
  74. data/generated/google/apis/appengine_v1.rb +1 -1
  75. data/generated/google/apis/appengine_v1/classes.rb +96 -59
  76. data/generated/google/apis/appengine_v1/representations.rb +17 -0
  77. data/generated/google/apis/appengine_v1/service.rb +38 -47
  78. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  79. data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
  80. data/generated/google/apis/appengine_v1beta.rb +1 -1
  81. data/generated/google/apis/appengine_v1beta/classes.rb +103 -59
  82. data/generated/google/apis/appengine_v1beta/representations.rb +18 -0
  83. data/generated/google/apis/appengine_v1beta/service.rb +37 -47
  84. data/generated/google/apis/appsmarket_v2.rb +1 -1
  85. data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
  86. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  87. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +242 -337
  88. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
  89. data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
  90. data/generated/google/apis/{accessapproval_v1beta1.rb → assuredworkloads_v1beta1.rb} +8 -8
  91. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +458 -0
  92. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +230 -0
  93. data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
  94. data/generated/google/apis/bigquery_v2.rb +1 -1
  95. data/generated/google/apis/bigquery_v2/classes.rb +381 -553
  96. data/generated/google/apis/bigquery_v2/representations.rb +16 -0
  97. data/generated/google/apis/bigquery_v2/service.rb +32 -40
  98. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  99. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
  100. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
  101. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  102. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
  103. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
  104. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  105. data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
  106. data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
  107. data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
  108. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  109. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
  110. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
  111. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  112. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
  113. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
  114. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
  115. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  116. data/generated/google/apis/bigtableadmin_v1/classes.rb +137 -119
  117. data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
  118. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  119. data/generated/google/apis/bigtableadmin_v2/classes.rb +455 -607
  120. data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
  121. data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
  122. data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
  123. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +107 -118
  124. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  125. data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
  126. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  127. data/generated/google/apis/binaryauthorization_v1/classes.rb +246 -354
  128. data/generated/google/apis/binaryauthorization_v1/representations.rb +1 -0
  129. data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
  130. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  131. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +246 -354
  132. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +1 -0
  133. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
  134. data/generated/google/apis/blogger_v2.rb +2 -3
  135. data/generated/google/apis/blogger_v2/classes.rb +1 -2
  136. data/generated/google/apis/blogger_v2/service.rb +1 -2
  137. data/generated/google/apis/blogger_v3.rb +2 -3
  138. data/generated/google/apis/blogger_v3/classes.rb +1 -2
  139. data/generated/google/apis/blogger_v3/service.rb +1 -2
  140. data/generated/google/apis/calendar_v3.rb +1 -1
  141. data/generated/google/apis/calendar_v3/classes.rb +11 -9
  142. data/generated/google/apis/chat_v1.rb +1 -1
  143. data/generated/google/apis/chat_v1/classes.rb +91 -116
  144. data/generated/google/apis/chat_v1/service.rb +30 -42
  145. data/generated/google/apis/chromeuxreport_v1.rb +1 -1
  146. data/generated/google/apis/chromeuxreport_v1/classes.rb +55 -66
  147. data/generated/google/apis/civicinfo_v2.rb +1 -1
  148. data/generated/google/apis/civicinfo_v2/classes.rb +18 -8
  149. data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
  150. data/generated/google/apis/classroom_v1.rb +7 -1
  151. data/generated/google/apis/classroom_v1/classes.rb +382 -365
  152. data/generated/google/apis/classroom_v1/representations.rb +43 -0
  153. data/generated/google/apis/classroom_v1/service.rb +883 -902
  154. data/generated/google/apis/cloudasset_v1.rb +1 -1
  155. data/generated/google/apis/cloudasset_v1/classes.rb +765 -1036
  156. data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
  157. data/generated/google/apis/cloudasset_v1/service.rb +131 -156
  158. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  159. data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -775
  160. data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
  161. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  162. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
  163. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
  164. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  165. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +222 -276
  166. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
  167. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  168. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -718
  169. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
  170. data/generated/google/apis/cloudbilling_v1.rb +7 -1
  171. data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
  172. data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
  173. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  174. data/generated/google/apis/cloudbuild_v1/classes.rb +371 -343
  175. data/generated/google/apis/cloudbuild_v1/representations.rb +23 -0
  176. data/generated/google/apis/cloudbuild_v1/service.rb +265 -66
  177. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  178. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +291 -329
  179. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
  180. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
  181. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  182. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +277 -313
  183. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +2 -0
  184. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
  185. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  186. data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
  187. data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
  188. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  189. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +132 -154
  190. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
  191. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
  192. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  193. data/generated/google/apis/cloudfunctions_v1/classes.rb +323 -493
  194. data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
  195. data/generated/google/apis/cloudidentity_v1.rb +4 -1
  196. data/generated/google/apis/cloudidentity_v1/classes.rb +977 -75
  197. data/generated/google/apis/cloudidentity_v1/representations.rb +388 -0
  198. data/generated/google/apis/cloudidentity_v1/service.rb +841 -62
  199. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  200. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1059 -318
  201. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +331 -22
  202. data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
  203. data/generated/google/apis/cloudiot_v1.rb +1 -1
  204. data/generated/google/apis/cloudiot_v1/classes.rb +270 -373
  205. data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
  206. data/generated/google/apis/cloudiot_v1/service.rb +147 -154
  207. data/generated/google/apis/cloudkms_v1.rb +1 -1
  208. data/generated/google/apis/cloudkms_v1/classes.rb +509 -692
  209. data/generated/google/apis/cloudkms_v1/representations.rb +18 -0
  210. data/generated/google/apis/cloudkms_v1/service.rb +170 -216
  211. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  212. data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
  213. data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
  214. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  215. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
  216. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
  217. data/generated/google/apis/cloudresourcemanager_v1/service.rb +60 -58
  218. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  219. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
  220. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
  221. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +24 -23
  222. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  223. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
  224. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
  225. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  226. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
  227. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
  228. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  229. data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
  230. data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
  231. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  232. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
  233. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
  234. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  235. data/generated/google/apis/cloudsearch_v1/classes.rb +650 -782
  236. data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
  237. data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
  238. data/generated/google/apis/cloudshell_v1.rb +1 -1
  239. data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
  240. data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
  241. data/generated/google/apis/cloudshell_v1/service.rb +21 -25
  242. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  243. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
  244. data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
  245. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  246. data/generated/google/apis/cloudtasks_v2/classes.rb +612 -933
  247. data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
  248. data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
  249. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  250. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +608 -964
  251. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
  252. data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
  253. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  254. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +616 -938
  255. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  256. data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
  257. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  258. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
  259. data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
  260. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  261. data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
  262. data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
  263. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  264. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
  265. data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
  266. data/generated/google/apis/composer_v1.rb +1 -1
  267. data/generated/google/apis/composer_v1/classes.rb +190 -242
  268. data/generated/google/apis/composer_v1/service.rb +79 -150
  269. data/generated/google/apis/composer_v1beta1.rb +1 -1
  270. data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
  271. data/generated/google/apis/composer_v1beta1/service.rb +92 -179
  272. data/generated/google/apis/compute_alpha.rb +1 -1
  273. data/generated/google/apis/compute_alpha/classes.rb +1021 -137
  274. data/generated/google/apis/compute_alpha/representations.rb +208 -4
  275. data/generated/google/apis/compute_alpha/service.rb +710 -699
  276. data/generated/google/apis/compute_beta.rb +1 -1
  277. data/generated/google/apis/compute_beta/classes.rb +607 -82
  278. data/generated/google/apis/compute_beta/representations.rb +114 -1
  279. data/generated/google/apis/compute_beta/service.rb +623 -612
  280. data/generated/google/apis/compute_v1.rb +1 -1
  281. data/generated/google/apis/compute_v1/classes.rb +1014 -99
  282. data/generated/google/apis/compute_v1/representations.rb +390 -15
  283. data/generated/google/apis/compute_v1/service.rb +809 -33
  284. data/generated/google/apis/container_v1.rb +1 -1
  285. data/generated/google/apis/container_v1/classes.rb +996 -965
  286. data/generated/google/apis/container_v1/representations.rb +75 -0
  287. data/generated/google/apis/container_v1/service.rb +435 -502
  288. data/generated/google/apis/container_v1beta1.rb +1 -1
  289. data/generated/google/apis/container_v1beta1/classes.rb +1094 -1044
  290. data/generated/google/apis/container_v1beta1/representations.rb +91 -0
  291. data/generated/google/apis/container_v1beta1/service.rb +403 -466
  292. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  293. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +463 -596
  294. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  295. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
  296. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  297. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +461 -613
  298. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
  299. data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
  300. data/generated/google/apis/content_v2.rb +1 -1
  301. data/generated/google/apis/content_v2/classes.rb +14 -2
  302. data/generated/google/apis/content_v2_1.rb +1 -1
  303. data/generated/google/apis/content_v2_1/classes.rb +116 -5
  304. data/generated/google/apis/content_v2_1/representations.rb +35 -0
  305. data/generated/google/apis/content_v2_1/service.rb +53 -2
  306. data/generated/google/apis/customsearch_v1.rb +1 -1
  307. data/generated/google/apis/customsearch_v1/classes.rb +303 -492
  308. data/generated/google/apis/customsearch_v1/service.rb +186 -343
  309. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  310. data/generated/google/apis/datacatalog_v1beta1/classes.rb +9 -1
  311. data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
  312. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  313. data/generated/google/apis/dataflow_v1b3/classes.rb +1150 -973
  314. data/generated/google/apis/dataflow_v1b3/representations.rb +145 -0
  315. data/generated/google/apis/dataflow_v1b3/service.rb +308 -257
  316. data/generated/google/apis/datafusion_v1.rb +40 -0
  317. data/generated/google/apis/datafusion_v1/classes.rb +1040 -0
  318. data/generated/google/apis/datafusion_v1/representations.rb +395 -0
  319. data/generated/google/apis/datafusion_v1/service.rb +667 -0
  320. data/generated/google/apis/datafusion_v1beta1.rb +5 -8
  321. data/generated/google/apis/datafusion_v1beta1/classes.rb +283 -397
  322. data/generated/google/apis/datafusion_v1beta1/representations.rb +5 -0
  323. data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
  324. data/generated/google/apis/dataproc_v1.rb +1 -1
  325. data/generated/google/apis/dataproc_v1/classes.rb +250 -328
  326. data/generated/google/apis/dataproc_v1/representations.rb +18 -0
  327. data/generated/google/apis/dataproc_v1/service.rb +134 -168
  328. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  329. data/generated/google/apis/dataproc_v1beta2/classes.rb +274 -323
  330. data/generated/google/apis/dataproc_v1beta2/representations.rb +33 -0
  331. data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
  332. data/generated/google/apis/datastore_v1.rb +1 -1
  333. data/generated/google/apis/datastore_v1/classes.rb +330 -472
  334. data/generated/google/apis/datastore_v1/service.rb +52 -63
  335. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  336. data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
  337. data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
  338. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  339. data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
  340. data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
  341. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  342. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  343. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  344. data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
  345. data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
  346. data/generated/google/apis/dfareporting_v3_3/service.rb +646 -1262
  347. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  348. data/generated/google/apis/dfareporting_v3_4/classes.rb +348 -350
  349. data/generated/google/apis/dfareporting_v3_4/representations.rb +43 -0
  350. data/generated/google/apis/dfareporting_v3_4/service.rb +681 -1261
  351. data/generated/google/apis/dialogflow_v2.rb +1 -1
  352. data/generated/google/apis/dialogflow_v2/classes.rb +1318 -1613
  353. data/generated/google/apis/dialogflow_v2/representations.rb +53 -15
  354. data/generated/google/apis/dialogflow_v2/service.rb +324 -448
  355. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  356. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1396 -1705
  357. data/generated/google/apis/dialogflow_v2beta1/representations.rb +53 -15
  358. data/generated/google/apis/dialogflow_v2beta1/service.rb +915 -996
  359. data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
  360. data/generated/google/apis/dialogflow_v3beta1/classes.rb +8210 -0
  361. data/generated/google/apis/dialogflow_v3beta1/representations.rb +3461 -0
  362. data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
  363. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  364. data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
  365. data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
  366. data/generated/google/apis/displayvideo_v1.rb +1 -1
  367. data/generated/google/apis/displayvideo_v1/classes.rb +158 -7
  368. data/generated/google/apis/displayvideo_v1/representations.rb +41 -0
  369. data/generated/google/apis/displayvideo_v1/service.rb +147 -31
  370. data/generated/google/apis/displayvideo_v1beta.rb +38 -0
  371. data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
  372. data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
  373. data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
  374. data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
  375. data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
  376. data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
  377. data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
  378. data/generated/google/apis/displayvideo_v1dev.rb +38 -0
  379. data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
  380. data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
  381. data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
  382. data/generated/google/apis/dlp_v2.rb +1 -1
  383. data/generated/google/apis/dlp_v2/classes.rb +1076 -1301
  384. data/generated/google/apis/dlp_v2/service.rb +962 -905
  385. data/generated/google/apis/dns_v1.rb +1 -1
  386. data/generated/google/apis/dns_v1/classes.rb +175 -198
  387. data/generated/google/apis/dns_v1/service.rb +82 -97
  388. data/generated/google/apis/dns_v1beta2.rb +1 -1
  389. data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
  390. data/generated/google/apis/dns_v1beta2/service.rb +82 -97
  391. data/generated/google/apis/docs_v1.rb +1 -1
  392. data/generated/google/apis/docs_v1/classes.rb +894 -1229
  393. data/generated/google/apis/docs_v1/service.rb +17 -22
  394. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  395. data/generated/google/apis/documentai_v1beta2/classes.rb +2253 -824
  396. data/generated/google/apis/documentai_v1beta2/representations.rb +701 -0
  397. data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
  398. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  399. data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
  400. data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
  401. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
  402. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +8 -15
  403. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +37 -66
  404. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
  405. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +202 -15
  406. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
  407. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +37 -66
  408. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  409. data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
  410. data/generated/google/apis/drive_v2.rb +1 -1
  411. data/generated/google/apis/drive_v2/classes.rb +17 -7
  412. data/generated/google/apis/drive_v2/representations.rb +1 -0
  413. data/generated/google/apis/drive_v2/service.rb +79 -15
  414. data/generated/google/apis/drive_v3.rb +1 -1
  415. data/generated/google/apis/drive_v3/classes.rb +23 -7
  416. data/generated/google/apis/drive_v3/representations.rb +2 -0
  417. data/generated/google/apis/drive_v3/service.rb +59 -11
  418. data/generated/google/apis/driveactivity_v2.rb +1 -1
  419. data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
  420. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  421. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
  422. data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
  423. data/generated/google/apis/file_v1.rb +1 -1
  424. data/generated/google/apis/file_v1/classes.rb +154 -173
  425. data/generated/google/apis/file_v1/service.rb +43 -52
  426. data/generated/google/apis/file_v1beta1.rb +1 -1
  427. data/generated/google/apis/file_v1beta1/classes.rb +334 -193
  428. data/generated/google/apis/file_v1beta1/representations.rb +55 -0
  429. data/generated/google/apis/file_v1beta1/service.rb +267 -55
  430. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  431. data/generated/google/apis/firebase_v1beta1/classes.rb +325 -375
  432. data/generated/google/apis/firebase_v1beta1/representations.rb +3 -16
  433. data/generated/google/apis/firebase_v1beta1/service.rb +364 -421
  434. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  435. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
  436. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
  437. data/generated/google/apis/firebasehosting_v1.rb +1 -1
  438. data/generated/google/apis/firebasehosting_v1/classes.rb +36 -40
  439. data/generated/google/apis/firebasehosting_v1/service.rb +19 -22
  440. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  441. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +334 -177
  442. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +83 -0
  443. data/generated/google/apis/firebasehosting_v1beta1/service.rb +530 -149
  444. data/generated/google/apis/firebaseml_v1.rb +1 -1
  445. data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
  446. data/generated/google/apis/firebaseml_v1/service.rb +19 -22
  447. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  448. data/generated/google/apis/firebaseml_v1beta2/classes.rb +67 -77
  449. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -1
  450. data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
  451. data/generated/google/apis/firebaserules_v1.rb +1 -1
  452. data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
  453. data/generated/google/apis/firebaserules_v1/service.rb +87 -110
  454. data/generated/google/apis/firestore_v1.rb +1 -1
  455. data/generated/google/apis/firestore_v1/classes.rb +402 -498
  456. data/generated/google/apis/firestore_v1/service.rb +165 -201
  457. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  458. data/generated/google/apis/firestore_v1beta1/classes.rb +334 -409
  459. data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
  460. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  461. data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
  462. data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
  463. data/generated/google/apis/fitness_v1.rb +3 -3
  464. data/generated/google/apis/fitness_v1/classes.rb +172 -210
  465. data/generated/google/apis/fitness_v1/service.rb +125 -146
  466. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  467. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
  468. data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
  469. data/generated/google/apis/games_management_v1management.rb +2 -3
  470. data/generated/google/apis/games_management_v1management/classes.rb +14 -20
  471. data/generated/google/apis/games_management_v1management/service.rb +35 -36
  472. data/generated/google/apis/games_v1.rb +2 -3
  473. data/generated/google/apis/games_v1/classes.rb +76 -83
  474. data/generated/google/apis/games_v1/representations.rb +2 -0
  475. data/generated/google/apis/games_v1/service.rb +84 -90
  476. data/generated/google/apis/gameservices_v1.rb +1 -1
  477. data/generated/google/apis/gameservices_v1/classes.rb +351 -523
  478. data/generated/google/apis/gameservices_v1/representations.rb +1 -0
  479. data/generated/google/apis/gameservices_v1/service.rb +167 -207
  480. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  481. data/generated/google/apis/gameservices_v1beta/classes.rb +351 -523
  482. data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
  483. data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
  484. data/generated/google/apis/genomics_v1.rb +1 -1
  485. data/generated/google/apis/genomics_v1/classes.rb +70 -76
  486. data/generated/google/apis/genomics_v1/service.rb +28 -43
  487. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  488. data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
  489. data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
  490. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  491. data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -347
  492. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -27
  493. data/generated/google/apis/genomics_v2alpha1/service.rb +47 -100
  494. data/generated/google/apis/gmail_v1.rb +3 -3
  495. data/generated/google/apis/gmail_v1/classes.rb +207 -266
  496. data/generated/google/apis/gmail_v1/service.rb +260 -288
  497. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
  498. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
  499. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +35 -41
  500. data/generated/google/apis/groupsmigration_v1.rb +35 -0
  501. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  502. data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
  503. data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
  504. data/generated/google/apis/healthcare_v1.rb +1 -1
  505. data/generated/google/apis/healthcare_v1/classes.rb +635 -826
  506. data/generated/google/apis/healthcare_v1/representations.rb +32 -0
  507. data/generated/google/apis/healthcare_v1/service.rb +842 -844
  508. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  509. data/generated/google/apis/healthcare_v1beta1/classes.rb +887 -1086
  510. data/generated/google/apis/healthcare_v1beta1/representations.rb +60 -0
  511. data/generated/google/apis/healthcare_v1beta1/service.rb +1149 -1109
  512. data/generated/google/apis/homegraph_v1.rb +4 -1
  513. data/generated/google/apis/homegraph_v1/classes.rb +76 -164
  514. data/generated/google/apis/homegraph_v1/service.rb +23 -35
  515. data/generated/google/apis/iam_v1.rb +5 -2
  516. data/generated/google/apis/iam_v1/classes.rb +395 -592
  517. data/generated/google/apis/iam_v1/representations.rb +1 -0
  518. data/generated/google/apis/iam_v1/service.rb +431 -556
  519. data/generated/google/apis/iamcredentials_v1.rb +4 -2
  520. data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
  521. data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
  522. data/generated/google/apis/iap_v1.rb +1 -1
  523. data/generated/google/apis/iap_v1/classes.rb +253 -355
  524. data/generated/google/apis/iap_v1/representations.rb +1 -0
  525. data/generated/google/apis/iap_v1/service.rb +61 -71
  526. data/generated/google/apis/iap_v1beta1.rb +1 -1
  527. data/generated/google/apis/iap_v1beta1/classes.rb +164 -254
  528. data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
  529. data/generated/google/apis/iap_v1beta1/service.rb +17 -19
  530. data/generated/google/apis/indexing_v3.rb +1 -1
  531. data/generated/google/apis/indexing_v3/classes.rb +11 -11
  532. data/generated/google/apis/jobs_v2.rb +1 -1
  533. data/generated/google/apis/jobs_v2/classes.rb +786 -1086
  534. data/generated/google/apis/jobs_v2/service.rb +85 -126
  535. data/generated/google/apis/jobs_v3.rb +1 -1
  536. data/generated/google/apis/jobs_v3/classes.rb +637 -856
  537. data/generated/google/apis/jobs_v3/service.rb +101 -139
  538. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  539. data/generated/google/apis/jobs_v3p1beta1/classes.rb +762 -1023
  540. data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
  541. data/generated/google/apis/kgsearch_v1.rb +1 -1
  542. data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
  543. data/generated/google/apis/kgsearch_v1/service.rb +11 -11
  544. data/generated/google/apis/language_v1.rb +1 -1
  545. data/generated/google/apis/language_v1/classes.rb +93 -111
  546. data/generated/google/apis/language_v1/service.rb +4 -4
  547. data/generated/google/apis/language_v1beta1.rb +1 -1
  548. data/generated/google/apis/language_v1beta1/classes.rb +78 -90
  549. data/generated/google/apis/language_v1beta1/service.rb +2 -2
  550. data/generated/google/apis/language_v1beta2.rb +1 -1
  551. data/generated/google/apis/language_v1beta2/classes.rb +95 -112
  552. data/generated/google/apis/language_v1beta2/service.rb +4 -4
  553. data/generated/google/apis/libraryagent_v1.rb +1 -1
  554. data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
  555. data/generated/google/apis/libraryagent_v1/service.rb +13 -16
  556. data/generated/google/apis/licensing_v1.rb +4 -3
  557. data/generated/google/apis/licensing_v1/classes.rb +1 -1
  558. data/generated/google/apis/licensing_v1/service.rb +55 -85
  559. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  560. data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
  561. data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
  562. data/generated/google/apis/localservices_v1.rb +31 -0
  563. data/generated/google/apis/localservices_v1/classes.rb +419 -0
  564. data/generated/google/apis/localservices_v1/representations.rb +172 -0
  565. data/generated/google/apis/localservices_v1/service.rb +199 -0
  566. data/generated/google/apis/logging_v2.rb +1 -1
  567. data/generated/google/apis/logging_v2/classes.rb +174 -214
  568. data/generated/google/apis/logging_v2/representations.rb +15 -0
  569. data/generated/google/apis/logging_v2/service.rb +1017 -584
  570. data/generated/google/apis/managedidentities_v1.rb +1 -1
  571. data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
  572. data/generated/google/apis/managedidentities_v1/service.rb +78 -99
  573. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  574. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +344 -457
  575. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +1 -0
  576. data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
  577. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  578. data/generated/google/apis/managedidentities_v1beta1/classes.rb +340 -456
  579. data/generated/google/apis/managedidentities_v1beta1/representations.rb +1 -0
  580. data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
  581. data/generated/google/apis/manufacturers_v1.rb +1 -1
  582. data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
  583. data/generated/google/apis/manufacturers_v1/service.rb +44 -55
  584. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  585. data/generated/google/apis/memcache_v1beta2/classes.rb +170 -710
  586. data/generated/google/apis/memcache_v1beta2/representations.rb +0 -120
  587. data/generated/google/apis/memcache_v1beta2/service.rb +58 -190
  588. data/generated/google/apis/ml_v1.rb +1 -1
  589. data/generated/google/apis/ml_v1/classes.rb +956 -1144
  590. data/generated/google/apis/ml_v1/representations.rb +65 -0
  591. data/generated/google/apis/ml_v1/service.rb +194 -253
  592. data/generated/google/apis/monitoring_v1.rb +1 -1
  593. data/generated/google/apis/monitoring_v1/classes.rb +119 -37
  594. data/generated/google/apis/monitoring_v1/representations.rb +35 -0
  595. data/generated/google/apis/monitoring_v1/service.rb +10 -11
  596. data/generated/google/apis/monitoring_v3.rb +1 -1
  597. data/generated/google/apis/monitoring_v3/classes.rb +260 -339
  598. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  599. data/generated/google/apis/monitoring_v3/service.rb +121 -140
  600. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  601. data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
  602. data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
  603. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  604. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +456 -429
  605. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +63 -0
  606. data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
  607. data/generated/google/apis/osconfig_v1.rb +1 -1
  608. data/generated/google/apis/osconfig_v1/classes.rb +154 -181
  609. data/generated/google/apis/osconfig_v1/service.rb +22 -27
  610. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  611. data/generated/google/apis/osconfig_v1beta/classes.rb +327 -411
  612. data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
  613. data/generated/google/apis/oslogin_v1.rb +1 -1
  614. data/generated/google/apis/oslogin_v1/classes.rb +14 -12
  615. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  616. data/generated/google/apis/oslogin_v1/service.rb +12 -16
  617. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  618. data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
  619. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  620. data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
  621. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  622. data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
  623. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  624. data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
  625. data/generated/google/apis/pagespeedonline_v5.rb +2 -2
  626. data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
  627. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
  628. data/generated/google/apis/people_v1.rb +1 -1
  629. data/generated/google/apis/people_v1/classes.rb +258 -14
  630. data/generated/google/apis/people_v1/representations.rb +98 -0
  631. data/generated/google/apis/people_v1/service.rb +59 -47
  632. data/generated/google/apis/playablelocations_v3.rb +1 -1
  633. data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
  634. data/generated/google/apis/playablelocations_v3/service.rb +10 -10
  635. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  636. data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
  637. data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
  638. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  639. data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
  640. data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
  641. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  642. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
  643. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
  644. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  645. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +148 -146
  646. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
  647. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +517 -49
  648. data/generated/google/apis/pubsub_v1.rb +1 -1
  649. data/generated/google/apis/pubsub_v1/classes.rb +399 -518
  650. data/generated/google/apis/pubsub_v1/representations.rb +2 -0
  651. data/generated/google/apis/pubsub_v1/service.rb +220 -246
  652. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  653. data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
  654. data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
  655. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  656. data/generated/google/apis/pubsub_v1beta2/classes.rb +251 -354
  657. data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
  658. data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
  659. data/generated/google/apis/pubsublite_v1.rb +34 -0
  660. data/generated/google/apis/pubsublite_v1/classes.rb +461 -0
  661. data/generated/google/apis/pubsublite_v1/representations.rb +261 -0
  662. data/generated/google/apis/pubsublite_v1/service.rb +558 -0
  663. data/generated/google/apis/realtimebidding_v1.rb +1 -4
  664. data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
  665. data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
  666. data/generated/google/apis/recommendationengine_v1beta1.rb +2 -2
  667. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +337 -456
  668. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +0 -16
  669. data/generated/google/apis/recommendationengine_v1beta1/service.rb +141 -207
  670. data/generated/google/apis/recommender_v1.rb +1 -1
  671. data/generated/google/apis/recommender_v1/classes.rb +76 -100
  672. data/generated/google/apis/recommender_v1/service.rb +43 -58
  673. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  674. data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
  675. data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
  676. data/generated/google/apis/redis_v1.rb +1 -1
  677. data/generated/google/apis/redis_v1/classes.rb +91 -513
  678. data/generated/google/apis/redis_v1/representations.rb +0 -139
  679. data/generated/google/apis/redis_v1/service.rb +93 -110
  680. data/generated/google/apis/redis_v1beta1.rb +1 -1
  681. data/generated/google/apis/redis_v1beta1/classes.rb +95 -517
  682. data/generated/google/apis/redis_v1beta1/representations.rb +0 -139
  683. data/generated/google/apis/redis_v1beta1/service.rb +93 -110
  684. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  685. data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
  686. data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
  687. data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
  688. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  689. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
  690. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
  691. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
  692. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  693. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
  694. data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
  695. data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
  696. data/generated/google/apis/reseller_v1.rb +2 -2
  697. data/generated/google/apis/reseller_v1/classes.rb +151 -219
  698. data/generated/google/apis/reseller_v1/service.rb +122 -173
  699. data/generated/google/apis/run_v1.rb +1 -1
  700. data/generated/google/apis/run_v1/classes.rb +14 -13
  701. data/generated/google/apis/run_v1/representations.rb +1 -1
  702. data/generated/google/apis/run_v1/service.rb +38 -2
  703. data/generated/google/apis/run_v1alpha1.rb +1 -1
  704. data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
  705. data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
  706. data/generated/google/apis/run_v1beta1.rb +1 -1
  707. data/generated/google/apis/run_v1beta1/classes.rb +3 -2
  708. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  709. data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
  710. data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
  711. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  712. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +302 -412
  713. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
  714. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
  715. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  716. data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
  717. data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
  718. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  719. data/generated/google/apis/sasportal_v1alpha1/classes.rb +148 -146
  720. data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
  721. data/generated/google/apis/sasportal_v1alpha1/service.rb +517 -49
  722. data/generated/google/apis/script_v1.rb +1 -1
  723. data/generated/google/apis/script_v1/classes.rb +88 -111
  724. data/generated/google/apis/script_v1/service.rb +63 -69
  725. data/generated/google/apis/searchconsole_v1.rb +1 -1
  726. data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
  727. data/generated/google/apis/secretmanager_v1.rb +1 -1
  728. data/generated/google/apis/secretmanager_v1/classes.rb +379 -365
  729. data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
  730. data/generated/google/apis/secretmanager_v1/service.rb +66 -82
  731. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  732. data/generated/google/apis/secretmanager_v1beta1/classes.rb +218 -363
  733. data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
  734. data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
  735. data/generated/google/apis/securitycenter_v1.rb +1 -1
  736. data/generated/google/apis/securitycenter_v1/classes.rb +584 -826
  737. data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
  738. data/generated/google/apis/securitycenter_v1/service.rb +250 -332
  739. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  740. data/generated/google/apis/securitycenter_v1beta1/classes.rb +533 -746
  741. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
  742. data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
  743. data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
  744. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +415 -269
  745. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
  746. data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
  747. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  748. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1124 -1788
  749. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +116 -141
  750. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  751. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1107 -1774
  752. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
  753. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  754. data/generated/google/apis/servicecontrol_v1/classes.rb +526 -641
  755. data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
  756. data/generated/google/apis/servicecontrol_v2.rb +38 -0
  757. data/generated/google/apis/servicecontrol_v2/classes.rb +1078 -0
  758. data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
  759. data/generated/google/apis/servicecontrol_v2/service.rb +155 -0
  760. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  761. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +221 -333
  762. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
  763. data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
  764. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  765. data/generated/google/apis/servicemanagement_v1/classes.rb +1288 -2090
  766. data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
  767. data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
  768. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  769. data/generated/google/apis/servicenetworking_v1/classes.rb +1160 -1763
  770. data/generated/google/apis/servicenetworking_v1/representations.rb +52 -1
  771. data/generated/google/apis/servicenetworking_v1/service.rb +210 -114
  772. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  773. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1091 -1684
  774. data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
  775. data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
  776. data/generated/google/apis/serviceusage_v1.rb +1 -1
  777. data/generated/google/apis/serviceusage_v1/classes.rb +1144 -1823
  778. data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
  779. data/generated/google/apis/serviceusage_v1/service.rb +67 -80
  780. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  781. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1273 -1986
  782. data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
  783. data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
  784. data/generated/google/apis/sheets_v4.rb +1 -1
  785. data/generated/google/apis/sheets_v4/classes.rb +3933 -5008
  786. data/generated/google/apis/sheets_v4/representations.rb +625 -0
  787. data/generated/google/apis/sheets_v4/service.rb +113 -149
  788. data/generated/google/apis/site_verification_v1.rb +1 -1
  789. data/generated/google/apis/slides_v1.rb +1 -1
  790. data/generated/google/apis/slides_v1/classes.rb +841 -1114
  791. data/generated/google/apis/slides_v1/service.rb +23 -30
  792. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  793. data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
  794. data/generated/google/apis/spanner_v1.rb +1 -1
  795. data/generated/google/apis/spanner_v1/classes.rb +1553 -2156
  796. data/generated/google/apis/spanner_v1/representations.rb +1 -0
  797. data/generated/google/apis/spanner_v1/service.rb +443 -618
  798. data/generated/google/apis/speech_v1.rb +1 -1
  799. data/generated/google/apis/speech_v1/classes.rb +174 -220
  800. data/generated/google/apis/speech_v1/service.rb +27 -32
  801. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  802. data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
  803. data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
  804. data/generated/google/apis/speech_v2beta1.rb +1 -1
  805. data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
  806. data/generated/google/apis/speech_v2beta1/service.rb +10 -12
  807. data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
  808. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +438 -452
  809. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +106 -87
  810. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +295 -300
  811. data/generated/google/apis/storage_v1.rb +1 -1
  812. data/generated/google/apis/storage_v1/classes.rb +8 -7
  813. data/generated/google/apis/storage_v1/representations.rb +2 -2
  814. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  815. data/generated/google/apis/storagetransfer_v1/classes.rb +263 -343
  816. data/generated/google/apis/storagetransfer_v1/service.rb +43 -40
  817. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  818. data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
  819. data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
  820. data/generated/google/apis/sts_v1.rb +32 -0
  821. data/generated/google/apis/sts_v1/classes.rb +120 -0
  822. data/generated/google/apis/sts_v1/representations.rb +59 -0
  823. data/generated/google/apis/sts_v1/service.rb +90 -0
  824. data/generated/google/apis/sts_v1beta.rb +32 -0
  825. data/generated/google/apis/sts_v1beta/classes.rb +191 -0
  826. data/generated/google/apis/{oauth2_v2 → sts_v1beta}/representations.rb +14 -21
  827. data/generated/google/apis/sts_v1beta/service.rb +92 -0
  828. data/generated/google/apis/tagmanager_v1.rb +2 -3
  829. data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
  830. data/generated/google/apis/tagmanager_v1/service.rb +22 -23
  831. data/generated/google/apis/tagmanager_v2.rb +2 -3
  832. data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
  833. data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
  834. data/generated/google/apis/tagmanager_v2/service.rb +189 -285
  835. data/generated/google/apis/tasks_v1.rb +1 -1
  836. data/generated/google/apis/tasks_v1/classes.rb +21 -22
  837. data/generated/google/apis/tasks_v1/service.rb +19 -19
  838. data/generated/google/apis/testing_v1.rb +1 -1
  839. data/generated/google/apis/testing_v1/classes.rb +317 -382
  840. data/generated/google/apis/testing_v1/representations.rb +2 -0
  841. data/generated/google/apis/testing_v1/service.rb +22 -28
  842. data/generated/google/apis/texttospeech_v1.rb +1 -1
  843. data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
  844. data/generated/google/apis/texttospeech_v1/service.rb +9 -10
  845. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  846. data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
  847. data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
  848. data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
  849. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  850. data/generated/google/apis/toolresults_v1beta3/classes.rb +672 -931
  851. data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
  852. data/generated/google/apis/toolresults_v1beta3/service.rb +231 -349
  853. data/generated/google/apis/tpu_v1.rb +1 -1
  854. data/generated/google/apis/tpu_v1/classes.rb +122 -78
  855. data/generated/google/apis/tpu_v1/representations.rb +19 -0
  856. data/generated/google/apis/tpu_v1/service.rb +21 -25
  857. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  858. data/generated/google/apis/tpu_v1alpha1/classes.rb +122 -78
  859. data/generated/google/apis/tpu_v1alpha1/representations.rb +19 -0
  860. data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
  861. data/generated/google/apis/trafficdirector_v2.rb +34 -0
  862. data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
  863. data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
  864. data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
  865. data/generated/google/apis/translate_v3.rb +1 -1
  866. data/generated/google/apis/translate_v3/classes.rb +148 -175
  867. data/generated/google/apis/translate_v3/service.rb +122 -138
  868. data/generated/google/apis/translate_v3beta1.rb +1 -1
  869. data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
  870. data/generated/google/apis/translate_v3beta1/service.rb +122 -138
  871. data/generated/google/apis/vault_v1.rb +1 -1
  872. data/generated/google/apis/vault_v1/classes.rb +80 -103
  873. data/generated/google/apis/vault_v1/service.rb +31 -37
  874. data/generated/google/apis/vectortile_v1.rb +1 -1
  875. data/generated/google/apis/vectortile_v1/classes.rb +185 -267
  876. data/generated/google/apis/vectortile_v1/service.rb +75 -88
  877. data/generated/google/apis/verifiedaccess_v1.rb +1 -1
  878. data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
  879. data/generated/google/apis/videointelligence_v1.rb +1 -1
  880. data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
  881. data/generated/google/apis/videointelligence_v1/service.rb +71 -48
  882. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  883. data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
  884. data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
  885. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  886. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
  887. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
  888. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  889. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
  890. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
  891. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  892. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
  893. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
  894. data/generated/google/apis/vision_v1.rb +1 -1
  895. data/generated/google/apis/vision_v1/classes.rb +1304 -1870
  896. data/generated/google/apis/vision_v1/service.rb +254 -340
  897. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  898. data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1790
  899. data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
  900. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  901. data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1790
  902. data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
  903. data/generated/google/apis/webfonts_v1.rb +2 -3
  904. data/generated/google/apis/webfonts_v1/classes.rb +1 -2
  905. data/generated/google/apis/webfonts_v1/service.rb +2 -4
  906. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  907. data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
  908. data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
  909. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  910. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
  911. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
  912. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  913. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
  914. data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
  915. data/generated/google/apis/{securitycenter_v1p1alpha1.rb → workflowexecutions_v1beta.rb} +9 -10
  916. data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
  917. data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
  918. data/generated/google/apis/{securitycenter_v1p1alpha1 → workflowexecutions_v1beta}/service.rb +73 -73
  919. data/generated/google/apis/workflows_v1beta.rb +34 -0
  920. data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
  921. data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
  922. data/generated/google/apis/workflows_v1beta/service.rb +437 -0
  923. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  924. data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
  925. data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
  926. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  927. data/generated/google/apis/youtube_partner_v1/service.rb +19 -19
  928. data/generated/google/apis/youtube_v3.rb +1 -1
  929. data/generated/google/apis/youtube_v3/classes.rb +904 -1594
  930. data/generated/google/apis/youtube_v3/representations.rb +0 -214
  931. data/generated/google/apis/youtube_v3/service.rb +971 -1397
  932. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  933. data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
  934. data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
  935. data/google-api-client.gemspec +2 -1
  936. data/lib/google/apis/core/base_service.rb +7 -1
  937. data/lib/google/apis/version.rb +1 -1
  938. metadata +98 -36
  939. data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
  940. data/generated/google/apis/accessapproval_v1beta1/representations.rb +0 -203
  941. data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
  942. data/generated/google/apis/dns_v2beta1.rb +0 -43
  943. data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
  944. data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
  945. data/generated/google/apis/dns_v2beta1/service.rb +0 -928
  946. data/generated/google/apis/oauth2_v2.rb +0 -40
  947. data/generated/google/apis/oauth2_v2/classes.rb +0 -165
  948. data/generated/google/apis/oauth2_v2/service.rb +0 -158
  949. data/generated/google/apis/plus_v1.rb +0 -43
  950. data/generated/google/apis/plus_v1/classes.rb +0 -2094
  951. data/generated/google/apis/plus_v1/representations.rb +0 -907
  952. data/generated/google/apis/plus_v1/service.rb +0 -451
  953. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2305
  954. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
  955. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1326
  956. data/generated/google/apis/storage_v1beta2.rb +0 -40
  957. data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
  958. data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
  959. 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
 
@@ -1087,33 +1075,6 @@ module Google
1087
1075
  end
1088
1076
  end
1089
1077
 
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
1078
  class OrgUnit
1118
1079
  # @private
1119
1080
  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,42 @@ 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?
3046
+ execute_or_queue_command(command, &block)
3047
+ end
3048
+
3049
+ # Turn off 2-Step Verification for user.
3050
+ # @param [String] user_key
3051
+ # Identifies the user in the API request. The value can be the user's primary
3052
+ # email address, alias email address, or unique user ID.
3053
+ # @param [String] fields
3054
+ # Selector specifying which fields to include in a partial response.
3055
+ # @param [String] quota_user
3056
+ # Available to use for quota purposes for server-side applications. Can be any
3057
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3058
+ # @param [Google::Apis::RequestOptions] options
3059
+ # Request-specific options
3060
+ #
3061
+ # @yield [result, err] Result & error if block supplied
3062
+ # @yieldparam result [NilClass] No result returned for this method
3063
+ # @yieldparam err [StandardError] error object if request failed
3064
+ #
3065
+ # @return [void]
3066
+ #
3067
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3068
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3069
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3070
+ def turn_two_step_verification_off(user_key, fields: nil, quota_user: nil, options: nil, &block)
3071
+ command = make_simple_command(:post, 'admin/directory/v1/users/{userKey}/twoStepVerification/turnOff', options)
3072
+ command.params['userKey'] = user_key unless user_key.nil?
3073
+ command.query['fields'] = fields unless fields.nil?
3074
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3501
3075
  execute_or_queue_command(command, &block)
3502
3076
  end
3503
3077
 
@@ -3507,10 +3081,8 @@ module Google
3507
3081
  # @param [String] fields
3508
3082
  # Selector specifying which fields to include in a partial response.
3509
3083
  # @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.
3084
+ # Available to use for quota purposes for server-side applications. Can be any
3085
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3514
3086
  # @param [Google::Apis::RequestOptions] options
3515
3087
  # Request-specific options
3516
3088
  #
@@ -3523,12 +3095,11 @@ module Google
3523
3095
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3524
3096
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3525
3097
  # @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)
3098
+ def delete_user(user_key, fields: nil, quota_user: nil, options: nil, &block)
3099
+ command = make_simple_command(:delete, 'admin/directory/v1/users/{userKey}', options)
3528
3100
  command.params['userKey'] = user_key unless user_key.nil?
3529
3101
  command.query['fields'] = fields unless fields.nil?
3530
3102
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3531
- command.query['userIp'] = user_ip unless user_ip.nil?
3532
3103
  execute_or_queue_command(command, &block)
3533
3104
  end
3534
3105
 
@@ -3545,10 +3116,8 @@ module Google
3545
3116
  # @param [String] fields
3546
3117
  # Selector specifying which fields to include in a partial response.
3547
3118
  # @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.
3119
+ # Available to use for quota purposes for server-side applications. Can be any
3120
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3552
3121
  # @param [Google::Apis::RequestOptions] options
3553
3122
  # Request-specific options
3554
3123
  #
@@ -3561,8 +3130,8 @@ module Google
3561
3130
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3562
3131
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3563
3132
  # @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)
3133
+ def get_user(user_key, custom_field_mask: nil, projection: nil, view_type: nil, fields: nil, quota_user: nil, options: nil, &block)
3134
+ command = make_simple_command(:get, 'admin/directory/v1/users/{userKey}', options)
3566
3135
  command.response_representation = Google::Apis::AdminDirectoryV1::User::Representation
3567
3136
  command.response_class = Google::Apis::AdminDirectoryV1::User
3568
3137
  command.params['userKey'] = user_key unless user_key.nil?
@@ -3571,7 +3140,6 @@ module Google
3571
3140
  command.query['viewType'] = view_type unless view_type.nil?
3572
3141
  command.query['fields'] = fields unless fields.nil?
3573
3142
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3574
- command.query['userIp'] = user_ip unless user_ip.nil?
3575
3143
  execute_or_queue_command(command, &block)
3576
3144
  end
3577
3145
 
@@ -3580,10 +3148,8 @@ module Google
3580
3148
  # @param [String] fields
3581
3149
  # Selector specifying which fields to include in a partial response.
3582
3150
  # @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.
3151
+ # Available to use for quota purposes for server-side applications. Can be any
3152
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3587
3153
  # @param [Google::Apis::RequestOptions] options
3588
3154
  # Request-specific options
3589
3155
  #
@@ -3596,15 +3162,14 @@ module Google
3596
3162
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3597
3163
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3598
3164
  # @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)
3165
+ def insert_user(user_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3166
+ command = make_simple_command(:post, 'admin/directory/v1/users', options)
3601
3167
  command.request_representation = Google::Apis::AdminDirectoryV1::User::Representation
3602
3168
  command.request_object = user_object
3603
3169
  command.response_representation = Google::Apis::AdminDirectoryV1::User::Representation
3604
3170
  command.response_class = Google::Apis::AdminDirectoryV1::User
3605
3171
  command.query['fields'] = fields unless fields.nil?
3606
3172
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3607
- command.query['userIp'] = user_ip unless user_ip.nil?
3608
3173
  execute_or_queue_command(command, &block)
3609
3174
  end
3610
3175
 
@@ -3618,8 +3183,6 @@ module Google
3618
3183
  # @param [String] domain
3619
3184
  # Name of the domain. Fill this field to get users from only this domain. To
3620
3185
  # 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
3186
  # @param [Fixnum] max_results
3624
3187
  # Maximum number of results to return.
3625
3188
  # @param [String] order_by
@@ -3630,7 +3193,7 @@ module Google
3630
3193
  # What subset of fields to fetch for this user.
3631
3194
  # @param [String] query
3632
3195
  # Query string search. Should be of the form "". Complete documentation is at
3633
- # https://developers.google.com/admin-sdk/directory/v1/guides/search-users
3196
+ # https: //developers.google.com/admin-sdk/directory/v1/guides/search-users
3634
3197
  # @param [String] show_deleted
3635
3198
  # If set to true, retrieves the list of deleted users. (Default: false)
3636
3199
  # @param [String] sort_order
@@ -3640,10 +3203,8 @@ module Google
3640
3203
  # @param [String] fields
3641
3204
  # Selector specifying which fields to include in a partial response.
3642
3205
  # @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.
3206
+ # Available to use for quota purposes for server-side applications. Can be any
3207
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3647
3208
  # @param [Google::Apis::RequestOptions] options
3648
3209
  # Request-specific options
3649
3210
  #
@@ -3656,14 +3217,13 @@ module Google
3656
3217
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3657
3218
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3658
3219
  # @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)
3220
+ 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)
3221
+ command = make_simple_command(:get, 'admin/directory/v1/users', options)
3661
3222
  command.response_representation = Google::Apis::AdminDirectoryV1::Users::Representation
3662
3223
  command.response_class = Google::Apis::AdminDirectoryV1::Users
3663
3224
  command.query['customFieldMask'] = custom_field_mask unless custom_field_mask.nil?
3664
3225
  command.query['customer'] = customer unless customer.nil?
3665
3226
  command.query['domain'] = domain unless domain.nil?
3666
- command.query['event'] = event unless event.nil?
3667
3227
  command.query['maxResults'] = max_results unless max_results.nil?
3668
3228
  command.query['orderBy'] = order_by unless order_by.nil?
3669
3229
  command.query['pageToken'] = page_token unless page_token.nil?
@@ -3674,7 +3234,6 @@ module Google
3674
3234
  command.query['viewType'] = view_type unless view_type.nil?
3675
3235
  command.query['fields'] = fields unless fields.nil?
3676
3236
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3677
- command.query['userIp'] = user_ip unless user_ip.nil?
3678
3237
  execute_or_queue_command(command, &block)
3679
3238
  end
3680
3239
 
@@ -3685,10 +3244,8 @@ module Google
3685
3244
  # @param [String] fields
3686
3245
  # Selector specifying which fields to include in a partial response.
3687
3246
  # @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.
3247
+ # Available to use for quota purposes for server-side applications. Can be any
3248
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3692
3249
  # @param [Google::Apis::RequestOptions] options
3693
3250
  # Request-specific options
3694
3251
  #
@@ -3701,18 +3258,17 @@ module Google
3701
3258
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3702
3259
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3703
3260
  # @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)
3261
+ def make_user_admin(user_key, user_make_admin_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3262
+ command = make_simple_command(:post, 'admin/directory/v1/users/{userKey}/makeAdmin', options)
3706
3263
  command.request_representation = Google::Apis::AdminDirectoryV1::UserMakeAdmin::Representation
3707
3264
  command.request_object = user_make_admin_object
3708
3265
  command.params['userKey'] = user_key unless user_key.nil?
3709
3266
  command.query['fields'] = fields unless fields.nil?
3710
3267
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3711
- command.query['userIp'] = user_ip unless user_ip.nil?
3712
3268
  execute_or_queue_command(command, &block)
3713
3269
  end
3714
3270
 
3715
- # update user. This method supports patch semantics.
3271
+ # Patch Users via Apiary Patch Orchestration
3716
3272
  # @param [String] user_key
3717
3273
  # Email or immutable ID of the user. If ID, it should match with id of user
3718
3274
  # object
@@ -3720,10 +3276,8 @@ module Google
3720
3276
  # @param [String] fields
3721
3277
  # Selector specifying which fields to include in a partial response.
3722
3278
  # @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.
3279
+ # Available to use for quota purposes for server-side applications. Can be any
3280
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3727
3281
  # @param [Google::Apis::RequestOptions] options
3728
3282
  # Request-specific options
3729
3283
  #
@@ -3736,8 +3290,8 @@ module Google
3736
3290
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3737
3291
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3738
3292
  # @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)
3293
+ def patch_user(user_key, user_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3294
+ command = make_simple_command(:patch, 'admin/directory/v1/users/{userKey}', options)
3741
3295
  command.request_representation = Google::Apis::AdminDirectoryV1::User::Representation
3742
3296
  command.request_object = user_object
3743
3297
  command.response_representation = Google::Apis::AdminDirectoryV1::User::Representation
@@ -3745,7 +3299,36 @@ module Google
3745
3299
  command.params['userKey'] = user_key unless user_key.nil?
3746
3300
  command.query['fields'] = fields unless fields.nil?
3747
3301
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3748
- command.query['userIp'] = user_ip unless user_ip.nil?
3302
+ execute_or_queue_command(command, &block)
3303
+ end
3304
+
3305
+ # Sign a user out of all web and device sessions and reset their sign-in cookies.
3306
+ # User will have to sign in by authenticating again.
3307
+ # @param [String] user_key
3308
+ # Identifies the target user in the API request. The value can be the user's
3309
+ # primary email address, alias email address, or unique user ID.
3310
+ # @param [String] fields
3311
+ # Selector specifying which fields to include in a partial response.
3312
+ # @param [String] quota_user
3313
+ # Available to use for quota purposes for server-side applications. Can be any
3314
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3315
+ # @param [Google::Apis::RequestOptions] options
3316
+ # Request-specific options
3317
+ #
3318
+ # @yield [result, err] Result & error if block supplied
3319
+ # @yieldparam result [NilClass] No result returned for this method
3320
+ # @yieldparam err [StandardError] error object if request failed
3321
+ #
3322
+ # @return [void]
3323
+ #
3324
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3325
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3326
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3327
+ def sign_user_out(user_key, fields: nil, quota_user: nil, options: nil, &block)
3328
+ command = make_simple_command(:post, 'admin/directory/v1/users/{userKey}/signOut', options)
3329
+ command.params['userKey'] = user_key unless user_key.nil?
3330
+ command.query['fields'] = fields unless fields.nil?
3331
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3749
3332
  execute_or_queue_command(command, &block)
3750
3333
  end
3751
3334
 
@@ -3756,10 +3339,8 @@ module Google
3756
3339
  # @param [String] fields
3757
3340
  # Selector specifying which fields to include in a partial response.
3758
3341
  # @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.
3342
+ # Available to use for quota purposes for server-side applications. Can be any
3343
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3763
3344
  # @param [Google::Apis::RequestOptions] options
3764
3345
  # Request-specific options
3765
3346
  #
@@ -3772,14 +3353,13 @@ module Google
3772
3353
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3773
3354
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3774
3355
  # @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)
3356
+ def undelete_user(user_key, user_undelete_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3357
+ command = make_simple_command(:post, 'admin/directory/v1/users/{userKey}/undelete', options)
3777
3358
  command.request_representation = Google::Apis::AdminDirectoryV1::UserUndelete::Representation
3778
3359
  command.request_object = user_undelete_object
3779
3360
  command.params['userKey'] = user_key unless user_key.nil?
3780
3361
  command.query['fields'] = fields unless fields.nil?
3781
3362
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3782
- command.query['userIp'] = user_ip unless user_ip.nil?
3783
3363
  execute_or_queue_command(command, &block)
3784
3364
  end
3785
3365
 
@@ -3791,10 +3371,8 @@ module Google
3791
3371
  # @param [String] fields
3792
3372
  # Selector specifying which fields to include in a partial response.
3793
3373
  # @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.
3374
+ # Available to use for quota purposes for server-side applications. Can be any
3375
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3798
3376
  # @param [Google::Apis::RequestOptions] options
3799
3377
  # Request-specific options
3800
3378
  #
@@ -3807,8 +3385,8 @@ module Google
3807
3385
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3808
3386
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3809
3387
  # @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)
3388
+ def update_user(user_key, user_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3389
+ command = make_simple_command(:put, 'admin/directory/v1/users/{userKey}', options)
3812
3390
  command.request_representation = Google::Apis::AdminDirectoryV1::User::Representation
3813
3391
  command.request_object = user_object
3814
3392
  command.response_representation = Google::Apis::AdminDirectoryV1::User::Representation
@@ -3816,7 +3394,6 @@ module Google
3816
3394
  command.params['userKey'] = user_key unless user_key.nil?
3817
3395
  command.query['fields'] = fields unless fields.nil?
3818
3396
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3819
- command.query['userIp'] = user_ip unless user_ip.nil?
3820
3397
  execute_or_queue_command(command, &block)
3821
3398
  end
3822
3399
 
@@ -3830,9 +3407,9 @@ module Google
3830
3407
  # users for a customer, fill this field instead of domain.
3831
3408
  # @param [String] domain
3832
3409
  # 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.
3410
+ # return all users in a multi-domain fill customer field instead."
3834
3411
  # @param [String] event
3835
- # Event on which subscription is intended (if subscribing)
3412
+ # Event on which subscription is intended
3836
3413
  # @param [Fixnum] max_results
3837
3414
  # Maximum number of results to return.
3838
3415
  # @param [String] order_by
@@ -3843,7 +3420,7 @@ module Google
3843
3420
  # What subset of fields to fetch for this user.
3844
3421
  # @param [String] query
3845
3422
  # Query string search. Should be of the form "". Complete documentation is at
3846
- # https://developers.google.com/admin-sdk/directory/v1/guides/search-users
3423
+ # https: //developers.google.com/admin-sdk/directory/v1/guides/search-users
3847
3424
  # @param [String] show_deleted
3848
3425
  # If set to true, retrieves the list of deleted users. (Default: false)
3849
3426
  # @param [String] sort_order
@@ -3853,10 +3430,8 @@ module Google
3853
3430
  # @param [String] fields
3854
3431
  # Selector specifying which fields to include in a partial response.
3855
3432
  # @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.
3433
+ # Available to use for quota purposes for server-side applications. Can be any
3434
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3860
3435
  # @param [Google::Apis::RequestOptions] options
3861
3436
  # Request-specific options
3862
3437
  #
@@ -3869,8 +3444,8 @@ module Google
3869
3444
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3870
3445
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3871
3446
  # @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)
3447
+ def watch_user(channel_object = nil, custom_field_mask: nil, customer: nil, domain: nil, event: nil, max_results: nil, order_by: nil, page_token: nil, projection: nil, query: nil, show_deleted: nil, sort_order: nil, view_type: nil, fields: nil, quota_user: nil, options: nil, &block)
3448
+ command = make_simple_command(:post, 'admin/directory/v1/users/watch', options)
3874
3449
  command.request_representation = Google::Apis::AdminDirectoryV1::Channel::Representation
3875
3450
  command.request_object = channel_object
3876
3451
  command.response_representation = Google::Apis::AdminDirectoryV1::Channel::Representation
@@ -3889,7 +3464,6 @@ module Google
3889
3464
  command.query['viewType'] = view_type unless view_type.nil?
3890
3465
  command.query['fields'] = fields unless fields.nil?
3891
3466
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3892
- command.query['userIp'] = user_ip unless user_ip.nil?
3893
3467
  execute_or_queue_command(command, &block)
3894
3468
  end
3895
3469
 
@@ -3901,10 +3475,8 @@ module Google
3901
3475
  # @param [String] fields
3902
3476
  # Selector specifying which fields to include in a partial response.
3903
3477
  # @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.
3478
+ # Available to use for quota purposes for server-side applications. Can be any
3479
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3908
3480
  # @param [Google::Apis::RequestOptions] options
3909
3481
  # Request-specific options
3910
3482
  #
@@ -3917,13 +3489,12 @@ module Google
3917
3489
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3918
3490
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3919
3491
  # @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)
3492
+ def delete_user_alias(user_key, user_alias, fields: nil, quota_user: nil, options: nil, &block)
3493
+ command = make_simple_command(:delete, 'admin/directory/v1/users/{userKey}/aliases/{alias}', options)
3922
3494
  command.params['userKey'] = user_key unless user_key.nil?
3923
3495
  command.params['alias'] = user_alias unless user_alias.nil?
3924
3496
  command.query['fields'] = fields unless fields.nil?
3925
3497
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3926
- command.query['userIp'] = user_ip unless user_ip.nil?
3927
3498
  execute_or_queue_command(command, &block)
3928
3499
  end
3929
3500
 
@@ -3934,10 +3505,8 @@ module Google
3934
3505
  # @param [String] fields
3935
3506
  # Selector specifying which fields to include in a partial response.
3936
3507
  # @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.
3508
+ # Available to use for quota purposes for server-side applications. Can be any
3509
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3941
3510
  # @param [Google::Apis::RequestOptions] options
3942
3511
  # Request-specific options
3943
3512
  #
@@ -3950,8 +3519,8 @@ module Google
3950
3519
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3951
3520
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3952
3521
  # @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)
3522
+ def insert_user_alias(user_key, alias_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3523
+ command = make_simple_command(:post, 'admin/directory/v1/users/{userKey}/aliases', options)
3955
3524
  command.request_representation = Google::Apis::AdminDirectoryV1::Alias::Representation
3956
3525
  command.request_object = alias_object
3957
3526
  command.response_representation = Google::Apis::AdminDirectoryV1::Alias::Representation
@@ -3959,22 +3528,17 @@ module Google
3959
3528
  command.params['userKey'] = user_key unless user_key.nil?
3960
3529
  command.query['fields'] = fields unless fields.nil?
3961
3530
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3962
- command.query['userIp'] = user_ip unless user_ip.nil?
3963
3531
  execute_or_queue_command(command, &block)
3964
3532
  end
3965
3533
 
3966
3534
  # List all aliases for a user
3967
3535
  # @param [String] user_key
3968
3536
  # Email or immutable ID of the user
3969
- # @param [String] event
3970
- # Event on which subscription is intended (if subscribing)
3971
3537
  # @param [String] fields
3972
3538
  # Selector specifying which fields to include in a partial response.
3973
3539
  # @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.
3540
+ # Available to use for quota purposes for server-side applications. Can be any
3541
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3978
3542
  # @param [Google::Apis::RequestOptions] options
3979
3543
  # Request-specific options
3980
3544
  #
@@ -3987,19 +3551,17 @@ module Google
3987
3551
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3988
3552
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3989
3553
  # @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)
3554
+ def list_user_aliases(user_key, fields: nil, quota_user: nil, options: nil, &block)
3555
+ command = make_simple_command(:get, 'admin/directory/v1/users/{userKey}/aliases', options)
3992
3556
  command.response_representation = Google::Apis::AdminDirectoryV1::Aliases::Representation
3993
3557
  command.response_class = Google::Apis::AdminDirectoryV1::Aliases
3994
3558
  command.params['userKey'] = user_key unless user_key.nil?
3995
- command.query['event'] = event unless event.nil?
3996
3559
  command.query['fields'] = fields unless fields.nil?
3997
3560
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3998
- command.query['userIp'] = user_ip unless user_ip.nil?
3999
3561
  execute_or_queue_command(command, &block)
4000
3562
  end
4001
3563
 
4002
- # Watch for changes in user aliases list
3564
+ # Watch for changes in users list
4003
3565
  # @param [String] user_key
4004
3566
  # Email or immutable ID of the user
4005
3567
  # @param [Google::Apis::AdminDirectoryV1::Channel] channel_object
@@ -4008,10 +3570,8 @@ module Google
4008
3570
  # @param [String] fields
4009
3571
  # Selector specifying which fields to include in a partial response.
4010
3572
  # @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.
3573
+ # Available to use for quota purposes for server-side applications. Can be any
3574
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4015
3575
  # @param [Google::Apis::RequestOptions] options
4016
3576
  # Request-specific options
4017
3577
  #
@@ -4024,8 +3584,8 @@ module Google
4024
3584
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4025
3585
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4026
3586
  # @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)
3587
+ def watch_user_alias(user_key, channel_object = nil, event: nil, fields: nil, quota_user: nil, options: nil, &block)
3588
+ command = make_simple_command(:post, 'admin/directory/v1/users/{userKey}/aliases/watch', options)
4029
3589
  command.request_representation = Google::Apis::AdminDirectoryV1::Channel::Representation
4030
3590
  command.request_object = channel_object
4031
3591
  command.response_representation = Google::Apis::AdminDirectoryV1::Channel::Representation
@@ -4034,7 +3594,6 @@ module Google
4034
3594
  command.query['event'] = event unless event.nil?
4035
3595
  command.query['fields'] = fields unless fields.nil?
4036
3596
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4037
- command.query['userIp'] = user_ip unless user_ip.nil?
4038
3597
  execute_or_queue_command(command, &block)
4039
3598
  end
4040
3599
 
@@ -4044,10 +3603,8 @@ module Google
4044
3603
  # @param [String] fields
4045
3604
  # Selector specifying which fields to include in a partial response.
4046
3605
  # @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.
3606
+ # Available to use for quota purposes for server-side applications. Can be any
3607
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4051
3608
  # @param [Google::Apis::RequestOptions] options
4052
3609
  # Request-specific options
4053
3610
  #
@@ -4060,12 +3617,11 @@ module Google
4060
3617
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4061
3618
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4062
3619
  # @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)
3620
+ def delete_user_photo(user_key, fields: nil, quota_user: nil, options: nil, &block)
3621
+ command = make_simple_command(:delete, 'admin/directory/v1/users/{userKey}/photos/thumbnail', options)
4065
3622
  command.params['userKey'] = user_key unless user_key.nil?
4066
3623
  command.query['fields'] = fields unless fields.nil?
4067
3624
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4068
- command.query['userIp'] = user_ip unless user_ip.nil?
4069
3625
  execute_or_queue_command(command, &block)
4070
3626
  end
4071
3627
 
@@ -4075,10 +3631,8 @@ module Google
4075
3631
  # @param [String] fields
4076
3632
  # Selector specifying which fields to include in a partial response.
4077
3633
  # @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.
3634
+ # Available to use for quota purposes for server-side applications. Can be any
3635
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4082
3636
  # @param [Google::Apis::RequestOptions] options
4083
3637
  # Request-specific options
4084
3638
  #
@@ -4091,28 +3645,25 @@ module Google
4091
3645
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4092
3646
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4093
3647
  # @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)
3648
+ def get_user_photo(user_key, fields: nil, quota_user: nil, options: nil, &block)
3649
+ command = make_simple_command(:get, 'admin/directory/v1/users/{userKey}/photos/thumbnail', options)
4096
3650
  command.response_representation = Google::Apis::AdminDirectoryV1::UserPhoto::Representation
4097
3651
  command.response_class = Google::Apis::AdminDirectoryV1::UserPhoto
4098
3652
  command.params['userKey'] = user_key unless user_key.nil?
4099
3653
  command.query['fields'] = fields unless fields.nil?
4100
3654
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4101
- command.query['userIp'] = user_ip unless user_ip.nil?
4102
3655
  execute_or_queue_command(command, &block)
4103
3656
  end
4104
3657
 
4105
- # Add a photo for the user. This method supports patch semantics.
3658
+ # Patch Photo via Apiary Patch Orchestration
4106
3659
  # @param [String] user_key
4107
3660
  # Email or immutable ID of the user
4108
3661
  # @param [Google::Apis::AdminDirectoryV1::UserPhoto] user_photo_object
4109
3662
  # @param [String] fields
4110
3663
  # Selector specifying which fields to include in a partial response.
4111
3664
  # @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.
3665
+ # Available to use for quota purposes for server-side applications. Can be any
3666
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4116
3667
  # @param [Google::Apis::RequestOptions] options
4117
3668
  # Request-specific options
4118
3669
  #
@@ -4125,8 +3676,8 @@ module Google
4125
3676
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4126
3677
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4127
3678
  # @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)
3679
+ def patch_user_photo(user_key, user_photo_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3680
+ command = make_simple_command(:patch, 'admin/directory/v1/users/{userKey}/photos/thumbnail', options)
4130
3681
  command.request_representation = Google::Apis::AdminDirectoryV1::UserPhoto::Representation
4131
3682
  command.request_object = user_photo_object
4132
3683
  command.response_representation = Google::Apis::AdminDirectoryV1::UserPhoto::Representation
@@ -4134,7 +3685,6 @@ module Google
4134
3685
  command.params['userKey'] = user_key unless user_key.nil?
4135
3686
  command.query['fields'] = fields unless fields.nil?
4136
3687
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4137
- command.query['userIp'] = user_ip unless user_ip.nil?
4138
3688
  execute_or_queue_command(command, &block)
4139
3689
  end
4140
3690
 
@@ -4145,10 +3695,8 @@ module Google
4145
3695
  # @param [String] fields
4146
3696
  # Selector specifying which fields to include in a partial response.
4147
3697
  # @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.
3698
+ # Available to use for quota purposes for server-side applications. Can be any
3699
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4152
3700
  # @param [Google::Apis::RequestOptions] options
4153
3701
  # Request-specific options
4154
3702
  #
@@ -4161,8 +3709,8 @@ module Google
4161
3709
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4162
3710
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4163
3711
  # @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)
3712
+ def update_user_photo(user_key, user_photo_object = nil, fields: nil, quota_user: nil, options: nil, &block)
3713
+ command = make_simple_command(:put, 'admin/directory/v1/users/{userKey}/photos/thumbnail', options)
4166
3714
  command.request_representation = Google::Apis::AdminDirectoryV1::UserPhoto::Representation
4167
3715
  command.request_object = user_photo_object
4168
3716
  command.response_representation = Google::Apis::AdminDirectoryV1::UserPhoto::Representation
@@ -4170,7 +3718,6 @@ module Google
4170
3718
  command.params['userKey'] = user_key unless user_key.nil?
4171
3719
  command.query['fields'] = fields unless fields.nil?
4172
3720
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4173
- command.query['userIp'] = user_ip unless user_ip.nil?
4174
3721
  execute_or_queue_command(command, &block)
4175
3722
  end
4176
3723
 
@@ -4180,10 +3727,8 @@ module Google
4180
3727
  # @param [String] fields
4181
3728
  # Selector specifying which fields to include in a partial response.
4182
3729
  # @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.
3730
+ # Available to use for quota purposes for server-side applications. Can be any
3731
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4187
3732
  # @param [Google::Apis::RequestOptions] options
4188
3733
  # Request-specific options
4189
3734
  #
@@ -4196,12 +3741,11 @@ module Google
4196
3741
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4197
3742
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4198
3743
  # @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)
3744
+ def generate_verification_code(user_key, fields: nil, quota_user: nil, options: nil, &block)
3745
+ command = make_simple_command(:post, 'admin/directory/v1/users/{userKey}/verificationCodes/generate', options)
4201
3746
  command.params['userKey'] = user_key unless user_key.nil?
4202
3747
  command.query['fields'] = fields unless fields.nil?
4203
3748
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4204
- command.query['userIp'] = user_ip unless user_ip.nil?
4205
3749
  execute_or_queue_command(command, &block)
4206
3750
  end
4207
3751
 
@@ -4211,10 +3755,8 @@ module Google
4211
3755
  # @param [String] fields
4212
3756
  # Selector specifying which fields to include in a partial response.
4213
3757
  # @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.
3758
+ # Available to use for quota purposes for server-side applications. Can be any
3759
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4218
3760
  # @param [Google::Apis::RequestOptions] options
4219
3761
  # Request-specific options
4220
3762
  #
@@ -4227,12 +3769,11 @@ module Google
4227
3769
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4228
3770
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4229
3771
  # @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)
3772
+ def invalidate_verification_code(user_key, fields: nil, quota_user: nil, options: nil, &block)
3773
+ command = make_simple_command(:post, 'admin/directory/v1/users/{userKey}/verificationCodes/invalidate', options)
4232
3774
  command.params['userKey'] = user_key unless user_key.nil?
4233
3775
  command.query['fields'] = fields unless fields.nil?
4234
3776
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4235
- command.query['userIp'] = user_ip unless user_ip.nil?
4236
3777
  execute_or_queue_command(command, &block)
4237
3778
  end
4238
3779
 
@@ -4244,10 +3785,8 @@ module Google
4244
3785
  # @param [String] fields
4245
3786
  # Selector specifying which fields to include in a partial response.
4246
3787
  # @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.
3788
+ # Available to use for quota purposes for server-side applications. Can be any
3789
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4251
3790
  # @param [Google::Apis::RequestOptions] options
4252
3791
  # Request-specific options
4253
3792
  #
@@ -4260,14 +3799,13 @@ module Google
4260
3799
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4261
3800
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4262
3801
  # @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)
3802
+ def list_verification_codes(user_key, fields: nil, quota_user: nil, options: nil, &block)
3803
+ command = make_simple_command(:get, 'admin/directory/v1/users/{userKey}/verificationCodes', options)
4265
3804
  command.response_representation = Google::Apis::AdminDirectoryV1::VerificationCodes::Representation
4266
3805
  command.response_class = Google::Apis::AdminDirectoryV1::VerificationCodes
4267
3806
  command.params['userKey'] = user_key unless user_key.nil?
4268
3807
  command.query['fields'] = fields unless fields.nil?
4269
3808
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4270
- command.query['userIp'] = user_ip unless user_ip.nil?
4271
3809
  execute_or_queue_command(command, &block)
4272
3810
  end
4273
3811
 
@@ -4276,7 +3814,6 @@ module Google
4276
3814
  def apply_command_defaults(command)
4277
3815
  command.query['key'] = key unless key.nil?
4278
3816
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4279
- command.query['userIp'] = user_ip unless user_ip.nil?
4280
3817
  end
4281
3818
  end
4282
3819
  end