google-api-client 0.39.3 → 0.40.2

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -490,6 +490,18 @@ module Google
490
490
  include Google::Apis::Core::JsonObjectSupport
491
491
  end
492
492
 
493
+ class V1Beta1ImportProducerQuotaPoliciesResponse
494
+ class Representation < Google::Apis::Core::JsonRepresentation; end
495
+
496
+ include Google::Apis::Core::JsonObjectSupport
497
+ end
498
+
499
+ class V1Beta1ProducerQuotaPolicy
500
+ class Representation < Google::Apis::Core::JsonRepresentation; end
501
+
502
+ include Google::Apis::Core::JsonObjectSupport
503
+ end
504
+
493
505
  class V1Beta1QuotaOverride
494
506
  class Representation < Google::Apis::Core::JsonRepresentation; end
495
507
 
@@ -662,7 +674,6 @@ module Google
662
674
  property :operation_deadline, as: 'operationDeadline'
663
675
  property :path_translation, as: 'pathTranslation'
664
676
  property :protocol, as: 'protocol'
665
- property :rename_to, as: 'renameTo'
666
677
  property :selector, as: 'selector'
667
678
  end
668
679
  end
@@ -795,7 +806,6 @@ module Google
795
806
  class Representation < Google::Apis::Core::JsonRepresentation
796
807
  collection :aliases, as: 'aliases'
797
808
  property :allow_cors, as: 'allowCors'
798
- collection :features, as: 'features'
799
809
  property :name, as: 'name'
800
810
  property :target, as: 'target'
801
811
  end
@@ -1362,6 +1372,26 @@ module Google
1362
1372
  end
1363
1373
  end
1364
1374
 
1375
+ class V1Beta1ImportProducerQuotaPoliciesResponse
1376
+ # @private
1377
+ class Representation < Google::Apis::Core::JsonRepresentation
1378
+ collection :policies, as: 'policies', class: Google::Apis::ServiceconsumermanagementV1::V1Beta1ProducerQuotaPolicy, decorator: Google::Apis::ServiceconsumermanagementV1::V1Beta1ProducerQuotaPolicy::Representation
1379
+
1380
+ end
1381
+ end
1382
+
1383
+ class V1Beta1ProducerQuotaPolicy
1384
+ # @private
1385
+ class Representation < Google::Apis::Core::JsonRepresentation
1386
+ property :container, as: 'container'
1387
+ hash :dimensions, as: 'dimensions'
1388
+ property :metric, as: 'metric'
1389
+ property :name, as: 'name'
1390
+ property :policy_value, :numeric_string => true, as: 'policyValue'
1391
+ property :unit, as: 'unit'
1392
+ end
1393
+ end
1394
+
1365
1395
  class V1Beta1QuotaOverride
1366
1396
  # @private
1367
1397
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/service-consumer-management/docs/overview
26
26
  module ServiceconsumermanagementV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20200506'
28
+ REVISION = '20200611'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -441,36 +441,6 @@ module Google
441
441
  # @return [String]
442
442
  attr_accessor :protocol
443
443
 
444
- # Unimplemented. Do not use.
445
- # The new name the selected proto elements should be renamed to.
446
- # The package, the service and the method can all be renamed.
447
- # The backend server should implement the renamed proto. However, clients
448
- # should call the original method, and ESF routes the traffic to the renamed
449
- # method.
450
- # HTTP clients should call the URL mapped to the original method.
451
- # gRPC and Stubby clients should call the original method with package name.
452
- # For legacy reasons, ESF allows Stubby clients to call with the
453
- # short name (without the package name). However, for API Versioning(or
454
- # multiple methods mapped to the same short name), all Stubby clients must
455
- # call the method's full name with the package name, otherwise the first one
456
- # (selector) wins.
457
- # If this `rename_to` is specified with a trailing `*`, the `selector` must
458
- # be specified with a trailing `*` as well. The all element short names
459
- # matched by the `*` in the selector will be kept in the `rename_to`.
460
- # For example,
461
- # rename_rules:
462
- # - selector: |-
463
- # google.example.library.v1.*
464
- # rename_to: google.example.library.*
465
- # The selector matches `google.example.library.v1.Library.CreateShelf` and
466
- # `google.example.library.v1.Library.CreateBook`, they will be renamed to
467
- # `google.example.library.Library.CreateShelf` and
468
- # `google.example.library.Library.CreateBook`. It essentially renames the
469
- # proto package name section of the matched proto service and methods.
470
- # Corresponds to the JSON property `renameTo`
471
- # @return [String]
472
- attr_accessor :rename_to
473
-
474
444
  # Selects the methods to which this rule applies.
