google-api-client 0.39.3 → 0.40.2

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