google-api-client 0.40.0 → 0.41.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (452) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +297 -0
  3. data/bin/generate-api +1 -3
  4. data/generated/google/apis/admin_directory_v1.rb +1 -1
  5. data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
  6. data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
  7. data/generated/google/apis/admin_directory_v1/service.rb +3 -5
  8. data/generated/google/apis/admob_v1.rb +1 -1
  9. data/generated/google/apis/admob_v1/classes.rb +5 -6
  10. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  11. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
  12. data/generated/google/apis/androidenterprise_v1.rb +2 -2
  13. data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
  14. data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
  15. data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
  16. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  17. data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
  18. data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
  19. data/generated/google/apis/androidpublisher_v3.rb +3 -3
  20. data/generated/google/apis/androidpublisher_v3/classes.rb +499 -684
  21. data/generated/google/apis/androidpublisher_v3/representations.rb +19 -166
  22. data/generated/google/apis/androidpublisher_v3/service.rb +564 -748
  23. data/generated/google/apis/apigee_v1.rb +1 -1
  24. data/generated/google/apis/apigee_v1/classes.rb +144 -48
  25. data/generated/google/apis/apigee_v1/representations.rb +17 -0
  26. data/generated/google/apis/apigee_v1/service.rb +23 -24
  27. data/generated/google/apis/appsmarket_v2.rb +3 -3
  28. data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
  29. data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
  30. data/generated/google/apis/appsmarket_v2/service.rb +24 -39
  31. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  32. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +122 -0
  33. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +62 -0
  34. data/generated/google/apis/bigquery_v2.rb +1 -1
  35. data/generated/google/apis/bigquery_v2/classes.rb +51 -13
  36. data/generated/google/apis/bigquery_v2/representations.rb +4 -0
  37. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  38. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
  39. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  40. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
  41. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  42. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  43. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  44. data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
  45. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  46. data/generated/google/apis/bigtableadmin_v2/classes.rb +45 -37
  47. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
  48. data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
  49. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +3 -3
  50. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  51. data/generated/google/apis/binaryauthorization_v1/classes.rb +1 -4
  52. data/generated/google/apis/books_v1.rb +1 -1
  53. data/generated/google/apis/books_v1/service.rb +2 -2
  54. data/generated/google/apis/calendar_v3.rb +1 -1
  55. data/generated/google/apis/chat_v1.rb +1 -1
  56. data/generated/google/apis/chat_v1/classes.rb +2 -0
  57. data/generated/google/apis/civicinfo_v2.rb +2 -2
  58. data/generated/google/apis/civicinfo_v2/classes.rb +12 -800
  59. data/generated/google/apis/civicinfo_v2/representations.rb +0 -295
  60. data/generated/google/apis/civicinfo_v2/service.rb +27 -62
  61. data/generated/google/apis/cloudasset_v1.rb +1 -1
  62. data/generated/google/apis/cloudasset_v1/classes.rb +116 -36
  63. data/generated/google/apis/cloudasset_v1/representations.rb +6 -0
  64. data/generated/google/apis/cloudasset_v1/service.rb +18 -15
  65. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  66. data/generated/google/apis/cloudasset_v1beta1/classes.rb +954 -42
  67. data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
  68. data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
  69. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  70. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +6 -6
  71. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
  72. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  73. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +40 -23
  74. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +34 -9
  75. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  76. data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
  77. data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
  78. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  79. data/generated/google/apis/cloudbuild_v1/classes.rb +287 -15
  80. data/generated/google/apis/cloudbuild_v1/representations.rb +131 -4
  81. data/generated/google/apis/cloudbuild_v1/service.rb +0 -94
  82. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  83. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +298 -26
  84. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +136 -9
  85. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
  86. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  87. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +298 -26
  88. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +136 -9
  89. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
  90. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  91. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  92. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
  93. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  94. data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -6
  95. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  96. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  97. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +7 -1
  98. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
  99. data/generated/google/apis/cloudkms_v1.rb +1 -1
  100. data/generated/google/apis/cloudkms_v1/classes.rb +7 -7
  101. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  102. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +22 -18
  103. data/generated/google/apis/cloudresourcemanager_v1/service.rb +21 -14
  104. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  105. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +12 -11
  106. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
  107. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  108. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
  109. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  110. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
  111. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  112. data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
  113. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  114. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
  115. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  116. data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
  117. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  118. data/generated/google/apis/cloudtasks_v2/classes.rb +6 -4
  119. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  120. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +9 -0
  121. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  122. data/generated/google/apis/composer_v1beta1.rb +1 -1
  123. data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
  124. data/generated/google/apis/composer_v1beta1/service.rb +13 -0
  125. data/generated/google/apis/compute_alpha.rb +1 -1
  126. data/generated/google/apis/compute_alpha/classes.rb +801 -219
  127. data/generated/google/apis/compute_alpha/representations.rb +220 -32
  128. data/generated/google/apis/compute_alpha/service.rb +899 -113
  129. data/generated/google/apis/compute_beta.rb +1 -1
  130. data/generated/google/apis/compute_beta/classes.rb +490 -131
  131. data/generated/google/apis/compute_beta/representations.rb +97 -0
  132. data/generated/google/apis/compute_beta/service.rb +308 -33
  133. data/generated/google/apis/compute_v1.rb +1 -1
  134. data/generated/google/apis/compute_v1/classes.rb +706 -76
  135. data/generated/google/apis/compute_v1/representations.rb +200 -0
  136. data/generated/google/apis/compute_v1/service.rb +522 -33
  137. data/generated/google/apis/container_v1.rb +1 -1
  138. data/generated/google/apis/container_v1/classes.rb +123 -5
  139. data/generated/google/apis/container_v1/representations.rb +50 -0
  140. data/generated/google/apis/container_v1beta1.rb +1 -1
  141. data/generated/google/apis/container_v1beta1/classes.rb +142 -24
  142. data/generated/google/apis/container_v1beta1/representations.rb +37 -0
  143. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  144. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
  145. data/generated/google/apis/content_v2.rb +1 -1
  146. data/generated/google/apis/content_v2/classes.rb +41 -1
  147. data/generated/google/apis/content_v2/representations.rb +17 -0
  148. data/generated/google/apis/content_v2/service.rb +15 -6
  149. data/generated/google/apis/content_v2_1.rb +1 -1
  150. data/generated/google/apis/content_v2_1/classes.rb +616 -6
  151. data/generated/google/apis/content_v2_1/representations.rb +243 -0
  152. data/generated/google/apis/content_v2_1/service.rb +95 -6
  153. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  154. data/generated/google/apis/datacatalog_v1beta1/classes.rb +34 -10
  155. data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
  156. data/generated/google/apis/datacatalog_v1beta1/service.rb +37 -0
  157. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  158. data/generated/google/apis/dataflow_v1b3/classes.rb +19 -0
  159. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  160. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  161. data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
  162. data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
  163. data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
  164. data/generated/google/apis/dataproc_v1.rb +1 -1
  165. data/generated/google/apis/dataproc_v1/classes.rb +71 -24
  166. data/generated/google/apis/dataproc_v1/representations.rb +17 -0
  167. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  168. data/generated/google/apis/dataproc_v1beta2/classes.rb +65 -23
  169. data/generated/google/apis/dataproc_v1beta2/representations.rb +5 -0
  170. data/generated/google/apis/dialogflow_v2.rb +1 -1
  171. data/generated/google/apis/dialogflow_v2/classes.rb +277 -57
  172. data/generated/google/apis/dialogflow_v2/representations.rb +93 -4
  173. data/generated/google/apis/dialogflow_v2/service.rb +14 -2
  174. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  175. data/generated/google/apis/dialogflow_v2beta1/classes.rb +268 -56
  176. data/generated/google/apis/dialogflow_v2beta1/representations.rb +93 -4
  177. data/generated/google/apis/dialogflow_v2beta1/service.rb +70 -46
  178. data/generated/google/apis/displayvideo_v1.rb +1 -1
  179. data/generated/google/apis/displayvideo_v1/classes.rb +569 -6
  180. data/generated/google/apis/displayvideo_v1/representations.rb +249 -0
  181. data/generated/google/apis/displayvideo_v1/service.rb +1496 -77
  182. data/generated/google/apis/dlp_v2.rb +1 -1
  183. data/generated/google/apis/dlp_v2/classes.rb +8 -6
  184. data/generated/google/apis/dlp_v2/service.rb +170 -64
  185. data/generated/google/apis/dns_v1beta2.rb +4 -4
  186. data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
  187. data/generated/google/apis/dns_v1beta2/service.rb +247 -180
  188. data/generated/google/apis/{dialogflow_v3alpha1.rb → documentai_v1beta2.rb} +11 -13
  189. data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
  190. data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
  191. data/generated/google/apis/{dialogflow_v3alpha1 → documentai_v1beta2}/service.rb +91 -118
  192. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  193. data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
  194. data/generated/google/apis/doubleclicksearch_v2/classes.rb +127 -111
  195. data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
  196. data/generated/google/apis/doubleclicksearch_v2/service.rb +47 -78
  197. data/generated/google/apis/drive_v2.rb +1 -1
  198. data/generated/google/apis/drive_v2/classes.rb +9 -0
  199. data/generated/google/apis/drive_v2/representations.rb +1 -0
  200. data/generated/google/apis/drive_v2/service.rb +26 -78
  201. data/generated/google/apis/drive_v3.rb +1 -1
  202. data/generated/google/apis/drive_v3/classes.rb +9 -0
  203. data/generated/google/apis/drive_v3/representations.rb +1 -0
  204. data/generated/google/apis/drive_v3/service.rb +18 -54
  205. data/generated/google/apis/fcm_v1.rb +1 -1
  206. data/generated/google/apis/fcm_v1/classes.rb +6 -0
  207. data/generated/google/apis/file_v1.rb +1 -1
  208. data/generated/google/apis/file_v1/classes.rb +0 -1156
  209. data/generated/google/apis/file_v1/representations.rb +0 -381
  210. data/generated/google/apis/file_v1beta1.rb +1 -1
  211. data/generated/google/apis/file_v1beta1/classes.rb +67 -1156
  212. data/generated/google/apis/file_v1beta1/representations.rb +14 -376
  213. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  214. data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
  215. data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
  216. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  217. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
  218. data/generated/google/apis/fitness_v1.rb +1 -1
  219. data/generated/google/apis/fitness_v1/classes.rb +1 -1
  220. data/generated/google/apis/games_v1.rb +1 -1
  221. data/generated/google/apis/gameservices_v1.rb +34 -0
  222. data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
  223. data/generated/google/apis/gameservices_v1/representations.rb +971 -0
  224. data/generated/google/apis/gameservices_v1/service.rb +1472 -0
  225. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  226. data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
  227. data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
  228. data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
  229. data/generated/google/apis/gmail_v1.rb +3 -2
  230. data/generated/google/apis/gmail_v1/classes.rb +263 -200
  231. data/generated/google/apis/gmail_v1/service.rb +551 -743
  232. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +33 -0
  233. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
  234. data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
  235. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
  236. data/generated/google/apis/groupsmigration_v1.rb +3 -2
  237. data/generated/google/apis/groupsmigration_v1/service.rb +10 -17
  238. data/generated/google/apis/healthcare_v1.rb +1 -1
  239. data/generated/google/apis/healthcare_v1/classes.rb +9 -9
  240. data/generated/google/apis/healthcare_v1/service.rb +5 -3
  241. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  242. data/generated/google/apis/healthcare_v1beta1/classes.rb +919 -52
  243. data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
  244. data/generated/google/apis/healthcare_v1beta1/service.rb +520 -3
  245. data/generated/google/apis/iam_v1.rb +1 -1
  246. data/generated/google/apis/iam_v1/classes.rb +92 -81
  247. data/generated/google/apis/iam_v1/service.rb +167 -148
  248. data/generated/google/apis/iamcredentials_v1.rb +2 -2
  249. data/generated/google/apis/iamcredentials_v1/classes.rb +4 -3
  250. data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
  251. data/generated/google/apis/jobs_v3.rb +1 -1
  252. data/generated/google/apis/jobs_v3/classes.rb +4 -2
  253. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  254. data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
  255. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  256. data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
  257. data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
  258. data/generated/google/apis/logging_v2.rb +1 -1
  259. data/generated/google/apis/logging_v2/classes.rb +69 -21
  260. data/generated/google/apis/managedidentities_v1.rb +1 -1
  261. data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
  262. data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
  263. data/generated/google/apis/managedidentities_v1/service.rb +3 -0
  264. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  265. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
  266. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
  267. data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
  268. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  269. data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
  270. data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
  271. data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
  272. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  273. data/generated/google/apis/memcache_v1beta2/classes.rb +42 -11
  274. data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
  275. data/generated/google/apis/ml_v1.rb +1 -1
  276. data/generated/google/apis/ml_v1/classes.rb +8 -0
  277. data/generated/google/apis/ml_v1/representations.rb +1 -0
  278. data/generated/google/apis/monitoring_v1.rb +1 -1
  279. data/generated/google/apis/monitoring_v1/classes.rb +46 -0
  280. data/generated/google/apis/monitoring_v1/representations.rb +18 -0
  281. data/generated/google/apis/monitoring_v3.rb +1 -1
  282. data/generated/google/apis/monitoring_v3/classes.rb +68 -19
  283. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  284. data/generated/google/apis/osconfig_v1.rb +1 -1
  285. data/generated/google/apis/osconfig_v1/classes.rb +2 -2
  286. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  287. data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
  288. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  289. data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
  290. data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
  291. data/generated/google/apis/people_v1.rb +4 -1
  292. data/generated/google/apis/people_v1/classes.rb +216 -0
  293. data/generated/google/apis/people_v1/representations.rb +82 -0
  294. data/generated/google/apis/people_v1/service.rb +371 -8
  295. data/generated/google/apis/playablelocations_v3.rb +31 -0
  296. data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
  297. data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
  298. data/generated/google/apis/playablelocations_v3/service.rb +157 -0
  299. data/generated/google/apis/playcustomapp_v1.rb +3 -3
  300. data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
  301. data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
  302. data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
  303. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  304. data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
  305. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  306. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
  307. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  308. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +92 -0
  309. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +46 -0
  310. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +507 -0
  311. data/generated/google/apis/pubsub_v1.rb +1 -1
  312. data/generated/google/apis/pubsub_v1/classes.rb +68 -10
  313. data/generated/google/apis/pubsub_v1/representations.rb +28 -0
  314. data/generated/google/apis/pubsub_v1/service.rb +35 -1
  315. data/generated/google/apis/realtimebidding_v1.rb +40 -0
  316. data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
  317. data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
  318. data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
  319. data/generated/google/apis/recommender_v1.rb +34 -0
  320. data/generated/google/apis/recommender_v1/classes.rb +505 -0
  321. data/generated/google/apis/recommender_v1/representations.rb +232 -0
  322. data/generated/google/apis/recommender_v1/service.rb +266 -0
  323. data/generated/google/apis/redis_v1.rb +1 -1
  324. data/generated/google/apis/redis_v1/classes.rb +1 -1
  325. data/generated/google/apis/redis_v1/service.rb +1 -1
  326. data/generated/google/apis/redis_v1beta1.rb +1 -1
  327. data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
  328. data/generated/google/apis/redis_v1beta1/service.rb +1 -1
  329. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  330. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  331. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  332. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  333. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  334. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  335. data/generated/google/apis/run_v1.rb +1 -1
  336. data/generated/google/apis/run_v1/classes.rb +16 -9
  337. data/generated/google/apis/run_v1/representations.rb +1 -0
  338. data/generated/google/apis/run_v1alpha1.rb +1 -1
  339. data/generated/google/apis/run_v1alpha1/classes.rb +15 -6
  340. data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
  341. data/generated/google/apis/run_v1beta1.rb +1 -1
  342. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  343. data/generated/google/apis/sasportal_v1alpha1/classes.rb +92 -0
  344. data/generated/google/apis/sasportal_v1alpha1/representations.rb +46 -0
  345. data/generated/google/apis/sasportal_v1alpha1/service.rb +507 -0
  346. data/generated/google/apis/secretmanager_v1.rb +1 -1
  347. data/generated/google/apis/secretmanager_v1/classes.rb +6 -6
  348. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  349. data/generated/google/apis/secretmanager_v1beta1/classes.rb +6 -6
  350. data/generated/google/apis/securitycenter_v1.rb +1 -1
  351. data/generated/google/apis/securitycenter_v1/classes.rb +116 -16
  352. data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
  353. data/generated/google/apis/securitycenter_v1/service.rb +14 -15
  354. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  355. data/generated/google/apis/securitycenter_v1beta1/classes.rb +106 -6
  356. data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
  357. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  358. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
  359. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
  360. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  361. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +116 -16
  362. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
  363. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +12 -15
  364. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  365. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +223 -43
  366. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +33 -1
  367. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  368. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +229 -43
  369. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +34 -1
  370. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  371. data/generated/google/apis/servicecontrol_v1/classes.rb +9 -3
  372. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
  373. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  374. data/generated/google/apis/servicemanagement_v1/classes.rb +124 -49
  375. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  376. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  377. data/generated/google/apis/servicenetworking_v1/classes.rb +119 -43
  378. data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
  379. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  380. data/generated/google/apis/servicenetworking_v1beta/classes.rb +119 -43
  381. data/generated/google/apis/servicenetworking_v1beta/representations.rb +0 -1
  382. data/generated/google/apis/serviceusage_v1.rb +1 -1
  383. data/generated/google/apis/serviceusage_v1/classes.rb +221 -43
  384. data/generated/google/apis/serviceusage_v1/representations.rb +34 -1
  385. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  386. data/generated/google/apis/serviceusage_v1beta1/classes.rb +272 -43
  387. data/generated/google/apis/serviceusage_v1beta1/representations.rb +63 -1
  388. data/generated/google/apis/serviceusage_v1beta1/service.rb +71 -0
  389. data/generated/google/apis/sheets_v4.rb +1 -1
  390. data/generated/google/apis/sheets_v4/classes.rb +90 -0
  391. data/generated/google/apis/slides_v1.rb +1 -1
  392. data/generated/google/apis/slides_v1/classes.rb +4 -0
  393. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  394. data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
  395. data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
  396. data/generated/google/apis/spanner_v1.rb +1 -1
  397. data/generated/google/apis/spanner_v1/classes.rb +26 -22
  398. data/generated/google/apis/spanner_v1/service.rb +15 -8
  399. data/generated/google/apis/speech_v1.rb +1 -1
  400. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  401. data/generated/google/apis/sql_v1beta4.rb +1 -1
  402. data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
  403. data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
  404. data/generated/google/apis/storage_v1.rb +1 -1
  405. data/generated/google/apis/storage_v1/service.rb +2 -3
  406. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  407. data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
  408. data/generated/google/apis/testing_v1.rb +1 -1
  409. data/generated/google/apis/testing_v1/classes.rb +2 -1
  410. data/generated/google/apis/texttospeech_v1.rb +1 -1
  411. data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
  412. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  413. data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
  414. data/generated/google/apis/{customsearch_v1.rb → vectortile_v1.rb} +8 -8
  415. data/generated/google/apis/vectortile_v1/classes.rb +881 -0
  416. data/generated/google/apis/vectortile_v1/representations.rb +329 -0
  417. data/generated/google/apis/vectortile_v1/service.rb +268 -0
  418. data/generated/google/apis/videointelligence_v1.rb +1 -1
  419. data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
  420. data/generated/google/apis/videointelligence_v1/service.rb +32 -0
  421. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  422. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
  423. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  424. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
  425. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  426. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
  427. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  428. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
  429. data/generated/google/apis/vision_v1.rb +1 -1
  430. data/generated/google/apis/vision_v1/classes.rb +18 -0
  431. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  432. data/generated/google/apis/vision_v1p1beta1/classes.rb +18 -0
  433. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  434. data/generated/google/apis/vision_v1p2beta1/classes.rb +18 -0
  435. data/generated/google/apis/webfonts_v1.rb +5 -5
  436. data/generated/google/apis/webfonts_v1/classes.rb +4 -3
  437. data/generated/google/apis/webfonts_v1/representations.rb +1 -2
  438. data/generated/google/apis/webfonts_v1/service.rb +14 -21
  439. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  440. data/generated/google/apis/youtube_v3.rb +1 -1
  441. data/generated/google/apis/youtube_v3/classes.rb +38 -0
  442. data/generated/google/apis/youtube_v3/representations.rb +27 -0
  443. data/generated/google/apis/youtube_v3/service.rb +32 -0
  444. data/lib/google/apis/core/api_command.rb +12 -7
  445. data/lib/google/apis/options.rb +5 -1
  446. data/lib/google/apis/version.rb +1 -1
  447. metadata +31 -11
  448. data/generated/google/apis/customsearch_v1/classes.rb +0 -1606
  449. data/generated/google/apis/customsearch_v1/representations.rb +0 -372
  450. data/generated/google/apis/customsearch_v1/service.rb +0 -608
  451. data/generated/google/apis/dialogflow_v3alpha1/classes.rb +0 -5579
  452. data/generated/google/apis/dialogflow_v3alpha1/representations.rb +0 -2295
