google-api-client 0.51.0 → 0.53.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (418) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +0 -14
  3. data/CHANGELOG.md +106 -0
  4. data/OVERVIEW.md +36 -27
  5. data/generated/google/apis/accesscontextmanager_v1/classes.rb +326 -0
  6. data/generated/google/apis/accesscontextmanager_v1/representations.rb +139 -0
  7. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  8. data/generated/google/apis/admin_datatransfer_v1/classes.rb +6 -16
  9. data/generated/google/apis/admin_datatransfer_v1/service.rb +3 -3
  10. data/generated/google/apis/admin_datatransfer_v1.rb +2 -2
  11. data/generated/google/apis/admin_directory_v1/classes.rb +453 -321
  12. data/generated/google/apis/admin_directory_v1/representations.rb +15 -15
  13. data/generated/google/apis/admin_directory_v1/service.rb +325 -185
  14. data/generated/google/apis/admin_directory_v1.rb +2 -2
  15. data/generated/google/apis/admin_reports_v1/classes.rb +48 -43
  16. data/generated/google/apis/admin_reports_v1/service.rb +198 -179
  17. data/generated/google/apis/admin_reports_v1.rb +2 -2
  18. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  19. data/generated/google/apis/analytics_v3/service.rb +1 -1
  20. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +10 -2
  21. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +1 -0
  22. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +17 -13
  23. data/generated/google/apis/analyticsadmin_v1alpha.rb +2 -2
  24. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +11 -11
  25. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  26. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  27. data/generated/google/apis/apigateway_v1/classes.rb +1116 -0
  28. data/generated/google/apis/apigateway_v1/representations.rb +442 -0
  29. data/generated/google/apis/apigateway_v1/service.rb +1172 -0
  30. data/{lib/google/apis/generator/templates/classes.rb.tmpl → generated/google/apis/apigateway_v1.rb} +14 -9
  31. data/generated/google/apis/apigateway_v1beta/classes.rb +22 -17
  32. data/generated/google/apis/apigateway_v1beta/representations.rb +1 -1
  33. data/generated/google/apis/apigateway_v1beta.rb +1 -1
  34. data/generated/google/apis/apigee_v1/classes.rb +95 -22
  35. data/generated/google/apis/apigee_v1/representations.rb +42 -0
  36. data/generated/google/apis/apigee_v1/service.rb +256 -48
  37. data/generated/google/apis/apigee_v1.rb +1 -1
  38. data/generated/google/apis/appengine_v1/classes.rb +7 -0
  39. data/generated/google/apis/appengine_v1/representations.rb +1 -0
  40. data/generated/google/apis/appengine_v1.rb +1 -1
  41. data/generated/google/apis/artifactregistry_v1/classes.rb +242 -0
  42. data/generated/google/apis/artifactregistry_v1/representations.rb +116 -0
  43. data/generated/google/apis/artifactregistry_v1/service.rb +210 -0
  44. data/generated/google/apis/artifactregistry_v1.rb +38 -0
  45. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +0 -120
  46. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +0 -62
  47. data/generated/google/apis/artifactregistry_v1beta1/service.rb +4 -1
  48. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  49. data/generated/google/apis/artifactregistry_v1beta2/classes.rb +0 -120
  50. data/generated/google/apis/artifactregistry_v1beta2/representations.rb +0 -62
  51. data/generated/google/apis/artifactregistry_v1beta2/service.rb +4 -1
  52. data/generated/google/apis/artifactregistry_v1beta2.rb +1 -1
  53. data/generated/google/apis/chat_v1/service.rb +132 -0
  54. data/generated/google/apis/chat_v1.rb +1 -1
  55. data/generated/google/apis/cloudasset_v1/classes.rb +326 -0
  56. data/generated/google/apis/cloudasset_v1/representations.rb +139 -0
  57. data/generated/google/apis/cloudasset_v1.rb +1 -1
  58. data/generated/google/apis/cloudasset_v1beta1/classes.rb +326 -0
  59. data/generated/google/apis/cloudasset_v1beta1/representations.rb +139 -0
  60. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  61. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +326 -0
  62. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +139 -0
  63. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  64. data/generated/google/apis/cloudbuild_v1/classes.rb +3 -3
  65. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  66. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +3 -3
  67. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  68. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +3 -3
  69. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  70. data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -0
  71. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  72. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  73. data/generated/google/apis/cloudidentity_v1/classes.rb +240 -0
  74. data/generated/google/apis/cloudidentity_v1/representations.rb +125 -0
  75. data/generated/google/apis/cloudidentity_v1/service.rb +202 -2
  76. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  77. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1 -1
  78. data/generated/google/apis/cloudidentity_v1beta1/service.rb +8 -2
  79. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  80. data/generated/google/apis/cloudkms_v1/classes.rb +0 -6
  81. data/generated/google/apis/cloudkms_v1/representations.rb +0 -1
  82. data/generated/google/apis/cloudkms_v1.rb +1 -1
  83. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +0 -26
  84. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +0 -24
  85. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  86. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +0 -26
  87. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +0 -24
  88. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  89. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +0 -26
  90. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +0 -24
  91. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  92. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +0 -26
  93. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +0 -24
  94. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  95. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +19 -0
  96. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +2 -0
  97. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +12 -2
  98. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  99. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +59 -0
  100. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +19 -0
  101. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  102. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +102 -0
  103. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +35 -0
  104. data/generated/google/apis/cloudtasks_v2beta3/service.rb +16 -2
  105. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  106. data/generated/google/apis/composer_v1beta1/classes.rb +64 -0
  107. data/generated/google/apis/composer_v1beta1/representations.rb +18 -0
  108. data/generated/google/apis/composer_v1beta1.rb +1 -1
  109. data/generated/google/apis/compute_alpha/classes.rb +1071 -341
  110. data/generated/google/apis/compute_alpha/representations.rb +248 -19
  111. data/generated/google/apis/compute_alpha/service.rb +291 -15
  112. data/generated/google/apis/compute_alpha.rb +1 -1
  113. data/generated/google/apis/compute_beta/classes.rb +926 -283
  114. data/generated/google/apis/compute_beta/representations.rb +221 -18
  115. data/generated/google/apis/compute_beta/service.rb +24 -15
  116. data/generated/google/apis/compute_beta.rb +1 -1
  117. data/generated/google/apis/compute_v1/classes.rb +419 -158
  118. data/generated/google/apis/compute_v1/representations.rb +55 -0
  119. data/generated/google/apis/compute_v1/service.rb +9 -7
  120. data/generated/google/apis/compute_v1.rb +1 -1
  121. data/generated/google/apis/container_v1/classes.rb +55 -16
  122. data/generated/google/apis/container_v1/representations.rb +17 -0
  123. data/generated/google/apis/container_v1/service.rb +4 -2
  124. data/generated/google/apis/container_v1.rb +1 -1
  125. data/generated/google/apis/container_v1beta1/classes.rb +31 -20
  126. data/generated/google/apis/container_v1beta1/representations.rb +2 -0
  127. data/generated/google/apis/container_v1beta1/service.rb +6 -2
  128. data/generated/google/apis/container_v1beta1.rb +1 -1
  129. data/generated/google/apis/content_v2_1/classes.rb +450 -7
  130. data/generated/google/apis/content_v2_1/representations.rb +188 -0
  131. data/generated/google/apis/content_v2_1/service.rb +116 -0
  132. data/generated/google/apis/content_v2_1.rb +1 -1
  133. data/generated/google/apis/datacatalog_v1beta1/classes.rb +6 -0
  134. data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
  135. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  136. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  137. data/generated/google/apis/datalabeling_v1beta1.rb +1 -1
  138. data/generated/google/apis/datamigration_v1beta1/classes.rb +0 -6
  139. data/generated/google/apis/datamigration_v1beta1/representations.rb +0 -1
  140. data/generated/google/apis/datamigration_v1beta1.rb +1 -1
  141. data/generated/google/apis/dataproc_v1/classes.rb +29 -1
  142. data/generated/google/apis/dataproc_v1/representations.rb +14 -0
  143. data/generated/google/apis/dataproc_v1/service.rb +42 -0
  144. data/generated/google/apis/dataproc_v1.rb +1 -1
  145. data/generated/google/apis/dataproc_v1beta2/classes.rb +29 -1
  146. data/generated/google/apis/dataproc_v1beta2/representations.rb +14 -0
  147. data/generated/google/apis/dataproc_v1beta2/service.rb +42 -0
  148. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  149. data/generated/google/apis/deploymentmanager_alpha/classes.rb +276 -644
  150. data/generated/google/apis/deploymentmanager_alpha/representations.rb +10 -143
  151. data/generated/google/apis/deploymentmanager_alpha/service.rb +247 -398
  152. data/generated/google/apis/deploymentmanager_alpha.rb +6 -5
  153. data/generated/google/apis/deploymentmanager_v2/service.rb +5 -25
  154. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  155. data/generated/google/apis/deploymentmanager_v2beta/service.rb +8 -40
  156. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  157. data/generated/google/apis/dialogflow_v2/classes.rb +4339 -284
  158. data/generated/google/apis/dialogflow_v2/representations.rb +2090 -211
  159. data/generated/google/apis/dialogflow_v2.rb +1 -1
  160. data/generated/google/apis/dialogflow_v2beta1/classes.rb +4341 -286
  161. data/generated/google/apis/dialogflow_v2beta1/representations.rb +2097 -218
  162. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  163. data/generated/google/apis/dialogflow_v3/classes.rb +11752 -0
  164. data/generated/google/apis/dialogflow_v3/representations.rb +5158 -0
  165. data/generated/google/apis/dialogflow_v3/service.rb +3414 -0
  166. data/generated/google/apis/{bigqueryreservation_v1alpha2.rb → dialogflow_v3.rb} +13 -12
  167. data/generated/google/apis/dialogflow_v3beta1/classes.rb +5147 -1554
  168. data/generated/google/apis/dialogflow_v3beta1/representations.rb +1966 -221
  169. data/generated/google/apis/dialogflow_v3beta1/service.rb +581 -0
  170. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  171. data/generated/google/apis/dlp_v2/service.rb +297 -10
  172. data/generated/google/apis/dlp_v2.rb +1 -1
  173. data/generated/google/apis/dns_v1/classes.rb +65 -0
  174. data/generated/google/apis/dns_v1/representations.rb +32 -0
  175. data/generated/google/apis/dns_v1.rb +1 -1
  176. data/generated/google/apis/documentai_v1beta2/classes.rb +217 -186
  177. data/generated/google/apis/documentai_v1beta2/representations.rb +107 -24
  178. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  179. data/generated/google/apis/documentai_v1beta3/classes.rb +238 -201
  180. data/generated/google/apis/documentai_v1beta3/representations.rb +107 -24
  181. data/generated/google/apis/documentai_v1beta3/service.rb +81 -2
  182. data/generated/google/apis/documentai_v1beta3.rb +1 -1
  183. data/generated/google/apis/eventarc_v1beta1/classes.rb +8 -9
  184. data/generated/google/apis/eventarc_v1beta1/service.rb +25 -5
  185. data/generated/google/apis/eventarc_v1beta1.rb +1 -1
  186. data/generated/google/apis/file_v1/classes.rb +61 -0
  187. data/generated/google/apis/file_v1/representations.rb +19 -0
  188. data/generated/google/apis/file_v1.rb +1 -1
  189. data/generated/google/apis/gameservices_v1/service.rb +14 -14
  190. data/generated/google/apis/gameservices_v1.rb +1 -1
  191. data/generated/google/apis/gameservices_v1beta/service.rb +14 -14
  192. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  193. data/generated/google/apis/genomics_v2alpha1/classes.rb +11 -7
  194. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  195. data/generated/google/apis/healthcare_v1/classes.rb +0 -6
  196. data/generated/google/apis/healthcare_v1/representations.rb +0 -1
  197. data/generated/google/apis/healthcare_v1/service.rb +13 -12
  198. data/generated/google/apis/healthcare_v1.rb +1 -1
  199. data/generated/google/apis/healthcare_v1beta1/classes.rb +45 -19
  200. data/generated/google/apis/healthcare_v1beta1/representations.rb +3 -1
  201. data/generated/google/apis/healthcare_v1beta1/service.rb +37 -37
  202. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  203. data/generated/google/apis/iap_v1/classes.rb +0 -6
  204. data/generated/google/apis/iap_v1/representations.rb +0 -1
  205. data/generated/google/apis/iap_v1.rb +1 -1
  206. data/generated/google/apis/iap_v1beta1/classes.rb +0 -6
  207. data/generated/google/apis/iap_v1beta1/representations.rb +0 -1
  208. data/generated/google/apis/iap_v1beta1.rb +1 -1
  209. data/generated/google/apis/localservices_v1.rb +4 -1
  210. data/generated/google/apis/manufacturers_v1/classes.rb +2 -2
  211. data/generated/google/apis/manufacturers_v1.rb +1 -1
  212. data/generated/google/apis/metastore_v1beta/classes.rb +1151 -0
  213. data/generated/google/apis/metastore_v1beta/representations.rb +479 -0
  214. data/generated/google/apis/metastore_v1beta/service.rb +800 -0
  215. data/{lib/google/apis/core/logging.rb → generated/google/apis/metastore_v1beta.rb} +15 -10
  216. data/generated/google/apis/ml_v1/classes.rb +51 -18
  217. data/generated/google/apis/ml_v1/representations.rb +16 -0
  218. data/generated/google/apis/ml_v1.rb +1 -1
  219. data/generated/google/apis/monitoring_v3/classes.rb +10 -6
  220. data/generated/google/apis/monitoring_v3.rb +1 -1
  221. data/generated/google/apis/notebooks_v1/classes.rb +13 -0
  222. data/generated/google/apis/notebooks_v1/representations.rb +12 -0
  223. data/generated/google/apis/notebooks_v1/service.rb +34 -0
  224. data/generated/google/apis/notebooks_v1.rb +1 -1
  225. data/generated/google/apis/privateca_v1beta1/classes.rb +2 -1
  226. data/generated/google/apis/privateca_v1beta1.rb +1 -1
  227. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  228. data/generated/google/apis/recommendationengine_v1beta1/service.rb +2 -1
  229. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  230. data/generated/google/apis/recommender_v1beta1/service.rb +317 -0
  231. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  232. data/generated/google/apis/redis_v1/classes.rb +2 -2
  233. data/generated/google/apis/redis_v1.rb +1 -1
  234. data/generated/google/apis/redis_v1beta1/classes.rb +2 -2
  235. data/generated/google/apis/redis_v1beta1.rb +1 -1
  236. data/generated/google/apis/safebrowsing_v4/classes.rb +277 -277
  237. data/generated/google/apis/safebrowsing_v4/representations.rb +128 -128
  238. data/generated/google/apis/safebrowsing_v4/service.rb +44 -44
  239. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  240. data/generated/google/apis/searchconsole_v1/classes.rb +7 -0
  241. data/generated/google/apis/searchconsole_v1/representations.rb +1 -0
  242. data/generated/google/apis/searchconsole_v1.rb +1 -1
  243. data/generated/google/apis/securitycenter_v1/classes.rb +18 -10
  244. data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
  245. data/generated/google/apis/securitycenter_v1/service.rb +30 -30
  246. data/generated/google/apis/securitycenter_v1.rb +1 -1
  247. data/generated/google/apis/securitycenter_v1beta1/classes.rb +7 -0
  248. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
  249. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  250. data/generated/google/apis/securitycenter_v1beta2/classes.rb +7 -0
  251. data/generated/google/apis/securitycenter_v1beta2/representations.rb +1 -0
  252. data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
  253. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +11 -10
  254. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  255. data/generated/google/apis/servicecontrol_v1/service.rb +2 -2
  256. data/generated/google/apis/servicecontrol_v1.rb +3 -3
  257. data/generated/google/apis/servicecontrol_v2/service.rb +2 -2
  258. data/generated/google/apis/servicecontrol_v2.rb +3 -3
  259. data/generated/google/apis/servicedirectory_v1/classes.rb +721 -0
  260. data/generated/google/apis/servicedirectory_v1/representations.rb +304 -0
  261. data/generated/google/apis/servicedirectory_v1/service.rb +957 -0
  262. data/{lib/google/apis/generator/templates/representations.rb.tmpl → generated/google/apis/servicedirectory_v1.rb} +15 -12
  263. data/generated/google/apis/servicemanagement_v1/classes.rb +11 -10
  264. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  265. data/generated/google/apis/servicenetworking_v1/classes.rb +1 -1
  266. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  267. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -1
  268. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  269. data/generated/google/apis/serviceusage_v1/classes.rb +11 -10
  270. data/generated/google/apis/serviceusage_v1.rb +1 -1
  271. data/generated/google/apis/serviceusage_v1beta1/classes.rb +11 -10
  272. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  273. data/generated/google/apis/slides_v1/classes.rb +9 -3
  274. data/generated/google/apis/slides_v1.rb +1 -1
  275. data/generated/google/apis/speech_v1p1beta1/classes.rb +0 -22
  276. data/generated/google/apis/speech_v1p1beta1/representations.rb +0 -2
  277. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  278. data/generated/google/apis/sqladmin_v1beta4/classes.rb +7 -7
  279. data/generated/google/apis/sqladmin_v1beta4/service.rb +4 -1
  280. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  281. data/generated/google/apis/storagetransfer_v1/classes.rb +25 -0
  282. data/generated/google/apis/storagetransfer_v1/representations.rb +3 -0
  283. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  284. data/generated/google/apis/testing_v1/classes.rb +1 -1
  285. data/generated/google/apis/testing_v1.rb +1 -1
  286. data/generated/google/apis/trafficdirector_v2/service.rb +1 -1
  287. data/generated/google/apis/trafficdirector_v2.rb +2 -2
  288. data/generated/google/apis/transcoder_v1beta1/classes.rb +12 -2
  289. data/generated/google/apis/transcoder_v1beta1/representations.rb +1 -0
  290. data/generated/google/apis/transcoder_v1beta1.rb +1 -1
  291. data/generated/google/apis/translate_v3/classes.rb +1 -1
  292. data/generated/google/apis/translate_v3.rb +1 -1
  293. data/generated/google/apis/translate_v3beta1/classes.rb +1 -1
  294. data/generated/google/apis/translate_v3beta1.rb +1 -1
  295. data/generated/google/apis/webmasters_v3/classes.rb +8 -0
  296. data/generated/google/apis/webmasters_v3/representations.rb +1 -0
  297. data/generated/google/apis/workflows_v1beta/classes.rb +4 -4
  298. data/generated/google/apis/workflows_v1beta.rb +1 -1
  299. data/generated/google/apis/youtube_v3/classes.rb +18 -143
  300. data/generated/google/apis/youtube_v3/representations.rb +0 -57
  301. data/generated/google/apis/youtube_v3/service.rb +0 -43
  302. data/generated/google/apis/youtube_v3.rb +1 -1
  303. data/lib/google/apis/version.rb +1 -23
  304. metadata +39 -267
  305. data/.github/CONTRIBUTING.md +0 -31
  306. data/.github/ISSUE_TEMPLATE/bug_report.md +0 -36
  307. data/.github/ISSUE_TEMPLATE/feature_request.md +0 -21
  308. data/.github/ISSUE_TEMPLATE/support_request.md +0 -7
  309. data/.github/workflows/autoapprove.yml +0 -49
  310. data/.github/workflows/release-please.yml +0 -79
  311. data/.gitignore +0 -23
  312. data/.kokoro/build.bat +0 -11
  313. data/.kokoro/build.sh +0 -4
  314. data/.kokoro/continuous/common.cfg +0 -25
  315. data/.kokoro/continuous/linux.cfg +0 -25
  316. data/.kokoro/continuous/osx.cfg +0 -8
  317. data/.kokoro/continuous/post.cfg +0 -30
  318. data/.kokoro/continuous/windows.cfg +0 -29
  319. data/.kokoro/osx.sh +0 -4
  320. data/.kokoro/presubmit/common.cfg +0 -24
  321. data/.kokoro/presubmit/linux.cfg +0 -24
  322. data/.kokoro/presubmit/osx.cfg +0 -8
  323. data/.kokoro/presubmit/windows.cfg +0 -29
  324. data/.kokoro/release.cfg +0 -94
  325. data/.kokoro/trampoline.bat +0 -10
  326. data/.kokoro/trampoline.sh +0 -4
  327. data/.repo-metadata.json +0 -5
  328. data/.rspec +0 -2
  329. data/.rubocop.yml +0 -12
  330. data/.rubocop_todo.yml +0 -63
  331. data/CODE_OF_CONDUCT.md +0 -43
  332. data/Gemfile +0 -55
  333. data/MIGRATING.md +0 -215
  334. data/README.md +0 -402
  335. data/Rakefile +0 -131
  336. data/api_list_config.yaml +0 -9
  337. data/api_names.yaml +0 -1082
  338. data/bin/generate-api +0 -194
  339. data/docs/api-keys.md +0 -20
  340. data/docs/auth.md +0 -53
  341. data/docs/client-secrets.md +0 -69
  342. data/docs/getting-started.md +0 -340
  343. data/docs/installation.md +0 -0
  344. data/docs/logging.md +0 -34
  345. data/docs/media-upload.md +0 -25
  346. data/docs/oauth-installed.md +0 -191
  347. data/docs/oauth-server.md +0 -133
  348. data/docs/oauth-web.md +0 -280
  349. data/docs/oauth.md +0 -268
  350. data/docs/pagination.md +0 -29
  351. data/docs/performance.md +0 -25
  352. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -426
  353. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -195
  354. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -622
  355. data/google-api-client.gemspec +0 -36
  356. data/lib/google/api_client/auth/installed_app.rb +0 -143
  357. data/lib/google/api_client/auth/key_utils.rb +0 -94
  358. data/lib/google/api_client/auth/storage.rb +0 -104
  359. data/lib/google/api_client/auth/storages/file_store.rb +0 -57
  360. data/lib/google/api_client/auth/storages/redis_store.rb +0 -59
  361. data/lib/google/api_client/client_secrets.rb +0 -176
  362. data/lib/google/apis/core/api_command.rb +0 -209
  363. data/lib/google/apis/core/base_service.rb +0 -447
  364. data/lib/google/apis/core/batch.rb +0 -236
  365. data/lib/google/apis/core/composite_io.rb +0 -97
  366. data/lib/google/apis/core/download.rb +0 -118
  367. data/lib/google/apis/core/hashable.rb +0 -44
  368. data/lib/google/apis/core/http_command.rb +0 -447
  369. data/lib/google/apis/core/json_representation.rb +0 -153
  370. data/lib/google/apis/core/multipart.rb +0 -135
  371. data/lib/google/apis/core/upload.rb +0 -273
  372. data/lib/google/apis/errors.rb +0 -89
  373. data/lib/google/apis/generator/annotator.rb +0 -339
  374. data/lib/google/apis/generator/helpers.rb +0 -76
  375. data/lib/google/apis/generator/model.rb +0 -187
  376. data/lib/google/apis/generator/template.rb +0 -124
  377. data/lib/google/apis/generator/templates/_class.tmpl +0 -43
  378. data/lib/google/apis/generator/templates/_method.tmpl +0 -92
  379. data/lib/google/apis/generator/templates/_representation.tmpl +0 -51
  380. data/lib/google/apis/generator/templates/_representation_stub.tmpl +0 -17
  381. data/lib/google/apis/generator/templates/_representation_type.tmpl +0 -10
  382. data/lib/google/apis/generator/templates/module.rb.tmpl +0 -40
  383. data/lib/google/apis/generator/templates/service.rb.tmpl +0 -61
  384. data/lib/google/apis/generator.rb +0 -71
  385. data/lib/google/apis/options.rb +0 -116
  386. data/lib/google/apis.rb +0 -58
  387. data/rakelib/devsite/devsite_builder.rb +0 -126
  388. data/rakelib/devsite/link_checker.rb +0 -64
  389. data/rakelib/devsite/repo_metadata.rb +0 -56
  390. data/rakelib/metrics.rake +0 -22
  391. data/rakelib/rubocop.rake +0 -10
  392. data/rakelib/spec.rake +0 -11
  393. data/rakelib/yard.rake +0 -11
  394. data/samples/cli/.env +0 -4
  395. data/samples/cli/Gemfile +0 -7
  396. data/samples/cli/README.md +0 -51
  397. data/samples/cli/google-api-samples +0 -32
  398. data/samples/cli/lib/base_cli.rb +0 -95
  399. data/samples/cli/lib/samples/adsense.rb +0 -99
  400. data/samples/cli/lib/samples/analytics.rb +0 -80
  401. data/samples/cli/lib/samples/androidpublisher.rb +0 -47
  402. data/samples/cli/lib/samples/bigquery.rb +0 -101
  403. data/samples/cli/lib/samples/calendar.rb +0 -83
  404. data/samples/cli/lib/samples/drive.rb +0 -82
  405. data/samples/cli/lib/samples/gmail.rb +0 -157
  406. data/samples/cli/lib/samples/pubsub.rb +0 -114
  407. data/samples/cli/lib/samples/sheets.rb +0 -61
  408. data/samples/cli/lib/samples/translate.rb +0 -44
  409. data/samples/cli/lib/samples/vision.rb +0 -69
  410. data/samples/cli/lib/samples/you_tube.rb +0 -47
  411. data/samples/web/Gemfile +0 -9
  412. data/samples/web/README.md +0 -44
  413. data/samples/web/app.rb +0 -120
  414. data/samples/web/views/calendar.erb +0 -34
  415. data/samples/web/views/drive.erb +0 -33
  416. data/samples/web/views/home.erb +0 -34
  417. data/samples/web/views/layout.erb +0 -40
  418. data/synth.py +0 -40