475
445
  # Refer to selector for syntax details.
476
446
  # Corresponds to the JSON property `selector`
@@ -491,7 +461,6 @@ module Google
491
461
  @operation_deadline = args[:operation_deadline] if args.key?(:operation_deadline)
492
462
  @path_translation = args[:path_translation] if args.key?(:path_translation)
493
463
  @protocol = args[:protocol] if args.key?(:protocol)
494
- @rename_to = args[:rename_to] if args.key?(:rename_to)
495
464
  @selector = args[:selector] if args.key?(:selector)
496
465
  end
497
466
  end
@@ -983,11 +952,6 @@ module Google
983
952
  attr_accessor :allow_cors
984
953
  alias_method :allow_cors?, :allow_cors
985
954
 
986
- # The list of features enabled on this endpoint.
987
- # Corresponds to the JSON property `features`
988
- # @return [Array<String>]
989
- attr_accessor :features
990
-
991
955
  # The canonical name of this endpoint.
992
956
  # Corresponds to the JSON property `name`
993
957
  # @return [String]
@@ -1010,7 +974,6 @@ module Google
1010
974
  def update!(**args)
1011
975
  @aliases = args[:aliases] if args.key?(:aliases)
1012
976
  @allow_cors = args[:allow_cors] if args.key?(:allow_cors)
1013
- @features = args[:features] if args.key?(:features)
1014
977
  @name = args[:name] if args.key?(:name)
1015
978
  @target = args[:target] if args.key?(:target)
1016
979
  end
@@ -1780,6 +1743,15 @@ module Google
1780
1743
  # Defines a metric type and its schema. Once a metric descriptor is created,
1781
1744
  # deleting or altering it stops data collection and makes the metric type's
1782
1745
  # existing data unusable.
1746
+ # The following are specific rules for service defined Monitoring metric
1747
+ # descriptors:
1748
+ # * `type`, `metric_kind`, `value_type`, `description`, `display_name`,
1749
+ # `launch_stage` fields are all required. The `unit` field must be specified
1750
+ # if the `value_type` is any of DOUBLE, INT64, DISTRIBUTION.
1751
+ # * Maximum of default 500 metric descriptors per service is allowed.
1752
+ # * Maximum of default 10 labels per metric descriptor is allowed.
1753
+ # The default maximum limit can be overridden. Please follow
1754
+ # https://cloud.google.com/monitoring/quotas
1783
1755
  class MetricDescriptor
1784
1756
  include Google::Apis::Core::Hashable
1785
1757
 
@@ -1797,7 +1769,13 @@ module Google
1797
1769
  attr_accessor :display_name
1798
1770
 
1799
1771
  # The set of labels that can be used to describe a specific
1800
- # instance of this metric type. For example, the
1772
+ # instance of this metric type.
1773
+ # The label key name must follow:
1774
+ # * Only upper and lower-case letters, digits and underscores (_) are
1775
+ # allowed.
1776
+ # * Label name must start with a letter or digit.
1777
+ # * The maximum length of a label name is 100 characters.
1778
+ # For example, the
1801
1779
  # `appengine.googleapis.com/http/server/response_latencies` metric
1802
1780
  # type has a label for the HTTP response code, `response_code`, so
1803
1781
  # you can look at latencies for successful responses or just
@@ -1837,9 +1815,19 @@ module Google
1837
1815
  attr_accessor :name
1838
1816
 
1839
1817
  # The metric type, including its DNS name prefix. The type is not
