google-api-client 0.41.2 → 0.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (897) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +529 -0
  3. data/docs/oauth-server.md +4 -6
  4. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  5. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
  6. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
  7. data/generated/google/apis/accessapproval_v1.rb +1 -1
  8. data/generated/google/apis/accessapproval_v1/classes.rb +57 -83
  9. data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
  10. data/generated/google/apis/accessapproval_v1/service.rb +93 -129
  11. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  12. data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
  13. data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
  14. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  15. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
  16. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
  17. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +532 -651
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  20. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
  21. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  22. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
  23. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
  24. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  25. data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
  26. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
  27. data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
  28. data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
  29. data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
  30. data/generated/google/apis/admin_directory_v1.rb +6 -8
  31. data/generated/google/apis/admin_directory_v1/classes.rb +224 -243
  32. data/generated/google/apis/admin_directory_v1/representations.rb +14 -40
  33. data/generated/google/apis/admin_directory_v1/service.rb +475 -1026
  34. data/generated/google/apis/admin_reports_v1.rb +6 -5
  35. data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
  36. data/generated/google/apis/admin_reports_v1/service.rb +131 -187
  37. data/generated/google/apis/admob_v1.rb +1 -1
  38. data/generated/google/apis/admob_v1/classes.rb +139 -268
  39. data/generated/google/apis/admob_v1/service.rb +11 -13
  40. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  41. data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
  42. data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
  43. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  44. data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
  45. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  46. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
  47. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
  48. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  49. data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
  50. data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
  51. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  52. data/generated/google/apis/androidmanagement_v1/classes.rb +95 -59
  53. data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
  54. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  55. data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
  56. data/generated/google/apis/androidpublisher_v3/service.rb +127 -155
  57. data/generated/google/apis/apigee_v1.rb +6 -8
  58. data/generated/google/apis/apigee_v1/classes.rb +2060 -1099
  59. data/generated/google/apis/apigee_v1/representations.rb +593 -0
  60. data/generated/google/apis/apigee_v1/service.rb +2596 -1692
  61. data/generated/google/apis/appengine_v1.rb +1 -1
  62. data/generated/google/apis/appengine_v1/classes.rb +45 -35
  63. data/generated/google/apis/appengine_v1/representations.rb +2 -0
  64. data/generated/google/apis/appengine_v1/service.rb +38 -44
  65. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  66. data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
  67. data/generated/google/apis/appengine_v1beta.rb +1 -1
  68. data/generated/google/apis/appengine_v1beta/classes.rb +45 -35
  69. data/generated/google/apis/appengine_v1beta/representations.rb +2 -0
  70. data/generated/google/apis/appengine_v1beta/service.rb +37 -43
  71. data/generated/google/apis/appsmarket_v2.rb +1 -1
  72. data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
  73. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  74. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +235 -337
  75. data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
  76. data/generated/google/apis/bigquery_v2.rb +1 -1
  77. data/generated/google/apis/bigquery_v2/classes.rb +538 -541
  78. data/generated/google/apis/bigquery_v2/representations.rb +71 -0
  79. data/generated/google/apis/bigquery_v2/service.rb +32 -40
  80. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  81. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
  82. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
  83. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  84. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
  85. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
  86. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  87. data/generated/google/apis/bigqueryreservation_v1/classes.rb +146 -119
  88. data/generated/google/apis/bigqueryreservation_v1/representations.rb +18 -0
  89. data/generated/google/apis/bigqueryreservation_v1/service.rb +174 -160
  90. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  91. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
  92. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
  93. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  94. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +99 -96
  95. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +3 -0
  96. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
  97. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  98. data/generated/google/apis/bigtableadmin_v1/classes.rb +317 -0
  99. data/generated/google/apis/bigtableadmin_v1/representations.rb +129 -0
  100. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  101. data/generated/google/apis/bigtableadmin_v2/classes.rb +405 -0
  102. data/generated/google/apis/bigtableadmin_v2/representations.rb +175 -0
  103. data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
  104. data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
  105. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +103 -109
  106. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  107. data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
  108. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  109. data/generated/google/apis/binaryauthorization_v1/classes.rb +239 -354
  110. data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
  111. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  112. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +239 -354
  113. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
  114. data/generated/google/apis/blogger_v2.rb +2 -3
  115. data/generated/google/apis/blogger_v2/classes.rb +1 -2
  116. data/generated/google/apis/blogger_v2/service.rb +1 -2
  117. data/generated/google/apis/blogger_v3.rb +2 -3
  118. data/generated/google/apis/blogger_v3/classes.rb +1 -2
  119. data/generated/google/apis/blogger_v3/service.rb +1 -2
  120. data/generated/google/apis/books_v1.rb +1 -1
  121. data/generated/google/apis/books_v1/classes.rb +140 -159
  122. data/generated/google/apis/books_v1/service.rb +47 -49
  123. data/generated/google/apis/calendar_v3.rb +1 -1
  124. data/generated/google/apis/chat_v1.rb +1 -1
  125. data/generated/google/apis/chat_v1/classes.rb +211 -106
  126. data/generated/google/apis/chat_v1/representations.rb +63 -0
  127. data/generated/google/apis/chat_v1/service.rb +95 -36
  128. data/generated/google/apis/chromeuxreport_v1.rb +1 -1
  129. data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
  130. data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
  131. data/generated/google/apis/civicinfo_v2.rb +1 -1
  132. data/generated/google/apis/civicinfo_v2/classes.rb +9 -1
  133. data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
  134. data/generated/google/apis/civicinfo_v2/service.rb +1 -1
  135. data/generated/google/apis/classroom_v1.rb +1 -1
  136. data/generated/google/apis/classroom_v1/classes.rb +250 -365
  137. data/generated/google/apis/classroom_v1/service.rb +645 -900
  138. data/generated/google/apis/cloudasset_v1.rb +1 -1
  139. data/generated/google/apis/cloudasset_v1/classes.rb +713 -1036
  140. data/generated/google/apis/cloudasset_v1/service.rb +131 -156
  141. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  142. data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -775
  143. data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
  144. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  145. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
  146. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
  147. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  148. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +220 -276
  149. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
  150. data/generated/google/apis/{securitycenter_v1p1alpha1.rb → cloudasset_v1p5beta1.rb} +9 -10
  151. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1300 -0
  152. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
  153. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +126 -0
  154. data/generated/google/apis/cloudbilling_v1.rb +7 -1
  155. data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
  156. data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
  157. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  158. data/generated/google/apis/cloudbuild_v1/classes.rb +292 -344
  159. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  160. data/generated/google/apis/cloudbuild_v1/service.rb +48 -63
  161. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  162. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +283 -329
  163. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  164. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
  165. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  166. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +269 -313
  167. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  168. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
  169. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  170. data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
  171. data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
  172. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  173. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +132 -154
  174. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
  175. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
  176. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  177. data/generated/google/apis/cloudfunctions_v1/classes.rb +333 -534
  178. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -17
  179. data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
  180. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  181. data/generated/google/apis/cloudidentity_v1/classes.rb +625 -75
  182. data/generated/google/apis/cloudidentity_v1/representations.rb +203 -0
  183. data/generated/google/apis/cloudidentity_v1/service.rb +43 -61
  184. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  185. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1051 -298
  186. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +346 -22
  187. data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
  188. data/generated/google/apis/cloudiot_v1.rb +1 -1
  189. data/generated/google/apis/cloudiot_v1/classes.rb +263 -373
  190. data/generated/google/apis/cloudiot_v1/service.rb +147 -154
  191. data/generated/google/apis/cloudkms_v1.rb +1 -1
  192. data/generated/google/apis/cloudkms_v1/classes.rb +502 -692
  193. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  194. data/generated/google/apis/cloudkms_v1/service.rb +170 -216
  195. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  196. data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
  197. data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
  198. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  199. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
  200. data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
  201. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  202. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
  203. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
  204. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  205. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
  206. data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
  207. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  208. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
  209. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
  210. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  211. data/generated/google/apis/cloudscheduler_v1/classes.rb +280 -380
  212. data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
  213. data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
  214. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  215. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +281 -381
  216. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
  217. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
  218. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  219. data/generated/google/apis/cloudsearch_v1/classes.rb +650 -782
  220. data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
  221. data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
  222. data/generated/google/apis/cloudshell_v1.rb +1 -1
  223. data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
  224. data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
  225. data/generated/google/apis/cloudshell_v1/service.rb +21 -25
  226. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  227. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +66 -72
  228. data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
  229. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  230. data/generated/google/apis/cloudtasks_v2/classes.rb +605 -933
  231. data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
  232. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  233. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +602 -964
  234. data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
  235. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  236. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +609 -938
  237. data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
  238. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  239. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -62
  240. data/generated/google/apis/cloudtrace_v1/service.rb +37 -57
  241. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  242. data/generated/google/apis/cloudtrace_v2/classes.rb +93 -107
  243. data/generated/google/apis/cloudtrace_v2/service.rb +8 -14
  244. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  245. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
  246. data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
  247. data/generated/google/apis/composer_v1.rb +1 -1
  248. data/generated/google/apis/composer_v1/classes.rb +190 -242
  249. data/generated/google/apis/composer_v1/service.rb +79 -150
  250. data/generated/google/apis/composer_v1beta1.rb +1 -1
  251. data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
  252. data/generated/google/apis/composer_v1beta1/service.rb +92 -179
  253. data/generated/google/apis/compute_alpha.rb +1 -1
  254. data/generated/google/apis/compute_alpha/classes.rb +1021 -137
  255. data/generated/google/apis/compute_alpha/representations.rb +208 -4
  256. data/generated/google/apis/compute_alpha/service.rb +710 -699
  257. data/generated/google/apis/compute_beta.rb +1 -1
  258. data/generated/google/apis/compute_beta/classes.rb +879 -75
  259. data/generated/google/apis/compute_beta/representations.rb +204 -1
  260. data/generated/google/apis/compute_beta/service.rb +875 -607
  261. data/generated/google/apis/compute_v1.rb +1 -1
  262. data/generated/google/apis/compute_v1/classes.rb +1324 -130
  263. data/generated/google/apis/compute_v1/representations.rb +480 -15
  264. data/generated/google/apis/compute_v1/service.rb +1076 -43
  265. data/generated/google/apis/container_v1.rb +1 -1
  266. data/generated/google/apis/container_v1/classes.rb +946 -961
  267. data/generated/google/apis/container_v1/representations.rb +69 -0
  268. data/generated/google/apis/container_v1/service.rb +435 -502
  269. data/generated/google/apis/container_v1beta1.rb +1 -1
  270. data/generated/google/apis/container_v1beta1/classes.rb +1032 -1039
  271. data/generated/google/apis/container_v1beta1/representations.rb +72 -0
  272. data/generated/google/apis/container_v1beta1/service.rb +403 -466
  273. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  274. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +456 -596
  275. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
  276. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  277. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +454 -613
  278. data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
  279. data/generated/google/apis/content_v2.rb +1 -1
  280. data/generated/google/apis/content_v2/classes.rb +20 -3
  281. data/generated/google/apis/content_v2/representations.rb +1 -0
  282. data/generated/google/apis/content_v2_1.rb +1 -1
  283. data/generated/google/apis/content_v2_1/classes.rb +112 -6
  284. data/generated/google/apis/content_v2_1/representations.rb +35 -0
  285. data/generated/google/apis/content_v2_1/service.rb +53 -2
  286. data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
  287. data/generated/google/apis/customsearch_v1/classes.rb +1421 -0
  288. data/generated/google/apis/customsearch_v1/representations.rb +372 -0
  289. data/generated/google/apis/customsearch_v1/service.rb +461 -0
  290. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  291. data/generated/google/apis/datacatalog_v1beta1/classes.rb +382 -570
  292. data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
  293. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  294. data/generated/google/apis/dataflow_v1b3/classes.rb +1015 -972
  295. data/generated/google/apis/dataflow_v1b3/representations.rb +115 -0
  296. data/generated/google/apis/dataflow_v1b3/service.rb +299 -257
  297. data/generated/google/apis/datafusion_v1.rb +40 -0
  298. data/generated/google/apis/datafusion_v1/classes.rb +1025 -0
  299. data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +141 -93
  300. data/generated/google/apis/datafusion_v1/service.rb +667 -0
  301. data/generated/google/apis/datafusion_v1beta1.rb +5 -8
  302. data/generated/google/apis/datafusion_v1beta1/classes.rb +268 -397
  303. data/generated/google/apis/datafusion_v1beta1/representations.rb +3 -0
  304. data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
  305. data/generated/google/apis/dataproc_v1.rb +1 -1
  306. data/generated/google/apis/dataproc_v1/classes.rb +238 -329
  307. data/generated/google/apis/dataproc_v1/representations.rb +16 -0
  308. data/generated/google/apis/dataproc_v1/service.rb +134 -168
  309. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  310. data/generated/google/apis/dataproc_v1beta2/classes.rb +263 -326
  311. data/generated/google/apis/dataproc_v1beta2/representations.rb +31 -0
  312. data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
  313. data/generated/google/apis/datastore_v1.rb +1 -1
  314. data/generated/google/apis/datastore_v1/classes.rb +331 -473
  315. data/generated/google/apis/datastore_v1/service.rb +52 -63
  316. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  317. data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
  318. data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
  319. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  320. data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
  321. data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
  322. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  323. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  324. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  325. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  326. data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
  327. data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
  328. data/generated/google/apis/dfareporting_v3_3/service.rb +673 -1286
  329. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  330. data/generated/google/apis/dfareporting_v3_4/classes.rb +769 -350
  331. data/generated/google/apis/dfareporting_v3_4/representations.rb +225 -0
  332. data/generated/google/apis/dfareporting_v3_4/service.rb +708 -1285
  333. data/generated/google/apis/dialogflow_v2.rb +1 -1
  334. data/generated/google/apis/dialogflow_v2/classes.rb +1365 -1563
  335. data/generated/google/apis/dialogflow_v2/representations.rb +67 -15
  336. data/generated/google/apis/dialogflow_v2/service.rb +324 -444
  337. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  338. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1443 -1641
  339. data/generated/google/apis/dialogflow_v2beta1/representations.rb +67 -15
  340. data/generated/google/apis/dialogflow_v2beta1/service.rb +779 -984
  341. data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
  342. data/generated/google/apis/dialogflow_v3beta1/classes.rb +8183 -0
  343. data/generated/google/apis/dialogflow_v3beta1/representations.rb +3459 -0
  344. data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
  345. data/generated/google/apis/displayvideo_v1.rb +7 -1
  346. data/generated/google/apis/displayvideo_v1/classes.rb +1817 -1719
  347. data/generated/google/apis/displayvideo_v1/representations.rb +305 -0
  348. data/generated/google/apis/displayvideo_v1/service.rb +1287 -923
  349. data/generated/google/apis/dlp_v2.rb +1 -1
  350. data/generated/google/apis/dlp_v2/classes.rb +1076 -1298
  351. data/generated/google/apis/dlp_v2/service.rb +962 -905
  352. data/generated/google/apis/dns_v1.rb +4 -4
  353. data/generated/google/apis/dns_v1/classes.rb +290 -162
  354. data/generated/google/apis/dns_v1/service.rb +232 -180
  355. data/generated/google/apis/dns_v1beta2.rb +1 -1
  356. data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
  357. data/generated/google/apis/dns_v1beta2/service.rb +82 -97
  358. data/generated/google/apis/docs_v1.rb +1 -1
  359. data/generated/google/apis/docs_v1/classes.rb +894 -1229
  360. data/generated/google/apis/docs_v1/service.rb +17 -22
  361. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  362. data/generated/google/apis/documentai_v1beta2/classes.rb +1186 -810
  363. data/generated/google/apis/documentai_v1beta2/representations.rb +303 -0
  364. data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
  365. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  366. data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
  367. data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
  368. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
  369. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +7 -13
  370. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +37 -66
  371. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
  372. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +201 -13
  373. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
  374. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +37 -66
  375. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  376. data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
  377. data/generated/google/apis/doubleclicksearch_v2/service.rb +5 -6
  378. data/generated/google/apis/drive_v2.rb +1 -1
  379. data/generated/google/apis/drive_v2/classes.rb +82 -8
  380. data/generated/google/apis/drive_v2/representations.rb +23 -0
  381. data/generated/google/apis/drive_v2/service.rb +102 -25
  382. data/generated/google/apis/drive_v3.rb +1 -1
  383. data/generated/google/apis/drive_v3/classes.rb +87 -8
  384. data/generated/google/apis/drive_v3/representations.rb +24 -0
  385. data/generated/google/apis/drive_v3/service.rb +67 -16
  386. data/generated/google/apis/driveactivity_v2.rb +1 -1
  387. data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
  388. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  389. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
  390. data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
  391. data/generated/google/apis/fcm_v1.rb +1 -1
  392. data/generated/google/apis/fcm_v1/classes.rb +245 -393
  393. data/generated/google/apis/fcm_v1/service.rb +5 -6
  394. data/generated/google/apis/file_v1.rb +1 -1
  395. data/generated/google/apis/file_v1/classes.rb +154 -173
  396. data/generated/google/apis/file_v1/service.rb +43 -52
  397. data/generated/google/apis/file_v1beta1.rb +1 -1
  398. data/generated/google/apis/file_v1beta1/classes.rb +334 -193
  399. data/generated/google/apis/file_v1beta1/representations.rb +55 -0
  400. data/generated/google/apis/file_v1beta1/service.rb +267 -55
  401. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  402. data/generated/google/apis/firebase_v1beta1/classes.rb +321 -381
  403. data/generated/google/apis/firebase_v1beta1/representations.rb +3 -16
  404. data/generated/google/apis/firebase_v1beta1/service.rb +364 -421
  405. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  406. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
  407. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
  408. data/generated/google/apis/{androidpublisher_v2.rb → firebasehosting_v1.rb} +11 -12
  409. data/generated/google/apis/firebasehosting_v1/classes.rb +182 -0
  410. data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
  411. data/generated/google/apis/{securitycenter_v1p1alpha1 → firebasehosting_v1}/service.rb +51 -82
  412. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  413. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +174 -177
  414. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
  415. data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -143
  416. data/generated/google/apis/firebaseml_v1.rb +1 -1
  417. data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
  418. data/generated/google/apis/firebaseml_v1/service.rb +19 -22
  419. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  420. data/generated/google/apis/firebaseml_v1beta2/classes.rb +59 -68
  421. data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
  422. data/generated/google/apis/firebaserules_v1.rb +1 -1
  423. data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
  424. data/generated/google/apis/firebaserules_v1/service.rb +87 -110
  425. data/generated/google/apis/firestore_v1.rb +1 -1
  426. data/generated/google/apis/firestore_v1/classes.rb +506 -450
  427. data/generated/google/apis/firestore_v1/representations.rb +63 -0
  428. data/generated/google/apis/firestore_v1/service.rb +227 -185
  429. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  430. data/generated/google/apis/firestore_v1beta1/classes.rb +438 -361
  431. data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
  432. data/generated/google/apis/firestore_v1beta1/service.rb +168 -106
  433. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  434. data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
  435. data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
  436. data/generated/google/apis/fitness_v1.rb +1 -1
  437. data/generated/google/apis/fitness_v1/classes.rb +170 -208
  438. data/generated/google/apis/fitness_v1/service.rb +125 -146
  439. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  440. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
  441. data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
  442. data/generated/google/apis/games_management_v1management.rb +2 -3
  443. data/generated/google/apis/games_management_v1management/classes.rb +14 -20
  444. data/generated/google/apis/games_management_v1management/service.rb +37 -38
  445. data/generated/google/apis/games_v1.rb +5 -4
  446. data/generated/google/apis/games_v1/classes.rb +320 -2085
  447. data/generated/google/apis/games_v1/representations.rb +14 -647
  448. data/generated/google/apis/games_v1/service.rb +161 -1109
  449. data/generated/google/apis/gameservices_v1.rb +1 -1
  450. data/generated/google/apis/gameservices_v1/classes.rb +344 -523
  451. data/generated/google/apis/gameservices_v1/service.rb +167 -207
  452. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  453. data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
  454. data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
  455. data/generated/google/apis/genomics_v1.rb +1 -1
  456. data/generated/google/apis/genomics_v1/classes.rb +70 -76
  457. data/generated/google/apis/genomics_v1/service.rb +28 -43
  458. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  459. data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
  460. data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
  461. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  462. data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -347
  463. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -27
  464. data/generated/google/apis/genomics_v2alpha1/service.rb +47 -100
  465. data/generated/google/apis/gmail_v1.rb +3 -3
  466. data/generated/google/apis/gmail_v1/classes.rb +207 -266
  467. data/generated/google/apis/gmail_v1/service.rb +263 -290
  468. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +5 -2
  469. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
  470. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +35 -41
  471. data/generated/google/apis/groupsmigration_v1.rb +3 -3
  472. data/generated/google/apis/groupsmigration_v1/service.rb +4 -4
  473. data/generated/google/apis/groupssettings_v1.rb +1 -1
  474. data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
  475. data/generated/google/apis/healthcare_v1.rb +1 -1
  476. data/generated/google/apis/healthcare_v1/classes.rb +563 -826
  477. data/generated/google/apis/healthcare_v1/service.rb +687 -806
  478. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  479. data/generated/google/apis/healthcare_v1beta1/classes.rb +880 -1086
  480. data/generated/google/apis/healthcare_v1beta1/representations.rb +59 -0
  481. data/generated/google/apis/healthcare_v1beta1/service.rb +939 -1053
  482. data/generated/google/apis/homegraph_v1.rb +1 -1
  483. data/generated/google/apis/homegraph_v1/classes.rb +76 -164
  484. data/generated/google/apis/homegraph_v1/service.rb +23 -35
  485. data/generated/google/apis/iam_v1.rb +5 -2
  486. data/generated/google/apis/iam_v1/classes.rb +388 -573
  487. data/generated/google/apis/iam_v1/service.rb +430 -544
  488. data/generated/google/apis/iamcredentials_v1.rb +4 -2
  489. data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
  490. data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
  491. data/generated/google/apis/iap_v1.rb +1 -1
  492. data/generated/google/apis/iap_v1/classes.rb +246 -355
  493. data/generated/google/apis/iap_v1/service.rb +61 -71
  494. data/generated/google/apis/iap_v1beta1.rb +1 -1
  495. data/generated/google/apis/iap_v1beta1/classes.rb +157 -254
  496. data/generated/google/apis/iap_v1beta1/service.rb +17 -19
  497. data/generated/google/apis/indexing_v3.rb +1 -1
  498. data/generated/google/apis/indexing_v3/classes.rb +11 -11
  499. data/generated/google/apis/kgsearch_v1.rb +1 -1
  500. data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
  501. data/generated/google/apis/kgsearch_v1/service.rb +11 -11
  502. data/generated/google/apis/language_v1.rb +1 -1
  503. data/generated/google/apis/language_v1/classes.rb +93 -111
  504. data/generated/google/apis/language_v1/service.rb +4 -4
  505. data/generated/google/apis/language_v1beta1.rb +1 -1
  506. data/generated/google/apis/language_v1beta1/classes.rb +78 -90
  507. data/generated/google/apis/language_v1beta1/service.rb +2 -2
  508. data/generated/google/apis/language_v1beta2.rb +1 -1
  509. data/generated/google/apis/language_v1beta2/classes.rb +95 -112
  510. data/generated/google/apis/language_v1beta2/service.rb +4 -4
  511. data/generated/google/apis/libraryagent_v1.rb +1 -1
  512. data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
  513. data/generated/google/apis/libraryagent_v1/service.rb +13 -16
  514. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  515. data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
  516. data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
  517. data/generated/google/apis/{androidpublisher_v1/classes.rb → localservices_v1.rb} +11 -6
  518. data/generated/google/apis/localservices_v1/classes.rb +419 -0
  519. data/generated/google/apis/localservices_v1/representations.rb +172 -0
  520. data/generated/google/apis/localservices_v1/service.rb +199 -0
  521. data/generated/google/apis/logging_v2.rb +1 -1
  522. data/generated/google/apis/logging_v2/classes.rb +174 -214
  523. data/generated/google/apis/logging_v2/representations.rb +15 -0
  524. data/generated/google/apis/logging_v2/service.rb +1017 -584
  525. data/generated/google/apis/managedidentities_v1.rb +1 -1
  526. data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
  527. data/generated/google/apis/managedidentities_v1/service.rb +78 -99
  528. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  529. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +336 -457
  530. data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
  531. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  532. data/generated/google/apis/managedidentities_v1beta1/classes.rb +332 -456
  533. data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
  534. data/generated/google/apis/manufacturers_v1.rb +1 -1
  535. data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
  536. data/generated/google/apis/manufacturers_v1/service.rb +44 -55
  537. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  538. data/generated/google/apis/memcache_v1beta2/classes.rb +170 -710
  539. data/generated/google/apis/memcache_v1beta2/representations.rb +0 -120
  540. data/generated/google/apis/memcache_v1beta2/service.rb +58 -190
  541. data/generated/google/apis/ml_v1.rb +1 -1
  542. data/generated/google/apis/ml_v1/classes.rb +954 -1143
  543. data/generated/google/apis/ml_v1/representations.rb +64 -0
  544. data/generated/google/apis/ml_v1/service.rb +194 -253
  545. data/generated/google/apis/monitoring_v1.rb +1 -1
  546. data/generated/google/apis/monitoring_v1/classes.rb +117 -38
  547. data/generated/google/apis/monitoring_v1/representations.rb +35 -0
  548. data/generated/google/apis/monitoring_v1/service.rb +10 -11
  549. data/generated/google/apis/monitoring_v3.rb +1 -1
  550. data/generated/google/apis/monitoring_v3/classes.rb +263 -315
  551. data/generated/google/apis/monitoring_v3/representations.rb +3 -0
  552. data/generated/google/apis/monitoring_v3/service.rb +126 -141
  553. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  554. data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
  555. data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
  556. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  557. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +388 -429
  558. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +40 -0
  559. data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
  560. data/generated/google/apis/osconfig_v1.rb +1 -1
  561. data/generated/google/apis/osconfig_v1/classes.rb +931 -179
  562. data/generated/google/apis/osconfig_v1/representations.rb +372 -0
  563. data/generated/google/apis/osconfig_v1/service.rb +22 -27
  564. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  565. data/generated/google/apis/osconfig_v1beta/classes.rb +1158 -463
  566. data/generated/google/apis/osconfig_v1beta/representations.rb +372 -0
  567. data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
  568. data/generated/google/apis/oslogin_v1.rb +1 -1
  569. data/generated/google/apis/oslogin_v1/classes.rb +14 -12
  570. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  571. data/generated/google/apis/oslogin_v1/service.rb +12 -16
  572. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  573. data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
  574. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  575. data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
  576. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  577. data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
  578. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  579. data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
  580. data/generated/google/apis/pagespeedonline_v5.rb +2 -2
  581. data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
  582. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
  583. data/generated/google/apis/people_v1.rb +1 -1
  584. data/generated/google/apis/people_v1/classes.rb +493 -403
  585. data/generated/google/apis/people_v1/representations.rb +98 -0
  586. data/generated/google/apis/people_v1/service.rb +169 -385
  587. data/generated/google/apis/playablelocations_v3.rb +1 -1
  588. data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
  589. data/generated/google/apis/playablelocations_v3/service.rb +10 -10
  590. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  591. data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
  592. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  593. data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
  594. data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
  595. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  596. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
  597. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
  598. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  599. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +128 -219
  600. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +1 -32
  601. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -526
  602. data/generated/google/apis/pubsub_v1.rb +1 -1
  603. data/generated/google/apis/pubsub_v1/classes.rb +407 -516
  604. data/generated/google/apis/pubsub_v1/representations.rb +3 -0
  605. data/generated/google/apis/pubsub_v1/service.rb +217 -252
  606. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  607. data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
  608. data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
  609. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  610. data/generated/google/apis/pubsub_v1beta2/classes.rb +244 -354
  611. data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
  612. data/generated/google/apis/{accessapproval_v1beta1.rb → pubsublite_v1.rb} +9 -9
  613. data/generated/google/apis/pubsublite_v1/classes.rb +389 -0
  614. data/generated/google/apis/{accessapproval_v1beta1 → pubsublite_v1}/representations.rb +78 -53
  615. data/generated/google/apis/pubsublite_v1/service.rb +525 -0
  616. data/generated/google/apis/realtimebidding_v1.rb +1 -4
  617. data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
  618. data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
  619. data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
  620. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +1896 -0
  621. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +832 -0
  622. data/generated/google/apis/recommendationengine_v1beta1/service.rb +924 -0
  623. data/generated/google/apis/recommender_v1.rb +1 -1
  624. data/generated/google/apis/recommender_v1/classes.rb +271 -84
  625. data/generated/google/apis/recommender_v1/representations.rb +96 -0
  626. data/generated/google/apis/recommender_v1/service.rb +143 -35
  627. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  628. data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
  629. data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
  630. data/generated/google/apis/redis_v1.rb +1 -1
  631. data/generated/google/apis/redis_v1/classes.rb +477 -116
  632. data/generated/google/apis/redis_v1/representations.rb +139 -0
  633. data/generated/google/apis/redis_v1/service.rb +93 -110
  634. data/generated/google/apis/redis_v1beta1.rb +1 -1
  635. data/generated/google/apis/redis_v1beta1/classes.rb +481 -120
  636. data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
  637. data/generated/google/apis/redis_v1beta1/service.rb +93 -110
  638. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  639. data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
  640. data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
  641. data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
  642. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  643. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
  644. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
  645. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
  646. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  647. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
  648. data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
  649. data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
  650. data/generated/google/apis/reseller_v1.rb +4 -3
  651. data/generated/google/apis/reseller_v1/classes.rb +219 -160
  652. data/generated/google/apis/reseller_v1/service.rb +247 -252
  653. data/generated/google/apis/run_v1.rb +2 -2
  654. data/generated/google/apis/run_v1/classes.rb +837 -1244
  655. data/generated/google/apis/run_v1/representations.rb +1 -1
  656. data/generated/google/apis/run_v1/service.rb +234 -248
  657. data/generated/google/apis/run_v1alpha1.rb +2 -2
  658. data/generated/google/apis/run_v1alpha1/classes.rb +935 -1332
  659. data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
  660. data/generated/google/apis/run_v1alpha1/service.rb +322 -378
  661. data/generated/google/apis/run_v1beta1.rb +2 -2
  662. data/generated/google/apis/run_v1beta1/classes.rb +210 -276
  663. data/generated/google/apis/run_v1beta1/service.rb +17 -19
  664. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  665. data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
  666. data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
  667. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  668. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +295 -412
  669. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
  670. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  671. data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
  672. data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
  673. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  674. data/generated/google/apis/sasportal_v1alpha1/classes.rb +128 -219
  675. data/generated/google/apis/sasportal_v1alpha1/representations.rb +1 -32
  676. data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -526
  677. data/generated/google/apis/script_v1.rb +1 -1
  678. data/generated/google/apis/script_v1/classes.rb +88 -111
  679. data/generated/google/apis/script_v1/service.rb +63 -69
  680. data/generated/google/apis/searchconsole_v1.rb +4 -3
  681. data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
  682. data/generated/google/apis/searchconsole_v1/service.rb +3 -2
  683. data/generated/google/apis/secretmanager_v1.rb +1 -1
  684. data/generated/google/apis/secretmanager_v1/classes.rb +211 -363
  685. data/generated/google/apis/secretmanager_v1/service.rb +66 -82
  686. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  687. data/generated/google/apis/secretmanager_v1beta1/classes.rb +211 -363
  688. data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
  689. data/generated/google/apis/securitycenter_v1.rb +1 -1
  690. data/generated/google/apis/securitycenter_v1/classes.rb +584 -826
  691. data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
  692. data/generated/google/apis/securitycenter_v1/service.rb +250 -332
  693. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  694. data/generated/google/apis/securitycenter_v1beta1/classes.rb +533 -746
  695. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
  696. data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
  697. data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
  698. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +415 -269
  699. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
  700. data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
  701. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  702. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1120 -1784
  703. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -141
  704. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  705. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1107 -1774
  706. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
  707. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  708. data/generated/google/apis/servicecontrol_v1/classes.rb +523 -641
  709. data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
  710. data/generated/google/apis/servicecontrol_v2.rb +38 -0
  711. data/generated/google/apis/servicecontrol_v2/classes.rb +1075 -0
  712. data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
  713. data/generated/google/apis/servicecontrol_v2/service.rb +155 -0
  714. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  715. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +214 -333
  716. data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
  717. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  718. data/generated/google/apis/servicemanagement_v1/classes.rb +1288 -2090
  719. data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
  720. data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
  721. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  722. data/generated/google/apis/servicenetworking_v1/classes.rb +1164 -1758
  723. data/generated/google/apis/servicenetworking_v1/representations.rb +52 -0
  724. data/generated/google/apis/servicenetworking_v1/service.rb +210 -114
  725. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  726. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1091 -1684
  727. data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
  728. data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
  729. data/generated/google/apis/serviceusage_v1.rb +1 -1
  730. data/generated/google/apis/serviceusage_v1/classes.rb +1144 -1823
  731. data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
  732. data/generated/google/apis/serviceusage_v1/service.rb +67 -80
  733. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  734. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1273 -1986
  735. data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
  736. data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
  737. data/generated/google/apis/sheets_v4.rb +1 -1
  738. data/generated/google/apis/sheets_v4/classes.rb +3932 -5007
  739. data/generated/google/apis/sheets_v4/representations.rb +625 -0
  740. data/generated/google/apis/sheets_v4/service.rb +113 -149
  741. data/generated/google/apis/site_verification_v1.rb +1 -1
  742. data/generated/google/apis/slides_v1.rb +1 -1
  743. data/generated/google/apis/slides_v1/classes.rb +841 -1114
  744. data/generated/google/apis/slides_v1/service.rb +23 -30
  745. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  746. data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
  747. data/generated/google/apis/spanner_v1.rb +1 -1
  748. data/generated/google/apis/spanner_v1/classes.rb +1546 -2156
  749. data/generated/google/apis/spanner_v1/service.rb +443 -618
  750. data/generated/google/apis/speech_v1.rb +1 -1
  751. data/generated/google/apis/speech_v1/classes.rb +174 -220
  752. data/generated/google/apis/speech_v1/service.rb +27 -32
  753. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  754. data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
  755. data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
  756. data/generated/google/apis/speech_v2beta1.rb +1 -1
  757. data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
  758. data/generated/google/apis/speech_v2beta1/service.rb +10 -12
  759. data/generated/google/apis/sql_v1beta4.rb +1 -1
  760. data/generated/google/apis/sql_v1beta4/classes.rb +322 -374
  761. data/generated/google/apis/sql_v1beta4/representations.rb +3 -0
  762. data/generated/google/apis/sql_v1beta4/service.rb +49 -54
  763. data/generated/google/apis/storage_v1.rb +1 -1
  764. data/generated/google/apis/storage_v1/classes.rb +8 -7
  765. data/generated/google/apis/storage_v1/representations.rb +2 -2
  766. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  767. data/generated/google/apis/storagetransfer_v1/classes.rb +263 -343
  768. data/generated/google/apis/storagetransfer_v1/service.rb +43 -40
  769. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  770. data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
  771. data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
  772. data/generated/google/apis/tagmanager_v1.rb +2 -3
  773. data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
  774. data/generated/google/apis/tagmanager_v1/service.rb +22 -23
  775. data/generated/google/apis/tagmanager_v2.rb +2 -3
  776. data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
  777. data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
  778. data/generated/google/apis/tagmanager_v2/service.rb +189 -285
  779. data/generated/google/apis/tasks_v1.rb +1 -1
  780. data/generated/google/apis/tasks_v1/classes.rb +20 -21
  781. data/generated/google/apis/tasks_v1/service.rb +16 -17
  782. data/generated/google/apis/testing_v1.rb +1 -1
  783. data/generated/google/apis/testing_v1/classes.rb +383 -374
  784. data/generated/google/apis/testing_v1/representations.rb +35 -0
  785. data/generated/google/apis/testing_v1/service.rb +22 -28
  786. data/generated/google/apis/texttospeech_v1.rb +1 -1
  787. data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
  788. data/generated/google/apis/texttospeech_v1/service.rb +9 -10
  789. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  790. data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
  791. data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
  792. data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
  793. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  794. data/generated/google/apis/toolresults_v1beta3/classes.rb +678 -928
  795. data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
  796. data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
  797. data/generated/google/apis/tpu_v1.rb +1 -1
  798. data/generated/google/apis/tpu_v1/classes.rb +79 -78
  799. data/generated/google/apis/tpu_v1/representations.rb +1 -0
  800. data/generated/google/apis/tpu_v1/service.rb +21 -25
  801. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  802. data/generated/google/apis/tpu_v1alpha1/classes.rb +79 -78
  803. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  804. data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
  805. data/generated/google/apis/{cloudfunctions_v1beta2.rb → trafficdirector_v2.rb} +9 -9
  806. data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
  807. data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
  808. data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
  809. data/generated/google/apis/translate_v3.rb +1 -1
  810. data/generated/google/apis/translate_v3/classes.rb +148 -175
  811. data/generated/google/apis/translate_v3/service.rb +122 -138
  812. data/generated/google/apis/translate_v3beta1.rb +1 -1
  813. data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
  814. data/generated/google/apis/translate_v3beta1/service.rb +122 -138
  815. data/generated/google/apis/vectortile_v1.rb +1 -1
  816. data/generated/google/apis/vectortile_v1/classes.rb +185 -267
  817. data/generated/google/apis/vectortile_v1/service.rb +75 -88
  818. data/generated/google/apis/videointelligence_v1.rb +1 -1
  819. data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
  820. data/generated/google/apis/videointelligence_v1/service.rb +40 -48
  821. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  822. data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
  823. data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
  824. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  825. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
  826. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
  827. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  828. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
  829. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
  830. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  831. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
  832. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
  833. data/generated/google/apis/vision_v1.rb +1 -1
  834. data/generated/google/apis/vision_v1/classes.rb +1304 -1868
  835. data/generated/google/apis/vision_v1/service.rb +254 -340
  836. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  837. data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1788
  838. data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
  839. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  840. data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1788
  841. data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
  842. data/generated/google/apis/webfonts_v1.rb +2 -3
  843. data/generated/google/apis/webfonts_v1/classes.rb +1 -2
  844. data/generated/google/apis/webfonts_v1/service.rb +4 -6
  845. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  846. data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
  847. data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
  848. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  849. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
  850. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
  851. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  852. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
  853. data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
  854. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  855. data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
  856. data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
  857. data/generated/google/apis/youtube_partner_v1.rb +4 -3
  858. data/generated/google/apis/youtube_partner_v1/classes.rb +1106 -690
  859. data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
  860. data/generated/google/apis/youtube_partner_v1/service.rb +519 -1079
  861. data/generated/google/apis/youtube_v3.rb +1 -1
  862. data/generated/google/apis/youtube_v3/classes.rb +1826 -1157
  863. data/generated/google/apis/youtube_v3/representations.rb +458 -0
  864. data/generated/google/apis/youtube_v3/service.rb +1303 -1274
  865. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  866. data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
  867. data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
  868. data/lib/google/apis/core/base_service.rb +7 -1
  869. data/lib/google/apis/version.rb +1 -1
  870. metadata +47 -43
  871. data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
  872. data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -854
  873. data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
  874. data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
  875. data/generated/google/apis/androidpublisher_v1_1.rb +0 -34
  876. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
  877. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
  878. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
  879. data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
  880. data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
  881. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -841
  882. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
  883. data/generated/google/apis/dns_v2beta1.rb +0 -43
  884. data/generated/google/apis/dns_v2beta1/classes.rb +0 -1296
  885. data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
  886. data/generated/google/apis/dns_v2beta1/service.rb +0 -861
  887. data/generated/google/apis/oauth2_v2.rb +0 -40
  888. data/generated/google/apis/oauth2_v2/classes.rb +0 -165
  889. data/generated/google/apis/oauth2_v2/representations.rb +0 -68
  890. data/generated/google/apis/oauth2_v2/service.rb +0 -158
  891. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2305
  892. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
  893. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1326
  894. data/generated/google/apis/storage_v1beta2.rb +0 -40
  895. data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
  896. data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
  897. data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
