google-api-client 0.46.1 → 0.50.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (496) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/autoapprove.yml +49 -0
  3. data/.github/workflows/release-please.yml +77 -0
  4. data/.gitignore +2 -0
  5. data/.kokoro/trampoline.sh +0 -0
  6. data/CHANGELOG.md +666 -191
  7. data/Gemfile +1 -0
  8. data/Rakefile +31 -3
  9. data/api_list_config.yaml +8 -0
  10. data/bin/generate-api +77 -15
  11. data/generated/google/apis/accessapproval_v1.rb +1 -1
  12. data/generated/google/apis/accessapproval_v1/classes.rb +13 -15
  13. data/generated/google/apis/accessapproval_v1/service.rb +12 -9
  14. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  15. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +30 -30
  16. data/generated/google/apis/admin_directory_v1.rb +1 -1
  17. data/generated/google/apis/admin_directory_v1/classes.rb +135 -0
  18. data/generated/google/apis/admin_directory_v1/representations.rb +62 -0
  19. data/generated/google/apis/admin_directory_v1/service.rb +72 -0
  20. data/generated/google/apis/admin_reports_v1.rb +1 -1
  21. data/generated/google/apis/admob_v1.rb +4 -1
  22. data/generated/google/apis/admob_v1/classes.rb +29 -29
  23. data/generated/google/apis/admob_v1/service.rb +4 -0
  24. data/generated/google/apis/admob_v1beta.rb +38 -0
  25. data/generated/google/apis/admob_v1beta/classes.rb +1035 -0
  26. data/generated/google/apis/admob_v1beta/representations.rb +472 -0
  27. data/generated/google/apis/admob_v1beta/service.rb +279 -0
  28. data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
  29. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +19 -18
  30. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +12 -13
  31. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  32. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +179 -50
  33. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +50 -14
  34. data/generated/google/apis/analyticsdata_v1alpha/service.rb +49 -38
  35. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  36. data/generated/google/apis/androidenterprise_v1/classes.rb +6 -0
  37. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  38. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  39. data/generated/google/apis/androidmanagement_v1/classes.rb +29 -26
  40. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  41. data/generated/google/apis/androidpublisher_v3/classes.rb +2 -1
  42. data/generated/google/apis/androidpublisher_v3/service.rb +5 -2
  43. data/generated/google/apis/apigateway_v1beta.rb +1 -1
  44. data/generated/google/apis/apigateway_v1beta/classes.rb +8 -5
  45. data/generated/google/apis/apigateway_v1beta/representations.rb +1 -0
  46. data/generated/google/apis/apigee_v1.rb +1 -1
  47. data/generated/google/apis/apigee_v1/classes.rb +377 -137
  48. data/generated/google/apis/apigee_v1/representations.rb +109 -18
  49. data/generated/google/apis/apigee_v1/service.rb +673 -56
  50. data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
  51. data/generated/google/apis/area120tables_v1alpha1/classes.rb +481 -0
  52. data/generated/google/apis/area120tables_v1alpha1/representations.rb +279 -0
  53. data/generated/google/apis/area120tables_v1alpha1/service.rb +448 -0
  54. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  55. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -7
  56. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -1
  57. data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
  58. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +20 -0
  59. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +2 -0
  60. data/generated/google/apis/bigquery_v2.rb +1 -1
  61. data/generated/google/apis/bigquery_v2/classes.rb +158 -5
  62. data/generated/google/apis/bigquery_v2/representations.rb +67 -0
  63. data/generated/google/apis/bigquery_v2/service.rb +46 -0
  64. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  65. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -0
  66. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +1 -0
  67. data/generated/google/apis/billingbudgets_v1.rb +1 -1
  68. data/generated/google/apis/billingbudgets_v1/classes.rb +12 -1
  69. data/generated/google/apis/billingbudgets_v1/representations.rb +1 -0
  70. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  71. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +12 -1
  72. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  73. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  74. data/generated/google/apis/binaryauthorization_v1/classes.rb +3 -4
  75. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  76. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +3 -4
  77. data/generated/google/apis/books_v1.rb +1 -1
  78. data/generated/google/apis/books_v1/service.rb +52 -52
  79. data/generated/google/apis/calendar_v3.rb +1 -1
  80. data/generated/google/apis/calendar_v3/classes.rb +2 -2
  81. data/generated/google/apis/chat_v1.rb +1 -1
  82. data/generated/google/apis/chat_v1/classes.rb +7 -0
  83. data/generated/google/apis/chat_v1/representations.rb +1 -0
  84. data/generated/google/apis/civicinfo_v2.rb +1 -1
  85. data/generated/google/apis/civicinfo_v2/classes.rb +0 -24
  86. data/generated/google/apis/civicinfo_v2/representations.rb +0 -3
  87. data/generated/google/apis/classroom_v1.rb +1 -1
  88. data/generated/google/apis/classroom_v1/classes.rb +21 -21
  89. data/generated/google/apis/cloudasset_v1.rb +1 -1
  90. data/generated/google/apis/cloudasset_v1/classes.rb +1122 -0
  91. data/generated/google/apis/cloudasset_v1/representations.rb +474 -0
  92. data/generated/google/apis/cloudasset_v1/service.rb +171 -0
  93. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  94. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  95. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  96. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  97. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  98. data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
  99. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  100. data/generated/google/apis/cloudbuild_v1/classes.rb +2 -1
  101. data/generated/google/apis/cloudbuild_v1/service.rb +10 -2
  102. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  103. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  104. data/generated/google/apis/cloudidentity_v1/service.rb +7 -3
  105. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  106. data/generated/google/apis/cloudidentity_v1beta1/service.rb +29 -17
  107. data/generated/google/apis/cloudiot_v1.rb +1 -1
  108. data/generated/google/apis/cloudiot_v1/classes.rb +1 -2
  109. data/generated/google/apis/cloudkms_v1.rb +1 -1
  110. data/generated/google/apis/cloudkms_v1/classes.rb +1 -2
  111. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  112. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +401 -7
  113. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +280 -1
  114. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  115. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +401 -7
  116. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +280 -1
  117. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  118. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +405 -11
  119. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +280 -1
  120. data/generated/google/apis/cloudresourcemanager_v2/service.rb +13 -13
  121. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  122. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +405 -11
  123. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +280 -1
  124. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +13 -13
  125. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  126. data/generated/google/apis/cloudtasks_v2/classes.rb +1 -2
  127. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  128. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +1 -2
  129. data/generated/google/apis/cloudtasks_v2beta2/service.rb +12 -2
  130. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  131. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +1 -2
  132. data/generated/google/apis/compute_v1.rb +1 -1
  133. data/generated/google/apis/compute_v1/classes.rb +282 -29
  134. data/generated/google/apis/compute_v1/representations.rb +43 -0
  135. data/generated/google/apis/compute_v1/service.rb +4 -1
  136. data/generated/google/apis/container_v1.rb +1 -1
  137. data/generated/google/apis/container_v1/classes.rb +22 -10
  138. data/generated/google/apis/container_v1beta1.rb +1 -1
  139. data/generated/google/apis/container_v1beta1/classes.rb +51 -10
  140. data/generated/google/apis/container_v1beta1/representations.rb +15 -0
  141. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  142. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +1 -2
  143. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  144. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -2
  145. data/generated/google/apis/content_v2.rb +3 -4
  146. data/generated/google/apis/content_v2/classes.rb +511 -1219
  147. data/generated/google/apis/content_v2/service.rb +380 -651
  148. data/generated/google/apis/content_v2_1.rb +3 -4
  149. data/generated/google/apis/content_v2_1/classes.rb +1353 -1061
  150. data/generated/google/apis/content_v2_1/representations.rb +342 -0
  151. data/generated/google/apis/content_v2_1/service.rb +948 -809
  152. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  153. data/generated/google/apis/datacatalog_v1beta1/classes.rb +26 -12
  154. data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -0
  155. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  156. data/generated/google/apis/dataflow_v1b3/classes.rb +12 -0
  157. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  158. data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
  159. data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
  160. data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
  161. data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
  162. data/generated/google/apis/datamigration_v1beta1.rb +34 -0
  163. data/generated/google/apis/datamigration_v1beta1/classes.rb +1670 -0
  164. data/generated/google/apis/datamigration_v1beta1/representations.rb +678 -0
  165. data/generated/google/apis/datamigration_v1beta1/service.rb +1172 -0
  166. data/generated/google/apis/dataproc_v1.rb +1 -1
  167. data/generated/google/apis/dataproc_v1/classes.rb +18 -7
  168. data/generated/google/apis/dataproc_v1/representations.rb +1 -0
  169. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  170. data/generated/google/apis/dataproc_v1beta2/classes.rb +18 -7
  171. data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
  172. data/generated/google/apis/datastore_v1.rb +1 -1
  173. data/generated/google/apis/datastore_v1/classes.rb +4 -4
  174. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  175. data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
  176. data/generated/google/apis/deploymentmanager_v2.rb +6 -4
  177. data/generated/google/apis/deploymentmanager_v2/classes.rb +209 -558
  178. data/generated/google/apis/deploymentmanager_v2/representations.rb +1 -132
  179. data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
  180. data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
  181. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +253 -609
  182. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +1 -132
  183. data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
  184. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  185. data/generated/google/apis/dfareporting_v3_3/classes.rb +6 -6
  186. data/generated/google/apis/dfareporting_v3_3/service.rb +12 -12
  187. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  188. data/generated/google/apis/dfareporting_v3_4/classes.rb +6 -6
  189. data/generated/google/apis/dfareporting_v3_4/service.rb +12 -12
  190. data/generated/google/apis/dialogflow_v2.rb +1 -1
  191. data/generated/google/apis/dialogflow_v2/classes.rb +649 -385
  192. data/generated/google/apis/dialogflow_v2/representations.rb +279 -192
  193. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  194. data/generated/google/apis/dialogflow_v2beta1/classes.rb +649 -385
  195. data/generated/google/apis/dialogflow_v2beta1/representations.rb +283 -196
  196. data/generated/google/apis/dialogflow_v2beta1/service.rb +14 -8
  197. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  198. data/generated/google/apis/dialogflow_v3beta1/classes.rb +712 -391
  199. data/generated/google/apis/dialogflow_v3beta1/representations.rb +301 -195
  200. data/generated/google/apis/dialogflow_v3beta1/service.rb +1 -1
  201. data/generated/google/apis/displayvideo_v1.rb +1 -1
  202. data/generated/google/apis/displayvideo_v1/classes.rb +241 -63
  203. data/generated/google/apis/displayvideo_v1/representations.rb +77 -0
  204. data/generated/google/apis/displayvideo_v1/service.rb +257 -17
  205. data/generated/google/apis/dlp_v2.rb +1 -1
  206. data/generated/google/apis/dlp_v2/classes.rb +39 -32
  207. data/generated/google/apis/dlp_v2/representations.rb +1 -0
  208. data/generated/google/apis/dns_v1.rb +2 -2
  209. data/generated/google/apis/dns_v1/classes.rb +181 -0
  210. data/generated/google/apis/dns_v1/representations.rb +83 -0
  211. data/generated/google/apis/dns_v1/service.rb +1 -1
  212. data/generated/google/apis/dns_v1beta2.rb +2 -2
  213. data/generated/google/apis/dns_v1beta2/classes.rb +195 -1
  214. data/generated/google/apis/dns_v1beta2/representations.rb +95 -0
  215. data/generated/google/apis/dns_v1beta2/service.rb +177 -1
  216. data/generated/google/apis/domains_v1alpha2.rb +34 -0
  217. data/generated/google/apis/domains_v1alpha2/classes.rb +1534 -0
  218. data/generated/google/apis/domains_v1alpha2/representations.rb +605 -0
  219. data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
  220. data/generated/google/apis/domains_v1beta1.rb +34 -0
  221. data/generated/google/apis/domains_v1beta1/classes.rb +1534 -0
  222. data/generated/google/apis/domains_v1beta1/representations.rb +605 -0
  223. data/generated/google/apis/domains_v1beta1/service.rb +805 -0
  224. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  225. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +2 -1
  226. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  227. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +2 -1
  228. data/generated/google/apis/drive_v2.rb +1 -1
  229. data/generated/google/apis/drive_v2/classes.rb +22 -20
  230. data/generated/google/apis/drive_v2/service.rb +2 -2
  231. data/generated/google/apis/drive_v3.rb +1 -1
  232. data/generated/google/apis/drive_v3/classes.rb +12 -9
  233. data/generated/google/apis/eventarc_v1beta1.rb +34 -0
  234. data/generated/google/apis/eventarc_v1beta1/classes.rb +937 -0
  235. data/generated/google/apis/eventarc_v1beta1/representations.rb +380 -0
  236. data/generated/google/apis/eventarc_v1beta1/service.rb +579 -0
  237. data/generated/google/apis/file_v1.rb +1 -1
  238. data/generated/google/apis/file_v1/classes.rb +505 -4
  239. data/generated/google/apis/file_v1/representations.rb +203 -0
  240. data/generated/google/apis/file_v1/service.rb +229 -1
  241. data/generated/google/apis/file_v1beta1.rb +1 -1
  242. data/generated/google/apis/file_v1beta1/classes.rb +346 -6
  243. data/generated/google/apis/file_v1beta1/representations.rb +149 -0
  244. data/generated/google/apis/file_v1beta1/service.rb +6 -2
  245. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  246. data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
  247. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  248. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
  249. data/generated/google/apis/firestore_v1.rb +1 -1
  250. data/generated/google/apis/firestore_v1/classes.rb +4 -4
  251. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  252. data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
  253. data/generated/google/apis/fitness_v1.rb +1 -1
  254. data/generated/google/apis/fitness_v1/service.rb +3 -1
  255. data/generated/google/apis/games_v1.rb +1 -1
  256. data/generated/google/apis/games_v1/classes.rb +300 -0
  257. data/generated/google/apis/games_v1/representations.rb +116 -0
  258. data/generated/google/apis/games_v1/service.rb +34 -0
  259. data/generated/google/apis/gameservices_v1.rb +1 -1
  260. data/generated/google/apis/gameservices_v1/classes.rb +16 -16
  261. data/generated/google/apis/gameservices_v1/service.rb +54 -51
  262. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  263. data/generated/google/apis/gameservices_v1beta/classes.rb +16 -16
  264. data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
  265. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  266. data/generated/google/apis/genomics_v2alpha1/classes.rb +25 -0
  267. data/generated/google/apis/genomics_v2alpha1/representations.rb +15 -0
  268. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
  269. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +10 -10
  270. data/generated/google/apis/healthcare_v1.rb +1 -1
  271. data/generated/google/apis/healthcare_v1/classes.rb +10 -4
  272. data/generated/google/apis/healthcare_v1/representations.rb +1 -0
  273. data/generated/google/apis/healthcare_v1/service.rb +2 -1
  274. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  275. data/generated/google/apis/healthcare_v1beta1/classes.rb +350 -46
  276. data/generated/google/apis/healthcare_v1beta1/representations.rb +150 -18
  277. data/generated/google/apis/healthcare_v1beta1/service.rb +91 -13
  278. data/generated/google/apis/iam_v1.rb +2 -5
  279. data/generated/google/apis/iam_v1/classes.rb +8 -11
  280. data/generated/google/apis/iam_v1/representations.rb +0 -1
  281. data/generated/google/apis/iam_v1/service.rb +1 -4
  282. data/generated/google/apis/iamcredentials_v1.rb +3 -4
  283. data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
  284. data/generated/google/apis/iap_v1.rb +1 -1
  285. data/generated/google/apis/iap_v1/classes.rb +1 -13
  286. data/generated/google/apis/iap_v1/representations.rb +0 -1
  287. data/generated/google/apis/iap_v1beta1.rb +1 -1
  288. data/generated/google/apis/iap_v1beta1/classes.rb +1 -2
  289. data/generated/google/apis/licensing_v1.rb +1 -1
  290. data/generated/google/apis/localservices_v1.rb +1 -1
  291. data/generated/google/apis/localservices_v1/classes.rb +7 -0
  292. data/generated/google/apis/localservices_v1/representations.rb +2 -0
  293. data/generated/google/apis/localservices_v1/service.rb +20 -20
  294. data/generated/google/apis/logging_v2.rb +1 -1
  295. data/generated/google/apis/logging_v2/classes.rb +186 -10
  296. data/generated/google/apis/logging_v2/representations.rb +77 -0
  297. data/generated/google/apis/logging_v2/service.rb +446 -25
  298. data/generated/google/apis/managedidentities_v1.rb +1 -1
  299. data/generated/google/apis/managedidentities_v1/classes.rb +347 -7
  300. data/generated/google/apis/managedidentities_v1/representations.rb +149 -0
  301. data/generated/google/apis/managedidentities_v1/service.rb +1 -4
  302. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  303. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +426 -15
  304. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +182 -1
  305. data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
  306. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  307. data/generated/google/apis/managedidentities_v1beta1/classes.rb +427 -15
  308. data/generated/google/apis/managedidentities_v1beta1/representations.rb +182 -1
  309. data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
  310. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  311. data/generated/google/apis/memcache_v1beta2/classes.rb +345 -4
  312. data/generated/google/apis/memcache_v1beta2/representations.rb +149 -0
  313. data/generated/google/apis/ml_v1.rb +1 -1
  314. data/generated/google/apis/ml_v1/classes.rb +273 -79
  315. data/generated/google/apis/ml_v1/representations.rb +43 -0
  316. data/generated/google/apis/ml_v1/service.rb +35 -0
  317. data/generated/google/apis/monitoring_v3.rb +1 -1
  318. data/generated/google/apis/monitoring_v3/classes.rb +19 -13
  319. data/generated/google/apis/monitoring_v3/service.rb +50 -1
  320. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  321. data/generated/google/apis/networkmanagement_v1/classes.rb +6 -0
  322. data/generated/google/apis/networkmanagement_v1/representations.rb +1 -0
  323. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  324. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +57 -0
  325. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +31 -0
  326. data/generated/google/apis/notebooks_v1.rb +34 -0
  327. data/generated/google/apis/notebooks_v1/classes.rb +1461 -0
  328. data/generated/google/apis/notebooks_v1/representations.rb +581 -0
  329. data/generated/google/apis/notebooks_v1/service.rb +1042 -0
  330. data/generated/google/apis/people_v1.rb +1 -1
  331. data/generated/google/apis/people_v1/classes.rb +49 -49
  332. data/generated/google/apis/people_v1/service.rb +21 -18
  333. data/generated/google/apis/playablelocations_v3.rb +1 -1
  334. data/generated/google/apis/playablelocations_v3/classes.rb +6 -6
  335. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  336. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  337. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  338. data/generated/google/apis/poly_v1.rb +3 -4
  339. data/generated/google/apis/poly_v1/classes.rb +65 -79
  340. data/generated/google/apis/poly_v1/service.rb +50 -63
  341. data/generated/google/apis/privateca_v1beta1.rb +36 -0
  342. data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
  343. data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
  344. data/generated/google/apis/privateca_v1beta1/service.rb +1437 -0
  345. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  346. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +109 -0
  347. data/generated/google/apis/pubsub_v1.rb +1 -1
  348. data/generated/google/apis/pubsub_v1/classes.rb +1 -2
  349. data/generated/google/apis/pubsub_v1/service.rb +2 -2
  350. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  351. data/generated/google/apis/pubsub_v1beta2/classes.rb +1 -2
  352. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  353. data/generated/google/apis/realtimebidding_v1/classes.rb +578 -33
  354. data/generated/google/apis/realtimebidding_v1/representations.rb +232 -0
  355. data/generated/google/apis/realtimebidding_v1/service.rb +454 -4
  356. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  357. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +32 -0
  358. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -0
  359. data/generated/google/apis/recommender_v1.rb +1 -1
  360. data/generated/google/apis/recommender_v1/classes.rb +1 -1
  361. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  362. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
  363. data/generated/google/apis/redis_v1.rb +1 -1
  364. data/generated/google/apis/redis_v1/classes.rb +86 -0
  365. data/generated/google/apis/redis_v1/representations.rb +34 -0
  366. data/generated/google/apis/redis_v1/service.rb +34 -0
  367. data/generated/google/apis/redis_v1beta1.rb +1 -1
  368. data/generated/google/apis/redis_v1beta1/classes.rb +58 -0
  369. data/generated/google/apis/redis_v1beta1/representations.rb +20 -0
  370. data/generated/google/apis/run_v1.rb +1 -1
  371. data/generated/google/apis/run_v1/classes.rb +7 -6
  372. data/generated/google/apis/run_v1alpha1.rb +1 -1
  373. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  374. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +0 -7
  375. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +0 -1
  376. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  377. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  378. data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -0
  379. data/generated/google/apis/secretmanager_v1.rb +1 -1
  380. data/generated/google/apis/secretmanager_v1/classes.rb +0 -7
  381. data/generated/google/apis/secretmanager_v1/representations.rb +0 -1
  382. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  383. data/generated/google/apis/secretmanager_v1beta1/classes.rb +0 -7
  384. data/generated/google/apis/secretmanager_v1beta1/representations.rb +0 -1
  385. data/generated/google/apis/securitycenter_v1.rb +1 -1
  386. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  387. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  388. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +6 -64
  389. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
  390. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  391. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +6 -64
  392. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
  393. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  394. data/generated/google/apis/servicecontrol_v1/classes.rb +77 -2
  395. data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
  396. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  397. data/generated/google/apis/servicecontrol_v2/classes.rb +62 -0
  398. data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
  399. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  400. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +27 -8
  401. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  402. data/generated/google/apis/servicemanagement_v1/classes.rb +6 -64
  403. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -18
  404. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  405. data/generated/google/apis/servicenetworking_v1/classes.rb +207 -65
  406. data/generated/google/apis/servicenetworking_v1/representations.rb +77 -14
  407. data/generated/google/apis/servicenetworking_v1/service.rb +82 -2
  408. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  409. data/generated/google/apis/servicenetworking_v1beta/classes.rb +140 -65
  410. data/generated/google/apis/servicenetworking_v1beta/representations.rb +46 -14
  411. data/generated/google/apis/serviceusage_v1.rb +1 -1
  412. data/generated/google/apis/serviceusage_v1/classes.rb +6 -64
  413. data/generated/google/apis/serviceusage_v1/representations.rb +0 -18
  414. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  415. data/generated/google/apis/serviceusage_v1beta1/classes.rb +36 -64
  416. data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -18
  417. data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
  418. data/generated/google/apis/sheets_v4.rb +1 -1
  419. data/generated/google/apis/sheets_v4/classes.rb +23 -7
  420. data/generated/google/apis/sheets_v4/representations.rb +3 -0
  421. data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
  422. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +0 -34
  423. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -16
  424. data/generated/google/apis/smartdevicemanagement_v1/service.rb +3 -8
  425. data/generated/google/apis/spanner_v1.rb +1 -1
  426. data/generated/google/apis/spanner_v1/classes.rb +2 -3
  427. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  428. data/generated/google/apis/sqladmin_v1beta4/classes.rb +28 -4
  429. data/generated/google/apis/sqladmin_v1beta4/representations.rb +3 -0
  430. data/generated/google/apis/storage_v1.rb +1 -1
  431. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  432. data/generated/google/apis/storagetransfer_v1/classes.rb +82 -50
  433. data/generated/google/apis/storagetransfer_v1/representations.rb +4 -0
  434. data/generated/google/apis/storagetransfer_v1/service.rb +20 -21
  435. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  436. data/generated/google/apis/streetviewpublish_v1/classes.rb +4 -4
  437. data/generated/google/apis/sts_v1beta.rb +1 -1
  438. data/generated/google/apis/sts_v1beta/classes.rb +12 -11
  439. data/generated/google/apis/tagmanager_v2.rb +1 -1
  440. data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
  441. data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
  442. data/generated/google/apis/testing_v1.rb +1 -1
  443. data/generated/google/apis/testing_v1/classes.rb +45 -33
  444. data/generated/google/apis/testing_v1/representations.rb +1 -0
  445. data/generated/google/apis/testing_v1/service.rb +4 -4
  446. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  447. data/generated/google/apis/toolresults_v1beta3/classes.rb +13 -0
  448. data/generated/google/apis/toolresults_v1beta3/representations.rb +12 -0
  449. data/generated/google/apis/tpu_v1.rb +1 -1
  450. data/generated/google/apis/tpu_v1/classes.rb +3 -3
  451. data/generated/google/apis/tpu_v1/service.rb +8 -8
  452. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  453. data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
  454. data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
  455. data/generated/google/apis/transcoder_v1beta1.rb +34 -0
  456. data/generated/google/apis/transcoder_v1beta1/classes.rb +1684 -0
  457. data/generated/google/apis/transcoder_v1beta1/representations.rb +756 -0
  458. data/generated/google/apis/transcoder_v1beta1/service.rb +329 -0
  459. data/generated/google/apis/translate_v3.rb +1 -1
  460. data/generated/google/apis/translate_v3/classes.rb +2 -1
  461. data/generated/google/apis/translate_v3beta1.rb +1 -1
  462. data/generated/google/apis/translate_v3beta1/classes.rb +2 -1
  463. data/generated/google/apis/vault_v1.rb +1 -1
  464. data/generated/google/apis/vault_v1/classes.rb +333 -0
  465. data/generated/google/apis/vault_v1/representations.rb +162 -0
  466. data/generated/google/apis/vault_v1/service.rb +151 -0
  467. data/generated/google/apis/videointelligence_v1.rb +1 -1
  468. data/generated/google/apis/videointelligence_v1/service.rb +0 -62
  469. data/generated/google/apis/vision_v1.rb +1 -1
  470. data/generated/google/apis/vision_v1/classes.rb +16 -16
  471. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  472. data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
  473. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  474. data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
  475. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  476. data/generated/google/apis/youtube_v3.rb +1 -1
  477. data/generated/google/apis/youtube_v3/service.rb +8 -8
  478. data/google-api-client.gemspec +25 -25
  479. data/lib/google/apis/core/api_command.rb +1 -0
  480. data/lib/google/apis/core/http_command.rb +2 -1
  481. data/lib/google/apis/options.rb +8 -5
  482. data/lib/google/apis/version.rb +1 -1
  483. data/synth.py +40 -0
  484. metadata +47 -16
  485. data/generated/google/apis/displayvideo_v1beta.rb +0 -38
  486. data/generated/google/apis/displayvideo_v1beta/classes.rb +0 -146
  487. data/generated/google/apis/displayvideo_v1beta/representations.rb +0 -72
  488. data/generated/google/apis/displayvideo_v1beta/service.rb +0 -161
  489. data/generated/google/apis/displayvideo_v1beta2.rb +0 -38
  490. data/generated/google/apis/displayvideo_v1beta2/classes.rb +0 -146
  491. data/generated/google/apis/displayvideo_v1beta2/representations.rb +0 -72
  492. data/generated/google/apis/displayvideo_v1beta2/service.rb +0 -130
  493. data/generated/google/apis/displayvideo_v1dev.rb +0 -38
  494. data/generated/google/apis/displayvideo_v1dev/classes.rb +0 -146
  495. data/generated/google/apis/displayvideo_v1dev/representations.rb +0 -72
  496. data/generated/google/apis/displayvideo_v1dev/service.rb +0 -130
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/bid-manager/
27
27
  module DoubleclickbidmanagerV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200827'