@@ -20,7 +20,7 @@ require 'google/apis/errors'
20
20
  module Google
21
21
  module Apis
22
22
  module AdminReportsV1
23
- # Admin SDK
23
+ # Admin SDK API
24
24
  #
25
25
  # Admin SDK lets administrators of enterprise domains to view and manage
26
26
  # resources like user, groups etc. It also provides audit and usage reports of
@@ -45,8 +45,8 @@ module Google
45
45
  attr_accessor :quota_user
46
46
 
47
47
  def initialize
48
- super('https://www.googleapis.com/', '')
49
- @batch_path = 'batch/admin/reports_v1'
48
+ super('https://admin.googleapis.com/', '')
49
+ @batch_path = 'batch'
50
50
  end
51
51
 
52
52
  # Retrieves a list of activities for a specific customer's account and
@@ -56,7 +56,7 @@ module Google
56
56
  # parameters, see the activity parameters reference guides.
57
57
  # @param [String] user_key
58
58
  # Represents the profile ID or the user email for which the data should be
59
- # filtered. Can be all for all information, or userKey for a user's unique G
59
+ # filtered. Can be `all` for all information, or `userKey` for a user's unique G
60
60
  # Suite profile ID or their primary email address.
61
61
  # @param [String] application_name
62
62
  # Application name for which the events are to be retrieved.