@@ -860,7 +860,6 @@ module Google
860
860
  class Representation < Google::Apis::Core::JsonRepresentation
861
861
  collection :aliases, as: 'aliases'
862
862
  property :allow_cors, as: 'allowCors'
863
- collection :features, as: 'features'
864
863
  property :name, as: 'name'
865
864
  property :target, as: 'target'
866
865
  end
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
27
27
  module ServicenetworkingV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200519'
29
+ REVISION = '20200615'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -1437,11 +1437,6 @@ module Google
1437
1437
  attr_accessor :allow_cors
1438
1438
  alias_method :allow_cors?, :allow_cors
1439
1439
 
1440
- # The list of features enabled on this endpoint.
1441
- # Corresponds to the JSON property `features`
1442
- # @return [Array<String>]
1443
- attr_accessor :features
1444
-
1445
1440
  # The canonical name of this endpoint.
1446
1441
  # Corresponds to the JSON property `name`
1447
1442
  # @return [String]
@@ -1464,7 +1459,6 @@ module Google
1464
1459
  def update!(**args)
1465
1460
  @aliases = args[:aliases] if args.key?(:aliases)
1466
1461
  @allow_cors = args[:allow_cors] if args.key?(:allow_cors)
1467
- @features = args[:features] if args.key?(:features)
1468
1462
  @name = args[:name] if args.key?(:name)