1840
- # URL-encoded. All user-defined metric types have the DNS name
1841
- # `custom.googleapis.com` or `external.googleapis.com`. Metric types should
1842
- # use a natural hierarchical grouping. For example:
1818
+ # URL-encoded.
1819
+ # All service defined metrics must be prefixed with the service name, in the
1820
+ # format of ``service name`/`relative metric name``, such as
1821
+ # `cloudsql.googleapis.com/database/cpu/utilization`. The relative metric
1822
+ # name must follow:
1823
+ # * Only upper and lower-case letters, digits, '/' and underscores '_' are
1824
+ # allowed.
1825
+ # * The maximum number of characters allowed for the relative_metric_name is
1826
+ # 100.
1827
+ # All user-defined metric types have the DNS name
1828
+ # `custom.googleapis.com`, `external.googleapis.com`, or
1829
+ # `logging.googleapis.com/user/`.
1830
+ # Metric types should use a natural hierarchical grouping. For example:
1843
1831
  # "custom.googleapis.com/invoice/paid/amount"
1844
1832
  # "external.googleapis.com/prometheus/up"
1845
1833
  # "appengine.googleapis.com/http/server/response_latencies"
@@ -2118,9 +2106,20 @@ module Google
2118
2106
  # descriptor for Google Compute Engine VM instances has a type of
2119
2107
  # `"gce_instance"` and specifies the use of the labels `"instance_id"` and
2120
2108
  # `"zone"` to identify particular VM instances.
2121
- # Different APIs can support different monitored resource types. APIs generally
2122
- # provide a `list` method that returns the monitored resource descriptors used
2123
- # by the API.
2109
+ # Different services can support different monitored resource types.
2110
+ # The following are specific rules to service defined monitored resources for
2111
+ # Monitoring and Logging:
2112
+ # * The `type`, `display_name`, `description`, `labels` and `launch_stage`
2113
+ # fields are all required.
2114
+ # * The first label of the monitored resource descriptor must be
2115
+ # `resource_container`. There are legacy monitored resource descritptors
2116
+ # start with `project_id`.
2117
+ # * It must include a `location` label. * Maximum of default 5 service defined
2118
+ # monitored resource descriptors
2119
+ # is allowed per service.
2120
+ # * Maximum of default 10 labels per monitored resource is allowed.
2121
+ # The default maximum limit can be overridden. Please follow
2122
+ # https://cloud.google.com/monitoring/quotas
2124
2123
  class MonitoredResourceDescriptor
2125
2124
  include Google::Apis::Core::Hashable
2126
2125
 
@@ -2139,8 +2138,14 @@ module Google
2139
2138
  attr_accessor :display_name
2140
2139
 
2141
2140
  # Required. A set of labels used to describe instances of this monitored
2142
- # resource type. For example, an individual Google Cloud SQL database is
2143
- # identified by values for the labels `"database_id"` and `"zone"`.
2141
+ # resource type.
2142
+ # The label key name must follow:
2143
+ # * Only upper and lower-case letters, digits and underscores (_) are
2144
+ # allowed.
2145
+ # * Label name must start with a letter or digit.
2146
+ # * The maximum length of a label name is 100 characters.
2147
+ # For example, an individual Google Cloud SQL database is
2148
+ # identified by values for the labels `database_id` and `location`.
2144
2149
  # Corresponds to the JSON property `labels`
2145
2150
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::LabelDescriptor>]
2146
2151
  attr_accessor :labels
@@ -2160,9 +2165,7 @@ module Google
2160
2165
  # @return [String]
2161
2166
  attr_accessor :name
2162
2167
 
2163
- # Required. The monitored resource type. For example, the type
2164
- # `"cloudsql_database"` represents databases in Google Cloud SQL.
2165
- # The maximum length of this value is 256 characters.
2168
+ # Note there are legacy service monitored resources not following this rule.
2166
2169
  # Corresponds to the JSON property `type`
2167
2170
  # @return [String]
2168
2171
  attr_accessor :type
@@ -2187,41 +2190,56 @@ module Google
2187
2190
  # for monitoring. In the example, a monitored resource and two metrics are
2188
2191
  # defined. The `library.googleapis.com/book/returned_count` metric is sent
2189
2192
  # to both producer and consumer projects, whereas the
2190
- # `library.googleapis.com/book/overdue_count` metric is only sent to the
2193
+ # `library.googleapis.com/book/num_overdue` metric is only sent to the
2191
2194
  # consumer project.