@@ -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 = '20200615'
29
+ REVISION = '20200819'
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'
@@ -114,21 +114,20 @@ module Google
114
114
  class AddSubnetworkRequest
115
115
  include Google::Apis::Core::Hashable
116
116
 
117
- # Required. A resource that represents the service consumer, such as
118
- # `projects/123456`. The project number can be different from the
119
- # value in the consumer network parameter. For example, the network might be
120
- # part of a Shared VPC network. In those cases, Service Networking validates
121
- # that this resource belongs to that Shared VPC.
117
+ # Required. A resource that represents the service consumer, such as `projects/
118
+ # 123456`. The project number can be different from the value in the consumer
119
+ # network parameter. For example, the network might be part of a Shared VPC
120
+ # network. In those cases, Service Networking validates that this resource
121
+ # belongs to that Shared VPC.
122
122
  # Corresponds to the JSON property `consumer`
123
123
  # @return [String]
124
124
  attr_accessor :consumer
125
125
 
126
- # Required. The name of the service consumer's VPC network. The network
127
- # must have an existing private connection that was provisioned through the
128
- # connections.create method. The name must be in the following format:
129
- # `projects/`project`/global/networks/`network``, where `project`
130
- # is a project number, such as `12345`. `network` is the name of a
131
- # VPC network in the project.
126
+ # Required. The name of the service consumer's VPC network. The network must
127
+ # have an existing private connection that was provisioned through the
128
+ # connections.create method. The name must be in the following format: `projects/
129
+ # `project`/global/networks/`network``, where `project` is a project number,
130
+ # such as `12345`. `network` is the name of a VPC network in the project.
132
131
  # Corresponds to the JSON property `consumerNetwork`
133
132
  # @return [String]
134
133
  attr_accessor :consumer_network
@@ -138,38 +137,38 @@ module Google
138
137
  # @return [String]
139
138
  attr_accessor :description
140
139
 
141
- # Required. The prefix length of the subnet's IP address range. Use CIDR
142
- # range notation, such as `30` to provision a subnet with an
143
- # `x.x.x.x/30` CIDR range. The IP address range is drawn from a
144
- # pool of available ranges in the service consumer's allocated range.
140
+ # Required. The prefix length of the subnet's IP address range. Use CIDR range
141
+ # notation, such as `30` to provision a subnet with an `x.x.x.x/30` CIDR range.
142
+ # The IP address range is drawn from a pool of available ranges in the service
143
+ # consumer's allocated range.
145
144
  # Corresponds to the JSON property `ipPrefixLength`
146
145
  # @return [Fixnum]
147
146
  attr_accessor :ip_prefix_length
148
147
 
149
- # Required. The name of a [region](/compute/docs/regions-zones)
150
- # for the subnet, such `europe-west1`.
148
+ # Required. The name of a [region](/compute/docs/regions-zones) for the subnet,
149
+ # such `europe-west1`.
151
150
  # Corresponds to the JSON property `region`
152
151
  # @return [String]
153
152
  attr_accessor :region
154
153
 
155
- # Optional. The starting address of a range. The address must be a valid
156
- # IPv4 address in the x.x.x.x format. This value combined with the IP prefix
157
- # range is the CIDR range for the subnet. The range must be within the
158
- # allocated range that is assigned to the private connection. If the CIDR
159
- # range isn't available, the call fails.
154
+ # Optional. The starting address of a range. The address must be a valid IPv4
155
+ # address in the x.x.x.x format. This value combined with the IP prefix range is
156
+ # the CIDR range for the subnet. The range must be within the allocated range
157
+ # that is assigned to the private connection. If the CIDR range isn't available,
158
+ # the call fails.
160
159
  # Corresponds to the JSON property `requestedAddress`
161
160
  # @return [String]
162
161
  attr_accessor :requested_address
163
162
 
164
163
  # Required. A name for the new subnet. For information about the naming
165
- # requirements, see [subnetwork](/compute/docs/reference/rest/v1/subnetworks)
166
- # in the Compute API documentation.
164
+ # requirements, see [subnetwork](/compute/docs/reference/rest/v1/subnetworks) in
165
+ # the Compute API documentation.
167
166
  # Corresponds to the JSON property `subnetwork`
168
167
  # @return [String]
169
168
  attr_accessor :subnetwork
170
169
 
171
- # A list of members that are granted the `compute.networkUser`
172
- # role on the subnet.
170
+ # A list of members that are granted the `compute.networkUser` role on the
171
+ # subnet.
173
172
  # Corresponds to the JSON property `subnetworkUsers`
174
173
  # @return [Array<String>]
175
174
  attr_accessor :subnetwork_users
@@ -191,14 +190,13 @@ module Google
191
190
  end
192
191
  end
193
192
 
194
- # Api is a light-weight descriptor for an API Interface.
195
- # Interfaces are also described as "protocol buffer services" in some contexts,
196
- # such as by the "service" keyword in a .proto file, but they are different
197
- # from API Services, which represent a concrete implementation of an interface
198
- # as opposed to simply a description of methods and bindings. They are also
199
- # sometimes simply referred to as "APIs" in other contexts, such as the name of
200
- # this message itself. See https://cloud.google.com/apis/design/glossary for
201
- # detailed terminology.
193
+ # Api is a light-weight descriptor for an API Interface. Interfaces are also
194
+ # described as "protocol buffer services" in some contexts, such as by the "
195
+ # service" keyword in a .proto file, but they are different from API Services,
196
+ # which represent a concrete implementation of an interface as opposed to simply
197
+ # a description of methods and bindings. They are also sometimes simply referred
198
+ # to as "APIs" in other contexts, such as the name of this message itself. See
199
+ # https://cloud.google.com/apis/design/glossary for detailed terminology.
202
200
  class Api
203
201
  include Google::Apis::Core::Hashable
204
202
 
@@ -212,8 +210,8 @@ module Google
212
210
  # @return [Array<Google::Apis::ServicenetworkingV1beta::Mixin>]
213
211
  attr_accessor :mixins
214
212
 
215
- # The fully qualified name of this interface, including package name
216
- # followed by the interface's simple name.
213
+ # The fully qualified name of this interface, including package name followed by
214
+ # the interface's simple name.
217
215
  # Corresponds to the JSON property `name`
218
216
  # @return [String]
219
217
  attr_accessor :name
@@ -223,8 +221,8 @@ module Google
223
221
  # @return [Array<Google::Apis::ServicenetworkingV1beta::Option>]
224
222
  attr_accessor :options
225
223
 
226
- # `SourceContext` represents information about the source of a
227
- # protobuf element, like the file in which it is defined.
224
+ # `SourceContext` represents information about the source of a protobuf element,
225
+ # like the file in which it is defined.
228
226
  # Corresponds to the JSON property `sourceContext`
229
227
  # @return [Google::Apis::ServicenetworkingV1beta::SourceContext]
230
228
  attr_accessor :source_context
@@ -234,23 +232,19 @@ module Google
234
232
  # @return [String]
235
233
  attr_accessor :syntax
236
234
 
237
- # A version string for this interface. If specified, must have the form
238
- # `major-version.minor-version`, as in `1.10`. If the minor version is
239
- # omitted, it defaults to zero. If the entire version field is empty, the
240
- # major version is derived from the package name, as outlined below. If the
241
- # field is not empty, the version in the package name will be verified to be
242
- # consistent with what is provided here.
243
- # The versioning schema uses [semantic
244
- # versioning](http://semver.org) where the major version number
245
- # indicates a breaking change and the minor version an additive,
246
- # non-breaking change. Both version numbers are signals to users
247
- # what to expect from different versions, and should be carefully
248
- # chosen based on the product plan.
249
- # The major version is also reflected in the package name of the
250
- # interface, which must end in `v<major-version>`, as in
251
- # `google.feature.v1`. For major versions 0 and 1, the suffix can
252
- # be omitted. Zero major versions must only be used for
253
- # experimental, non-GA interfaces.
235
+ # A version string for this interface. If specified, must have the form `major-
236
+ # version.minor-version`, as in `1.10`. If the minor version is omitted, it
237
+ # defaults to zero. If the entire version field is empty, the major version is
238
+ # derived from the package name, as outlined below. If the field is not empty,
239
+ # the version in the package name will be verified to be consistent with what is
240
+ # provided here. The versioning schema uses [semantic versioning](http://semver.
241
+ # org) where the major version number indicates a breaking change and the minor
242
+ # version an additive, non-breaking change. Both version numbers are signals to
243
+ # users what to expect from different versions, and should be carefully chosen
244
+ # based on the product plan. The major version is also reflected in the package
245
+ # name of the interface, which must end in `v`, as in `google.feature.v1`. For
246
+ # major versions 0 and 1, the suffix can be omitted. Zero major versions must
247
+ # only be used for experimental, non-GA interfaces.
254
248
  # Corresponds to the JSON property `version`
255
249
  # @return [String]
256
250
  attr_accessor :version
@@ -271,85 +265,63 @@ module Google
271
265
  end
272
266
  end
273
267
 
274
- # Configuration for an authentication provider, including support for
275
- # [JSON Web Token
276
- # (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
268
+ # Configuration for an authentication provider, including support for [JSON Web
269
+ # Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
277
270
  class AuthProvider
278
271
  include Google::Apis::Core::Hashable
279
272
 
280
- # The list of JWT
281
- # [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#
282
- # section-4.1.3).
283
- # that are allowed to access. A JWT containing any of these audiences will
284
- # be accepted. When this setting is absent, JWTs with audiences:
285
- # - "https://[service.name]/[google.protobuf.Api.name]"
286
- # - "https://[service.name]/"
287
- # will be accepted.
288
- # For example, if no audiences are in the setting, LibraryService API will
289
- # accept JWTs with the following audiences:
290
- # -
273
+ # The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-
274
+ # web-token-32#section-4.1.3). that are allowed to access. A JWT containing any
275
+ # of these audiences will be accepted. When this setting is absent, JWTs with
276
+ # audiences: - "https://[service.name]/[google.protobuf.Api.name]" - "https://[
277
+ # service.name]/" will be accepted. For example, if no audiences are in the
278
+ # setting, LibraryService API will accept JWTs with the following audiences: -
291
279
  # https://library-example.googleapis.com/google.example.library.v1.
292
- # LibraryService
293
- # - https://library-example.googleapis.com/
294
- # Example:
295
- # audiences: bookstore_android.apps.googleusercontent.com,
296
- # bookstore_web.apps.googleusercontent.com
280
+ # LibraryService - https://library-example.googleapis.com/ Example: audiences:
281
+ # bookstore_android.apps.googleusercontent.com, bookstore_web.apps.
282
+ # googleusercontent.com
297
283
  # Corresponds to the JSON property `audiences`
298
284
  # @return [String]
299
285
  attr_accessor :audiences
300
286
 
301
- # Redirect URL if JWT token is required but not present or is expired.
302
- # Implement authorizationUrl of securityDefinitions in OpenAPI spec.
287
+ # Redirect URL if JWT token is required but not present or is expired. Implement
288
+ # authorizationUrl of securityDefinitions in OpenAPI spec.
303
289
  # Corresponds to the JSON property `authorizationUrl`
304
290
  # @return [String]
305
291
  attr_accessor :authorization_url
306
292
 
307
- # The unique identifier of the auth provider. It will be referred to by
308
- # `AuthRequirement.provider_id`.
309
- # Example: "bookstore_auth".
293
+ # The unique identifier of the auth provider. It will be referred to by `
294
+ # AuthRequirement.provider_id`. Example: "bookstore_auth".
310
295
  # Corresponds to the JSON property `id`
311
296
  # @return [String]
312
297
  attr_accessor :id
313
298
 
314
- # Identifies the principal that issued the JWT. See
315
- # https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1
316
- # Usually a URL or an email address.
317
- # Example: https://securetoken.google.com
318
- # Example: 1234567-compute@developer.gserviceaccount.com
299
+ # Identifies the principal that issued the JWT. See https://tools.ietf.org/html/
300
+ # draft-ietf-oauth-json-web-token-32#section-4.1.1 Usually a URL or an email
301
+ # address. Example: https://securetoken.google.com Example: 1234567-compute@
302
+ # developer.gserviceaccount.com
319
303
  # Corresponds to the JSON property `issuer`
320
304
  # @return [String]
321
305
  attr_accessor :issuer
322
306
 
323
- # URL of the provider's public key set to validate signature of the JWT. See
324
- # [OpenID
325
- # Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#
326
- # ProviderMetadata).
327
- # Optional if the key set document:
328
- # - can be retrieved from
329
- # [OpenID
330
- # Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html of
331
- # the issuer.
332
- # - can be inferred from the email domain of the issuer (e.g. a Google
333
- # service account).
334
- # Example: https://www.googleapis.com/oauth2/v1/certs
307
+ # URL of the provider's public key set to validate signature of the JWT. See [
308
+ # OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#
309
+ # ProviderMetadata). Optional if the key set document: - can be retrieved from [
310
+ # OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html
311
+ # of the issuer. - can be inferred from the email domain of the issuer (e.g. a
312
+ # Google service account). Example: https://www.googleapis.com/oauth2/v1/certs
335
313
  # Corresponds to the JSON property `jwksUri`
336
314
  # @return [String]
337
315
  attr_accessor :jwks_uri
338
316
 
339
- # Defines the locations to extract the JWT.
340
- # JWT locations can be either from HTTP headers or URL query parameters.
341
- # The rule is that the first match wins. The checking order is: checking
342
- # all headers first, then URL query parameters.
343
- # If not specified, default to use following 3 locations:
344
- # 1) Authorization: Bearer
345
- # 2) x-goog-iap-jwt-assertion
346
- # 3) access_token query parameter
347
- # Default locations can be specified as followings:
348
- # jwt_locations:
349
- # - header: Authorization
350
- # value_prefix: "Bearer "
351
- # - header: x-goog-iap-jwt-assertion
352
- # - query: access_token
317
+ # Defines the locations to extract the JWT. JWT locations can be either from
318
+ # HTTP headers or URL query parameters. The rule is that the first match wins.
319
+ # The checking order is: checking all headers first, then URL query parameters.
320
+ # If not specified, default to use following 3 locations: 1) Authorization:
321
+ # Bearer 2) x-goog-iap-jwt-assertion 3) access_token query parameter Default
322
+ # locations can be specified as followings: jwt_locations: - header:
323
+ # Authorization value_prefix: "Bearer " - header: x-goog-iap-jwt-assertion -
324
+ # query: access_token
353
325
  # Corresponds to the JSON property `jwtLocations`
354
326
  # @return [Array<Google::Apis::ServicenetworkingV1beta::JwtLocation>]
355
327
  attr_accessor :jwt_locations
@@ -369,34 +341,26 @@ module Google
369
341
  end
370
342
  end
371
343
 
372
- # User-defined authentication requirements, including support for
373
- # [JSON Web Token
374
- # (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
344
+ # User-defined authentication requirements, including support for [JSON Web
345
+ # Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
375
346
  class AuthRequirement
376
347
  include Google::Apis::Core::Hashable
377
348
 
378
- # NOTE: This will be deprecated soon, once AuthProvider.audiences is
379
- # implemented and accepted in all the runtime components.
380
- # The list of JWT
381
- # [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#
382
- # section-4.1.3).
383
- # that are allowed to access. A JWT containing any of these audiences will
384
- # be accepted. When this setting is absent, only JWTs with audience
385
- # "https://Service_name/API_name"
386
- # will be accepted. For example, if no audiences are in the setting,
387
- # LibraryService API will only accept JWTs with the following audience
388
- # "https://library-example.googleapis.com/google.example.library.v1.
389
- # LibraryService".
390
- # Example:
391
- # audiences: bookstore_android.apps.googleusercontent.com,
392
- # bookstore_web.apps.googleusercontent.com
349
+ # NOTE: This will be deprecated soon, once AuthProvider.audiences is implemented
350
+ # and accepted in all the runtime components. The list of JWT [audiences](https:/
351
+ # /tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that
352
+ # are allowed to access. A JWT containing any of these audiences will be
353
+ # accepted. When this setting is absent, only JWTs with audience "https://
354
+ # Service_name/API_name" will be accepted. For example, if no audiences are in
355
+ # the setting, LibraryService API will only accept JWTs with the following
356
+ # audience "https://library-example.googleapis.com/google.example.library.v1.
357
+ # LibraryService". Example: audiences: bookstore_android.apps.googleusercontent.
358
+ # com, bookstore_web.apps.googleusercontent.com
393
359
  # Corresponds to the JSON property `audiences`
394
360
  # @return [String]
395
361
  attr_accessor :audiences
396
362
 
397
- # id from authentication provider.
398
- # Example:
399
- # provider_id: bookstore_auth
363
+ # id from authentication provider. Example: provider_id: bookstore_auth
400
364
  # Corresponds to the JSON property `providerId`
401
365
  # @return [String]
402
366
  attr_accessor :provider_id
@@ -412,18 +376,11 @@ module Google
412
376
  end
413
377
  end
414
378
 
415
- # `Authentication` defines the authentication configuration for an API.
416
- # Example for an API targeted for external use:
417
- # name: calendar.googleapis.com
418
- # authentication:
419
- # providers:
420
- # - id: google_calendar_auth
421
- # jwks_uri: https://www.googleapis.com/oauth2/v1/certs
422
- # issuer: https://securetoken.google.com
423
- # rules:
424
- # - selector: "*"
425
- # requirements:
426
- # provider_id: google_calendar_auth
379
+ # `Authentication` defines the authentication configuration for an API. Example
380
+ # for an API targeted for external use: name: calendar.googleapis.com
381
+ # authentication: providers: - id: google_calendar_auth jwks_uri: https://www.
382
+ # googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: -
383
+ # selector: "*" requirements: provider_id: google_calendar_auth
427
384
  class Authentication
428
385
  include Google::Apis::Core::Hashable
429
386
 
@@ -432,8 +389,8 @@ module Google
432
389
  # @return [Array<Google::Apis::ServicenetworkingV1beta::AuthProvider>]
433
390
  attr_accessor :providers
434
391
 
435
- # A list of authentication rules that apply to individual API methods.
436
- # **NOTE:** All service configuration rules follow "last one wins" order.
392
+ # A list of authentication rules that apply to individual API methods. **NOTE:**
393
+ # All service configuration rules follow "last one wins" order.
437
394
  # Corresponds to the JSON property `rules`
438
395
  # @return [Array<Google::Apis::ServicenetworkingV1beta::AuthenticationRule>]
439
396
  attr_accessor :rules
@@ -449,13 +406,11 @@ module Google
449
406
  end
450
407
  end
451
408
 
452
- # Authentication rules for the service.
453
- # By default, if a method has any authentication requirements, every request
454
- # must include a valid credential matching one of the requirements.
455
- # It's an error to include more than one kind of credential in a single
456
- # request.
457
- # If a method doesn't have any auth requirements, request credentials will be
458
- # ignored.
409
+ # Authentication rules for the service. By default, if a method has any
410
+ # authentication requirements, every request must include a valid credential
411
+ # matching one of the requirements. It's an error to include more than one kind
412
+ # of credential in a single request. If a method doesn't have any auth
413
+ # requirements, request credentials will be ignored.
459
414
  class AuthenticationRule
460
415
  include Google::Apis::Core::Hashable
461
416
 
@@ -466,19 +421,18 @@ module Google
466
421
  alias_method :allow_without_credential?, :allow_without_credential