1469
1463
  @target = args[:target] if args.key?(:target)
1470
1464
  end
@@ -2322,6 +2316,15 @@ module Google
2322
2316
  # Defines a metric type and its schema. Once a metric descriptor is created,
2323
2317
  # deleting or altering it stops data collection and makes the metric type's
2324
2318
  # existing data unusable.
2319
+ # The following are specific rules for service defined Monitoring metric
2320
+ # descriptors:
2321
+ # * `type`, `metric_kind`, `value_type`, `description`, `display_name`,
2322
+ # `launch_stage` fields are all required. The `unit` field must be specified
2323
+ # if the `value_type` is any of DOUBLE, INT64, DISTRIBUTION.
2324
+ # * Maximum of default 500 metric descriptors per service is allowed.
2325
+ # * Maximum of default 10 labels per metric descriptor is allowed.
2326
+ # The default maximum limit can be overridden. Please follow
2327
+ # https://cloud.google.com/monitoring/quotas
2325
2328
  class MetricDescriptor
2326
2329
  include Google::Apis::Core::Hashable
2327
2330
 
@@ -2339,7 +2342,13 @@ module Google
2339
2342
  attr_accessor :display_name
2340
2343
 
2341
2344
  # The set of labels that can be used to describe a specific
2342
- # instance of this metric type. For example, the
2345
+ # instance of this metric type.
2346
+ # The label key name must follow:
2347
+ # * Only upper and lower-case letters, digits and underscores (_) are
2348
+ # allowed.
2349
+ # * Label name must start with a letter or digit.
2350
+ # * The maximum length of a label name is 100 characters.
2351
+ # For example, the
2343
2352
  # `appengine.googleapis.com/http/server/response_latencies` metric