@@ -75,75 +75,79 @@ module Google
75
75
  # approximate time of the API request. An API report has three basic time
76
76
  # concepts: - *Date of the API's request for a report*: When the API created and
77
77
  # retrieved the report. - *Report's start time*: The beginning of the timespan
78
- # shown in the report. The startTime must be before the endTime (if specified)
79
- # and the current time when the request is made, or the API returns an error. - *
80
- # Report's end time*: The end of the timespan shown in the report. For example,
81
- # the timespan of events summarized in a report can start in April and end in
82
- # May. The report itself can be requested in August. If the endTime is not
83
- # specified, the report returns all activities from the startTime until the
84
- # current time or the most recent 180 days if the startTime is more than 180
85
- # days in the past.
78
+ # shown in the report. The `startTime` must be before the `endTime` (if
79
+ # specified) and the current time when the request is made, or the API returns
80
+ # an error. - *Report's end time*: The end of the timespan shown in the report.
81
+ # For example, the timespan of events summarized in a report can start in April
82
+ # and end in May. The report itself can be requested in August. If the `endTime`
83
+ # is not specified, the report returns all activities from the `startTime` until
84
+ # the current time or the most recent 180 days if the `startTime` is more than
85
+ # 180 days in the past.
86
86
  # @param [String] event_name