467
422
 
468
423
  # OAuth scopes are a way to define data and permissions on data. For example,
469
- # there are scopes defined for "Read-only access to Google Calendar" and
470
- # "Access to Cloud Platform". Users can consent to a scope for an application,
471
- # giving it permission to access that data on their behalf.
472
- # OAuth scope specifications should be fairly coarse grained; a user will need
473
- # to see and understand the text description of what your scope means.
474
- # In most cases: use one or at most two OAuth scopes for an entire family of
475
- # products. If your product has multiple APIs, you should probably be sharing
476
- # the OAuth scope across all of those APIs.
477
- # When you need finer grained OAuth consent screens: talk with your product
478
- # management about how developers will use them in practice.
479
- # Please note that even though each of the canonical scopes is enough for a
480
- # request to be accepted and passed to the backend, a request can still fail
481
- # due to the backend requiring additional scopes or permissions.
424
+ # there are scopes defined for "Read-only access to Google Calendar" and "Access
425
+ # to Cloud Platform". Users can consent to a scope for an application, giving it
426
+ # permission to access that data on their behalf. OAuth scope specifications
427
+ # should be fairly coarse grained; a user will need to see and understand the
428
+ # text description of what your scope means. In most cases: use one or at most
429
+ # two OAuth scopes for an entire family of products. If your product has
430
+ # multiple APIs, you should probably be sharing the OAuth scope across all of
431
+ # those APIs. When you need finer grained OAuth consent screens: talk with your
432
+ # product management about how developers will use them in practice. Please note
433
+ # that even though each of the canonical scopes is enough for a request to be
434
+ # accepted and passed to the backend, a request can still fail due to the
435
+ # backend requiring additional scopes or permissions.
482
436
  # Corresponds to the JSON property `oauth`
483
437
  # @return [Google::Apis::ServicenetworkingV1beta::OAuthRequirements]
484
438
  attr_accessor :oauth
@@ -488,8 +442,8 @@ module Google
488
442
  # @return [Array<Google::Apis::ServicenetworkingV1beta::AuthRequirement>]
489
443
  attr_accessor :requirements
490
444
 
491
- # Selects the methods to which this rule applies.
492
- # Refer to selector for syntax details.
445
+ # Selects the methods to which this rule applies. Refer to selector for syntax
446
+ # details.
493
447
  # Corresponds to the JSON property `selector`
494
448
  # @return [String]
495
449
  attr_accessor :selector
@@ -511,8 +465,8 @@ module Google
511
465
  class Backend
512
466
  include Google::Apis::Core::Hashable
513
467
 
514
- # A list of API backend rules that apply to individual API methods.
515
- # **NOTE:** All service configuration rules follow "last one wins" order.
468
+ # A list of API backend rules that apply to individual API methods. **NOTE:**
469
+ # All service configuration rules follow "last one wins" order.
516
470
  # Corresponds to the JSON property `rules`
517
471
  # @return [Array<Google::Apis::ServicenetworkingV1beta::BackendRule>]
518
472
  attr_accessor :rules
@@ -531,21 +485,13 @@ module Google
531
485
  class BackendRule
532
486
  include Google::Apis::Core::Hashable
533
487
 
534
- # The address of the API backend.
535
- # The scheme is used to determine the backend protocol and security.
536
- # The following schemes are accepted:
537
- # SCHEME PROTOCOL SECURITY
538
- # http:// HTTP None
539
- # https:// HTTP TLS
540
- # grpc:// gRPC None
541
- # grpcs:// gRPC TLS
542
- # It is recommended to explicitly include a scheme. Leaving out the scheme
543
- # may cause constrasting behaviors across platforms.
544
- # If the port is unspecified, the default is:
545
- # - 80 for schemes without TLS
546
- # - 443 for schemes with TLS
547
- # For HTTP backends, use protocol
548
- # to specify the protocol version.
488
+ # The address of the API backend. The scheme is used to determine the backend
489
+ # protocol and security. The following schemes are accepted: SCHEME PROTOCOL
490
+ # SECURITY http:// HTTP None https:// HTTP TLS grpc:// gRPC None grpcs:// gRPC
491
+ # TLS It is recommended to explicitly include a scheme. Leaving out the scheme
492
+ # may cause constrasting behaviors across platforms. If the port is unspecified,
493
+ # the default is: - 80 for schemes without TLS - 443 for schemes with TLS For
494
+ # HTTP backends, use protocol to specify the protocol version.
549
495
  # Corresponds to the JSON property `address`
550
496
  # @return [String]
551
497
  attr_accessor :address
@@ -556,18 +502,18 @@ module Google
556
502
  # @return [Float]
557
503
  attr_accessor :deadline
558
504
 
559
- # When disable_auth is true, a JWT ID token won't be generated and the
560
- # original "Authorization" HTTP header will be preserved. If the header is
561
- # used to carry the original token and is expected by the backend, this
562
- # field must be set to true to preserve the header.
505
+ # When disable_auth is true, a JWT ID token won't be generated and the original "
506
+ # Authorization" HTTP header will be preserved. If the header is used to carry
507
+ # the original token and is expected by the backend, this field must be set to
508
+ # true to preserve the header.
563
509
  # Corresponds to the JSON property `disableAuth`
564
510
  # @return [Boolean]
565
511
  attr_accessor :disable_auth
566
512
  alias_method :disable_auth?, :disable_auth
567
513
 
568
- # The JWT audience is used when generating a JWT ID token for the backend.
569
- # This ID token will be added in the HTTP "authorization" header, and sent
570
- # to the backend.
514
+ # The JWT audience is used when generating a JWT ID token for the backend. This
515
+ # ID token will be added in the HTTP "authorization" header, and sent to the
516
+ # backend.
571
517
  # Corresponds to the JSON property `jwtAudience`
572
518
  # @return [String]
573
519
  attr_accessor :jwt_audience
@@ -578,8 +524,8 @@ module Google
578
524
  # @return [Float]
579
525
  attr_accessor :min_deadline
580
526
 
581
- # The number of seconds to wait for the completion of a long running
582
- # operation. The default is no deadline.
527
+ # The number of seconds to wait for the completion of a long running operation.
528
+ # The default is no deadline.
583
529
  # Corresponds to the JSON property `operationDeadline`
584
530
  # @return [Float]
585
531
  attr_accessor :operation_deadline
@@ -589,29 +535,21 @@ module Google
589
535
  # @return [String]
590
536
  attr_accessor :path_translation
591
537
 
592
- # The protocol used for sending a request to the backend.
593
- # The supported values are "http/1.1" and "h2".
594
- # The default value is inferred from the scheme in the
595
- # address field:
596
- # SCHEME PROTOCOL
597
- # http:// http/1.1
598
- # https:// http/1.1
599
- # grpc:// h2
600
- # grpcs:// h2
601
- # For secure HTTP backends (https://) that support HTTP/2, set this field
602
- # to "h2" for improved performance.
603
- # Configuring this field to non-default values is only supported for secure
604
- # HTTP backends. This field will be ignored for all other backends.
605
- # See
606
- # https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-
607
- # values.xhtml#alpn-protocol-ids
608
- # for more details on the supported values.
538
+ # The protocol used for sending a request to the backend. The supported values
539
+ # are "http/1.1" and "h2". The default value is inferred from the scheme in the
540
+ # address field: SCHEME PROTOCOL http:// http/1.1 https:// http/1.1 grpc:// h2
541
+ # grpcs:// h2 For secure HTTP backends (https://) that support HTTP/2, set this
542
+ # field to "h2" for improved performance. Configuring this field to non-default
543
+ # values is only supported for secure HTTP backends. This field will be ignored
544
+ # for all other backends. See https://www.iana.org/assignments/tls-extensiontype-
545
+ # values/tls-extensiontype-values.xhtml#alpn-protocol-ids for more details on
546
+ # the supported values.
609
547
  # Corresponds to the JSON property `protocol`
610
548
  # @return [String]
611
549
  attr_accessor :protocol
612
550
 
613
- # Selects the methods to which this rule applies.
614
- # Refer to selector for syntax details.
551
+ # Selects the methods to which this rule applies. Refer to selector for syntax
552
+ # details.
615
553
  # Corresponds to the JSON property `selector`
616
554
  # @return [String]
617
555
  attr_accessor :selector
@@ -634,42 +572,28 @@ module Google
634
572
  end
635
573
  end
636
574
 
637
- # Billing related configuration of the service.
638
- # The following example shows how to configure monitored resources and metrics
639
- # for billing, `consumer_destinations` is the only supported destination and
640
- # the monitored resources need at least one label key
641
- # `cloud.googleapis.com/location` to indicate the location of the billing
642
- # usage, using different monitored resources between monitoring and billing is
643
- # recommended so they can be evolved independently:
644
- # monitored_resources:
645
- # - type: library.googleapis.com/billing_branch
646
- # labels:
647
- # - key: cloud.googleapis.com/location
648
- # description: |
649
- # Predefined label to support billing location restriction.
650
- # - key: city
651
- # description: |
652
- # Custom label to define the city where the library branch is located
653
- # in.
654
- # - key: name
655
- # description: Custom label to define the name of the library branch.
656
- # metrics:
657
- # - name: library.googleapis.com/book/borrowed_count
658
- # metric_kind: DELTA
659
- # value_type: INT64
660
- # unit: "1"
661
- # billing:
662
- # consumer_destinations:
663
- # - monitored_resource: library.googleapis.com/billing_branch
664
- # metrics:
665
- # - library.googleapis.com/book/borrowed_count
575
+ # Billing related configuration of the service. The following example shows how
576
+ # to configure monitored resources and metrics for billing, `
577
+ # consumer_destinations` is the only supported destination and the monitored
578
+ # resources need at least one label key `cloud.googleapis.com/location` to
579
+ # indicate the location of the billing usage, using different monitored
580
+ # resources between monitoring and billing is recommended so they can be evolved
581
+ # independently: monitored_resources: - type: library.googleapis.com/
582
+ # billing_branch labels: - key: cloud.googleapis.com/location description: |
583
+ # Predefined label to support billing location restriction. - key: city
584
+ # description: | Custom label to define the city where the library branch is
585
+ # located in. - key: name description: Custom label to define the name of the
586
+ # library branch. metrics: - name: library.googleapis.com/book/borrowed_count
587
+ # metric_kind: DELTA value_type: INT64 unit: "1" billing: consumer_destinations:
588
+ # - monitored_resource: library.googleapis.com/billing_branch metrics: - library.
589
+ # googleapis.com/book/borrowed_count
666
590
  class Billing
667
591
  include Google::Apis::Core::Hashable
668
592
 
669
- # Billing configurations for sending metrics to the consumer project.
670
- # There can be multiple consumer destinations per service, each one must have
671
- # a different monitored resource type. A metric can be used in at most
672
- # one consumer destination.
593
+ # Billing configurations for sending metrics to the consumer project. There can
594
+ # be multiple consumer destinations per service, each one must have a different
595
+ # monitored resource type. A metric can be used in at most one consumer
596
+ # destination.
673
597
  # Corresponds to the JSON property `consumerDestinations`
674
598
  # @return [Array<Google::Apis::ServicenetworkingV1beta::BillingDestination>]
675
599
  attr_accessor :consumer_destinations
@@ -684,19 +608,19 @@ module Google
684
608
  end
685
609
  end
686
610
 
687
- # Configuration of a specific billing destination (Currently only support
688
- # bill against consumer project).
611
+ # Configuration of a specific billing destination (Currently only support bill
612
+ # against consumer project).
689
613
  class BillingDestination
690
614
  include Google::Apis::Core::Hashable
691
615
 
692
- # Names of the metrics to report to this billing destination.
693
- # Each name must be defined in Service.metrics section.
616
+ # Names of the metrics to report to this billing destination. Each name must be
617
+ # defined in Service.metrics section.
694
618
  # Corresponds to the JSON property `metrics`
695
619
  # @return [Array<String>]
696
620
  attr_accessor :metrics
697
621
 
698
- # The monitored resource type. The type must be defined in
699
- # Service.monitored_resources section.
622
+ # The monitored resource type. The type must be defined in Service.
623
+ # monitored_resources section.
700
624
  # Corresponds to the JSON property `monitoredResource`
701
625
  # @return [String]
702
626
  attr_accessor :monitored_resource
@@ -719,34 +643,30 @@ module Google
719
643
  include Google::Apis::Core::Hashable
720
644
 
721
645
  # The name of service consumer's VPC network that's connected with service
722
- # producer network, in the following format:
723
- # `projects/`project`/global/networks/`network``.
724
- # ``project`` is a project number, such as in `12345` that includes
725
- # the VPC service consumer's VPC network. ``network`` is the name of the
726
- # service consumer's VPC network.
646
+ # producer network, in the following format: `projects/`project`/global/networks/
647
+ # `network``. ``project`` is a project number, such as in `12345` that includes
648
+ # the VPC service consumer's VPC network. ``network`` is the name of the service
649
+ # consumer's VPC network.
727
650
  # Corresponds to the JSON property `network`
728
651
  # @return [String]
729
652
  attr_accessor :network
730
653
 
731
654
  # Output only. The name of the VPC Network Peering connection that was created
732
- # by the
733
- # service producer.
655
+ # by the service producer.
734
656
  # Corresponds to the JSON property `peering`
735
657
  # @return [String]
736
658
  attr_accessor :peering
737
659
 
738
- # The name of one or more allocated IP address ranges for this service
739
- # producer of type `PEERING`.
740
- # Note that invoking this method with a different range when connection is
741
- # already established will not modify already provisioned service
660
+ # The name of one or more allocated IP address ranges for this service producer
661
+ # of type `PEERING`. Note that invoking this method with a different range when
662
+ # connection is already established will not modify already provisioned service
742
663
  # producer subnetworks.
743
664
  # Corresponds to the JSON property `reservedPeeringRanges`
744
665
  # @return [Array<String>]
745
666
  attr_accessor :reserved_peering_ranges
746
667
 
747
668
  # Output only. The name of the peering service that's associated with this
748
- # connection, in
749
- # the following format: `services/`service name``.
669
+ # connection, in the following format: `services/`service name``.
750
670
  # Corresponds to the JSON property `service`
751
671
  # @return [String]
752
672
  attr_accessor :service
@@ -764,39 +684,24 @@ module Google
764
684
  end
765
685
  end
766
686
 
767
- # `Context` defines which contexts an API requests.
768
- # Example:
769
- # context:
770
- # rules:
771
- # - selector: "*"
772
- # requested:
773
- # - google.rpc.context.ProjectContext
774
- # - google.rpc.context.OriginContext
775
- # The above specifies that all methods in the API request
776
- # `google.rpc.context.ProjectContext` and
777
- # `google.rpc.context.OriginContext`.
778
- # Available context types are defined in package
779
- # `google.rpc.context`.
780
- # This also provides mechanism to whitelist any protobuf message extension that
781
- # can be sent in grpc metadata using “x-goog-ext-<extension_id>-bin” and
782
- # “x-goog-ext-<extension_id>-jspb” format. For example, list any service
783
- # specific protobuf types that can appear in grpc metadata as follows in your
784
- # yaml file:
785
- # Example:
786
- # context:
787
- # rules:
788
- # - selector: "google.example.library.v1.LibraryService.CreateBook"
789
- # allowed_request_extensions:
790
- # - google.foo.v1.NewExtension
791
- # allowed_response_extensions:
792
- # - google.foo.v1.NewExtension
793
- # You can also specify extension ID instead of fully qualified extension name
794
- # here.
687
+ # `Context` defines which contexts an API requests. Example: context: rules: -
688
+ # selector: "*" requested: - google.rpc.context.ProjectContext - google.rpc.
689
+ # context.OriginContext The above specifies that all methods in the API request `
690
+ # google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`.
691
+ # Available context types are defined in package `google.rpc.context`. This also
692
+ # provides mechanism to whitelist any protobuf message extension that can be
693
+ # sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format.
694
+ # For example, list any service specific protobuf types that can appear in grpc
695
+ # metadata as follows in your yaml file: Example: context: rules: - selector: "
696
+ # google.example.library.v1.LibraryService.CreateBook"
697
+ # allowed_request_extensions: - google.foo.v1.NewExtension
698
+ # allowed_response_extensions: - google.foo.v1.NewExtension You can also specify
699
+ # extension ID instead of fully qualified extension name here.
795
700
  class Context
796
701
  include Google::Apis::Core::Hashable
797
702
 
798
- # A list of RPC context rules that apply to individual API methods.
799
- # **NOTE:** All service configuration rules follow "last one wins" order.
703
+ # A list of RPC context rules that apply to individual API methods. **NOTE:**
704
+ # All service configuration rules follow "last one wins" order.
800
705
  # Corresponds to the JSON property `rules`
801
706
  # @return [Array<Google::Apis::ServicenetworkingV1beta::ContextRule>]
802
707
  attr_accessor :rules
@@ -816,14 +721,14 @@ module Google
816
721
  class ContextRule
817
722
  include Google::Apis::Core::Hashable
818
723
 
819
- # A list of full type names or extension IDs of extensions allowed in grpc
820
- # side channel from client to backend.
724
+ # A list of full type names or extension IDs of extensions allowed in grpc side
725
+ # channel from client to backend.
821
726
  # Corresponds to the JSON property `allowedRequestExtensions`
822
727
  # @return [Array<String>]
823
728
  attr_accessor :allowed_request_extensions
824
729
 
825
- # A list of full type names or extension IDs of extensions allowed in grpc
826
- # side channel from backend to client.
730
+ # A list of full type names or extension IDs of extensions allowed in grpc side
731
+ # channel from backend to client.
827
732
  # Corresponds to the JSON property `allowedResponseExtensions`
828
733
  # @return [Array<String>]
829
734
  attr_accessor :allowed_response_extensions
@@ -838,8 +743,8 @@ module Google
838
743
  # @return [Array<String>]
839
744
  attr_accessor :requested
840
745
 
841
- # Selects the methods to which this rule applies.
842
- # Refer to selector for syntax details.
746
+ # Selects the methods to which this rule applies. Refer to selector for syntax
747
+ # details.
843
748
  # Corresponds to the JSON property `selector`
844
749
  # @return [String]
845
750
  attr_accessor :selector
@@ -858,14 +763,14 @@ module Google
858
763
  end
859
764
  end
860
765
 
861
- # Selects and configures the service controller used by the service. The
862
- # service controller handles features like abuse, quota, billing, logging,
863
- # monitoring, etc.
766
+ # Selects and configures the service controller used by the service. The service
767
+ # controller handles features like abuse, quota, billing, logging, monitoring,
768
+ # etc.
864
769
  class Control
865
770
  include Google::Apis::Core::Hashable
866
771
 
867
- # The service control environment to use. If empty, no control plane
868
- # feature (like quota and billing) will be enabled.
772
+ # The service control environment to use. If empty, no control plane feature (
773
+ # like quota and billing) will be enabled.
869
774
  # Corresponds to the JSON property `environment`
870
775
  # @return [String]
871
776
  attr_accessor :environment
@@ -880,19 +785,15 @@ module Google
880
785
  end
881
786
  end
882
787
 
883
- # Customize service error responses. For example, list any service
884
- # specific protobuf types that can appear in error detail lists of
885
- # error responses.
886
- # Example:
887
- # custom_error:
888
- # types:
889
- # - google.foo.v1.CustomError
890
- # - google.foo.v1.AnotherError
788
+ # Customize service error responses. For example, list any service specific
789
+ # protobuf types that can appear in error detail lists of error responses.
790
+ # Example: custom_error: types: - google.foo.v1.CustomError - google.foo.v1.
791
+ # AnotherError
891
792
  class CustomError
892
793
  include Google::Apis::Core::Hashable
893
794
 
894
- # The list of custom error rules that apply to individual API messages.
895
- # **NOTE:** All service configuration rules follow "last one wins" order.
795
+ # The list of custom error rules that apply to individual API messages. **NOTE:**
796
+ # All service configuration rules follow "last one wins" order.
896
797
  # Corresponds to the JSON property `rules`
897
798
  # @return [Array<Google::Apis::ServicenetworkingV1beta::CustomErrorRule>]
898
799
  attr_accessor :rules
@@ -917,15 +818,15 @@ module Google
917
818
  class CustomErrorRule
918
819
  include Google::Apis::Core::Hashable
919
820
 
920
- # Mark this message as possible payload in error response. Otherwise,
921
- # objects of this type will be filtered when they appear in error payload.
821
+ # Mark this message as possible payload in error response. Otherwise, objects of
822
+ # this type will be filtered when they appear in error payload.
922
823
  # Corresponds to the JSON property `isErrorType`
923
824
  # @return [Boolean]
924
825
  attr_accessor :is_error_type
925
826
  alias_method :is_error_type?, :is_error_type
926
827
 
927
- # Selects messages to which this rule applies.
928
- # Refer to selector for syntax details.
828
+ # Selects messages to which this rule applies. Refer to selector for syntax
829
+ # details.
929
830
  # Corresponds to the JSON property `selector`
930
831
  # @return [String]
931
832
  attr_accessor :selector
@@ -966,6 +867,20 @@ module Google
966
867
  end
967
868
  end
968
869
 
870
+ # Metadata provided through GetOperation request for the LRO generated by
871
+ # DeletePeeredDnsDomain API.
872
+ class DeletePeeredDnsDomainMetadata
873
+ include Google::Apis::Core::Hashable
874
+
875
+ def initialize(**args)
876
+ update!(**args)
877
+ end
878
+
879
+ # Update properties of this object
880
+ def update!(**args)
881
+ end
882
+ end
883
+
969
884
  # Represents a DNS record set resource.
970
885
  class DnsRecordSet
971
886
  include Google::Apis::Core::Hashable
@@ -1014,9 +929,9 @@ module Google
1014
929
  # @return [String]
1015
930
  attr_accessor :dns_suffix
1016
931
 
1017
- # User assigned name for this resource. Must be unique within the project.
1018
- # The name must be 1-63 characters long, must begin with a letter, end with
1019
- # a letter or digit, and only contain lowercase letters, digits or dashes.
932
+ # User assigned name for this resource. Must be unique within the project. The
933
+ # name must be 1-63 characters long, must begin with a letter, end with a letter
934
+ # or digit, and only contain lowercase letters, digits or dashes.
1020
935
  # Corresponds to the JSON property `name`
1021
936
  # @return [String]
1022
937
  attr_accessor :name
@@ -1032,56 +947,32 @@ module Google
1032
947
  end
1033
948
  end
1034
949
 
1035
- # `Documentation` provides the information for describing a service.
1036
- # Example:
1037
- # <pre><code>documentation:
1038
- # summary: >
1039
- # The Google Calendar API gives access
1040
- # to most calendar features.
1041
- # pages:
1042
- # - name: Overview
1043
- # content: &#40;== include google/foo/overview.md ==&#41;
1044
- # - name: Tutorial
1045
- # content: &#40;== include google/foo/tutorial.md ==&#41;
1046
- # subpages;
1047
- # - name: Java
1048
- # content: &#40;== include google/foo/tutorial_java.md ==&#41;
1049
- # rules:
1050
- # - selector: google.calendar.Calendar.Get
1051
- # description: >
1052
- # ...
1053
- # - selector: google.calendar.Calendar.Put
1054
- # description: >
1055
- # ...
1056
- # </code></pre>
1057
- # Documentation is provided in markdown syntax. In addition to
1058
- # standard markdown features, definition lists, tables and fenced
1059
- # code blocks are supported. Section headers can be provided and are
1060
- # interpreted relative to the section nesting of the context where
1061
- # a documentation fragment is embedded.
1062
- # Documentation from the IDL is merged with documentation defined
1063
- # via the config at normalization time, where documentation provided
1064
- # by config rules overrides IDL provided.
1065
- # A number of constructs specific to the API platform are supported
1066
- # in documentation text.
1067
- # In order to reference a proto element, the following
1068
- # notation can be used:
1069
- # <pre><code>&#91;fully.qualified.proto.name]&#91;]</code></pre>
1070
- # To override the display text used for the link, this can be used:
1071
- # <pre><code>&#91;display text]&#91;fully.qualified.proto.name]</code></pre>
1072
- # Text can be excluded from doc using the following notation:
1073
- # <pre><code>&#40;-- internal comment --&#41;</code></pre>
1074
- # A few directives are available in documentation. Note that
1075
- # directives must appear on a single line to be properly
1076
- # identified. The `include` directive includes a markdown file from
1077
- # an external source:
1078
- # <pre><code>&#40;== include path/to/file ==&#41;</code></pre>
1079
- # The `resource_for` directive marks a message to be the resource of
1080
- # a collection in REST view. If it is not specified, tools attempt
1081
- # to infer the resource from the operations in a collection:
1082
- # <pre><code>&#40;== resource_for v1.shelves.books ==&#41;</code></pre>
1083
- # The directive `suppress_warning` does not directly affect documentation
1084
- # and is documented together with service config validation.
950
+ # `Documentation` provides the information for describing a service. Example:
951
+ # documentation: summary: > The Google Calendar API gives access to most
952
+ # calendar features. pages: - name: Overview content: (== include google/foo/
953
+ # overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==
954
+ # ) subpages; - name: Java content: (== include google/foo/tutorial_java.md ==)
955
+ # rules: - selector: google.calendar.Calendar.Get description: > ... - selector:
956
+ # google.calendar.Calendar.Put description: > ... Documentation is provided in
957
+ # markdown syntax. In addition to standard markdown features, definition lists,
958
+ # tables and fenced code blocks are supported. Section headers can be provided
959
+ # and are interpreted relative to the section nesting of the context where a
960
+ # documentation fragment is embedded. Documentation from the IDL is merged with
961
+ # documentation defined via the config at normalization time, where
962
+ # documentation provided by config rules overrides IDL provided. A number of
963
+ # constructs specific to the API platform are supported in documentation text.
964
+ # In order to reference a proto element, the following notation can be used: [
965
+ # fully.qualified.proto.name][] To override the display text used for the link,
966
+ # this can be used: [display text][fully.qualified.proto.name] Text can be
967
+ # excluded from doc using the following notation: (-- internal comment --) A few
968
+ # directives are available in documentation. Note that directives must appear on
969
+ # a single line to be properly identified. The `include` directive includes a
970
+ # markdown file from an external source: (== include path/to/file ==) The `
971
+ # resource_for` directive marks a message to be the resource of a collection in
972
+ # REST view. If it is not specified, tools attempt to infer the resource from
973
+ # the operations in a collection: (== resource_for v1.shelves.books ==) The
974
+ # directive `suppress_warning` does not directly affect documentation and is
975
+ # documented together with service config validation.
1085
976
  class Documentation
1086
977
  include Google::Apis::Core::Hashable
1087
978
 
@@ -1090,19 +981,11 @@ module Google
1090
981
  # @return [String]
1091
982
  attr_accessor :documentation_root_url
1092
983
 
1093
- # Declares a single overview page. For example:
1094
- # <pre><code>documentation:
1095
- # summary: ...
1096
- # overview: &#40;== include overview.md ==&#41;
1097
- # </code></pre>
1098
- # This is a shortcut for the following declaration (using pages style):
1099
- # <pre><code>documentation:
1100
- # summary: ...
1101
- # pages:
1102
- # - name: Overview
1103
- # content: &#40;== include overview.md ==&#41;
1104
- # </code></pre>
1105
- # Note: you cannot specify both `overview` field and `pages` field.
984
+ # Declares a single overview page. For example: documentation: summary: ...
985
+ # overview: (== include overview.md ==) This is a shortcut for the following
986
+ # declaration (using pages style): documentation: summary: ... pages: - name:
987
+ # Overview content: (== include overview.md ==) Note: you cannot specify both `
988
+ # overview` field and `pages` field.
1106
989
  # Corresponds to the JSON property `overview`
1107
990
  # @return [String]
1108
991
  attr_accessor :overview
@@ -1112,22 +995,20 @@ module Google
1112
995
  # @return [Array<Google::Apis::ServicenetworkingV1beta::Page>]
1113
996
  attr_accessor :pages
1114
997
 
1115
- # A list of documentation rules that apply to individual API elements.
1116
- # **NOTE:** All service configuration rules follow "last one wins" order.
998
+ # A list of documentation rules that apply to individual API elements. **NOTE:**
999
+ # All service configuration rules follow "last one wins" order.
1117
1000
  # Corresponds to the JSON property `rules`
1118
1001
  # @return [Array<Google::Apis::ServicenetworkingV1beta::DocumentationRule>]
1119
1002
  attr_accessor :rules
1120
1003
 
1121
- # Specifies the service root url if the default one (the service name
1122
- # from the yaml file) is not suitable. This can be seen in any fully
1123
- # specified service urls as well as sections that show a base that other
1124
- # urls are relative to.
1004
+ # Specifies the service root url if the default one (the service name from the
1005
+ # yaml file) is not suitable. This can be seen in any fully specified service
1006
+ # urls as well as sections that show a base that other urls are relative to.
1125
1007
  # Corresponds to the JSON property `serviceRootUrl`
1126
1008
  # @return [String]
1127
1009
  attr_accessor :service_root_url
1128
1010
 
1129
- # A short summary of what the service does. Can only be provided by
1130
- # plain text.
1011
+ # A short summary of what the service does. Can only be provided by plain text.
1131
1012
  # Corresponds to the JSON property `summary`
1132
1013
  # @return [String]
1133
1014
  attr_accessor :summary
@@ -1151,8 +1032,8 @@ module Google
1151
1032
  class DocumentationRule
1152
1033
  include Google::Apis::Core::Hashable
1153
1034
 
1154
- # Deprecation description of the selected element(s). It can be provided if
1155
- # an element is marked as `deprecated`.
1035
+ # Deprecation description of the selected element(s). It can be provided if an
1036
+ # element is marked as `deprecated`.
1156
1037
  # Corresponds to the JSON property `deprecationDescription`