2344
2353
  # type has a label for the HTTP response code, `response_code`, so
2345
2354
  # you can look at latencies for successful responses or just
@@ -2379,9 +2388,19 @@ module Google
2379
2388
  attr_accessor :name
2380
2389
 
2381
2390
  # The metric type, including its DNS name prefix. The type is not
2382
- # URL-encoded. All user-defined metric types have the DNS name
2383
- # `custom.googleapis.com` or `external.googleapis.com`. Metric types should
2384
- # use a natural hierarchical grouping. For example:
2391
+ # URL-encoded.
2392
+ # All service defined metrics must be prefixed with the service name, in the
2393
+ # format of ``service name`/`relative metric name``, such as
2394
+ # `cloudsql.googleapis.com/database/cpu/utilization`. The relative metric
2395
+ # name must follow:
2396
+ # * Only upper and lower-case letters, digits, '/' and underscores '_' are
2397
+ # allowed.
2398
+ # * The maximum number of characters allowed for the relative_metric_name is
2399
+ # 100.
2400
+ # All user-defined metric types have the DNS name
2401
+ # `custom.googleapis.com`, `external.googleapis.com`, or
2402
+ # `logging.googleapis.com/user/`.
2403
+ # Metric types should use a natural hierarchical grouping. For example:
2385
2404
  # "custom.googleapis.com/invoice/paid/amount"
2386
2405
  # "external.googleapis.com/prometheus/up"
2387
2406
  # "appengine.googleapis.com/http/server/response_latencies"
@@ -2414,6 +2433,7 @@ module Google
2414
2433
  # * `min` minute
2415
2434
  # * `h` hour
2416
2435
  # * `d` day
2436
+ # * `1` dimensionless
2417
2437
  # **Prefixes (PREFIX)**
2418
2438
  # * `k` kilo (10^3)
2419
2439
  # * `M` mega (10^6)