29
+ REVISION = '20201016'
30
30
 
31
31
  # View and manage your reports in DoubleClick Bid Manager
32
32
  AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager'
@@ -461,7 +461,8 @@ module Google
461
461
  # @return [String]
462
462
  attr_accessor :frequency
463
463
 
464
- # Deprecated. This field has no effect.
464
+ # Time of day at which a new report will be generated, represented as minutes
465
+ # past midnight. Range is 0 to 1439. Only applies to scheduled reports.
465
466
  # Corresponds to the JSON property `nextRunMinuteOfDay`
466
467
  # @return [Fixnum]
467
468
  attr_accessor :next_run_minute_of_day
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/bid-manager/
27
27
  module DoubleclickbidmanagerV1_1
28
28
  VERSION = 'V1_1'
29
- REVISION = '20200930'
29
+ REVISION = '20201105'
30
30
 
31
31
  # View and manage your reports in DoubleClick Bid Manager
32
32
  AUTH_DOUBLECLICKBIDMANAGER = 'https://www.googleapis.com/auth/doubleclickbidmanager'
@@ -668,7 +668,8 @@ module Google
668
668
  # @return [String]
669
669
  attr_accessor :frequency
670
670
 
671
- # Deprecated. This field has no effect.
671
+ # Time of day at which a new report will be generated, represented as minutes
672
+ # past midnight. Range is 0 to 1439. Only applies to scheduled reports.
672
673
  # Corresponds to the JSON property `nextRunMinuteOfDay`