87
- # The name of the event being queried by the API. Each eventName is related to a
88
- # specific G Suite service or feature which the API organizes into types of
87
+ # The name of the event being queried by the API. Each `eventName` is related to
88
+ # a specific G Suite service or feature which the API organizes into types of
89
89
  # events. An example is the Google Calendar events in the Admin console
90
- # application's reports. The Calendar Settings type structure has all of the
91
- # Calendar eventName activities reported by the API. When an administrator
90
+ # application's reports. The Calendar Settings `type` structure has all of the
91
+ # Calendar `eventName` activities reported by the API. When an administrator
92
92
  # changes a Calendar setting, the API reports this activity in the Calendar
93
- # Settings type and eventName parameters. For more information about eventName
94
- # query strings and parameters, see the list of event names for various
95
- # applications above in applicationName.
93
+ # Settings `type` and `eventName` parameters. For more information about `
94
+ # eventName` query strings and parameters, see the list of event names for
95
+ # various applications above in `applicationName`.
96
96
  # @param [String] filters
97
- # The filters query string is a comma-separated list. The list is composed of
97
+ # The `filters` query string is a comma-separated list. The list is composed of
98
98
  # event parameters that are manipulated by relational operators. Event
99
- # parameters are in the form parameter1 name[parameter1 value],parameter2 name[
100
- # parameter2 value],... These event parameters are associated with a specific
101
- # eventName. An empty report is returned if the filtered request's parameter
102
- # does not belong to the eventName. For more information about eventName
103
- # parameters, see the list of event names for various applications above in
104
- # applicationName. In the following Admin Activity example, the <> operator is
99
+ # parameters are in the form `parameter1 name[parameter1 value],parameter2 name[
100
+ # parameter2 value],...` These event parameters are associated with a specific `
101
+ # eventName`. An empty report is returned if the filtered request's parameter
102
+ # does not belong to the `eventName`. For more information about `eventName`
103
+ # parameters, see the list of event names for various applications above in `
104
+ # applicationName`. In the following Admin Activity example, the <> operator is
105
105
  # URL-encoded in the request's query string (%3C%3E): GET...&eventName=
106
106
  # CHANGE_CALENDAR_SETTING &filters=NEW_VALUE%3C%3EREAD_ONLY_ACCESS In the
107
- # following Drive example, the list can be a view or edit event's doc_id
107
+ # following Drive example, the list can be a view or edit event's `doc_id`
108
108
  # parameter with a value that is manipulated by an 'equal to' (==) or 'not equal
109
109
  # to' (<>) relational operator. In the first example, the report returns each
110
- # edited document's doc_id. In the second example, the report returns each
111
- # viewed document's doc_id that equals the value 12345 and does not return any
112
- # viewed document's which have a doc_id value of 98765. The <> operator is URL-
110
+ # edited document's `doc_id`. In the second example, the report returns each
111
+ # viewed document's `doc_id` that equals the value 12345 and does not return any
112
+ # viewed document's which have a `doc_id` value of 98765. The <> operator is URL-
113
113
  # encoded in the request's query string (%3C%3E): GET...&eventName=edit&filters=
114
114
  # doc_id GET...&eventName=view&filters=doc_id==12345,doc_id%3C%3E98765 The
