google-api-client 0.42.0 → 0.44.1

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