673
674
  # @return [Fixnum]
674
675
  attr_accessor :next_run_minute_of_day
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/drive/
27
27
  module DriveV2
28
28
  VERSION = 'V2'
29
- REVISION = '20201004'
29
+ REVISION = '20201108'
30
30
 
31
31
  # See, edit, create, and delete all of your Google Drive files
32
32
  AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
@@ -570,7 +570,7 @@ module Google
570
570
  attr_accessor :supports_create
571
571
  alias_method :supports_create?, :supports_create
572
572
 
573
- # Whether this app supports importing Google Docs.
573
+ # Whether this app supports importing from Docs Editors.
574
574
  # Corresponds to the JSON property `supportsImport`
575
575
  # @return [Boolean]
576
576
  attr_accessor :supports_import
@@ -1828,7 +1828,7 @@ module Google
1828
1828
  attr_accessor :description
1829
1829
 
1830
1830
  # Short lived download URL for the file. This field is only populated for files
1831
- # with content stored in Google Drive; it is not populated for Google Docs or
1831
+ # with content stored in Google Drive; it is not populated for Docs Editors or
1832
1832
  # shortcut files.
1833
1833
  # Corresponds to the JSON property `downloadUrl`
1834
1834
  # @return [String]
@@ -1863,21 +1863,21 @@ module Google
1863
1863
  attr_accessor :explicitly_trashed
