google-api-client 0.46.2 → 0.51.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (556) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/release-please.yml +79 -0
  3. data/.kokoro/trampoline.sh +0 -0
  4. data/CHANGELOG.md +736 -192
  5. data/Gemfile +1 -0
  6. data/Rakefile +31 -3
  7. data/generated/google/apis/accessapproval_v1.rb +1 -1
  8. data/generated/google/apis/accessapproval_v1/classes.rb +13 -15
  9. data/generated/google/apis/accessapproval_v1/service.rb +12 -9
  10. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +50 -6
  12. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +18 -0
  13. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +3 -1
  14. data/generated/google/apis/admob_v1.rb +4 -1
  15. data/generated/google/apis/admob_v1/service.rb +4 -0
  16. data/generated/google/apis/admob_v1beta.rb +38 -0
  17. data/generated/google/apis/admob_v1beta/classes.rb +1035 -0
  18. data/generated/google/apis/admob_v1beta/representations.rb +472 -0
  19. data/generated/google/apis/admob_v1beta/service.rb +279 -0
  20. data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
  21. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +13 -12
  22. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +28 -12
  23. data/generated/google/apis/analyticsdata_v1alpha.rb +2 -2
  24. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +263 -69
  25. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +52 -14
  26. data/generated/google/apis/analyticsdata_v1alpha/service.rb +44 -33
  27. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  28. data/generated/google/apis/androidenterprise_v1/classes.rb +6 -0
  29. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  30. data/generated/google/apis/androidenterprise_v1/service.rb +4 -1
  31. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  32. data/generated/google/apis/androidmanagement_v1/classes.rb +98 -30
  33. data/generated/google/apis/androidmanagement_v1/representations.rb +19 -0
  34. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  35. data/generated/google/apis/androidpublisher_v3/classes.rb +2 -1
  36. data/generated/google/apis/androidpublisher_v3/service.rb +4 -4
  37. data/generated/google/apis/apigateway_v1beta.rb +1 -1
  38. data/generated/google/apis/apigateway_v1beta/classes.rb +8 -5
  39. data/generated/google/apis/apigateway_v1beta/representations.rb +1 -0
  40. data/generated/google/apis/apigee_v1.rb +1 -1
  41. data/generated/google/apis/apigee_v1/classes.rb +378 -138
  42. data/generated/google/apis/apigee_v1/representations.rb +109 -18
  43. data/generated/google/apis/apigee_v1/service.rb +674 -56
  44. data/generated/google/apis/appengine_v1beta.rb +1 -1
  45. data/generated/google/apis/appengine_v1beta/classes.rb +8 -0
  46. data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
  47. data/generated/google/apis/area120tables_v1alpha1.rb +49 -0
  48. data/generated/google/apis/area120tables_v1alpha1/classes.rb +481 -0
  49. data/generated/google/apis/area120tables_v1alpha1/representations.rb +279 -0
  50. data/generated/google/apis/area120tables_v1alpha1/service.rb +448 -0
  51. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  52. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +0 -7
  53. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +0 -1
  54. data/generated/google/apis/artifactregistry_v1beta2.rb +38 -0
  55. data/generated/google/apis/artifactregistry_v1beta2/classes.rb +1037 -0
  56. data/generated/google/apis/artifactregistry_v1beta2/representations.rb +443 -0
  57. data/generated/google/apis/artifactregistry_v1beta2/service.rb +944 -0
  58. data/generated/google/apis/{assuredworkloads_v1beta1.rb → assuredworkloads_v1.rb} +6 -6
  59. data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/classes.rb +69 -137
  60. data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/representations.rb +29 -87
  61. data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/service.rb +46 -46
  62. data/generated/google/apis/bigquery_v2.rb +1 -1
  63. data/generated/google/apis/bigquery_v2/classes.rb +78 -0
  64. data/generated/google/apis/bigquery_v2/representations.rb +34 -0
  65. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  66. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -0
  67. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +1 -0
  68. data/generated/google/apis/billingbudgets_v1.rb +1 -1
  69. data/generated/google/apis/billingbudgets_v1/classes.rb +11 -0
  70. data/generated/google/apis/billingbudgets_v1/representations.rb +1 -0
  71. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  72. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +11 -0
  73. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  74. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  75. data/generated/google/apis/binaryauthorization_v1/classes.rb +2 -9
  76. data/generated/google/apis/binaryauthorization_v1/representations.rb +0 -1
  77. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  78. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +4 -10
  79. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +0 -1
  80. data/generated/google/apis/books_v1.rb +1 -1
  81. data/generated/google/apis/books_v1/service.rb +52 -52
  82. data/generated/google/apis/calendar_v3.rb +1 -1
  83. data/generated/google/apis/calendar_v3/classes.rb +2 -2
  84. data/generated/google/apis/chat_v1.rb +1 -1
  85. data/generated/google/apis/chat_v1/classes.rb +7 -0
  86. data/generated/google/apis/chat_v1/representations.rb +1 -0
  87. data/generated/google/apis/chat_v1/service.rb +176 -0
  88. data/generated/google/apis/cloudasset_v1.rb +1 -1
  89. data/generated/google/apis/cloudasset_v1/classes.rb +1125 -0
  90. data/generated/google/apis/cloudasset_v1/representations.rb +474 -0
  91. data/generated/google/apis/cloudasset_v1/service.rb +171 -0
  92. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  93. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  94. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  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 +1 -1
  98. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  99. data/generated/google/apis/cloudbuild_v1/classes.rb +3 -2
  100. data/generated/google/apis/cloudbuild_v1/service.rb +11 -3
  101. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  102. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  103. data/generated/google/apis/cloudidentity_v1/service.rb +15 -7
  104. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  105. data/generated/google/apis/cloudidentity_v1beta1/service.rb +37 -21
  106. data/generated/google/apis/cloudiot_v1.rb +1 -1
  107. data/generated/google/apis/cloudiot_v1/classes.rb +0 -7
  108. data/generated/google/apis/cloudiot_v1/representations.rb +0 -1
  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/cloudsearch_v1.rb +1 -1
  126. data/generated/google/apis/cloudsearch_v1/classes.rb +10 -5
  127. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  128. data/generated/google/apis/cloudtasks_v2/classes.rb +0 -7
  129. data/generated/google/apis/cloudtasks_v2/representations.rb +0 -1
  130. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  131. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +0 -7
  132. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +0 -1
  133. data/generated/google/apis/cloudtasks_v2beta2/service.rb +12 -2
  134. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  135. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +0 -7
  136. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +0 -1
  137. data/generated/google/apis/composer_v1.rb +1 -1
  138. data/generated/google/apis/composer_v1/classes.rb +123 -0
  139. data/generated/google/apis/composer_v1/representations.rb +49 -0
  140. data/generated/google/apis/composer_v1/service.rb +19 -15
  141. data/generated/google/apis/composer_v1beta1.rb +1 -1
  142. data/generated/google/apis/composer_v1beta1/classes.rb +109 -0
  143. data/generated/google/apis/composer_v1beta1/representations.rb +46 -0
  144. data/generated/google/apis/composer_v1beta1/service.rb +39 -1
  145. data/generated/google/apis/compute_v1.rb +1 -1
  146. data/generated/google/apis/compute_v1/classes.rb +289 -31
  147. data/generated/google/apis/compute_v1/representations.rb +44 -0
  148. data/generated/google/apis/compute_v1/service.rb +695 -545
  149. data/generated/google/apis/container_v1beta1.rb +1 -1
  150. data/generated/google/apis/container_v1beta1/classes.rb +29 -0
  151. data/generated/google/apis/container_v1beta1/representations.rb +15 -0
  152. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  153. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +0 -7
  154. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +0 -1
  155. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  156. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +2 -8
  157. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +0 -1
  158. data/generated/google/apis/content_v2.rb +3 -4
  159. data/generated/google/apis/content_v2/classes.rb +514 -1222
  160. data/generated/google/apis/content_v2/service.rb +380 -651
  161. data/generated/google/apis/content_v2_1.rb +3 -4
  162. data/generated/google/apis/content_v2_1/classes.rb +1522 -1062
  163. data/generated/google/apis/content_v2_1/representations.rb +420 -0
  164. data/generated/google/apis/content_v2_1/service.rb +1127 -809
  165. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  166. data/generated/google/apis/datacatalog_v1beta1/classes.rb +25 -17
  167. data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -1
  168. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  169. data/generated/google/apis/dataflow_v1b3/classes.rb +29 -1
  170. data/generated/google/apis/dataflow_v1b3/representations.rb +5 -0
  171. data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
  172. data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
  173. data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
  174. data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
  175. data/generated/google/apis/datamigration_v1beta1.rb +34 -0
  176. data/generated/google/apis/datamigration_v1beta1/classes.rb +1670 -0
  177. data/generated/google/apis/datamigration_v1beta1/representations.rb +678 -0
  178. data/generated/google/apis/datamigration_v1beta1/service.rb +1172 -0
  179. data/generated/google/apis/dataproc_v1.rb +1 -1
  180. data/generated/google/apis/dataproc_v1/classes.rb +95 -12
  181. data/generated/google/apis/dataproc_v1/representations.rb +23 -1
  182. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  183. data/generated/google/apis/dataproc_v1beta2/classes.rb +63 -12
  184. data/generated/google/apis/dataproc_v1beta2/representations.rb +19 -1
  185. data/generated/google/apis/datastore_v1.rb +1 -1
  186. data/generated/google/apis/datastore_v1/classes.rb +4 -4
  187. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  188. data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
  189. data/generated/google/apis/deploymentmanager_v2.rb +6 -4
  190. data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
  191. data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
  192. data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
  193. data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
  194. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
  195. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
  196. data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
  197. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  198. data/generated/google/apis/dfareporting_v3_3/classes.rb +6 -6
  199. data/generated/google/apis/dfareporting_v3_3/service.rb +12 -12
  200. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  201. data/generated/google/apis/dfareporting_v3_4/classes.rb +6 -6
  202. data/generated/google/apis/dfareporting_v3_4/service.rb +12 -12
  203. data/generated/google/apis/dialogflow_v2.rb +1 -1
  204. data/generated/google/apis/dialogflow_v2/classes.rb +19 -387
  205. data/generated/google/apis/dialogflow_v2/representations.rb +1 -212
  206. data/generated/google/apis/dialogflow_v2/service.rb +12 -4
  207. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  208. data/generated/google/apis/dialogflow_v2beta1/classes.rb +17 -390
  209. data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -212
  210. data/generated/google/apis/dialogflow_v2beta1/service.rb +510 -40
  211. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  212. data/generated/google/apis/dialogflow_v3beta1/classes.rb +76 -387
  213. data/generated/google/apis/dialogflow_v3beta1/representations.rb +20 -212
  214. data/generated/google/apis/dialogflow_v3beta1/service.rb +11 -3
  215. data/generated/google/apis/displayvideo_v1.rb +1 -1
  216. data/generated/google/apis/displayvideo_v1/classes.rb +306 -34
  217. data/generated/google/apis/displayvideo_v1/representations.rb +122 -0
  218. data/generated/google/apis/displayvideo_v1/service.rb +342 -38
  219. data/generated/google/apis/dlp_v2.rb +1 -1
  220. data/generated/google/apis/dlp_v2/classes.rb +35 -29
  221. data/generated/google/apis/dlp_v2/representations.rb +1 -0
  222. data/generated/google/apis/dns_v1.rb +2 -2
  223. data/generated/google/apis/dns_v1/classes.rb +6 -0
  224. data/generated/google/apis/dns_v1/representations.rb +1 -0
  225. data/generated/google/apis/dns_v1/service.rb +1 -1
  226. data/generated/google/apis/dns_v1beta2.rb +2 -2
  227. data/generated/google/apis/dns_v1beta2/classes.rb +20 -1
  228. data/generated/google/apis/dns_v1beta2/representations.rb +13 -0
  229. data/generated/google/apis/dns_v1beta2/service.rb +177 -1
  230. data/generated/google/apis/domains_v1alpha2.rb +1 -1
  231. data/generated/google/apis/domains_v1beta1.rb +1 -1
  232. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  233. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +3 -2
  234. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  235. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +3 -2
  236. data/generated/google/apis/drive_v2.rb +1 -1
  237. data/generated/google/apis/drive_v2/classes.rb +24 -21
  238. data/generated/google/apis/drive_v2/service.rb +26 -58
  239. data/generated/google/apis/drive_v3.rb +1 -1
  240. data/generated/google/apis/drive_v3/classes.rb +12 -8
  241. data/generated/google/apis/drive_v3/service.rb +14 -30
  242. data/generated/google/apis/eventarc_v1beta1.rb +34 -0
  243. data/generated/google/apis/eventarc_v1beta1/classes.rb +931 -0
  244. data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
  245. data/generated/google/apis/eventarc_v1beta1/service.rb +579 -0
  246. data/generated/google/apis/file_v1.rb +1 -1
  247. data/generated/google/apis/file_v1/classes.rb +505 -4
  248. data/generated/google/apis/file_v1/representations.rb +203 -0
  249. data/generated/google/apis/file_v1/service.rb +229 -1
  250. data/generated/google/apis/file_v1beta1.rb +1 -1
  251. data/generated/google/apis/file_v1beta1/classes.rb +346 -6
  252. data/generated/google/apis/file_v1beta1/representations.rb +149 -0
  253. data/generated/google/apis/file_v1beta1/service.rb +6 -2
  254. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  255. data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
  256. data/generated/google/apis/firebasedatabase_v1beta.rb +44 -0
  257. data/generated/google/apis/firebasedatabase_v1beta/classes.rb +130 -0
  258. data/generated/google/apis/{displayvideo_v1dev → firebasedatabase_v1beta}/representations.rb +26 -16
  259. data/generated/google/apis/firebasedatabase_v1beta/service.rb +292 -0
  260. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  261. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
  262. data/generated/google/apis/firestore_v1.rb +1 -1
  263. data/generated/google/apis/firestore_v1/classes.rb +4 -4
  264. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  265. data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
  266. data/generated/google/apis/games_v1.rb +1 -1
  267. data/generated/google/apis/games_v1/classes.rb +353 -0
  268. data/generated/google/apis/games_v1/representations.rb +145 -0
  269. data/generated/google/apis/games_v1/service.rb +67 -0
  270. data/generated/google/apis/gameservices_v1.rb +1 -1
  271. data/generated/google/apis/gameservices_v1/classes.rb +1 -2
  272. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  273. data/generated/google/apis/gameservices_v1beta/classes.rb +1 -2
  274. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  275. data/generated/google/apis/genomics_v2alpha1/classes.rb +25 -0
  276. data/generated/google/apis/genomics_v2alpha1/representations.rb +15 -0
  277. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
  278. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +9 -0
  279. data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +1 -0
  280. data/generated/google/apis/healthcare_v1.rb +1 -1
  281. data/generated/google/apis/healthcare_v1/classes.rb +24 -17
  282. data/generated/google/apis/healthcare_v1/representations.rb +1 -0
  283. data/generated/google/apis/healthcare_v1/service.rb +2 -1
  284. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  285. data/generated/google/apis/healthcare_v1beta1/classes.rb +361 -57
  286. data/generated/google/apis/healthcare_v1beta1/representations.rb +150 -18
  287. data/generated/google/apis/healthcare_v1beta1/service.rb +91 -13
  288. data/generated/google/apis/iam_v1.rb +2 -5
  289. data/generated/google/apis/iam_v1/classes.rb +109 -11
  290. data/generated/google/apis/iam_v1/representations.rb +33 -1
  291. data/generated/google/apis/iam_v1/service.rb +63 -4
  292. data/generated/google/apis/iamcredentials_v1.rb +3 -4
  293. data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
  294. data/generated/google/apis/iap_v1.rb +1 -1
  295. data/generated/google/apis/iap_v1/classes.rb +1 -13
  296. data/generated/google/apis/iap_v1/representations.rb +0 -1
  297. data/generated/google/apis/iap_v1beta1.rb +1 -1
  298. data/generated/google/apis/iap_v1beta1/classes.rb +1 -2
  299. data/generated/google/apis/jobs_v3.rb +1 -1
  300. data/generated/google/apis/jobs_v3/classes.rb +9 -807
  301. data/generated/google/apis/jobs_v3/representations.rb +0 -272
  302. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  303. data/generated/google/apis/jobs_v3p1beta1/classes.rb +9 -768
  304. data/generated/google/apis/jobs_v3p1beta1/representations.rb +0 -257
  305. data/generated/google/apis/{jobs_v2.rb → jobs_v4.rb} +6 -6
  306. data/generated/google/apis/jobs_v4/classes.rb +2699 -0
  307. data/generated/google/apis/jobs_v4/representations.rb +934 -0
  308. data/generated/google/apis/jobs_v4/service.rb +903 -0
  309. data/generated/google/apis/licensing_v1.rb +1 -1
  310. data/generated/google/apis/licensing_v1/classes.rb +26 -8
  311. data/generated/google/apis/licensing_v1/representations.rb +12 -0
  312. data/generated/google/apis/licensing_v1/service.rb +34 -31
  313. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  314. data/generated/google/apis/lifesciences_v2beta/classes.rb +25 -0
  315. data/generated/google/apis/lifesciences_v2beta/representations.rb +15 -0
  316. data/generated/google/apis/localservices_v1.rb +1 -1
  317. data/generated/google/apis/localservices_v1/classes.rb +7 -0
  318. data/generated/google/apis/localservices_v1/representations.rb +2 -0
  319. data/generated/google/apis/logging_v2.rb +1 -1
  320. data/generated/google/apis/logging_v2/classes.rb +191 -14
  321. data/generated/google/apis/logging_v2/representations.rb +77 -0
  322. data/generated/google/apis/logging_v2/service.rb +446 -25
  323. data/generated/google/apis/managedidentities_v1.rb +1 -1
  324. data/generated/google/apis/managedidentities_v1/classes.rb +361 -16
  325. data/generated/google/apis/managedidentities_v1/representations.rb +149 -1
  326. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  327. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +363 -17
  328. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +149 -1
  329. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  330. data/generated/google/apis/managedidentities_v1beta1/classes.rb +349 -12
  331. data/generated/google/apis/managedidentities_v1beta1/representations.rb +149 -1
  332. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  333. data/generated/google/apis/memcache_v1beta2/classes.rb +345 -4
  334. data/generated/google/apis/memcache_v1beta2/representations.rb +149 -0
  335. data/generated/google/apis/ml_v1.rb +1 -1
  336. data/generated/google/apis/ml_v1/classes.rb +272 -84
  337. data/generated/google/apis/ml_v1/representations.rb +43 -1
  338. data/generated/google/apis/ml_v1/service.rb +35 -0
  339. data/generated/google/apis/monitoring_v3.rb +1 -1
  340. data/generated/google/apis/monitoring_v3/classes.rb +16 -9
  341. data/generated/google/apis/monitoring_v3/service.rb +55 -5
  342. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  343. data/generated/google/apis/networkmanagement_v1/classes.rb +6 -0
  344. data/generated/google/apis/networkmanagement_v1/representations.rb +1 -0
  345. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  346. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +57 -0
  347. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +31 -0
  348. data/generated/google/apis/notebooks_v1.rb +34 -0
  349. data/generated/google/apis/notebooks_v1/classes.rb +1455 -0
  350. data/generated/google/apis/notebooks_v1/representations.rb +580 -0
  351. data/generated/google/apis/notebooks_v1/service.rb +1042 -0
  352. data/generated/google/apis/osconfig_v1.rb +1 -1
  353. data/generated/google/apis/osconfig_v1/classes.rb +419 -0
  354. data/generated/google/apis/osconfig_v1/representations.rb +168 -0
  355. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  356. data/generated/google/apis/osconfig_v1beta/classes.rb +419 -0
  357. data/generated/google/apis/osconfig_v1beta/representations.rb +168 -0
  358. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  359. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -3
  360. data/generated/google/apis/people_v1.rb +1 -1
  361. data/generated/google/apis/people_v1/classes.rb +10 -6
  362. data/generated/google/apis/people_v1/service.rb +21 -18
  363. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  364. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  365. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  366. data/generated/google/apis/privateca_v1beta1.rb +36 -0
  367. data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
  368. data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
  369. data/generated/google/apis/privateca_v1beta1/service.rb +1437 -0
  370. data/generated/google/apis/pubsub_v1.rb +1 -1
  371. data/generated/google/apis/pubsub_v1/classes.rb +0 -7
  372. data/generated/google/apis/pubsub_v1/representations.rb +0 -1
  373. data/generated/google/apis/pubsub_v1/service.rb +2 -2
  374. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  375. data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -7
  376. data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -1
  377. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  378. data/generated/google/apis/realtimebidding_v1/classes.rb +545 -0
  379. data/generated/google/apis/realtimebidding_v1/representations.rb +232 -0
  380. data/generated/google/apis/realtimebidding_v1/service.rb +450 -0
  381. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  382. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +32 -0
  383. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -0
  384. data/generated/google/apis/recommender_v1.rb +1 -1
  385. data/generated/google/apis/recommender_v1/classes.rb +3 -3
  386. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  387. data/generated/google/apis/recommender_v1beta1/classes.rb +3 -3
  388. data/generated/google/apis/redis_v1.rb +1 -1
  389. data/generated/google/apis/redis_v1/classes.rb +86 -0
  390. data/generated/google/apis/redis_v1/representations.rb +34 -0
  391. data/generated/google/apis/redis_v1/service.rb +34 -0
  392. data/generated/google/apis/redis_v1beta1.rb +1 -1
  393. data/generated/google/apis/redis_v1beta1/classes.rb +58 -0
  394. data/generated/google/apis/redis_v1beta1/representations.rb +20 -0
  395. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  396. data/generated/google/apis/remotebuildexecution_v1/classes.rb +5 -30
  397. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -16
  398. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  399. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -30
  400. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -16
  401. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  402. data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -30
  403. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -16
  404. data/generated/google/apis/reseller_v1.rb +4 -4
  405. data/generated/google/apis/reseller_v1/service.rb +5 -5
  406. data/generated/google/apis/run_v1.rb +1 -1
  407. data/generated/google/apis/run_v1/classes.rb +2 -1
  408. data/generated/google/apis/run_v1alpha1.rb +1 -1
  409. data/generated/google/apis/run_v1alpha1/classes.rb +2 -1
  410. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  411. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +0 -7
  412. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +0 -1
  413. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  414. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  415. data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -0
  416. data/generated/google/apis/secretmanager_v1.rb +1 -1
  417. data/generated/google/apis/secretmanager_v1/classes.rb +0 -7
  418. data/generated/google/apis/secretmanager_v1/representations.rb +0 -1
  419. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  420. data/generated/google/apis/secretmanager_v1beta1/classes.rb +0 -7
  421. data/generated/google/apis/secretmanager_v1beta1/representations.rb +0 -1
  422. data/generated/google/apis/securitycenter_v1.rb +1 -1
  423. data/generated/google/apis/securitycenter_v1/classes.rb +91 -0
  424. data/generated/google/apis/securitycenter_v1/representations.rb +37 -0
  425. data/generated/google/apis/securitycenter_v1/service.rb +1448 -414
  426. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  427. data/generated/google/apis/securitycenter_v1beta1/classes.rb +68 -0
  428. data/generated/google/apis/securitycenter_v1beta1/representations.rb +32 -0
  429. data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
  430. data/generated/google/apis/securitycenter_v1beta2/classes.rb +68 -0
  431. data/generated/google/apis/securitycenter_v1beta2/representations.rb +32 -0
  432. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  433. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +6 -64
  434. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
  435. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  436. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +6 -64
  437. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
  438. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  439. data/generated/google/apis/servicecontrol_v1/classes.rb +77 -2
  440. data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
  441. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  442. data/generated/google/apis/servicecontrol_v2/classes.rb +62 -0
  443. data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
  444. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  445. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +26 -13
  446. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +0 -1
  447. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  448. data/generated/google/apis/servicemanagement_v1/classes.rb +6 -64
  449. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -18
  450. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  451. data/generated/google/apis/servicenetworking_v1/classes.rb +156 -64
  452. data/generated/google/apis/servicenetworking_v1/representations.rb +62 -15
  453. data/generated/google/apis/servicenetworking_v1/service.rb +80 -0
  454. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  455. data/generated/google/apis/servicenetworking_v1beta/classes.rb +69 -64
  456. data/generated/google/apis/servicenetworking_v1beta/representations.rb +29 -15
  457. data/generated/google/apis/serviceusage_v1.rb +1 -1
  458. data/generated/google/apis/serviceusage_v1/classes.rb +6 -64
  459. data/generated/google/apis/serviceusage_v1/representations.rb +0 -18
  460. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  461. data/generated/google/apis/serviceusage_v1beta1/classes.rb +36 -64
  462. data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -18
  463. data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
  464. data/generated/google/apis/sheets_v4.rb +1 -1
  465. data/generated/google/apis/sheets_v4/classes.rb +332 -7
  466. data/generated/google/apis/sheets_v4/representations.rb +102 -0
  467. data/generated/google/apis/slides_v1.rb +1 -1
  468. data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
  469. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +0 -34
  470. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -16
  471. data/generated/google/apis/smartdevicemanagement_v1/service.rb +3 -8
  472. data/generated/google/apis/spanner_v1.rb +1 -1
  473. data/generated/google/apis/spanner_v1/classes.rb +10 -8
  474. data/generated/google/apis/spanner_v1/representations.rb +1 -1
  475. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  476. data/generated/google/apis/speech_v1p1beta1/classes.rb +22 -0
  477. data/generated/google/apis/speech_v1p1beta1/representations.rb +2 -0
  478. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  479. data/generated/google/apis/sqladmin_v1beta4/classes.rb +118 -11
  480. data/generated/google/apis/sqladmin_v1beta4/representations.rb +37 -0
  481. data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
  482. data/generated/google/apis/storage_v1.rb +1 -1
  483. data/generated/google/apis/storage_v1/classes.rb +7 -0
  484. data/generated/google/apis/storage_v1/representations.rb +1 -0
  485. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  486. data/generated/google/apis/storagetransfer_v1/classes.rb +72 -50
  487. data/generated/google/apis/storagetransfer_v1/representations.rb +3 -0
  488. data/generated/google/apis/storagetransfer_v1/service.rb +3 -3
  489. data/generated/google/apis/tagmanager_v2.rb +1 -1
  490. data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
  491. data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
  492. data/generated/google/apis/testing_v1.rb +1 -1
  493. data/generated/google/apis/testing_v1/classes.rb +45 -33
  494. data/generated/google/apis/testing_v1/representations.rb +1 -0
  495. data/generated/google/apis/testing_v1/service.rb +4 -4
  496. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  497. data/generated/google/apis/toolresults_v1beta3/classes.rb +13 -0
  498. data/generated/google/apis/toolresults_v1beta3/representations.rb +12 -0
  499. data/generated/google/apis/transcoder_v1beta1.rb +34 -0
  500. data/generated/google/apis/transcoder_v1beta1/classes.rb +1684 -0
  501. data/generated/google/apis/transcoder_v1beta1/representations.rb +756 -0
  502. data/generated/google/apis/transcoder_v1beta1/service.rb +329 -0
  503. data/generated/google/apis/translate_v3.rb +1 -1
  504. data/generated/google/apis/translate_v3/classes.rb +2 -1
  505. data/generated/google/apis/translate_v3beta1.rb +1 -1
  506. data/generated/google/apis/translate_v3beta1/classes.rb +2 -1
  507. data/generated/google/apis/vault_v1.rb +1 -1
  508. data/generated/google/apis/vault_v1/classes.rb +76 -0
  509. data/generated/google/apis/vault_v1/representations.rb +45 -0
  510. data/generated/google/apis/vectortile_v1.rb +1 -1
  511. data/generated/google/apis/vectortile_v1/classes.rb +59 -4
  512. data/generated/google/apis/vectortile_v1/representations.rb +19 -0
  513. data/generated/google/apis/videointelligence_v1.rb +1 -1
  514. data/generated/google/apis/videointelligence_v1/classes.rb +65 -0
  515. data/generated/google/apis/videointelligence_v1/representations.rb +15 -0
  516. data/generated/google/apis/videointelligence_v1/service.rb +0 -62
  517. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  518. data/generated/google/apis/videointelligence_v1beta2/classes.rb +65 -0
  519. data/generated/google/apis/videointelligence_v1beta2/representations.rb +15 -0
  520. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  521. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +65 -0
  522. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +15 -0
  523. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  524. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +65 -0
  525. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +15 -0
  526. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  527. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +65 -0
  528. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +15 -0
  529. data/generated/google/apis/vision_v1.rb +1 -1
  530. data/generated/google/apis/vision_v1/classes.rb +16 -16
  531. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  532. data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
  533. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  534. data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
  535. data/generated/google/apis/youtube_v3.rb +1 -1
  536. data/generated/google/apis/youtube_v3/classes.rb +2 -2
  537. data/generated/google/apis/youtube_v3/service.rb +6 -6
  538. data/google-api-client.gemspec +25 -25
  539. data/lib/google/apis/core/http_command.rb +2 -1
  540. data/lib/google/apis/options.rb +8 -5
  541. data/lib/google/apis/version.rb +1 -1
  542. metadata +53 -24
  543. data/generated/google/apis/displayvideo_v1beta.rb +0 -38
  544. data/generated/google/apis/displayvideo_v1beta/classes.rb +0 -146
  545. data/generated/google/apis/displayvideo_v1beta/representations.rb +0 -72
  546. data/generated/google/apis/displayvideo_v1beta/service.rb +0 -161
  547. data/generated/google/apis/displayvideo_v1beta2.rb +0 -38
  548. data/generated/google/apis/displayvideo_v1beta2/classes.rb +0 -146
  549. data/generated/google/apis/displayvideo_v1beta2/representations.rb +0 -72
  550. data/generated/google/apis/displayvideo_v1beta2/service.rb +0 -130
  551. data/generated/google/apis/displayvideo_v1dev.rb +0 -38
  552. data/generated/google/apis/displayvideo_v1dev/classes.rb +0 -146
  553. data/generated/google/apis/displayvideo_v1dev/service.rb +0 -130
  554. data/generated/google/apis/jobs_v2/classes.rb +0 -4012
  555. data/generated/google/apis/jobs_v2/representations.rb +0 -1396
  556. data/generated/google/apis/jobs_v2/service.rb +0 -693
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/artifacts/docs/
27
27
  module ArtifactregistryV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20201009'
