google-api-client 0.44.0 → 0.46.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (536) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +305 -0
  3. data/api_names.yaml +1 -0
  4. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  7. data/generated/google/apis/accessapproval_v1.rb +1 -1
  8. data/generated/google/apis/accessapproval_v1/classes.rb +25 -14
  9. data/generated/google/apis/accessapproval_v1/service.rb +27 -27
  10. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  11. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  12. data/generated/google/apis/admin_directory_v1.rb +1 -1
  13. data/generated/google/apis/admin_directory_v1/classes.rb +1 -15
  14. data/generated/google/apis/admin_directory_v1/representations.rb +1 -14
  15. data/generated/google/apis/admin_directory_v1/service.rb +89 -1
  16. data/generated/google/apis/admob_v1.rb +4 -1
  17. data/generated/google/apis/admob_v1/classes.rb +2 -2
  18. data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
  19. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
  20. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
  21. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2135 -0
  22. data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
  23. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1610 -0
  24. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +789 -0
  25. data/generated/google/apis/analyticsdata_v1alpha/service.rb +220 -0
  26. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  28. data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
  29. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  30. data/generated/google/apis/androidmanagement_v1/classes.rb +4 -3
  31. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  32. data/generated/google/apis/androidpublisher_v3/classes.rb +7 -0
  33. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  34. data/generated/google/apis/apigateway_v1beta.rb +34 -0
  35. data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
  36. data/generated/google/apis/apigateway_v1beta/representations.rb +470 -0
  37. data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
  38. data/generated/google/apis/apigee_v1.rb +1 -1
  39. data/generated/google/apis/apigee_v1/classes.rb +247 -27
  40. data/generated/google/apis/apigee_v1/representations.rb +90 -3
  41. data/generated/google/apis/apigee_v1/service.rb +63 -43
  42. data/generated/google/apis/appengine_v1.rb +1 -1
  43. data/generated/google/apis/appengine_v1/classes.rb +51 -24
  44. data/generated/google/apis/appengine_v1/representations.rb +15 -0
  45. data/generated/google/apis/appengine_v1beta.rb +1 -1
  46. data/generated/google/apis/appengine_v1beta/classes.rb +58 -24
  47. data/generated/google/apis/appengine_v1beta/representations.rb +16 -0
  48. data/generated/google/apis/appsmarket_v2.rb +1 -1
  49. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  50. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
  51. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
  52. data/generated/google/apis/assuredworkloads_v1beta1.rb +34 -0
  53. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +722 -0
  54. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +359 -0
  55. data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
  56. data/generated/google/apis/bigquery_v2.rb +1 -1
  57. data/generated/google/apis/bigquery_v2/classes.rb +86 -18
  58. data/generated/google/apis/bigquery_v2/representations.rb +18 -0
  59. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  60. data/generated/google/apis/bigtableadmin_v1/classes.rb +87 -119
  61. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  62. data/generated/google/apis/bigtableadmin_v2/classes.rb +405 -607
  63. data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
  64. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  65. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +15 -5
  66. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  67. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  68. data/generated/google/apis/binaryauthorization_v1/classes.rb +194 -0
  69. data/generated/google/apis/binaryauthorization_v1/representations.rb +75 -0
  70. data/generated/google/apis/binaryauthorization_v1/service.rb +35 -0
  71. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  72. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +194 -0
  73. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +75 -0
  74. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +35 -0
  75. data/generated/google/apis/books_v1.rb +1 -1
  76. data/generated/google/apis/books_v1/service.rb +2 -2
  77. data/generated/google/apis/calendar_v3.rb +1 -1
  78. data/generated/google/apis/calendar_v3/classes.rb +13 -10
  79. data/generated/google/apis/chat_v1.rb +1 -1
  80. data/generated/google/apis/chat_v1/classes.rb +79 -5
  81. data/generated/google/apis/chat_v1/representations.rb +35 -0
  82. data/generated/google/apis/civicinfo_v2.rb +1 -1
  83. data/generated/google/apis/civicinfo_v2/classes.rb +18 -8
  84. data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
  85. data/generated/google/apis/classroom_v1.rb +7 -1
  86. data/generated/google/apis/classroom_v1/classes.rb +132 -0
  87. data/generated/google/apis/classroom_v1/representations.rb +43 -0
  88. data/generated/google/apis/classroom_v1/service.rb +240 -0
  89. data/generated/google/apis/cloudasset_v1.rb +1 -1
  90. data/generated/google/apis/cloudasset_v1/classes.rb +52 -0
  91. data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
  92. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  93. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  94. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +4 -2
  95. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  96. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  97. data/generated/google/apis/cloudbilling_v1/classes.rb +4 -4
  98. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  99. data/generated/google/apis/cloudbuild_v1/classes.rb +47 -1
  100. data/generated/google/apis/cloudbuild_v1/representations.rb +7 -0
  101. data/generated/google/apis/cloudbuild_v1/service.rb +220 -3
  102. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  103. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +8 -0
  104. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  105. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  106. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +8 -0
  107. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  108. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  109. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  110. data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -1
  111. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  112. data/generated/google/apis/cloudidentity_v1.rb +4 -1
  113. data/generated/google/apis/cloudidentity_v1/classes.rb +397 -65
  114. data/generated/google/apis/cloudidentity_v1/representations.rb +168 -0
  115. data/generated/google/apis/cloudidentity_v1/service.rb +883 -70
  116. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  117. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +208 -7
  118. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +94 -0
  119. data/generated/google/apis/cloudidentity_v1beta1/service.rb +179 -0
  120. data/generated/google/apis/cloudiot_v1.rb +1 -1
  121. data/generated/google/apis/cloudiot_v1/classes.rb +7 -0
  122. data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
  123. data/generated/google/apis/cloudkms_v1.rb +1 -1
  124. data/generated/google/apis/cloudkms_v1/classes.rb +7 -0
  125. data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
  126. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  127. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
  128. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
  129. data/generated/google/apis/cloudresourcemanager_v1/service.rb +61 -59
  130. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  131. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
  132. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
  133. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +25 -24
  134. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  135. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
  136. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
  137. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  138. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
  139. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
  140. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  141. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  142. data/generated/google/apis/cloudtasks_v2/classes.rb +7 -0
  143. data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
  144. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  145. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +25 -19
  146. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
  147. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  148. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +25 -18
  149. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  150. data/generated/google/apis/composer_v1beta1.rb +1 -1
  151. data/generated/google/apis/composer_v1beta1/classes.rb +2 -1
  152. data/generated/google/apis/compute_alpha.rb +1 -1
  153. data/generated/google/apis/compute_alpha/classes.rb +513 -131
  154. data/generated/google/apis/compute_alpha/representations.rb +124 -8
  155. data/generated/google/apis/compute_alpha/service.rb +1685 -762
  156. data/generated/google/apis/compute_beta.rb +1 -1
  157. data/generated/google/apis/compute_beta/classes.rb +491 -83
  158. data/generated/google/apis/compute_beta/representations.rb +96 -1
  159. data/generated/google/apis/compute_beta/service.rb +802 -133
  160. data/generated/google/apis/compute_v1.rb +1 -1
  161. data/generated/google/apis/compute_v1/classes.rb +308 -45
  162. data/generated/google/apis/compute_v1/representations.rb +54 -1
  163. data/generated/google/apis/compute_v1/service.rb +736 -130
  164. data/generated/google/apis/container_v1.rb +1 -1
  165. data/generated/google/apis/container_v1/classes.rb +57 -2
  166. data/generated/google/apis/container_v1/representations.rb +7 -0
  167. data/generated/google/apis/container_v1beta1.rb +1 -1
  168. data/generated/google/apis/container_v1beta1/classes.rb +80 -8
  169. data/generated/google/apis/container_v1beta1/representations.rb +21 -0
  170. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  171. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +7 -0
  172. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  173. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  174. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +7 -0
  175. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
  176. data/generated/google/apis/content_v2.rb +1 -1
  177. data/generated/google/apis/content_v2/classes.rb +4 -2
  178. data/generated/google/apis/content_v2_1.rb +1 -1
  179. data/generated/google/apis/content_v2_1/classes.rb +16 -4
  180. data/generated/google/apis/content_v2_1/representations.rb +1 -0
  181. data/generated/google/apis/content_v2_1/service.rb +1 -1
  182. data/generated/google/apis/customsearch_v1.rb +1 -1
  183. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  184. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  185. data/generated/google/apis/datacatalog_v1beta1/classes.rb +8 -1
  186. data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
  187. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  188. data/generated/google/apis/dataflow_v1b3/classes.rb +152 -5
  189. data/generated/google/apis/dataflow_v1b3/representations.rb +30 -0
  190. data/generated/google/apis/dataflow_v1b3/service.rb +10 -1
  191. data/generated/google/apis/datafusion_v1.rb +1 -1
  192. data/generated/google/apis/datafusion_v1/classes.rb +15 -0
  193. data/generated/google/apis/datafusion_v1/representations.rb +2 -0
  194. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  195. data/generated/google/apis/datafusion_v1beta1/classes.rb +15 -0
  196. data/generated/google/apis/datafusion_v1beta1/representations.rb +2 -0
  197. data/generated/google/apis/dataproc_v1.rb +1 -1
  198. data/generated/google/apis/dataproc_v1/classes.rb +47 -8
  199. data/generated/google/apis/dataproc_v1/representations.rb +17 -0
  200. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  201. data/generated/google/apis/dataproc_v1beta2/classes.rb +51 -11
  202. data/generated/google/apis/dataproc_v1beta2/representations.rb +17 -0
  203. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  204. data/generated/google/apis/dfareporting_v3_3/classes.rb +0 -164
  205. data/generated/google/apis/dfareporting_v3_3/representations.rb +0 -42
  206. data/generated/google/apis/dfareporting_v3_3/service.rb +51 -54
  207. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  208. data/generated/google/apis/dfareporting_v3_4/classes.rb +0 -164
  209. data/generated/google/apis/dfareporting_v3_4/representations.rb +0 -42
  210. data/generated/google/apis/dfareporting_v3_4/service.rb +51 -54
  211. data/generated/google/apis/dialogflow_v2.rb +1 -1
  212. data/generated/google/apis/dialogflow_v2/classes.rb +202 -26
  213. data/generated/google/apis/dialogflow_v2/representations.rb +97 -0
  214. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  215. data/generated/google/apis/dialogflow_v2beta1/classes.rb +220 -42
  216. data/generated/google/apis/dialogflow_v2beta1/representations.rb +97 -0
  217. data/generated/google/apis/dialogflow_v2beta1/service.rb +464 -326
  218. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  219. data/generated/google/apis/dialogflow_v3beta1/classes.rb +289 -33
  220. data/generated/google/apis/dialogflow_v3beta1/representations.rb +131 -1
  221. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  222. data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
  223. data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
  224. data/generated/google/apis/displayvideo_v1.rb +1 -1
  225. data/generated/google/apis/displayvideo_v1/classes.rb +8 -0
  226. data/generated/google/apis/displayvideo_v1/representations.rb +1 -0
  227. data/generated/google/apis/displayvideo_v1/service.rb +2 -2
  228. data/generated/google/apis/displayvideo_v1beta.rb +38 -0
  229. data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
  230. data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
  231. data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
  232. data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
  233. data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
  234. data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
  235. data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
  236. data/generated/google/apis/displayvideo_v1dev.rb +38 -0
  237. data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
  238. data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
  239. data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
  240. data/generated/google/apis/dlp_v2.rb +1 -1
  241. data/generated/google/apis/dlp_v2/classes.rb +31 -5
  242. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  243. data/generated/google/apis/dlp_v2/service.rb +328 -328
  244. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  245. data/generated/google/apis/documentai_v1beta2/classes.rb +1059 -6
  246. data/generated/google/apis/documentai_v1beta2/representations.rb +398 -0
  247. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  248. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -2
  249. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  250. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +1 -2
  251. data/generated/google/apis/file_v1.rb +1 -1
  252. data/generated/google/apis/file_v1/classes.rb +1 -1
  253. data/generated/google/apis/file_v1beta1.rb +1 -1
  254. data/generated/google/apis/file_v1beta1/classes.rb +1 -1
  255. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  256. data/generated/google/apis/firebase_v1beta1/classes.rb +8 -4
  257. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  258. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  259. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +160 -0
  260. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +68 -0
  261. data/generated/google/apis/firebasehosting_v1beta1/service.rb +418 -4
  262. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  263. data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -0
  264. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
  265. data/generated/google/apis/firestore_v1.rb +1 -1
  266. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  267. data/generated/google/apis/fitness_v1.rb +3 -3
  268. data/generated/google/apis/fitness_v1/classes.rb +5 -5
  269. data/generated/google/apis/games_v1.rb +1 -1
  270. data/generated/google/apis/gameservices_v1.rb +1 -1
  271. data/generated/google/apis/gameservices_v1/classes.rb +7 -0
  272. data/generated/google/apis/gameservices_v1/representations.rb +1 -0
  273. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  274. data/generated/google/apis/gameservices_v1beta/classes.rb +7 -0
  275. data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
  276. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  277. data/generated/google/apis/genomics_v2alpha1/classes.rb +104 -0
  278. data/generated/google/apis/genomics_v2alpha1/representations.rb +47 -0
  279. data/generated/google/apis/gmail_v1.rb +1 -1
  280. data/generated/google/apis/gmail_v1/service.rb +1 -1
  281. data/generated/google/apis/healthcare_v1.rb +1 -1
  282. data/generated/google/apis/healthcare_v1/classes.rb +75 -1
  283. data/generated/google/apis/healthcare_v1/representations.rb +32 -0
  284. data/generated/google/apis/healthcare_v1/service.rb +183 -19
  285. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  286. data/generated/google/apis/healthcare_v1beta1/classes.rb +1007 -2
  287. data/generated/google/apis/healthcare_v1beta1/representations.rb +454 -0
  288. data/generated/google/apis/healthcare_v1beta1/service.rb +1458 -19
  289. data/generated/google/apis/homegraph_v1.rb +4 -1
  290. data/generated/google/apis/iam_v1.rb +1 -1
  291. data/generated/google/apis/iam_v1/classes.rb +7 -0
  292. data/generated/google/apis/iam_v1/representations.rb +1 -0
  293. data/generated/google/apis/iam_v1/service.rb +2 -1
  294. data/generated/google/apis/iap_v1.rb +1 -1
  295. data/generated/google/apis/iap_v1/classes.rb +7 -0
  296. data/generated/google/apis/iap_v1/representations.rb +1 -0
  297. data/generated/google/apis/iap_v1beta1.rb +1 -1
  298. data/generated/google/apis/iap_v1beta1/classes.rb +7 -0
  299. data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
  300. data/generated/google/apis/jobs_v2.rb +1 -1
  301. data/generated/google/apis/jobs_v2/classes.rb +1584 -1086
  302. data/generated/google/apis/jobs_v2/representations.rb +272 -0
  303. data/generated/google/apis/jobs_v2/service.rb +85 -126
  304. data/generated/google/apis/jobs_v3.rb +1 -1
  305. data/generated/google/apis/jobs_v3/classes.rb +1559 -980
  306. data/generated/google/apis/jobs_v3/representations.rb +272 -0
  307. data/generated/google/apis/jobs_v3/service.rb +101 -139
  308. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  309. data/generated/google/apis/jobs_v3p1beta1/classes.rb +1521 -1023
  310. data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
  311. data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
  312. data/generated/google/apis/licensing_v1.rb +4 -3
  313. data/generated/google/apis/licensing_v1/classes.rb +1 -1
  314. data/generated/google/apis/licensing_v1/service.rb +55 -85
  315. data/generated/google/apis/logging_v2.rb +1 -1
  316. data/generated/google/apis/logging_v2/classes.rb +98 -55
  317. data/generated/google/apis/logging_v2/representations.rb +32 -0
  318. data/generated/google/apis/logging_v2/service.rb +1214 -264
  319. data/generated/google/apis/managedidentities_v1.rb +1 -1
  320. data/generated/google/apis/managedidentities_v1/classes.rb +7 -0
  321. data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
  322. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  323. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +15 -0
  324. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +2 -0
  325. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  326. data/generated/google/apis/managedidentities_v1beta1/classes.rb +15 -0
  327. data/generated/google/apis/managedidentities_v1beta1/representations.rb +2 -0
  328. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  329. data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
  330. data/generated/google/apis/ml_v1.rb +1 -1
  331. data/generated/google/apis/ml_v1/classes.rb +7 -0
  332. data/generated/google/apis/ml_v1/representations.rb +1 -0
  333. data/generated/google/apis/ml_v1/service.rb +1 -1
  334. data/generated/google/apis/monitoring_v1.rb +1 -1
  335. data/generated/google/apis/monitoring_v1/classes.rb +15 -11
  336. data/generated/google/apis/monitoring_v3.rb +1 -1
  337. data/generated/google/apis/monitoring_v3/classes.rb +43 -37
  338. data/generated/google/apis/monitoring_v3/service.rb +5 -5
  339. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  340. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +68 -0
  341. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +23 -0
  342. data/generated/google/apis/osconfig_v1.rb +3 -3
  343. data/generated/google/apis/osconfig_v1/classes.rb +0 -704
  344. data/generated/google/apis/osconfig_v1/representations.rb +0 -337
  345. data/generated/google/apis/osconfig_v1/service.rb +4 -4
  346. data/generated/google/apis/osconfig_v1beta.rb +3 -3
  347. data/generated/google/apis/osconfig_v1beta/classes.rb +0 -704
  348. data/generated/google/apis/osconfig_v1beta/representations.rb +0 -337
  349. data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
  350. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  351. data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -2
  352. data/generated/google/apis/oslogin_v1alpha/service.rb +13 -13
  353. data/generated/google/apis/people_v1.rb +1 -1
  354. data/generated/google/apis/people_v1/service.rb +8 -6
  355. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  356. data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
  357. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  358. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +20 -0
  359. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +13 -0
  360. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +479 -0
  361. data/generated/google/apis/pubsub_v1.rb +1 -1
  362. data/generated/google/apis/pubsub_v1/classes.rb +7 -0
  363. data/generated/google/apis/pubsub_v1/representations.rb +1 -0
  364. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  365. data/generated/google/apis/pubsub_v1beta2/classes.rb +7 -0
  366. data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
  367. data/generated/google/apis/pubsublite_v1.rb +1 -1
  368. data/generated/google/apis/pubsublite_v1/classes.rb +72 -0
  369. data/generated/google/apis/pubsublite_v1/representations.rb +33 -0
  370. data/generated/google/apis/pubsublite_v1/service.rb +33 -0
  371. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  372. data/generated/google/apis/realtimebidding_v1/classes.rb +4 -4
  373. data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
  374. data/generated/google/apis/recommender_v1.rb +1 -1
  375. data/generated/google/apis/recommender_v1/service.rb +4 -2
  376. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  377. data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
  378. data/generated/google/apis/redis_v1.rb +1 -1
  379. data/generated/google/apis/redis_v1/classes.rb +5 -391
  380. data/generated/google/apis/redis_v1/representations.rb +0 -139
  381. data/generated/google/apis/redis_v1/service.rb +2 -2
  382. data/generated/google/apis/redis_v1beta1.rb +1 -1
  383. data/generated/google/apis/redis_v1beta1/classes.rb +33 -391
  384. data/generated/google/apis/redis_v1beta1/representations.rb +12 -137
  385. data/generated/google/apis/redis_v1beta1/service.rb +36 -2
  386. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  387. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  388. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  389. data/generated/google/apis/reseller_v1.rb +2 -2
  390. data/generated/google/apis/reseller_v1/classes.rb +151 -219
  391. data/generated/google/apis/reseller_v1/service.rb +122 -173
  392. data/generated/google/apis/run_v1.rb +1 -1
  393. data/generated/google/apis/run_v1/classes.rb +8 -132
  394. data/generated/google/apis/run_v1/representations.rb +0 -61
  395. data/generated/google/apis/run_v1/service.rb +0 -342
  396. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  397. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +7 -0
  398. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
  399. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  400. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  401. data/generated/google/apis/sasportal_v1alpha1/classes.rb +20 -0
  402. data/generated/google/apis/sasportal_v1alpha1/representations.rb +13 -0
  403. data/generated/google/apis/sasportal_v1alpha1/service.rb +479 -0
  404. data/generated/google/apis/searchconsole_v1.rb +7 -1
  405. data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
  406. data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
  407. data/generated/google/apis/searchconsole_v1/service.rb +287 -0
  408. data/generated/google/apis/secretmanager_v1.rb +1 -1
  409. data/generated/google/apis/secretmanager_v1/classes.rb +168 -2
  410. data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
  411. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  412. data/generated/google/apis/secretmanager_v1beta1/classes.rb +7 -0
  413. data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
  414. data/generated/google/apis/securitycenter_v1.rb +1 -1
  415. data/generated/google/apis/securitycenter_v1/classes.rb +5 -199
  416. data/generated/google/apis/securitycenter_v1/representations.rb +0 -72
  417. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  418. data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -196
  419. data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -72
  420. data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
  421. data/generated/google/apis/securitycenter_v1beta2/classes.rb +2 -196
  422. data/generated/google/apis/securitycenter_v1beta2/representations.rb +0 -72
  423. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  424. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +12 -12
  425. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +32 -30
  426. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  427. data/generated/google/apis/servicecontrol_v1/classes.rb +6 -4
  428. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  429. data/generated/google/apis/servicecontrol_v2/classes.rb +5 -3
  430. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  431. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +7 -0
  432. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
  433. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  434. data/generated/google/apis/servicemanagement_v1/classes.rb +0 -22
  435. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -13
  436. data/generated/google/apis/servicemanagement_v1/service.rb +0 -36
  437. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  438. data/generated/google/apis/servicenetworking_v1/classes.rb +0 -9
  439. data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
  440. data/generated/google/apis/sheets_v4.rb +1 -1
  441. data/generated/google/apis/sheets_v4/classes.rb +175 -85
  442. data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
  443. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +313 -0
  444. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +174 -0
  445. data/generated/google/apis/smartdevicemanagement_v1/service.rb +312 -0
  446. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  447. data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
  448. data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
  449. data/generated/google/apis/spanner_v1.rb +1 -1
  450. data/generated/google/apis/spanner_v1/classes.rb +7 -0
  451. data/generated/google/apis/spanner_v1/representations.rb +1 -0
  452. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  453. data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
  454. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +180 -104
  455. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +120 -87
  456. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +244 -244
  457. data/generated/google/apis/storage_v1.rb +1 -1
  458. data/generated/google/apis/storage_v1/classes.rb +2 -10
  459. data/generated/google/apis/storage_v1/representations.rb +0 -1
  460. data/generated/google/apis/storage_v1/service.rb +3 -2
  461. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  462. data/generated/google/apis/storagetransfer_v1/service.rb +1 -1
  463. data/generated/google/apis/{appsactivity_v1.rb → sts_v1.rb} +9 -11
  464. data/generated/google/apis/sts_v1/classes.rb +120 -0
  465. data/generated/google/apis/sts_v1/representations.rb +59 -0
  466. data/generated/google/apis/sts_v1/service.rb +90 -0
  467. data/generated/google/apis/sts_v1beta.rb +32 -0
  468. data/generated/google/apis/sts_v1beta/classes.rb +194 -0
  469. data/generated/google/apis/sts_v1beta/representations.rb +61 -0
  470. data/generated/google/apis/sts_v1beta/service.rb +92 -0
  471. data/generated/google/apis/tagmanager_v2.rb +1 -1
  472. data/generated/google/apis/tasks_v1.rb +1 -1
  473. data/generated/google/apis/tasks_v1/classes.rb +1 -1
  474. data/generated/google/apis/tasks_v1/service.rb +4 -3
  475. data/generated/google/apis/testing_v1.rb +1 -1
  476. data/generated/google/apis/testing_v1/classes.rb +2 -2
  477. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  478. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  479. data/generated/google/apis/tpu_v1.rb +1 -1
  480. data/generated/google/apis/tpu_v1/classes.rb +43 -0
  481. data/generated/google/apis/tpu_v1/representations.rb +18 -0
  482. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  483. data/generated/google/apis/tpu_v1alpha1/classes.rb +43 -0
  484. data/generated/google/apis/tpu_v1alpha1/representations.rb +18 -0
  485. data/generated/google/apis/translate_v3.rb +1 -1
  486. data/generated/google/apis/translate_v3/classes.rb +2 -2
  487. data/generated/google/apis/vault_v1.rb +1 -1
  488. data/generated/google/apis/vault_v1/classes.rb +80 -103
  489. data/generated/google/apis/vault_v1/service.rb +31 -37
  490. data/generated/google/apis/verifiedaccess_v1.rb +1 -1
  491. data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
  492. data/generated/google/apis/videointelligence_v1.rb +1 -1
  493. data/generated/google/apis/videointelligence_v1/classes.rb +308 -13
  494. data/generated/google/apis/videointelligence_v1/representations.rb +162 -3
  495. data/generated/google/apis/videointelligence_v1/service.rb +31 -0
  496. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  497. data/generated/google/apis/videointelligence_v1beta2/classes.rb +308 -13
  498. data/generated/google/apis/videointelligence_v1beta2/representations.rb +162 -3
  499. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  500. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +308 -13
  501. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +162 -3
  502. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  503. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +308 -13
  504. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +162 -3
  505. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  506. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +224 -13
  507. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +128 -3
  508. data/generated/google/apis/vision_v1.rb +1 -1
  509. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  510. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  511. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  512. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  513. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  514. data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
  515. data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
  516. data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
  517. data/generated/google/apis/workflowexecutions_v1beta/service.rb +211 -0
  518. data/generated/google/apis/workflows_v1beta.rb +34 -0
  519. data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
  520. data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
  521. data/generated/google/apis/workflows_v1beta/service.rb +437 -0
  522. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  523. data/generated/google/apis/youtube_v3.rb +1 -1
  524. data/generated/google/apis/youtube_v3/classes.rb +12 -945
  525. data/generated/google/apis/youtube_v3/representations.rb +0 -445
  526. data/generated/google/apis/youtube_v3/service.rb +2 -197
  527. data/google-api-client.gemspec +2 -1
  528. data/lib/google/apis/version.rb +1 -1
  529. metadata +70 -16
  530. data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
  531. data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
  532. data/generated/google/apis/appsactivity_v1/service.rb +0 -126
  533. data/generated/google/apis/plus_v1.rb +0 -43
  534. data/generated/google/apis/plus_v1/classes.rb +0 -2094
  535. data/generated/google/apis/plus_v1/representations.rb +0 -907
  536. data/generated/google/apis/plus_v1/service.rb +0 -451