1864
1864
  alias_method :explicitly_trashed?, :explicitly_trashed
1865
1865
 
1866
- # Links for exporting Google Docs to specific formats.
1866
+ # Links for exporting Docs Editors files to specific formats.
1867
1867
  # Corresponds to the JSON property `exportLinks`
1868
1868
  # @return [Hash<String,String>]
1869
1869
  attr_accessor :export_links
1870
1870
 
1871
1871
  # The final component of fullFileExtension with trailing text that does not
1872
1872
  # appear to be part of the extension removed. This field is only populated for
1873
- # files with content stored in Google Drive; it is not populated for Google Docs
1874
- # or shortcut files.
1873
+ # files with content stored in Google Drive; it is not populated for Docs
1874
+ # Editors or shortcut files.
1875
1875
  # Corresponds to the JSON property `fileExtension`
1876
1876
  # @return [String]
1877
1877
  attr_accessor :file_extension
1878
1878
 
1879
- # The size of the file in bytes. This field is only populated for files with
1880
- # content stored in Google Drive; it is not populated for Google Docs or
1879
+ # The size of the file in bytes. This field is populated for files with content
1880
+ # stored in Google Drive and for files in Docs Editors; it is not populated for
1881
1881
  # shortcut files.
1882
1882
  # Corresponds to the JSON property `fileSize`
1883
1883
  # @return [Fixnum]
@@ -1895,7 +1895,7 @@ module Google
1895
1895
  # concatenated extensions, such as "tar.gz". Removing an extension from the
1896
1896
  # title does not clear this field; however, changing the extension on the title
1897
1897
  # does update this field. This field is only populated for files with content
1898
- # stored in Google Drive; it is not populated for Google Docs or shortcut files.
1898
+ # stored in Google Drive; it is not populated for Docs Editors or shortcut files.
1899
1899
  # Corresponds to the JSON property `fullFileExtension`
1900
1900
  # @return [String]
1901
1901
  attr_accessor :full_file_extension
@@ -1916,7 +1916,7 @@ module Google
1916
1916
  alias_method :has_thumbnail?, :has_thumbnail
1917
1917
 
1918
1918
  # The ID of the file's head revision. This field is only populated for files
1919
- # with content stored in Google Drive; it is not populated for Google Docs or
1919
+ # with content stored in Google Drive; it is not populated for Docs Editors or
1920
1920
  # shortcut files.
1921
1921
  # Corresponds to the JSON property `headRevisionId`
1922
1922
  # @return [String]
@@ -1980,8 +1980,8 @@ module Google
1980
1980
  attr_accessor :marked_viewed_by_me_date
1981
1981
 
1982
1982
  # An MD5 checksum for the content of this file. This field is only populated for
1983
- # files with content stored in Google Drive; it is not populated for Google Docs
1984
- # or shortcut files.
1983
+ # files with content stored in Google Drive; it is not populated for Docs
1984
+ # Editors or shortcut files.
1985
1985
  # Corresponds to the JSON property `md5Checksum`
1986
1986
  # @return [String]
1987
1987
  attr_accessor :md5_checksum
@@ -2120,6 +2120,8 @@ module Google
2120
2120
 
2121
2121
  # A short-lived link to the file's thumbnail. Typically lasts on the order of
2122
2122
  # hours. Only populated when the requesting app can access the file's content.
2123
+ # If the file isn't shared publicly, the URL returned in Files.thumbnailLink
2124
+ # must be fetched using a credentialed request.
2123
2125
  # Corresponds to the JSON property `thumbnailLink`
2124
2126
  # @return [String]
2125
2127
  attr_accessor :thumbnail_link
@@ -3495,7 +3497,7 @@ module Google
3495
3497
  # @return [String]
3496
3498
  attr_accessor :etag
3497
3499
 
3498
- # Links for exporting Google Docs to specific formats.
3500
+ # Links for exporting Docs Editors files to specific formats.
3499
3501
  # Corresponds to the JSON property `exportLinks`
3500
3502
  # @return [Hash<String,String>]
3501
3503
  attr_accessor :export_links
@@ -3549,25 +3551,25 @@ module Google
3549
3551
  attr_accessor :original_filename
3550
3552
 
3551
3553
  # Whether this revision is pinned to prevent automatic purging. This will only
3552
- # be populated and can only be modified on files with content stored in Drive
3553
- # which are not Google Docs. Revisions can also be pinned when they are created
3554
- # through the drive.files.insert/update/copy by using the pinned query parameter.
3555
- # Pinned revisions are stored indefinitely using additional storage quota, up
3556
- # to a maximum of 200 revisions.
3554
+ # be populated and can only be modified on files with content stored in Drive,
3555
+ # excluding Docs Editors files. Revisions can also be pinned when they are
3556
+ # created through the drive.files.insert/update/copy by using the pinned query
3557
+ # parameter. Pinned revisions are stored indefinitely using additional storage
3558
+ # quota, up to a maximum of 200 revisions.
3557
3559
  # Corresponds to the JSON property `pinned`
3558
3560
  # @return [Boolean]
3559
3561
  attr_accessor :pinned
3560
3562
  alias_method :pinned?, :pinned
3561
3563
 
3562
3564
  # Whether subsequent revisions will be automatically republished. This is only
3563
- # populated and can only be modified for Google Docs.
3565
+ # populated and can only be modified for Docs Editors files.
3564
3566
  # Corresponds to the JSON property `publishAuto`
3565
3567
  # @return [Boolean]
3566
3568
  attr_accessor :publish_auto
3567
3569
  alias_method :publish_auto?, :publish_auto
3568
3570
 
3569
3571
  # Whether this revision is published. This is only populated and can only be
3570
- # modified for Google Docs.
3572
+ # modified for Docs Editors files.
3571
3573
  # Corresponds to the JSON property `published`
3572
3574
  # @return [Boolean]
3573
3575
  attr_accessor :published
@@ -3580,7 +3582,7 @@ module Google
3580
3582
  attr_accessor :published_link
3581
3583
 
3582
3584
  # Whether this revision is published outside the domain. This is only populated
3583
- # and can only be modified for Google Docs.
3585
+ # and can only be modified for Docs Editors files.
3584
3586
  # Corresponds to the JSON property `publishedOutsideDomain`
3585
3587
  # @return [Boolean]
3586
3588
  attr_accessor :published_outside_domain
@@ -1144,7 +1144,7 @@ module Google
1144
1144
  # The ID of the file to copy.
1145
1145
  # @param [Google::Apis::DriveV2::File] file_object
1146
1146
  # @param [Boolean] convert
1147
- # Whether to convert this file to the corresponding Google Docs format.
1147
+ # Whether to convert this file to the corresponding Docs Editors format.
1148
1148
  # @param [Boolean] enforce_single_parent
1149
1149
  # Set to true to opt in to API behavior that aims for all items to have exactly
1150
1150
  # one parent. This parameter only takes effect if the item is not in a shared
@@ -1438,7 +1438,7 @@ module Google
1438
1438
  # Insert a new file.
1439
1439
  # @param [Google::Apis::DriveV2::File] file_object
1440
1440
  # @param [Boolean] convert
1441
- # Whether to convert this file to the corresponding Google Docs format.
1441
+ # Whether to convert this file to the corresponding Docs Editors format.
1442
1442
  # @param [Boolean] enforce_single_parent
1443
1443
  # Set to true to opt in to API behavior that aims for all items to have exactly
1444
1444
  # one parent. This parameter only takes effect if the item is not in a shared
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/drive/
27
27
  module DriveV3
28
28
  VERSION = 'V3'
29
- REVISION = '20200813'
29
+ REVISION = '20201108'
30
30
 
31
31
  # See, edit, create, and delete all of your Google Drive files
32
32
  AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
@@ -1057,7 +1057,7 @@ module Google
1057
1057
  attr_accessor :explicitly_trashed
1058
1058
  alias_method :explicitly_trashed?, :explicitly_trashed
1059
1059
 
1060
- # Links for exporting Google Docs to specific formats.
1060
+ # Links for exporting Docs Editors files to specific formats.
1061
1061
  # Corresponds to the JSON property `exportLinks`
1062
1062
  # @return [Hash<String,String>]