1157
1038
  # @return [String]
1158
1039
  attr_accessor :deprecation_description
@@ -1184,35 +1065,28 @@ module Google
1184
1065
  end
1185
1066
  end
1186
1067
 
1187
- # `Endpoint` describes a network endpoint that serves a set of APIs.
1188
- # A service may expose any number of endpoints, and all endpoints share the
1189
- # same service configuration, such as quota configuration and monitoring
1190
- # configuration.
1191
- # Example service configuration:
1192
- # name: library-example.googleapis.com
1193
- # endpoints:
1194
- # # Below entry makes 'google.example.library.v1.Library'
1195
- # # API be served from endpoint address library-example.googleapis.com.
1196
- # # It also allows HTTP OPTIONS calls to be passed to the backend, for
1197
- # # it to decide whether the subsequent cross-origin request is
1198
- # # allowed to proceed.
1199
- # - name: library-example.googleapis.com
1200
- # allow_cors: true
1068
+ # `Endpoint` describes a network endpoint that serves a set of APIs. A service
1069
+ # may expose any number of endpoints, and all endpoints share the same service
1070
+ # configuration, such as quota configuration and monitoring configuration.
1071
+ # Example service configuration: name: library-example.googleapis.com endpoints:
1072
+ # # Below entry makes 'google.example.library.v1.Library' # API be served from
1073
+ # endpoint address library-example.googleapis.com. # It also allows HTTP OPTIONS
1074
+ # calls to be passed to the backend, for # it to decide whether the subsequent
1075
+ # cross-origin request is # allowed to proceed. - name: library-example.
1076
+ # googleapis.com allow_cors: true
1201
1077
  class Endpoint
1202
1078
  include Google::Apis::Core::Hashable
1203
1079
 
1204
1080
  # DEPRECATED: This field is no longer supported. Instead of using aliases,
1205
- # please specify multiple google.api.Endpoint for each of the intended
1206
- # aliases.
1081
+ # please specify multiple google.api.Endpoint for each of the intended aliases.
1207
1082
  # Additional names that this endpoint will be hosted on.
1208
1083
  # Corresponds to the JSON property `aliases`
1209
1084
  # @return [Array<String>]
1210
1085
  attr_accessor :aliases
1211
1086
 
1212
- # Allowing
1213
- # [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka
1214
- # cross-domain traffic, would allow the backends served from this endpoint to
1215
- # receive and respond to HTTP OPTIONS requests. The response will be used by
1087
+ # Allowing [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing),
1088
+ # aka cross-domain traffic, would allow the backends served from this endpoint
1089
+ # to receive and respond to HTTP OPTIONS requests. The response will be used by
1216
1090
  # the browser to determine whether the subsequent cross-origin request is
1217
1091
  # allowed to proceed.
1218
1092
  # Corresponds to the JSON property `allowCors`
@@ -1226,10 +1100,9 @@ module Google
1226
1100
  attr_accessor :name
1227
1101
 
1228
1102
  # The specification of an Internet routable address of API frontend that will
1229
- # handle requests to this [API
1230
- # Endpoint](https://cloud.google.com/apis/design/glossary). It should be
1231
- # either a valid IPv4 address or a fully-qualified domain name. For example,
1232
- # "8.8.8.8" or "myservice.appspot.com".
1103
+ # handle requests to this [API Endpoint](https://cloud.google.com/apis/design/
1104
+ # glossary). It should be either a valid IPv4 address or a fully-qualified
1105
+ # domain name. For example, "8.8.8.8" or "myservice.appspot.com".
1233
1106
  # Corresponds to the JSON property `target`
1234
1107
  # @return [String]
1235
1108
  attr_accessor :target
@@ -1266,8 +1139,8 @@ module Google
1266
1139
  # @return [Array<Google::Apis::ServicenetworkingV1beta::Option>]
1267
1140
  attr_accessor :options
1268
1141
 
1269
- # `SourceContext` represents information about the source of a
1270
- # protobuf element, like the file in which it is defined.
1142
+ # `SourceContext` represents information about the source of a protobuf element,
1143
+ # like the file in which it is defined.
1271
1144
  # Corresponds to the JSON property `sourceContext`
1272
1145
  # @return [Google::Apis::ServicenetworkingV1beta::SourceContext]
1273
1146
  attr_accessor :source_context
@@ -1356,8 +1229,8 @@ module Google
1356
1229
  # @return [Fixnum]
1357
1230
  attr_accessor :number
1358
1231
 
1359
- # The index of the field type in `Type.oneofs`, for message or enumeration
1360
- # types. The first type has index 1; zero means the type is not in the list.
1232
+ # The index of the field type in `Type.oneofs`, for message or enumeration types.
1233
+ # The first type has index 1; zero means the type is not in the list.
1361
1234
  # Corresponds to the JSON property `oneofIndex`
1362
1235
  # @return [Fixnum]
1363
1236
  attr_accessor :oneof_index
@@ -1373,8 +1246,8 @@ module Google
1373
1246
  attr_accessor :packed
1374
1247
  alias_method :packed?, :packed
1375
1248
 
1376
- # The field type URL, without the scheme, for message or enumeration
1377
- # types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`.
1249
+ # The field type URL, without the scheme, for message or enumeration types.
1250
+ # Example: `"type.googleapis.com/google.protobuf.Timestamp"`.
1378
1251
  # Corresponds to the JSON property `typeUrl`
1379
1252
  # @return [String]
1380
1253
  attr_accessor :type_url
@@ -1408,21 +1281,19 @@ module Google
1408
1281
  # @return [String]
1409
1282
  attr_accessor :ip_cidr_range
1410
1283
 
1411
- # Subnetwork name.
1412
- # See https://cloud.google.com/compute/docs/vpc/
1284
+ # Subnetwork name. See https://cloud.google.com/compute/docs/vpc/
1413
1285
  # Corresponds to the JSON property `name`
1414
1286
  # @return [String]
1415
1287
  attr_accessor :name
1416
1288
 
1417
1289
  # In the Shared VPC host project, the VPC network that's peered with the
1418
- # consumer network. For example:
1419
- # `projects/1234321/global/networks/host-network`
1290
+ # consumer network. For example: `projects/1234321/global/networks/host-network`
1420
1291
  # Corresponds to the JSON property `network`
1421
1292
  # @return [String]
1422
1293
  attr_accessor :network
1423
1294
 
1424
- # This is a discovered subnet that is not within the current consumer
1425
- # allocated ranges.
1295
+ # This is a discovered subnet that is not within the current consumer allocated
1296
+ # ranges.
1426
1297
  # Corresponds to the JSON property `outsideAllocation`
1427
1298
  # @return [Boolean]
1428
1299
  attr_accessor :outside_allocation
@@ -1442,23 +1313,22 @@ module Google
1442
1313
  end
1443
1314
 
1444
1315
  # Defines the HTTP configuration for an API service. It contains a list of
1445
- # HttpRule, each specifying the mapping of an RPC method
1446
- # to one or more HTTP REST API methods.
1316
+ # HttpRule, each specifying the mapping of an RPC method to one or more HTTP
1317
+ # REST API methods.
1447
1318
  class Http
1448
1319
  include Google::Apis::Core::Hashable
1449
1320
 
1450
1321
  # When set to true, URL path parameters will be fully URI-decoded except in
1451
1322
  # cases of single segment matches in reserved expansion, where "%2F" will be
1452
- # left encoded.
1453
- # The default behavior is to not decode RFC 6570 reserved characters in multi
1454
- # segment matches.
1323
+ # left encoded. The default behavior is to not decode RFC 6570 reserved
1324
+ # characters in multi segment matches.
1455
1325
  # Corresponds to the JSON property `fullyDecodeReservedExpansion`
1456
1326
  # @return [Boolean]
1457
1327
  attr_accessor :fully_decode_reserved_expansion
1458
1328
  alias_method :fully_decode_reserved_expansion?, :fully_decode_reserved_expansion
1459
1329
 
1460
- # A list of HTTP configuration rules that apply to individual API methods.
1461
- # **NOTE:** All service configuration rules follow "last one wins" order.
1330
+ # A list of HTTP configuration rules that apply to individual API methods. **
1331
+ # NOTE:** All service configuration rules follow "last one wins" order.
1462
1332
  # Corresponds to the JSON property `rules`
1463
1333
  # @return [Array<Google::Apis::ServicenetworkingV1beta::HttpRule>]
1464
1334
  attr_accessor :rules
@@ -1474,251 +1344,156 @@ module Google
1474
1344
  end
1475
1345
  end
1476
1346
 
1477
- # # gRPC Transcoding
1478
- # gRPC Transcoding is a feature for mapping between a gRPC method and one or
1479
- # more HTTP REST endpoints. It allows developers to build a single API service
1480
- # that supports both gRPC APIs and REST APIs. Many systems, including [Google
1481
- # APIs](https://github.com/googleapis/googleapis),
1482
- # [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC
1483
- # Gateway](https://github.com/grpc-ecosystem/grpc-gateway),
1484
- # and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature
1485
- # and use it for large scale production services.
1486
- # `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies
1487
- # how different portions of the gRPC request message are mapped to the URL
1488
- # path, URL query parameters, and HTTP request body. It also controls how the
1489
- # gRPC response message is mapped to the HTTP response body. `HttpRule` is
1347
+ # # gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC
1348
+ # method and one or more HTTP REST endpoints. It allows developers to build a
1349
+ # single API service that supports both gRPC APIs and REST APIs. Many systems,
1350
+ # including [Google APIs](https://github.com/googleapis/googleapis), [Cloud
1351
+ # Endpoints](https://cloud.google.com/endpoints), [gRPC Gateway](https://github.
1352
+ # com/grpc-ecosystem/grpc-gateway), and [Envoy](https://github.com/envoyproxy/
1353
+ # envoy) proxy support this feature and use it for large scale production
1354
+ # services. `HttpRule` defines the schema of the gRPC/REST mapping. The mapping
1355
+ # specifies how different portions of the gRPC request message are mapped to the
1356
+ # URL path, URL query parameters, and HTTP request body. It also controls how
1357
+ # the gRPC response message is mapped to the HTTP response body. `HttpRule` is
1490
1358
  # typically specified as an `google.api.http` annotation on the gRPC method.
1491
1359
  # Each mapping specifies a URL path template and an HTTP method. The path
1492
1360
  # template may refer to one or more fields in the gRPC request message, as long
1493
- # as each field is a non-repeated field with a primitive (non-message) type.
1494
- # The path template controls how fields of the request message are mapped to
1495
- # the URL path.
1496
- # Example:
1497
- # service Messaging `
1498
- # rpc GetMessage(GetMessageRequest) returns (Message) `
1499
- # option (google.api.http) = `
1500
- # get: "/v1/`name=messages/*`"
1501
- # `;
1502
- # `
1503
- # `
1504
- # message GetMessageRequest `
1505
- # string name = 1; // Mapped to URL path.
1506
- # `
1507
- # message Message `
1508
- # string text = 1; // The resource content.
1509
- # `
1510
- # This enables an HTTP REST to gRPC mapping as below:
1511
- # HTTP | gRPC
1512
- # -----|-----
1513
- # `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")`
1514
- # Any fields in the request message which are not bound by the path template
1515
- # automatically become HTTP query parameters if there is no HTTP request body.
1516
- # For example:
1517
- # service Messaging `
1518
- # rpc GetMessage(GetMessageRequest) returns (Message) `
1519
- # option (google.api.http) = `
1520
- # get:"/v1/messages/`message_id`"
1521
- # `;
1522
- # `
1523
- # `
1524
- # message GetMessageRequest `
1525
- # message SubMessage `
1526
- # string subfield = 1;
1527
- # `
1528
- # string message_id = 1; // Mapped to URL path.
1529
- # int64 revision = 2; // Mapped to URL query parameter `revision`.
1530
- # SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`.
1531
- # `
1532
- # This enables a HTTP JSON to RPC mapping as below:
1533
- # HTTP | gRPC
1534
- # -----|-----
1535
- # `GET /v1/messages/123456?revision=2&sub.subfield=foo` |
1536
- # `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield:
1537
- # "foo"))`
1538
- # Note that fields which are mapped to URL query parameters must have a
1539
- # primitive type or a repeated primitive type or a non-repeated message type.
1540
- # In the case of a repeated type, the parameter can be repeated in the URL
1541
- # as `...?param=A&param=B`. In the case of a message type, each field of the
1542
- # message is mapped to a separate parameter, such as
1543
- # `...?foo.a=A&foo.b=B&foo.c=C`.
1544
- # For HTTP methods that allow a request body, the `body` field
1545
- # specifies the mapping. Consider a REST update method on the
1546
- # message resource collection:
1547
- # service Messaging `
1548
- # rpc UpdateMessage(UpdateMessageRequest) returns (Message) `
1549
- # option (google.api.http) = `
1550
- # patch: "/v1/messages/`message_id`"
1551
- # body: "message"
1552
- # `;
1553
- # `
1554
- # `
1555
- # message UpdateMessageRequest `
1556
- # string message_id = 1; // mapped to the URL
1557
- # Message message = 2; // mapped to the body
1558
- # `
1559
- # The following HTTP JSON to RPC mapping is enabled, where the
1560
- # representation of the JSON in the request body is determined by
1561
- # protos JSON encoding:
1562
- # HTTP | gRPC
1563
- # -----|-----
1564
- # `PATCH /v1/messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id:
1565
- # "123456" message ` text: "Hi!" `)`
1566
- # The special name `*` can be used in the body mapping to define that
1567
- # every field not bound by the path template should be mapped to the
1568
- # request body. This enables the following alternative definition of
1569
- # the update method:
1570
- # service Messaging `
1571
- # rpc UpdateMessage(Message) returns (Message) `
1572
- # option (google.api.http) = `
1573
- # patch: "/v1/messages/`message_id`"
1574
- # body: "*"
1575
- # `;
1576
- # `
1577
- # `
1578
- # message Message `
1579
- # string message_id = 1;
1580
- # string text = 2;
1581
- # `
1582
- # The following HTTP JSON to RPC mapping is enabled:
1583
- # HTTP | gRPC
1584
- # -----|-----
1585
- # `PATCH /v1/messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id:
1586
- # "123456" text: "Hi!")`
1587
- # Note that when using `*` in the body mapping, it is not possible to
1588
- # have HTTP parameters, as all fields not bound by the path end in
1589
- # the body. This makes this option more rarely used in practice when
1590
- # defining REST APIs. The common usage of `*` is in custom methods
1591
- # which don't use the URL at all for transferring data.
1592
- # It is possible to define multiple HTTP methods for one RPC by using
1593
- # the `additional_bindings` option. Example:
1594
- # service Messaging `
1595
- # rpc GetMessage(GetMessageRequest) returns (Message) `
1596
- # option (google.api.http) = `
1597
- # get: "/v1/messages/`message_id`"
1598
- # additional_bindings `
1599
- # get: "/v1/users/`user_id`/messages/`message_id`"
1600
- # `
1601
- # `;
1602
- # `
1603
- # `
1604
- # message GetMessageRequest `
1605
- # string message_id = 1;
1606
- # string user_id = 2;
1607
- # `
1608
- # This enables the following two alternative HTTP JSON to RPC mappings:
1609
- # HTTP | gRPC
1610
- # -----|-----
1611
- # `GET /v1/messages/123456` | `GetMessage(message_id: "123456")`
1612
- # `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id:
1613
- # "123456")`
1614
- # ## Rules for HTTP mapping
1615
- # 1. Leaf request fields (recursive expansion nested messages in the request
1616
- # message) are classified into three categories:
1617
- # - Fields referred by the path template. They are passed via the URL path.
1618
- # - Fields referred by the HttpRule.body. They are passed via the HTTP
1619
- # request body.
1620
- # - All other fields are passed via the URL query parameters, and the
1621
- # parameter name is the field path in the request message. A repeated
1622
- # field can be represented as multiple query parameters under the same
1623
- # name.
1624
- # 2. If HttpRule.body is "*", there is no URL query parameter, all fields
1625
- # are passed via URL path and HTTP request body.
1626
- # 3. If HttpRule.body is omitted, there is no HTTP request body, all
1627
- # fields are passed via URL path and URL query parameters.
1628
- # ### Path template syntax
1629
- # Template = "/" Segments [ Verb ] ;
1630
- # Segments = Segment ` "/" Segment ` ;
1631
- # Segment = "*" | "**" | LITERAL | Variable ;
1632
- # Variable = "`" FieldPath [ "=" Segments ] "`" ;
1633
- # FieldPath = IDENT ` "." IDENT ` ;
1634
- # Verb = ":" LITERAL ;
1635
- # The syntax `*` matches a single URL path segment. The syntax `**` matches
1636
- # zero or more URL path segments, which must be the last part of the URL path
1637
- # except the `Verb`.
1638
- # The syntax `Variable` matches part of the URL path as specified by its
1639
- # template. A variable template must not contain other variables. If a variable
1640
- # matches a single path segment, its template may be omitted, e.g. ``var``
1641
- # is equivalent to ``var=*``.
1642
- # The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL`
1643
- # contains any reserved character, such characters should be percent-encoded
1644
- # before the matching.
1645
- # If a variable contains exactly one path segment, such as `"`var`"` or
1646
- # `"`var=*`"`, when such a variable is expanded into a URL path on the client
1647
- # side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The
1648
- # server side does the reverse decoding. Such variables show up in the
1649
- # [Discovery
1650
- # Document](https://developers.google.com/discovery/v1/reference/apis) as
1651
- # ``var``.
1652
- # If a variable contains multiple path segments, such as `"`var=foo/*`"`
1653
- # or `"`var=**`"`, when such a variable is expanded into a URL path on the
1654
- # client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.
1655
- # The server side does the reverse decoding, except "%2F" and "%2f" are left
1656
- # unchanged. Such variables show up in the
1657
- # [Discovery
1658
- # Document](https://developers.google.com/discovery/v1/reference/apis) as
1659
- # ``+var``.
1660
- # ## Using gRPC API Service Configuration
1661
- # gRPC API Service Configuration (service config) is a configuration language
1662
- # for configuring a gRPC service to become a user-facing product. The
1663
- # service config is simply the YAML representation of the `google.api.Service`
1664
- # proto message.
1361
+ # as each field is a non-repeated field with a primitive (non-message) type. The
1362
+ # path template controls how fields of the request message are mapped to the URL
1363
+ # path. Example: service Messaging ` rpc GetMessage(GetMessageRequest) returns (
1364
+ # Message) ` option (google.api.http) = ` get: "/v1/`name=messages/*`" `; ` `
1365
+ # message GetMessageRequest ` string name = 1; // Mapped to URL path. ` message
1366
+ # Message ` string text = 1; // The resource content. ` This enables an HTTP
1367
+ # REST to gRPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/
1368
+ # 123456` | `GetMessage(name: "messages/123456")` Any fields in the request
1369
+ # message which are not bound by the path template automatically become HTTP
1370
+ # query parameters if there is no HTTP request body. For example: service
1371
+ # Messaging ` rpc GetMessage(GetMessageRequest) returns (Message) ` option (
1372
+ # google.api.http) = ` get:"/v1/messages/`message_id`" `; ` ` message
1373
+ # GetMessageRequest ` message SubMessage ` string subfield = 1; ` string
1374
+ # message_id = 1; // Mapped to URL path. int64 revision = 2; // Mapped to URL
1375
+ # query parameter `revision`. SubMessage sub = 3; // Mapped to URL query
1376
+ # parameter `sub.subfield`. ` This enables a HTTP JSON to RPC mapping as below:
1377
+ # HTTP | gRPC -----|----- `GET /v1/messages/123456?revision=2&sub.subfield=foo` |
1378
+ # `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: "foo"))
1379
+ # ` Note that fields which are mapped to URL query parameters must have a
1380
+ # primitive type or a repeated primitive type or a non-repeated message type. In
1381
+ # the case of a repeated type, the parameter can be repeated in the URL as `...?
1382
+ # param=A&param=B`. In the case of a message type, each field of the message is
1383
+ # mapped to a separate parameter, such as `...?foo.a=A&foo.b=B&foo.c=C`. For
1384
+ # HTTP methods that allow a request body, the `body` field specifies the mapping.
1385
+ # Consider a REST update method on the message resource collection: service
1386
+ # Messaging ` rpc UpdateMessage(UpdateMessageRequest) returns (Message) ` option
1387
+ # (google.api.http) = ` patch: "/v1/messages/`message_id`" body: "message" `; ` `
1388
+ # message UpdateMessageRequest ` string message_id = 1; // mapped to the URL
1389
+ # Message message = 2; // mapped to the body ` The following HTTP JSON to RPC
1390
+ # mapping is enabled, where the representation of the JSON in the request body
1391
+ # is determined by protos JSON encoding: HTTP | gRPC -----|----- `PATCH /v1/
1392
+ # messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id: "123456"
1393
+ # message ` text: "Hi!" `)` The special name `*` can be used in the body mapping
1394
+ # to define that every field not bound by the path template should be mapped to
1395
+ # the request body. This enables the following alternative definition of the
1396
+ # update method: service Messaging ` rpc UpdateMessage(Message) returns (Message)
1397
+ # ` option (google.api.http) = ` patch: "/v1/messages/`message_id`" body: "*" `;
1398
+ # ` ` message Message ` string message_id = 1; string text = 2; ` The following
1399
+ # HTTP JSON to RPC mapping is enabled: HTTP | gRPC -----|----- `PATCH /v1/
1400
+ # messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id: "123456" text:
1401
+ # "Hi!")` Note that when using `*` in the body mapping, it is not possible to
1402
+ # have HTTP parameters, as all fields not bound by the path end in the body.
1403
+ # This makes this option more rarely used in practice when defining REST APIs.
1404
+ # The common usage of `*` is in custom methods which don't use the URL at all
1405
+ # for transferring data. It is possible to define multiple HTTP methods for one
1406
+ # RPC by using the `additional_bindings` option. Example: service Messaging `
1407
+ # rpc GetMessage(GetMessageRequest) returns (Message) ` option (google.api.http)
1408
+ # = ` get: "/v1/messages/`message_id`" additional_bindings ` get: "/v1/users/`
1409
+ # user_id`/messages/`message_id`" ` `; ` ` message GetMessageRequest ` string
1410
+ # message_id = 1; string user_id = 2; ` This enables the following two
1411
+ # alternative HTTP JSON to RPC mappings: HTTP | gRPC -----|----- `GET /v1/
1412
+ # messages/123456` | `GetMessage(message_id: "123456")` `GET /v1/users/me/
1413
+ # messages/123456` | `GetMessage(user_id: "me" message_id: "123456")` ## Rules
1414
+ # for HTTP mapping 1. Leaf request fields (recursive expansion nested messages
1415
+ # in the request message) are classified into three categories: - Fields
1416
+ # referred by the path template. They are passed via the URL path. - Fields
1417
+ # referred by the HttpRule.body. They are passed via the HTTP request body. -
1418
+ # All other fields are passed via the URL query parameters, and the parameter
1419
+ # name is the field path in the request message. A repeated field can be
1420
+ # represented as multiple query parameters under the same name. 2. If HttpRule.
1421
+ # body is "*", there is no URL query parameter, all fields are passed via URL
1422
+ # path and HTTP request body. 3. If HttpRule.body is omitted, there is no HTTP
1423
+ # request body, all fields are passed via URL path and URL query parameters. ###
1424
+ # Path template syntax Template = "/" Segments [ Verb ] ; Segments = Segment ` "/
1425
+ # " Segment ` ; Segment = "*" | "**" | LITERAL | Variable ; Variable = "`"
1426
+ # FieldPath [ "=" Segments ] "`" ; FieldPath = IDENT ` "." IDENT ` ; Verb = ":"
1427
+ # LITERAL ; The syntax `*` matches a single URL path segment. The syntax `**`
1428
+ # matches zero or more URL path segments, which must be the last part of the URL
1429
+ # path except the `Verb`. The syntax `Variable` matches part of the URL path as
1430
+ # specified by its template. A variable template must not contain other
1431
+ # variables. If a variable matches a single path segment, its template may be
1432
+ # omitted, e.g. ``var`` is equivalent to ``var=*``. The syntax `LITERAL` matches
1433
+ # literal text in the URL path. If the `LITERAL` contains any reserved character,
1434
+ # such characters should be percent-encoded before the matching. If a variable
1435
+ # contains exactly one path segment, such as `"`var`"` or `"`var=*`"`, when such
1436
+ # a variable is expanded into a URL path on the client side, all characters
1437
+ # except `[-_.~0-9a-zA-Z]` are percent-encoded. The server side does the reverse
1438
+ # decoding. Such variables show up in the [Discovery Document](https://
1439
+ # developers.google.com/discovery/v1/reference/apis) as ``var``. If a variable
1440
+ # contains multiple path segments, such as `"`var=foo/*`"` or `"`var=**`"`, when
1441
+ # such a variable is expanded into a URL path on the client side, all characters
1442
+ # except `[-_.~/0-9a-zA-Z]` are percent-encoded. The server side does the
1443
+ # reverse decoding, except "%2F" and "%2f" are left unchanged. Such variables
1444
+ # show up in the [Discovery Document](https://developers.google.com/discovery/v1/
1445
+ # reference/apis) as ``+var``. ## Using gRPC API Service Configuration gRPC API
1446
+ # Service Configuration (service config) is a configuration language for
1447
+ # configuring a gRPC service to become a user-facing product. The service config
1448
+ # is simply the YAML representation of the `google.api.Service` proto message.
1665
1449
  # As an alternative to annotating your proto file, you can configure gRPC
1666
- # transcoding in your service config YAML files. You do this by specifying a
1667
- # `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same
1668
- # effect as the proto annotation. This can be particularly useful if you
1669
- # have a proto that is reused in multiple services. Note that any transcoding
1670
- # specified in the service config will override any matching transcoding
1671
- # configuration in the proto.
1672
- # Example:
1673
- # http:
1674
- # rules:
1675
- # # Selects a gRPC method and applies HttpRule to it.
1676
- # - selector: example.v1.Messaging.GetMessage
1677
- # get: /v1/messages/`message_id`/`sub.subfield`
1678
- # ## Special notes
1679
- # When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the
1680
- # proto to JSON conversion must follow the [proto3
1681
- # specification](https://developers.google.com/protocol-buffers/docs/proto3#json)
1682
- # .
1683
- # While the single segment variable follows the semantics of
1684
- # [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String
1685
- # Expansion, the multi segment variable **does not** follow RFC 6570 Section
1686
- # 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion
1687
- # does not expand special characters like `?` and `#`, which would lead
1688
- # to invalid URLs. As the result, gRPC Transcoding uses a custom encoding
1689
- # for multi segment variables.
1690
- # The path variables **must not** refer to any repeated or mapped field,
1691
- # because client libraries are not capable of handling such variable expansion.
1692
- # The path variables **must not** capture the leading "/" character. The reason
1693
- # is that the most common use case "`var`" does not capture the leading "/"
1694
- # character. For consistency, all path variables must share the same behavior.
1695
- # Repeated message fields must not be mapped to URL query parameters, because
1696
- # no client library can support such complicated mapping.
1697
- # If an API needs to use a JSON array for request or response body, it can map
1698
- # the request or response body to a repeated field. However, some gRPC
1699
- # Transcoding implementations may not support this feature.
1450
+ # transcoding in your service config YAML files. You do this by specifying a `
1451
+ # HttpRule` that maps the gRPC method to a REST endpoint, achieving the same
1452
+ # effect as the proto annotation. This can be particularly useful if you have a
1453
+ # proto that is reused in multiple services. Note that any transcoding specified
1454
+ # in the service config will override any matching transcoding configuration in
1455
+ # the proto. Example: http: rules: # Selects a gRPC method and applies HttpRule
1456
+ # to it. - selector: example.v1.Messaging.GetMessage get: /v1/messages/`
1457
+ # message_id`/`sub.subfield` ## Special notes When gRPC Transcoding is used to
1458
+ # map a gRPC to JSON REST endpoints, the proto to JSON conversion must follow
1459
+ # the [proto3 specification](https://developers.google.com/protocol-buffers/docs/
1460
+ # proto3#json). While the single segment variable follows the semantics of [RFC
1461
+ # 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String
1462
+ # Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.
1463
+ # 3 Reserved Expansion. The reason is that the Reserved Expansion does not
1464
+ # expand special characters like `?` and `#`, which would lead to invalid URLs.
1465
+ # As the result, gRPC Transcoding uses a custom encoding for multi segment
1466
+ # variables. The path variables **must not** refer to any repeated or mapped
1467
+ # field, because client libraries are not capable of handling such variable
1468
+ # expansion. The path variables **must not** capture the leading "/" character.
1469
+ # The reason is that the most common use case "`var`" does not capture the
1470
+ # leading "/" character. For consistency, all path variables must share the same
1471
+ # behavior. Repeated message fields must not be mapped to URL query parameters,
1472
+ # because no client library can support such complicated mapping. If an API
1473
+ # needs to use a JSON array for request or response body, it can map the request
1474
+ # or response body to a repeated field. However, some gRPC Transcoding
1475
+ # implementations may not support this feature.
1700
1476
  class HttpRule
1701
1477
  include Google::Apis::Core::Hashable
1702
1478
 
1703
- # Additional HTTP bindings for the selector. Nested bindings must
1704
- # not contain an `additional_bindings` field themselves (that is,
1705
- # the nesting may only be one level deep).
1479
+ # Additional HTTP bindings for the selector. Nested bindings must not contain an
1480
+ # `additional_bindings` field themselves (that is, the nesting may only be one
1481
+ # level deep).
1706
1482
  # Corresponds to the JSON property `additionalBindings`
1707
1483
  # @return [Array<Google::Apis::ServicenetworkingV1beta::HttpRule>]