@@ -45,7 +45,7 @@ module Google
45
45
 
46
46
  def initialize
47
47
  super('https://www.googleapis.com/', '')
48
- @batch_path = 'batch/youtube'
48
+ @batch_path = 'batch/youtube/v3'
49
49
  end
50
50
 
51
51
  # Inserts a new resource into this collection.
@@ -1178,123 +1178,6 @@ module Google
1178
1178
  execute_or_queue_command(command, &block)
1179
1179
  end
1180
1180
 
1181
- # Retrieves endscreen for a given video.
1182
- # @param [String] video_id
1183
- # Encrypted id of the video.
1184
- # @param [Array<String>, String] part
1185
- # The properties to return.
1186
- # @param [String] on_behalf_of_content_owner
1187
- # Content owner of the video.
1188
- # @param [String] fields
1189
- # Selector specifying which fields to include in a partial response.
1190
- # @param [String] quota_user
1191
- # Available to use for quota purposes for server-side applications. Can be any
1192
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1193
- # @param [Google::Apis::RequestOptions] options
1194
- # Request-specific options
1195
- #
1196
- # @yield [result, err] Result & error if block supplied
1197
- # @yieldparam result [Google::Apis::YoutubeV3::EndscreenGetResponse] parsed result object
1198
- # @yieldparam err [StandardError] error object if request failed
1199
- #
1200
- # @return [Google::Apis::YoutubeV3::EndscreenGetResponse]
1201
- #
1202
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1203
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1204
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1205
- def get_endscreen(video_id, part, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, options: nil, &block)
1206
- command = make_simple_command(:get, 'youtube/v3/endscreen', options)
1207
- command.response_representation = Google::Apis::YoutubeV3::EndscreenGetResponse::Representation
1208
- command.response_class = Google::Apis::YoutubeV3::EndscreenGetResponse
1209
- command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
1210
- command.query['part'] = part unless part.nil?
1211
- command.query['videoId'] = video_id unless video_id.nil?
1212
- command.query['fields'] = fields unless fields.nil?
1213
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1214
- execute_or_queue_command(command, &block)
1215
- end
1216
-
1217
- # Updates endscreen for a given video. Note: * If the element id is not provided,
1218
- # a new element will be created. * If the element id is provided, that element
1219
- # will be updated. * Existing elements will be discarded if they're not included
1220
- # in the request.
1221
- # @param [String] video_id
1222
- # Encrypted id of the video this endscreen corresponds to.
1223
- # @param [Array<String>, String] part
1224
- # The properties to return.
1225
- # @param [Google::Apis::YoutubeV3::Endscreen] endscreen_object
1226
- # @param [String] on_behalf_of_content_owner
1227
- # Content owner of the video.
1228
- # @param [String] fields
1229
- # Selector specifying which fields to include in a partial response.
1230
- # @param [String] quota_user
1231
- # Available to use for quota purposes for server-side applications. Can be any
1232
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1233
- # @param [Google::Apis::RequestOptions] options
1234
- # Request-specific options
1235
- #
1236
- # @yield [result, err] Result & error if block supplied
1237
- # @yieldparam result [Google::Apis::YoutubeV3::Endscreen] parsed result object
1238
- # @yieldparam err [StandardError] error object if request failed
1239
- #
1240
- # @return [Google::Apis::YoutubeV3::Endscreen]
1241
- #
1242
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1243
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1244
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1245
- def update_endscreen(video_id, part, endscreen_object = nil, on_behalf_of_content_owner: nil, fields: nil, quota_user: nil, options: nil, &block)
1246
- command = make_simple_command(:post, 'youtube/v3/endscreen', options)
1247
- command.request_representation = Google::Apis::YoutubeV3::Endscreen::Representation
1248
- command.request_object = endscreen_object
1249
- command.response_representation = Google::Apis::YoutubeV3::Endscreen::Representation
1250
- command.response_class = Google::Apis::YoutubeV3::Endscreen
1251
- command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
1252
- command.query['part'] = part unless part.nil?
1253
- command.query['videoId'] = video_id unless video_id.nil?
1254
- command.query['fields'] = fields unless fields.nil?
1255
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1256
- execute_or_queue_command(command, &block)
1257
- end
1258
-
1259
- # Retrieves a list of guide categories.
1260
- # @param [Array<String>, String] part
1261
- # The *part* parameter specifies the guideCategory resource properties that the
1262
- # API response will include. Set the parameter value to snippet.
1263
- # @param [String] hl
1264
- # @param [Array<String>, String] id
1265
- # Return the guide categories with the given IDs.
1266
- # @param [String] region_code
1267
- # Return all categories in the given region code.
1268
- # @param [String] fields
1269
- # Selector specifying which fields to include in a partial response.
1270
- # @param [String] quota_user
1271
- # Available to use for quota purposes for server-side applications. Can be any
1272
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1273
- # @param [Google::Apis::RequestOptions] options
1274
- # Request-specific options
1275
- #
1276
- # @yield [result, err] Result & error if block supplied
1277
- # @yieldparam result [Google::Apis::YoutubeV3::ListGuideCategoriesResponse] parsed result object
1278
- # @yieldparam err [StandardError] error object if request failed
1279
- #
1280
- # @return [Google::Apis::YoutubeV3::ListGuideCategoriesResponse]
1281
- #
1282
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1283
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1284
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1285
- def list_guide_categories(part, hl: nil, id: nil, region_code: nil, fields: nil, quota_user: nil, options: nil, &block)
1286
- command = make_simple_command(:get, 'youtube/v3/guideCategories', options)
1287
- command.response_representation = Google::Apis::YoutubeV3::ListGuideCategoriesResponse::Representation
1288
- command.response_class = Google::Apis::YoutubeV3::ListGuideCategoriesResponse
1289
- command.query['hl'] = hl unless hl.nil?
1290
- command.query['id'] = id unless id.nil?
1291
- command.query['part'] = part unless part.nil?
1292
- command.query['regionCode'] = region_code unless region_code.nil?
1293
- command.query['fields'] = fields unless fields.nil?
1294
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1295
- execute_or_queue_command(command, &block)
1296
- end
1297
-
1298
1181
  # Retrieves a list of resources, possibly filtered.