115
- # relational operators include: - == - 'equal to'. - <> - 'not equal to'. It is
116
- # URL-encoded (%3C%3E). - < - 'less than'. It is URL-encoded (%3C). - <= - 'less
117
- # than or equal to'. It is URL-encoded (%3C=). - > - 'greater than'. It is URL-
118
- # encoded (%3E). - >= - 'greater than or equal to'. It is URL-encoded (%3E=). *
119
- # Note:* The API doesn't accept multiple values of a parameter. If a particular
120
- # parameter is supplied more than once in the API request, the API only accepts
121
- # the last value of that request parameter. In addition, if an invalid request
122
- # parameter is supplied in the API request, the API ignores that request
123
- # parameter and returns the response corresponding to the remaining valid
124
- # request parameters. If no parameters are requested, all parameters are
115
+ # relational operators include: - `==` - 'equal to'. - `<>` - 'not equal to'. It
116
+ # is URL-encoded (%3C%3E). - `<` - 'less than'. It is URL-encoded (%3C). - `<=` -
117
+ # 'less than or equal to'. It is URL-encoded (%3C=). - `>` - 'greater than'. It
118
+ # is URL-encoded (%3E). - `>=` - 'greater than or equal to'. It is URL-encoded (%
119
+ # 3E=). *Note:* The API doesn't accept multiple values of a parameter. If a
120
+ # particular parameter is supplied more than once in the API request, the API
121
+ # only accepts the last value of that request parameter. In addition, if an
122
+ # invalid request parameter is supplied in the API request, the API ignores that
123
+ # request parameter and returns the response corresponding to the remaining
124
+ # valid request parameters. If no parameters are requested, all parameters are
125
125
  # returned.
126
+ # @param [String] group_id_filter
127
+ # Comma separated group ids (obfuscated) on which user activities are filtered,
128
+ # i.e, the response will contain activities for only those users that are a part
129
+ # of at least one of the group ids mentioned here. Format: "id:abc123,id:xyz456"
126
130
  # @param [Fixnum] max_results
127
131
  # Determines how many activity records are shown on each response page. For
128
- # example, if the request sets maxResults=1 and the report has two activities,
129
- # the report has two pages. The response's nextPageToken property has the token
130
- # to the second page. The maxResults query string is optional in the request.
131
- # The default value is 1000.
132
+ # example, if the request sets `maxResults=1` and the report has two activities,
133
+ # the report has two pages. The response's `nextPageToken` property has the
134
+ # token to the second page. The `maxResults` query string is optional in the
135
+ # request. The default value is 1000.
132
136
  # @param [String] org_unit_id
133
137
  # ID of the organizational unit to report on. Activity records will be shown
134
138
  # only for users who belong to the specified organizational unit. Data before
135
139
  # Dec 17, 2018 doesn't appear in the filtered results.
136
140
  # @param [String] page_token
137
- # The token to specify next page. A report with multiple pages has a
138
- # nextPageToken property in the response. In your follow-on request getting the
139
- # next page of the report, enter the nextPageToken value in the pageToken query
140
- # string.
141
+ # The token to specify next page. A report with multiple pages has a `
142
+ # nextPageToken` property in the response. In your follow-on request getting the
143
+ # next page of the report, enter the `nextPageToken` value in the `pageToken`
144
+ # query string.
141
145
  # @param [String] start_time
142
146
  # Sets the beginning of the range of time shown in the report. The date is in
143
147
  # the RFC 3339 format, for example 2010-10-28T10:26:35.000Z. The report returns
144
- # all activities from startTime until endTime. The startTime must be before the
145
- # endTime (if specified) and the current time when the request is made, or the
146
- # API returns an error.
148
+ # all activities from `startTime` until `endTime`. The `startTime` must be
149
+ # before the `endTime` (if specified) and the current time when the request is
150
+ # made, or the API returns an error.
147
151
  # @param [String] fields
148
152
  # Selector specifying which fields to include in a partial response.
149
153
  # @param [String] quota_user
@@ -161,7 +165,7 @@ module Google
161
165
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
162
166
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
163
167
  # @raise [Google::Apis::AuthorizationError] Authorization is required
164
- def list_activities(user_key, application_name, actor_ip_address: nil, customer_id: nil, end_time: nil, event_name: nil, filters: nil, max_results: nil, org_unit_id: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil, options: nil, &block)
168
+ def list_activities(user_key, application_name, actor_ip_address: nil, customer_id: nil, end_time: nil, event_name: nil, filters: nil, group_id_filter: nil, max_results: nil, org_unit_id: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil, options: nil, &block)
165
169
  command = make_simple_command(:get, 'admin/reports/v1/activity/users/{userKey}/applications/{applicationName}', options)
166
170
  command.response_representation = Google::Apis::AdminReportsV1::Activities::Representation
167
171
  command.response_class = Google::Apis::AdminReportsV1::Activities
@@ -172,6 +176,7 @@ module Google
172
176
  command.query['endTime'] = end_time unless end_time.nil?
173
177
  command.query['eventName'] = event_name unless event_name.nil?
174
178
  command.query['filters'] = filters unless filters.nil?
179
+ command.query['groupIdFilter'] = group_id_filter unless group_id_filter.nil?
175
180
  command.query['maxResults'] = max_results unless max_results.nil?
176
181
  command.query['orgUnitID'] = org_unit_id unless org_unit_id.nil?
177
182
  command.query['pageToken'] = page_token unless page_token.nil?
@@ -185,7 +190,7 @@ module Google
185
190
  # see Receiving Push Notifications.
186
191
  # @param [String] user_key
187
192
  # Represents the profile ID or the user email for which the data should be
188
- # filtered. Can be all for all information, or userKey for a user's unique G
193
+ # filtered. Can be `all` for all information, or `userKey` for a user's unique G
189
194
  # Suite profile ID or their primary email address.
190
195
  # @param [String] application_name
191
196
  # Application name for which the events are to be retrieved.
@@ -205,75 +210,79 @@ module Google
205
210
  # approximate time of the API request. An API report has three basic time
206
211
  # concepts: - *Date of the API's request for a report*: When the API created and
207
212
  # retrieved the report. - *Report's start time*: The beginning of the timespan
208
- # shown in the report. The startTime must be before the endTime (if specified)
209
- # and the current time when the request is made, or the API returns an error. - *
210
- # Report's end time*: The end of the timespan shown in the report. For example,
211
- # the timespan of events summarized in a report can start in April and end in
212
- # May. The report itself can be requested in August. If the endTime is not
213
- # specified, the report returns all activities from the startTime until the
214
- # current time or the most recent 180 days if the startTime is more than 180
215
- # days in the past.
213
+ # shown in the report. The `startTime` must be before the `endTime` (if
214
+ # specified) and the current time when the request is made, or the API returns
215
+ # an error. - *Report's end time*: The end of the timespan shown in the report.
216
+ # For example, the timespan of events summarized in a report can start in April
217
+ # and end in May. The report itself can be requested in August. If the `endTime`
218
+ # is not specified, the report returns all activities from the `startTime` until
219
+ # the current time or the most recent 180 days if the `startTime` is more than
220
+ # 180 days in the past.
216
221
  # @param [String] event_name
217
- # The name of the event being queried by the API. Each eventName is related to a
218
- # specific G Suite service or feature which the API organizes into types of
222
+ # The name of the event being queried by the API. Each `eventName` is related to
223
+ # a specific G Suite service or feature which the API organizes into types of
219
224
  # events. An example is the Google Calendar events in the Admin console
220
- # application's reports. The Calendar Settings type structure has all of the
221
- # Calendar eventName activities reported by the API. When an administrator
225
+ # application's reports. The Calendar Settings `type` structure has all of the
226
+ # Calendar `eventName` activities reported by the API. When an administrator
222
227
  # changes a Calendar setting, the API reports this activity in the Calendar
223
- # Settings type and eventName parameters. For more information about eventName
224
- # query strings and parameters, see the list of event names for various
225
- # applications above in applicationName.
228
+ # Settings `type` and `eventName` parameters. For more information about `
229
+ # eventName` query strings and parameters, see the list of event names for
230
+ # various applications above in `applicationName`.
226
231
  # @param [String] filters
227
- # The filters query string is a comma-separated list. The list is composed of
232
+ # The `filters` query string is a comma-separated list. The list is composed of
228
233
  # event parameters that are manipulated by relational operators. Event