29
+ REVISION = '20201107'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -26,12 +26,6 @@ module Google
26
26
  class Binding
27
27
  include Google::Apis::Core::Hashable
28
28
 
29
- # A client-specified ID for this binding. Expected to be globally unique to
30
- # support the internal bindings-by-ID API.
31
- # Corresponds to the JSON property `bindingId`
32
- # @return [String]
33
- attr_accessor :binding_id
34
-
35
29
  # Represents a textual expression in the Common Expression Language (CEL) syntax.
36
30
  # CEL is a C-like expression language. The syntax and semantics of CEL are
37
31
  # documented at https://github.com/google/cel-spec. Example (Comparison): title:
@@ -93,7 +87,6 @@ module Google
93
87
 
94
88
  # Update properties of this object
95
89
  def update!(**args)
96
- @binding_id = args[:binding_id] if args.key?(:binding_id)
97
90
  @condition = args[:condition] if args.key?(:condition)
98
91
  @members = args[:members] if args.key?(:members)
99
92
  @role = args[:role] if args.key?(:role)
@@ -187,7 +187,6 @@ module Google
187
187
  class Binding
188
188
  # @private
189
189
  class Representation < Google::Apis::Core::JsonRepresentation
190
- property :binding_id, as: 'bindingId'
191
190
  property :condition, as: 'condition', class: Google::Apis::ArtifactregistryV1beta1::Expr, decorator: Google::Apis::ArtifactregistryV1beta1::Expr::Representation