1299
1182
  # @param [Array<String>, String] part
1300
1183
  # The *part* parameter specifies the i18nLanguage resource properties that the
@@ -1628,7 +1511,7 @@ module Google
1628
1511
  # The *part* parameter specifies a comma-separated list of one or more
1629
1512
  # liveBroadcast resource properties that the API response will include. The part
1630
1513
  # names that you can include in the parameter value are id, snippet,
1631
- # contentDetails, and status.
1514
+ # contentDetails, status and statistics.
1632
1515
  # @param [String] broadcast_status
1633
1516
  # Return broadcasts with a certain status, e.g. active broadcasts.
1634
1517
  # @param [String] broadcast_type
@@ -4041,84 +3924,6 @@ module Google
4041
3924
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4042
3925
  execute_or_queue_command(command, &block)
4043
3926
  end
4044
-
4045
- # Updates infocards for a given video. Note: * If the card id is not provided, a
4046
- # new card will be created. * If the card id is provided, that card will be
4047
- # updated. * Existing cards will be discarded if they're not included in the
4048
- # request.
4049
- # @param [Array<String>, String] part
4050
- # The properties to update.
4051
- # @param [Google::Apis::YoutubeV3::InfoCards] info_cards_object
4052
- # @param [String] on_behalf_of_content_owner
4053
- # Content owner of the video.
4054
- # @param [String] video_id
4055
- # Encrypted id of the video.
4056
- # @param [String] fields
4057
- # Selector specifying which fields to include in a partial response.
4058
- # @param [String] quota_user
4059
- # Available to use for quota purposes for server-side applications. Can be any
4060
- # arbitrary string assigned to a user, but should not exceed 40 characters.
4061
- # @param [Google::Apis::RequestOptions] options
4062
- # Request-specific options
4063
- #
4064
- # @yield [result, err] Result & error if block supplied
4065
- # @yieldparam result [Google::Apis::YoutubeV3::InfoCards] parsed result object
4066
- # @yieldparam err [StandardError] error object if request failed
4067
- #
4068
- # @return [Google::Apis::YoutubeV3::InfoCards]
4069
- #
4070
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4071
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4072
- # @raise [Google::Apis::AuthorizationError] Authorization is required
4073
- def infocards_youtube_v3(part, info_cards_object = nil, on_behalf_of_content_owner: nil, video_id: nil, fields: nil, quota_user: nil, options: nil, &block)
4074
- command = make_simple_command(:post, 'youtube/v3/infocards', options)
4075
- command.request_representation = Google::Apis::YoutubeV3::InfoCards::Representation
4076
- command.request_object = info_cards_object
4077
- command.response_representation = Google::Apis::YoutubeV3::InfoCards::Representation
4078
- command.response_class = Google::Apis::YoutubeV3::InfoCards
4079
- command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
4080
- command.query['part'] = part unless part.nil?
4081
- command.query['videoId'] = video_id unless video_id.nil?
4082
- command.query['fields'] = fields unless fields.nil?
4083
- command.query['quotaUser'] = quota_user unless quota_user.nil?
4084
- execute_or_queue_command(command, &block)
4085
- end
4086
-
4087
- # Retrieves all infocards for a given video.
4088
- # @param [Array<String>, String] part
4089
- # The properties to return.
4090
- # @param [String] on_behalf_of_content_owner
4091
- # Content owner of the video.
4092
- # @param [String] video_id
4093
- # Encrypted id of the video.
4094
- # @param [String] fields
4095
- # Selector specifying which fields to include in a partial response.
4096
- # @param [String] quota_user
4097
- # Available to use for quota purposes for server-side applications. Can be any
4098
- # arbitrary string assigned to a user, but should not exceed 40 characters.
4099
- # @param [Google::Apis::RequestOptions] options
4100
- # Request-specific options
4101
- #
4102
- # @yield [result, err] Result & error if block supplied
4103
- # @yieldparam result [Google::Apis::YoutubeV3::InfocardListResponse] parsed result object
4104
- # @yieldparam err [StandardError] error object if request failed
4105
- #
4106
- # @return [Google::Apis::YoutubeV3::InfocardListResponse]
4107
- #
4108
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4109
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4110
- # @raise [Google::Apis::AuthorizationError] Authorization is required
4111
- def list_youtube_v3_infocards(part, on_behalf_of_content_owner: nil, video_id: nil, fields: nil, quota_user: nil, options: nil, &block)
4112
- command = make_simple_command(:get, 'youtube/v3/infocards', options)
4113
- command.response_representation = Google::Apis::YoutubeV3::InfocardListResponse::Representation
4114
- command.response_class = Google::Apis::YoutubeV3::InfocardListResponse
4115
- command.query['onBehalfOfContentOwner'] = on_behalf_of_content_owner unless on_behalf_of_content_owner.nil?
4116
- command.query['part'] = part unless part.nil?
4117
- command.query['videoId'] = video_id unless video_id.nil?
4118
- command.query['fields'] = fields unless fields.nil?
4119
- command.query['quotaUser'] = quota_user unless quota_user.nil?
4120
- execute_or_queue_command(command, &block)
4121
- end
4122
3927
 