229
- # parameters are in the form parameter1 name[parameter1 value],parameter2 name[
230
- # parameter2 value],... These event parameters are associated with a specific
231
- # eventName. An empty report is returned if the filtered request's parameter
232
- # does not belong to the eventName. For more information about eventName
233
- # parameters, see the list of event names for various applications above in
234
- # applicationName. In the following Admin Activity example, the <> operator is
234
+ # parameters are in the form `parameter1 name[parameter1 value],parameter2 name[
235
+ # parameter2 value],...` These event parameters are associated with a specific `
236
+ # eventName`. An empty report is returned if the filtered request's parameter
237
+ # does not belong to the `eventName`. For more information about `eventName`
238
+ # parameters, see the list of event names for various applications above in `
239
+ # applicationName`. In the following Admin Activity example, the <> operator is
235
240
  # URL-encoded in the request's query string (%3C%3E): GET...&eventName=
236
241
  # CHANGE_CALENDAR_SETTING &filters=NEW_VALUE%3C%3EREAD_ONLY_ACCESS In the
237
- # following Drive example, the list can be a view or edit event's doc_id
242
+ # following Drive example, the list can be a view or edit event's `doc_id`
238
243
  # parameter with a value that is manipulated by an 'equal to' (==) or 'not equal
239
244
  # to' (<>) relational operator. In the first example, the report returns each
240
- # edited document's doc_id. In the second example, the report returns each
241
- # viewed document's doc_id that equals the value 12345 and does not return any
242
- # viewed document's which have a doc_id value of 98765. The <> operator is URL-
245
+ # edited document's `doc_id`. In the second example, the report returns each
246
+ # viewed document's `doc_id` that equals the value 12345 and does not return any
247
+ # viewed document's which have a `doc_id` value of 98765. The <> operator is URL-
243
248
  # encoded in the request's query string (%3C%3E): GET...&eventName=edit&filters=
244
249
  # doc_id GET...&eventName=view&filters=doc_id==12345,doc_id%3C%3E98765 The
245
- # relational operators include: - == - 'equal to'. - <> - 'not equal to'. It is
246
- # URL-encoded (%3C%3E). - < - 'less than'. It is URL-encoded (%3C). - <= - 'less
247
- # than or equal to'. It is URL-encoded (%3C=). - > - 'greater than'. It is URL-
248
- # encoded (%3E). - >= - 'greater than or equal to'. It is URL-encoded (%3E=). *
249
- # Note:* The API doesn't accept multiple values of a parameter. If a particular
250
- # parameter is supplied more than once in the API request, the API only accepts
251
- # the last value of that request parameter. In addition, if an invalid request
252
- # parameter is supplied in the API request, the API ignores that request
253
- # parameter and returns the response corresponding to the remaining valid
254
- # request parameters. If no parameters are requested, all parameters are
250
+ # relational operators include: - `==` - 'equal to'. - `<>` - 'not equal to'. It
251
+ # is URL-encoded (%3C%3E). - `<` - 'less than'. It is URL-encoded (%3C). - `<=` -
252
+ # 'less than or equal to'. It is URL-encoded (%3C=). - `>` - 'greater than'. It
253
+ # is URL-encoded (%3E). - `>=` - 'greater than or equal to'. It is URL-encoded (%
254
+ # 3E=). *Note:* The API doesn't accept multiple values of a parameter. If a
255
+ # particular parameter is supplied more than once in the API request, the API
256
+ # only accepts the last value of that request parameter. In addition, if an
257
+ # invalid request parameter is supplied in the API request, the API ignores that
258
+ # request parameter and returns the response corresponding to the remaining
259
+ # valid request parameters. If no parameters are requested, all parameters are
255
260
  # returned.
261
+ # @param [String] group_id_filter
262
+ # Comma separated group ids (obfuscated) on which user activities are filtered,
263
+ # i.e, the response will contain activities for only those users that are a part
264
+ # of at least one of the group ids mentioned here. Format: "id:abc123,id:xyz456"
256
265
  # @param [Fixnum] max_results
257
266
  # Determines how many activity records are shown on each response page. For
258
- # example, if the request sets maxResults=1 and the report has two activities,
259
- # the report has two pages. The response's nextPageToken property has the token
260
- # to the second page. The maxResults query string is optional in the request.
261
- # The default value is 1000.
267
+ # example, if the request sets `maxResults=1` and the report has two activities,
268
+ # the report has two pages. The response's `nextPageToken` property has the
269
+ # token to the second page. The `maxResults` query string is optional in the
270
+ # request. The default value is 1000.
262
271
  # @param [String] org_unit_id
263
272
  # ID of the organizational unit to report on. Activity records will be shown
264
273
  # only for users who belong to the specified organizational unit. Data before
265
274
  # Dec 17, 2018 doesn't appear in the filtered results.
266
275
  # @param [String] page_token
267
- # The token to specify next page. A report with multiple pages has a
268
- # nextPageToken property in the response. In your follow-on request getting the
269
- # next page of the report, enter the nextPageToken value in the pageToken query
270
- # string.
276
+ # The token to specify next page. A report with multiple pages has a `
277
+ # nextPageToken` property in the response. In your follow-on request getting the
278
+ # next page of the report, enter the `nextPageToken` value in the `pageToken`
279
+ # query string.
271
280
  # @param [String] start_time
272
281
  # Sets the beginning of the range of time shown in the report. The date is in
273
282
  # the RFC 3339 format, for example 2010-10-28T10:26:35.000Z. The report returns
274
- # all activities from startTime until endTime. The startTime must be before the
275
- # endTime (if specified) and the current time when the request is made, or the
276
- # API returns an error.
283
+ # all activities from `startTime` until `endTime`. The `startTime` must be
284
+ # before the `endTime` (if specified) and the current time when the request is
285
+ # made, or the API returns an error.
277
286
  # @param [String] fields
278
287
  # Selector specifying which fields to include in a partial response.
279
288
  # @param [String] quota_user
@@ -291,7 +300,7 @@ module Google
291
300
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
292
301
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
293
302
  # @raise [Google::Apis::AuthorizationError] Authorization is required
294
- def watch_activity(user_key, application_name, channel_object = nil, actor_ip_address: nil, customer_id: nil, end_time: nil, event_name: nil, filters: nil, max_results: nil, org_unit_id: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil, options: nil, &block)
303
+ def watch_activity(user_key, application_name, channel_object = nil, actor_ip_address: nil, customer_id: nil, end_time: nil, event_name: nil, filters: nil, group_id_filter: nil, max_results: nil, org_unit_id: nil, page_token: nil, start_time: nil, fields: nil, quota_user: nil, options: nil, &block)
295
304
  command = make_simple_command(:post, 'admin/reports/v1/activity/users/{userKey}/applications/{applicationName}/watch', options)
296
305
  command.request_representation = Google::Apis::AdminReportsV1::Channel::Representation
297
306
  command.request_object = channel_object
@@ -304,6 +313,7 @@ module Google
304
313
  command.query['endTime'] = end_time unless end_time.nil?
305
314
  command.query['eventName'] = event_name unless event_name.nil?
306
315
  command.query['filters'] = filters unless filters.nil?
316
+ command.query['groupIdFilter'] = group_id_filter unless group_id_filter.nil?
307
317
  command.query['maxResults'] = max_results unless max_results.nil?
308
318
  command.query['orgUnitID'] = org_unit_id unless org_unit_id.nil?
309
319
  command.query['pageToken'] = page_token unless page_token.nil?
@@ -351,23 +361,25 @@ module Google
351
361
  # @param [String] customer_id
352
362
  # The unique ID of the customer to retrieve data for.
353
363
  # @param [String] page_token
354
- # Token to specify next page. A report with multiple pages has a nextPageToken
364
+ # Token to specify next page. A report with multiple pages has a `nextPageToken`
355
365
  # property in the response. For your follow-on requests getting all of the
356
- # report's pages, enter the nextPageToken value in the pageToken query string.
366
+ # report's pages, enter the `nextPageToken` value in the `pageToken` query
367
+ # string.
357
368
  # @param [String] parameters