1708
1484
  attr_accessor :additional_bindings
1709
1485
 
1710
- # When this flag is set to true, HTTP requests will be allowed to invoke a
1711
- # half-duplex streaming method.
1486
+ # When this flag is set to true, HTTP requests will be allowed to invoke a half-
1487
+ # duplex streaming method.
1712
1488
  # Corresponds to the JSON property `allowHalfDuplex`
1713
1489
  # @return [Boolean]
1714
1490
  attr_accessor :allow_half_duplex
1715
1491
  alias_method :allow_half_duplex?, :allow_half_duplex
1716
1492
 
1717
- # The name of the request field whose value is mapped to the HTTP request
1718
- # body, or `*` for mapping all request fields not captured by the path
1719
- # pattern to the HTTP body, or omitted for not having any HTTP request body.
1720
- # NOTE: the referred field must be present at the top-level of the request
1721
- # message type.
1493
+ # The name of the request field whose value is mapped to the HTTP request body,
1494
+ # or `*` for mapping all request fields not captured by the path pattern to the
1495
+ # HTTP body, or omitted for not having any HTTP request body. NOTE: the referred
1496
+ # field must be present at the top-level of the request message type.
1722
1497
  # Corresponds to the JSON property `body`
1723
1498
  # @return [String]
1724
1499
  attr_accessor :body
@@ -1733,8 +1508,7 @@ module Google
1733
1508
  # @return [String]
1734
1509
  attr_accessor :delete
1735
1510
 
1736
- # Maps to HTTP GET. Used for listing and getting information about
1737
- # resources.
1511
+ # Maps to HTTP GET. Used for listing and getting information about resources.
1738
1512
  # Corresponds to the JSON property `get`
1739
1513
  # @return [String]
1740
1514
  attr_accessor :get
@@ -1755,16 +1529,15 @@ module Google
1755
1529
  attr_accessor :put
1756
1530
 
1757
1531
  # Optional. The name of the response field whose value is mapped to the HTTP
1758
- # response body. When omitted, the entire response message will be used
1759
- # as the HTTP response body.
1760
- # NOTE: The referred field must be present at the top-level of the response
1761
- # message type.
1532
+ # response body. When omitted, the entire response message will be used as the
1533
+ # HTTP response body. NOTE: The referred field must be present at the top-level
1534
+ # of the response message type.
1762
1535
  # Corresponds to the JSON property `responseBody`
1763
1536
  # @return [String]
1764
1537
  attr_accessor :response_body
1765
1538
 
1766
- # Selects a method to which this rule applies.
1767
- # Refer to selector for syntax details.
1539
+ # Selects a method to which this rule applies. Refer to selector for syntax
1540
+ # details.
1768
1541
  # Corresponds to the JSON property `selector`
1769
1542
  # @return [String]
1770
1543
  attr_accessor :selector
@@ -1803,13 +1576,12 @@ module Google
1803
1576
  # @return [String]
1804
1577
  attr_accessor :query
1805
1578
 
1806
- # The value prefix. The value format is "value_prefix`token`"
1807
- # Only applies to "in" header type. Must be empty for "in" query type.
1808
- # If not empty, the header value has to match (case sensitive) this prefix.
1809
- # If not matched, JWT will not be extracted. If matched, JWT will be
1810
- # extracted after the prefix is removed.
1811
- # For example, for "Authorization: Bearer `JWT`",
1812
- # value_prefix="Bearer " with a space at the end.
1579
+ # The value prefix. The value format is "value_prefix`token`" Only applies to "
1580
+ # in" header type. Must be empty for "in" query type. If not empty, the header
1581
+ # value has to match (case sensitive) this prefix. If not matched, JWT will not
1582
+ # be extracted. If matched, JWT will be extracted after the prefix is removed.
1583
+ # For example, for "Authorization: Bearer `JWT`", value_prefix="Bearer " with a
1584
+ # space at the end.
1813
1585
  # Corresponds to the JSON property `valuePrefix`
1814
1586
  # @return [String]
1815
1587
  attr_accessor :value_prefix
@@ -1857,8 +1629,8 @@ module Google
1857
1629
  end
1858
1630
  end
1859
1631
 
1860
- # ListConnectionsResponse is the response to list peering states for the
1861
- # given service and consumer project.
1632
+ # ListConnectionsResponse is the response to list peering states for the given
1633
+ # service and consumer project.
1862
1634
  class ListConnectionsResponse
1863
1635
  include Google::Apis::Core::Hashable
1864
1636
 
@@ -1877,39 +1649,35 @@ module Google
1877
1649
  end
1878
1650
  end
1879
1651
 
1880
- # A description of a log type. Example in YAML format:
1881
- # - name: library.googleapis.com/activity_history
1882
- # description: The history of borrowing and returning library items.
1883
- # display_name: Activity
1884
- # labels:
1885
- # - key: /customer_id
1652
+ # A description of a log type. Example in YAML format: - name: library.
1653
+ # googleapis.com/activity_history description: The history of borrowing and
1654
+ # returning library items. display_name: Activity labels: - key: /customer_id
1886
1655
  # description: Identifier of a library customer
1887
1656
  class LogDescriptor
1888
1657
  include Google::Apis::Core::Hashable
1889
1658
 
1890
- # A human-readable description of this log. This information appears in
1891
- # the documentation and can contain details.
1659
+ # A human-readable description of this log. This information appears in the
1660
+ # documentation and can contain details.
1892
1661
  # Corresponds to the JSON property `description`
1893
1662
  # @return [String]
1894
1663
  attr_accessor :description
1895
1664
 
1896
- # The human-readable name for this log. This information appears on
1897
- # the user interface and should be concise.
1665
+ # The human-readable name for this log. This information appears on the user
1666
+ # interface and should be concise.
1898
1667
  # Corresponds to the JSON property `displayName`
1899
1668
  # @return [String]
1900
1669
  attr_accessor :display_name
1901
1670
 
1902
- # The set of labels that are available to describe a specific log entry.
1903
- # Runtime requests that contain labels not specified here are
1904
- # considered invalid.
1671
+ # The set of labels that are available to describe a specific log entry. Runtime
1672
+ # requests that contain labels not specified here are considered invalid.
1905
1673
  # Corresponds to the JSON property `labels`
1906
1674
  # @return [Array<Google::Apis::ServicenetworkingV1beta::LabelDescriptor>]
1907
1675
  attr_accessor :labels
1908
1676
 
1909
- # The name of the log. It must be less than 512 characters long and can
1910
- # include the following characters: upper- and lower-case alphanumeric
1911
- # characters [A-Za-z0-9], and punctuation characters including
1912
- # slash, underscore, hyphen, period [/_-.].
1677
+ # The name of the log. It must be less than 512 characters long and can include
1678
+ # the following characters: upper- and lower-case alphanumeric characters [A-Za-
1679
+ # z0-9], and punctuation characters including slash, underscore, hyphen, period [
1680
+ # /_-.].
1913
1681
  # Corresponds to the JSON property `name`
1914
1682
  # @return [String]
1915
1683
  attr_accessor :name
@@ -1927,48 +1695,30 @@ module Google
1927
1695
  end
1928
1696
  end
1929
1697
 
1930
- # Logging configuration of the service.
1931
- # The following example shows how to configure logs to be sent to the
1932
- # producer and consumer projects. In the example, the `activity_history`
1933
- # log is sent to both the producer and consumer projects, whereas the
1934
- # `purchase_history` log is only sent to the producer project.
1935
- # monitored_resources:
1936
- # - type: library.googleapis.com/branch
1937
- # labels:
1938
- # - key: /city
1939
- # description: The city where the library branch is located in.
1940
- # - key: /name
1941
- # description: The name of the branch.
1942
- # logs:
1943
- # - name: activity_history
1944
- # labels:
1945
- # - key: /customer_id
1946
- # - name: purchase_history
1947
- # logging:
1948
- # producer_destinations:
1949
- # - monitored_resource: library.googleapis.com/branch
1950
- # logs:
1951
- # - activity_history
1952
- # - purchase_history
1953
- # consumer_destinations:
1954
- # - monitored_resource: library.googleapis.com/branch
1955
- # logs:
1956
- # - activity_history
1698
+ # Logging configuration of the service. The following example shows how to
1699
+ # configure logs to be sent to the producer and consumer projects. In the
1700
+ # example, the `activity_history` log is sent to both the producer and consumer
1701
+ # projects, whereas the `purchase_history` log is only sent to the producer
1702
+ # project. monitored_resources: - type: library.googleapis.com/branch labels: -
1703
+ # key: /city description: The city where the library branch is located in. - key:
1704
+ # /name description: The name of the branch. logs: - name: activity_history
1705
+ # labels: - key: /customer_id - name: purchase_history logging:
1706
+ # producer_destinations: - monitored_resource: library.googleapis.com/branch
1707
+ # logs: - activity_history - purchase_history consumer_destinations: -
1708
+ # monitored_resource: library.googleapis.com/branch logs: - activity_history
1957
1709
  class Logging
1958
1710
  include Google::Apis::Core::Hashable
1959
1711
 
1960
- # Logging configurations for sending logs to the consumer project.
1961
- # There can be multiple consumer destinations, each one must have a
1962
- # different monitored resource type. A log can be used in at most
1963
- # one consumer destination.
1712
+ # Logging configurations for sending logs to the consumer project. There can be
1713
+ # multiple consumer destinations, each one must have a different monitored
1714
+ # resource type. A log can be used in at most one consumer destination.
1964
1715
  # Corresponds to the JSON property `consumerDestinations`
1965
1716
  # @return [Array<Google::Apis::ServicenetworkingV1beta::LoggingDestination>]
1966
1717
  attr_accessor :consumer_destinations
1967
1718
 
1968
- # Logging configurations for sending logs to the producer project.
1969
- # There can be multiple producer destinations, each one must have a
1970
- # different monitored resource type. A log can be used in at most
1971
- # one producer destination.
1719
+ # Logging configurations for sending logs to the producer project. There can be
1720
+ # multiple producer destinations, each one must have a different monitored
1721
+ # resource type. A log can be used in at most one producer destination.
1972
1722
  # Corresponds to the JSON property `producerDestinations`
1973
1723
  # @return [Array<Google::Apis::ServicenetworkingV1beta::LoggingDestination>]
1974
1724
  attr_accessor :producer_destinations
@@ -1984,21 +1734,20 @@ module Google
1984
1734
  end
1985
1735
  end
1986
1736
 
1987
- # Configuration of a specific logging destination (the producer project
1988
- # or the consumer project).
1737
+ # Configuration of a specific logging destination (the producer project or the
1738
+ # consumer project).
1989
1739
  class LoggingDestination
1990
1740
  include Google::Apis::Core::Hashable
1991
1741
 
1992
- # Names of the logs to be sent to this destination. Each name must
1993
- # be defined in the Service.logs section. If the log name is
1994
- # not a domain scoped name, it will be automatically prefixed with
1995
- # the service name followed by "/".
1742
+ # Names of the logs to be sent to this destination. Each name must be defined in
1743
+ # the Service.logs section. If the log name is not a domain scoped name, it will
1744
+ # be automatically prefixed with the service name followed by "/".
1996
1745
  # Corresponds to the JSON property `logs`
1997
1746
  # @return [Array<String>]
1998
1747
  attr_accessor :logs
1999
1748
 
2000
- # The monitored resource type. The type must be defined in the
2001
- # Service.monitored_resources section.
1749
+ # The monitored resource type. The type must be defined in the Service.
1750
+ # monitored_resources section.
2002
1751
  # Corresponds to the JSON property `monitoredResource`
2003
1752
  # @return [String]
2004
1753
  attr_accessor :monitored_resource
@@ -2074,15 +1823,6 @@ module Google
2074
1823
  # Defines a metric type and its schema. Once a metric descriptor is created,
2075
1824
  # deleting or altering it stops data collection and makes the metric type's
2076
1825
  # 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
2086
1826
  class MetricDescriptor
2087
1827
  include Google::Apis::Core::Hashable
2088
1828
 
@@ -2091,25 +1831,18 @@ module Google
2091
1831
  # @return [String]
2092
1832
  attr_accessor :description
2093
1833
 
2094
- # A concise name for the metric, which can be displayed in user interfaces.
2095
- # Use sentence case without an ending period, for example "Request count".
2096
- # This field is optional but it is recommended to be set for any metrics
2097
- # associated with user-visible concepts, such as Quota.
1834
+ # A concise name for the metric, which can be displayed in user interfaces. Use
1835
+ # sentence case without an ending period, for example "Request count". This
1836
+ # field is optional but it is recommended to be set for any metrics associated
1837
+ # with user-visible concepts, such as Quota.
2098
1838
  # Corresponds to the JSON property `displayName`
2099
1839
  # @return [String]
2100
1840
  attr_accessor :display_name
2101
1841
 
2102
- # The set of labels that can be used to describe a specific
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
2110
- # `appengine.googleapis.com/http/server/response_latencies` metric
2111
- # type has a label for the HTTP response code, `response_code`, so
2112
- # you can look at latencies for successful responses or just
1842
+ # The set of labels that can be used to describe a specific instance of this
1843
+ # metric type. For example, the `appengine.googleapis.com/http/server/
1844
+ # response_latencies` metric type has a label for the HTTP response code, `
1845
+ # response_code`, so you can look at latencies for successful responses or just
2113
1846
  # for responses that failed.
2114
1847
  # Corresponds to the JSON property `labels`
2115
1848
  # @return [Array<Google::Apis::ServicenetworkingV1beta::LabelDescriptor>]
@@ -2125,17 +1858,16 @@ module Google
2125
1858
  # @return [Google::Apis::ServicenetworkingV1beta::MetricDescriptorMetadata]
2126
1859
  attr_accessor :metadata
2127
1860
 
2128
- # Whether the metric records instantaneous values, changes to a value, etc.
2129
- # Some combinations of `metric_kind` and `value_type` might not be supported.
1861
+ # Whether the metric records instantaneous values, changes to a value, etc. Some
1862
+ # combinations of `metric_kind` and `value_type` might not be supported.
2130
1863
  # Corresponds to the JSON property `metricKind`
2131
1864
  # @return [String]
2132
1865
  attr_accessor :metric_kind
2133
1866
 
2134
- # Read-only. If present, then a time
2135
- # series, which is identified partially by
2136
- # a metric type and a MonitoredResourceDescriptor, that is associated
2137
- # with this metric type can only be associated with one of the monitored
2138
- # resource types listed here.
1867
+ # Read-only. If present, then a time series, which is identified partially by a
1868
+ # metric type and a MonitoredResourceDescriptor, that is associated with this
1869
+ # metric type can only be associated with one of the monitored resource types
1870
+ # listed here.
2139
1871
  # Corresponds to the JSON property `monitoredResourceTypes`
2140
1872
  # @return [Array<String>]
2141
1873
  attr_accessor :monitored_resource_types
@@ -2145,116 +1877,68 @@ module Google
2145
1877
  # @return [String]
2146
1878
  attr_accessor :name
2147
1879
 
2148
- # The metric type, including its DNS name prefix. The type is not
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:
2162
- # "custom.googleapis.com/invoice/paid/amount"
2163
- # "external.googleapis.com/prometheus/up"
2164
- # "appengine.googleapis.com/http/server/response_latencies"
1880
+ # The metric type, including its DNS name prefix. The type is not URL-encoded.
1881
+ # All user-defined metric types have the DNS name `custom.googleapis.com` or `
1882
+ # external.googleapis.com`. Metric types should use a natural hierarchical
1883
+ # grouping. For example: "custom.googleapis.com/invoice/paid/amount" "external.
1884
+ # googleapis.com/prometheus/up" "appengine.googleapis.com/http/server/
1885
+ # response_latencies"
2165
1886
  # Corresponds to the JSON property `type`
2166
1887
  # @return [String]
2167
1888
  attr_accessor :type
2168
1889
 
2169
- # The units in which the metric value is reported. It is only applicable
2170
- # if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
2171
- # defines the representation of the stored metric values.
2172
- # Different systems may scale the values to be more easily displayed (so a
2173
- # value of `0.02KBy` _might_ be displayed as `20By`, and a value of
2174
- # `3523KBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is
2175
- # `KBy`, then the value of the metric is always in thousands of bytes, no
2176
- # matter how it may be displayed..
2177
- # If you want a custom metric to record the exact number of CPU-seconds used
2178
- # by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is
2179
- # `s`CPU`` (or equivalently `1s`CPU`` or just `s`). If the job uses 12,005
2180
- # CPU-seconds, then the value is written as `12005`.
2181
- # Alternatively, if you want a custom metric to record data in a more
2182
- # granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is
2183
- # `ks`CPU``, and then write the value `12.005` (which is `12005/1000`),
2184
- # or use `Kis`CPU`` and write `11.723` (which is `12005/1024`).
2185
- # The supported units are a subset of [The Unified Code for Units of
2186
- # Measure](http://unitsofmeasure.org/ucum.html) standard:
2187
- # **Basic units (UNIT)**
2188
- # * `bit` bit
2189
- # * `By` byte
2190
- # * `s` second
2191
- # * `min` minute
2192
- # * `h` hour
2193
- # * `d` day
2194
- # * `1` dimensionless
2195
- # **Prefixes (PREFIX)**
2196
- # * `k` kilo (10^3)
2197
- # * `M` mega (10^6)
2198
- # * `G` giga (10^9)
2199
- # * `T` tera (10^12)
2200
- # * `P` peta (10^15)
2201
- # * `E` exa (10^18)
2202
- # * `Z` zetta (10^21)
2203
- # * `Y` yotta (10^24)
2204
- # * `m` milli (10^-3)
2205
- # * `u` micro (10^-6)
2206
- # * `n` nano (10^-9)
2207
- # * `p` pico (10^-12)
2208
- # * `f` femto (10^-15)
2209
- # * `a` atto (10^-18)
2210
- # * `z` zepto (10^-21)
2211
- # * `y` yocto (10^-24)
2212
- # * `Ki` kibi (2^10)
2213
- # * `Mi` mebi (2^20)
2214
- # * `Gi` gibi (2^30)
2215
- # * `Ti` tebi (2^40)
2216
- # * `Pi` pebi (2^50)
2217
- # **Grammar**
2218
- # The grammar also includes these connectors:
2219
- # * `/` division or ratio (as an infix operator). For examples,
2220
- # `kBy/`email`` or `MiBy/10ms` (although you should almost never
2221
- # have `/s` in a metric `unit`; rates should always be computed at
2222
- # query time from the underlying cumulative or delta value).
2223
- # * `.` multiplication or composition (as an infix operator). For
2224
- # examples, `GBy.d` or `k`watt`.h`.
2225
- # The grammar for a unit is as follows:
2226
- # Expression = Component ` "." Component ` ` "/" Component ` ;
2227
- # Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ]
2228
- # | Annotation
2229
- # | "1"
2230
- # ;
2231
- # Annotation = "`" NAME "`" ;
2232
- # Notes:
2233
- # * `Annotation` is just a comment if it follows a `UNIT`. If the annotation
2234
- # is used alone, then the unit is equivalent to `1`. For examples,
2235
- # ``request`/s == 1/s`, `By`transmitted`/s == By/s`.
2236
- # * `NAME` is a sequence of non-blank printable ASCII characters not
2237
- # containing ``` or ```.
2238
- # * `1` represents a unitary [dimensionless
2239
- # unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such
2240
- # as in `1/s`. It is typically used when none of the basic units are
2241
- # appropriate. For example, "new users per day" can be represented as
2242
- # `1/d` or ``new-users`/d` (and a metric value `5` would mean "5 new
2243
- # users). Alternatively, "thousands of page views per day" would be
2244
- # represented as `1000/d` or `k1/d` or `k`page_views`/d` (and a metric
2245
- # value of `5.3` would mean "5300 page views per day").
2246
- # * `%` represents dimensionless value of 1/100, and annotates values giving
2247
- # a percentage (so the metric values are typically in the range of 0..100,
2248
- # and a metric value `3` means "3 percent").
2249
- # * `10^2.%` indicates a metric contains a ratio, typically in the range
2250
- # 0..1, that will be multiplied by 100 and displayed as a percentage
2251
- # (so a metric value `0.03` means "3 percent").
1890
+ # The units in which the metric value is reported. It is only applicable if the `
1891
+ # value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` defines the
1892
+ # representation of the stored metric values. Different systems may scale the
1893
+ # values to be more easily displayed (so a value of `0.02KBy` _might_ be
1894
+ # displayed as `20By`, and a value of `3523KBy` _might_ be displayed as `3.5MBy`)
1895
+ # . However, if the `unit` is `KBy`, then the value of the metric is always in
1896
+ # thousands of bytes, no matter how it may be displayed.. If you want a custom
1897
+ # metric to record the exact number of CPU-seconds used by a job, you can create
1898
+ # an `INT64 CUMULATIVE` metric whose `unit` is `s`CPU`` (or equivalently `1s`CPU`
1899
+ # ` or just `s`). If the job uses 12,005 CPU-seconds, then the value is written
1900
+ # as `12005`. Alternatively, if you want a custom metric to record data in a
1901
+ # more granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is
1902
+ # `ks`CPU``, and then write the value `12.005` (which is `12005/1000`), or use `
1903
+ # Kis`CPU`` and write `11.723` (which is `12005/1024`). The supported units are
1904
+ # a subset of [The Unified Code for Units of Measure](http://unitsofmeasure.org/
1905
+ # ucum.html) standard: **Basic units (UNIT)** * `bit` bit * `By` byte * `s`
1906
+ # second * `min` minute * `h` hour * `d` day * `1` dimensionless **Prefixes (
1907
+ # PREFIX)** * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera (10^
1908
+ # 12) * `P` peta (10^15) * `E` exa (10^18) * `Z` zetta (10^21) * `Y` yotta (10^
1909
+ # 24) * `m` milli (10^-3) * `u` micro (10^-6) * `n` nano (10^-9) * `p` pico (10^-
1910
+ # 12) * `f` femto (10^-15) * `a` atto (10^-18) * `z` zepto (10^-21) * `y` yocto (
1911
+ # 10^-24) * `Ki` kibi (2^10) * `Mi` mebi (2^20) * `Gi` gibi (2^30) * `Ti` tebi (
1912
+ # 2^40) * `Pi` pebi (2^50) **Grammar** The grammar also includes these
1913
+ # connectors: * `/` division or ratio (as an infix operator). For examples, `kBy/
1914
+ # `email`` or `MiBy/10ms` (although you should almost never have `/s` in a
1915
+ # metric `unit`; rates should always be computed at query time from the
1916
+ # underlying cumulative or delta value). * `.` multiplication or composition (as
1917
+ # an infix operator). For examples, `GBy.d` or `k`watt`.h`. The grammar for a
1918
+ # unit is as follows: Expression = Component ` "." Component ` ` "/" Component `
1919
+ # ; Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] | Annotation | "1" ;
1920
+ # Annotation = "`" NAME "`" ; Notes: * `Annotation` is just a comment if it
1921
+ # follows a `UNIT`. If the annotation is used alone, then the unit is equivalent
1922
+ # to `1`. For examples, ``request`/s == 1/s`, `By`transmitted`/s == By/s`. * `
1923
+ # NAME` is a sequence of non-blank printable ASCII characters not containing ```
1924
+ # or ```. * `1` represents a unitary [dimensionless unit](https://en.wikipedia.
1925
+ # org/wiki/Dimensionless_quantity) of 1, such as in `1/s`. It is typically used
1926
+ # when none of the basic units are appropriate. For example, "new users per day"
1927
+ # can be represented as `1/d` or ``new-users`/d` (and a metric value `5` would
1928
+ # mean "5 new users). Alternatively, "thousands of page views per day" would be
1929
+ # represented as `1000/d` or `k1/d` or `k`page_views`/d` (and a metric value of `
1930
+ # 5.3` would mean "5300 page views per day"). * `%` represents dimensionless
1931
+ # value of 1/100, and annotates values giving a percentage (so the metric values
1932
+ # are typically in the range of 0..100, and a metric value `3` means "3 percent")
1933
+ # . * `10^2.%` indicates a metric contains a ratio, typically in the range 0..1,
1934
+ # that will be multiplied by 100 and displayed as a percentage (so a metric
1935
+ # value `0.03` means "3 percent").
2252
1936
  # Corresponds to the JSON property `unit`
2253
1937
  # @return [String]
2254
1938
  attr_accessor :unit
2255
1939
 
2256
- # Whether the measurement is an integer, a floating-point number, etc.
2257
- # Some combinations of `metric_kind` and `value_type` might not be supported.
1940
+ # Whether the measurement is an integer, a floating-point number, etc. Some
1941
+ # combinations of `metric_kind` and `value_type` might not be supported.
2258
1942
  # Corresponds to the JSON property `valueType`
2259
1943
  # @return [String]
2260
1944
  attr_accessor :value_type
@@ -2283,9 +1967,9 @@ module Google
2283
1967
  class MetricDescriptorMetadata
2284
1968
  include Google::Apis::Core::Hashable
2285
1969
 
2286
- # The delay of data points caused by ingestion. Data points older than this
2287
- # age are guaranteed to be ingested and available to be read, excluding
2288
- # data loss due to errors.
1970
+ # The delay of data points caused by ingestion. Data points older than this age
1971
+ # are guaranteed to be ingested and available to be read, excluding data loss
1972
+ # due to errors.
2289
1973
  # Corresponds to the JSON property `ingestDelay`
2290
1974
  # @return [String]
2291
1975
  attr_accessor :ingest_delay
@@ -2297,8 +1981,8 @@ module Google
2297
1981
 
2298
1982
  # The sampling period of metric data points. For metrics which are written
2299
1983
  # periodically, consecutive data points are stored at this time interval,
2300
- # excluding data loss due to errors. Metrics with a higher granularity have
2301
- # a smaller sampling period.
1984
+ # excluding data loss due to errors. Metrics with a higher granularity have a
1985
+ # smaller sampling period.
2302
1986
  # Corresponds to the JSON property `samplePeriod`
2303
1987
  # @return [String]
2304
1988
  attr_accessor :sample_period
@@ -2315,22 +1999,21 @@ module Google
2315
1999
  end
2316
2000
  end
2317
2001
 
2318
- # Bind API methods to metrics. Binding a method to a metric causes that
2319
- # metric's configured quota behaviors to apply to the method call.
2002
+ # Bind API methods to metrics. Binding a method to a metric causes that metric's
2003
+ # configured quota behaviors to apply to the method call.
2320
2004
  class MetricRule
2321
2005
  include Google::Apis::Core::Hashable
2322
2006
 
2323
2007
  # Metrics to update when the selected methods are called, and the associated
2324
- # cost applied to each metric.
2325
- # The key of the map is the metric name, and the values are the amount
2326
- # increased for the metric against which the quota limits are defined.
2327
- # The value must not be negative.
2008
+ # cost applied to each metric. The key of the map is the metric name, and the
2009
+ # values are the amount increased for the metric against which the quota limits
2010
+ # are defined. The value must not be negative.
2328
2011
  # Corresponds to the JSON property `metricCosts`
2329
2012
  # @return [Hash<String,Fixnum>]
2330
2013
  attr_accessor :metric_costs
2331
2014
 
2332
- # Selects the methods to which this rule applies.
2333
- # Refer to selector for syntax details.
2015
+ # Selects the methods to which this rule applies. Refer to selector for syntax
2016
+ # details.
2334
2017
  # Corresponds to the JSON property `selector`
2335
2018
  # @return [String]
2336
2019
  attr_accessor :selector
@@ -2348,66 +2031,33 @@ module Google
2348
2031
 
2349
2032
  # Declares an API Interface to be included in this interface. The including
2350
2033
  # interface must redeclare all the methods from the included interface, but