4123
3928
  protected
4124
3929
 
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
22
22
  spec.require_paths = %w[lib generated]
23
23
 
24
- spec.required_ruby_version = '~> 2.4'
24
+ spec.required_ruby_version = '>= 2.4'
25
25
 
26
26
  spec.add_runtime_dependency 'representable', '~> 3.0'
27
27
  spec.add_runtime_dependency 'retriable', '>= 2.0', '< 4.0'
@@ -30,6 +30,7 @@ Gem::Specification.new do |spec|
30
30
  spec.add_runtime_dependency 'signet', '~> 0.12'
31
31
  spec.add_runtime_dependency 'googleauth', '~> 0.9'
32
32
  spec.add_runtime_dependency 'httpclient', '>= 2.8.1', '< 3.0'
33
+ spec.add_runtime_dependency 'rexml'
33
34
  spec.add_development_dependency 'thor', '~> 0.19'
34
35
  spec.add_development_dependency 'activesupport', '>= 4.2', '< 5.1'
35
36
  end
@@ -17,7 +17,7 @@ require 'open3'
17
17
  module Google
18
18
  module Apis
19
19
  # Client library version
20
- VERSION = '0.44.0'.freeze
20
+ VERSION = '0.46.0'.freeze
21
21
 
22
22
  # Current operating system