2192
2195
  # monitored_resources:
2193
- # - type: library.googleapis.com/branch
2196
+ # - type: library.googleapis.com/Branch
2197
+ # display_name: "Library Branch"
2198
+ # description: "A branch of a library."
2199
+ # launch_stage: GA
2194
2200
  # labels:
2195
- # - key: /city
2196
- # description: The city where the library branch is located in.
2197
- # - key: /name
2198
- # description: The name of the branch.
2201
+ # - key: resource_container
2202
+ # description: "The Cloud container (ie. project id) for the Branch."
2203
+ # - key: location
2204
+ # description: "The location of the library branch."
2205
+ # - key: branch_id
2206
+ # description: "The id of the branch."
2199
2207
  # metrics:
2200
2208
  # - name: library.googleapis.com/book/returned_count
2209
+ # display_name: "Books Returned"
2210
+ # description: "The count of books that have been returned."
2211
+ # launch_stage: GA
2201
2212
  # metric_kind: DELTA
2202
2213
  # value_type: INT64
2214
+ # unit: "1"
2203
2215
  # labels:
2204
- # - key: /customer_id
2205
- # - name: library.googleapis.com/book/overdue_count
2216
+ # - key: customer_id
2217
+ # description: "The id of the customer."
2218
+ # - name: library.googleapis.com/book/num_overdue
2219
+ # display_name: "Books Overdue"
2220
+ # description: "The current number of overdue books."
2221
+ # launch_stage: GA
2206
2222
  # metric_kind: GAUGE
2207
2223
  # value_type: INT64
2224
+ # unit: "1"
2208
2225
  # labels:
2209
- # - key: /customer_id
2226
+ # - key: customer_id
2227
+ # description: "The id of the customer."
2210
2228
  # monitoring:
2211
2229
  # producer_destinations:
2212
- # - monitored_resource: library.googleapis.com/branch
2230
+ # - monitored_resource: library.googleapis.com/Branch
2213
2231
  # metrics:
2214
2232
  # - library.googleapis.com/book/returned_count
2215
2233
  # consumer_destinations:
2216
- # - monitored_resource: library.googleapis.com/branch
2234
+ # - monitored_resource: library.googleapis.com/Branch
2217
2235
  # metrics:
2218
2236
  # - library.googleapis.com/book/returned_count
2219
- # - library.googleapis.com/book/overdue_count
2237
+ # - library.googleapis.com/book/num_overdue
2220
2238
  class Monitoring
2221
2239
  include Google::Apis::Core::Hashable
2222
2240
 
2223
2241
  # Monitoring configurations for sending metrics to the consumer project.
2224
- # There can be multiple consumer destinations. A monitored resouce type may
2242
+ # There can be multiple consumer destinations. A monitored resource type may
2225
2243
  # appear in multiple monitoring destinations if different aggregations are
2226
2244
  # needed for different sets of metrics associated with that monitored
2227
2245
  # resource type. A monitored resource and metric pair may only be used once
@@ -2231,7 +2249,7 @@ module Google
2231
2249
  attr_accessor :consumer_destinations
2232
2250
 
2233
2251
  # Monitoring configurations for sending metrics to the producer project.
2234
- # There can be multiple producer destinations. A monitored resouce type may
2252
+ # There can be multiple producer destinations. A monitored resource type may
2235
2253
  # appear in multiple monitoring destinations if different aggregations are
2236
2254
  # needed for different sets of metrics associated with that monitored
2237
2255
  # resource type. A monitored resource and metric pair may only be used once
@@ -2920,36 +2938,51 @@ module Google
2920
2938
  # for monitoring. In the example, a monitored resource and two metrics are
2921
2939
  # defined. The `library.googleapis.com/book/returned_count` metric is sent
2922
2940
  # to both producer and consumer projects, whereas the
2923
- # `library.googleapis.com/book/overdue_count` metric is only sent to the
2941
+ # `library.googleapis.com/book/num_overdue` metric is only sent to the
2924
2942
  # consumer project.
2925
2943
  # monitored_resources:
2926
- # - type: library.googleapis.com/branch
2944
+ # - type: library.googleapis.com/Branch
2945
+ # display_name: "Library Branch"
2946
+ # description: "A branch of a library."
2947
+ # launch_stage: GA
2927
2948
  # labels:
2928
- # - key: /city
2929
- # description: The city where the library branch is located in.
2930
- # - key: /name
2931
- # description: The name of the branch.
2949
+ # - key: resource_container
2950
+ # description: "The Cloud container (ie. project id) for the Branch."
2951
+ # - key: location
2952
+ # description: "The location of the library branch."
2953
+ # - key: branch_id
2954
+ # description: "The id of the branch."
2932
2955
  # metrics:
2933
2956
  # - name: library.googleapis.com/book/returned_count
2957
+ # display_name: "Books Returned"
2958
+ # description: "The count of books that have been returned."
2959
+ # launch_stage: GA
2934
2960
  # metric_kind: DELTA
2935
2961
  # value_type: INT64
2962
+ # unit: "1"
2936
2963
  # labels:
2937
- # - key: /customer_id
2938
- # - name: library.googleapis.com/book/overdue_count
2964
+ # - key: customer_id
2965
+ # description: "The id of the customer."
2966
+ # - name: library.googleapis.com/book/num_overdue
2967
+ # display_name: "Books Overdue"
2968
+ # description: "The current number of overdue books."
2969
+ # launch_stage: GA
2939
2970
  # metric_kind: GAUGE
2940
2971
  # value_type: INT64
2972
+ # unit: "1"
2941
2973
  # labels:
2942
- # - key: /customer_id
2974
+ # - key: customer_id
2975
+ # description: "The id of the customer."
2943
2976
  # monitoring:
2944
2977
  # producer_destinations:
2945
- # - monitored_resource: library.googleapis.com/branch
2978
+ # - monitored_resource: library.googleapis.com/Branch
2946
2979
  # metrics:
2947
2980
  # - library.googleapis.com/book/returned_count
2948
2981
  # consumer_destinations:
2949
- # - monitored_resource: library.googleapis.com/branch
2982
+ # - monitored_resource: library.googleapis.com/Branch
2950
2983
  # metrics:
2951
2984
  # - library.googleapis.com/book/returned_count
2952
- # - library.googleapis.com/book/overdue_count
2985
+ # - library.googleapis.com/book/num_overdue
2953
2986
  # Corresponds to the JSON property `monitoring`
2954
2987
  # @return [Google::Apis::ServiceconsumermanagementV1beta1::Monitoring]
2955
2988
  attr_accessor :monitoring
@@ -3591,6 +3624,11 @@ module Google
3591
3624
  # @return [String]
3592
3625
  attr_accessor :name
3593
3626
 
3627
+ # The units in which the metric value is reported.
3628
+ # Corresponds to the JSON property `unit`
3629
+ # @return [String]
3630
+ attr_accessor :unit
3631
+
3594
3632
  def initialize(**args)
3595
3633
  update!(**args)
3596
3634
  end
@@ -3601,6 +3639,7 @@ module Google
3601
3639
  @display_name = args[:display_name] if args.key?(:display_name)
3602
3640
  @metric = args[:metric] if args.key?(:metric)
3603
3641
  @name = args[:name] if args.key?(:name)
3642
+ @unit = args[:unit] if args.key?(:unit)
3604
3643
  end
3605
3644
  end
3606
3645
 
@@ -3704,6 +3743,25 @@ module Google
3704
3743
  end
3705
3744
  end
3706
3745
 
3746
+ # Response message for ImportProducerQuotaPolicies
3747
+ class V1Beta1ImportProducerQuotaPoliciesResponse
3748
+ include Google::Apis::Core::Hashable
3749
+
3750
+ # The policies that were created from the imported data.
3751
+ # Corresponds to the JSON property `policies`
3752
+ # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1ProducerQuotaPolicy>]
3753
+ attr_accessor :policies
3754
+
3755
+ def initialize(**args)
3756
+ update!(**args)
3757
+ end
3758
+
3759
+ # Update properties of this object
3760
+ def update!(**args)
3761
+ @policies = args[:policies] if args.key?(:policies)
3762
+ end
3763
+ end
3764
+
3707
3765
  # Response message for ListConsumerQuotaMetrics.