2351
- # documentation and options are inherited as follows:
2352
- # - If after comment and whitespace stripping, the documentation
2353
- # string of the redeclared method is empty, it will be inherited
2354
- # from the original method.
2355
- # - Each annotation belonging to the service config (http,
2356
- # visibility) which is not set in the redeclared method will be
2357
- # inherited.
2358
- # - If an http annotation is inherited, the path pattern will be
2359
- # modified as follows. Any version prefix will be replaced by the
2360
- # version of the including interface plus the root path if
2361
- # specified.
2362
- # Example of a simple mixin:
2363
- # package google.acl.v1;
2364
- # service AccessControl `
2365
- # // Get the underlying ACL object.
2366
- # rpc GetAcl(GetAclRequest) returns (Acl) `
2367
- # option (google.api.http).get = "/v1/`resource=**`:getAcl";
2368
- # `
2369
- # `
2370
- # package google.storage.v2;
2371
- # service Storage `
2372
- # // rpc GetAcl(GetAclRequest) returns (Acl);
2373
- # // Get a data record.
2374
- # rpc GetData(GetDataRequest) returns (Data) `
2375
- # option (google.api.http).get = "/v2/`resource=**`";
2376
- # `
2377
- # `
2378
- # Example of a mixin configuration:
2379
- # apis:
2380
- # - name: google.storage.v2.Storage
2381
- # mixins:
2382
- # - name: google.acl.v1.AccessControl
2383
- # The mixin construct implies that all methods in `AccessControl` are
2384
- # also declared with same name and request/response types in
2385
- # `Storage`. A documentation generator or annotation processor will
2386
- # see the effective `Storage.GetAcl` method after inherting
2387
- # documentation and annotations as follows:
2388
- # service Storage `
2389
- # // Get the underlying ACL object.
2390
- # rpc GetAcl(GetAclRequest) returns (Acl) `
2391
- # option (google.api.http).get = "/v2/`resource=**`:getAcl";
2392
- # `
2393
- # ...
2394
- # `
2395
- # Note how the version in the path pattern changed from `v1` to `v2`.
2396
- # If the `root` field in the mixin is specified, it should be a
2397
- # relative path under which inherited HTTP paths are placed. Example:
2398
- # apis:
2399
- # - name: google.storage.v2.Storage
2400
- # mixins:
2401
- # - name: google.acl.v1.AccessControl
2402
- # root: acls
2403
- # This implies the following inherited HTTP annotation:
2404
- # service Storage `
2405
- # // Get the underlying ACL object.
2406
- # rpc GetAcl(GetAclRequest) returns (Acl) `
2407
- # option (google.api.http).get = "/v2/acls/`resource=**`:getAcl";
2408
- # `
2409
- # ...
2410
- # `
2034
+ # documentation and options are inherited as follows: - If after comment and
2035
+ # whitespace stripping, the documentation string of the redeclared method is
2036
+ # empty, it will be inherited from the original method. - Each annotation
2037
+ # belonging to the service config (http, visibility) which is not set in the
2038
+ # redeclared method will be inherited. - If an http annotation is inherited, the
2039
+ # path pattern will be modified as follows. Any version prefix will be replaced
2040
+ # by the version of the including interface plus the root path if specified.
2041
+ # Example of a simple mixin: package google.acl.v1; service AccessControl ` //
2042
+ # Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) `
2043
+ # option (google.api.http).get = "/v1/`resource=**`:getAcl"; ` ` package google.
2044
+ # storage.v2; service Storage ` // rpc GetAcl(GetAclRequest) returns (Acl); //
2045
+ # Get a data record. rpc GetData(GetDataRequest) returns (Data) ` option (google.
2046
+ # api.http).get = "/v2/`resource=**`"; ` ` Example of a mixin configuration:
2047
+ # apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.
2048
+ # AccessControl The mixin construct implies that all methods in `AccessControl`
2049
+ # are also declared with same name and request/response types in `Storage`. A
2050
+ # documentation generator or annotation processor will see the effective `
2051
+ # Storage.GetAcl` method after inheriting documentation and annotations as
2052
+ # follows: service Storage ` // Get the underlying ACL object. rpc GetAcl(
2053
+ # GetAclRequest) returns (Acl) ` option (google.api.http).get = "/v2/`resource=**
2054
+ # `:getAcl"; ` ... ` Note how the version in the path pattern changed from `v1`
2055
+ # to `v2`. If the `root` field in the mixin is specified, it should be a
2056
+ # relative path under which inherited HTTP paths are placed. Example: apis: -
2057
+ # name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl
2058
+ # root: acls This implies the following inherited HTTP annotation: service
2059
+ # Storage ` // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (
2060
+ # Acl) ` option (google.api.http).get = "/v2/acls/`resource=**`:getAcl"; ` ... `
2411
2061
  class Mixin
2412
2062
  include Google::Apis::Core::Hashable
2413
2063
 
@@ -2416,8 +2066,7 @@ module Google
2416
2066
  # @return [String]
2417
2067
  attr_accessor :name
2418
2068
 
2419
- # If non-empty specifies a path under which inherited HTTP paths
2420
- # are rooted.
2069
+ # If non-empty specifies a path under which inherited HTTP paths are rooted.
2421
2070
  # Corresponds to the JSON property `root`
2422
2071
  # @return [String]
2423
2072
  attr_accessor :root
@@ -2433,51 +2082,32 @@ module Google
2433
2082
  end
2434
2083
  end
2435
2084
 
2436
- # An object that describes the schema of a MonitoredResource object using a
2437
- # type name and a set of labels. For example, the monitored resource
2438
- # descriptor for Google Compute Engine VM instances has a type of
2439
- # `"gce_instance"` and specifies the use of the labels `"instance_id"` and
2440
- # `"zone"` to identify particular VM instances.
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
2085
+ # An object that describes the schema of a MonitoredResource object using a type
2086
+ # name and a set of labels. For example, the monitored resource descriptor for
2087
+ # Google Compute Engine VM instances has a type of `"gce_instance"` and
2088
+ # specifies the use of the labels `"instance_id"` and `"zone"` to identify
2089
+ # particular VM instances. Different APIs can support different monitored
2090
+ # resource types. APIs generally provide a `list` method that returns the
2091
+ # monitored resource descriptors used by the API.
2455
2092
  class MonitoredResourceDescriptor
2456
2093
  include Google::Apis::Core::Hashable
2457
2094
 
2458
- # Optional. A detailed description of the monitored resource type that might
2459
- # be used in documentation.
2095
+ # Optional. A detailed description of the monitored resource type that might be
2096
+ # used in documentation.
2460
2097
  # Corresponds to the JSON property `description`
2461
2098
  # @return [String]
2462
2099
  attr_accessor :description
2463
2100
 
2464
2101
  # Optional. A concise name for the monitored resource type that might be
2465
- # displayed in user interfaces. It should be a Title Cased Noun Phrase,
2466
- # without any article or other determiners. For example,
2467
- # `"Google Cloud SQL Database"`.
2102
+ # displayed in user interfaces. It should be a Title Cased Noun Phrase, without
2103
+ # any article or other determiners. For example, `"Google Cloud SQL Database"`.
2468
2104
  # Corresponds to the JSON property `displayName`
2469
2105
  # @return [String]
2470
2106
  attr_accessor :display_name
2471
2107
 
2472
2108
  # Required. A set of labels used to describe instances of this monitored
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`.
2109
+ # resource type. For example, an individual Google Cloud SQL database is
2110
+ # identified by values for the labels `"database_id"` and `"zone"`.
2481
2111
  # Corresponds to the JSON property `labels`
2482
2112
  # @return [Array<Google::Apis::ServicenetworkingV1beta::LabelDescriptor>]
2483
2113
  attr_accessor :labels
@@ -2487,27 +2117,18 @@ module Google
2487
2117
  # @return [String]
2488
2118
  attr_accessor :launch_stage
2489
2119
 
2490
- # Optional. The resource name of the monitored resource descriptor:
2491
- # `"projects/`project_id`/monitoredResourceDescriptors/`type`"` where
2492
- # `type` is the value of the `type` field in this object and
2493
- # `project_id` is a project ID that provides API-specific context for
2494
- # accessing the type. APIs that do not use project information can use the
2495
- # resource name format `"monitoredResourceDescriptors/`type`"`.
2120
+ # Optional. The resource name of the monitored resource descriptor: `"projects/`
2121
+ # project_id`/monitoredResourceDescriptors/`type`"` where `type` is the value of
2122
+ # the `type` field in this object and `project_id` is a project ID that provides
2123
+ # API-specific context for accessing the type. APIs that do not use project
2124
+ # information can use the resource name format `"monitoredResourceDescriptors/`
2125
+ # type`"`.
2496
2126
  # Corresponds to the JSON property `name`
2497
2127
  # @return [String]
2498
2128
  attr_accessor :name
2499
2129
 
2500
- # Required. The monitored resource type. For example, the type
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.
2130
+ # Required. The monitored resource type. For example, the type `"
2131
+ # cloudsql_database"` represents databases in Google Cloud SQL.
2511
2132
  # Corresponds to the JSON property `type`
2512
2133
  # @return [String]
2513
2134
  attr_accessor :type
@@ -2527,75 +2148,47 @@ module Google
2527
2148
  end
2528
2149
  end
2529
2150
 
2530
- # Monitoring configuration of the service.
2531
- # The example below shows how to configure monitored resources and metrics
2532
- # for monitoring. In the example, a monitored resource and two metrics are
2533
- # defined. The `library.googleapis.com/book/returned_count` metric is sent
2534
- # to both producer and consumer projects, whereas the
2535
- # `library.googleapis.com/book/num_overdue` metric is only sent to the
2536
- # consumer project.
2537
- # monitored_resources:
2538
- # - type: library.googleapis.com/Branch
2539
- # display_name: "Library Branch"
2540
- # description: "A branch of a library."
2541
- # launch_stage: GA
2542
- # labels:
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."
2549
- # metrics:
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
2554
- # metric_kind: DELTA
2555
- # value_type: INT64
2556
- # unit: "1"
2557
- # labels:
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
2564
- # metric_kind: GAUGE
2565
- # value_type: INT64
2566
- # unit: "1"
2567
- # labels:
2568
- # - key: customer_id
2569
- # description: "The id of the customer."
2570
- # monitoring:
2571
- # producer_destinations:
2572
- # - monitored_resource: library.googleapis.com/Branch
2573
- # metrics:
2574
- # - library.googleapis.com/book/returned_count
2575
- # consumer_destinations:
2576
- # - monitored_resource: library.googleapis.com/Branch
2577
- # metrics:
2578
- # - library.googleapis.com/book/returned_count
2579
- # - library.googleapis.com/book/num_overdue
2151
+ # Monitoring configuration of the service. The example below shows how to
2152
+ # configure monitored resources and metrics for monitoring. In the example, a
2153
+ # monitored resource and two metrics are defined. The `library.googleapis.com/
2154
+ # book/returned_count` metric is sent to both producer and consumer projects,
2155
+ # whereas the `library.googleapis.com/book/num_overdue` metric is only sent to
2156
+ # the consumer project. monitored_resources: - type: library.googleapis.com/
2157
+ # Branch display_name: "Library Branch" description: "A branch of a library."
2158
+ # launch_stage: GA labels: - key: resource_container description: "The Cloud
2159
+ # container (ie. project id) for the Branch." - key: location description: "The
2160
+ # location of the library branch." - key: branch_id description: "The id of the
2161
+ # branch." metrics: - name: library.googleapis.com/book/returned_count
2162
+ # display_name: "Books Returned" description: "The count of books that have been
2163
+ # returned." launch_stage: GA metric_kind: DELTA value_type: INT64 unit: "1"
2164
+ # labels: - key: customer_id description: "The id of the customer." - name:
2165
+ # library.googleapis.com/book/num_overdue display_name: "Books Overdue"
2166
+ # description: "The current number of overdue books." launch_stage: GA
2167
+ # metric_kind: GAUGE value_type: INT64 unit: "1" labels: - key: customer_id
2168
+ # description: "The id of the customer." monitoring: producer_destinations: -
2169
+ # monitored_resource: library.googleapis.com/Branch metrics: - library.
2170
+ # googleapis.com/book/returned_count consumer_destinations: - monitored_resource:
2171
+ # library.googleapis.com/Branch metrics: - library.googleapis.com/book/
2172
+ # returned_count - library.googleapis.com/book/num_overdue
2580
2173
  class Monitoring
2581
2174
  include Google::Apis::Core::Hashable
2582
2175
 
2583
- # Monitoring configurations for sending metrics to the consumer project.
2584
- # There can be multiple consumer destinations. A monitored resource type may
2585
- # appear in multiple monitoring destinations if different aggregations are
2586
- # needed for different sets of metrics associated with that monitored
2587
- # resource type. A monitored resource and metric pair may only be used once
2588
- # in the Monitoring configuration.
2176
+ # Monitoring configurations for sending metrics to the consumer project. There
2177
+ # can be multiple consumer destinations. A monitored resource type may appear in
2178
+ # multiple monitoring destinations if different aggregations are needed for
2179
+ # different sets of metrics associated with that monitored resource type. A
2180
+ # monitored resource and metric pair may only be used once in the Monitoring
2181
+ # configuration.
2589
2182
  # Corresponds to the JSON property `consumerDestinations`
2590
2183
  # @return [Array<Google::Apis::ServicenetworkingV1beta::MonitoringDestination>]
2591
2184
  attr_accessor :consumer_destinations
2592
2185
 
2593
- # Monitoring configurations for sending metrics to the producer project.
2594
- # There can be multiple producer destinations. A monitored resource type may
2595
- # appear in multiple monitoring destinations if different aggregations are
2596
- # needed for different sets of metrics associated with that monitored
2597
- # resource type. A monitored resource and metric pair may only be used once
2598
- # in the Monitoring configuration.
2186
+ # Monitoring configurations for sending metrics to the producer project. There
2187
+ # can be multiple producer destinations. A monitored resource type may appear in
2188
+ # multiple monitoring destinations if different aggregations are needed for
2189
+ # different sets of metrics associated with that monitored resource type. A
2190
+ # monitored resource and metric pair may only be used once in the Monitoring
2191
+ # configuration.
2599
2192
  # Corresponds to the JSON property `producerDestinations`
2600
2193
  # @return [Array<Google::Apis::ServicenetworkingV1beta::MonitoringDestination>]
2601
2194
  attr_accessor :producer_destinations
@@ -2611,19 +2204,19 @@ module Google
2611
2204
  end
2612
2205
  end
2613
2206
 
2614
- # Configuration of a specific monitoring destination (the producer project
2615
- # or the consumer project).
2207
+ # Configuration of a specific monitoring destination (the producer project or
2208
+ # the consumer project).
2616
2209
  class MonitoringDestination
2617
2210
  include Google::Apis::Core::Hashable
2618
2211
 
2619
- # Types of the metrics to report to this monitoring destination.
2620
- # Each type must be defined in Service.metrics section.
2212
+ # Types of the metrics to report to this monitoring destination. Each type must
2213
+ # be defined in Service.metrics section.
2621
2214
  # Corresponds to the JSON property `metrics`
2622
2215
  # @return [Array<String>]
2623
2216
  attr_accessor :metrics
2624
2217
 
2625
- # The monitored resource type. The type must be defined in
2626
- # Service.monitored_resources section.
2218
+ # The monitored resource type. The type must be defined in Service.
2219
+ # monitored_resources section.
2627
2220
  # Corresponds to the JSON property `monitoredResource`
2628
2221
  # @return [String]
2629
2222
  attr_accessor :monitored_resource
@@ -2640,27 +2233,25 @@ module Google
2640
2233
  end
2641
2234
 
2642
2235
  # OAuth scopes are a way to define data and permissions on data. For example,
2643
- # there are scopes defined for "Read-only access to Google Calendar" and
2644
- # "Access to Cloud Platform". Users can consent to a scope for an application,
2645
- # giving it permission to access that data on their behalf.
2646
- # OAuth scope specifications should be fairly coarse grained; a user will need
2647
- # to see and understand the text description of what your scope means.
2648
- # In most cases: use one or at most two OAuth scopes for an entire family of
2649
- # products. If your product has multiple APIs, you should probably be sharing
2650
- # the OAuth scope across all of those APIs.
2651
- # When you need finer grained OAuth consent screens: talk with your product
2652
- # management about how developers will use them in practice.
2653
- # Please note that even though each of the canonical scopes is enough for a
2654
- # request to be accepted and passed to the backend, a request can still fail
2655
- # due to the backend requiring additional scopes or permissions.
2236
+ # there are scopes defined for "Read-only access to Google Calendar" and "Access
2237
+ # to Cloud Platform". Users can consent to a scope for an application, giving it
2238
+ # permission to access that data on their behalf. OAuth scope specifications
2239
+ # should be fairly coarse grained; a user will need to see and understand the
2240
+ # text description of what your scope means. In most cases: use one or at most
2241
+ # two OAuth scopes for an entire family of products. If your product has
2242
+ # multiple APIs, you should probably be sharing the OAuth scope across all of
2243
+ # those APIs. When you need finer grained OAuth consent screens: talk with your
2244
+ # product management about how developers will use them in practice. Please note
2245
+ # that even though each of the canonical scopes is enough for a request to be
2246
+ # accepted and passed to the backend, a request can still fail due to the
2247
+ # backend requiring additional scopes or permissions.
2656
2248
  class OAuthRequirements
2657
2249
  include Google::Apis::Core::Hashable
2658
2250
 
2659
- # The list of publicly documented OAuth scopes that are allowed access. An
2660
- # OAuth token containing any of these scopes will be accepted.
2661
- # Example:
2662
- # canonical_scopes: https://www.googleapis.com/auth/calendar,
2663
- # https://www.googleapis.com/auth/calendar.read
2251
+ # The list of publicly documented OAuth scopes that are allowed access. An OAuth
2252
+ # token containing any of these scopes will be accepted. Example:
2253
+ # canonical_scopes: https://www.googleapis.com/auth/calendar, https://www.
2254
+ # googleapis.com/auth/calendar.read
2664
2255
  # Corresponds to the JSON property `canonicalScopes`
2665
2256
  # @return [String]
2666
2257
  attr_accessor :canonical_scopes
@@ -2680,47 +2271,45 @@ module Google
2680
2271
  class Operation
2681
2272
  include Google::Apis::Core::Hashable
2682
2273
 
2683
- # If the value is `false`, it means the operation is still in progress.
2684
- # If `true`, the operation is completed, and either `error` or `response` is
2685
- # available.
2274
+ # If the value is `false`, it means the operation is still in progress. If `true`
2275
+ # , the operation is completed, and either `error` or `response` is available.
2686
2276
  # Corresponds to the JSON property `done`
2687
2277
  # @return [Boolean]
2688
2278
  attr_accessor :done
2689
2279
  alias_method :done?, :done
2690
2280
 
2691
- # The `Status` type defines a logical error model that is suitable for
2692
- # different programming environments, including REST APIs and RPC APIs. It is
2693
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
2694
- # three pieces of data: error code, error message, and error details.
2695
- # You can find out more about this error model and how to work with it in the
2696
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
2281
+ # The `Status` type defines a logical error model that is suitable for different
2282
+ # programming environments, including REST APIs and RPC APIs. It is used by [
2283
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
2284
+ # data: error code, error message, and error details. You can find out more
2285
+ # about this error model and how to work with it in the [API Design Guide](https:
2286
+ # //cloud.google.com/apis/design/errors).
2697
2287
  # Corresponds to the JSON property `error`
2698
2288
  # @return [Google::Apis::ServicenetworkingV1beta::Status]
2699
2289
  attr_accessor :error
2700
2290
 
2701
- # Service-specific metadata associated with the operation. It typically
2702
- # contains progress information and common metadata such as create time.
2703
- # Some services might not provide such metadata. Any method that returns a
2704
- # long-running operation should document the metadata type, if any.
2291
+ # Service-specific metadata associated with the operation. It typically contains
2292
+ # progress information and common metadata such as create time. Some services
2293
+ # might not provide such metadata. Any method that returns a long-running
2294
+ # operation should document the metadata type, if any.
2705
2295
  # Corresponds to the JSON property `metadata`
2706
2296
  # @return [Hash<String,Object>]
2707
2297
  attr_accessor :metadata
2708
2298
 
2709
2299
  # The server-assigned name, which is only unique within the same service that
2710
- # originally returns it. If you use the default HTTP mapping, the
2711
- # `name` should be a resource name ending with `operations/`unique_id``.
2300
+ # originally returns it. If you use the default HTTP mapping, the `name` should
2301
+ # be a resource name ending with `operations/`unique_id``.
2712
2302
  # Corresponds to the JSON property `name`
2713
2303
  # @return [String]
2714
2304
  attr_accessor :name
2715
2305
 
2716
- # The normal response of the operation in case of success. If the original
2717
- # method returns no data on success, such as `Delete`, the response is
2718
- # `google.protobuf.Empty`. If the original method is standard
2719
- # `Get`/`Create`/`Update`, the response should be the resource. For other
2720
- # methods, the response should have the type `XxxResponse`, where `Xxx`
2721
- # is the original method name. For example, if the original method name
2722
- # is `TakeSnapshot()`, the inferred response type is
2723
- # `TakeSnapshotResponse`.
2306
+ # The normal response of the operation in case of success. If the original
2307
+ # method returns no data on success, such as `Delete`, the response is `google.
2308
+ # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
2309
+ # the response should be the resource. For other methods, the response should
2310
+ # have the type `XxxResponse`, where `Xxx` is the original method name. For
2311
+ # example, if the original method name is `TakeSnapshot()`, the inferred
2312
+ # response type is `TakeSnapshotResponse`.
2724
2313
  # Corresponds to the JSON property `response`
2725
2314
  # @return [Hash<String,Object>]
2726
2315
  attr_accessor :response
@@ -2745,17 +2334,17 @@ module Google
2745
2334
  include Google::Apis::Core::Hashable
2746
2335
 
2747
2336
  # The option's name. For protobuf built-in options (options defined in
2748
- # descriptor.proto), this is the short name. For example, `"map_entry"`.
2749
- # For custom options, it should be the fully-qualified name. For example,
2750
- # `"google.api.http"`.
2337
+ # descriptor.proto), this is the short name. For example, `"map_entry"`. For
2338
+ # custom options, it should be the fully-qualified name. For example, `"google.
2339
+ # api.http"`.
2751
2340
  # Corresponds to the JSON property `name`
2752
2341
  # @return [String]
2753
2342
  attr_accessor :name
2754
2343
 
2755
- # The option's value packed in an Any message. If the value is a primitive,
2756
- # the corresponding wrapper type defined in google/protobuf/wrappers.proto
2757
- # should be used. If the value is an enum, it should be stored as an int32
2758
- # value using the google.protobuf.Int32Value type.
2344
+ # The option's value packed in an Any message. If the value is a primitive, the
2345
+ # corresponding wrapper type defined in google/protobuf/wrappers.proto should be
2346
+ # used. If the value is an enum, it should be stored as an int32 value using the
2347
+ # google.protobuf.Int32Value type.
2759
2348
  # Corresponds to the JSON property `value`
2760
2349
  # @return [Hash<String,Object>]
2761
2350
  attr_accessor :value
@@ -2776,32 +2365,25 @@ module Google
2776
2365
  class Page
2777
2366
  include Google::Apis::Core::Hashable
2778
2367
 
2779
- # The Markdown content of the page. You can use <code>&#40;== include `path`
2780
- # ==&#41;</code> to include content from a Markdown file.
2368
+ # The Markdown content of the page. You can use (== include `path` ==) to
2369
+ # include content from a Markdown file.
2781
2370
  # Corresponds to the JSON property `content`
2782
2371
  # @return [String]
2783
2372
  attr_accessor :content
2784
2373
 
2785
- # The name of the page. It will be used as an identity of the page to
2786
- # generate URI of the page, text of the link to this page in navigation,
2787
- # etc. The full page name (start from the root page name to this page
2788
- # concatenated with `.`) can be used as reference to the page in your
2789
- # documentation. For example:
2790
- # <pre><code>pages:
2791
- # - name: Tutorial
2792
- # content: &#40;== include tutorial.md ==&#41;
2793
- # subpages:
2794
- # - name: Java
2795
- # content: &#40;== include tutorial_java.md ==&#41;
2796
- # </code></pre>
2797
- # You can reference `Java` page using Markdown reference link syntax:
2798
- # `Java`.
2374
+ # The name of the page. It will be used as an identity of the page to generate
2375
+ # URI of the page, text of the link to this page in navigation, etc. The full
2376
+ # page name (start from the root page name to this page concatenated with `.`)
2377
+ # can be used as reference to the page in your documentation. For example: pages:
2378
+ # - name: Tutorial content: (== include tutorial.md ==) subpages: - name: Java
2379
+ # content: (== include tutorial_java.md ==) You can reference `Java` page using
2380
+ # Markdown reference link syntax: `Java`.
2799
2381
  # Corresponds to the JSON property `name`
2800
2382
  # @return [String]
2801
2383
  attr_accessor :name
2802
2384
 
2803
- # Subpages of this page. The order of subpages specified here will be
2804
- # honored in the generated docset.
2385
+ # Subpages of this page. The order of subpages specified here will be honored in
2386
+ # the generated docset.
2805
2387
  # Corresponds to the JSON property `subpages`
2806
2388
  # @return [Array<Google::Apis::ServicenetworkingV1beta::Page>]
2807
2389
  attr_accessor :subpages
@@ -2818,24 +2400,63 @@ module Google
2818
2400
  end
2819
2401
  end
2820
2402
 
2403
+ # DNS domain suffix for which requests originating in the producer VPC network
2404
+ # are resolved in the associated consumer VPC network.
2405
+ class PeeredDnsDomain
2406
+ include Google::Apis::Core::Hashable
2407
+
2408
+ # The DNS domain name suffix e.g. `example.com.`.
2409
+ # Corresponds to the JSON property `dnsSuffix`
2410
+ # @return [String]
2411
+ attr_accessor :dns_suffix
2412
+
2413
+ # User assigned name for this resource. Must be unique within the consumer
2414
+ # network. The name must be 1-63 characters long, must begin with a letter, end
2415
+ # with a letter or digit, and only contain lowercase letters, digits or dashes.
2416
+ # Corresponds to the JSON property `name`
2417
+ # @return [String]
2418
+ attr_accessor :name
2419
+
2420
+ def initialize(**args)
2421
+ update!(**args)
2422
+ end
2423
+
2424
+ # Update properties of this object
2425
+ def update!(**args)
2426
+ @dns_suffix = args[:dns_suffix] if args.key?(:dns_suffix)
2427
+ @name = args[:name] if args.key?(:name)
2428
+ end
2429
+ end
2430
+
2431
+ # Metadata provided through GetOperation request for the LRO generated by
2432
+ # CreatePeeredDnsDomain API.
2433
+ class PeeredDnsDomainMetadata
2434
+ include Google::Apis::Core::Hashable
2435
+
2436
+ def initialize(**args)
2437
+ update!(**args)
2438
+ end
2439
+
2440
+ # Update properties of this object
2441
+ def update!(**args)
2442
+ end
2443
+ end
2444
+
2821
2445
  # Grouping of IAM role and IAM member.
2822
2446
  class PolicyBinding
2823
2447
  include Google::Apis::Core::Hashable
2824
2448
 
2825
- # Required. Member to bind the role with. See
2826
- # /iam/docs/reference/rest/v1/Policy#Binding for how to format each member.
2827
- # Eg.
2828
- # - user:myuser@mydomain.com
2829
- # - serviceAccount:my-service-account@app.gserviceaccount.com
2449
+ # Required. Member to bind the role with. See /iam/docs/reference/rest/v1/Policy#
2450
+ # Binding for how to format each member. Eg. - user:myuser@mydomain.com -
2451
+ # serviceAccount:my-service-account@app.gserviceaccount.com
2830
2452
  # Corresponds to the JSON property `member`
2831
2453
  # @return [String]
2832
2454
  attr_accessor :member
2833
2455
 
2834
2456
  # Required. Role to apply. Only whitelisted roles can be used at the specified
2835
- # granularity. The role must be one of the following:
2836
- # - 'roles/container.hostServiceAgentUser' applied on the shared VPC host
2837
- # project
2838
- # - 'roles/compute.securityAdmin' applied on the shared VPC host project
2457
+ # granularity. The role must be one of the following: - 'roles/container.
2458
+ # hostServiceAgentUser' applied on the shared VPC host project - 'roles/compute.
2459
+ # securityAdmin' applied on the shared VPC host project
2839
2460
  # Corresponds to the JSON property `role`
2840
2461
  # @return [String]
2841
2462
  attr_accessor :role
@@ -2851,46 +2472,25 @@ module Google
2851
2472
  end
2852
2473
  end
2853
2474
 
2854
- # Quota configuration helps to achieve fairness and budgeting in service
2855
- # usage.
2856
- # The metric based quota configuration works this way:
2857
- # - The service configuration defines a set of metrics.
2858
- # - For API calls, the quota.metric_rules maps methods to metrics with
2859
- # corresponding costs.
2860
- # - The quota.limits defines limits on the metrics, which will be used for
2861
- # quota checks at runtime.
2862
- # An example quota configuration in yaml format:
2863
- # quota:
2864
- # limits:
2865
- # - name: apiWriteQpsPerProject
2866
- # metric: library.googleapis.com/write_calls
2867
- # unit: "1/min/`project`" # rate limit for consumer projects
2868
- # values:
2869
- # STANDARD: 10000
2870
- # # The metric rules bind all methods to the read_calls metric,
2871
- # # except for the UpdateBook and DeleteBook methods. These two methods
2872
- # # are mapped to the write_calls metric, with the UpdateBook method
2873
- # # consuming at twice rate as the DeleteBook method.
2874
- # metric_rules:
2875
- # - selector: "*"
2876
- # metric_costs:
2877
- # library.googleapis.com/read_calls: 1
2878
- # - selector: google.example.library.v1.LibraryService.UpdateBook
2879
- # metric_costs:
2880
- # library.googleapis.com/write_calls: 2
2881
- # - selector: google.example.library.v1.LibraryService.DeleteBook
2882
- # metric_costs:
2883
- # library.googleapis.com/write_calls: 1
2884
- # Corresponding Metric definition:
2885
- # metrics:
2886
- # - name: library.googleapis.com/read_calls
2887
- # display_name: Read requests
2888
- # metric_kind: DELTA
2889
- # value_type: INT64
2890
- # - name: library.googleapis.com/write_calls
2891
- # display_name: Write requests
2892
- # metric_kind: DELTA
2893
- # value_type: INT64
2475
+ # Quota configuration helps to achieve fairness and budgeting in service usage.
2476
+ # The metric based quota configuration works this way: - The service
2477
+ # configuration defines a set of metrics. - For API calls, the quota.
2478
+ # metric_rules maps methods to metrics with corresponding costs. - The quota.
2479
+ # limits defines limits on the metrics, which will be used for quota checks at
2480
+ # runtime. An example quota configuration in yaml format: quota: limits: - name:
2481
+ # apiWriteQpsPerProject metric: library.googleapis.com/write_calls unit: "1/min/`
2482
+ # project`" # rate limit for consumer projects values: STANDARD: 10000 # The
2483
+ # metric rules bind all methods to the read_calls metric, # except for the
2484
+ # UpdateBook and DeleteBook methods. These two methods # are mapped to the
2485
+ # write_calls metric, with the UpdateBook method # consuming at twice rate as
2486
+ # the DeleteBook method. metric_rules: - selector: "*" metric_costs: library.
2487
+ # googleapis.com/read_calls: 1 - selector: google.example.library.v1.
2488
+ # LibraryService.UpdateBook metric_costs: library.googleapis.com/write_calls: 2 -
2489
+ # selector: google.example.library.v1.LibraryService.DeleteBook metric_costs:
2490
+ # library.googleapis.com/write_calls: 1 Corresponding Metric definition: metrics:
2491
+ # - name: library.googleapis.com/read_calls display_name: Read requests
2492
+ # metric_kind: DELTA value_type: INT64 - name: library.googleapis.com/
2493
+ # write_calls display_name: Write requests metric_kind: DELTA value_type: INT64
2894
2494
  class Quota