23
23
  # @private
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.44.0
4
+ version: 0.46.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Bazyl
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2020-08-31 00:00:00.000000000 Z
14
+ date: 2020-10-05 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: representable
@@ -129,6 +129,20 @@ dependencies:
129
129
  - - "<"
130
130
  - !ruby/object:Gem::Version
131
131
  version: '3.0'
132
+ - !ruby/object:Gem::Dependency
133
+ name: rexml
134
+ requirement: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ type: :runtime
140
+ prerelease: false
141
+ version_requirements: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
132
146
  - !ruby/object:Gem::Dependency
133
147
  name: thor
134
148
  requirement: !ruby/object:Gem::Requirement
@@ -292,6 +306,14 @@ files:
292
306
  - generated/google/apis/analytics_v3/classes.rb
293
307
  - generated/google/apis/analytics_v3/representations.rb
294
308
  - generated/google/apis/analytics_v3/service.rb
309
+ - generated/google/apis/analyticsadmin_v1alpha.rb
310
+ - generated/google/apis/analyticsadmin_v1alpha/classes.rb
311
+ - generated/google/apis/analyticsadmin_v1alpha/representations.rb
312
+ - generated/google/apis/analyticsadmin_v1alpha/service.rb
313
+ - generated/google/apis/analyticsdata_v1alpha.rb
314
+ - generated/google/apis/analyticsdata_v1alpha/classes.rb
315
+ - generated/google/apis/analyticsdata_v1alpha/representations.rb
316
+ - generated/google/apis/analyticsdata_v1alpha/service.rb
295
317
  - generated/google/apis/analyticsreporting_v4.rb