358
- # The parameters query string is a comma-separated list of event parameters that
359
- # refine a report's results. The parameter is associated with a specific
360
- # application. The application values for the Customers usage report include
361
- # accounts, app_maker, apps_scripts, calendar, classroom, cros, docs, gmail,
362
- # gplus, device_management, meet, and sites. A parameters query string is in the
363
- # CSV form of app_name1:param_name1, app_name2:param_name2. *Note:* The API
364
- # doesn't accept multiple values of a parameter. If a particular parameter is
365
- # supplied more than once in the API request, the API only accepts the last
366
- # value of that request parameter. In addition, if an invalid request parameter
367
- # is supplied in the API request, the API ignores that request parameter and
368
- # returns the response corresponding to the remaining valid request parameters.
369
- # An example of an invalid request parameter is one that does not belong to the
370
- # application. If no parameters are requested, all parameters are returned.
369
+ # The `parameters` query string is a comma-separated list of event parameters
370
+ # that refine a report's results. The parameter is associated with a specific
371
+ # application. The application values for the Customers usage report include `
372
+ # accounts`, `app_maker`, `apps_scripts`, `calendar`, `classroom`, `cros`, `docs`
373
+ # , `gmail`, `gplus`, `device_management`, `meet`, and `sites`. A `parameters`
374
+ # query string is in the CSV form of `app_name1:param_name1, app_name2:
375
+ # param_name2`. *Note:* The API doesn't accept multiple values of a parameter.
376
+ # If a particular parameter is supplied more than once in the API request, the
377
+ # API only accepts the last value of that request parameter. In addition, if an
378
+ # invalid request parameter is supplied in the API request, the API ignores that
379
+ # request parameter and returns the response corresponding to the remaining
380
+ # valid request parameters. An example of an invalid request parameter is one
381
+ # that does not belong to the application. If no parameters are requested, all
382
+ # parameters are returned.
371
383
  # @param [String] fields
372
384
  # Selector specifying which fields to include in a partial response.
373
385
  # @param [String] quota_user
@@ -412,42 +424,43 @@ module Google
412
424
  # @param [String] customer_id
413
425
  # The unique ID of the customer to retrieve data for.
414
426
  # @param [String] filters
415
- # The filters query string is a comma-separated list of an application's event
427
+ # The `filters` query string is a comma-separated list of an application's event
416
428
  # parameters where the parameter's value is manipulated by a relational operator.
417
- # The filters query string includes the name of the application whose usage is
418
- # returned in the report. The application values for the Entities usage report
419
- # include accounts, docs, and gmail. Filters are in the form [application name]:
420
- # parameter name[parameter value],.... In this example, the <> 'not equal to'
421
- # operator is URL-encoded in the request's query string (%3C%3E): GET https://
422
- # www.googleapis.com/admin/reports/v1/usage/gplus_communities/all/dates/2017-12-
423
- # 01 ?parameters=gplus:community_name,gplus:num_total_members &filters=gplus:
424
- # num_total_members>0 The relational operators include: - == - 'equal to'. - <> -
425
- # 'not equal to'. It is URL-encoded (%3C%3E). - < - 'less than'. It is URL-
426
- # encoded (%3C). - <= - 'less than or equal to'. It is URL-encoded (%3C=). - > -
427
- # 'greater than'. It is URL-encoded (%3E). - >= - 'greater than or equal to'. It
428
- # is URL-encoded (%3E=). Filters can only be applied to numeric parameters.
429
+ # The `filters` query string includes the name of the application whose usage
430
+ # is returned in the report. The application values for the Entities usage
431
+ # report include `accounts`, `docs`, and `gmail`. Filters are in the form `[
432
+ # application name]:parameter name[parameter value],...`. In this example, the `<
433
+ # >` 'not equal to' operator is URL-encoded in the request's query string (%3C%
434
+ # 3E): GET https://www.googleapis.com/admin/reports/v1/usage/gplus_communities/
435
+ # all/dates/2017-12-01 ?parameters=gplus:community_name,gplus:num_total_members &
436
+ # filters=gplus:num_total_members%3C%3E0 The relational operators include: - `==`
437
+ # - 'equal to'. - `<>` - 'not equal to'. It is URL-encoded (%3C%3E). - `<` - '
438
+ # less than'. It is URL-encoded (%3C). - `<=` - 'less than or equal to'. It is
439
+ # URL-encoded (%3C=). - `>` - 'greater than'. It is URL-encoded (%3E). - `>=` - '
440
+ # greater than or equal to'. It is URL-encoded (%3E=). Filters can only be
441
+ # applied to numeric parameters.
429
442
  # @param [Fixnum] max_results
430
443
  # Determines how many activity records are shown on each response page. For
431
- # example, if the request sets maxResults=1 and the report has two activities,
432
- # the report has two pages. The response's nextPageToken property has the token
433
- # to the second page.
444
+ # example, if the request sets `maxResults=1` and the report has two activities,
445
+ # the report has two pages. The response's `nextPageToken` property has the
446
+ # token to the second page.
434
447
  # @param [String] page_token
435
- # Token to specify next page. A report with multiple pages has a nextPageToken
448
+ # Token to specify next page. A report with multiple pages has a `nextPageToken`
436
449
  # property in the response. In your follow-on request getting the next page of
437
- # the report, enter the nextPageToken value in the pageToken query string.
450
+ # the report, enter the `nextPageToken` value in the `pageToken` query string.
438
451
  # @param [String] parameters
439
- # The parameters query string is a comma-separated list of event parameters that
440
- # refine a report's results. The parameter is associated with a specific
441
- # application. The application values for the Entities usage report are only
442
- # gplus. A parameter query string is in the CSV form of [app_name1:param_name1],
443
- # [app_name2:param_name2].... *Note:* The API doesn't accept multiple values of
444
- # a parameter. If a particular parameter is supplied more than once in the API
445
- # request, the API only accepts the last value of that request parameter. In
446
- # addition, if an invalid request parameter is supplied in the API request, the
447
- # API ignores that request parameter and returns the response corresponding to
448
- # the remaining valid request parameters. An example of an invalid request
449
- # parameter is one that does not belong to the application. If no parameters are
450
- # requested, all parameters are returned.
452
+ # The `parameters` query string is a comma-separated list of event parameters
453
+ # that refine a report's results. The parameter is associated with a specific
454
+ # application. The application values for the Entities usage report are only `
455
+ # gplus`. A `parameter` query string is in the CSV form of `[app_name1:
456
+ # param_name1], [app_name2:param_name2]...`. *Note:* The API doesn't accept
457
+ # multiple values of a parameter. If a particular parameter is supplied more
458
+ # than once in the API request, the API only accepts the last value of that
459
+ # request parameter. In addition, if an invalid request parameter is supplied in
460
+ # the API request, the API ignores that request parameter and returns the
461
+ # response corresponding to the remaining valid request parameters. An example
462
+ # of an invalid request parameter is one that does not belong to the application.
463
+ # If no parameters are requested, all parameters are returned.
451
464
  # @param [String] fields
452
465
  # Selector specifying which fields to include in a partial response.
453
466
  # @param [String] quota_user
@@ -488,7 +501,7 @@ module Google
488
501
  # Usage parameters reference guides.
489
502
  # @param [String] user_key
490
503
  # Represents the profile ID or the user email for which the data should be
491
- # filtered. Can be all for all information, or userKey for a user's unique G
504
+ # filtered. Can be `all` for all information, or `userKey` for a user's unique G
492
505
  # Suite profile ID or their primary email address.
493
506
  # @param [String] date
494
507
  # Represents the date the usage occurred. The timestamp is in the ISO 8601
@@ -496,47 +509,52 @@ module Google
496
509
  # @param [String] customer_id
497
510
  # The unique ID of the customer to retrieve data for.
498
511
  # @param [String] filters
499
- # The filters query string is a comma-separated list of an application's event
512
+ # The `filters` query string is a comma-separated list of an application's event
500
513
  # parameters where the parameter's value is manipulated by a relational operator.