3708
3766
  class V1Beta1ListConsumerQuotaMetricsResponse
3709
3767
  include Google::Apis::Core::Hashable
@@ -3777,6 +3835,84 @@ module Google
3777
3835
  end
3778
3836
  end
3779
3837
 
3838
+ # Quota policy created by service producer.
3839
+ class V1Beta1ProducerQuotaPolicy
3840
+ include Google::Apis::Core::Hashable
3841
+
3842
+ # The cloud resource container at which the quota policy is created. The
3843
+ # format is `container_type`/`container_number`
3844
+ # Corresponds to the JSON property `container`
3845
+ # @return [String]
3846
+ attr_accessor :container
3847
+
3848
+ # If this map is nonempty, then this policy applies only to specific values
3849
+ # for dimensions defined in the limit unit.
3850
+ # For example, an policy on a limit with the unit 1/`project`/`region`
3851
+ # could contain an entry with the key "region" and the value "us-east-1";
3852
+ # the policy is only applied to quota consumed in that region.
3853
+ # This map has the following restrictions:
3854
+ # * Keys that are not defined in the limit's unit are not valid keys.
3855
+ # Any string appearing in `brackets` in the unit (besides `project` or
3856
+ # `user`) is a defined key.
3857
+ # * "project" is not a valid key; the project is already specified in
3858
+ # the parent resource name.
3859
+ # * "user" is not a valid key; the API does not support quota polcies
3860
+ # that apply only to a specific user.
3861
+ # * If "region" appears as a key, its value must be a valid Cloud region.
3862
+ # * If "zone" appears as a key, its value must be a valid Cloud zone.
3863
+ # * If any valid key other than "region" or "zone" appears in the map, then
3864
+ # all valid keys other than "region" or "zone" must also appear in the
3865
+ # map.
3866
+ # Corresponds to the JSON property `dimensions`
3867
+ # @return [Hash<String,String>]
3868
+ attr_accessor :dimensions
3869
+
3870
+ # The name of the metric to which this policy applies.
3871
+ # An example name would be:
3872
+ # `compute.googleapis.com/cpus`
3873
+ # Corresponds to the JSON property `metric`
3874
+ # @return [String]
3875
+ attr_accessor :metric
3876
+
3877
+ # The resource name of the producer policy.
3878
+ # An example name would be:
3879
+ # `services/compute.googleapis.com/organizations/123/consumerQuotaMetrics/
3880
+ # compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/producerQuotaPolicies/
3881
+ # 4a3f2c1d`
3882
+ # Corresponds to the JSON property `name`
3883
+ # @return [String]
3884
+ attr_accessor :name
3885
+
3886
+ # The quota policy value.
3887
+ # Can be any nonnegative integer, or -1 (unlimited quota).
3888
+ # Corresponds to the JSON property `policyValue`
3889
+ # @return [Fixnum]
3890
+ attr_accessor :policy_value
3891
+
3892
+ # The limit unit of the limit to which this policy applies.
3893
+ # An example unit would be:
3894
+ # `1/`project`/`region``
3895
+ # Note that ``project`` and ``region`` are not placeholders in this example;
3896
+ # the literal characters ``` and ``` occur in the string.
3897
+ # Corresponds to the JSON property `unit`
3898
+ # @return [String]
3899
+ attr_accessor :unit
3900
+
3901
+ def initialize(**args)
3902
+ update!(**args)
3903
+ end
3904
+
3905
+ # Update properties of this object
3906
+ def update!(**args)
3907
+ @container = args[:container] if args.key?(:container)
3908
+ @dimensions = args[:dimensions] if args.key?(:dimensions)
3909
+ @metric = args[:metric] if args.key?(:metric)
3910
+ @name = args[:name] if args.key?(:name)
3911
+ @policy_value = args[:policy_value] if args.key?(:policy_value)
3912
+ @unit = args[:unit] if args.key?(:unit)
3913
+ end
3914
+ end
3915
+
3780
3916
  # A quota bucket is a quota provisioning unit for a specific set of dimensions.
3781
3917
  class V1Beta1QuotaBucket
3782
3918
  include Google::Apis::Core::Hashable