@@ -2660,9 +2680,20 @@ module Google
2660
2680
  # descriptor for Google Compute Engine VM instances has a type of
2661
2681
  # `"gce_instance"` and specifies the use of the labels `"instance_id"` and
2662
2682
  # `"zone"` to identify particular VM instances.
2663
- # Different APIs can support different monitored resource types. APIs generally
2664
- # provide a `list` method that returns the monitored resource descriptors used
2665
- # by the API.
2683
+ # Different services can support different monitored resource types.
2684
+ # The following are specific rules to service defined monitored resources for
2685
+ # Monitoring and Logging:
2686
+ # * The `type`, `display_name`, `description`, `labels` and `launch_stage`
2687
+ # fields are all required.
2688
+ # * The first label of the monitored resource descriptor must be
2689
+ # `resource_container`. There are legacy monitored resource descritptors
2690
+ # start with `project_id`.
2691
+ # * It must include a `location` label.
2692
+ # * Maximum of default 5 service defined monitored resource descriptors
2693
+ # is allowed per service.
2694
+ # * Maximum of default 10 labels per monitored resource is allowed.
2695
+ # The default maximum limit can be overridden. Please follow
2696
+ # https://cloud.google.com/monitoring/quotas
2666
2697
  class MonitoredResourceDescriptor
2667
2698
  include Google::Apis::Core::Hashable
2668
2699
 
@@ -2681,8 +2712,14 @@ module Google
2681
2712
  attr_accessor :display_name
2682
2713
 
2683
2714
  # Required. A set of labels used to describe instances of this monitored
2684
- # resource type. For example, an individual Google Cloud SQL database is
2685
- # identified by values for the labels `"database_id"` and `"zone"`.
2715
+ # resource type.
2716
+ # The label key name must follow:
2717
+ # * Only upper and lower-case letters, digits and underscores (_) are
2718
+ # allowed.
2719
+ # * Label name must start with a letter or digit.
2720
+ # * The maximum length of a label name is 100 characters.
2721
+ # For example, an individual Google Cloud SQL database is
2722
+ # identified by values for the labels `database_id` and `location`.
2686
2723
  # Corresponds to the JSON property `labels`
2687
2724
  # @return [Array<Google::Apis::ServicenetworkingV1::LabelDescriptor>]
2688
2725
  attr_accessor :labels
@@ -2703,8 +2740,16 @@ module Google
2703
2740
  attr_accessor :name
2704
2741
 
2705
2742
  # Required. The monitored resource type. For example, the type
2706
- # `"cloudsql_database"` represents databases in Google Cloud SQL.
2707
- # The maximum length of this value is 256 characters.
2743
+ # `cloudsql_database` represents databases in Google Cloud SQL.
2744
+ # All service defined monitored resource types must be prefixed with the
2745
+ # service name, in the format of ``service name`/`relative resource name``.
2746
+ # The relative resource name must follow:
2747
+ # * Only upper and lower-case letters and digits are allowed.
2748
+ # * It must start with upper case character and is recommended to use Upper
2749
+ # Camel Case style.
2750
+ # * The maximum number of characters allowed for the relative_resource_name
2751
+ # is 100.
2752
+ # Note there are legacy service monitored resources not following this rule.
2708
2753
  # Corresponds to the JSON property `type`
2709
2754
  # @return [String]
2710
2755
  attr_accessor :type
@@ -2729,41 +2774,56 @@ module Google
2729
2774
  # for monitoring. In the example, a monitored resource and two metrics are
2730
2775
  # defined. The `library.googleapis.com/book/returned_count` metric is sent
2731
2776
  # to both producer and consumer projects, whereas the
2732
- # `library.googleapis.com/book/overdue_count` metric is only sent to the
2777
+ # `library.googleapis.com/book/num_overdue` metric is only sent to the
2733
2778
  # consumer project.
2734
2779
  # monitored_resources:
2735
- # - type: library.googleapis.com/branch
2780
+ # - type: library.googleapis.com/Branch
2781
+ # display_name: "Library Branch"
2782
+ # description: "A branch of a library."
2783
+ # launch_stage: GA
2736
2784
  # labels:
2737
- # - key: /city
2738
- # description: The city where the library branch is located in.
2739
- # - key: /name
2740
- # description: The name of the branch.
2785
+ # - key: resource_container
2786
+ # description: "The Cloud container (ie. project id) for the Branch."
2787
+ # - key: location
2788
+ # description: "The location of the library branch."
2789
+ # - key: branch_id
2790
+ # description: "The id of the branch."
2741
2791
  # metrics:
2742
2792
  # - name: library.googleapis.com/book/returned_count
2793
+ # display_name: "Books Returned"
2794
+ # description: "The count of books that have been returned."
2795
+ # launch_stage: GA
2743
2796
  # metric_kind: DELTA
2744
2797
  # value_type: INT64
2798
+ # unit: "1"
2745
2799
  # labels:
2746
- # - key: /customer_id
2747
- # - name: library.googleapis.com/book/overdue_count
2800
+ # - key: customer_id
2801
+ # description: "The id of the customer."
2802
+ # - name: library.googleapis.com/book/num_overdue
2803
+ # display_name: "Books Overdue"
2804
+ # description: "The current number of overdue books."
2805
+ # launch_stage: GA
2748
2806
  # metric_kind: GAUGE
2749
2807
  # value_type: INT64
2808
+ # unit: "1"
2750
2809
  # labels:
2751
- # - key: /customer_id
2810
+ # - key: customer_id
2811
+ # description: "The id of the customer."
2752
2812
  # monitoring:
2753
2813
  # producer_destinations:
2754
- # - monitored_resource: library.googleapis.com/branch
2814
+ # - monitored_resource: library.googleapis.com/Branch
2755
2815
  # metrics:
2756
2816
  # - library.googleapis.com/book/returned_count
2757
2817
  # consumer_destinations:
2758
- # - monitored_resource: library.googleapis.com/branch
2818
+ # - monitored_resource: library.googleapis.com/Branch
2759
2819
  # metrics:
2760
2820
  # - library.googleapis.com/book/returned_count
2761
- # - library.googleapis.com/book/overdue_count
2821
+ # - library.googleapis.com/book/num_overdue
2762
2822
  class Monitoring
2763
2823
  include Google::Apis::Core::Hashable
2764
2824
 
2765
2825
  # Monitoring configurations for sending metrics to the consumer project.
2766
- # There can be multiple consumer destinations. A monitored resouce type may
2826
+ # There can be multiple consumer destinations. A monitored resource type may
2767
2827
  # appear in multiple monitoring destinations if different aggregations are
2768
2828
  # needed for different sets of metrics associated with that monitored