2895
2495
  include Google::Apis::Core::Hashable
2896
2496
 
@@ -2899,8 +2499,8 @@ module Google
2899
2499
  # @return [Array<Google::Apis::ServicenetworkingV1beta::QuotaLimit>]
2900
2500
  attr_accessor :limits
2901
2501
 
2902
- # List of `MetricRule` definitions, each one mapping a selected method to one
2903
- # or more metrics.
2502
+ # List of `MetricRule` definitions, each one mapping a selected method to one or
2503
+ # more metrics.
2904
2504
  # Corresponds to the JSON property `metricRules`
2905
2505
  # @return [Array<Google::Apis::ServicenetworkingV1beta::MetricRule>]
2906
2506
  attr_accessor :metric_rules
@@ -2917,95 +2517,89 @@ module Google
2917
2517
  end
2918
2518
 
2919
2519
  # `QuotaLimit` defines a specific limit that applies over a specified duration
2920
- # for a limit type. There can be at most one limit for a duration and limit
2921
- # type combination defined within a `QuotaGroup`.
2520
+ # for a limit type. There can be at most one limit for a duration and limit type
2521
+ # combination defined within a `QuotaGroup`.
2922
2522
  class QuotaLimit
2923
2523
  include Google::Apis::Core::Hashable
2924
2524
 
2925
- # Default number of tokens that can be consumed during the specified
2926
- # duration. This is the number of tokens assigned when a client
2927
- # application developer activates the service for his/her project.
2928
- # Specifying a value of 0 will block all requests. This can be used if you
2929
- # are provisioning quota to selected consumers and blocking others.
2930
- # Similarly, a value of -1 will indicate an unlimited quota. No other
2931
- # negative values are allowed.
2932
- # Used by group-based quotas only.
2525
+ # Default number of tokens that can be consumed during the specified duration.
2526
+ # This is the number of tokens assigned when a client application developer
2527
+ # activates the service for his/her project. Specifying a value of 0 will block
2528
+ # all requests. This can be used if you are provisioning quota to selected
2529
+ # consumers and blocking others. Similarly, a value of -1 will indicate an
2530
+ # unlimited quota. No other negative values are allowed. Used by group-based
2531
+ # quotas only.
2933
2532
  # Corresponds to the JSON property `defaultLimit`
2934
2533
  # @return [Fixnum]
2935
2534
  attr_accessor :default_limit
2936
2535
 
2937
- # Optional. User-visible, extended description for this quota limit.
2938
- # Should be used only when more context is needed to understand this limit
2939
- # than provided by the limit's display name (see: `display_name`).
2536
+ # Optional. User-visible, extended description for this quota limit. Should be
2537
+ # used only when more context is needed to understand this limit than provided
2538
+ # by the limit's display name (see: `display_name`).
2940
2539
  # Corresponds to the JSON property `description`
2941
2540
  # @return [String]
2942
2541
  attr_accessor :description
2943
2542
 
2944
- # User-visible display name for this limit.
2945
- # Optional. If not set, the UI will provide a default display name based on
2946
- # the quota configuration. This field can be used to override the default
2947
- # display name generated from the configuration.
2543
+ # User-visible display name for this limit. Optional. If not set, the UI will
2544
+ # provide a default display name based on the quota configuration. This field
2545
+ # can be used to override the default display name generated from the
2546
+ # configuration.
2948
2547
  # Corresponds to the JSON property `displayName`
2949
2548
  # @return [String]
2950
2549
  attr_accessor :display_name
2951
2550
 
2952
- # Duration of this limit in textual notation. Must be "100s" or "1d".
2953
- # Used by group-based quotas only.
2551
+ # Duration of this limit in textual notation. Must be "100s" or "1d". Used by
2552
+ # group-based quotas only.
2954
2553
  # Corresponds to the JSON property `duration`
2955
2554
  # @return [String]
2956
2555
  attr_accessor :duration
2957
2556
 
2958
- # Free tier value displayed in the Developers Console for this limit.
2959
- # The free tier is the number of tokens that will be subtracted from the
2960
- # billed amount when billing is enabled.
2961
- # This field can only be set on a limit with duration "1d", in a billable
2962
- # group; it is invalid on any other limit. If this field is not set, it
2963
- # defaults to 0, indicating that there is no free tier for this service.
2964
- # Used by group-based quotas only.
2557
+ # Free tier value displayed in the Developers Console for this limit. The free
2558
+ # tier is the number of tokens that will be subtracted from the billed amount
2559
+ # when billing is enabled. This field can only be set on a limit with duration "
2560
+ # 1d", in a billable group; it is invalid on any other limit. If this field is
2561
+ # not set, it defaults to 0, indicating that there is no free tier for this
2562
+ # service. Used by group-based quotas only.
2965
2563
  # Corresponds to the JSON property `freeTier`
2966
2564
  # @return [Fixnum]
2967
2565
  attr_accessor :free_tier
2968
2566
 
2969
- # Maximum number of tokens that can be consumed during the specified
2970
- # duration. Client application developers can override the default limit up
2971
- # to this maximum. If specified, this value cannot be set to a value less
2972
- # than the default limit. If not specified, it is set to the default limit.
2973
- # To allow clients to apply overrides with no upper bound, set this to -1,
2974
- # indicating unlimited maximum quota.
2975
- # Used by group-based quotas only.
2567
+ # Maximum number of tokens that can be consumed during the specified duration.
2568
+ # Client application developers can override the default limit up to this
2569
+ # maximum. If specified, this value cannot be set to a value less than the
2570
+ # default limit. If not specified, it is set to the default limit. To allow
2571
+ # clients to apply overrides with no upper bound, set this to -1, indicating
2572
+ # unlimited maximum quota. Used by group-based quotas only.
2976
2573
  # Corresponds to the JSON property `maxLimit`
2977
2574
  # @return [Fixnum]
2978
2575
  attr_accessor :max_limit
2979
2576
 
2980
- # The name of the metric this quota limit applies to. The quota limits with
2981
- # the same metric will be checked together during runtime. The metric must be
2577
+ # The name of the metric this quota limit applies to. The quota limits with the
2578
+ # same metric will be checked together during runtime. The metric must be
2982
2579
  # defined within the service config.
2983
2580
  # Corresponds to the JSON property `metric`
2984
2581
  # @return [String]
2985
2582
  attr_accessor :metric
2986
2583
 
2987
- # Name of the quota limit.
2988
- # The name must be provided, and it must be unique within the service. The
2989
- # name can only include alphanumeric characters as well as '-'.
2990
- # The maximum length of the limit name is 64 characters.
2584
+ # Name of the quota limit. The name must be provided, and it must be unique
2585
+ # within the service. The name can only include alphanumeric characters as well
2586
+ # as '-'. The maximum length of the limit name is 64 characters.
2991
2587
  # Corresponds to the JSON property `name`
2992
2588
  # @return [String]
2993
2589
  attr_accessor :name
2994
2590
 
2995
- # Specify the unit of the quota limit. It uses the same syntax as
2996
- # Metric.unit. The supported unit kinds are determined by the quota
2997
- # backend system.
2998
- # Here are some examples:
2999
- # * "1/min/`project`" for quota per minute per project.
3000
- # Note: the order of unit components is insignificant.
3001
- # The "1" at the beginning is required to follow the metric unit syntax.
2591
+ # Specify the unit of the quota limit. It uses the same syntax as Metric.unit.
2592
+ # The supported unit kinds are determined by the quota backend system. Here are
2593
+ # some examples: * "1/min/`project`" for quota per minute per project. Note: the
2594
+ # order of unit components is insignificant. The "1" at the beginning is
2595
+ # required to follow the metric unit syntax.
3002
2596
  # Corresponds to the JSON property `unit`
3003
2597
  # @return [String]
3004
2598
  attr_accessor :unit
3005
2599
 
3006
2600
  # Tiered limit values. You must specify this as a key:value pair, with an
3007
- # integer value that is the maximum number of requests allowed for the
3008
- # specified unit. Currently only STANDARD is supported.
2601
+ # integer value that is the maximum number of requests allowed for the specified
2602
+ # unit. Currently only STANDARD is supported.
3009
2603
  # Corresponds to the JSON property `values`
3010
2604
  # @return [Hash<String,Fixnum>]
3011
2605
  attr_accessor :values
@@ -3033,15 +2627,14 @@ module Google
3033
2627
  class Range
3034
2628
  include Google::Apis::Core::Hashable
3035
2629
 
3036
- # CIDR range in "10.x.x.x/y" format that is within the
3037
- # allocated ranges and currently unused.
2630
+ # CIDR range in "10.x.x.x/y" format that is within the allocated ranges and
2631
+ # currently unused.
3038
2632
  # Corresponds to the JSON property `ipCidrRange`
3039
2633
  # @return [String]
3040
2634
  attr_accessor :ip_cidr_range
3041
2635
 
3042
2636
  # In the Shared VPC host project, the VPC network that's peered with the
3043
- # consumer network. For example:
3044
- # `projects/1234321/global/networks/host-network`
2637
+ # consumer network. For example: `projects/1234321/global/networks/host-network`
3045
2638
  # Corresponds to the JSON property `network`
3046
2639
  # @return [String]
3047
2640
  attr_accessor :network
@@ -3127,15 +2720,15 @@ module Google
3127
2720
  attr_accessor :name
3128
2721
 
3129
2722
  # Fully-qualified URL of the VPC network in the producer host tenant project
3130
- # that this route applies to. For example:
3131
- # `projects/123456/global/networks/host-network`
2723
+ # that this route applies to. For example: `projects/123456/global/networks/host-
2724
+ # network`
3132
2725
  # Corresponds to the JSON property `network`
3133
2726
  # @return [String]
3134
2727
  attr_accessor :network
3135
2728
 
3136
2729
  # Fully-qualified URL of the gateway that should handle matching packets that
3137
- # this route applies to. For example:
3138
- # `projects/123456/global/gateways/default-internet-gateway`
2730
+ # this route applies to. For example: `projects/123456/global/gateways/default-
2731
+ # internet-gateway`
3139
2732
  # Corresponds to the JSON property `nextHopGateway`
3140
2733
  # @return [String]
3141
2734
  attr_accessor :next_hop_gateway
@@ -3157,21 +2750,18 @@ module Google
3157
2750
  class SearchRangeRequest
3158
2751
  include Google::Apis::Core::Hashable
3159
2752
 
3160
- # Required. The prefix length of the IP range.
3161
- # Use usual CIDR range notation.
3162
- # For example, '30' to find unused x.x.x.x/30 CIDR range.
3163
- # Actual range will be determined using allocated range for the consumer
3164
- # peered network and returned in the result.
2753
+ # Required. The prefix length of the IP range. Use usual CIDR range notation.
2754
+ # For example, '30' to find unused x.x.x.x/30 CIDR range. Actual range will be
2755
+ # determined using allocated range for the consumer peered network and returned
2756
+ # in the result.
3165
2757
  # Corresponds to the JSON property `ipPrefixLength`
3166
2758
  # @return [Fixnum]
3167
2759
  attr_accessor :ip_prefix_length
3168
2760
 
3169
- # Network name in the consumer project. This network must have been
3170
- # already peered with a shared VPC network using CreateConnection
3171
- # method.
3172
- # Must be in a form 'projects/`project`/global/networks/`network`'.
3173
- # `project` is a project number, as in '12345'
3174
- # `network` is network name.
2761
+ # Network name in the consumer project. This network must have been already
2762
+ # peered with a shared VPC network using CreateConnection method. Must be in a
2763
+ # form 'projects/`project`/global/networks/`network`'. `project` is a project
2764
+ # number, as in '12345' `network` is network name.
3175
2765
  # Corresponds to the JSON property `network`
3176
2766
  # @return [String]
3177
2767
  attr_accessor :network
@@ -3188,50 +2778,32 @@ module Google
3188
2778
  end
3189
2779
 
3190
2780
  # `Service` is the root object of Google service configuration schema. It
3191
- # describes basic information about a service, such as the name and the
3192
- # title, and delegates other aspects to sub-sections. Each sub-section is
3193
- # either a proto message or a repeated proto message that configures a
3194
- # specific aspect, such as auth. See each proto message definition for details.
3195
- # Example:
3196
- # type: google.api.Service
3197
- # config_version: 3
3198
- # name: calendar.googleapis.com
3199
- # title: Google Calendar API
3200
- # apis:
3201
- # - name: google.calendar.v3.Calendar
3202
- # authentication:
3203
- # providers:
3204
- # - id: google_calendar_auth
3205
- # jwks_uri: https://www.googleapis.com/oauth2/v1/certs
3206
- # issuer: https://securetoken.google.com
3207
- # rules:
3208
- # - selector: "*"
3209
- # requirements:
3210
- # provider_id: google_calendar_auth
2781
+ # describes basic information about a service, such as the name and the title,
2782
+ # and delegates other aspects to sub-sections. Each sub-section is either a
2783
+ # proto message or a repeated proto message that configures a specific aspect,
2784
+ # such as auth. See each proto message definition for details. Example: type:
2785
+ # google.api.Service config_version: 3 name: calendar.googleapis.com title:
2786
+ # Google Calendar API apis: - name: google.calendar.v3.Calendar authentication:
2787
+ # providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/
2788
+ # oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: "*"
2789
+ # requirements: provider_id: google_calendar_auth
3211
2790
  class Service
3212
2791
  include Google::Apis::Core::Hashable
3213
2792
 
3214
- # A list of API interfaces exported by this service. Only the `name` field
3215
- # of the google.protobuf.Api needs to be provided by the configuration
3216
- # author, as the remaining fields will be derived from the IDL during the
3217
- # normalization process. It is an error to specify an API interface here
3218
- # which cannot be resolved against the associated IDL files.
2793
+ # A list of API interfaces exported by this service. Only the `name` field of
2794
+ # the google.protobuf.Api needs to be provided by the configuration author, as
2795
+ # the remaining fields will be derived from the IDL during the normalization
2796
+ # process. It is an error to specify an API interface here which cannot be
2797
+ # resolved against the associated IDL files.
3219
2798
  # Corresponds to the JSON property `apis`
3220
2799
  # @return [Array<Google::Apis::ServicenetworkingV1beta::Api>]
3221
2800
  attr_accessor :apis
3222
2801
 
3223
- # `Authentication` defines the authentication configuration for an API.
3224
- # Example for an API targeted for external use:
3225
- # name: calendar.googleapis.com
3226
- # authentication:
3227
- # providers:
3228
- # - id: google_calendar_auth
3229
- # jwks_uri: https://www.googleapis.com/oauth2/v1/certs
3230
- # issuer: https://securetoken.google.com
3231
- # rules:
3232
- # - selector: "*"
3233
- # requirements:
3234
- # provider_id: google_calendar_auth
2802
+ # `Authentication` defines the authentication configuration for an API. Example
2803
+ # for an API targeted for external use: name: calendar.googleapis.com
2804
+ # authentication: providers: - id: google_calendar_auth jwks_uri: https://www.
2805
+ # googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: -
2806
+ # selector: "*" requirements: provider_id: google_calendar_auth
3235
2807
  # Corresponds to the JSON property `authentication`
3236
2808
  # @return [Google::Apis::ServicenetworkingV1beta::Authentication]
3237
2809
  attr_accessor :authentication
@@ -3241,211 +2813,136 @@ module Google
3241
2813
  # @return [Google::Apis::ServicenetworkingV1beta::Backend]
3242
2814
  attr_accessor :backend
3243
2815
 
3244
- # Billing related configuration of the service.
3245
- # The following example shows how to configure monitored resources and metrics
3246
- # for billing, `consumer_destinations` is the only supported destination and
3247
- # the monitored resources need at least one label key
3248
- # `cloud.googleapis.com/location` to indicate the location of the billing
3249
- # usage, using different monitored resources between monitoring and billing is
3250
- # recommended so they can be evolved independently:
3251
- # monitored_resources:
3252
- # - type: library.googleapis.com/billing_branch
3253
- # labels:
3254
- # - key: cloud.googleapis.com/location
3255
- # description: |
3256
- # Predefined label to support billing location restriction.
3257
- # - key: city
3258
- # description: |
3259
- # Custom label to define the city where the library branch is located
3260
- # in.
3261
- # - key: name
3262
- # description: Custom label to define the name of the library branch.
3263
- # metrics:
3264
- # - name: library.googleapis.com/book/borrowed_count
3265
- # metric_kind: DELTA
3266
- # value_type: INT64
3267
- # unit: "1"
3268
- # billing:
3269
- # consumer_destinations:
3270
- # - monitored_resource: library.googleapis.com/billing_branch
3271
- # metrics:
3272
- # - library.googleapis.com/book/borrowed_count
2816
+ # Billing related configuration of the service. The following example shows how
2817
+ # to configure monitored resources and metrics for billing, `
2818
+ # consumer_destinations` is the only supported destination and the monitored
2819
+ # resources need at least one label key `cloud.googleapis.com/location` to
2820
+ # indicate the location of the billing usage, using different monitored
2821
+ # resources between monitoring and billing is recommended so they can be evolved
2822
+ # independently: monitored_resources: - type: library.googleapis.com/
2823
+ # billing_branch labels: - key: cloud.googleapis.com/location description: |
2824
+ # Predefined label to support billing location restriction. - key: city
2825
+ # description: | Custom label to define the city where the library branch is
2826
+ # located in. - key: name description: Custom label to define the name of the
2827
+ # library branch. metrics: - name: library.googleapis.com/book/borrowed_count
2828
+ # metric_kind: DELTA value_type: INT64 unit: "1" billing: consumer_destinations:
2829
+ # - monitored_resource: library.googleapis.com/billing_branch metrics: - library.
2830
+ # googleapis.com/book/borrowed_count
3273
2831
  # Corresponds to the JSON property `billing`
3274
2832
  # @return [Google::Apis::ServicenetworkingV1beta::Billing]
3275
2833
  attr_accessor :billing
3276
2834
 
3277
- # The semantic version of the service configuration. The config version
3278
- # affects the interpretation of the service configuration. For example,
3279
- # certain features are enabled by default for certain config versions.
3280
- # The latest config version is `3`.
2835
+ # The semantic version of the service configuration. The config version affects
2836
+ # the interpretation of the service configuration. For example, certain features
2837
+ # are enabled by default for certain config versions. The latest config version
2838
+ # is `3`.
3281
2839
  # Corresponds to the JSON property `configVersion`
3282
2840
  # @return [Fixnum]
3283
2841
  attr_accessor :config_version
3284
2842
 
3285
- # `Context` defines which contexts an API requests.
3286
- # Example:
3287
- # context:
3288
- # rules:
3289
- # - selector: "*"
3290
- # requested:
3291
- # - google.rpc.context.ProjectContext
3292
- # - google.rpc.context.OriginContext
3293
- # The above specifies that all methods in the API request
3294
- # `google.rpc.context.ProjectContext` and
3295
- # `google.rpc.context.OriginContext`.
3296
- # Available context types are defined in package
3297
- # `google.rpc.context`.
3298
- # This also provides mechanism to whitelist any protobuf message extension that
3299
- # can be sent in grpc metadata using “x-goog-ext-<extension_id>-bin” and
3300
- # “x-goog-ext-<extension_id>-jspb” format. For example, list any service
3301
- # specific protobuf types that can appear in grpc metadata as follows in your
3302
- # yaml file:
3303
- # Example:
3304
- # context:
3305
- # rules:
3306
- # - selector: "google.example.library.v1.LibraryService.CreateBook"
3307
- # allowed_request_extensions:
3308
- # - google.foo.v1.NewExtension
3309
- # allowed_response_extensions:
3310
- # - google.foo.v1.NewExtension
3311
- # You can also specify extension ID instead of fully qualified extension name
3312
- # here.
2843
+ # `Context` defines which contexts an API requests. Example: context: rules: -
2844
+ # selector: "*" requested: - google.rpc.context.ProjectContext - google.rpc.
2845
+ # context.OriginContext The above specifies that all methods in the API request `
2846
+ # google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`.
2847
+ # Available context types are defined in package `google.rpc.context`. This also
2848
+ # provides mechanism to whitelist any protobuf message extension that can be
2849
+ # sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format.
2850
+ # For example, list any service specific protobuf types that can appear in grpc
2851
+ # metadata as follows in your yaml file: Example: context: rules: - selector: "
2852
+ # google.example.library.v1.LibraryService.CreateBook"
2853
+ # allowed_request_extensions: - google.foo.v1.NewExtension
2854
+ # allowed_response_extensions: - google.foo.v1.NewExtension You can also specify
2855
+ # extension ID instead of fully qualified extension name here.
3313
2856
  # Corresponds to the JSON property `context`
3314
2857
  # @return [Google::Apis::ServicenetworkingV1beta::Context]
3315
2858
  attr_accessor :context
3316
2859
 
3317
- # Selects and configures the service controller used by the service. The
3318
- # service controller handles features like abuse, quota, billing, logging,
3319
- # monitoring, etc.
2860
+ # Selects and configures the service controller used by the service. The service
2861
+ # controller handles features like abuse, quota, billing, logging, monitoring,
2862
+ # etc.
3320
2863
  # Corresponds to the JSON property `control`
3321
2864
  # @return [Google::Apis::ServicenetworkingV1beta::Control]
3322
2865
  attr_accessor :control
3323
2866
 
3324
- # Customize service error responses. For example, list any service
3325
- # specific protobuf types that can appear in error detail lists of
3326
- # error responses.
3327
- # Example:
3328
- # custom_error:
3329
- # types:
3330
- # - google.foo.v1.CustomError
3331
- # - google.foo.v1.AnotherError
2867
+ # Customize service error responses. For example, list any service specific
2868
+ # protobuf types that can appear in error detail lists of error responses.
2869
+ # Example: custom_error: types: - google.foo.v1.CustomError - google.foo.v1.
2870
+ # AnotherError
3332
2871
  # Corresponds to the JSON property `customError`
3333
2872
  # @return [Google::Apis::ServicenetworkingV1beta::CustomError]
3334
2873
  attr_accessor :custom_error
3335
2874
 
3336
- # `Documentation` provides the information for describing a service.
3337
- # Example:
3338
- # <pre><code>documentation:
3339
- # summary: >
3340
- # The Google Calendar API gives access
3341
- # to most calendar features.
3342
- # pages:
3343
- # - name: Overview
3344
- # content: &#40;== include google/foo/overview.md ==&#41;
3345
- # - name: Tutorial
3346
- # content: &#40;== include google/foo/tutorial.md ==&#41;
3347
- # subpages;
3348
- # - name: Java
3349
- # content: &#40;== include google/foo/tutorial_java.md ==&#41;
3350
- # rules:
3351
- # - selector: google.calendar.Calendar.Get
3352
- # description: >
3353
- # ...
3354
- # - selector: google.calendar.Calendar.Put
3355
- # description: >
3356
- # ...
3357
- # </code></pre>
3358
- # Documentation is provided in markdown syntax. In addition to
3359
- # standard markdown features, definition lists, tables and fenced
3360
- # code blocks are supported. Section headers can be provided and are
3361
- # interpreted relative to the section nesting of the context where
3362
- # a documentation fragment is embedded.
3363
- # Documentation from the IDL is merged with documentation defined
3364
- # via the config at normalization time, where documentation provided
3365
- # by config rules overrides IDL provided.
3366
- # A number of constructs specific to the API platform are supported
3367
- # in documentation text.
3368
- # In order to reference a proto element, the following
3369
- # notation can be used:
3370
- # <pre><code>&#91;fully.qualified.proto.name]&#91;]</code></pre>
3371
- # To override the display text used for the link, this can be used:
3372
- # <pre><code>&#91;display text]&#91;fully.qualified.proto.name]</code></pre>
3373
- # Text can be excluded from doc using the following notation:
3374
- # <pre><code>&#40;-- internal comment --&#41;</code></pre>
3375
- # A few directives are available in documentation. Note that
3376
- # directives must appear on a single line to be properly
3377
- # identified. The `include` directive includes a markdown file from
3378
- # an external source:
3379
- # <pre><code>&#40;== include path/to/file ==&#41;</code></pre>
3380
- # The `resource_for` directive marks a message to be the resource of
3381
- # a collection in REST view. If it is not specified, tools attempt
3382
- # to infer the resource from the operations in a collection:
3383
- # <pre><code>&#40;== resource_for v1.shelves.books ==&#41;</code></pre>
3384
- # The directive `suppress_warning` does not directly affect documentation
3385
- # and is documented together with service config validation.
2875
+ # `Documentation` provides the information for describing a service. Example:
2876
+ # documentation: summary: > The Google Calendar API gives access to most
2877
+ # calendar features. pages: - name: Overview content: (== include google/foo/
2878
+ # overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==
2879
+ # ) subpages; - name: Java content: (== include google/foo/tutorial_java.md ==)
2880
+ # rules: - selector: google.calendar.Calendar.Get description: > ... - selector:
2881
+ # google.calendar.Calendar.Put description: > ... Documentation is provided in
2882
+ # markdown syntax. In addition to standard markdown features, definition lists,
2883
+ # tables and fenced code blocks are supported. Section headers can be provided
2884
+ # and are interpreted relative to the section nesting of the context where a
2885
+ # documentation fragment is embedded. Documentation from the IDL is merged with
2886
+ # documentation defined via the config at normalization time, where
2887
+ # documentation provided by config rules overrides IDL provided. A number of
2888
+ # constructs specific to the API platform are supported in documentation text.
2889
+ # In order to reference a proto element, the following notation can be used: [
2890
+ # fully.qualified.proto.name][] To override the display text used for the link,
2891
+ # this can be used: [display text][fully.qualified.proto.name] Text can be
2892
+ # excluded from doc using the following notation: (-- internal comment --) A few
2893
+ # directives are available in documentation. Note that directives must appear on
2894
+ # a single line to be properly identified. The `include` directive includes a
2895
+ # markdown file from an external source: (== include path/to/file ==) The `
2896
+ # resource_for` directive marks a message to be the resource of a collection in
2897
+ # REST view. If it is not specified, tools attempt to infer the resource from
2898
+ # the operations in a collection: (== resource_for v1.shelves.books ==) The
2899
+ # directive `suppress_warning` does not directly affect documentation and is
2900
+ # documented together with service config validation.
3386
2901
  # Corresponds to the JSON property `documentation`
3387
2902
  # @return [Google::Apis::ServicenetworkingV1beta::Documentation]
3388
2903
  attr_accessor :documentation
3389
2904
 
3390
- # Configuration for network endpoints. If this is empty, then an endpoint
3391
- # with the same name as the service is automatically generated to service all
3392
- # defined APIs.
2905
+ # Configuration for network endpoints. If this is empty, then an endpoint with
2906
+ # the same name as the service is automatically generated to service all defined
2907
+ # APIs.
3393
2908
  # Corresponds to the JSON property `endpoints`
3394
2909
  # @return [Array<Google::Apis::ServicenetworkingV1beta::Endpoint>]
3395
2910
  attr_accessor :endpoints
3396
2911
 
3397
- # A list of all enum types included in this API service. Enums
3398
- # referenced directly or indirectly by the `apis` are automatically
3399
- # included. Enums which are not referenced but shall be included
3400
- # should be listed here by name. Example:
3401
- # enums:
3402
- # - name: google.someapi.v1.SomeEnum
2912
+ # A list of all enum types included in this API service. Enums referenced
2913
+ # directly or indirectly by the `apis` are automatically included. Enums which
2914
+ # are not referenced but shall be included should be listed here by name.
2915
+ # Example: enums: - name: google.someapi.v1.SomeEnum
3403
2916
  # Corresponds to the JSON property `enums`
3404
2917
  # @return [Array<Google::Apis::ServicenetworkingV1beta::Enum>]
3405
2918
  attr_accessor :enums
3406
2919
 
3407
2920
  # Defines the HTTP configuration for an API service. It contains a list of
3408
- # HttpRule, each specifying the mapping of an RPC method
3409
- # to one or more HTTP REST API methods.
2921
+ # HttpRule, each specifying the mapping of an RPC method to one or more HTTP
2922
+ # REST API methods.
3410
2923
  # Corresponds to the JSON property `http`
3411
2924
  # @return [Google::Apis::ServicenetworkingV1beta::Http]
3412
2925
  attr_accessor :http
3413
2926
 
3414
- # A unique ID for a specific instance of this message, typically assigned
3415
- # by the client for tracking purpose. Must be no longer than 63 characters
3416
- # and only lower case letters, digits, '.', '_' and '-' are allowed. If
3417
- # empty, the server may choose to generate one instead.
2927
+ # A unique ID for a specific instance of this message, typically assigned by the
2928
+ # client for tracking purpose. Must be no longer than 63 characters and only
2929
+ # lower case letters, digits, '.', '_' and '-' are allowed. If empty, the server
2930
+ # may choose to generate one instead.
3418
2931
  # Corresponds to the JSON property `id`
3419
2932
  # @return [String]
3420
2933
  attr_accessor :id
3421
2934
 