296
318
  - generated/google/apis/analyticsreporting_v4/classes.rb
297
319
  - generated/google/apis/analyticsreporting_v4/representations.rb
@@ -312,6 +334,10 @@ files:
312
334
  - generated/google/apis/androidpublisher_v3/classes.rb
313
335
  - generated/google/apis/androidpublisher_v3/representations.rb
314
336
  - generated/google/apis/androidpublisher_v3/service.rb
337
+ - generated/google/apis/apigateway_v1beta.rb
338
+ - generated/google/apis/apigateway_v1beta/classes.rb
339
+ - generated/google/apis/apigateway_v1beta/representations.rb
340
+ - generated/google/apis/apigateway_v1beta/service.rb
315
341
  - generated/google/apis/apigee_v1.rb
316
342
  - generated/google/apis/apigee_v1/classes.rb
317
343
  - generated/google/apis/apigee_v1/representations.rb
@@ -336,10 +362,6 @@ files:
336
362
  - generated/google/apis/appengine_v1beta5/classes.rb
337
363
  - generated/google/apis/appengine_v1beta5/representations.rb
338
364
  - generated/google/apis/appengine_v1beta5/service.rb
339
- - generated/google/apis/appsactivity_v1.rb
340
- - generated/google/apis/appsactivity_v1/classes.rb
341
- - generated/google/apis/appsactivity_v1/representations.rb
342
- - generated/google/apis/appsactivity_v1/service.rb
343
365
  - generated/google/apis/appsmarket_v2.rb
344
366
  - generated/google/apis/appsmarket_v2/classes.rb
345
367
  - generated/google/apis/appsmarket_v2/representations.rb
@@ -348,6 +370,10 @@ files:
348
370
  - generated/google/apis/artifactregistry_v1beta1/classes.rb
349
371
  - generated/google/apis/artifactregistry_v1beta1/representations.rb
350
372
  - generated/google/apis/artifactregistry_v1beta1/service.rb
373
+ - generated/google/apis/assuredworkloads_v1beta1.rb
374
+ - generated/google/apis/assuredworkloads_v1beta1/classes.rb
375
+ - generated/google/apis/assuredworkloads_v1beta1/representations.rb
376
+ - generated/google/apis/assuredworkloads_v1beta1/service.rb
351
377
  - generated/google/apis/bigquery_v2.rb
352
378
  - generated/google/apis/bigquery_v2/classes.rb
353
379
  - generated/google/apis/bigquery_v2/representations.rb
@@ -680,6 +706,18 @@ files:
680
706
  - generated/google/apis/displayvideo_v1/classes.rb
681
707
  - generated/google/apis/displayvideo_v1/representations.rb
682
708
  - generated/google/apis/displayvideo_v1/service.rb
709
+ - generated/google/apis/displayvideo_v1beta.rb
710
+ - generated/google/apis/displayvideo_v1beta/classes.rb
711
+ - generated/google/apis/displayvideo_v1beta/representations.rb
712
+ - generated/google/apis/displayvideo_v1beta/service.rb
713
+ - generated/google/apis/displayvideo_v1beta2.rb
714
+ - generated/google/apis/displayvideo_v1beta2/classes.rb
715
+ - generated/google/apis/displayvideo_v1beta2/representations.rb
716
+ - generated/google/apis/displayvideo_v1beta2/service.rb
717
+ - generated/google/apis/displayvideo_v1dev.rb
718
+ - generated/google/apis/displayvideo_v1dev/classes.rb
719
+ - generated/google/apis/displayvideo_v1dev/representations.rb
720
+ - generated/google/apis/displayvideo_v1dev/service.rb
683
721
  - generated/google/apis/dlp_v2.rb
684
722
  - generated/google/apis/dlp_v2/classes.rb
685
723
  - generated/google/apis/dlp_v2/representations.rb
@@ -996,10 +1034,6 @@ files:
996
1034
  - generated/google/apis/playcustomapp_v1/classes.rb
997
1035
  - generated/google/apis/playcustomapp_v1/representations.rb
998
1036
  - generated/google/apis/playcustomapp_v1/service.rb
999
- - generated/google/apis/plus_v1.rb
1000
- - generated/google/apis/plus_v1/classes.rb
1001
- - generated/google/apis/plus_v1/representations.rb
1002
- - generated/google/apis/plus_v1/service.rb
1003
1037
  - generated/google/apis/policytroubleshooter_v1.rb
1004
1038
  - generated/google/apis/policytroubleshooter_v1/classes.rb
1005
1039
  - generated/google/apis/policytroubleshooter_v1/representations.rb
@@ -1180,6 +1214,10 @@ files:
1180
1214
  - generated/google/apis/slides_v1/classes.rb
1181
1215
  - generated/google/apis/slides_v1/representations.rb
1182
1216
  - generated/google/apis/slides_v1/service.rb
1217
+ - generated/google/apis/smartdevicemanagement_v1.rb
1218
+ - generated/google/apis/smartdevicemanagement_v1/classes.rb
1219
+ - generated/google/apis/smartdevicemanagement_v1/representations.rb
1220
+ - generated/google/apis/smartdevicemanagement_v1/service.rb
1183
1221
  - generated/google/apis/sourcerepo_v1.rb
1184
1222
  - generated/google/apis/sourcerepo_v1/classes.rb
1185
1223
  - generated/google/apis/sourcerepo_v1/representations.rb
@@ -1200,10 +1238,10 @@ files:
1200
1238
  - generated/google/apis/speech_v2beta1/classes.rb
1201
1239
  - generated/google/apis/speech_v2beta1/representations.rb
1202
1240
  - generated/google/apis/speech_v2beta1/service.rb
1203
- - generated/google/apis/sql_v1beta4.rb
1204
- - generated/google/apis/sql_v1beta4/classes.rb
1205
- - generated/google/apis/sql_v1beta4/representations.rb
1206
- - generated/google/apis/sql_v1beta4/service.rb
1241
+ - generated/google/apis/sqladmin_v1beta4.rb
1242
+ - generated/google/apis/sqladmin_v1beta4/classes.rb
1243
+ - generated/google/apis/sqladmin_v1beta4/representations.rb
1244
+ - generated/google/apis/sqladmin_v1beta4/service.rb
1207
1245
  - generated/google/apis/storage_v1.rb
1208
1246
  - generated/google/apis/storage_v1/classes.rb
1209
1247
  - generated/google/apis/storage_v1/representations.rb
@@ -1216,6 +1254,14 @@ files:
1216
1254
  - generated/google/apis/streetviewpublish_v1/classes.rb
1217
1255
  - generated/google/apis/streetviewpublish_v1/representations.rb
1218
1256
  - generated/google/apis/streetviewpublish_v1/service.rb
1257
+ - generated/google/apis/sts_v1.rb
1258
+ - generated/google/apis/sts_v1/classes.rb
1259
+ - generated/google/apis/sts_v1/representations.rb
1260
+ - generated/google/apis/sts_v1/service.rb
1261
+ - generated/google/apis/sts_v1beta.rb
1262
+ - generated/google/apis/sts_v1beta/classes.rb
1263
+ - generated/google/apis/sts_v1beta/representations.rb
1264
+ - generated/google/apis/sts_v1beta/service.rb
1219
1265
  - generated/google/apis/tagmanager_v1.rb