1063
1063
  attr_accessor :export_links
@@ -1253,8 +1253,8 @@ module Google
1253
1253
  # @return [Google::Apis::DriveV3::File::ShortcutDetails]
1254
1254
  attr_accessor :shortcut_details
1255
1255
 
1256
- # The size of the file's content in bytes. This is only applicable to files with
1257
- # binary content in Google Drive.
1256
+ # The size of the file's content in bytes. This is applicable to binary files in
1257
+ # Google Drive and Google Docs files.
1258
1258
  # Corresponds to the JSON property `size`
1259
1259
  # @return [Fixnum]
1260
1260
  attr_accessor :size
@@ -1278,7 +1278,8 @@ module Google
1278
1278
 
1279
1279
  # A short-lived link to the file's thumbnail, if available. Typically lasts on
1280
1280
  # the order of hours. Only populated when the requesting app can access the file'
1281
- # s content.
1281
+ # s content. If the file isn't shared publicly, the URL returned in Files.
1282
+ # thumbnailLink must be fetched using a credentialed request.
1282
1283
  # Corresponds to the JSON property `thumbnailLink`
1283
1284
  # @return [String]
1284
1285
  attr_accessor :thumbnail_link
@@ -2435,7 +2436,7 @@ module Google
2435
2436
  class Revision
2436
2437
  include Google::Apis::Core::Hashable
2437
2438
 
2438
- # Links for exporting Google Docs to specific formats.
2439
+ # Links for exporting Docs Editors files to specific formats.
2439
2440
  # Corresponds to the JSON property `exportLinks`
2440
2441
  # @return [Hash<String,String>]
2441
2442
  attr_accessor :export_links
@@ -2489,25 +2490,27 @@ module Google
2489
2490
  attr_accessor :original_filename
2490
2491
 
2491
2492
  # Whether subsequent revisions will be automatically republished. This is only
2492
- # applicable to Google Docs.
2493
+ # applicable to Docs Editors files.
2493
2494
  # Corresponds to the JSON property `publishAuto`
2494
2495
  # @return [Boolean]
2495
2496
  attr_accessor :publish_auto
2496
2497
  alias_method :publish_auto?, :publish_auto
2497
2498
 
2498
- # Whether this revision is published. This is only applicable to Google Docs.
2499
+ # Whether this revision is published. This is only applicable to Docs Editors
2500
+ # files.
2499
2501
  # Corresponds to the JSON property `published`
2500
2502
  # @return [Boolean]
2501
2503
  attr_accessor :published
2502
2504
  alias_method :published?, :published
2503
2505
 
2504
- # A link to the published revision.
2506
+ # A link to the published revision. This is only populated for Google Sites
2507
+ # files.
2505
2508
  # Corresponds to the JSON property `publishedLink`
2506
2509
  # @return [String]
2507
2510
  attr_accessor :published_link
2508
2511
 
2509
2512
  # Whether this revision is published outside the domain. This is only applicable
2510
- # to Google Docs.
2513
+ # to Docs Editors files.
2511
2514
  # Corresponds to the JSON property `publishedOutsideDomain`
2512
2515
  # @return [Boolean]
2513
2516
  attr_accessor :published_outside_domain