2769
2829
  # resource type. A monitored resource and metric pair may only be used once
@@ -2773,7 +2833,7 @@ module Google
2773
2833
  attr_accessor :consumer_destinations
2774
2834
 
2775
2835
  # Monitoring configurations for sending metrics to the producer project.
2776
- # There can be multiple producer destinations. A monitored resouce type may
2836
+ # There can be multiple producer destinations. A monitored resource type may
2777
2837
  # appear in multiple monitoring destinations if different aggregations are
2778
2838
  # needed for different sets of metrics associated with that monitored
2779
2839
  # resource type. A monitored resource and metric pair may only be used once
@@ -3017,6 +3077,7 @@ module Google
3017
3077
  # granularity. The role must be one of the following:
3018
3078
  # - 'roles/container.hostServiceAgentUser' applied on the shared VPC host
3019
3079
  # project
3080
+ # - 'roles/compute.securityAdmin' applied on the shared VPC host project
3020
3081
  # Corresponds to the JSON property `role`
3021
3082
  # @return [String]
3022
3083
  attr_accessor :role
@@ -3752,36 +3813,51 @@ module Google
3752
3813
  # for monitoring. In the example, a monitored resource and two metrics are
3753
3814
  # defined. The `library.googleapis.com/book/returned_count` metric is sent
3754
3815
  # to both producer and consumer projects, whereas the
3755
- # `library.googleapis.com/book/overdue_count` metric is only sent to the
3816
+ # `library.googleapis.com/book/num_overdue` metric is only sent to the
3756
3817
  # consumer project.
3757
3818
  # monitored_resources:
3758
- # - type: library.googleapis.com/branch
3819
+ # - type: library.googleapis.com/Branch
3820
+ # display_name: "Library Branch"
3821
+ # description: "A branch of a library."
3822
+ # launch_stage: GA
3759
3823
  # labels:
3760
- # - key: /city
3761
- # description: The city where the library branch is located in.
3762
- # - key: /name
3763
- # description: The name of the branch.
3824
+ # - key: resource_container
3825
+ # description: "The Cloud container (ie. project id) for the Branch."
3826
+ # - key: location
3827
+ # description: "The location of the library branch."
3828
+ # - key: branch_id
3829
+ # description: "The id of the branch."
3764
3830
  # metrics:
3765
3831
  # - name: library.googleapis.com/book/returned_count
3832
+ # display_name: "Books Returned"
3833
+ # description: "The count of books that have been returned."
3834
+ # launch_stage: GA
3766
3835
  # metric_kind: DELTA
3767
3836
  # value_type: INT64
3837
+ # unit: "1"
3768
3838
  # labels:
3769
- # - key: /customer_id
3770
- # - name: library.googleapis.com/book/overdue_count
3839
+ # - key: customer_id
3840
+ # description: "The id of the customer."
3841
+ # - name: library.googleapis.com/book/num_overdue
3842
+ # display_name: "Books Overdue"
3843
+ # description: "The current number of overdue books."
3844
+ # launch_stage: GA
3771
3845
  # metric_kind: GAUGE
3772
3846
  # value_type: INT64
3847
+ # unit: "1"
3773
3848
  # labels:
3774
- # - key: /customer_id
3849
+ # - key: customer_id
3850
+ # description: "The id of the customer."
3775
3851
  # monitoring:
3776
3852
  # producer_destinations:
3777
- # - monitored_resource: library.googleapis.com/branch
3853
+ # - monitored_resource: library.googleapis.com/Branch
3778
3854
  # metrics:
3779
3855
  # - library.googleapis.com/book/returned_count
3780
3856
  # consumer_destinations:
3781
- # - monitored_resource: library.googleapis.com/branch
3857
+ # - monitored_resource: library.googleapis.com/Branch
3782
3858
  # metrics:
3783
3859
  # - library.googleapis.com/book/returned_count
3784
- # - library.googleapis.com/book/overdue_count
3860
+ # - library.googleapis.com/book/num_overdue
3785
3861
  # Corresponds to the JSON property `monitoring`
3786
3862
  # @return [Google::Apis::ServicenetworkingV1::Monitoring]
3787
3863
  attr_accessor :monitoring
@@ -874,7 +874,6 @@ module Google
874
874
  class Representation < Google::Apis::Core::JsonRepresentation
875
875
  collection :aliases, as: 'aliases'
876
876
  property :allow_cors, as: 'allowCors'
877
- collection :features, as: 'features'
878
877
  property :name, as: 'name'
879
878
  property :target, as: 'target'
880
879
  end
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
27
27
  module ServicenetworkingV1beta
28
28
  VERSION = 'V1beta'
29
- REVISION = '20200519'
29
+ REVISION = '20200615'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -1220,11 +1220,6 @@ module Google
1220
1220
  attr_accessor :allow_cors
1221
1221
  alias_method :allow_cors?, :allow_cors
1222
1222
 
1223
- # The list of features enabled on this endpoint.
1224
- # Corresponds to the JSON property `features`
1225
- # @return [Array<String>]
1226
- attr_accessor :features
1227
-
1228
1223
  # The canonical name of this endpoint.
1229
1224
  # Corresponds to the JSON property `name`
1230
1225
  # @return [String]
@@ -1247,7 +1242,6 @@ module Google
1247
1242
  def update!(**args)
1248
1243
  @aliases = args[:aliases] if args.key?(:aliases)
1249
1244
  @allow_cors = args[:allow_cors] if args.key?(:allow_cors)
1250
- @features = args[:features] if args.key?(:features)
1251
1245
  @name = args[:name] if args.key?(:name)
1252
1246
  @target = args[:target] if args.key?(:target)
1253
1247
  end
@@ -2080,6 +2074,15 @@ module Google
2080
2074
  # Defines a metric type and its schema. Once a metric descriptor is created,
2081
2075
  # deleting or altering it stops data collection and makes the metric type's
2082
2076
  # existing data unusable.
2077
+ # The following are specific rules for service defined Monitoring metric
2078
+ # descriptors:
2079
+ # * `type`, `metric_kind`, `value_type`, `description`, `display_name`,
2080
+ # `launch_stage` fields are all required. The `unit` field must be specified
2081
+ # if the `value_type` is any of DOUBLE, INT64, DISTRIBUTION.
2082
+ # * Maximum of default 500 metric descriptors per service is allowed.
2083
+ # * Maximum of default 10 labels per metric descriptor is allowed.
2084
+ # The default maximum limit can be overridden. Please follow
2085
+ # https://cloud.google.com/monitoring/quotas
2083
2086
  class MetricDescriptor
2084
2087
  include Google::Apis::Core::Hashable
2085
2088
 