1220
1266
  - generated/google/apis/tagmanager_v1/classes.rb
1221
1267
  - generated/google/apis/tagmanager_v1/representations.rb
@@ -1332,6 +1378,14 @@ files:
1332
1378
  - generated/google/apis/websecurityscanner_v1beta/classes.rb
1333
1379
  - generated/google/apis/websecurityscanner_v1beta/representations.rb
1334
1380
  - generated/google/apis/websecurityscanner_v1beta/service.rb
1381
+ - generated/google/apis/workflowexecutions_v1beta.rb
1382
+ - generated/google/apis/workflowexecutions_v1beta/classes.rb
1383
+ - generated/google/apis/workflowexecutions_v1beta/representations.rb
1384
+ - generated/google/apis/workflowexecutions_v1beta/service.rb
1385
+ - generated/google/apis/workflows_v1beta.rb
1386
+ - generated/google/apis/workflows_v1beta/classes.rb
1387
+ - generated/google/apis/workflows_v1beta/representations.rb
1388
+ - generated/google/apis/workflows_v1beta/service.rb
1335
1389
  - generated/google/apis/youtube_analytics_v1.rb
1336
1390
  - generated/google/apis/youtube_analytics_v1/classes.rb
1337
1391
  - generated/google/apis/youtube_analytics_v1/representations.rb
@@ -1424,7 +1478,7 @@ homepage: https://github.com/google/google-api-ruby-client
1424
1478
  licenses:
1425
1479
  - Apache-2.0
1426
1480
  metadata:
1427
- documentation_uri: https://googleapis.dev/ruby/google-api-client/v0.44.0
1481
+ documentation_uri: https://googleapis.dev/ruby/google-api-client/v0.46.0
1428
1482
  post_install_message:
1429
1483
  rdoc_options: []
1430
1484
  require_paths:
@@ -1432,7 +1486,7 @@ require_paths:
1432
1486
  - generated
1433
1487
  required_ruby_version: !ruby/object:Gem::Requirement
1434
1488
  requirements:
1435
- - - "~>"
1489
+ - - ">="
1436
1490
  - !ruby/object:Gem::Version
1437
1491
  version: '2.4'