192
191
 
193
192
  collection :members, as: 'members'
@@ -0,0 +1,38 @@
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/artifactregistry_v1beta2/service.rb'
16
+ require 'google/apis/artifactregistry_v1beta2/classes.rb'
17
+ require 'google/apis/artifactregistry_v1beta2/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # Artifact Registry API
22
+ #
23
+ # Store and manage build artifacts in a scalable and integrated service built on
24
+ # Google infrastructure.
25
+ #
26
+ # @see https://cloud.google.com/artifacts/docs/
27
+ module ArtifactregistryV1beta2
28
+ VERSION = 'V1beta2'
29
+ REVISION = '20201107'
30
+
31
+ # View and manage your data across Google Cloud Platform services
32
+ AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
33
+
34
+ # View your data across Google Cloud Platform services
35
+ AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,1037 @@
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 ArtifactregistryV1beta2
24
+
25
+ # Associates `members` with a `role`.
26
+ class Binding
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
30
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
31
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
32
+ # "Summary size limit" description: "Determines if a summary is less than 100
33
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
34
+ # Requestor is owner" description: "Determines if requestor is the document
35
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
36
+ # Logic): title: "Public documents" description: "Determine whether the document
37
+ # should be publicly visible" expression: "document.type != 'private' &&
38
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
39
+ # string" description: "Create a notification string with a timestamp."
40
+ # expression: "'New message received at ' + string(document.create_time)" The
41
+ # exact variables and functions that may be referenced within an expression are
42
+ # determined by the service that evaluates it. See the service documentation for
43
+ # additional information.
44
+ # Corresponds to the JSON property `condition`
45
+ # @return [Google::Apis::ArtifactregistryV1beta2::Expr]
46
+ attr_accessor :condition
47
+
48
+ # Specifies the identities requesting access for a Cloud Platform resource. `
49
+ # members` can have the following values: * `allUsers`: A special identifier
50
+ # that represents anyone who is on the internet; with or without a Google
51
+ # account. * `allAuthenticatedUsers`: A special identifier that represents
52
+ # anyone who is authenticated with a Google account or a service account. * `
53
+ # user:`emailid``: An email address that represents a specific Google account.
54
+ # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
55
+ # address that represents a service account. For example, `my-other-app@appspot.
56
+ # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
57
+ # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
58
+ # `uniqueid``: An email address (plus unique identifier) representing a user
59
+ # that has been recently deleted. For example, `alice@example.com?uid=
60
+ # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
61
+ # emailid`` and the recovered user retains the role in the binding. * `deleted:
62
+ # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
63
+ # identifier) representing a service account that has been recently deleted. For
64
+ # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
65
+ # If the service account is undeleted, this value reverts to `serviceAccount:`
66
+ # emailid`` and the undeleted service account retains the role in the binding. *
67
+ # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
68
+ # identifier) representing a Google group that has been recently deleted. For
69
+ # example, `admins@example.com?uid=123456789012345678901`. If the group is
70
+ # recovered, this value reverts to `group:`emailid`` and the recovered group
71
+ # retains the role in the binding. * `domain:`domain``: The G Suite domain (
72
+ # primary) that represents all the users of that domain. For example, `google.
73
+ # com` or `example.com`.
74
+ # Corresponds to the JSON property `members`
75
+ # @return [Array<String>]
76
+ attr_accessor :members
77
+
78
+ # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
79
+ # , or `roles/owner`.
80
+ # Corresponds to the JSON property `role`
81
+ # @return [String]
82
+ attr_accessor :role
83
+
84
+ def initialize(**args)
85
+ update!(**args)
86
+ end
87
+
88
+ # Update properties of this object
89
+ def update!(**args)
90
+ @condition = args[:condition] if args.key?(:condition)
91
+ @members = args[:members] if args.key?(:members)
92
+ @role = args[:role] if args.key?(:role)
93
+ end
94
+ end
95
+
96
+ # A generic empty message that you can re-use to avoid defining duplicated empty
97
+ # messages in your APIs. A typical example is to use it as the request or the
98
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
99
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
100
+ # `Empty` is empty JSON object ````.
101
+ class Empty
102
+ include Google::Apis::Core::Hashable
103
+
104
+ def initialize(**args)
105
+ update!(**args)
106
+ end
107
+
108
+ # Update properties of this object
109
+ def update!(**args)
110
+ end
111
+ end
112
+
113
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
114
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
115
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
116
+ # "Summary size limit" description: "Determines if a summary is less than 100
117
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
118
+ # Requestor is owner" description: "Determines if requestor is the document
119
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
120
+ # Logic): title: "Public documents" description: "Determine whether the document
121
+ # should be publicly visible" expression: "document.type != 'private' &&
122
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
123
+ # string" description: "Create a notification string with a timestamp."
124
+ # expression: "'New message received at ' + string(document.create_time)" The
125
+ # exact variables and functions that may be referenced within an expression are
126
+ # determined by the service that evaluates it. See the service documentation for
127
+ # additional information.
128
+ class Expr
129
+ include Google::Apis::Core::Hashable
130
+
131
+ # Optional. Description of the expression. This is a longer text which describes
132
+ # the expression, e.g. when hovered over it in a UI.
133
+ # Corresponds to the JSON property `description`
134
+ # @return [String]
135
+ attr_accessor :description
136
+
137
+ # Textual representation of an expression in Common Expression Language syntax.
138
+ # Corresponds to the JSON property `expression`
139
+ # @return [String]
140
+ attr_accessor :expression
141
+
142
+ # Optional. String indicating the location of the expression for error reporting,
143
+ # e.g. a file name and a position in the file.
144
+ # Corresponds to the JSON property `location`
145
+ # @return [String]
146
+ attr_accessor :location
147
+
148
+ # Optional. Title for the expression, i.e. a short string describing its purpose.
149
+ # This can be used e.g. in UIs which allow to enter the expression.
150
+ # Corresponds to the JSON property `title`
151
+ # @return [String]
152
+ attr_accessor :title
153
+
154
+ def initialize(**args)
155
+ update!(**args)
156
+ end
157
+
158
+ # Update properties of this object
159
+ def update!(**args)
160
+ @description = args[:description] if args.key?(:description)
161
+ @expression = args[:expression] if args.key?(:expression)
162
+ @location = args[:location] if args.key?(:location)
163
+ @title = args[:title] if args.key?(:title)
164
+ end
165
+ end
166
+
167
+ # Files store content that is potentially associated with Packages or Versions.
168
+ class File
169
+ include Google::Apis::Core::Hashable
170
+
171
+ # The time when the File was created.
172
+ # Corresponds to the JSON property `createTime`
173
+ # @return [String]
174
+ attr_accessor :create_time
175
+
176
+ # The hashes of the file content.
177
+ # Corresponds to the JSON property `hashes`
178
+ # @return [Array<Google::Apis::ArtifactregistryV1beta2::HashProp>]
179
+ attr_accessor :hashes
180
+
181
+ # The name of the file, for example: "projects/p1/locations/us-central1/
182
+ # repositories/repo1/files/a/b/c.txt".
183
+ # Corresponds to the JSON property `name`
184
+ # @return [String]
185
+ attr_accessor :name
186
+
187
+ # The name of the Package or Version that owns this file, if any.
188
+ # Corresponds to the JSON property `owner`
189
+ # @return [String]
190
+ attr_accessor :owner
191
+
192
+ # The size of the File in bytes.
193
+ # Corresponds to the JSON property `sizeBytes`
194
+ # @return [Fixnum]
195
+ attr_accessor :size_bytes
196
+
197
+ # The time when the File was last updated.
198
+ # Corresponds to the JSON property `updateTime`
199
+ # @return [String]
200
+ attr_accessor :update_time
201
+
202
+ def initialize(**args)
203
+ update!(**args)
204
+ end
205
+
206
+ # Update properties of this object
207
+ def update!(**args)
208
+ @create_time = args[:create_time] if args.key?(:create_time)
209
+ @hashes = args[:hashes] if args.key?(:hashes)
210
+ @name = args[:name] if args.key?(:name)
211
+ @owner = args[:owner] if args.key?(:owner)
212
+ @size_bytes = args[:size_bytes] if args.key?(:size_bytes)
213
+ @update_time = args[:update_time] if args.key?(:update_time)
214
+ end
215
+ end
216
+
217
+ # Error information explaining why a package was not imported.
218
+ class GoogleDevtoolsArtifactregistryV1alpha1ErrorInfo
219
+ include Google::Apis::Core::Hashable
220
+
221
+ # The `Status` type defines a logical error model that is suitable for different
222
+ # programming environments, including REST APIs and RPC APIs. It is used by [
223
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
224
+ # data: error code, error message, and error details. You can find out more
225
+ # about this error model and how to work with it in the [API Design Guide](https:
226
+ # //cloud.google.com/apis/design/errors).
227
+ # Corresponds to the JSON property `error`
228
+ # @return [Google::Apis::ArtifactregistryV1beta2::Status]
229
+ attr_accessor :error
230
+
231
+ # Google Cloud Storage location for the input content.
232
+ # Corresponds to the JSON property `gcsSource`
233
+ # @return [Google::Apis::ArtifactregistryV1beta2::GoogleDevtoolsArtifactregistryV1alpha1GcsSource]
234
+ attr_accessor :gcs_source
235
+
236
+ def initialize(**args)
237
+ update!(**args)
238
+ end
239
+
240
+ # Update properties of this object
241
+ def update!(**args)
242
+ @error = args[:error] if args.key?(:error)
243
+ @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
244
+ end
245
+ end
246
+
247
+ # Google Cloud Storage location for the input content.
248
+ class GoogleDevtoolsArtifactregistryV1alpha1GcsSource
249
+ include Google::Apis::Core::Hashable
250
+
251
+ # Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
252
+ # Corresponds to the JSON property `uris`
253
+ # @return [Array<String>]
254
+ attr_accessor :uris
255
+
256
+ # Supports URI wildcards for matching multiple objects from a single URI.
257
+ # Corresponds to the JSON property `useWildcards`
258
+ # @return [Boolean]
259
+ attr_accessor :use_wildcards
260
+ alias_method :use_wildcards?, :use_wildcards
261
+
262
+ def initialize(**args)
263
+ update!(**args)
264
+ end
265
+
266
+ # Update properties of this object
267
+ def update!(**args)
268
+ @uris = args[:uris] if args.key?(:uris)
269
+ @use_wildcards = args[:use_wildcards] if args.key?(:use_wildcards)
270
+ end
271
+ end
272
+
273
+ # The response message from importing artifacts.
274
+ class GoogleDevtoolsArtifactregistryV1alpha1ImportArtifactsResponse
275
+ include Google::Apis::Core::Hashable
276
+
277
+ # Detailed error info for packages that were not imported.
278
+ # Corresponds to the JSON property `errors`
279
+ # @return [Array<Google::Apis::ArtifactregistryV1beta2::GoogleDevtoolsArtifactregistryV1alpha1ErrorInfo>]
280
+ attr_accessor :errors
281
+
282
+ # The packages updated.
283
+ # Corresponds to the JSON property `packages`
284
+ # @return [Array<Google::Apis::ArtifactregistryV1beta2::GoogleDevtoolsArtifactregistryV1alpha1Package>]
285
+ attr_accessor :packages
286
+
287
+ def initialize(**args)
288
+ update!(**args)
289
+ end
290
+
291
+ # Update properties of this object
292
+ def update!(**args)
293
+ @errors = args[:errors] if args.key?(:errors)
294
+ @packages = args[:packages] if args.key?(:packages)
295
+ end
296
+ end
297
+
298
+ # Packages are named collections of versions.
299
+ class GoogleDevtoolsArtifactregistryV1alpha1Package
300
+ include Google::Apis::Core::Hashable
301
+
302
+ # The time when the package was created.
303
+ # Corresponds to the JSON property `createTime`
304
+ # @return [String]
305
+ attr_accessor :create_time
306
+
307
+ # The display name of the package.
308
+ # Corresponds to the JSON property `displayName`
309
+ # @return [String]
310
+ attr_accessor :display_name
311
+
312
+ # The name of the package, for example: "projects/p1/locations/us-central1/
313
+ # repositories/repo1/packages/pkg1".
314
+ # Corresponds to the JSON property `name`
315
+ # @return [String]
316
+ attr_accessor :name
317
+
318
+ # The time when the package was last updated. This includes publishing a new
319
+ # version of the package.
320
+ # Corresponds to the JSON property `updateTime`
321
+ # @return [String]
322
+ attr_accessor :update_time
323
+
324
+ def initialize(**args)
325
+ update!(**args)
326
+ end
327
+
328
+ # Update properties of this object
329
+ def update!(**args)
330
+ @create_time = args[:create_time] if args.key?(:create_time)
331
+ @display_name = args[:display_name] if args.key?(:display_name)
332
+ @name = args[:name] if args.key?(:name)
333
+ @update_time = args[:update_time] if args.key?(:update_time)
334
+ end
335
+ end
336
+
337
+ # A hash of file content.
338
+ class HashProp
339
+ include Google::Apis::Core::Hashable
340
+
341
+ # The algorithm used to compute the hash value.
342
+ # Corresponds to the JSON property `type`
343
+ # @return [String]
344
+ attr_accessor :type
345
+
346
+ # The hash value.
347
+ # Corresponds to the JSON property `value`
348
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
349
+ # @return [String]
350
+ attr_accessor :value
351
+
352
+ def initialize(**args)
353
+ update!(**args)
354
+ end
355
+
356
+ # Update properties of this object
357
+ def update!(**args)
358
+ @type = args[:type] if args.key?(:type)
359
+ @value = args[:value] if args.key?(:value)
360
+ end
361
+ end
362
+
363
+ # The response from listing files.
364
+ class ListFilesResponse
365
+ include Google::Apis::Core::Hashable
366
+
367
+ # The files returned.
368
+ # Corresponds to the JSON property `files`
369
+ # @return [Array<Google::Apis::ArtifactregistryV1beta2::File>]
370
+ attr_accessor :files
371
+
372
+ # The token to retrieve the next page of files, or empty if there are no more
373
+ # files to return.
374
+ # Corresponds to the JSON property `nextPageToken`
375
+ # @return [String]
376
+ attr_accessor :next_page_token
377
+
378
+ def initialize(**args)
379
+ update!(**args)
380
+ end
381
+
382
+ # Update properties of this object
383
+ def update!(**args)
384
+ @files = args[:files] if args.key?(:files)
385
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
386
+ end
387
+ end
388
+
389
+ # The response message for Locations.ListLocations.
390
+ class ListLocationsResponse
391
+ include Google::Apis::Core::Hashable
392
+
393
+ # A list of locations that matches the specified filter in the request.
394
+ # Corresponds to the JSON property `locations`
395
+ # @return [Array<Google::Apis::ArtifactregistryV1beta2::Location>]
396
+ attr_accessor :locations
397
+
398
+ # The standard List next-page token.
399
+ # Corresponds to the JSON property `nextPageToken`
400
+ # @return [String]
401
+ attr_accessor :next_page_token
402
+
403
+ def initialize(**args)
404
+ update!(**args)
405
+ end
406
+
407
+ # Update properties of this object
408
+ def update!(**args)
409
+ @locations = args[:locations] if args.key?(:locations)
410
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
411
+ end
412
+ end
413
+
414
+ # The response message for Operations.ListOperations.
415
+ class ListOperationsResponse
416
+ include Google::Apis::Core::Hashable
417
+
418
+ # The standard List next-page token.
419
+ # Corresponds to the JSON property `nextPageToken`
420
+ # @return [String]
421
+ attr_accessor :next_page_token
422
+
423
+ # A list of operations that matches the specified filter in the request.
424
+ # Corresponds to the JSON property `operations`
425
+ # @return [Array<Google::Apis::ArtifactregistryV1beta2::Operation>]
426
+ attr_accessor :operations
427
+
428
+ def initialize(**args)
429
+ update!(**args)
430
+ end
431
+
432
+ # Update properties of this object
433
+ def update!(**args)
434
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
435
+ @operations = args[:operations] if args.key?(:operations)
436
+ end
437
+ end
438
+
439
+ # The response from listing packages.
440
+ class ListPackagesResponse
441
+ include Google::Apis::Core::Hashable
442
+
443
+ # The token to retrieve the next page of packages, or empty if there are no more
444
+ # packages to return.
445
+ # Corresponds to the JSON property `nextPageToken`
446
+ # @return [String]
447
+ attr_accessor :next_page_token
448
+
449
+ # The packages returned.
450
+ # Corresponds to the JSON property `packages`
451
+ # @return [Array<Google::Apis::ArtifactregistryV1beta2::Package>]
452
+ attr_accessor :packages
453
+
454
+ def initialize(**args)
455
+ update!(**args)
456
+ end
457
+
458
+ # Update properties of this object
459
+ def update!(**args)
460
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
461
+ @packages = args[:packages] if args.key?(:packages)
462
+ end
463
+ end
464
+
465
+ # The response from listing repositories.
466
+ class ListRepositoriesResponse
467
+ include Google::Apis::Core::Hashable
468
+
469
+ # The token to retrieve the next page of repositories, or empty if there are no
470
+ # more repositories to return.
471
+ # Corresponds to the JSON property `nextPageToken`
472
+ # @return [String]
473
+ attr_accessor :next_page_token
474
+
475
+ # The repositories returned.
476
+ # Corresponds to the JSON property `repositories`
477
+ # @return [Array<Google::Apis::ArtifactregistryV1beta2::Repository>]
478
+ attr_accessor :repositories
479
+
480
+ def initialize(**args)
481
+ update!(**args)
482
+ end
483
+
484
+ # Update properties of this object
485
+ def update!(**args)
486
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
487
+ @repositories = args[:repositories] if args.key?(:repositories)
488
+ end
489
+ end
490
+
491
+ # The response from listing tags.
492
+ class ListTagsResponse
493
+ include Google::Apis::Core::Hashable
494
+
495
+ # The token to retrieve the next page of tags, or empty if there are no more
496
+ # tags to return.
497
+ # Corresponds to the JSON property `nextPageToken`
498
+ # @return [String]
499
+ attr_accessor :next_page_token
500
+
501
+ # The tags returned.
502
+ # Corresponds to the JSON property `tags`
503
+ # @return [Array<Google::Apis::ArtifactregistryV1beta2::Tag>]
504
+ attr_accessor :tags
505
+
506
+ def initialize(**args)
507
+ update!(**args)
508
+ end
509
+
510
+ # Update properties of this object
511
+ def update!(**args)
512
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
513
+ @tags = args[:tags] if args.key?(:tags)
514
+ end
515
+ end
516
+
517
+ # The response from listing versions.
518
+ class ListVersionsResponse
519
+ include Google::Apis::Core::Hashable
520
+
521
+ # The token to retrieve the next page of versions, or empty if there are no more
522
+ # versions to return.
523
+ # Corresponds to the JSON property `nextPageToken`
524
+ # @return [String]
525
+ attr_accessor :next_page_token
526
+
527
+ # The versions returned.
528
+ # Corresponds to the JSON property `versions`
529
+ # @return [Array<Google::Apis::ArtifactregistryV1beta2::Version>]
530
+ attr_accessor :versions
531
+
532
+ def initialize(**args)
533
+ update!(**args)
534
+ end
535
+
536
+ # Update properties of this object
537
+ def update!(**args)
538
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
539
+ @versions = args[:versions] if args.key?(:versions)
540
+ end
541
+ end
542
+
543
+ # A resource that represents Google Cloud Platform location.
544
+ class Location
545
+ include Google::Apis::Core::Hashable
546
+
547
+ # The friendly name for this location, typically a nearby city name. For example,
548
+ # "Tokyo".
549
+ # Corresponds to the JSON property `displayName`
550
+ # @return [String]
551
+ attr_accessor :display_name
552
+
553
+ # Cross-service attributes for the location. For example `"cloud.googleapis.com/
554
+ # region": "us-east1"`
555
+ # Corresponds to the JSON property `labels`
556
+ # @return [Hash<String,String>]
557
+ attr_accessor :labels
558
+
559
+ # The canonical id for this location. For example: `"us-east1"`.
560
+ # Corresponds to the JSON property `locationId`
561
+ # @return [String]
562
+ attr_accessor :location_id
563
+
564
+ # Service-specific metadata. For example the available capacity at the given
565
+ # location.
566
+ # Corresponds to the JSON property `metadata`
567
+ # @return [Hash<String,Object>]
568
+ attr_accessor :metadata
569
+
570
+ # Resource name for the location, which may vary between implementations. For
571
+ # example: `"projects/example-project/locations/us-east1"`
572
+ # Corresponds to the JSON property `name`
573
+ # @return [String]
574
+ attr_accessor :name
575
+
576
+ def initialize(**args)
577
+ update!(**args)
578
+ end
579
+
580
+ # Update properties of this object
581
+ def update!(**args)
582
+ @display_name = args[:display_name] if args.key?(:display_name)
583
+ @labels = args[:labels] if args.key?(:labels)
584
+ @location_id = args[:location_id] if args.key?(:location_id)
585
+ @metadata = args[:metadata] if args.key?(:metadata)
586
+ @name = args[:name] if args.key?(:name)
587
+ end
588
+ end
589
+
590
+ # This resource represents a long-running operation that is the result of a
591
+ # network API call.
592
+ class Operation
593
+ include Google::Apis::Core::Hashable
594
+
595
+ # If the value is `false`, it means the operation is still in progress. If `true`
596
+ # , the operation is completed, and either `error` or `response` is available.
597
+ # Corresponds to the JSON property `done`
598
+ # @return [Boolean]
599
+ attr_accessor :done
600
+ alias_method :done?, :done
601
+
602
+ # The `Status` type defines a logical error model that is suitable for different
603
+ # programming environments, including REST APIs and RPC APIs. It is used by [
604
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
605
+ # data: error code, error message, and error details. You can find out more
606
+ # about this error model and how to work with it in the [API Design Guide](https:
607
+ # //cloud.google.com/apis/design/errors).
608
+ # Corresponds to the JSON property `error`
609
+ # @return [Google::Apis::ArtifactregistryV1beta2::Status]
610
+ attr_accessor :error
611
+
612
+ # Service-specific metadata associated with the operation. It typically contains
613
+ # progress information and common metadata such as create time. Some services
614
+ # might not provide such metadata. Any method that returns a long-running
615
+ # operation should document the metadata type, if any.
616
+ # Corresponds to the JSON property `metadata`
617
+ # @return [Hash<String,Object>]
618
+ attr_accessor :metadata
619
+
620
+ # The server-assigned name, which is only unique within the same service that
621
+ # originally returns it. If you use the default HTTP mapping, the `name` should
622
+ # be a resource name ending with `operations/`unique_id``.
623
+ # Corresponds to the JSON property `name`
624
+ # @return [String]
625
+ attr_accessor :name
626
+
627
+ # The normal response of the operation in case of success. If the original
628
+ # method returns no data on success, such as `Delete`, the response is `google.
629
+ # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
630
+ # the response should be the resource. For other methods, the response should
631
+ # have the type `XxxResponse`, where `Xxx` is the original method name. For
632
+ # example, if the original method name is `TakeSnapshot()`, the inferred
633
+ # response type is `TakeSnapshotResponse`.
634
+ # Corresponds to the JSON property `response`
635
+ # @return [Hash<String,Object>]
636
+ attr_accessor :response
637
+
638
+ def initialize(**args)
639
+ update!(**args)
640
+ end
641
+
642
+ # Update properties of this object
643
+ def update!(**args)
644
+ @done = args[:done] if args.key?(:done)
645
+ @error = args[:error] if args.key?(:error)
646
+ @metadata = args[:metadata] if args.key?(:metadata)
647
+ @name = args[:name] if args.key?(:name)
648
+ @response = args[:response] if args.key?(:response)
649
+ end
650
+ end
651
+
652
+ # Packages are named collections of versions.
653
+ class Package
654
+ include Google::Apis::Core::Hashable
655
+
656
+ # The time when the package was created.
657
+ # Corresponds to the JSON property `createTime`
658
+ # @return [String]
659
+ attr_accessor :create_time
660
+
661
+ # The display name of the package.
662
+ # Corresponds to the JSON property `displayName`
663
+ # @return [String]
664
+ attr_accessor :display_name
665
+
666
+ # The name of the package, for example: "projects/p1/locations/us-central1/
667
+ # repositories/repo1/packages/pkg1".
668
+ # Corresponds to the JSON property `name`
669
+ # @return [String]
670
+ attr_accessor :name
671
+
672
+ # The time when the package was last updated. This includes publishing a new
673
+ # version of the package.
674
+ # Corresponds to the JSON property `updateTime`
675
+ # @return [String]
676
+ attr_accessor :update_time
677
+
678
+ def initialize(**args)
679
+ update!(**args)
680
+ end
681
+
682
+ # Update properties of this object
683
+ def update!(**args)
684
+ @create_time = args[:create_time] if args.key?(:create_time)
685
+ @display_name = args[:display_name] if args.key?(:display_name)
686
+ @name = args[:name] if args.key?(:name)
687
+ @update_time = args[:update_time] if args.key?(:update_time)
688
+ end
689
+ end
690
+
691
+ # An Identity and Access Management (IAM) policy, which specifies access
692
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
693
+ # A `binding` binds one or more `members` to a single `role`. Members can be
694
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
695
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
696
+ # role or a user-created custom role. For some types of Google Cloud resources,
697
+ # a `binding` can also specify a `condition`, which is a logical expression that
698
+ # allows access to a resource only if the expression evaluates to `true`. A
699
+ # condition can add constraints based on attributes of the request, the resource,
700
+ # or both. To learn which resources support conditions in their IAM policies,
701
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
702
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
703
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
704
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
705
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
706
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
707
+ # title": "expirable access", "description": "Does not grant access after Sep
708
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
709
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
710
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
711
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
712
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
713
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
714
+ # description: Does not grant access after Sep 2020 expression: request.time <
715
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
716
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
717
+ # google.com/iam/docs/).
718
+ class Policy
719
+ include Google::Apis::Core::Hashable
720
+
721
+ # Associates a list of `members` to a `role`. Optionally, may specify a `
722
+ # condition` that determines how and when the `bindings` are applied. Each of
723
+ # the `bindings` must contain at least one member.
724
+ # Corresponds to the JSON property `bindings`
725
+ # @return [Array<Google::Apis::ArtifactregistryV1beta2::Binding>]
726
+ attr_accessor :bindings
727
+
728
+ # `etag` is used for optimistic concurrency control as a way to help prevent
729
+ # simultaneous updates of a policy from overwriting each other. It is strongly
730
+ # suggested that systems make use of the `etag` in the read-modify-write cycle
731
+ # to perform policy updates in order to avoid race conditions: An `etag` is
732
+ # returned in the response to `getIamPolicy`, and systems are expected to put
733
+ # that etag in the request to `setIamPolicy` to ensure that their change will be
734
+ # applied to the same version of the policy. **Important:** If you use IAM
735
+ # Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
736
+ # If you omit this field, then IAM allows you to overwrite a version `3` policy
737
+ # with a version `1` policy, and all of the conditions in the version `3` policy
738
+ # are lost.
739
+ # Corresponds to the JSON property `etag`
740
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
741
+ # @return [String]
742
+ attr_accessor :etag
743
+
744
+ # Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
745
+ # Requests that specify an invalid value are rejected. Any operation that
746
+ # affects conditional role bindings must specify version `3`. This requirement
747
+ # applies to the following operations: * Getting a policy that includes a
748
+ # conditional role binding * Adding a conditional role binding to a policy *
749
+ # Changing a conditional role binding in a policy * Removing any role binding,
750
+ # with or without a condition, from a policy that includes conditions **
751
+ # Important:** If you use IAM Conditions, you must include the `etag` field
752
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
753
+ # to overwrite a version `3` policy with a version `1` policy, and all of the
754
+ # conditions in the version `3` policy are lost. If a policy does not include
755
+ # any conditions, operations on that policy may specify any valid version or
756
+ # leave the field unset. To learn which resources support conditions in their
757
+ # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
758
+ # conditions/resource-policies).
759
+ # Corresponds to the JSON property `version`
760
+ # @return [Fixnum]
761
+ attr_accessor :version
762
+
763
+ def initialize(**args)
764
+ update!(**args)
765
+ end
766
+
767
+ # Update properties of this object
768
+ def update!(**args)
769
+ @bindings = args[:bindings] if args.key?(:bindings)
770
+ @etag = args[:etag] if args.key?(:etag)
771
+ @version = args[:version] if args.key?(:version)
772
+ end
773
+ end
774
+
775
+ # A Repository for storing artifacts with a specific format.
776
+ class Repository
777
+ include Google::Apis::Core::Hashable
778
+
779
+ # The time when the repository was created.
780
+ # Corresponds to the JSON property `createTime`
781
+ # @return [String]
782
+ attr_accessor :create_time
783
+
784
+ # The user-provided description of the repository.
785
+ # Corresponds to the JSON property `description`
786
+ # @return [String]
787
+ attr_accessor :description
788
+
789
+ # The format of packages that are stored in the repository.
790
+ # Corresponds to the JSON property `format`
791
+ # @return [String]
792
+ attr_accessor :format
793
+
794
+ # The Cloud KMS resource name of the customer managed encryption key that’s used
795
+ # to encrypt the contents of the Repository. Has the form: `projects/my-project/
796
+ # locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be
797
+ # changed after the Repository has been created.
798
+ # Corresponds to the JSON property `kmsKeyName`
799
+ # @return [String]
800
+ attr_accessor :kms_key_name
801
+
802
+ # Labels with user-defined metadata. This field may contain up to 64 entries.
803
+ # Label keys and values may be no longer than 63 characters. Label keys must
804
+ # begin with a lowercase letter and may only contain lowercase letters, numeric
805
+ # characters, underscores, and dashes.
806
+ # Corresponds to the JSON property `labels`
807
+ # @return [Hash<String,String>]
808
+ attr_accessor :labels
809
+
810
+ # The name of the repository, for example: "projects/p1/locations/us-central1/
811
+ # repositories/repo1".
812
+ # Corresponds to the JSON property `name`
813
+ # @return [String]
814
+ attr_accessor :name
815
+
816
+ # The time when the repository was last updated.
817
+ # Corresponds to the JSON property `updateTime`
818
+ # @return [String]
819
+ attr_accessor :update_time
820
+
821
+ def initialize(**args)
822
+ update!(**args)
823
+ end
824
+
825
+ # Update properties of this object
826
+ def update!(**args)
827
+ @create_time = args[:create_time] if args.key?(:create_time)
828
+ @description = args[:description] if args.key?(:description)
829
+ @format = args[:format] if args.key?(:format)
830
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
831
+ @labels = args[:labels] if args.key?(:labels)
832
+ @name = args[:name] if args.key?(:name)
833
+ @update_time = args[:update_time] if args.key?(:update_time)
834
+ end
835
+ end
836
+
837
+ # Request message for `SetIamPolicy` method.
838
+ class SetIamPolicyRequest
839
+ include Google::Apis::Core::Hashable
840
+
841
+ # An Identity and Access Management (IAM) policy, which specifies access
842
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
843
+ # A `binding` binds one or more `members` to a single `role`. Members can be
844
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
845
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
846
+ # role or a user-created custom role. For some types of Google Cloud resources,
847
+ # a `binding` can also specify a `condition`, which is a logical expression that
848
+ # allows access to a resource only if the expression evaluates to `true`. A
849
+ # condition can add constraints based on attributes of the request, the resource,
850
+ # or both. To learn which resources support conditions in their IAM policies,
851
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
852
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
853
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
854
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
855
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
856
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
857
+ # title": "expirable access", "description": "Does not grant access after Sep
858
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
859
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
860
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
861
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
862
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
863
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
864
+ # description: Does not grant access after Sep 2020 expression: request.time <
865
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
866
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
867
+ # google.com/iam/docs/).
868
+ # Corresponds to the JSON property `policy`
869
+ # @return [Google::Apis::ArtifactregistryV1beta2::Policy]
870
+ attr_accessor :policy
871
+
872
+ def initialize(**args)
873
+ update!(**args)
874
+ end
875
+
876
+ # Update properties of this object
877
+ def update!(**args)
878
+ @policy = args[:policy] if args.key?(:policy)
879
+ end
880
+ end
881
+
882
+ # The `Status` type defines a logical error model that is suitable for different
883
+ # programming environments, including REST APIs and RPC APIs. It is used by [
884
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
885
+ # data: error code, error message, and error details. You can find out more
886
+ # about this error model and how to work with it in the [API Design Guide](https:
887
+ # //cloud.google.com/apis/design/errors).
888
+ class Status
889
+ include Google::Apis::Core::Hashable
890
+
891
+ # The status code, which should be an enum value of google.rpc.Code.
892
+ # Corresponds to the JSON property `code`
893
+ # @return [Fixnum]
894
+ attr_accessor :code
895
+
896
+ # A list of messages that carry the error details. There is a common set of
897
+ # message types for APIs to use.
898
+ # Corresponds to the JSON property `details`
899
+ # @return [Array<Hash<String,Object>>]
900
+ attr_accessor :details
901
+
902
+ # A developer-facing error message, which should be in English. Any user-facing
903
+ # error message should be localized and sent in the google.rpc.Status.details
904
+ # field, or localized by the client.
905
+ # Corresponds to the JSON property `message`
906
+ # @return [String]
907
+ attr_accessor :message
908
+
909
+ def initialize(**args)
910
+ update!(**args)
911
+ end
912
+
913
+ # Update properties of this object
914
+ def update!(**args)
915
+ @code = args[:code] if args.key?(:code)
916
+ @details = args[:details] if args.key?(:details)
917
+ @message = args[:message] if args.key?(:message)
918
+ end
919
+ end
920
+
921
+ # Tags point to a version and represent an alternative name that can be used to
922
+ # access the version.
923
+ class Tag
924
+ include Google::Apis::Core::Hashable
925
+
926
+ # The name of the tag, for example: "projects/p1/locations/us-central1/
927
+ # repositories/repo1/packages/pkg1/tags/tag1".
928
+ # Corresponds to the JSON property `name`
929
+ # @return [String]
930
+ attr_accessor :name
931
+
932
+ # The name of the version the tag refers to, for example: "projects/p1/locations/
933
+ # us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
934
+ # Corresponds to the JSON property `version`
935
+ # @return [String]
936
+ attr_accessor :version
937
+
938
+ def initialize(**args)
939
+ update!(**args)
940
+ end
941
+
942
+ # Update properties of this object
943
+ def update!(**args)
944
+ @name = args[:name] if args.key?(:name)
945
+ @version = args[:version] if args.key?(:version)
946
+ end
947
+ end
948
+
949
+ # Request message for `TestIamPermissions` method.
950
+ class TestIamPermissionsRequest
951
+ include Google::Apis::Core::Hashable
952
+
953
+ # The set of permissions to check for the `resource`. Permissions with wildcards
954
+ # (such as '*' or 'storage.*') are not allowed. For more information see [IAM
955
+ # Overview](https://cloud.google.com/iam/docs/overview#permissions).
956
+ # Corresponds to the JSON property `permissions`
957
+ # @return [Array<String>]
958
+ attr_accessor :permissions
959
+
960
+ def initialize(**args)
961
+ update!(**args)
962
+ end
963
+
964
+ # Update properties of this object
965
+ def update!(**args)
966
+ @permissions = args[:permissions] if args.key?(:permissions)
967
+ end
968
+ end
969
+
970
+ # Response message for `TestIamPermissions` method.
971
+ class TestIamPermissionsResponse
972
+ include Google::Apis::Core::Hashable
973
+
974
+ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
975
+ # Corresponds to the JSON property `permissions`
976
+ # @return [Array<String>]
977
+ attr_accessor :permissions
978
+
979
+ def initialize(**args)
980
+ update!(**args)
981
+ end
982
+
983
+ # Update properties of this object
984
+ def update!(**args)
985
+ @permissions = args[:permissions] if args.key?(:permissions)
986
+ end
987
+ end
988
+
989
+ # The body of a version resource. A version resource represents a collection of
990
+ # components, such as files and other data. This may correspond to a version in
991
+ # many package management schemes.
992
+ class Version
993
+ include Google::Apis::Core::Hashable
994
+
995
+ # The time when the version was created.
996
+ # Corresponds to the JSON property `createTime`
997
+ # @return [String]
998
+ attr_accessor :create_time
999
+
1000
+ # Optional. Description of the version, as specified in its metadata.
1001
+ # Corresponds to the JSON property `description`
1002
+ # @return [String]
1003
+ attr_accessor :description
1004
+
1005
+ # The name of the version, for example: "projects/p1/locations/us-central1/
1006
+ # repositories/repo1/packages/pkg1/versions/art1".
1007
+ # Corresponds to the JSON property `name`
1008
+ # @return [String]
1009
+ attr_accessor :name
1010
+
1011
+ # Output only. A list of related tags. Will contain up to 100 tags that
1012
+ # reference this version.
1013
+ # Corresponds to the JSON property `relatedTags`
1014
+ # @return [Array<Google::Apis::ArtifactregistryV1beta2::Tag>]
1015
+ attr_accessor :related_tags
1016
+
1017
+ # The time when the version was last updated.
1018
+ # Corresponds to the JSON property `updateTime`
1019
+ # @return [String]
1020
+ attr_accessor :update_time
1021
+
1022
+ def initialize(**args)
1023
+ update!(**args)
1024
+ end
1025
+
1026
+ # Update properties of this object
1027
+ def update!(**args)
1028
+ @create_time = args[:create_time] if args.key?(:create_time)
1029
+ @description = args[:description] if args.key?(:description)
1030
+ @name = args[:name] if args.key?(:name)
1031
+ @related_tags = args[:related_tags] if args.key?(:related_tags)
1032
+ @update_time = args[:update_time] if args.key?(:update_time)
1033
+ end
1034
+ end
1035
+ end
1036
+ end
1037
+ end