@@ -2097,7 +2100,13 @@ module Google
2097
2100
  attr_accessor :display_name
2098
2101
 
2099
2102
  # The set of labels that can be used to describe a specific
2100
- # instance of this metric type. For example, the
2103
+ # instance of this metric type.
2104
+ # The label key name must follow:
2105
+ # * Only upper and lower-case letters, digits and underscores (_) are
2106
+ # allowed.
2107
+ # * Label name must start with a letter or digit.
2108
+ # * The maximum length of a label name is 100 characters.
2109
+ # For example, the
2101
2110
  # `appengine.googleapis.com/http/server/response_latencies` metric
2102
2111
  # type has a label for the HTTP response code, `response_code`, so
2103
2112
  # you can look at latencies for successful responses or just
@@ -2137,9 +2146,19 @@ module Google
2137
2146
  attr_accessor :name
2138
2147
 
2139
2148
  # The metric type, including its DNS name prefix. The type is not
2140
- # URL-encoded. All user-defined metric types have the DNS name
2141
- # `custom.googleapis.com` or `external.googleapis.com`. Metric types should
2142
- # use a natural hierarchical grouping. For example:
2149
+ # URL-encoded.
2150
+ # All service defined metrics must be prefixed with the service name, in the
2151
+ # format of ``service name`/`relative metric name``, such as
2152
+ # `cloudsql.googleapis.com/database/cpu/utilization`. The relative metric
2153
+ # name must follow:
2154
+ # * Only upper and lower-case letters, digits, '/' and underscores '_' are
2155
+ # allowed.
2156
+ # * The maximum number of characters allowed for the relative_metric_name is
2157
+ # 100.
2158
+ # All user-defined metric types have the DNS name
2159
+ # `custom.googleapis.com`, `external.googleapis.com`, or
2160
+ # `logging.googleapis.com/user/`.
2161
+ # Metric types should use a natural hierarchical grouping. For example:
2143
2162
  # "custom.googleapis.com/invoice/paid/amount"
2144
2163
  # "external.googleapis.com/prometheus/up"
2145
2164
  # "appengine.googleapis.com/http/server/response_latencies"
@@ -2172,6 +2191,7 @@ module Google
2172
2191
  # * `min` minute
2173
2192
  # * `h` hour
2174
2193
  # * `d` day
2194
+ # * `1` dimensionless
2175
2195
  # **Prefixes (PREFIX)**
2176
2196
  # * `k` kilo (10^3)
2177
2197
  # * `M` mega (10^6)
@@ -2418,9 +2438,20 @@ module Google
2418
2438
  # descriptor for Google Compute Engine VM instances has a type of
2419
2439
  # `"gce_instance"` and specifies the use of the labels `"instance_id"` and
2420
2440
  # `"zone"` to identify particular VM instances.
2421
- # Different APIs can support different monitored resource types. APIs generally
2422
- # provide a `list` method that returns the monitored resource descriptors used
2423
- # by the API.
2441
+ # Different services can support different monitored resource types.
2442
+ # The following are specific rules to service defined monitored resources for
2443
+ # Monitoring and Logging:
2444
+ # * The `type`, `display_name`, `description`, `labels` and `launch_stage`
2445
+ # fields are all required.
2446
+ # * The first label of the monitored resource descriptor must be
2447
+ # `resource_container`. There are legacy monitored resource descritptors
2448
+ # start with `project_id`.
2449
+ # * It must include a `location` label.
2450
+ # * Maximum of default 5 service defined monitored resource descriptors
2451
+ # is allowed per service.
2452
+ # * Maximum of default 10 labels per monitored resource is allowed.
2453
+ # The default maximum limit can be overridden. Please follow
2454
+ # https://cloud.google.com/monitoring/quotas
2424
2455
  class MonitoredResourceDescriptor
2425
2456
  include Google::Apis::Core::Hashable
2426
2457
 
@@ -2439,8 +2470,14 @@ module Google
2439
2470
  attr_accessor :display_name
2440
2471
 
2441
2472
  # Required. A set of labels used to describe instances of this monitored
2442
- # resource type. For example, an individual Google Cloud SQL database is
2443
- # identified by values for the labels `"database_id"` and `"zone"`.
2473
+ # resource type.
2474
+ # The label key name must follow:
2475
+ # * Only upper and lower-case letters, digits and underscores (_) are
2476
+ # allowed.
2477
+ # * Label name must start with a letter or digit.
2478
+ # * The maximum length of a label name is 100 characters.
2479
+ # For example, an individual Google Cloud SQL database is
2480
+ # identified by values for the labels `database_id` and `location`.
2444
2481
  # Corresponds to the JSON property `labels`
2445
2482
  # @return [Array<Google::Apis::ServicenetworkingV1beta::LabelDescriptor>]
2446
2483
  attr_accessor :labels
@@ -2461,8 +2498,16 @@ module Google
2461
2498
  attr_accessor :name
2462
2499
 
2463
2500
  # Required. The monitored resource type. For example, the type
2464
- # `"cloudsql_database"` represents databases in Google Cloud SQL.
2465
- # The maximum length of this value is 256 characters.
2501
+ # `cloudsql_database` represents databases in Google Cloud SQL.
2502
+ # All service defined monitored resource types must be prefixed with the
2503
+ # service name, in the format of ``service name`/`relative resource name``.
2504
+ # The relative resource name must follow:
2505
+ # * Only upper and lower-case letters and digits are allowed.
2506
+ # * It must start with upper case character and is recommended to use Upper
2507
+ # Camel Case style.
2508
+ # * The maximum number of characters allowed for the relative_resource_name
2509
+ # is 100.
2510
+ # Note there are legacy service monitored resources not following this rule.
2466
2511
  # Corresponds to the JSON property `type`
2467
2512
  # @return [String]
2468
2513
  attr_accessor :type
@@ -2487,41 +2532,56 @@ module Google
2487
2532
  # for monitoring. In the example, a monitored resource and two metrics are
2488
2533
  # defined. The `library.googleapis.com/book/returned_count` metric is sent
2489
2534
  # to both producer and consumer projects, whereas the
2490
- # `library.googleapis.com/book/overdue_count` metric is only sent to the
2535
+ # `library.googleapis.com/book/num_overdue` metric is only sent to the
2491
2536
  # consumer project.
2492
2537
  # monitored_resources:
2493
- # - type: library.googleapis.com/branch
2538
+ # - type: library.googleapis.com/Branch
2539
+ # display_name: "Library Branch"
2540
+ # description: "A branch of a library."
2541
+ # launch_stage: GA
2494
2542
  # labels:
