google-api-client 0.42.2 → 0.45.0

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