501
- # The filters query string includes the name of the application whose usage is
502
- # returned in the report. The application values for the Users Usage Report
503
- # include accounts, docs, and gmail. Filters are in the form [application name]:
504
- # parameter name[parameter value],.... In this example, the <> 'not equal to'
505
- # operator is URL-encoded in the request's query string (%3C%3E): GET https://
506
- # www.googleapis.com/admin/reports/v1/usage/users/all/dates/2013-03-03 ?
507
- # parameters=accounts:last_login_time &filters=accounts:last_login_time>2010-10-
508
- # 28T10:26:35.000Z The relational operators include: - == - 'equal to'. - <> - '
509
- # not equal to'. It is URL-encoded (%3C%3E). - < - 'less than'. It is URL-
510
- # encoded (%3C). - <= - 'less than or equal to'. It is URL-encoded (%3C=). - > -
511
- # 'greater than'. It is URL-encoded (%3E). - >= - 'greater than or equal to'. It
512
- # is URL-encoded (%3E=).
514
+ # The `filters` query string includes the name of the application whose usage
515
+ # is returned in the report. The application values for the Users Usage Report
516
+ # include `accounts`, `docs`, and `gmail`. Filters are in the form `[application
517
+ # name]:parameter name[parameter value],...`. In this example, the `<>` 'not
518
+ # equal to' operator is URL-encoded in the request's query string (%3C%3E): GET
519
+ # https://www.googleapis.com/admin/reports/v1/usage/users/all/dates/2013-03-03 ?
520
+ # parameters=accounts:last_login_time &filters=accounts:last_login_time%3C%
521
+ # 3E2010-10-28T10:26:35.000Z The relational operators include: - `==` - 'equal
522
+ # to'. - `<>` - 'not equal to'. It is URL-encoded (%3C%3E). - `<` - 'less than'.
523
+ # It is URL-encoded (%3C). - `<=` - 'less than or equal to'. It is URL-encoded (%
524
+ # 3C=). - `>` - 'greater than'. It is URL-encoded (%3E). - `>=` - 'greater than
525
+ # or equal to'. It is URL-encoded (%3E=).
526
+ # @param [String] group_id_filter
527
+ # Comma separated group ids (obfuscated) on which user activities are filtered,
528
+ # i.e, the response will contain activities for only those users that are a part
529
+ # of at least one of the group ids mentioned here. Format: "id:abc123,id:xyz456"
513
530
  # @param [Fixnum] max_results
514
531
  # Determines how many activity records are shown on each response page. For
515
- # example, if the request sets maxResults=1 and the report has two activities,
516
- # the report has two pages. The response's nextPageToken property has the token
517
- # to the second page. The maxResults query string is optional.
532
+ # example, if the request sets `maxResults=1` and the report has two activities,
533
+ # the report has two pages. The response's `nextPageToken` property has the
534
+ # token to the second page. The `maxResults` query string is optional.
518
535
  # @param [String] org_unit_id
519
536
  # ID of the organizational unit to report on. User activity will be shown only
520
537
  # for users who belong to the specified organizational unit. Data before Dec 17,
521
538
  # 2018 doesn't appear in the filtered results.
522
539
  # @param [String] page_token
523
- # Token to specify next page. A report with multiple pages has a nextPageToken
540
+ # Token to specify next page. A report with multiple pages has a `nextPageToken`
524
541
  # property in the response. In your follow-on request getting the next page of
525
- # the report, enter the nextPageToken value in the pageToken query string.
542
+ # the report, enter the `nextPageToken` value in the `pageToken` query string.
526
543
  # @param [String] parameters
527
- # The parameters query string is a comma-separated list of event parameters that
528
- # refine a report's results. The parameter is associated with a specific
529
- # application. The application values for the Customers usage report include
530
- # accounts, app_maker, apps_scripts, calendar, classroom, cros, docs, gmail,
531
- # gplus, device_management, meet, and sites. A parameters query string is in the
532
- # CSV form of app_name1:param_name1, app_name2:param_name2. *Note:* The API
533
- # doesn't accept multiple values of a parameter. If a particular parameter is
534
- # supplied more than once in the API request, the API only accepts the last
535
- # value of that request parameter. In addition, if an invalid request parameter
536
- # is supplied in the API request, the API ignores that request parameter and
537
- # returns the response corresponding to the remaining valid request parameters.
538
- # An example of an invalid request parameter is one that does not belong to the
539
- # application. If no parameters are requested, all parameters are returned.
544
+ # The `parameters` query string is a comma-separated list of event parameters
545
+ # that refine a report's results. The parameter is associated with a specific
546
+ # application. The application values for the Customers Usage report include `
547
+ # accounts`, `app_maker`, `apps_scripts`, `calendar`, `classroom`, `cros`, `docs`
548
+ # , `gmail`, `gplus`, `device_management`, `meet`, and `sites`. A `parameters`
549
+ # query string is in the CSV form of `app_name1:param_name1, app_name2:
550
+ # param_name2`. *Note:* The API doesn't accept multiple values of a parameter.
551
+ # If a particular parameter is supplied more than once in the API request, the
552
+ # API only accepts the last value of that request parameter. In addition, if an
553
+ # invalid request parameter is supplied in the API request, the API ignores that
554
+ # request parameter and returns the response corresponding to the remaining
555
+ # valid request parameters. An example of an invalid request parameter is one
556
+ # that does not belong to the application. If no parameters are requested, all
557
+ # parameters are returned.
540
558
  # @param [String] fields
541
559
  # Selector specifying which fields to include in a partial response.
542
560
  # @param [String] quota_user
@@ -554,7 +572,7 @@ module Google
554
572
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
555
573
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
556
574
  # @raise [Google::Apis::AuthorizationError] Authorization is required
557
- def get_user_usage_report(user_key, date, customer_id: nil, filters: nil, max_results: nil, org_unit_id: nil, page_token: nil, parameters: nil, fields: nil, quota_user: nil, options: nil, &block)
575
+ def get_user_usage_report(user_key, date, customer_id: nil, filters: nil, group_id_filter: nil, max_results: nil, org_unit_id: nil, page_token: nil, parameters: nil, fields: nil, quota_user: nil, options: nil, &block)
558
576
  command = make_simple_command(:get, 'admin/reports/v1/usage/users/{userKey}/dates/{date}', options)
559
577
  command.response_representation = Google::Apis::AdminReportsV1::UsageReports::Representation
560
578
  command.response_class = Google::Apis::AdminReportsV1::UsageReports
@@ -562,6 +580,7 @@ module Google
562
580
  command.params['date'] = date unless date.nil?
563
581
  command.query['customerId'] = customer_id unless customer_id.nil?
564
582
  command.query['filters'] = filters unless filters.nil?
583
+ command.query['groupIdFilter'] = group_id_filter unless group_id_filter.nil?
565
584
  command.query['maxResults'] = max_results unless max_results.nil?
566
585
  command.query['orgUnitID'] = org_unit_id unless org_unit_id.nil?
567
586
  command.query['pageToken'] = page_token unless page_token.nil?
@@ -18,7 +18,7 @@ require 'google/apis/admin_reports_v1/representations.rb'
18
18
 
19
19
  module Google
20
20
  module Apis
21
- # Admin SDK
21
+ # Admin SDK API
22
22
  #
23
23
  # Admin SDK lets administrators of enterprise domains to view and manage
24
24
  # resources like user, groups etc. It also provides audit and usage reports of
@@ -27,7 +27,7 @@ module Google
27
27
  # @see http://developers.google.com/admin-sdk/
28
28
  module AdminReportsV1
29
29
  VERSION = 'ReportsV1'
30
- REVISION = '20201013'
30
+ REVISION = '20201208'
31
31
 
32
32
  # View audit reports for your G Suite domain
33
33
  AUTH_ADMIN_REPORTS_AUDIT_READONLY = 'https://www.googleapis.com/auth/admin.reports.audit.readonly'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/admin-sdk/alertcenter/
26
26
  module AlertcenterV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20200821'
28
+ REVISION = '20201202'
29
29
 
30
30
  # See and delete your domain's G Suite alerts, and send alert feedback
31
31
  AUTH_APPS_ALERTS = 'https://www.googleapis.com/auth/apps.alerts'
@@ -47,7 +47,7 @@ module Google
47
47
  attr_accessor :user_ip
48
48
 
49
49
  def initialize
50
- super('https://www.googleapis.com/', 'analytics/v3/')
50
+ super('https://analytics.googleapis.com/', 'analytics/v3/')
51
51
  @batch_path = 'batch/analytics/v3'
52
52
  end
53
53