@@ -0,0 +1,34 @@
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 'google/apis/eventarc_v1beta1/service.rb'
16
+ require 'google/apis/eventarc_v1beta1/classes.rb'
17
+ require 'google/apis/eventarc_v1beta1/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # Eventarc API
22
+ #
23
+ #
24
+ #
25
+ # @see https://cloud.google.com/eventarc
26
+ module EventarcV1beta1
27
+ VERSION = 'V1beta1'
28
+ REVISION = '20201103'
29
+
30
+ # View and manage your data across Google Cloud Platform services
31
+ AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,937 @@
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 EventarcV1beta1
24
+
25
+ # Specifies the audit configuration for a service. The configuration determines
26
+ # which permission types are logged, and what identities, if any, are exempted
27
+ # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
28
+ # are AuditConfigs for both `allServices` and a specific service, the union of
29
+ # the two AuditConfigs is used for that service: the log_types specified in each
30
+ # AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
31
+ # exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
32
+ # service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
33
+ # exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
34
+ # ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
35
+ # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
36
+ # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
37
+ # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
38
+ # exempts jose@example.com from DATA_READ logging, and aliya@example.com from
39
+ # DATA_WRITE logging.
40
+ class AuditConfig
41
+ include Google::Apis::Core::Hashable
42
+
43
+ # The configuration for logging of each type of permission.
44
+ # Corresponds to the JSON property `auditLogConfigs`
45
+ # @return [Array<Google::Apis::EventarcV1beta1::AuditLogConfig>]
46
+ attr_accessor :audit_log_configs
47
+
48
+ # Specifies a service that will be enabled for audit logging. For example, `
49
+ # storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
50
+ # value that covers all services.
51
+ # Corresponds to the JSON property `service`
52
+ # @return [String]
53
+ attr_accessor :service
54
+
55
+ def initialize(**args)
56
+ update!(**args)
57
+ end
58
+
59
+ # Update properties of this object
60
+ def update!(**args)
61
+ @audit_log_configs = args[:audit_log_configs] if args.key?(:audit_log_configs)
62
+ @service = args[:service] if args.key?(:service)
63
+ end
64
+ end
65
+
66
+ # Provides the configuration for logging a type of permissions. Example: ` "
67
+ # audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
68
+ # jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
69
+ # DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
70
+ # DATA_READ logging.
71
+ class AuditLogConfig
72
+ include Google::Apis::Core::Hashable
73
+
74
+ # Specifies the identities that do not cause logging for this type of permission.
75
+ # Follows the same format of Binding.members.
76
+ # Corresponds to the JSON property `exemptedMembers`
77
+ # @return [Array<String>]
78
+ attr_accessor :exempted_members
79
+
80
+ # The log type that this config enables.
81
+ # Corresponds to the JSON property `logType`
82
+ # @return [String]
83
+ attr_accessor :log_type
84
+
85
+ def initialize(**args)
86
+ update!(**args)
87
+ end
88
+
89
+ # Update properties of this object
90
+ def update!(**args)
91
+ @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
92
+ @log_type = args[:log_type] if args.key?(:log_type)
93
+ end
94
+ end
95
+
96
+ # Associates `members` with a `role`.
97
+ class Binding
98
+ include Google::Apis::Core::Hashable
99
+
100
+ #
101
+ # Corresponds to the JSON property `bindingId`
102
+ # @return [String]
103
+ attr_accessor :binding_id
104
+
105
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
106
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
107
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
108
+ # "Summary size limit" description: "Determines if a summary is less than 100
109
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
110
+ # Requestor is owner" description: "Determines if requestor is the document
111
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
112
+ # Logic): title: "Public documents" description: "Determine whether the document
113
+ # should be publicly visible" expression: "document.type != 'private' &&
114
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
115
+ # string" description: "Create a notification string with a timestamp."
116
+ # expression: "'New message received at ' + string(document.create_time)" The
117
+ # exact variables and functions that may be referenced within an expression are
118
+ # determined by the service that evaluates it. See the service documentation for
119
+ # additional information.
120
+ # Corresponds to the JSON property `condition`
121
+ # @return [Google::Apis::EventarcV1beta1::Expr]
122
+ attr_accessor :condition
123
+
124
+ # Specifies the identities requesting access for a Cloud Platform resource. `
125
+ # members` can have the following values: * `allUsers`: A special identifier
126
+ # that represents anyone who is on the internet; with or without a Google
127
+ # account. * `allAuthenticatedUsers`: A special identifier that represents
128
+ # anyone who is authenticated with a Google account or a service account. * `
129
+ # user:`emailid``: An email address that represents a specific Google account.
130
+ # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
131
+ # address that represents a service account. For example, `my-other-app@appspot.
132
+ # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
133
+ # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
134
+ # `uniqueid``: An email address (plus unique identifier) representing a user
135
+ # that has been recently deleted. For example, `alice@example.com?uid=
136
+ # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
137
+ # emailid`` and the recovered user retains the role in the binding. * `deleted:
138
+ # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
139
+ # identifier) representing a service account that has been recently deleted. For
140
+ # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
141
+ # If the service account is undeleted, this value reverts to `serviceAccount:`
142
+ # emailid`` and the undeleted service account retains the role in the binding. *
143
+ # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
144
+ # identifier) representing a Google group that has been recently deleted. For
145
+ # example, `admins@example.com?uid=123456789012345678901`. If the group is
146
+ # recovered, this value reverts to `group:`emailid`` and the recovered group
147
+ # retains the role in the binding. * `domain:`domain``: The G Suite domain (
148
+ # primary) that represents all the users of that domain. For example, `google.
149
+ # com` or `example.com`.
150
+ # Corresponds to the JSON property `members`
151
+ # @return [Array<String>]
152
+ attr_accessor :members
153
+
154
+ # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
155
+ # , or `roles/owner`.
156
+ # Corresponds to the JSON property `role`
157
+ # @return [String]
158
+ attr_accessor :role
159
+
160
+ def initialize(**args)
161
+ update!(**args)
162
+ end
163
+
164
+ # Update properties of this object
165
+ def update!(**args)
166
+ @binding_id = args[:binding_id] if args.key?(:binding_id)
167
+ @condition = args[:condition] if args.key?(:condition)
168
+ @members = args[:members] if args.key?(:members)
169
+ @role = args[:role] if args.key?(:role)
170
+ end
171
+ end
172
+
173
+ # The request message for Operations.CancelOperation.
174
+ class CancelOperationRequest
175
+ include Google::Apis::Core::Hashable
176
+
177
+ def initialize(**args)
178
+ update!(**args)
179
+ end
180
+
181
+ # Update properties of this object
182
+ def update!(**args)
183
+ end
184
+ end
185
+
186
+ # Represents a Cloud Run service destination.
187
+ class CloudRunService
188
+ include Google::Apis::Core::Hashable
189
+
190
+ # Optional. The relative path on the Cloud Run service the events should be sent
191
+ # to. The value must conform to the definition of URI path segment (section 3.3
192
+ # of RFC2396). Examples: "/route", "route", "route/subroute".
193
+ # Corresponds to the JSON property `path`
194
+ # @return [String]
195
+ attr_accessor :path
196
+
197
+ # Required. The region the Cloud Run service is deployed in.
198
+ # Corresponds to the JSON property `region`
199
+ # @return [String]
200
+ attr_accessor :region
201
+
202
+ # Required. The name of the Cloud run service being addressed (see https://cloud.
203
+ # google.com/run/docs/reference/rest/v1/namespaces.services). Only services
204
+ # located in the same project of the trigger object can be addressed.
205
+ # Corresponds to the JSON property `service`
206
+ # @return [String]
207
+ attr_accessor :service
208
+
209
+ def initialize(**args)
210
+ update!(**args)
211
+ end
212
+
213
+ # Update properties of this object
214
+ def update!(**args)
215
+ @path = args[:path] if args.key?(:path)
216
+ @region = args[:region] if args.key?(:region)
217
+ @service = args[:service] if args.key?(:service)
218
+ end
219
+ end
220
+
221
+ # Represents a target of an invocation over HTTP.
222
+ class Destination
223
+ include Google::Apis::Core::Hashable
224
+
225
+ # Represents a Cloud Run service destination.
226
+ # Corresponds to the JSON property `cloudRunService`
227
+ # @return [Google::Apis::EventarcV1beta1::CloudRunService]
228
+ attr_accessor :cloud_run_service
229
+
230
+ def initialize(**args)
231
+ update!(**args)
232
+ end
233
+
234
+ # Update properties of this object
235
+ def update!(**args)
236
+ @cloud_run_service = args[:cloud_run_service] if args.key?(:cloud_run_service)
237
+ end
238
+ end
239
+
240
+ # A generic empty message that you can re-use to avoid defining duplicated empty
241
+ # messages in your APIs. A typical example is to use it as the request or the
242
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
243
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
244
+ # `Empty` is empty JSON object ````.
245
+ class Empty
246
+ include Google::Apis::Core::Hashable
247
+
248
+ def initialize(**args)
249
+ update!(**args)
250
+ end
251
+
252
+ # Update properties of this object
253
+ def update!(**args)
254
+ end
255
+ end
256
+
257
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
258
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
259
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
260
+ # "Summary size limit" description: "Determines if a summary is less than 100
261
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
262
+ # Requestor is owner" description: "Determines if requestor is the document
263
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
264
+ # Logic): title: "Public documents" description: "Determine whether the document
265
+ # should be publicly visible" expression: "document.type != 'private' &&
266
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
267
+ # string" description: "Create a notification string with a timestamp."
268
+ # expression: "'New message received at ' + string(document.create_time)" The
269
+ # exact variables and functions that may be referenced within an expression are
270
+ # determined by the service that evaluates it. See the service documentation for
271
+ # additional information.
272
+ class Expr
273
+ include Google::Apis::Core::Hashable
274
+
275
+ # Optional. Description of the expression. This is a longer text which describes
276
+ # the expression, e.g. when hovered over it in a UI.
277
+ # Corresponds to the JSON property `description`
278
+ # @return [String]
279
+ attr_accessor :description
280
+
281
+ # Textual representation of an expression in Common Expression Language syntax.
282
+ # Corresponds to the JSON property `expression`
283
+ # @return [String]
284
+ attr_accessor :expression
285
+
286
+ # Optional. String indicating the location of the expression for error reporting,
287
+ # e.g. a file name and a position in the file.
288
+ # Corresponds to the JSON property `location`
289
+ # @return [String]
290
+ attr_accessor :location
291
+
292
+ # Optional. Title for the expression, i.e. a short string describing its purpose.
293
+ # This can be used e.g. in UIs which allow to enter the expression.
294
+ # Corresponds to the JSON property `title`
295
+ # @return [String]
296
+ attr_accessor :title
297
+
298
+ def initialize(**args)
299
+ update!(**args)
300
+ end
301
+
302
+ # Update properties of this object
303
+ def update!(**args)
304
+ @description = args[:description] if args.key?(:description)
305
+ @expression = args[:expression] if args.key?(:expression)
306
+ @location = args[:location] if args.key?(:location)
307
+ @title = args[:title] if args.key?(:title)
308
+ end
309
+ end
310
+
311
+ # The response message for Locations.ListLocations.
312
+ class ListLocationsResponse
313
+ include Google::Apis::Core::Hashable
314
+
315
+ # A list of locations that matches the specified filter in the request.
316
+ # Corresponds to the JSON property `locations`
317
+ # @return [Array<Google::Apis::EventarcV1beta1::Location>]
318
+ attr_accessor :locations
319
+
320
+ # The standard List next-page token.
321
+ # Corresponds to the JSON property `nextPageToken`
322
+ # @return [String]
323
+ attr_accessor :next_page_token
324
+
325
+ def initialize(**args)
326
+ update!(**args)
327
+ end
328
+
329
+ # Update properties of this object
330
+ def update!(**args)
331
+ @locations = args[:locations] if args.key?(:locations)
332
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
333
+ end
334
+ end
335
+
336
+ # The response message for Operations.ListOperations.
337
+ class ListOperationsResponse
338
+ include Google::Apis::Core::Hashable
339
+
340
+ # The standard List next-page token.
341
+ # Corresponds to the JSON property `nextPageToken`
342
+ # @return [String]
343
+ attr_accessor :next_page_token
344
+
345
+ # A list of operations that matches the specified filter in the request.
346
+ # Corresponds to the JSON property `operations`
347
+ # @return [Array<Google::Apis::EventarcV1beta1::Operation>]
348
+ attr_accessor :operations
349
+
350
+ def initialize(**args)
351
+ update!(**args)
352
+ end
353
+
354
+ # Update properties of this object
355
+ def update!(**args)
356
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
357
+ @operations = args[:operations] if args.key?(:operations)
358
+ end
359
+ end
360
+
361
+ # The response message for the ListTriggers method.
362
+ class ListTriggersResponse
363
+ include Google::Apis::Core::Hashable
364
+
365
+ # A page token that can be sent to ListTriggers to request the next page. If
366
+ # this is empty, then there are no more pages.
367
+ # Corresponds to the JSON property `nextPageToken`
368
+ # @return [String]
369
+ attr_accessor :next_page_token
370
+
371
+ # The requested triggers, up to the number specified in `page_size`.
372
+ # Corresponds to the JSON property `triggers`
373
+ # @return [Array<Google::Apis::EventarcV1beta1::Trigger>]
374
+ attr_accessor :triggers
375
+
376
+ # Unreachable resources, if any.
377
+ # Corresponds to the JSON property `unreachable`
378
+ # @return [Array<String>]
379
+ attr_accessor :unreachable
380
+
381
+ def initialize(**args)
382
+ update!(**args)
383
+ end
384
+
385
+ # Update properties of this object
386
+ def update!(**args)
387
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
388
+ @triggers = args[:triggers] if args.key?(:triggers)
389
+ @unreachable = args[:unreachable] if args.key?(:unreachable)
390
+ end
391
+ end
392
+
393
+ # A resource that represents Google Cloud Platform location.
394
+ class Location
395
+ include Google::Apis::Core::Hashable
396
+
397
+ # The friendly name for this location, typically a nearby city name. For example,
398
+ # "Tokyo".
399
+ # Corresponds to the JSON property `displayName`
400
+ # @return [String]
401
+ attr_accessor :display_name
402
+
403
+ # Cross-service attributes for the location. For example `"cloud.googleapis.com/
404
+ # region": "us-east1"`
405
+ # Corresponds to the JSON property `labels`
406
+ # @return [Hash<String,String>]
407
+ attr_accessor :labels
408
+
409
+ # The canonical id for this location. For example: `"us-east1"`.
410
+ # Corresponds to the JSON property `locationId`
411
+ # @return [String]
412
+ attr_accessor :location_id
413
+
414
+ # Service-specific metadata. For example the available capacity at the given
415
+ # location.
416
+ # Corresponds to the JSON property `metadata`
417
+ # @return [Hash<String,Object>]
418
+ attr_accessor :metadata
419
+
420
+ # Resource name for the location, which may vary between implementations. For
421
+ # example: `"projects/example-project/locations/us-east1"`
422
+ # Corresponds to the JSON property `name`
423
+ # @return [String]
424
+ attr_accessor :name
425
+
426
+ def initialize(**args)
427
+ update!(**args)
428
+ end
429
+
430
+ # Update properties of this object
431
+ def update!(**args)
432
+ @display_name = args[:display_name] if args.key?(:display_name)
433
+ @labels = args[:labels] if args.key?(:labels)
434
+ @location_id = args[:location_id] if args.key?(:location_id)
435
+ @metadata = args[:metadata] if args.key?(:metadata)
436
+ @name = args[:name] if args.key?(:name)
437
+ end
438
+ end
439
+
440
+ # Matches events based on exact matches on the CloudEvents attributes.
441
+ class MatchingCriteria
442
+ include Google::Apis::Core::Hashable
443
+
444
+ # Required. The name of a CloudEvents atrribute. Currently, only a subset of
445
+ # attributes can be specified. All triggers MUST provide a matching criteria for
446
+ # attribute 'type'. Event types specify what event type has attributes are
447
+ # allowed based on
448
+ # Corresponds to the JSON property `attribute`
449
+ # @return [String]
450
+ attr_accessor :attribute
451
+
452
+ # Required. The value for the attribute
453
+ # Corresponds to the JSON property `value`
454
+ # @return [String]
455
+ attr_accessor :value
456
+
457
+ def initialize(**args)
458
+ update!(**args)
459
+ end
460
+
461
+ # Update properties of this object
462
+ def update!(**args)
463
+ @attribute = args[:attribute] if args.key?(:attribute)
464
+ @value = args[:value] if args.key?(:value)
465
+ end
466
+ end
467
+
468
+ # This resource represents a long-running operation that is the result of a
469
+ # network API call.
470
+ class Operation
471
+ include Google::Apis::Core::Hashable
472
+
473
+ # If the value is `false`, it means the operation is still in progress. If `true`
474
+ # , the operation is completed, and either `error` or `response` is available.
475
+ # Corresponds to the JSON property `done`
476
+ # @return [Boolean]
477
+ attr_accessor :done
478
+ alias_method :done?, :done
479
+
480
+ # The `Status` type defines a logical error model that is suitable for different
481
+ # programming environments, including REST APIs and RPC APIs. It is used by [
482
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
483
+ # data: error code, error message, and error details. You can find out more
484
+ # about this error model and how to work with it in the [API Design Guide](https:
485
+ # //cloud.google.com/apis/design/errors).
486
+ # Corresponds to the JSON property `error`
487
+ # @return [Google::Apis::EventarcV1beta1::Status]
488
+ attr_accessor :error
489
+
490
+ # Service-specific metadata associated with the operation. It typically contains
491
+ # progress information and common metadata such as create time. Some services
492
+ # might not provide such metadata. Any method that returns a long-running
493
+ # operation should document the metadata type, if any.
494
+ # Corresponds to the JSON property `metadata`
495
+ # @return [Hash<String,Object>]
496
+ attr_accessor :metadata
497
+
498
+ # The server-assigned name, which is only unique within the same service that
499
+ # originally returns it. If you use the default HTTP mapping, the `name` should
500
+ # be a resource name ending with `operations/`unique_id``.
501
+ # Corresponds to the JSON property `name`
502
+ # @return [String]
503
+ attr_accessor :name
504
+
505
+ # The normal response of the operation in case of success. If the original
506
+ # method returns no data on success, such as `Delete`, the response is `google.
507
+ # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
508
+ # the response should be the resource. For other methods, the response should
509
+ # have the type `XxxResponse`, where `Xxx` is the original method name. For
510
+ # example, if the original method name is `TakeSnapshot()`, the inferred
511
+ # response type is `TakeSnapshotResponse`.
512
+ # Corresponds to the JSON property `response`
513
+ # @return [Hash<String,Object>]
514
+ attr_accessor :response
515
+
516
+ def initialize(**args)
517
+ update!(**args)
518
+ end
519
+
520
+ # Update properties of this object
521
+ def update!(**args)
522
+ @done = args[:done] if args.key?(:done)
523
+ @error = args[:error] if args.key?(:error)
524
+ @metadata = args[:metadata] if args.key?(:metadata)
525
+ @name = args[:name] if args.key?(:name)
526
+ @response = args[:response] if args.key?(:response)
527
+ end
528
+ end
529
+
530
+ # Represents the metadata of the long-running operation.
531
+ class OperationMetadata
532
+ include Google::Apis::Core::Hashable
533
+
534
+ # Output only. API version used to start the operation.
535
+ # Corresponds to the JSON property `apiVersion`
536
+ # @return [String]
537
+ attr_accessor :api_version
538
+
539
+ # Output only. The time the operation was created.
540
+ # Corresponds to the JSON property `createTime`
541
+ # @return [String]
542
+ attr_accessor :create_time
543
+
544
+ # Output only. The time the operation finished running.
545
+ # Corresponds to the JSON property `endTime`
546
+ # @return [String]
547
+ attr_accessor :end_time
548
+
549
+ # Output only. Identifies whether the user has requested cancellation of the
550
+ # operation. Operations that have successfully been cancelled have Operation.
551
+ # error value with a google.rpc.Status.code of 1, corresponding to `Code.
552
+ # CANCELLED`.
553
+ # Corresponds to the JSON property `requestedCancellation`
554
+ # @return [Boolean]
555
+ attr_accessor :requested_cancellation
556
+ alias_method :requested_cancellation?, :requested_cancellation
557
+
558
+ # Output only. Human-readable status of the operation, if any.
559
+ # Corresponds to the JSON property `statusMessage`
560
+ # @return [String]
561
+ attr_accessor :status_message
562
+
563
+ # Output only. Server-defined resource path for the target of the operation.
564
+ # Corresponds to the JSON property `target`
565
+ # @return [String]
566
+ attr_accessor :target
567
+
568
+ # Output only. Name of the verb executed by the operation.
569
+ # Corresponds to the JSON property `verb`
570
+ # @return [String]
571
+ attr_accessor :verb
572
+
573
+ def initialize(**args)
574
+ update!(**args)
575
+ end
576
+
577
+ # Update properties of this object
578
+ def update!(**args)
579
+ @api_version = args[:api_version] if args.key?(:api_version)
580
+ @create_time = args[:create_time] if args.key?(:create_time)
581
+ @end_time = args[:end_time] if args.key?(:end_time)
582
+ @requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
583
+ @status_message = args[:status_message] if args.key?(:status_message)
584
+ @target = args[:target] if args.key?(:target)
585
+ @verb = args[:verb] if args.key?(:verb)
586
+ end
587
+ end
588
+
589
+ # An Identity and Access Management (IAM) policy, which specifies access
590
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
591
+ # A `binding` binds one or more `members` to a single `role`. Members can be
592
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
593
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
594
+ # role or a user-created custom role. For some types of Google Cloud resources,
595
+ # a `binding` can also specify a `condition`, which is a logical expression that
596
+ # allows access to a resource only if the expression evaluates to `true`. A
597
+ # condition can add constraints based on attributes of the request, the resource,
598
+ # or both. To learn which resources support conditions in their IAM policies,
599
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
600
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
601
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
602
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
603
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
604
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
605
+ # title": "expirable access", "description": "Does not grant access after Sep
606
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
607
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
608
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
609
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
610
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
611
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
612
+ # description: Does not grant access after Sep 2020 expression: request.time <
613
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
614
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
615
+ # google.com/iam/docs/).
616
+ class Policy
617
+ include Google::Apis::Core::Hashable
618
+
619
+ # Specifies cloud audit logging configuration for this policy.
620
+ # Corresponds to the JSON property `auditConfigs`
621
+ # @return [Array<Google::Apis::EventarcV1beta1::AuditConfig>]
622
+ attr_accessor :audit_configs
623
+
624
+ # Associates a list of `members` to a `role`. Optionally, may specify a `
625
+ # condition` that determines how and when the `bindings` are applied. Each of
626
+ # the `bindings` must contain at least one member.
627
+ # Corresponds to the JSON property `bindings`
628
+ # @return [Array<Google::Apis::EventarcV1beta1::Binding>]
629
+ attr_accessor :bindings
630
+
631
+ # `etag` is used for optimistic concurrency control as a way to help prevent
632
+ # simultaneous updates of a policy from overwriting each other. It is strongly
633
+ # suggested that systems make use of the `etag` in the read-modify-write cycle
634
+ # to perform policy updates in order to avoid race conditions: An `etag` is
635
+ # returned in the response to `getIamPolicy`, and systems are expected to put
636
+ # that etag in the request to `setIamPolicy` to ensure that their change will be
637
+ # applied to the same version of the policy. **Important:** If you use IAM
638
+ # Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
639
+ # If you omit this field, then IAM allows you to overwrite a version `3` policy
640
+ # with a version `1` policy, and all of the conditions in the version `3` policy
641
+ # are lost.
642
+ # Corresponds to the JSON property `etag`
643
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
644
+ # @return [String]
645
+ attr_accessor :etag
646
+
647
+ # Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
648
+ # Requests that specify an invalid value are rejected. Any operation that
649
+ # affects conditional role bindings must specify version `3`. This requirement
650
+ # applies to the following operations: * Getting a policy that includes a
651
+ # conditional role binding * Adding a conditional role binding to a policy *
652
+ # Changing a conditional role binding in a policy * Removing any role binding,
653
+ # with or without a condition, from a policy that includes conditions **
654
+ # Important:** If you use IAM Conditions, you must include the `etag` field
655
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
656
+ # to overwrite a version `3` policy with a version `1` policy, and all of the
657
+ # conditions in the version `3` policy are lost. If a policy does not include
658
+ # any conditions, operations on that policy may specify any valid version or
659
+ # leave the field unset. To learn which resources support conditions in their
660
+ # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
661
+ # conditions/resource-policies).
662
+ # Corresponds to the JSON property `version`
663
+ # @return [Fixnum]
664
+ attr_accessor :version
665
+
666
+ def initialize(**args)
667
+ update!(**args)
668
+ end
669
+
670
+ # Update properties of this object
671
+ def update!(**args)
672
+ @audit_configs = args[:audit_configs] if args.key?(:audit_configs)
673
+ @bindings = args[:bindings] if args.key?(:bindings)
674
+ @etag = args[:etag] if args.key?(:etag)
675
+ @version = args[:version] if args.key?(:version)
676
+ end
677
+ end
678
+
679
+ # Represents a Pub/Sub transport.
680
+ class Pubsub
681
+ include Google::Apis::Core::Hashable
682
+
683
+ # The name of the Pub/Sub subscription created and managed by Eventarc system as
684
+ # a transport for the event delivery. The value must be in the form of `projects/
685
+ # `PROJECT_ID`/subscriptions/`SUBSCRIPTION_NAME`
686
+ # Corresponds to the JSON property `subscription`
687
+ # @return [String]
688
+ attr_accessor :subscription
689
+
690
+ # The name of the Pub/Sub topic created and managed by Eventarc system as a
691
+ # transport for the event delivery. The value must be in the form of `projects/`
692
+ # PROJECT_ID`/topics/`TOPIC_NAME`
693
+ # Corresponds to the JSON property `topic`
694
+ # @return [String]
695
+ attr_accessor :topic
696
+
697
+ def initialize(**args)
698
+ update!(**args)
699
+ end
700
+
701
+ # Update properties of this object
702
+ def update!(**args)
703
+ @subscription = args[:subscription] if args.key?(:subscription)
704
+ @topic = args[:topic] if args.key?(:topic)
705
+ end
706
+ end
707
+
708
+ # Request message for `SetIamPolicy` method.
709
+ class SetIamPolicyRequest
710
+ include Google::Apis::Core::Hashable
711
+
712
+ # An Identity and Access Management (IAM) policy, which specifies access
713
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
714
+ # A `binding` binds one or more `members` to a single `role`. Members can be
715
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
716
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
717
+ # role or a user-created custom role. For some types of Google Cloud resources,
718
+ # a `binding` can also specify a `condition`, which is a logical expression that
719
+ # allows access to a resource only if the expression evaluates to `true`. A
720
+ # condition can add constraints based on attributes of the request, the resource,
721
+ # or both. To learn which resources support conditions in their IAM policies,
722
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
723
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
724
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
725
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
726
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
727
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
728
+ # title": "expirable access", "description": "Does not grant access after Sep
729
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
730
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
731
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
732
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
733
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
734
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
735
+ # description: Does not grant access after Sep 2020 expression: request.time <
736
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
737
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
738
+ # google.com/iam/docs/).
739
+ # Corresponds to the JSON property `policy`
740
+ # @return [Google::Apis::EventarcV1beta1::Policy]
741
+ attr_accessor :policy
742
+
743
+ # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
744
+ # the fields in the mask will be modified. If no mask is provided, the following
745
+ # default mask is used: `paths: "bindings, etag"`
746
+ # Corresponds to the JSON property `updateMask`
747
+ # @return [String]
748
+ attr_accessor :update_mask
749
+
750
+ def initialize(**args)
751
+ update!(**args)
752
+ end
753
+
754
+ # Update properties of this object
755
+ def update!(**args)
756
+ @policy = args[:policy] if args.key?(:policy)
757
+ @update_mask = args[:update_mask] if args.key?(:update_mask)
758
+ end
759
+ end
760
+
761
+ # The `Status` type defines a logical error model that is suitable for different
762
+ # programming environments, including REST APIs and RPC APIs. It is used by [
763
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
764
+ # data: error code, error message, and error details. You can find out more
765
+ # about this error model and how to work with it in the [API Design Guide](https:
766
+ # //cloud.google.com/apis/design/errors).
767
+ class Status
768
+ include Google::Apis::Core::Hashable
769
+
770
+ # The status code, which should be an enum value of google.rpc.Code.
771
+ # Corresponds to the JSON property `code`
772
+ # @return [Fixnum]
773
+ attr_accessor :code
774
+
775
+ # A list of messages that carry the error details. There is a common set of
776
+ # message types for APIs to use.
777
+ # Corresponds to the JSON property `details`
778
+ # @return [Array<Hash<String,Object>>]
779
+ attr_accessor :details
780
+
781
+ # A developer-facing error message, which should be in English. Any user-facing
782
+ # error message should be localized and sent in the google.rpc.Status.details
783
+ # field, or localized by the client.
784
+ # Corresponds to the JSON property `message`
785
+ # @return [String]
786
+ attr_accessor :message
787
+
788
+ def initialize(**args)
789
+ update!(**args)
790
+ end
791
+
792
+ # Update properties of this object
793
+ def update!(**args)
794
+ @code = args[:code] if args.key?(:code)
795
+ @details = args[:details] if args.key?(:details)
796
+ @message = args[:message] if args.key?(:message)
797
+ end
798
+ end
799
+
800
+ # Request message for `TestIamPermissions` method.
801
+ class TestIamPermissionsRequest
802
+ include Google::Apis::Core::Hashable
803
+
804
+ # The set of permissions to check for the `resource`. Permissions with wildcards
805
+ # (such as '*' or 'storage.*') are not allowed. For more information see [IAM
806
+ # Overview](https://cloud.google.com/iam/docs/overview#permissions).
807
+ # Corresponds to the JSON property `permissions`
808
+ # @return [Array<String>]
809
+ attr_accessor :permissions
810
+
811
+ def initialize(**args)
812
+ update!(**args)
813
+ end
814
+
815
+ # Update properties of this object
816
+ def update!(**args)
817
+ @permissions = args[:permissions] if args.key?(:permissions)
818
+ end
819
+ end
820
+
821
+ # Response message for `TestIamPermissions` method.
822
+ class TestIamPermissionsResponse
823
+ include Google::Apis::Core::Hashable
824
+
825
+ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
826
+ # Corresponds to the JSON property `permissions`
827
+ # @return [Array<String>]
828
+ attr_accessor :permissions
829
+
830
+ def initialize(**args)
831
+ update!(**args)
832
+ end
833
+
834
+ # Update properties of this object
835
+ def update!(**args)
836
+ @permissions = args[:permissions] if args.key?(:permissions)
837
+ end
838
+ end
839
+
840
+ # Represents the transport intermediaries created for the trigger in order to
841
+ # deliver events.
842
+ class Transport
843
+ include Google::Apis::Core::Hashable
844
+
845
+ # Represents a Pub/Sub transport.
846
+ # Corresponds to the JSON property `pubsub`
847
+ # @return [Google::Apis::EventarcV1beta1::Pubsub]
848
+ attr_accessor :pubsub
849
+
850
+ def initialize(**args)
851
+ update!(**args)
852
+ end
853
+
854
+ # Update properties of this object
855
+ def update!(**args)
856
+ @pubsub = args[:pubsub] if args.key?(:pubsub)
857
+ end
858
+ end
859
+
860
+ # A representation of the trigger resource.
861
+ class Trigger
862
+ include Google::Apis::Core::Hashable
863
+
864
+ # Output only. The creation time.
865
+ # Corresponds to the JSON property `createTime`
866
+ # @return [String]
867
+ attr_accessor :create_time
868
+
869
+ # Represents a target of an invocation over HTTP.
870
+ # Corresponds to the JSON property `destination`
871
+ # @return [Google::Apis::EventarcV1beta1::Destination]
872
+ attr_accessor :destination
873
+
874
+ # Output only. This checksum is computed by the server based on the value of
875
+ # other fields, and may be sent only on create requests to ensure the client has
876
+ # an up-to-date value before proceeding.
877
+ # Corresponds to the JSON property `etag`
878
+ # @return [String]
879
+ attr_accessor :etag
880
+
881
+ # Required. The criteria by which events are filtered. Only events that match
882
+ # with this critera will be sent to the destinations.
883
+ # Corresponds to the JSON property `matchingCriteria`
884
+ # @return [Array<Google::Apis::EventarcV1beta1::MatchingCriteria>]
885
+ attr_accessor :matching_criteria
886
+
887
+ # Required. The resource name of the trigger. Must be unique within the location
888
+ # on the project. Format: projects/`project`/locations/`location`/triggers/`
889
+ # trigger`
890
+ # Corresponds to the JSON property `name`
891
+ # @return [String]
892
+ attr_accessor :name
893
+
894
+ # Optional. The IAM service account email associated with the trigger. The
895
+ # service account represents the identity of the trigger. The principal who
896
+ # calls this API must have `iam.serviceAccounts.actAs` permission in the service
897
+ # account. See https://cloud.google.com/iam/docs/understanding-service-accounts?
898
+ # hl=en#sa_common for more information. For Cloud Run destinations, this service
899
+ # account is used to generate identity tokens when invoking the service. See
900
+ # https://cloud.google.com/run/docs/triggering/pubsub-push#create-service-
901
+ # account for information on how to invoke authenticated Cloud Run services. In
902
+ # order to create Audit Log triggers, the service account should also have '
903
+ # eventarc.events.receiveAuditLogV1Written' permission.
904
+ # Corresponds to the JSON property `serviceAccount`
905
+ # @return [String]
906
+ attr_accessor :service_account
907
+
908
+ # Represents the transport intermediaries created for the trigger in order to
909
+ # deliver events.
910
+ # Corresponds to the JSON property `transport`
911
+ # @return [Google::Apis::EventarcV1beta1::Transport]
912
+ attr_accessor :transport
913
+
914
+ # Output only. The last-modified time.
915
+ # Corresponds to the JSON property `updateTime`
916
+ # @return [String]
917
+ attr_accessor :update_time
918
+
919
+ def initialize(**args)
920
+ update!(**args)
921
+ end
922
+
923
+ # Update properties of this object
924
+ def update!(**args)
925
+ @create_time = args[:create_time] if args.key?(:create_time)
926
+ @destination = args[:destination] if args.key?(:destination)
927
+ @etag = args[:etag] if args.key?(:etag)
928
+ @matching_criteria = args[:matching_criteria] if args.key?(:matching_criteria)
929
+ @name = args[:name] if args.key?(:name)
930
+ @service_account = args[:service_account] if args.key?(:service_account)
931
+ @transport = args[:transport] if args.key?(:transport)
932
+ @update_time = args[:update_time] if args.key?(:update_time)
933
+ end
934
+ end
935
+ end
936
+ end
937
+ end