2495
- # - key: /city
2496
- # description: The city where the library branch is located in.
2497
- # - key: /name
2498
- # description: The name of the branch.
2543
+ # - key: resource_container
2544
+ # description: "The Cloud container (ie. project id) for the Branch."
2545
+ # - key: location
2546
+ # description: "The location of the library branch."
2547
+ # - key: branch_id
2548
+ # description: "The id of the branch."
2499
2549
  # metrics:
2500
2550
  # - name: library.googleapis.com/book/returned_count
2551
+ # display_name: "Books Returned"
2552
+ # description: "The count of books that have been returned."
2553
+ # launch_stage: GA
2501
2554
  # metric_kind: DELTA
2502
2555
  # value_type: INT64
2556
+ # unit: "1"
2503
2557
  # labels:
2504
- # - key: /customer_id
2505
- # - name: library.googleapis.com/book/overdue_count
2558
+ # - key: customer_id
2559
+ # description: "The id of the customer."
2560
+ # - name: library.googleapis.com/book/num_overdue
2561
+ # display_name: "Books Overdue"
2562
+ # description: "The current number of overdue books."
2563
+ # launch_stage: GA
2506
2564
  # metric_kind: GAUGE
2507
2565
  # value_type: INT64
2566
+ # unit: "1"
2508
2567
  # labels:
2509
- # - key: /customer_id
2568
+ # - key: customer_id
2569
+ # description: "The id of the customer."
2510
2570
  # monitoring:
2511
2571
  # producer_destinations:
2512
- # - monitored_resource: library.googleapis.com/branch
2572
+ # - monitored_resource: library.googleapis.com/Branch
2513
2573
  # metrics:
2514
2574
  # - library.googleapis.com/book/returned_count
2515
2575
  # consumer_destinations:
2516
- # - monitored_resource: library.googleapis.com/branch
2576
+ # - monitored_resource: library.googleapis.com/Branch
2517
2577
  # metrics:
2518
2578
  # - library.googleapis.com/book/returned_count
2519
- # - library.googleapis.com/book/overdue_count
2579
+ # - library.googleapis.com/book/num_overdue
2520
2580
  class Monitoring
2521
2581
  include Google::Apis::Core::Hashable
2522
2582
 
2523
2583
  # Monitoring configurations for sending metrics to the consumer project.
2524
- # There can be multiple consumer destinations. A monitored resouce type may
2584
+ # There can be multiple consumer destinations. A monitored resource type may
2525
2585
  # appear in multiple monitoring destinations if different aggregations are
2526
2586
  # needed for different sets of metrics associated with that monitored
2527
2587
  # resource type. A monitored resource and metric pair may only be used once
@@ -2531,7 +2591,7 @@ module Google
2531
2591
  attr_accessor :consumer_destinations
2532
2592
 
2533
2593
  # Monitoring configurations for sending metrics to the producer project.
2534
- # There can be multiple producer destinations. A monitored resouce type may
2594
+ # There can be multiple producer destinations. A monitored resource type may
2535
2595
  # appear in multiple monitoring destinations if different aggregations are
2536
2596
  # needed for different sets of metrics associated with that monitored
2537
2597
  # resource type. A monitored resource and metric pair may only be used once
@@ -2775,6 +2835,7 @@ module Google
2775
2835
  # granularity. The role must be one of the following:
2776
2836
  # - 'roles/container.hostServiceAgentUser' applied on the shared VPC host
2777
2837
  # project
2838
+ # - 'roles/compute.securityAdmin' applied on the shared VPC host project
2778
2839
  # Corresponds to the JSON property `role`
2779
2840
  # @return [String]
2780
2841
  attr_accessor :role
@@ -3410,36 +3471,51 @@ module Google
3410
3471
  # for monitoring. In the example, a monitored resource and two metrics are
3411
3472
  # defined. The `library.googleapis.com/book/returned_count` metric is sent
3412
3473
  # to both producer and consumer projects, whereas the
3413
- # `library.googleapis.com/book/overdue_count` metric is only sent to the
3474
+ # `library.googleapis.com/book/num_overdue` metric is only sent to the
3414
3475
  # consumer project.
3415
3476
  # monitored_resources:
3416
- # - type: library.googleapis.com/branch
3477
+ # - type: library.googleapis.com/Branch
3478
+ # display_name: "Library Branch"
3479
+ # description: "A branch of a library."
3480
+ # launch_stage: GA
3417
3481
  # labels:
3418
- # - key: /city
3419
- # description: The city where the library branch is located in.
3420
- # - key: /name
3421
- # description: The name of the branch.
3482
+ # - key: resource_container
3483
+ # description: "The Cloud container (ie. project id) for the Branch."
3484
+ # - key: location
3485
+ # description: "The location of the library branch."
3486
+ # - key: branch_id
3487
+ # description: "The id of the branch."
3422
3488
  # metrics:
3423
3489
  # - name: library.googleapis.com/book/returned_count
3490
+ # display_name: "Books Returned"
3491
+ # description: "The count of books that have been returned."
3492
+ # launch_stage: GA
3424
3493
  # metric_kind: DELTA
3425
3494
  # value_type: INT64
3495
+ # unit: "1"
3426
3496
  # labels:
3427
- # - key: /customer_id
3428
- # - name: library.googleapis.com/book/overdue_count
3497
+ # - key: customer_id
3498
+ # description: "The id of the customer."
3499
+ # - name: library.googleapis.com/book/num_overdue
3500
+ # display_name: "Books Overdue"
3501
+ # description: "The current number of overdue books."
3502
+ # launch_stage: GA
3429
3503
  # metric_kind: GAUGE
3430
3504
  # value_type: INT64
3505
+ # unit: "1"
3431
3506
  # labels:
3432
- # - key: /customer_id
3507
+ # - key: customer_id
3508
+ # description: "The id of the customer."
3433
3509
  # monitoring:
3434
3510
  # producer_destinations:
3435
- # - monitored_resource: library.googleapis.com/branch
3511
+ # - monitored_resource: library.googleapis.com/Branch
3436
3512
  # metrics:
3437
3513
  # - library.googleapis.com/book/returned_count
3438
3514
  # consumer_destinations:
3439
- # - monitored_resource: library.googleapis.com/branch
3515
+ # - monitored_resource: library.googleapis.com/Branch
3440
3516
  # metrics:
3441
3517
  # - library.googleapis.com/book/returned_count
3442
- # - library.googleapis.com/book/overdue_count
3518
+ # - library.googleapis.com/book/num_overdue
3443
3519
  # Corresponds to the JSON property `monitoring`
3444
3520
  # @return [Google::Apis::ServicenetworkingV1beta::Monitoring]
3445
3521
  attr_accessor :monitoring