1438
1492
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -1,415 +0,0 @@
1
- # Copyright 2015 Google Inc.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- require 'date'
16
- require 'google/apis/core/base_service'
17
- require 'google/apis/core/json_representation'
18
- require 'google/apis/core/hashable'
19
- require 'google/apis/errors'
20
-
21
- module Google
22
- module Apis
23
- module AppsactivityV1
24
-
25
- # An Activity resource is a combined view of multiple events. An activity has a
26
- # list of individual events and a combined view of the common fields among all
27
- # events.
28
- class Activity
29
- include Google::Apis::Core::Hashable
30
-
31
- # Represents the changes associated with an action taken by a user.
32
- # Corresponds to the JSON property `combinedEvent`
33
- # @return [Google::Apis::AppsactivityV1::Event]
34
- attr_accessor :combined_event
35
-
36
- # A list of all the Events that make up the Activity.
37
- # Corresponds to the JSON property `singleEvents`
38
- # @return [Array<Google::Apis::AppsactivityV1::Event>]
39
- attr_accessor :single_events
40
-
41
- def initialize(**args)
42
- update!(**args)
43
- end
44
-
45
- # Update properties of this object
46
- def update!(**args)
47
- @combined_event = args[:combined_event] if args.key?(:combined_event)
48
- @single_events = args[:single_events] if args.key?(:single_events)
49
- end
50
- end
51
-
52
- # Represents the changes associated with an action taken by a user.
53
- class Event
54
- include Google::Apis::Core::Hashable
55
-
56
- # Additional event types. Some events may have multiple types when multiple
57
- # actions are part of a single event. For example, creating a document, renaming
58
- # it, and sharing it may be part of a single file-creation event.
59
- # Corresponds to the JSON property `additionalEventTypes`
60
- # @return [Array<String>]
61
- attr_accessor :additional_event_types
62
-
63
- # The time at which the event occurred formatted as Unix time in milliseconds.
64
- # Corresponds to the JSON property `eventTimeMillis`
65
- # @return [Fixnum]
66
- attr_accessor :event_time_millis
67
-
68
- # Whether this event is caused by a user being deleted.
69
- # Corresponds to the JSON property `fromUserDeletion`
70
- # @return [Boolean]
71
- attr_accessor :from_user_deletion
72
- alias_method :from_user_deletion?, :from_user_deletion
73
-
74
- # Contains information about changes in an object's parents as a result of a
75
- # move type event.
76
- # Corresponds to the JSON property `move`
77
- # @return [Google::Apis::AppsactivityV1::Move]
78
- attr_accessor :move
79
-
80
- # Extra information for permissionChange type events, such as the user or group
81
- # the new permission applies to.
82
- # Corresponds to the JSON property `permissionChanges`
83
- # @return [Array<Google::Apis::AppsactivityV1::PermissionChange>]
84
- attr_accessor :permission_changes
85
-
86
- # The main type of event that occurred.
87
- # Corresponds to the JSON property `primaryEventType`
88
- # @return [String]
89
- attr_accessor :primary_event_type
90
-
91
- # Contains information about a renametype event.
92
- # Corresponds to the JSON property `rename`
93
- # @return [Google::Apis::AppsactivityV1::Rename]
94
- attr_accessor :rename
95
-
96
- # Information about the object modified by the event.
97
- # Corresponds to the JSON property `target`
98
- # @return [Google::Apis::AppsactivityV1::Target]
99
- attr_accessor :target
100
-
101
- # A representation of a user.
102
- # Corresponds to the JSON property `user`
103
- # @return [Google::Apis::AppsactivityV1::User]
104
- attr_accessor :user
105
-
106
- def initialize(**args)
107
- update!(**args)
108
- end
109
-
110
- # Update properties of this object
111
- def update!(**args)
112
- @additional_event_types = args[:additional_event_types] if args.key?(:additional_event_types)
113
- @event_time_millis = args[:event_time_millis] if args.key?(:event_time_millis)
114
- @from_user_deletion = args[:from_user_deletion] if args.key?(:from_user_deletion)
115
- @move = args[:move] if args.key?(:move)
116
- @permission_changes = args[:permission_changes] if args.key?(:permission_changes)
117
- @primary_event_type = args[:primary_event_type] if args.key?(:primary_event_type)
118
- @rename = args[:rename] if args.key?(:rename)
119
- @target = args[:target] if args.key?(:target)
120
- @user = args[:user] if args.key?(:user)
121
- end
122
- end
123
-
124
- # The response from the list request. Contains a list of activities and a token
125
- # to retrieve the next page of results.
126
- class ListActivitiesResponse
127
- include Google::Apis::Core::Hashable
128
-
129
- # List of activities.
130
- # Corresponds to the JSON property `activities`
131
- # @return [Array<Google::Apis::AppsactivityV1::Activity>]
132
- attr_accessor :activities
133
-
134
- # Token for the next page of results.
135
- # Corresponds to the JSON property `nextPageToken`
136
- # @return [String]
137
- attr_accessor :next_page_token
138
-
139
- def initialize(**args)
140
- update!(**args)
141
- end
142
-
143
- # Update properties of this object
144
- def update!(**args)
145
- @activities = args[:activities] if args.key?(:activities)
146
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
147
- end
148
- end
149
-
150
- # Contains information about changes in an object's parents as a result of a
151
- # move type event.
152
- class Move
153
- include Google::Apis::Core::Hashable
154
-
155
- # The added parent(s).
156
- # Corresponds to the JSON property `addedParents`
157
- # @return [Array<Google::Apis::AppsactivityV1::Parent>]
158
- attr_accessor :added_parents
159
-
160
- # The removed parent(s).
161
- # Corresponds to the JSON property `removedParents`
162
- # @return [Array<Google::Apis::AppsactivityV1::Parent>]
163
- attr_accessor :removed_parents
164
-
165
- def initialize(**args)
166
- update!(**args)
167
- end
168
-
169
- # Update properties of this object
170
- def update!(**args)
171
- @added_parents = args[:added_parents] if args.key?(:added_parents)
172
- @removed_parents = args[:removed_parents] if args.key?(:removed_parents)
173
- end
174
- end
175
-
176
- # Contains information about a parent object. For example, a folder in Drive is
177
- # a parent for all files within it.
178
- class Parent
179
- include Google::Apis::Core::Hashable
180
-
181
- # The parent's ID.
182
- # Corresponds to the JSON property `id`
183
- # @return [String]
184
- attr_accessor :id
185
-
186
- # Whether this is the root folder.
187
- # Corresponds to the JSON property `isRoot`
188
- # @return [Boolean]
189
- attr_accessor :is_root
190
- alias_method :is_root?, :is_root
191
-
192
- # The parent's title.
193
- # Corresponds to the JSON property `title`
194
- # @return [String]
195
- attr_accessor :title
196
-
197
- def initialize(**args)
198
- update!(**args)
199
- end
200
-
201
- # Update properties of this object
202
- def update!(**args)
203
- @id = args[:id] if args.key?(:id)
204
- @is_root = args[:is_root] if args.key?(:is_root)
205
- @title = args[:title] if args.key?(:title)
206
- end
207
- end
208
-
209
- # Contains information about the permissions and type of access allowed with
210
- # regards to a Google Drive object. This is a subset of the fields contained in
211
- # a corresponding Drive Permissions object.
212
- class Permission
213
- include Google::Apis::Core::Hashable
214
-
215
- # The name of the user or group the permission applies to.
216
- # Corresponds to the JSON property `name`
217
- # @return [String]
218
- attr_accessor :name
219
-
220
- # The ID for this permission. Corresponds to the Drive API's permission ID
221
- # returned as part of the Drive Permissions resource.
222
- # Corresponds to the JSON property `permissionId`
223
- # @return [String]
224
- attr_accessor :permission_id
225
-
226
- # Indicates the Google Drive permissions role. The role determines a user's
227
- # ability to read, write, or comment on the file.
228
- # Corresponds to the JSON property `role`
229
- # @return [String]
230
- attr_accessor :role
231
-
232
- # Indicates how widely permissions are granted.
233
- # Corresponds to the JSON property `type`
234
- # @return [String]
235
- attr_accessor :type
236
-
237
- # A representation of a user.
238
- # Corresponds to the JSON property `user`
239
- # @return [Google::Apis::AppsactivityV1::User]
240
- attr_accessor :user
241
-
242
- # Whether the permission requires a link to the file.
243
- # Corresponds to the JSON property `withLink`
244
- # @return [Boolean]
245
- attr_accessor :with_link
246
- alias_method :with_link?, :with_link
247
-
248
- def initialize(**args)
249
- update!(**args)
250
- end
251
-
252
- # Update properties of this object
253
- def update!(**args)
254
- @name = args[:name] if args.key?(:name)
255
- @permission_id = args[:permission_id] if args.key?(:permission_id)
256
- @role = args[:role] if args.key?(:role)
257
- @type = args[:type] if args.key?(:type)
258
- @user = args[:user] if args.key?(:user)
259
- @with_link = args[:with_link] if args.key?(:with_link)
260
- end
261
- end
262
-
263
- # Contains information about a Drive object's permissions that changed as a
264
- # result of a permissionChange type event.
265
- class PermissionChange
266
- include Google::Apis::Core::Hashable
267
-
268
- # Lists all Permission objects added.
269
- # Corresponds to the JSON property `addedPermissions`
270
- # @return [Array<Google::Apis::AppsactivityV1::Permission>]
271
- attr_accessor :added_permissions
272
-
273
- # Lists all Permission objects removed.
274
- # Corresponds to the JSON property `removedPermissions`
275
- # @return [Array<Google::Apis::AppsactivityV1::Permission>]
276
- attr_accessor :removed_permissions
277
-
278
- def initialize(**args)
279
- update!(**args)
280
- end
281
-
282
- # Update properties of this object
283
- def update!(**args)
284
- @added_permissions = args[:added_permissions] if args.key?(:added_permissions)
285
- @removed_permissions = args[:removed_permissions] if args.key?(:removed_permissions)
286
- end
287
- end
288
-
289
- # Photo information for a user.
290
- class Photo
291
- include Google::Apis::Core::Hashable
292
-
293
- # The URL of the photo.
294
- # Corresponds to the JSON property `url`
295
- # @return [String]
296
- attr_accessor :url
297
-
298
- def initialize(**args)
299
- update!(**args)
300
- end
301
-
302
- # Update properties of this object
303
- def update!(**args)
304
- @url = args[:url] if args.key?(:url)
305
- end
306
- end
307
-
308
- # Contains information about a renametype event.
309
- class Rename
310
- include Google::Apis::Core::Hashable
311
-
312
- # The new title.
313
- # Corresponds to the JSON property `newTitle`
314
- # @return [String]
315
- attr_accessor :new_title
316
-
317
- # The old title.
318
- # Corresponds to the JSON property `oldTitle`
319
- # @return [String]
320
- attr_accessor :old_title
321
-
322
- def initialize(**args)
323
- update!(**args)
324
- end
325
-
326
- # Update properties of this object
327
- def update!(**args)
328
- @new_title = args[:new_title] if args.key?(:new_title)
329
- @old_title = args[:old_title] if args.key?(:old_title)
330
- end
331
- end
332
-
333
- # Information about the object modified by the event.
334
- class Target
335
- include Google::Apis::Core::Hashable
336
-
337
- # The ID of the target. For example, in Google Drive, this is the file or folder
338
- # ID.
339
- # Corresponds to the JSON property `id`
340
- # @return [String]
341
- attr_accessor :id
342
-
343
- # The MIME type of the target.
344
- # Corresponds to the JSON property `mimeType`
345
- # @return [String]
346
- attr_accessor :mime_type
347
-
348
- # The name of the target. For example, in Google Drive, this is the title of the
349
- # file.
350
- # Corresponds to the JSON property `name`
351
- # @return [String]
352
- attr_accessor :name
353
-
354
- def initialize(**args)
355
- update!(**args)
356
- end
357
-
358
- # Update properties of this object
359
- def update!(**args)
360
- @id = args[:id] if args.key?(:id)
361
- @mime_type = args[:mime_type] if args.key?(:mime_type)
362
- @name = args[:name] if args.key?(:name)
363
- end
364
- end
365
-
366
- # A representation of a user.
367
- class User
368
- include Google::Apis::Core::Hashable
369
-
370
- # A boolean which indicates whether the specified User was deleted. If true,
371
- # name, photo and permission_id will be omitted.
372
- # Corresponds to the JSON property `isDeleted`
373
- # @return [Boolean]
374
- attr_accessor :is_deleted
375
- alias_method :is_deleted?, :is_deleted
376
-
377
- # Whether the user is the authenticated user.
378
- # Corresponds to the JSON property `isMe`
379
- # @return [Boolean]
380
- attr_accessor :is_me
381
- alias_method :is_me?, :is_me
382
-
383
- # The displayable name of the user.
384
- # Corresponds to the JSON property `name`
385
- # @return [String]
386
- attr_accessor :name
387
-
388
- # The permission ID associated with this user. Equivalent to the Drive API's
389
- # permission ID for this user, returned as part of the Drive Permissions
390
- # resource.
391
- # Corresponds to the JSON property `permissionId`
392
- # @return [String]
393
- attr_accessor :permission_id
394
-
395
- # Photo information for a user.
396
- # Corresponds to the JSON property `photo`
397
- # @return [Google::Apis::AppsactivityV1::Photo]
398
- attr_accessor :photo
399
-
400
- def initialize(**args)
401
- update!(**args)
402
- end
403
-
404
- # Update properties of this object
405
- def update!(**args)
406
- @is_deleted = args[:is_deleted] if args.key?(:is_deleted)
407
- @is_me = args[:is_me] if args.key?(:is_me)
408
- @name = args[:name] if args.key?(:name)
409
- @permission_id = args[:permission_id] if args.key?(:permission_id)
410
- @photo = args[:photo] if args.key?(:photo)
411
- end
412
- end
413
- end
414
- end
415
- end