3422
- # Logging configuration of the service.
3423
- # The following example shows how to configure logs to be sent to the
3424
- # producer and consumer projects. In the example, the `activity_history`
3425
- # log is sent to both the producer and consumer projects, whereas the
3426
- # `purchase_history` log is only sent to the producer project.
3427
- # monitored_resources:
3428
- # - type: library.googleapis.com/branch
3429
- # labels:
3430
- # - key: /city
3431
- # description: The city where the library branch is located in.
3432
- # - key: /name
3433
- # description: The name of the branch.
3434
- # logs:
3435
- # - name: activity_history
3436
- # labels:
3437
- # - key: /customer_id
3438
- # - name: purchase_history
3439
- # logging:
3440
- # producer_destinations:
3441
- # - monitored_resource: library.googleapis.com/branch
3442
- # logs:
3443
- # - activity_history
3444
- # - purchase_history
3445
- # consumer_destinations:
3446
- # - monitored_resource: library.googleapis.com/branch
3447
- # logs:
3448
- # - activity_history
2935
+ # Logging configuration of the service. The following example shows how to
2936
+ # configure logs to be sent to the producer and consumer projects. In the
2937
+ # example, the `activity_history` log is sent to both the producer and consumer
2938
+ # projects, whereas the `purchase_history` log is only sent to the producer
2939
+ # project. monitored_resources: - type: library.googleapis.com/branch labels: -
2940
+ # key: /city description: The city where the library branch is located in. - key:
2941
+ # /name description: The name of the branch. logs: - name: activity_history
2942
+ # labels: - key: /customer_id - name: purchase_history logging:
2943
+ # producer_destinations: - monitored_resource: library.googleapis.com/branch
2944
+ # logs: - activity_history - purchase_history consumer_destinations: -
2945
+ # monitored_resource: library.googleapis.com/branch logs: - activity_history
3449
2946
  # Corresponds to the JSON property `logging`
3450
2947
  # @return [Google::Apis::ServicenetworkingV1beta::Logging]
3451
2948
  attr_accessor :logging
@@ -3460,70 +2957,41 @@ module Google
3460
2957
  # @return [Array<Google::Apis::ServicenetworkingV1beta::MetricDescriptor>]
3461
2958
  attr_accessor :metrics
3462
2959
 
3463
- # Defines the monitored resources used by this service. This is required
3464
- # by the Service.monitoring and Service.logging configurations.
2960
+ # Defines the monitored resources used by this service. This is required by the
2961
+ # Service.monitoring and Service.logging configurations.
3465
2962
  # Corresponds to the JSON property `monitoredResources`
3466
2963
  # @return [Array<Google::Apis::ServicenetworkingV1beta::MonitoredResourceDescriptor>]
3467
2964
  attr_accessor :monitored_resources
3468
2965
 
3469
- # Monitoring configuration of the service.
3470
- # The example below shows how to configure monitored resources and metrics
3471
- # for monitoring. In the example, a monitored resource and two metrics are
3472
- # defined. The `library.googleapis.com/book/returned_count` metric is sent
3473
- # to both producer and consumer projects, whereas the
3474
- # `library.googleapis.com/book/num_overdue` metric is only sent to the
3475
- # consumer project.
3476
- # monitored_resources:
3477
- # - type: library.googleapis.com/Branch
3478
- # display_name: "Library Branch"
3479
- # description: "A branch of a library."
3480
- # launch_stage: GA
3481
- # labels:
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."
3488
- # metrics:
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
3493
- # metric_kind: DELTA
3494
- # value_type: INT64
3495
- # unit: "1"
3496
- # labels:
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
3503
- # metric_kind: GAUGE
3504
- # value_type: INT64
3505
- # unit: "1"
3506
- # labels:
3507
- # - key: customer_id
3508
- # description: "The id of the customer."
3509
- # monitoring:
3510
- # producer_destinations:
3511
- # - monitored_resource: library.googleapis.com/Branch
3512
- # metrics:
3513
- # - library.googleapis.com/book/returned_count
3514
- # consumer_destinations:
3515
- # - monitored_resource: library.googleapis.com/Branch
3516
- # metrics:
3517
- # - library.googleapis.com/book/returned_count
3518
- # - library.googleapis.com/book/num_overdue
2966
+ # Monitoring configuration of the service. The example below shows how to
2967
+ # configure monitored resources and metrics for monitoring. In the example, a
2968
+ # monitored resource and two metrics are defined. The `library.googleapis.com/
2969
+ # book/returned_count` metric is sent to both producer and consumer projects,
2970
+ # whereas the `library.googleapis.com/book/num_overdue` metric is only sent to
2971
+ # the consumer project. monitored_resources: - type: library.googleapis.com/
2972
+ # Branch display_name: "Library Branch" description: "A branch of a library."
2973
+ # launch_stage: GA labels: - key: resource_container description: "The Cloud
2974
+ # container (ie. project id) for the Branch." - key: location description: "The
2975
+ # location of the library branch." - key: branch_id description: "The id of the
2976
+ # branch." metrics: - name: library.googleapis.com/book/returned_count
2977
+ # display_name: "Books Returned" description: "The count of books that have been
2978
+ # returned." launch_stage: GA metric_kind: DELTA value_type: INT64 unit: "1"
2979
+ # labels: - key: customer_id description: "The id of the customer." - name:
2980
+ # library.googleapis.com/book/num_overdue display_name: "Books Overdue"
2981
+ # description: "The current number of overdue books." launch_stage: GA
2982
+ # metric_kind: GAUGE value_type: INT64 unit: "1" labels: - key: customer_id
2983
+ # description: "The id of the customer." monitoring: producer_destinations: -
2984
+ # monitored_resource: library.googleapis.com/Branch metrics: - library.
2985
+ # googleapis.com/book/returned_count consumer_destinations: - monitored_resource:
2986
+ # library.googleapis.com/Branch metrics: - library.googleapis.com/book/
2987
+ # returned_count - library.googleapis.com/book/num_overdue
3519
2988
  # Corresponds to the JSON property `monitoring`
3520
2989
  # @return [Google::Apis::ServicenetworkingV1beta::Monitoring]
3521
2990
  attr_accessor :monitoring
3522
2991
 
3523
- # The service name, which is a DNS-like logical identifier for the
3524
- # service, such as `calendar.googleapis.com`. The service name
3525
- # typically goes through DNS verification to make sure the owner
3526
- # of the service also owns the DNS name.
2992
+ # The service name, which is a DNS-like logical identifier for the service, such
2993
+ # as `calendar.googleapis.com`. The service name typically goes through DNS
2994
+ # verification to make sure the owner of the service also owns the DNS name.
3527
2995
  # Corresponds to the JSON property `name`
3528
2996
  # @return [String]
3529
2997
  attr_accessor :name
@@ -3533,46 +3001,25 @@ module Google
3533
3001
  # @return [String]
3534
3002
  attr_accessor :producer_project_id
3535
3003
 
3536
- # Quota configuration helps to achieve fairness and budgeting in service
3537
- # usage.
3538
- # The metric based quota configuration works this way:
3539
- # - The service configuration defines a set of metrics.
3540
- # - For API calls, the quota.metric_rules maps methods to metrics with
3541
- # corresponding costs.
3542
- # - The quota.limits defines limits on the metrics, which will be used for
3543
- # quota checks at runtime.
3544
- # An example quota configuration in yaml format:
3545
- # quota:
3546
- # limits:
3547
- # - name: apiWriteQpsPerProject
3548
- # metric: library.googleapis.com/write_calls
3549
- # unit: "1/min/`project`" # rate limit for consumer projects
3550
- # values:
3551
- # STANDARD: 10000
3552
- # # The metric rules bind all methods to the read_calls metric,
3553
- # # except for the UpdateBook and DeleteBook methods. These two methods
3554
- # # are mapped to the write_calls metric, with the UpdateBook method
3555
- # # consuming at twice rate as the DeleteBook method.
3556
- # metric_rules:
3557
- # - selector: "*"
3558
- # metric_costs:
3559
- # library.googleapis.com/read_calls: 1
3560
- # - selector: google.example.library.v1.LibraryService.UpdateBook
3561
- # metric_costs:
3562
- # library.googleapis.com/write_calls: 2
3563
- # - selector: google.example.library.v1.LibraryService.DeleteBook
3564
- # metric_costs:
3565
- # library.googleapis.com/write_calls: 1
3566
- # Corresponding Metric definition:
3567
- # metrics:
3568
- # - name: library.googleapis.com/read_calls
3569
- # display_name: Read requests
3570
- # metric_kind: DELTA
3571
- # value_type: INT64
3572
- # - name: library.googleapis.com/write_calls
3573
- # display_name: Write requests
3574
- # metric_kind: DELTA
3575
- # value_type: INT64
3004
+ # Quota configuration helps to achieve fairness and budgeting in service usage.
3005
+ # The metric based quota configuration works this way: - The service
3006
+ # configuration defines a set of metrics. - For API calls, the quota.
3007
+ # metric_rules maps methods to metrics with corresponding costs. - The quota.
3008
+ # limits defines limits on the metrics, which will be used for quota checks at
3009
+ # runtime. An example quota configuration in yaml format: quota: limits: - name:
3010
+ # apiWriteQpsPerProject metric: library.googleapis.com/write_calls unit: "1/min/`
3011
+ # project`" # rate limit for consumer projects values: STANDARD: 10000 # The
3012
+ # metric rules bind all methods to the read_calls metric, # except for the
3013
+ # UpdateBook and DeleteBook methods. These two methods # are mapped to the
3014
+ # write_calls metric, with the UpdateBook method # consuming at twice rate as
3015
+ # the DeleteBook method. metric_rules: - selector: "*" metric_costs: library.
3016
+ # googleapis.com/read_calls: 1 - selector: google.example.library.v1.
3017
+ # LibraryService.UpdateBook metric_costs: library.googleapis.com/write_calls: 2 -
3018
+ # selector: google.example.library.v1.LibraryService.DeleteBook metric_costs:
3019
+ # library.googleapis.com/write_calls: 1 Corresponding Metric definition: metrics:
3020
+ # - name: library.googleapis.com/read_calls display_name: Read requests
3021
+ # metric_kind: DELTA value_type: INT64 - name: library.googleapis.com/
3022
+ # write_calls display_name: Write requests metric_kind: DELTA value_type: INT64
3576
3023
  # Corresponds to the JSON property `quota`
3577
3024
  # @return [Google::Apis::ServicenetworkingV1beta::Quota]
3578
3025
  attr_accessor :quota
@@ -3582,20 +3029,18 @@ module Google
3582
3029
  # @return [Google::Apis::ServicenetworkingV1beta::SourceInfo]
3583
3030
  attr_accessor :source_info
3584
3031
 
3585
- # ### System parameter configuration
3586
- # A system parameter is a special kind of parameter defined by the API
3587
- # system, not by an individual API. It is typically mapped to an HTTP header
3588
- # and/or a URL query parameter. This configuration specifies which methods
3589
- # change the names of the system parameters.
3032
+ # ### System parameter configuration A system parameter is a special kind of
3033
+ # parameter defined by the API system, not by an individual API. It is typically
3034
+ # mapped to an HTTP header and/or a URL query parameter. This configuration
3035
+ # specifies which methods change the names of the system parameters.
3590
3036
  # Corresponds to the JSON property `systemParameters`
3591
3037
  # @return [Google::Apis::ServicenetworkingV1beta::SystemParameters]
3592
3038
  attr_accessor :system_parameters
3593
3039
 
3594
- # A list of all proto message types included in this API service.
3595
- # It serves similar purpose as [google.api.Service.types], except that
3596
- # these types are not needed by user-defined APIs. Therefore, they will not
3597
- # show up in the generated discovery doc. This field should only be used
3598
- # to define system APIs in ESF.
3040
+ # A list of all proto message types included in this API service. It serves
3041
+ # similar purpose as [google.api.Service.types], except that these types are not
3042
+ # needed by user-defined APIs. Therefore, they will not show up in the generated
3043
+ # discovery doc. This field should only be used to define system APIs in ESF.
3599
3044
  # Corresponds to the JSON property `systemTypes`
3600
3045
  # @return [Array<Google::Apis::ServicenetworkingV1beta::Type>]
3601
3046
  attr_accessor :system_types
@@ -3605,12 +3050,10 @@ module Google
3605
3050
  # @return [String]
3606
3051
  attr_accessor :title
3607
3052
 
3608
- # A list of all proto message types included in this API service.
3609
- # Types referenced directly or indirectly by the `apis` are
3610
- # automatically included. Messages which are not referenced but
3611
- # shall be included, such as types used by the `google.protobuf.Any` type,
3612
- # should be listed here by name. Example:
3613
- # types:
3053
+ # A list of all proto message types included in this API service. Types
3054
+ # referenced directly or indirectly by the `apis` are automatically included.
3055
+ # Messages which are not referenced but shall be included, such as types used by
3056
+ # the `google.protobuf.Any` type, should be listed here by name. Example: types:
3614
3057
  # - name: google.protobuf.Int32
3615
3058
  # Corresponds to the JSON property `types`
3616
3059
  # @return [Array<Google::Apis::ServicenetworkingV1beta::Type>]
@@ -3657,32 +3100,28 @@ module Google
3657
3100
  end
3658
3101
  end
3659
3102
 
3660
- # The per-product per-project service identity for a service.
3661
- # Use this field to configure per-product per-project service identity.
3662
- # Example of a service identity configuration.
3663
- # usage:
3664
- # service_identity:
3665
- # - service_account_parent: "projects/123456789"
3666
- # display_name: "Cloud XXX Service Agent"
3667
- # description: "Used as the identity of Cloud XXX to access resources"
3103
+ # The per-product per-project service identity for a service. Use this field to
3104
+ # configure per-product per-project service identity. Example of a service
3105
+ # identity configuration. usage: service_identity: - service_account_parent: "
3106
+ # projects/123456789" display_name: "Cloud XXX Service Agent" description: "Used
3107
+ # as the identity of Cloud XXX to access resources"
3668
3108
  class ServiceIdentity
3669
3109
  include Google::Apis::Core::Hashable
3670
3110
 
3671
- # Optional. A user-specified opaque description of the service account.
3672
- # Must be less than or equal to 256 UTF-8 bytes.
3111
+ # Optional. A user-specified opaque description of the service account. Must be
3112
+ # less than or equal to 256 UTF-8 bytes.
3673
3113
  # Corresponds to the JSON property `description`
3674
3114
  # @return [String]
3675
3115
  attr_accessor :description
3676
3116
 
3677
- # Optional. A user-specified name for the service account.
3678
- # Must be less than or equal to 100 UTF-8 bytes.
3117
+ # Optional. A user-specified name for the service account. Must be less than or
3118
+ # equal to 100 UTF-8 bytes.
3679
3119
  # Corresponds to the JSON property `displayName`
3680
3120
  # @return [String]
3681
3121
  attr_accessor :display_name
3682
3122
 
3683
- # A service account project that hosts the service accounts.
3684
- # An example name would be:
3685
- # `projects/123456789`
3123
+ # A service account project that hosts the service accounts. An example name
3124
+ # would be: `projects/123456789`
3686
3125
  # Corresponds to the JSON property `serviceAccountParent`
3687
3126
  # @return [String]
3688
3127
  attr_accessor :service_account_parent
@@ -3699,13 +3138,13 @@ module Google
3699
3138
  end
3700
3139
  end
3701
3140
 
3702
- # `SourceContext` represents information about the source of a
3703
- # protobuf element, like the file in which it is defined.
3141
+ # `SourceContext` represents information about the source of a protobuf element,
3142
+ # like the file in which it is defined.
3704
3143
  class SourceContext
3705
3144
  include Google::Apis::Core::Hashable
3706
3145
 
3707
3146
  # The path-qualified name of the .proto file that contained the associated
3708
- # protobuf element. For example: `"google/protobuf/source_context.proto"`.
3147
+ # protobuf element. For example: `"google/protobuf/source_context.proto"`.
3709
3148
  # Corresponds to the JSON property `fileName`
3710
3149
  # @return [String]
3711
3150
  attr_accessor :file_name
@@ -3739,12 +3178,12 @@ module Google
3739
3178
  end
3740
3179
  end
3741
3180
 
3742
- # The `Status` type defines a logical error model that is suitable for
3743
- # different programming environments, including REST APIs and RPC APIs. It is
3744
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
3745
- # three pieces of data: error code, error message, and error details.
3746
- # You can find out more about this error model and how to work with it in the
3747
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
3181
+ # The `Status` type defines a logical error model that is suitable for different
3182
+ # programming environments, including REST APIs and RPC APIs. It is used by [
3183
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
3184
+ # data: error code, error message, and error details. You can find out more
3185
+ # about this error model and how to work with it in the [API Design Guide](https:
3186
+ # //cloud.google.com/apis/design/errors).
3748
3187
  class Status
3749
3188
  include Google::Apis::Core::Hashable
3750
3189
 
@@ -3753,15 +3192,15 @@ module Google
3753
3192
  # @return [Fixnum]
3754
3193
  attr_accessor :code
3755
3194
 
3756
- # A list of messages that carry the error details. There is a common set of
3195
+ # A list of messages that carry the error details. There is a common set of
3757
3196
  # message types for APIs to use.
3758
3197
  # Corresponds to the JSON property `details`
3759
3198
  # @return [Array<Hash<String,Object>>]
3760
3199
  attr_accessor :details
3761
3200
 
3762
- # A developer-facing error message, which should be in English. Any
3763
- # user-facing error message should be localized and sent in the
3764
- # google.rpc.Status.details field, or localized by the client.
3201
+ # A developer-facing error message, which should be in English. Any user-facing
3202
+ # error message should be localized and sent in the google.rpc.Status.details
3203
+ # field, or localized by the client.
3765
3204
  # Corresponds to the JSON property `message`
3766
3205
  # @return [String]
3767
3206
  attr_accessor :message
@@ -3788,21 +3227,19 @@ module Google
3788
3227
  # @return [String]
3789
3228
  attr_accessor :ip_cidr_range
3790
3229
 
3791
- # Subnetwork name.
3792
- # See https://cloud.google.com/compute/docs/vpc/
3230
+ # Subnetwork name. See https://cloud.google.com/compute/docs/vpc/
3793
3231
  # Corresponds to the JSON property `name`
3794
3232
  # @return [String]
3795
3233
  attr_accessor :name
3796
3234
 
3797
3235
  # In the Shared VPC host project, the VPC network that's peered with the
3798
- # consumer network. For example:
3799
- # `projects/1234321/global/networks/host-network`
3236
+ # consumer network. For example: `projects/1234321/global/networks/host-network`
3800
3237
  # Corresponds to the JSON property `network`
3801
3238
  # @return [String]
3802
3239
  attr_accessor :network
3803
3240
 
3804
- # This is a discovered subnet that is not within the current consumer
3805
- # allocated ranges.
3241
+ # This is a discovered subnet that is not within the current consumer allocated
3242
+ # ranges.
3806
3243
  # Corresponds to the JSON property `outsideAllocation`
3807
3244
  # @return [Boolean]
3808
3245
  attr_accessor :outside_allocation
@@ -3827,8 +3264,7 @@ module Google
3827
3264
  class SystemParameter
3828
3265
  include Google::Apis::Core::Hashable
3829
3266
 
3830
- # Define the HTTP header name to use for the parameter. It is case
3831
- # insensitive.
3267
+ # Define the HTTP header name to use for the parameter. It is case insensitive.
3832
3268
  # Corresponds to the JSON property `httpHeader`
3833
3269
  # @return [String]
3834
3270
  attr_accessor :http_header
@@ -3856,23 +3292,20 @@ module Google
3856
3292
  end
3857
3293
  end
3858
3294
 
3859
- # Define a system parameter rule mapping system parameter definitions to
3860
- # methods.
3295
+ # Define a system parameter rule mapping system parameter definitions to methods.
3861
3296
  class SystemParameterRule
3862
3297
  include Google::Apis::Core::Hashable
3863
3298
 
3864
- # Define parameters. Multiple names may be defined for a parameter.
3865
- # For a given method call, only one of them should be used. If multiple
3866
- # names are used the behavior is implementation-dependent.
3867
- # If none of the specified names are present the behavior is
3868
- # parameter-dependent.
3299
+ # Define parameters. Multiple names may be defined for a parameter. For a given
3300
+ # method call, only one of them should be used. If multiple names are used the
3301
+ # behavior is implementation-dependent. If none of the specified names are
3302
+ # present the behavior is parameter-dependent.
3869
3303
  # Corresponds to the JSON property `parameters`
3870
3304
  # @return [Array<Google::Apis::ServicenetworkingV1beta::SystemParameter>]
3871
3305
  attr_accessor :parameters
3872
3306
 
3873
3307
  # Selects the methods to which this rule applies. Use '*' to indicate all
3874
- # methods in all APIs.
3875
- # Refer to selector for syntax details.
3308
+ # methods in all APIs. Refer to selector for syntax details.
3876
3309
  # Corresponds to the JSON property `selector`
3877
3310
  # @return [String]
3878
3311
  attr_accessor :selector
@@ -3888,36 +3321,23 @@ module Google
3888
3321
  end
3889
3322
  end
3890
3323
 
3891
- # ### System parameter configuration
3892
- # A system parameter is a special kind of parameter defined by the API
3893
- # system, not by an individual API. It is typically mapped to an HTTP header
3894
- # and/or a URL query parameter. This configuration specifies which methods
3895
- # change the names of the system parameters.
3324
+ # ### System parameter configuration A system parameter is a special kind of
3325
+ # parameter defined by the API system, not by an individual API. It is typically
3326
+ # mapped to an HTTP header and/or a URL query parameter. This configuration
3327
+ # specifies which methods change the names of the system parameters.
3896
3328
  class SystemParameters
3897
3329
  include Google::Apis::Core::Hashable
3898
3330
 
3899
- # Define system parameters.
3900
- # The parameters defined here will override the default parameters
3901
- # implemented by the system. If this field is missing from the service
3902
- # config, default system parameters will be used. Default system parameters
3903
- # and names is implementation-dependent.
3904
- # Example: define api key for all methods
3905
- # system_parameters
3906
- # rules:
3907
- # - selector: "*"
3908
- # parameters:
3909
- # - name: api_key
3910
- # url_query_parameter: api_key
3911
- # Example: define 2 api key names for a specific method.
3912
- # system_parameters
3913
- # rules:
3914
- # - selector: "/ListShelves"
3915
- # parameters:
3916
- # - name: api_key
3917
- # http_header: Api-Key1
3918
- # - name: api_key
3919
- # http_header: Api-Key2
3920
- # **NOTE:** All service configuration rules follow "last one wins" order.
3331
+ # Define system parameters. The parameters defined here will override the
3332
+ # default parameters implemented by the system. If this field is missing from
3333
+ # the service config, default system parameters will be used. Default system
3334
+ # parameters and names is implementation-dependent. Example: define api key for
3335
+ # all methods system_parameters rules: - selector: "*" parameters: - name:
3336
+ # api_key url_query_parameter: api_key Example: define 2 api key names for a
3337
+ # specific method. system_parameters rules: - selector: "/ListShelves"
3338
+ # parameters: - name: api_key http_header: Api-Key1 - name: api_key http_header:
3339
+ # Api-Key2 **NOTE:** All service configuration rules follow "last one wins"
3340
+ # order.
3921
3341
  # Corresponds to the JSON property `rules`
3922
3342
  # @return [Array<Google::Apis::ServicenetworkingV1beta::SystemParameterRule>]
3923
3343
  attr_accessor :rules
@@ -3956,8 +3376,8 @@ module Google
3956
3376
  # @return [Array<Google::Apis::ServicenetworkingV1beta::Option>]
3957
3377
  attr_accessor :options
3958
3378
 
3959
- # `SourceContext` represents information about the source of a
3960
- # protobuf element, like the file in which it is defined.
3379
+ # `SourceContext` represents information about the source of a protobuf element,
3380
+ # like the file in which it is defined.
3961
3381
  # Corresponds to the JSON property `sourceContext`
3962
3382
  # @return [Google::Apis::ServicenetworkingV1beta::SourceContext]
3963
3383
  attr_accessor :source_context
@@ -4001,37 +3421,33 @@ module Google
4001
3421
  include Google::Apis::Core::Hashable
4002
3422
 
4003
3423
  # The full resource name of a channel used for sending notifications to the
4004
- # service producer.
4005
- # Google Service Management currently only supports
4006
- # [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification
4007
- # channel. To use Google Cloud Pub/Sub as the channel, this must be the name
4008
- # of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format
4009
- # documented in https://cloud.google.com/pubsub/docs/overview.
3424
+ # service producer. Google Service Management currently only supports [Google
3425
+ # Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification channel. To
3426
+ # use Google Cloud Pub/Sub as the channel, this must be the name of a Cloud Pub/
3427
+ # Sub topic that uses the Cloud Pub/Sub topic name format documented in https://
3428
+ # cloud.google.com/pubsub/docs/overview.
4010
3429
  # Corresponds to the JSON property `producerNotificationChannel`
4011
3430
  # @return [String]
4012
3431
  attr_accessor :producer_notification_channel
4013
3432
 
4014
3433
  # Requirements that must be satisfied before a consumer project can use the
4015
- # service. Each requirement is of the form <service.name>/<requirement-id>;
4016
- # for example 'serviceusage.googleapis.com/billing-enabled'.
3434
+ # service. Each requirement is of the form /; for example 'serviceusage.
3435
+ # googleapis.com/billing-enabled'.
4017
3436
  # Corresponds to the JSON property `requirements`
4018
3437
  # @return [Array<String>]
4019
3438
  attr_accessor :requirements
4020
3439
 
4021
- # A list of usage rules that apply to individual API methods.
4022
- # **NOTE:** All service configuration rules follow "last one wins" order.
3440
+ # A list of usage rules that apply to individual API methods. **NOTE:** All
3441
+ # service configuration rules follow "last one wins" order.
4023
3442
  # Corresponds to the JSON property `rules`
4024
3443
  # @return [Array<Google::Apis::ServicenetworkingV1beta::UsageRule>]
4025
3444
  attr_accessor :rules
4026
3445
 
4027
- # The per-product per-project service identity for a service.
4028
- # Use this field to configure per-product per-project service identity.
4029
- # Example of a service identity configuration.
4030
- # usage:
4031
- # service_identity:
4032
- # - service_account_parent: "projects/123456789"
4033
- # display_name: "Cloud XXX Service Agent"
4034
- # description: "Used as the identity of Cloud XXX to access resources"
3446
+ # The per-product per-project service identity for a service. Use this field to
3447
+ # configure per-product per-project service identity. Example of a service
3448
+ # identity configuration. usage: service_identity: - service_account_parent: "
3449
+ # projects/123456789" display_name: "Cloud XXX Service Agent" description: "Used
3450
+ # as the identity of Cloud XXX to access resources"
4035
3451
  # Corresponds to the JSON property `serviceIdentity`
4036
3452
  # @return [Google::Apis::ServicenetworkingV1beta::ServiceIdentity]
4037
3453
  attr_accessor :service_identity
@@ -4049,45 +3465,36 @@ module Google
4049
3465
  end
4050
3466
  end
4051
3467
 
4052
- # Usage configuration rules for the service.
4053
- # NOTE: Under development.
4054
- # Use this rule to configure unregistered calls for the service. Unregistered
4055
- # calls are calls that do not contain consumer project identity.
4056
- # (Example: calls that do not contain an API key).
4057
- # By default, API methods do not allow unregistered calls, and each method call
4058
- # must be identified by a consumer project identity. Use this rule to
4059
- # allow/disallow unregistered calls.
4060
- # Example of an API that wants to allow unregistered calls for entire service.
4061
- # usage:
4062
- # rules:
4063
- # - selector: "*"
4064
- # allow_unregistered_calls: true
4065
- # Example of a method that wants to allow unregistered calls.
4066
- # usage:
4067
- # rules:
4068
- # - selector: "google.example.library.v1.LibraryService.CreateBook"
4069
- # allow_unregistered_calls: true
3468
+ # Usage configuration rules for the service. NOTE: Under development. Use this
3469
+ # rule to configure unregistered calls for the service. Unregistered calls are
3470
+ # calls that do not contain consumer project identity. (Example: calls that do
3471
+ # not contain an API key). By default, API methods do not allow unregistered
3472
+ # calls, and each method call must be identified by a consumer project identity.
3473
+ # Use this rule to allow/disallow unregistered calls. Example of an API that
3474
+ # wants to allow unregistered calls for entire service. usage: rules: - selector:
3475
+ # "*" allow_unregistered_calls: true Example of a method that wants to allow
3476
+ # unregistered calls. usage: rules: - selector: "google.example.library.v1.
3477
+ # LibraryService.CreateBook" allow_unregistered_calls: true
4070
3478
  class UsageRule
4071
3479
  include Google::Apis::Core::Hashable
4072
3480
 
4073
- # If true, the selected method allows unregistered calls, e.g. calls
4074
- # that don't identify any user or application.
3481
+ # If true, the selected method allows unregistered calls, e.g. calls that don't
3482
+ # identify any user or application.
4075
3483
  # Corresponds to the JSON property `allowUnregisteredCalls`
4076
3484
  # @return [Boolean]
4077
3485
  attr_accessor :allow_unregistered_calls
4078
3486
  alias_method :allow_unregistered_calls?, :allow_unregistered_calls
4079
3487
 
4080
3488
  # Selects the methods to which this rule applies. Use '*' to indicate all
4081
- # methods in all APIs.
4082
- # Refer to selector for syntax details.
3489
+ # methods in all APIs. Refer to selector for syntax details.
4083
3490
  # Corresponds to the JSON property `selector`
4084
3491
  # @return [String]
4085
3492
  attr_accessor :selector
4086
3493
 
4087
- # If true, the selected method should skip service control and the control
4088
- # plane features, such as quota and billing, will not be available.
4089
- # This flag is used by Google Cloud Endpoints to bypass checks for internal
4090
- # methods, such as service health check methods.
3494
+ # If true, the selected method should skip service control and the control plane
3495
+ # features, such as quota and billing, will not be available. This flag is used
3496
+ # by Google Cloud Endpoints to bypass checks for internal methods, such as
3497
+ # service health check methods.
4091
3498
  # Corresponds to the JSON property `skipServiceControl`
4092
3499
  # @return [Boolean]
4093
3500
  attr_accessor :skip_service_control