google-api-client 0.41.2 → 0.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (897) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +529 -0
  3. data/docs/oauth-server.md +4 -6
  4. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
  5. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
  6. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
  7. data/generated/google/apis/accessapproval_v1.rb +1 -1
  8. data/generated/google/apis/accessapproval_v1/classes.rb +57 -83
  9. data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
  10. data/generated/google/apis/accessapproval_v1/service.rb +93 -129
  11. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  12. data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
  13. data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
  14. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  15. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
  16. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
  17. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +532 -651
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  20. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
  21. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  22. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
  23. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
  24. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  25. data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
  26. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
  27. data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
  28. data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
  29. data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
  30. data/generated/google/apis/admin_directory_v1.rb +6 -8
  31. data/generated/google/apis/admin_directory_v1/classes.rb +224 -243
  32. data/generated/google/apis/admin_directory_v1/representations.rb +14 -40
  33. data/generated/google/apis/admin_directory_v1/service.rb +475 -1026
  34. data/generated/google/apis/admin_reports_v1.rb +6 -5
  35. data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
  36. data/generated/google/apis/admin_reports_v1/service.rb +131 -187
  37. data/generated/google/apis/admob_v1.rb +1 -1
  38. data/generated/google/apis/admob_v1/classes.rb +139 -268
  39. data/generated/google/apis/admob_v1/service.rb +11 -13
  40. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  41. data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
  42. data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
  43. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  44. data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
  45. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  46. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
  47. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
  48. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  49. data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
  50. data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
  51. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  52. data/generated/google/apis/androidmanagement_v1/classes.rb +95 -59
  53. data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
  54. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  55. data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
  56. data/generated/google/apis/androidpublisher_v3/service.rb +127 -155
  57. data/generated/google/apis/apigee_v1.rb +6 -8
  58. data/generated/google/apis/apigee_v1/classes.rb +2060 -1099
  59. data/generated/google/apis/apigee_v1/representations.rb +593 -0
  60. data/generated/google/apis/apigee_v1/service.rb +2596 -1692
  61. data/generated/google/apis/appengine_v1.rb +1 -1
  62. data/generated/google/apis/appengine_v1/classes.rb +45 -35
  63. data/generated/google/apis/appengine_v1/representations.rb +2 -0
  64. data/generated/google/apis/appengine_v1/service.rb +38 -44
  65. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  66. data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
  67. data/generated/google/apis/appengine_v1beta.rb +1 -1
  68. data/generated/google/apis/appengine_v1beta/classes.rb +45 -35
  69. data/generated/google/apis/appengine_v1beta/representations.rb +2 -0
  70. data/generated/google/apis/appengine_v1beta/service.rb +37 -43
  71. data/generated/google/apis/appsmarket_v2.rb +1 -1
  72. data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
  73. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  74. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +235 -337
  75. data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
  76. data/generated/google/apis/bigquery_v2.rb +1 -1
  77. data/generated/google/apis/bigquery_v2/classes.rb +538 -541
  78. data/generated/google/apis/bigquery_v2/representations.rb +71 -0
  79. data/generated/google/apis/bigquery_v2/service.rb +32 -40
  80. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  81. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
  82. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
  83. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  84. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
  85. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
  86. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  87. data/generated/google/apis/bigqueryreservation_v1/classes.rb +146 -119
  88. data/generated/google/apis/bigqueryreservation_v1/representations.rb +18 -0
  89. data/generated/google/apis/bigqueryreservation_v1/service.rb +174 -160
  90. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  91. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
  92. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
  93. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  94. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +99 -96
  95. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +3 -0
  96. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
  97. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  98. data/generated/google/apis/bigtableadmin_v1/classes.rb +317 -0
  99. data/generated/google/apis/bigtableadmin_v1/representations.rb +129 -0
  100. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  101. data/generated/google/apis/bigtableadmin_v2/classes.rb +405 -0
  102. data/generated/google/apis/bigtableadmin_v2/representations.rb +175 -0
  103. data/generated/google/apis/bigtableadmin_v2/service.rb +298 -0
  104. data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
  105. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +103 -109
  106. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
  107. data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
  108. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  109. data/generated/google/apis/binaryauthorization_v1/classes.rb +239 -354
  110. data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
  111. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  112. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +239 -354
  113. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
  114. data/generated/google/apis/blogger_v2.rb +2 -3
  115. data/generated/google/apis/blogger_v2/classes.rb +1 -2
  116. data/generated/google/apis/blogger_v2/service.rb +1 -2
  117. data/generated/google/apis/blogger_v3.rb +2 -3
  118. data/generated/google/apis/blogger_v3/classes.rb +1 -2
  119. data/generated/google/apis/blogger_v3/service.rb +1 -2
  120. data/generated/google/apis/books_v1.rb +1 -1
  121. data/generated/google/apis/books_v1/classes.rb +140 -159
  122. data/generated/google/apis/books_v1/service.rb +47 -49
  123. data/generated/google/apis/calendar_v3.rb +1 -1
  124. data/generated/google/apis/chat_v1.rb +1 -1
  125. data/generated/google/apis/chat_v1/classes.rb +211 -106
  126. data/generated/google/apis/chat_v1/representations.rb +63 -0
  127. data/generated/google/apis/chat_v1/service.rb +95 -36
  128. data/generated/google/apis/chromeuxreport_v1.rb +1 -1
  129. data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
  130. data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
  131. data/generated/google/apis/civicinfo_v2.rb +1 -1
  132. data/generated/google/apis/civicinfo_v2/classes.rb +9 -1
  133. data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
  134. data/generated/google/apis/civicinfo_v2/service.rb +1 -1
  135. data/generated/google/apis/classroom_v1.rb +1 -1
  136. data/generated/google/apis/classroom_v1/classes.rb +250 -365
  137. data/generated/google/apis/classroom_v1/service.rb +645 -900
  138. data/generated/google/apis/cloudasset_v1.rb +1 -1
  139. data/generated/google/apis/cloudasset_v1/classes.rb +713 -1036
  140. data/generated/google/apis/cloudasset_v1/service.rb +131 -156
  141. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  142. data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -775
  143. data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
  144. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  145. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
  146. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
  147. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  148. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +220 -276
  149. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
  150. data/generated/google/apis/{securitycenter_v1p1alpha1.rb → cloudasset_v1p5beta1.rb} +9 -10
  151. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1300 -0
  152. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
  153. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +126 -0
  154. data/generated/google/apis/cloudbilling_v1.rb +7 -1
  155. data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
  156. data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
  157. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  158. data/generated/google/apis/cloudbuild_v1/classes.rb +292 -344
  159. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  160. data/generated/google/apis/cloudbuild_v1/service.rb +48 -63
  161. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  162. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +283 -329
  163. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  164. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
  165. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  166. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +269 -313
  167. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  168. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
  169. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  170. data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
  171. data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
  172. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  173. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +132 -154
  174. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
  175. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
  176. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  177. data/generated/google/apis/cloudfunctions_v1/classes.rb +333 -534
  178. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -17
  179. data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
  180. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  181. data/generated/google/apis/cloudidentity_v1/classes.rb +625 -75
  182. data/generated/google/apis/cloudidentity_v1/representations.rb +203 -0
  183. data/generated/google/apis/cloudidentity_v1/service.rb +43 -61
  184. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  185. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1051 -298
  186. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +346 -22
  187. data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
  188. data/generated/google/apis/cloudiot_v1.rb +1 -1
  189. data/generated/google/apis/cloudiot_v1/classes.rb +263 -373
  190. data/generated/google/apis/cloudiot_v1/service.rb +147 -154
  191. data/generated/google/apis/cloudkms_v1.rb +1 -1
  192. data/generated/google/apis/cloudkms_v1/classes.rb +502 -692
  193. data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
  194. data/generated/google/apis/cloudkms_v1/service.rb +170 -216
  195. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  196. data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
  197. data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
  198. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  199. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +503 -754
  200. data/generated/google/apis/cloudresourcemanager_v1/service.rb +198 -249
  201. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  202. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +258 -429
  203. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +136 -178
  204. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  205. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +258 -414
  206. data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
  207. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  208. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +258 -414
  209. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
  210. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  211. data/generated/google/apis/cloudscheduler_v1/classes.rb +280 -380
  212. data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
  213. data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
  214. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  215. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +281 -381
  216. data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
  217. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
  218. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  219. data/generated/google/apis/cloudsearch_v1/classes.rb +650 -782
  220. data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
  221. data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
  222. data/generated/google/apis/cloudshell_v1.rb +1 -1
  223. data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
  224. data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
  225. data/generated/google/apis/cloudshell_v1/service.rb +21 -25
  226. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  227. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +66 -72
  228. data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
  229. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  230. data/generated/google/apis/cloudtasks_v2/classes.rb +605 -933
  231. data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
  232. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  233. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +602 -964
  234. data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
  235. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  236. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +609 -938
  237. data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
  238. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  239. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -62
  240. data/generated/google/apis/cloudtrace_v1/service.rb +37 -57
  241. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  242. data/generated/google/apis/cloudtrace_v2/classes.rb +93 -107
  243. data/generated/google/apis/cloudtrace_v2/service.rb +8 -14
  244. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  245. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
  246. data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
  247. data/generated/google/apis/composer_v1.rb +1 -1
  248. data/generated/google/apis/composer_v1/classes.rb +190 -242
  249. data/generated/google/apis/composer_v1/service.rb +79 -150
  250. data/generated/google/apis/composer_v1beta1.rb +1 -1
  251. data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
  252. data/generated/google/apis/composer_v1beta1/service.rb +92 -179
  253. data/generated/google/apis/compute_alpha.rb +1 -1
  254. data/generated/google/apis/compute_alpha/classes.rb +1021 -137
  255. data/generated/google/apis/compute_alpha/representations.rb +208 -4
  256. data/generated/google/apis/compute_alpha/service.rb +710 -699
  257. data/generated/google/apis/compute_beta.rb +1 -1
  258. data/generated/google/apis/compute_beta/classes.rb +879 -75
  259. data/generated/google/apis/compute_beta/representations.rb +204 -1
  260. data/generated/google/apis/compute_beta/service.rb +875 -607
  261. data/generated/google/apis/compute_v1.rb +1 -1
  262. data/generated/google/apis/compute_v1/classes.rb +1324 -130
  263. data/generated/google/apis/compute_v1/representations.rb +480 -15
  264. data/generated/google/apis/compute_v1/service.rb +1076 -43
  265. data/generated/google/apis/container_v1.rb +1 -1
  266. data/generated/google/apis/container_v1/classes.rb +946 -961
  267. data/generated/google/apis/container_v1/representations.rb +69 -0
  268. data/generated/google/apis/container_v1/service.rb +435 -502
  269. data/generated/google/apis/container_v1beta1.rb +1 -1
  270. data/generated/google/apis/container_v1beta1/classes.rb +1032 -1039
  271. data/generated/google/apis/container_v1beta1/representations.rb +72 -0
  272. data/generated/google/apis/container_v1beta1/service.rb +403 -466
  273. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  274. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +456 -596
  275. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
  276. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  277. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +454 -613
  278. data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
  279. data/generated/google/apis/content_v2.rb +1 -1
  280. data/generated/google/apis/content_v2/classes.rb +20 -3
  281. data/generated/google/apis/content_v2/representations.rb +1 -0
  282. data/generated/google/apis/content_v2_1.rb +1 -1
  283. data/generated/google/apis/content_v2_1/classes.rb +112 -6
  284. data/generated/google/apis/content_v2_1/representations.rb +35 -0
  285. data/generated/google/apis/content_v2_1/service.rb +53 -2
  286. data/generated/google/apis/{androidpublisher_v1.rb → customsearch_v1.rb} +8 -8
  287. data/generated/google/apis/customsearch_v1/classes.rb +1421 -0
  288. data/generated/google/apis/customsearch_v1/representations.rb +372 -0
  289. data/generated/google/apis/customsearch_v1/service.rb +461 -0
  290. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  291. data/generated/google/apis/datacatalog_v1beta1/classes.rb +382 -570
  292. data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
  293. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  294. data/generated/google/apis/dataflow_v1b3/classes.rb +1015 -972
  295. data/generated/google/apis/dataflow_v1b3/representations.rb +115 -0
  296. data/generated/google/apis/dataflow_v1b3/service.rb +299 -257
  297. data/generated/google/apis/datafusion_v1.rb +40 -0
  298. data/generated/google/apis/datafusion_v1/classes.rb +1025 -0
  299. data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +141 -93
  300. data/generated/google/apis/datafusion_v1/service.rb +667 -0
  301. data/generated/google/apis/datafusion_v1beta1.rb +5 -8
  302. data/generated/google/apis/datafusion_v1beta1/classes.rb +268 -397
  303. data/generated/google/apis/datafusion_v1beta1/representations.rb +3 -0
  304. data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
  305. data/generated/google/apis/dataproc_v1.rb +1 -1
  306. data/generated/google/apis/dataproc_v1/classes.rb +238 -329
  307. data/generated/google/apis/dataproc_v1/representations.rb +16 -0
  308. data/generated/google/apis/dataproc_v1/service.rb +134 -168
  309. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  310. data/generated/google/apis/dataproc_v1beta2/classes.rb +263 -326
  311. data/generated/google/apis/dataproc_v1beta2/representations.rb +31 -0
  312. data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
  313. data/generated/google/apis/datastore_v1.rb +1 -1
  314. data/generated/google/apis/datastore_v1/classes.rb +331 -473
  315. data/generated/google/apis/datastore_v1/service.rb +52 -63
  316. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  317. data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
  318. data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
  319. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  320. data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
  321. data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
  322. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  323. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  324. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  325. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  326. data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
  327. data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
  328. data/generated/google/apis/dfareporting_v3_3/service.rb +673 -1286
  329. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  330. data/generated/google/apis/dfareporting_v3_4/classes.rb +769 -350
  331. data/generated/google/apis/dfareporting_v3_4/representations.rb +225 -0
  332. data/generated/google/apis/dfareporting_v3_4/service.rb +708 -1285
  333. data/generated/google/apis/dialogflow_v2.rb +1 -1
  334. data/generated/google/apis/dialogflow_v2/classes.rb +1365 -1563
  335. data/generated/google/apis/dialogflow_v2/representations.rb +67 -15
  336. data/generated/google/apis/dialogflow_v2/service.rb +324 -444
  337. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  338. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1443 -1641
  339. data/generated/google/apis/dialogflow_v2beta1/representations.rb +67 -15
  340. data/generated/google/apis/dialogflow_v2beta1/service.rb +779 -984
  341. data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
  342. data/generated/google/apis/dialogflow_v3beta1/classes.rb +8183 -0
  343. data/generated/google/apis/dialogflow_v3beta1/representations.rb +3459 -0
  344. data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
  345. data/generated/google/apis/displayvideo_v1.rb +7 -1
  346. data/generated/google/apis/displayvideo_v1/classes.rb +1817 -1719
  347. data/generated/google/apis/displayvideo_v1/representations.rb +305 -0
  348. data/generated/google/apis/displayvideo_v1/service.rb +1287 -923
  349. data/generated/google/apis/dlp_v2.rb +1 -1
  350. data/generated/google/apis/dlp_v2/classes.rb +1076 -1298
  351. data/generated/google/apis/dlp_v2/service.rb +962 -905
  352. data/generated/google/apis/dns_v1.rb +4 -4
  353. data/generated/google/apis/dns_v1/classes.rb +290 -162
  354. data/generated/google/apis/dns_v1/service.rb +232 -180
  355. data/generated/google/apis/dns_v1beta2.rb +1 -1
  356. data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
  357. data/generated/google/apis/dns_v1beta2/service.rb +82 -97
  358. data/generated/google/apis/docs_v1.rb +1 -1
  359. data/generated/google/apis/docs_v1/classes.rb +894 -1229
  360. data/generated/google/apis/docs_v1/service.rb +17 -22
  361. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  362. data/generated/google/apis/documentai_v1beta2/classes.rb +1186 -810
  363. data/generated/google/apis/documentai_v1beta2/representations.rb +303 -0
  364. data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
  365. data/generated/google/apis/domainsrdap_v1.rb +1 -1
  366. data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
  367. data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
  368. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
  369. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +7 -13
  370. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +37 -66
  371. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
  372. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +201 -13
  373. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
  374. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +37 -66
  375. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  376. data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
  377. data/generated/google/apis/doubleclicksearch_v2/service.rb +5 -6
  378. data/generated/google/apis/drive_v2.rb +1 -1
  379. data/generated/google/apis/drive_v2/classes.rb +82 -8
  380. data/generated/google/apis/drive_v2/representations.rb +23 -0
  381. data/generated/google/apis/drive_v2/service.rb +102 -25
  382. data/generated/google/apis/drive_v3.rb +1 -1
  383. data/generated/google/apis/drive_v3/classes.rb +87 -8
  384. data/generated/google/apis/drive_v3/representations.rb +24 -0
  385. data/generated/google/apis/drive_v3/service.rb +67 -16
  386. data/generated/google/apis/driveactivity_v2.rb +1 -1
  387. data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
  388. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  389. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
  390. data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
  391. data/generated/google/apis/fcm_v1.rb +1 -1
  392. data/generated/google/apis/fcm_v1/classes.rb +245 -393
  393. data/generated/google/apis/fcm_v1/service.rb +5 -6
  394. data/generated/google/apis/file_v1.rb +1 -1
  395. data/generated/google/apis/file_v1/classes.rb +154 -173
  396. data/generated/google/apis/file_v1/service.rb +43 -52
  397. data/generated/google/apis/file_v1beta1.rb +1 -1
  398. data/generated/google/apis/file_v1beta1/classes.rb +334 -193
  399. data/generated/google/apis/file_v1beta1/representations.rb +55 -0
  400. data/generated/google/apis/file_v1beta1/service.rb +267 -55
  401. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  402. data/generated/google/apis/firebase_v1beta1/classes.rb +321 -381
  403. data/generated/google/apis/firebase_v1beta1/representations.rb +3 -16
  404. data/generated/google/apis/firebase_v1beta1/service.rb +364 -421
  405. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  406. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
  407. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
  408. data/generated/google/apis/{androidpublisher_v2.rb → firebasehosting_v1.rb} +11 -12
  409. data/generated/google/apis/firebasehosting_v1/classes.rb +182 -0
  410. data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
  411. data/generated/google/apis/{securitycenter_v1p1alpha1 → firebasehosting_v1}/service.rb +51 -82
  412. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  413. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +174 -177
  414. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
  415. data/generated/google/apis/firebasehosting_v1beta1/service.rb +112 -143
  416. data/generated/google/apis/firebaseml_v1.rb +1 -1
  417. data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
  418. data/generated/google/apis/firebaseml_v1/service.rb +19 -22
  419. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  420. data/generated/google/apis/firebaseml_v1beta2/classes.rb +59 -68
  421. data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
  422. data/generated/google/apis/firebaserules_v1.rb +1 -1
  423. data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
  424. data/generated/google/apis/firebaserules_v1/service.rb +87 -110
  425. data/generated/google/apis/firestore_v1.rb +1 -1
  426. data/generated/google/apis/firestore_v1/classes.rb +506 -450
  427. data/generated/google/apis/firestore_v1/representations.rb +63 -0
  428. data/generated/google/apis/firestore_v1/service.rb +227 -185
  429. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  430. data/generated/google/apis/firestore_v1beta1/classes.rb +438 -361
  431. data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
  432. data/generated/google/apis/firestore_v1beta1/service.rb +168 -106
  433. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  434. data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
  435. data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
  436. data/generated/google/apis/fitness_v1.rb +1 -1
  437. data/generated/google/apis/fitness_v1/classes.rb +170 -208
  438. data/generated/google/apis/fitness_v1/service.rb +125 -146
  439. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  440. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
  441. data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
  442. data/generated/google/apis/games_management_v1management.rb +2 -3
  443. data/generated/google/apis/games_management_v1management/classes.rb +14 -20
  444. data/generated/google/apis/games_management_v1management/service.rb +37 -38
  445. data/generated/google/apis/games_v1.rb +5 -4
  446. data/generated/google/apis/games_v1/classes.rb +320 -2085
  447. data/generated/google/apis/games_v1/representations.rb +14 -647
  448. data/generated/google/apis/games_v1/service.rb +161 -1109
  449. data/generated/google/apis/gameservices_v1.rb +1 -1
  450. data/generated/google/apis/gameservices_v1/classes.rb +344 -523
  451. data/generated/google/apis/gameservices_v1/service.rb +167 -207
  452. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  453. data/generated/google/apis/gameservices_v1beta/classes.rb +344 -523
  454. data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
  455. data/generated/google/apis/genomics_v1.rb +1 -1
  456. data/generated/google/apis/genomics_v1/classes.rb +70 -76
  457. data/generated/google/apis/genomics_v1/service.rb +28 -43
  458. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  459. data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
  460. data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
  461. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  462. data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -347
  463. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -27
  464. data/generated/google/apis/genomics_v2alpha1/service.rb +47 -100
  465. data/generated/google/apis/gmail_v1.rb +3 -3
  466. data/generated/google/apis/gmail_v1/classes.rb +207 -266
  467. data/generated/google/apis/gmail_v1/service.rb +263 -290
  468. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +5 -2
  469. data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
  470. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +35 -41
  471. data/generated/google/apis/groupsmigration_v1.rb +3 -3
  472. data/generated/google/apis/groupsmigration_v1/service.rb +4 -4
  473. data/generated/google/apis/groupssettings_v1.rb +1 -1
  474. data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
  475. data/generated/google/apis/healthcare_v1.rb +1 -1
  476. data/generated/google/apis/healthcare_v1/classes.rb +563 -826
  477. data/generated/google/apis/healthcare_v1/service.rb +687 -806
  478. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  479. data/generated/google/apis/healthcare_v1beta1/classes.rb +880 -1086
  480. data/generated/google/apis/healthcare_v1beta1/representations.rb +59 -0
  481. data/generated/google/apis/healthcare_v1beta1/service.rb +939 -1053
  482. data/generated/google/apis/homegraph_v1.rb +1 -1
  483. data/generated/google/apis/homegraph_v1/classes.rb +76 -164
  484. data/generated/google/apis/homegraph_v1/service.rb +23 -35
  485. data/generated/google/apis/iam_v1.rb +5 -2
  486. data/generated/google/apis/iam_v1/classes.rb +388 -573
  487. data/generated/google/apis/iam_v1/service.rb +430 -544
  488. data/generated/google/apis/iamcredentials_v1.rb +4 -2
  489. data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
  490. data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
  491. data/generated/google/apis/iap_v1.rb +1 -1
  492. data/generated/google/apis/iap_v1/classes.rb +246 -355
  493. data/generated/google/apis/iap_v1/service.rb +61 -71
  494. data/generated/google/apis/iap_v1beta1.rb +1 -1
  495. data/generated/google/apis/iap_v1beta1/classes.rb +157 -254
  496. data/generated/google/apis/iap_v1beta1/service.rb +17 -19
  497. data/generated/google/apis/indexing_v3.rb +1 -1
  498. data/generated/google/apis/indexing_v3/classes.rb +11 -11
  499. data/generated/google/apis/kgsearch_v1.rb +1 -1
  500. data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
  501. data/generated/google/apis/kgsearch_v1/service.rb +11 -11
  502. data/generated/google/apis/language_v1.rb +1 -1
  503. data/generated/google/apis/language_v1/classes.rb +93 -111
  504. data/generated/google/apis/language_v1/service.rb +4 -4
  505. data/generated/google/apis/language_v1beta1.rb +1 -1
  506. data/generated/google/apis/language_v1beta1/classes.rb +78 -90
  507. data/generated/google/apis/language_v1beta1/service.rb +2 -2
  508. data/generated/google/apis/language_v1beta2.rb +1 -1
  509. data/generated/google/apis/language_v1beta2/classes.rb +95 -112
  510. data/generated/google/apis/language_v1beta2/service.rb +4 -4
  511. data/generated/google/apis/libraryagent_v1.rb +1 -1
  512. data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
  513. data/generated/google/apis/libraryagent_v1/service.rb +13 -16
  514. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  515. data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
  516. data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
  517. data/generated/google/apis/{androidpublisher_v1/classes.rb → localservices_v1.rb} +11 -6
  518. data/generated/google/apis/localservices_v1/classes.rb +419 -0
  519. data/generated/google/apis/localservices_v1/representations.rb +172 -0
  520. data/generated/google/apis/localservices_v1/service.rb +199 -0
  521. data/generated/google/apis/logging_v2.rb +1 -1
  522. data/generated/google/apis/logging_v2/classes.rb +174 -214
  523. data/generated/google/apis/logging_v2/representations.rb +15 -0
  524. data/generated/google/apis/logging_v2/service.rb +1017 -584
  525. data/generated/google/apis/managedidentities_v1.rb +1 -1
  526. data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
  527. data/generated/google/apis/managedidentities_v1/service.rb +78 -99
  528. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  529. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +336 -457
  530. data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
  531. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  532. data/generated/google/apis/managedidentities_v1beta1/classes.rb +332 -456
  533. data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
  534. data/generated/google/apis/manufacturers_v1.rb +1 -1
  535. data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
  536. data/generated/google/apis/manufacturers_v1/service.rb +44 -55
  537. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  538. data/generated/google/apis/memcache_v1beta2/classes.rb +170 -710
  539. data/generated/google/apis/memcache_v1beta2/representations.rb +0 -120
  540. data/generated/google/apis/memcache_v1beta2/service.rb +58 -190
  541. data/generated/google/apis/ml_v1.rb +1 -1
  542. data/generated/google/apis/ml_v1/classes.rb +954 -1143
  543. data/generated/google/apis/ml_v1/representations.rb +64 -0
  544. data/generated/google/apis/ml_v1/service.rb +194 -253
  545. data/generated/google/apis/monitoring_v1.rb +1 -1
  546. data/generated/google/apis/monitoring_v1/classes.rb +117 -38
  547. data/generated/google/apis/monitoring_v1/representations.rb +35 -0
  548. data/generated/google/apis/monitoring_v1/service.rb +10 -11
  549. data/generated/google/apis/monitoring_v3.rb +1 -1
  550. data/generated/google/apis/monitoring_v3/classes.rb +263 -315
  551. data/generated/google/apis/monitoring_v3/representations.rb +3 -0
  552. data/generated/google/apis/monitoring_v3/service.rb +126 -141
  553. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  554. data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
  555. data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
  556. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  557. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +388 -429
  558. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +40 -0
  559. data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
  560. data/generated/google/apis/osconfig_v1.rb +1 -1
  561. data/generated/google/apis/osconfig_v1/classes.rb +931 -179
  562. data/generated/google/apis/osconfig_v1/representations.rb +372 -0
  563. data/generated/google/apis/osconfig_v1/service.rb +22 -27
  564. data/generated/google/apis/osconfig_v1beta.rb +1 -1
  565. data/generated/google/apis/osconfig_v1beta/classes.rb +1158 -463
  566. data/generated/google/apis/osconfig_v1beta/representations.rb +372 -0
  567. data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
  568. data/generated/google/apis/oslogin_v1.rb +1 -1
  569. data/generated/google/apis/oslogin_v1/classes.rb +14 -12
  570. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  571. data/generated/google/apis/oslogin_v1/service.rb +12 -16
  572. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  573. data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
  574. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  575. data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
  576. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  577. data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
  578. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  579. data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
  580. data/generated/google/apis/pagespeedonline_v5.rb +2 -2
  581. data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
  582. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
  583. data/generated/google/apis/people_v1.rb +1 -1
  584. data/generated/google/apis/people_v1/classes.rb +493 -403
  585. data/generated/google/apis/people_v1/representations.rb +98 -0
  586. data/generated/google/apis/people_v1/service.rb +169 -385
  587. data/generated/google/apis/playablelocations_v3.rb +1 -1
  588. data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
  589. data/generated/google/apis/playablelocations_v3/service.rb +10 -10
  590. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  591. data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
  592. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  593. data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
  594. data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
  595. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  596. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
  597. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
  598. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  599. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +128 -219
  600. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +1 -32
  601. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +38 -526
  602. data/generated/google/apis/pubsub_v1.rb +1 -1
  603. data/generated/google/apis/pubsub_v1/classes.rb +407 -516
  604. data/generated/google/apis/pubsub_v1/representations.rb +3 -0
  605. data/generated/google/apis/pubsub_v1/service.rb +217 -252
  606. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  607. data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
  608. data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
  609. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  610. data/generated/google/apis/pubsub_v1beta2/classes.rb +244 -354
  611. data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
  612. data/generated/google/apis/{accessapproval_v1beta1.rb → pubsublite_v1.rb} +9 -9
  613. data/generated/google/apis/pubsublite_v1/classes.rb +389 -0
  614. data/generated/google/apis/{accessapproval_v1beta1 → pubsublite_v1}/representations.rb +78 -53
  615. data/generated/google/apis/pubsublite_v1/service.rb +525 -0
  616. data/generated/google/apis/realtimebidding_v1.rb +1 -4
  617. data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
  618. data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
  619. data/generated/google/apis/recommendationengine_v1beta1.rb +36 -0
  620. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +1896 -0
  621. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +832 -0
  622. data/generated/google/apis/recommendationengine_v1beta1/service.rb +924 -0
  623. data/generated/google/apis/recommender_v1.rb +1 -1
  624. data/generated/google/apis/recommender_v1/classes.rb +271 -84
  625. data/generated/google/apis/recommender_v1/representations.rb +96 -0
  626. data/generated/google/apis/recommender_v1/service.rb +143 -35
  627. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  628. data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
  629. data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
  630. data/generated/google/apis/redis_v1.rb +1 -1
  631. data/generated/google/apis/redis_v1/classes.rb +477 -116
  632. data/generated/google/apis/redis_v1/representations.rb +139 -0
  633. data/generated/google/apis/redis_v1/service.rb +93 -110
  634. data/generated/google/apis/redis_v1beta1.rb +1 -1
  635. data/generated/google/apis/redis_v1beta1/classes.rb +481 -120
  636. data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
  637. data/generated/google/apis/redis_v1beta1/service.rb +93 -110
  638. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  639. data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
  640. data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
  641. data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
  642. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  643. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
  644. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
  645. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
  646. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  647. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
  648. data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
  649. data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
  650. data/generated/google/apis/reseller_v1.rb +4 -3
  651. data/generated/google/apis/reseller_v1/classes.rb +219 -160
  652. data/generated/google/apis/reseller_v1/service.rb +247 -252
  653. data/generated/google/apis/run_v1.rb +2 -2
  654. data/generated/google/apis/run_v1/classes.rb +837 -1244
  655. data/generated/google/apis/run_v1/representations.rb +1 -1
  656. data/generated/google/apis/run_v1/service.rb +234 -248
  657. data/generated/google/apis/run_v1alpha1.rb +2 -2
  658. data/generated/google/apis/run_v1alpha1/classes.rb +935 -1332
  659. data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
  660. data/generated/google/apis/run_v1alpha1/service.rb +322 -378
  661. data/generated/google/apis/run_v1beta1.rb +2 -2
  662. data/generated/google/apis/run_v1beta1/classes.rb +210 -276
  663. data/generated/google/apis/run_v1beta1/service.rb +17 -19
  664. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  665. data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
  666. data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
  667. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  668. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +295 -412
  669. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
  670. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  671. data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
  672. data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
  673. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  674. data/generated/google/apis/sasportal_v1alpha1/classes.rb +128 -219
  675. data/generated/google/apis/sasportal_v1alpha1/representations.rb +1 -32
  676. data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -526
  677. data/generated/google/apis/script_v1.rb +1 -1
  678. data/generated/google/apis/script_v1/classes.rb +88 -111
  679. data/generated/google/apis/script_v1/service.rb +63 -69
  680. data/generated/google/apis/searchconsole_v1.rb +4 -3
  681. data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
  682. data/generated/google/apis/searchconsole_v1/service.rb +3 -2
  683. data/generated/google/apis/secretmanager_v1.rb +1 -1
  684. data/generated/google/apis/secretmanager_v1/classes.rb +211 -363
  685. data/generated/google/apis/secretmanager_v1/service.rb +66 -82
  686. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  687. data/generated/google/apis/secretmanager_v1beta1/classes.rb +211 -363
  688. data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
  689. data/generated/google/apis/securitycenter_v1.rb +1 -1
  690. data/generated/google/apis/securitycenter_v1/classes.rb +584 -826
  691. data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
  692. data/generated/google/apis/securitycenter_v1/service.rb +250 -332
  693. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  694. data/generated/google/apis/securitycenter_v1beta1/classes.rb +533 -746
  695. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
  696. data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
  697. data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
  698. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +415 -269
  699. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
  700. data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
  701. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  702. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1120 -1784
  703. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -141
  704. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  705. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1107 -1774
  706. data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
  707. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  708. data/generated/google/apis/servicecontrol_v1/classes.rb +523 -641
  709. data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
  710. data/generated/google/apis/servicecontrol_v2.rb +38 -0
  711. data/generated/google/apis/servicecontrol_v2/classes.rb +1075 -0
  712. data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
  713. data/generated/google/apis/servicecontrol_v2/service.rb +155 -0
  714. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  715. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +214 -333
  716. data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
  717. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  718. data/generated/google/apis/servicemanagement_v1/classes.rb +1288 -2090
  719. data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
  720. data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
  721. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  722. data/generated/google/apis/servicenetworking_v1/classes.rb +1164 -1758
  723. data/generated/google/apis/servicenetworking_v1/representations.rb +52 -0
  724. data/generated/google/apis/servicenetworking_v1/service.rb +210 -114
  725. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  726. data/generated/google/apis/servicenetworking_v1beta/classes.rb +1091 -1684
  727. data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
  728. data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
  729. data/generated/google/apis/serviceusage_v1.rb +1 -1
  730. data/generated/google/apis/serviceusage_v1/classes.rb +1144 -1823
  731. data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
  732. data/generated/google/apis/serviceusage_v1/service.rb +67 -80
  733. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  734. data/generated/google/apis/serviceusage_v1beta1/classes.rb +1273 -1986
  735. data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
  736. data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
  737. data/generated/google/apis/sheets_v4.rb +1 -1
  738. data/generated/google/apis/sheets_v4/classes.rb +3932 -5007
  739. data/generated/google/apis/sheets_v4/representations.rb +625 -0
  740. data/generated/google/apis/sheets_v4/service.rb +113 -149
  741. data/generated/google/apis/site_verification_v1.rb +1 -1
  742. data/generated/google/apis/slides_v1.rb +1 -1
  743. data/generated/google/apis/slides_v1/classes.rb +841 -1114
  744. data/generated/google/apis/slides_v1/service.rb +23 -30
  745. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  746. data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
  747. data/generated/google/apis/spanner_v1.rb +1 -1
  748. data/generated/google/apis/spanner_v1/classes.rb +1546 -2156
  749. data/generated/google/apis/spanner_v1/service.rb +443 -618
  750. data/generated/google/apis/speech_v1.rb +1 -1
  751. data/generated/google/apis/speech_v1/classes.rb +174 -220
  752. data/generated/google/apis/speech_v1/service.rb +27 -32
  753. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  754. data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
  755. data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
  756. data/generated/google/apis/speech_v2beta1.rb +1 -1
  757. data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
  758. data/generated/google/apis/speech_v2beta1/service.rb +10 -12
  759. data/generated/google/apis/sql_v1beta4.rb +1 -1
  760. data/generated/google/apis/sql_v1beta4/classes.rb +322 -374
  761. data/generated/google/apis/sql_v1beta4/representations.rb +3 -0
  762. data/generated/google/apis/sql_v1beta4/service.rb +49 -54
  763. data/generated/google/apis/storage_v1.rb +1 -1
  764. data/generated/google/apis/storage_v1/classes.rb +8 -7
  765. data/generated/google/apis/storage_v1/representations.rb +2 -2
  766. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  767. data/generated/google/apis/storagetransfer_v1/classes.rb +263 -343
  768. data/generated/google/apis/storagetransfer_v1/service.rb +43 -40
  769. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  770. data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
  771. data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
  772. data/generated/google/apis/tagmanager_v1.rb +2 -3
  773. data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
  774. data/generated/google/apis/tagmanager_v1/service.rb +22 -23
  775. data/generated/google/apis/tagmanager_v2.rb +2 -3
  776. data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
  777. data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
  778. data/generated/google/apis/tagmanager_v2/service.rb +189 -285
  779. data/generated/google/apis/tasks_v1.rb +1 -1
  780. data/generated/google/apis/tasks_v1/classes.rb +20 -21
  781. data/generated/google/apis/tasks_v1/service.rb +16 -17
  782. data/generated/google/apis/testing_v1.rb +1 -1
  783. data/generated/google/apis/testing_v1/classes.rb +383 -374
  784. data/generated/google/apis/testing_v1/representations.rb +35 -0
  785. data/generated/google/apis/testing_v1/service.rb +22 -28
  786. data/generated/google/apis/texttospeech_v1.rb +1 -1
  787. data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
  788. data/generated/google/apis/texttospeech_v1/service.rb +9 -10
  789. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  790. data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
  791. data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
  792. data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
  793. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  794. data/generated/google/apis/toolresults_v1beta3/classes.rb +678 -928
  795. data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
  796. data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
  797. data/generated/google/apis/tpu_v1.rb +1 -1
  798. data/generated/google/apis/tpu_v1/classes.rb +79 -78
  799. data/generated/google/apis/tpu_v1/representations.rb +1 -0
  800. data/generated/google/apis/tpu_v1/service.rb +21 -25
  801. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  802. data/generated/google/apis/tpu_v1alpha1/classes.rb +79 -78
  803. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  804. data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
  805. data/generated/google/apis/{cloudfunctions_v1beta2.rb → trafficdirector_v2.rb} +9 -9
  806. data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
  807. data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
  808. data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
  809. data/generated/google/apis/translate_v3.rb +1 -1
  810. data/generated/google/apis/translate_v3/classes.rb +148 -175
  811. data/generated/google/apis/translate_v3/service.rb +122 -138
  812. data/generated/google/apis/translate_v3beta1.rb +1 -1
  813. data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
  814. data/generated/google/apis/translate_v3beta1/service.rb +122 -138
  815. data/generated/google/apis/vectortile_v1.rb +1 -1
  816. data/generated/google/apis/vectortile_v1/classes.rb +185 -267
  817. data/generated/google/apis/vectortile_v1/service.rb +75 -88
  818. data/generated/google/apis/videointelligence_v1.rb +1 -1
  819. data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
  820. data/generated/google/apis/videointelligence_v1/service.rb +40 -48
  821. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  822. data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
  823. data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
  824. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  825. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
  826. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
  827. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  828. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
  829. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
  830. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  831. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
  832. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
  833. data/generated/google/apis/vision_v1.rb +1 -1
  834. data/generated/google/apis/vision_v1/classes.rb +1304 -1868
  835. data/generated/google/apis/vision_v1/service.rb +254 -340
  836. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  837. data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1788
  838. data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
  839. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  840. data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1788
  841. data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
  842. data/generated/google/apis/webfonts_v1.rb +2 -3
  843. data/generated/google/apis/webfonts_v1/classes.rb +1 -2
  844. data/generated/google/apis/webfonts_v1/service.rb +4 -6
  845. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  846. data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
  847. data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
  848. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  849. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
  850. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
  851. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  852. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
  853. data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
  854. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  855. data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
  856. data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
  857. data/generated/google/apis/youtube_partner_v1.rb +4 -3
  858. data/generated/google/apis/youtube_partner_v1/classes.rb +1106 -690
  859. data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
  860. data/generated/google/apis/youtube_partner_v1/service.rb +519 -1079
  861. data/generated/google/apis/youtube_v3.rb +1 -1
  862. data/generated/google/apis/youtube_v3/classes.rb +1826 -1157
  863. data/generated/google/apis/youtube_v3/representations.rb +458 -0
  864. data/generated/google/apis/youtube_v3/service.rb +1303 -1274
  865. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  866. data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
  867. data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
  868. data/lib/google/apis/core/base_service.rb +7 -1
  869. data/lib/google/apis/version.rb +1 -1
  870. metadata +47 -43
  871. data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
  872. data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -854
  873. data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
  874. data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
  875. data/generated/google/apis/androidpublisher_v1_1.rb +0 -34
  876. data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
  877. data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
  878. data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
  879. data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
  880. data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
  881. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -841
  882. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
  883. data/generated/google/apis/dns_v2beta1.rb +0 -43
  884. data/generated/google/apis/dns_v2beta1/classes.rb +0 -1296
  885. data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
  886. data/generated/google/apis/dns_v2beta1/service.rb +0 -861
  887. data/generated/google/apis/oauth2_v2.rb +0 -40
  888. data/generated/google/apis/oauth2_v2/classes.rb +0 -165
  889. data/generated/google/apis/oauth2_v2/representations.rb +0 -68
  890. data/generated/google/apis/oauth2_v2/service.rb +0 -158
  891. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2305
  892. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
  893. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1326
  894. data/generated/google/apis/storage_v1beta2.rb +0 -40
  895. data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
  896. data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
  897. data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
@@ -47,15 +47,13 @@ module Google
47
47
  @batch_path = 'batch'
48
48
  end
49
49
 
50
- # Starts asynchronous cancellation on a long-running operation. The server
51
- # makes a best effort to cancel the operation, but success is not
52
- # guaranteed. If the server doesn't support this method, it returns
53
- # `google.rpc.Code.UNIMPLEMENTED`. Clients can use
54
- # Operations.GetOperation or
55
- # other methods to check whether the cancellation succeeded or whether the
56
- # operation completed despite cancellation. On successful cancellation,
57
- # the operation is not deleted; instead, it becomes an operation with
58
- # an Operation.error value with a google.rpc.Status.code of 1,
50
+ # Starts asynchronous cancellation on a long-running operation. The server makes
51
+ # a best effort to cancel the operation, but success is not guaranteed. If the
52
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
53
+ # Clients can use Operations.GetOperation or other methods to check whether the
54
+ # cancellation succeeded or whether the operation completed despite cancellation.
55
+ # On successful cancellation, the operation is not deleted; instead, it becomes
56
+ # an operation with an Operation.error value with a google.rpc.Status.code of 1,
59
57
  # corresponding to `Code.CANCELLED`.
60
58
  # @param [String] name
61
59
  # The name of the operation resource to be cancelled.
@@ -89,10 +87,10 @@ module Google
89
87
  execute_or_queue_command(command, &block)
90
88
  end
91
89
 
92
- # Deletes a long-running operation. This method indicates that the client is
93
- # no longer interested in the operation result. It does not cancel the
94
- # operation. If the server doesn't support this method, it returns
95
- # `google.rpc.Code.UNIMPLEMENTED`.
90
+ # Deletes a long-running operation. This method indicates that the client is no
91
+ # longer interested in the operation result. It does not cancel the operation.
92
+ # If the server doesn't support this method, it returns `google.rpc.Code.
93
+ # UNIMPLEMENTED`.
96
94
  # @param [String] name
97
95
  # The name of the operation resource to be deleted.
98
96
  # @param [String] fields
@@ -122,9 +120,8 @@ module Google
122
120
  execute_or_queue_command(command, &block)
123
121
  end
124
122
 
125
- # Gets the latest state of a long-running operation. Clients can use this
126
- # method to poll the operation result at intervals as recommended by the API
127
- # service.
123
+ # Gets the latest state of a long-running operation. Clients can use this method
124
+ # to poll the operation result at intervals as recommended by the API service.
128
125
  # @param [String] name
129
126
  # The name of the operation resource.
130
127
  # @param [String] fields
@@ -154,15 +151,14 @@ module Google
154
151
  execute_or_queue_command(command, &block)
155
152
  end
156
153
 
157
- # Lists operations that match the specified filter in the request. If the
158
- # server doesn't support this method, it returns `UNIMPLEMENTED`.
159
- # NOTE: the `name` binding allows API services to override the binding
160
- # to use different resource name schemes, such as `users/*/operations`. To
161
- # override the binding, API services can add a binding such as
162
- # `"/v1/`name=users/*`/operations"` to their service configuration.
163
- # For backwards compatibility, the default name includes the operations
164
- # collection id, however overriding users must ensure the name binding
165
- # is the parent resource, without the operations collection id.
154
+ # Lists operations that match the specified filter in the request. If the server
155
+ # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
156
+ # binding allows API services to override the binding to use different resource
157
+ # name schemes, such as `users/*/operations`. To override the binding, API
158
+ # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
159
+ # service configuration. For backwards compatibility, the default name includes
160
+ # the operations collection id, however overriding users must ensure the name
161
+ # binding is the parent resource, without the operations collection id.
166
162
  # @param [String] name
167
163
  # The name of the operation's parent resource.
168
164
  # @param [String] filter
@@ -203,33 +199,28 @@ module Google
203
199
 
204
200
  # Search tenancy units for a managed service.
205
201
  # @param [String] parent
206
- # Service for which search is performed.
207
- # services/`service`
208
- # `service` the name of a service, for example 'service.googleapis.com'.
202
+ # Service for which search is performed. services/`service` `service` the name
203
+ # of a service, for example 'service.googleapis.com'.
209
204
  # @param [Fixnum] page_size
210
- # The maximum number of results returned by this request. Currently, the
211
- # default maximum is set to 1000. If `page_size` isn't provided or the size
205
+ # Optional. The maximum number of results returned by this request. Currently,
206
+ # the default maximum is set to 1000. If `page_size` isn't provided or the size
212
207
  # provided is a number larger than 1000, it's automatically set to 1000.
213
- # Optional.
214
208
  # @param [String] page_token
215
- # The continuation token, which is used to page through large result sets.
216
- # To get the next page of results, set this parameter to the value of
217
- # `nextPageToken` from the previous response.
218
- # Optional.
209
+ # Optional. The continuation token, which is used to page through large result
210
+ # sets. To get the next page of results, set this parameter to the value of `
211
+ # nextPageToken` from the previous response.
219
212
  # @param [String] query
220
- # Set a query ``expression`` for querying tenancy units. Your ``expression``
221
- # must be in the format: `field_name=literal_string`. The `field_name` is the
222
- # name of the field you want to compare. Supported fields are
223
- # `tenant_resources.tag` and `tenant_resources.resource`.
224
- # For example, to search tenancy units that contain at least one tenant
225
- # resource with a given tag 'xyz', use the query `tenant_resources.tag=xyz`.
226
- # To search tenancy units that contain at least one tenant resource with
227
- # a given resource name 'projects/123456', use the query
228
- # `tenant_resources.resource=projects/123456`.
229
- # Multiple expressions can be joined with `AND`s. Tenancy units must match
230
- # all expressions to be included in the result set. For example,
231
- # `tenant_resources.tag=xyz AND tenant_resources.resource=projects/123456`
232
- # Optional.
213
+ # Optional. Set a query ``expression`` for querying tenancy units. Your ``
214
+ # expression`` must be in the format: `field_name=literal_string`. The `
215
+ # field_name` is the name of the field you want to compare. Supported fields are
216
+ # `tenant_resources.tag` and `tenant_resources.resource`. For example, to search
217
+ # tenancy units that contain at least one tenant resource with a given tag 'xyz',
218
+ # use the query `tenant_resources.tag=xyz`. To search tenancy units that
219
+ # contain at least one tenant resource with a given resource name 'projects/
220
+ # 123456', use the query `tenant_resources.resource=projects/123456`. Multiple
221
+ # expressions can be joined with `AND`s. Tenancy units must match all
222
+ # expressions to be included in the result set. For example, `tenant_resources.
223
+ # tag=xyz AND tenant_resources.resource=projects/123456`
233
224
  # @param [String] fields
234
225
  # Selector specifying which fields to include in a partial response.
235
226
  # @param [String] quota_user
@@ -260,15 +251,14 @@ module Google
260
251
  execute_or_queue_command(command, &block)
261
252
  end
262
253
 
263
- # Add a new tenant project to the tenancy unit.
264
- # There can be a maximum of 512 tenant projects in a tenancy unit.
265
- # If there are previously failed `AddTenantProject` calls, you might need to
266
- # call `RemoveTenantProject` first to resolve them before you can make
267
- # another call to `AddTenantProject` with the same tag.
268
- # Operation<response: Empty>.
254
+ # Add a new tenant project to the tenancy unit. There can be a maximum of 512
255
+ # tenant projects in a tenancy unit. If there are previously failed `
256
+ # AddTenantProject` calls, you might need to call `RemoveTenantProject` first to
257
+ # resolve them before you can make another call to `AddTenantProject` with the
258
+ # same tag. Operation.
269
259
  # @param [String] parent
270
- # Name of the tenancy unit.
271
- # Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
260
+ # Name of the tenancy unit. Such as 'services/service.googleapis.com/projects/
261
+ # 12345/tenancyUnits/abcd'.
272
262
  # @param [Google::Apis::ServiceconsumermanagementV1::AddTenantProjectRequest] add_tenant_project_request_object
273
263
  # @param [String] fields
274
264
  # Selector specifying which fields to include in a partial response.
@@ -299,26 +289,22 @@ module Google
299
289
  execute_or_queue_command(command, &block)
300
290
  end
301
291
 
302
- # Apply a configuration to an existing tenant project.
303
- # This project must exist in an active state and have the original owner
304
- # account. The caller must have permission to add a project to the given
305
- # tenancy unit. The configuration is applied, but any existing settings on
306
- # the project aren't modified.
307
- # Specified policy bindings are applied. Existing bindings aren't modified.
308
- # Specified services are activated. No service is deactivated.
309
- # If specified, new billing configuration is applied.
310
- # Omit a billing configuration to keep the existing one.
311
- # A service account in the project is created if previously non existed.
292
+ # Apply a configuration to an existing tenant project. This project must exist
293
+ # in an active state and have the original owner account. The caller must have
294
+ # permission to add a project to the given tenancy unit. The configuration is
295
+ # applied, but any existing settings on the project aren't modified. Specified
296
+ # policy bindings are applied. Existing bindings aren't modified. Specified
297
+ # services are activated. No service is deactivated. If specified, new billing
298
+ # configuration is applied. Omit a billing configuration to keep the existing
299
+ # one. A service account in the project is created if previously non existed.
312
300
  # Specified labels will be appended to tenant project, note that the value of
313
- # existing label key will be updated if the same label key is requested.
314
- # The specified folder is ignored, as moving a tenant project to a different
315
- # folder isn't supported.
316
- # The operation fails if any of the steps fail, but no rollback of already
317
- # applied configuration changes is attempted.
318
- # Operation<response: Empty>.
301
+ # existing label key will be updated if the same label key is requested. The
302
+ # specified folder is ignored, as moving a tenant project to a different folder
303
+ # isn't supported. The operation fails if any of the steps fail, but no rollback
304
+ # of already applied configuration changes is attempted. Operation.
319
305
  # @param [String] name
320
- # Name of the tenancy unit.
321
- # Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
306
+ # Name of the tenancy unit. Such as 'services/service.googleapis.com/projects/
307
+ # 12345/tenancyUnits/abcd'.
322
308
  # @param [Google::Apis::ServiceconsumermanagementV1::ApplyTenantProjectConfigRequest] apply_tenant_project_config_request_object
323
309
  # @param [String] fields
324
310
  # Selector specifying which fields to include in a partial response.
@@ -349,20 +335,18 @@ module Google
349
335
  execute_or_queue_command(command, &block)
350
336
  end
351
337
 
352
- # Attach an existing project to the tenancy unit as a new tenant
353
- # resource. The project could either be the tenant project reserved by
354
- # calling `AddTenantProject` under a tenancy unit of a service producer's
355
- # project of a managed service, or from a separate project.
356
- # The caller is checked against a set of permissions as if calling
357
- # `AddTenantProject` on the same service consumer.
358
- # To trigger the attachment, the targeted tenant project must be in a
359
- # folder. Make sure the ServiceConsumerManagement service account is
360
- # the owner of that project. These two requirements are already met
361
- # if the project is reserved by calling `AddTenantProject`.
362
- # Operation<response: Empty>.
338
+ # Attach an existing project to the tenancy unit as a new tenant resource. The
339
+ # project could either be the tenant project reserved by calling `
340
+ # AddTenantProject` under a tenancy unit of a service producer's project of a
341
+ # managed service, or from a separate project. The caller is checked against a
342
+ # set of permissions as if calling `AddTenantProject` on the same service
343
+ # consumer. To trigger the attachment, the targeted tenant project must be in a
344
+ # folder. Make sure the ServiceConsumerManagement service account is the owner
345
+ # of that project. These two requirements are already met if the project is
346
+ # reserved by calling `AddTenantProject`. Operation.
363
347
  # @param [String] name
364
- # Name of the tenancy unit that the project will be attached to.
365
- # Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
348
+ # Name of the tenancy unit that the project will be attached to. Such as '
349
+ # services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
366
350
  # @param [Google::Apis::ServiceconsumermanagementV1::AttachTenantProjectRequest] attach_tenant_project_request_object
367
351
  # @param [String] fields
368
352
  # Selector specifying which fields to include in a partial response.
@@ -393,18 +377,16 @@ module Google
393
377
  execute_or_queue_command(command, &block)
394
378
  end
395
379
 
396
- # Creates a tenancy unit with no tenant resources.
397
- # If tenancy unit already exists, it will be returned,
398
- # however, in this case, returned TenancyUnit does not have tenant_resources
399
- # field set and ListTenancyUnit has to be used to get a complete
400
- # TenancyUnit with all fields populated.
380
+ # Creates a tenancy unit with no tenant resources. If tenancy unit already
381
+ # exists, it will be returned, however, in this case, returned TenancyUnit does
382
+ # not have tenant_resources field set and ListTenancyUnits has to be used to get
383
+ # a complete TenancyUnit with all fields populated.
401
384
  # @param [String] parent
402
- # services/`service`/`collection id`/`resource id`
403
- # `collection id` is the cloud resource collection type representing the
404
- # service consumer, for example 'projects', or 'organizations'.
405
- # `resource id` is the consumer numeric id, such as project number: '123456'.
406
- # `service` the name of a managed service, such as 'service.googleapis.com'.
407
- # Enables service binding using the new tenancy unit.
385
+ # services/`service`/`collection id`/`resource id` `collection id` is the cloud
386
+ # resource collection type representing the service consumer, for example '
387
+ # projects', or 'organizations'. `resource id` is the consumer numeric id, such
388
+ # as project number: '123456'. `service` the name of a managed service, such as '
389
+ # service.googleapis.com'. Enables service binding using the new tenancy unit.
408
390
  # @param [Google::Apis::ServiceconsumermanagementV1::CreateTenancyUnitRequest] create_tenancy_unit_request_object
409
391
  # @param [String] fields
410
392
  # Selector specifying which fields to include in a partial response.
@@ -435,9 +417,8 @@ module Google
435
417
  execute_or_queue_command(command, &block)
436
418
  end
437
419
 
438
- # Delete a tenancy unit. Before you delete the tenancy unit, there should be
439
- # no tenant resources in it that aren't in a DELETED state.
440
- # Operation<response: Empty>.
420
+ # Delete a tenancy unit. Before you delete the tenancy unit, there should be no
421
+ # tenant resources in it that aren't in a DELETED state. Operation.
441
422
  # @param [String] name
442
423
  # Name of the tenancy unit to be deleted.
443
424
  # @param [String] fields
@@ -470,16 +451,13 @@ module Google
470
451
  # Deletes the specified project resource identified by a tenant resource tag.
471
452
  # The mothod removes a project lien with a 'TenantManager' origin if that was
472
453
  # added. It will then attempt to delete the project. If that operation fails,
473
- # this method also fails.
474
- # After the project has been deleted, the tenant resource state is set to
475
- # DELETED. To permanently remove resource metadata, call the
476
- # `RemoveTenantProject` method.
477
- # New resources with the same tag can't be added if there are existing
478
- # resources in a DELETED state.
479
- # Operation<response: Empty>.
454
+ # this method also fails. After the project has been deleted, the tenant
455
+ # resource state is set to DELETED. To permanently remove resource metadata,
456
+ # call the `RemoveTenantProject` method. New resources with the same tag can't
457
+ # be added if there are existing resources in a DELETED state. Operation.
480
458
  # @param [String] name
481
- # Name of the tenancy unit.
482
- # Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
459
+ # Name of the tenancy unit. Such as 'services/service.googleapis.com/projects/
460
+ # 12345/tenancyUnits/abcd'.
483
461
  # @param [Google::Apis::ServiceconsumermanagementV1::DeleteTenantProjectRequest] delete_tenant_project_request_object
484
462
  # @param [String] fields
485
463
  # Selector specifying which fields to include in a partial response.
@@ -510,26 +488,24 @@ module Google
510
488
  execute_or_queue_command(command, &block)
511
489
  end
512
490
 
513
- # Find the tenancy unit for a managed service and service consumer.
514
- # This method shouldn't be used in a service producer's runtime path, for
515
- # example to find the tenant project number when creating VMs. Service
516
- # producers must persist the tenant project's information after the project
517
- # is created.
491
+ # Find the tenancy unit for a managed service and service consumer. This method
492
+ # shouldn't be used in a service producer's runtime path, for example to find
493
+ # the tenant project number when creating VMs. Service producers must persist
494
+ # the tenant project's information after the project is created.
518
495
  # @param [String] parent
519
- # Managed service and service consumer. Required.
520
- # services/`service`/`collection id`/`resource id`
521
- # `collection id` is the cloud resource collection type representing the
522
- # service consumer, for example 'projects', or 'organizations'.
523
- # `resource id` is the consumer numeric id, such as project number: '123456'.
524
- # `service` the name of a service, such as 'service.googleapis.com'.
496
+ # Managed service and service consumer. Required. services/`service`/`collection
497
+ # id`/`resource id` `collection id` is the cloud resource collection type
498
+ # representing the service consumer, for example 'projects', or 'organizations'.
499
+ # `resource id` is the consumer numeric id, such as project number: '123456'. `
500
+ # service` the name of a service, such as 'service.googleapis.com'.
525
501
  # @param [String] filter
526
502
  # Filter expression over tenancy resources field. Optional.
527
503
  # @param [Fixnum] page_size
528
504
  # The maximum number of results returned by this request.
529
505
  # @param [String] page_token
530
- # The continuation token, which is used to page through large result sets.
531
- # To get the next page of results, set this parameter to the value of
532
- # `nextPageToken` from the previous response.
506
+ # The continuation token, which is used to page through large result sets. To
507
+ # get the next page of results, set this parameter to the value of `
508
+ # nextPageToken` from the previous response.
533
509
  # @param [String] fields
534
510
  # Selector specifying which fields to include in a partial response.
535
511
  # @param [String] quota_user
@@ -561,16 +537,15 @@ module Google
561
537
  end
562
538
 
563
539
  # Removes the specified project resource identified by a tenant resource tag.
564
- # The method removes the project lien with 'TenantManager' origin if that
565
- # was added. It then attempts to delete the project. If that operation
566
- # fails, this method also fails.
567
- # Calls to remove already removed or non-existent tenant project succeed.
568
- # After the project has been deleted, or if was already in a DELETED state,
569
- # resource metadata is permanently removed from the tenancy unit.
570
- # Operation<response: Empty>.
540
+ # The method removes the project lien with 'TenantManager' origin if that was
541
+ # added. It then attempts to delete the project. If that operation fails, this
542
+ # method also fails. Calls to remove already removed or non-existent tenant
543
+ # project succeed. After the project has been deleted, or if was already in a
544
+ # DELETED state, resource metadata is permanently removed from the tenancy unit.
545
+ # Operation.
571
546
  # @param [String] name
572
- # Name of the tenancy unit.
573
- # Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
547
+ # Name of the tenancy unit. Such as 'services/service.googleapis.com/projects/
548
+ # 12345/tenancyUnits/abcd'.
574
549
  # @param [Google::Apis::ServiceconsumermanagementV1::RemoveTenantProjectRequest] remove_tenant_project_request_object
575
550
  # @param [String] fields
576
551
  # Selector specifying which fields to include in a partial response.
@@ -601,16 +576,14 @@ module Google
601
576
  execute_or_queue_command(command, &block)
602
577
  end
603
578
 
604
- # Attempts to undelete a previously deleted tenant project. The project must
605
- # be in a DELETED state.
606
- # There are no guarantees that an undeleted project will be in
607
- # a fully restored and functional state. Call the `ApplyTenantProjectConfig`
579
+ # Attempts to undelete a previously deleted tenant project. The project must be
580
+ # in a DELETED state. There are no guarantees that an undeleted project will be
581
+ # in a fully restored and functional state. Call the `ApplyTenantProjectConfig`
608
582
  # method to update its configuration and then validate all managed service
609
- # resources.
610
- # Operation<response: Empty>.
583
+ # resources. Operation.
611
584
  # @param [String] name
612
- # Name of the tenancy unit.
613
- # Such as 'services/service.googleapis.com/projects/12345/tenancyUnits/abcd'.
585
+ # Name of the tenancy unit. Such as 'services/service.googleapis.com/projects/
586
+ # 12345/tenancyUnits/abcd'.
614
587
  # @param [Google::Apis::ServiceconsumermanagementV1::UndeleteTenantProjectRequest] undelete_tenant_project_request_object
615
588
  # @param [String] fields
616
589
  # Selector specifying which fields to include in a partial response.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/service-consumer-management/docs/overview
26
26
  module ServiceconsumermanagementV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20200617'
28
+ REVISION = '20200818'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -22,14 +22,13 @@ module Google
22
22
  module Apis
23
23
  module ServiceconsumermanagementV1beta1
24
24
 
25
- # Api is a light-weight descriptor for an API Interface.
26
- # Interfaces are also described as "protocol buffer services" in some contexts,
27
- # such as by the "service" keyword in a .proto file, but they are different
28
- # from API Services, which represent a concrete implementation of an interface
29
- # as opposed to simply a description of methods and bindings. They are also
30
- # sometimes simply referred to as "APIs" in other contexts, such as the name of
31
- # this message itself. See https://cloud.google.com/apis/design/glossary for
32
- # detailed terminology.
25
+ # Api is a light-weight descriptor for an API Interface. Interfaces are also
26
+ # described as "protocol buffer services" in some contexts, such as by the "
27
+ # service" keyword in a .proto file, but they are different from API Services,
28
+ # which represent a concrete implementation of an interface as opposed to simply
29
+ # a description of methods and bindings. They are also sometimes simply referred
30
+ # to as "APIs" in other contexts, such as the name of this message itself. See
31
+ # https://cloud.google.com/apis/design/glossary for detailed terminology.
33
32
  class Api
34
33
  include Google::Apis::Core::Hashable
35
34
 
@@ -43,8 +42,8 @@ module Google
43
42
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::Mixin>]
44
43
  attr_accessor :mixins
45
44
 
46
- # The fully qualified name of this interface, including package name
47
- # followed by the interface's simple name.
45
+ # The fully qualified name of this interface, including package name followed by
46
+ # the interface's simple name.
48
47
  # Corresponds to the JSON property `name`
49
48
  # @return [String]
50
49
  attr_accessor :name
@@ -54,8 +53,8 @@ module Google
54
53
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::Option>]
55
54
  attr_accessor :options
56
55
 
57
- # `SourceContext` represents information about the source of a
58
- # protobuf element, like the file in which it is defined.
56
+ # `SourceContext` represents information about the source of a protobuf element,
57
+ # like the file in which it is defined.
59
58
  # Corresponds to the JSON property `sourceContext`
60
59
  # @return [Google::Apis::ServiceconsumermanagementV1beta1::SourceContext]
61
60
  attr_accessor :source_context
@@ -65,23 +64,19 @@ module Google
65
64
  # @return [String]
66
65
  attr_accessor :syntax
67
66
 
68
- # A version string for this interface. If specified, must have the form
69
- # `major-version.minor-version`, as in `1.10`. If the minor version is
70
- # omitted, it defaults to zero. If the entire version field is empty, the
71
- # major version is derived from the package name, as outlined below. If the
72
- # field is not empty, the version in the package name will be verified to be
73
- # consistent with what is provided here.
74
- # The versioning schema uses [semantic
75
- # versioning](http://semver.org) where the major version number
76
- # indicates a breaking change and the minor version an additive,
77
- # non-breaking change. Both version numbers are signals to users
78
- # what to expect from different versions, and should be carefully
79
- # chosen based on the product plan.
80
- # The major version is also reflected in the package name of the
81
- # interface, which must end in `v<major-version>`, as in
82
- # `google.feature.v1`. For major versions 0 and 1, the suffix can
83
- # be omitted. Zero major versions must only be used for
84
- # experimental, non-GA interfaces.
67
+ # A version string for this interface. If specified, must have the form `major-
68
+ # version.minor-version`, as in `1.10`. If the minor version is omitted, it
69
+ # defaults to zero. If the entire version field is empty, the major version is
70
+ # derived from the package name, as outlined below. If the field is not empty,
71
+ # the version in the package name will be verified to be consistent with what is
72
+ # provided here. The versioning schema uses [semantic versioning](http://semver.
73
+ # org) where the major version number indicates a breaking change and the minor
74
+ # version an additive, non-breaking change. Both version numbers are signals to
75
+ # users what to expect from different versions, and should be carefully chosen
76
+ # based on the product plan. The major version is also reflected in the package
77
+ # name of the interface, which must end in `v`, as in `google.feature.v1`. For
78
+ # major versions 0 and 1, the suffix can be omitted. Zero major versions must
79
+ # only be used for experimental, non-GA interfaces.
85
80
  # Corresponds to the JSON property `version`
86
81
  # @return [String]
87
82
  attr_accessor :version
@@ -102,85 +97,63 @@ module Google
102
97
  end
103
98
  end
104
99
 
105
- # Configuration for an authentication provider, including support for
106
- # [JSON Web Token
107
- # (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
100
+ # Configuration for an authentication provider, including support for [JSON Web
101
+ # Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
108
102
  class AuthProvider
109
103
  include Google::Apis::Core::Hashable
110
104
 
111
- # The list of JWT
112
- # [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#
113
- # section-4.1.3).
114
- # that are allowed to access. A JWT containing any of these audiences will
115
- # be accepted. When this setting is absent, JWTs with audiences:
116
- # - "https://[service.name]/[google.protobuf.Api.name]"
117
- # - "https://[service.name]/"
118
- # will be accepted.
119
- # For example, if no audiences are in the setting, LibraryService API will
120
- # accept JWTs with the following audiences:
121
- # -
105
+ # The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-
106
+ # web-token-32#section-4.1.3). that are allowed to access. A JWT containing any
107
+ # of these audiences will be accepted. When this setting is absent, JWTs with
108
+ # audiences: - "https://[service.name]/[google.protobuf.Api.name]" - "https://[
109
+ # service.name]/" will be accepted. For example, if no audiences are in the
110
+ # setting, LibraryService API will accept JWTs with the following audiences: -
122
111
  # https://library-example.googleapis.com/google.example.library.v1.
123
- # LibraryService
124
- # - https://library-example.googleapis.com/
125
- # Example:
126
- # audiences: bookstore_android.apps.googleusercontent.com,
127
- # bookstore_web.apps.googleusercontent.com
112
+ # LibraryService - https://library-example.googleapis.com/ Example: audiences:
113
+ # bookstore_android.apps.googleusercontent.com, bookstore_web.apps.
114
+ # googleusercontent.com
128
115
  # Corresponds to the JSON property `audiences`
129
116
  # @return [String]
130
117
  attr_accessor :audiences
131
118
 
132
- # Redirect URL if JWT token is required but not present or is expired.
133
- # Implement authorizationUrl of securityDefinitions in OpenAPI spec.
119
+ # Redirect URL if JWT token is required but not present or is expired. Implement
120
+ # authorizationUrl of securityDefinitions in OpenAPI spec.
134
121
  # Corresponds to the JSON property `authorizationUrl`
135
122
  # @return [String]
136
123
  attr_accessor :authorization_url
137
124
 
138
- # The unique identifier of the auth provider. It will be referred to by
139
- # `AuthRequirement.provider_id`.
140
- # Example: "bookstore_auth".
125
+ # The unique identifier of the auth provider. It will be referred to by `
126
+ # AuthRequirement.provider_id`. Example: "bookstore_auth".
141
127
  # Corresponds to the JSON property `id`
142
128
  # @return [String]
143
129
  attr_accessor :id
144
130
 
145
- # Identifies the principal that issued the JWT. See
146
- # https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1
147
- # Usually a URL or an email address.
148
- # Example: https://securetoken.google.com
149
- # Example: 1234567-compute@developer.gserviceaccount.com
131
+ # Identifies the principal that issued the JWT. See https://tools.ietf.org/html/
132
+ # draft-ietf-oauth-json-web-token-32#section-4.1.1 Usually a URL or an email
133
+ # address. Example: https://securetoken.google.com Example: 1234567-compute@
134
+ # developer.gserviceaccount.com
150
135
  # Corresponds to the JSON property `issuer`
151
136
  # @return [String]
152
137
  attr_accessor :issuer
153
138
 
154
- # URL of the provider's public key set to validate signature of the JWT. See
155
- # [OpenID
156
- # Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#
157
- # ProviderMetadata).
158
- # Optional if the key set document:
159
- # - can be retrieved from
160
- # [OpenID
161
- # Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html of
162
- # the issuer.
163
- # - can be inferred from the email domain of the issuer (e.g. a Google
164
- # service account).
165
- # Example: https://www.googleapis.com/oauth2/v1/certs
139
+ # URL of the provider's public key set to validate signature of the JWT. See [
140
+ # OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#
141
+ # ProviderMetadata). Optional if the key set document: - can be retrieved from [
142
+ # OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html
143
+ # of the issuer. - can be inferred from the email domain of the issuer (e.g. a
144
+ # Google service account). Example: https://www.googleapis.com/oauth2/v1/certs
166
145
  # Corresponds to the JSON property `jwksUri`
167
146
  # @return [String]
168
147
  attr_accessor :jwks_uri
169
148
 
170
- # Defines the locations to extract the JWT.
171
- # JWT locations can be either from HTTP headers or URL query parameters.
172
- # The rule is that the first match wins. The checking order is: checking
173
- # all headers first, then URL query parameters.
174
- # If not specified, default to use following 3 locations:
175
- # 1) Authorization: Bearer
176
- # 2) x-goog-iap-jwt-assertion
177
- # 3) access_token query parameter
178
- # Default locations can be specified as followings:
179
- # jwt_locations:
180
- # - header: Authorization
181
- # value_prefix: "Bearer "
182
- # - header: x-goog-iap-jwt-assertion
183
- # - query: access_token
149
+ # Defines the locations to extract the JWT. JWT locations can be either from
150
+ # HTTP headers or URL query parameters. The rule is that the first match wins.
151
+ # The checking order is: checking all headers first, then URL query parameters.
152
+ # If not specified, default to use following 3 locations: 1) Authorization:
153
+ # Bearer 2) x-goog-iap-jwt-assertion 3) access_token query parameter Default
154
+ # locations can be specified as followings: jwt_locations: - header:
155
+ # Authorization value_prefix: "Bearer " - header: x-goog-iap-jwt-assertion -
156
+ # query: access_token
184
157
  # Corresponds to the JSON property `jwtLocations`
185
158
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::JwtLocation>]
186
159
  attr_accessor :jwt_locations
@@ -200,34 +173,26 @@ module Google
200
173
  end
201
174
  end
202
175
 
203
- # User-defined authentication requirements, including support for
204
- # [JSON Web Token
205
- # (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
176
+ # User-defined authentication requirements, including support for [JSON Web
177
+ # Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
206
178
  class AuthRequirement
207
179
  include Google::Apis::Core::Hashable
208
180
 
209
- # NOTE: This will be deprecated soon, once AuthProvider.audiences is
210
- # implemented and accepted in all the runtime components.
211
- # The list of JWT
212
- # [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#
213
- # section-4.1.3).
214
- # that are allowed to access. A JWT containing any of these audiences will
215
- # be accepted. When this setting is absent, only JWTs with audience
216
- # "https://Service_name/API_name"
217
- # will be accepted. For example, if no audiences are in the setting,
218
- # LibraryService API will only accept JWTs with the following audience
219
- # "https://library-example.googleapis.com/google.example.library.v1.
220
- # LibraryService".
221
- # Example:
222
- # audiences: bookstore_android.apps.googleusercontent.com,
223
- # bookstore_web.apps.googleusercontent.com
181
+ # NOTE: This will be deprecated soon, once AuthProvider.audiences is implemented
182
+ # and accepted in all the runtime components. The list of JWT [audiences](https:/
183
+ # /tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that
184
+ # are allowed to access. A JWT containing any of these audiences will be
185
+ # accepted. When this setting is absent, only JWTs with audience "https://
186
+ # Service_name/API_name" will be accepted. For example, if no audiences are in
187
+ # the setting, LibraryService API will only accept JWTs with the following
188
+ # audience "https://library-example.googleapis.com/google.example.library.v1.
189
+ # LibraryService". Example: audiences: bookstore_android.apps.googleusercontent.
190
+ # com, bookstore_web.apps.googleusercontent.com
224
191
  # Corresponds to the JSON property `audiences`
225
192
  # @return [String]
226
193
  attr_accessor :audiences
227
194
 
228
- # id from authentication provider.
229
- # Example:
230
- # provider_id: bookstore_auth
195
+ # id from authentication provider. Example: provider_id: bookstore_auth
231
196
  # Corresponds to the JSON property `providerId`
232
197
  # @return [String]
233
198
  attr_accessor :provider_id
@@ -243,18 +208,11 @@ module Google
243
208
  end
244
209
  end
245
210
 
246
- # `Authentication` defines the authentication configuration for an API.
247
- # Example for an API targeted for external use:
248
- # name: calendar.googleapis.com
249
- # authentication:
250
- # providers:
251
- # - id: google_calendar_auth
252
- # jwks_uri: https://www.googleapis.com/oauth2/v1/certs
253
- # issuer: https://securetoken.google.com
254
- # rules:
255
- # - selector: "*"
256
- # requirements:
257
- # provider_id: google_calendar_auth
211
+ # `Authentication` defines the authentication configuration for an API. Example
212
+ # for an API targeted for external use: name: calendar.googleapis.com
213
+ # authentication: providers: - id: google_calendar_auth jwks_uri: https://www.
214
+ # googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: -
215
+ # selector: "*" requirements: provider_id: google_calendar_auth
258
216
  class Authentication
259
217
  include Google::Apis::Core::Hashable
260
218
 
@@ -263,8 +221,8 @@ module Google
263
221
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::AuthProvider>]
264
222
  attr_accessor :providers
265
223
 
266
- # A list of authentication rules that apply to individual API methods.
267
- # **NOTE:** All service configuration rules follow "last one wins" order.
224
+ # A list of authentication rules that apply to individual API methods. **NOTE:**
225
+ # All service configuration rules follow "last one wins" order.
268
226
  # Corresponds to the JSON property `rules`
269
227
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::AuthenticationRule>]
270
228
  attr_accessor :rules
@@ -280,13 +238,11 @@ module Google
280
238
  end
281
239
  end
282
240
 
283
- # Authentication rules for the service.
284
- # By default, if a method has any authentication requirements, every request
285
- # must include a valid credential matching one of the requirements.
286
- # It's an error to include more than one kind of credential in a single
287
- # request.
288
- # If a method doesn't have any auth requirements, request credentials will be
289
- # ignored.
241
+ # Authentication rules for the service. By default, if a method has any
242
+ # authentication requirements, every request must include a valid credential
243
+ # matching one of the requirements. It's an error to include more than one kind
244
+ # of credential in a single request. If a method doesn't have any auth
245
+ # requirements, request credentials will be ignored.
290
246
  class AuthenticationRule
291
247
  include Google::Apis::Core::Hashable
292
248
 
@@ -297,19 +253,18 @@ module Google
297
253
  alias_method :allow_without_credential?, :allow_without_credential
298
254
 
299
255
  # OAuth scopes are a way to define data and permissions on data. For example,
300
- # there are scopes defined for "Read-only access to Google Calendar" and
301
- # "Access to Cloud Platform". Users can consent to a scope for an application,
302
- # giving it permission to access that data on their behalf.
303
- # OAuth scope specifications should be fairly coarse grained; a user will need
304
- # to see and understand the text description of what your scope means.
305
- # In most cases: use one or at most two OAuth scopes for an entire family of
306
- # products. If your product has multiple APIs, you should probably be sharing
307
- # the OAuth scope across all of those APIs.
308
- # When you need finer grained OAuth consent screens: talk with your product
309
- # management about how developers will use them in practice.
310
- # Please note that even though each of the canonical scopes is enough for a
311
- # request to be accepted and passed to the backend, a request can still fail
312
- # due to the backend requiring additional scopes or permissions.
256
+ # there are scopes defined for "Read-only access to Google Calendar" and "Access
257
+ # to Cloud Platform". Users can consent to a scope for an application, giving it
258
+ # permission to access that data on their behalf. OAuth scope specifications
259
+ # should be fairly coarse grained; a user will need to see and understand the
260
+ # text description of what your scope means. In most cases: use one or at most
261
+ # two OAuth scopes for an entire family of products. If your product has
262
+ # multiple APIs, you should probably be sharing the OAuth scope across all of
263
+ # those APIs. When you need finer grained OAuth consent screens: talk with your
264
+ # product management about how developers will use them in practice. Please note
265
+ # that even though each of the canonical scopes is enough for a request to be
266
+ # accepted and passed to the backend, a request can still fail due to the
267
+ # backend requiring additional scopes or permissions.
313
268
  # Corresponds to the JSON property `oauth`
314
269
  # @return [Google::Apis::ServiceconsumermanagementV1beta1::OAuthRequirements]
315
270
  attr_accessor :oauth
@@ -319,8 +274,8 @@ module Google
319
274
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::AuthRequirement>]
320
275
  attr_accessor :requirements
321
276
 
322
- # Selects the methods to which this rule applies.
323
- # Refer to selector for syntax details.
277
+ # Selects the methods to which this rule applies. Refer to selector for syntax
278
+ # details.
324
279
  # Corresponds to the JSON property `selector`
325
280
  # @return [String]
326
281
  attr_accessor :selector
@@ -342,8 +297,8 @@ module Google
342
297
  class Backend
343
298
  include Google::Apis::Core::Hashable
344
299
 
345
- # A list of API backend rules that apply to individual API methods.
346
- # **NOTE:** All service configuration rules follow "last one wins" order.
300
+ # A list of API backend rules that apply to individual API methods. **NOTE:**
301
+ # All service configuration rules follow "last one wins" order.
347
302
  # Corresponds to the JSON property `rules`
348
303
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::BackendRule>]
349
304
  attr_accessor :rules
@@ -362,21 +317,13 @@ module Google
362
317
  class BackendRule
363
318
  include Google::Apis::Core::Hashable
364
319
 
365
- # The address of the API backend.
366
- # The scheme is used to determine the backend protocol and security.
367
- # The following schemes are accepted:
368
- # SCHEME PROTOCOL SECURITY
369
- # http:// HTTP None
370
- # https:// HTTP TLS
371
- # grpc:// gRPC None
372
- # grpcs:// gRPC TLS
373
- # It is recommended to explicitly include a scheme. Leaving out the scheme
374
- # may cause constrasting behaviors across platforms.
375
- # If the port is unspecified, the default is:
376
- # - 80 for schemes without TLS
377
- # - 443 for schemes with TLS
378
- # For HTTP backends, use protocol
379
- # to specify the protocol version.
320
+ # The address of the API backend. The scheme is used to determine the backend
321
+ # protocol and security. The following schemes are accepted: SCHEME PROTOCOL
322
+ # SECURITY http:// HTTP None https:// HTTP TLS grpc:// gRPC None grpcs:// gRPC
323
+ # TLS It is recommended to explicitly include a scheme. Leaving out the scheme
324
+ # may cause constrasting behaviors across platforms. If the port is unspecified,
325
+ # the default is: - 80 for schemes without TLS - 443 for schemes with TLS For
326
+ # HTTP backends, use protocol to specify the protocol version.
380
327
  # Corresponds to the JSON property `address`
381
328
  # @return [String]
382
329
  attr_accessor :address
@@ -387,18 +334,18 @@ module Google
387
334
  # @return [Float]
388
335
  attr_accessor :deadline
389
336
 
390
- # When disable_auth is true, a JWT ID token won't be generated and the
391
- # original "Authorization" HTTP header will be preserved. If the header is
392
- # used to carry the original token and is expected by the backend, this
393
- # field must be set to true to preserve the header.
337
+ # When disable_auth is true, a JWT ID token won't be generated and the original "
338
+ # Authorization" HTTP header will be preserved. If the header is used to carry
339
+ # the original token and is expected by the backend, this field must be set to
340
+ # true to preserve the header.
394
341
  # Corresponds to the JSON property `disableAuth`
395
342
  # @return [Boolean]
396
343
  attr_accessor :disable_auth
397
344
  alias_method :disable_auth?, :disable_auth
398
345
 
399
- # The JWT audience is used when generating a JWT ID token for the backend.
400
- # This ID token will be added in the HTTP "authorization" header, and sent
401
- # to the backend.
346
+ # The JWT audience is used when generating a JWT ID token for the backend. This
347
+ # ID token will be added in the HTTP "authorization" header, and sent to the
348
+ # backend.
402
349
  # Corresponds to the JSON property `jwtAudience`
403
350
  # @return [String]
404
351
  attr_accessor :jwt_audience
@@ -409,8 +356,8 @@ module Google
409
356
  # @return [Float]
410
357
  attr_accessor :min_deadline
411
358
 
412
- # The number of seconds to wait for the completion of a long running
413
- # operation. The default is no deadline.
359
+ # The number of seconds to wait for the completion of a long running operation.
360
+ # The default is no deadline.
414
361
  # Corresponds to the JSON property `operationDeadline`
415
362
  # @return [Float]
416
363
  attr_accessor :operation_deadline
@@ -420,29 +367,21 @@ module Google
420
367
  # @return [String]
421
368
  attr_accessor :path_translation
422
369
 
423
- # The protocol used for sending a request to the backend.
424
- # The supported values are "http/1.1" and "h2".
425
- # The default value is inferred from the scheme in the
426
- # address field:
427
- # SCHEME PROTOCOL
428
- # http:// http/1.1
429
- # https:// http/1.1
430
- # grpc:// h2
431
- # grpcs:// h2
432
- # For secure HTTP backends (https://) that support HTTP/2, set this field
433
- # to "h2" for improved performance.
434
- # Configuring this field to non-default values is only supported for secure
435
- # HTTP backends. This field will be ignored for all other backends.
436
- # See
437
- # https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-
438
- # values.xhtml#alpn-protocol-ids
439
- # for more details on the supported values.
370
+ # The protocol used for sending a request to the backend. The supported values
371
+ # are "http/1.1" and "h2". The default value is inferred from the scheme in the
372
+ # address field: SCHEME PROTOCOL http:// http/1.1 https:// http/1.1 grpc:// h2
373
+ # grpcs:// h2 For secure HTTP backends (https://) that support HTTP/2, set this
374
+ # field to "h2" for improved performance. Configuring this field to non-default
375
+ # values is only supported for secure HTTP backends. This field will be ignored
376
+ # for all other backends. See https://www.iana.org/assignments/tls-extensiontype-
377
+ # values/tls-extensiontype-values.xhtml#alpn-protocol-ids for more details on
378
+ # the supported values.
440
379
  # Corresponds to the JSON property `protocol`
441
380
  # @return [String]
442
381
  attr_accessor :protocol
443
382
 
444
- # Selects the methods to which this rule applies.
445
- # Refer to selector for syntax details.
383
+ # Selects the methods to which this rule applies. Refer to selector for syntax
384
+ # details.
446
385
  # Corresponds to the JSON property `selector`
447
386
  # @return [String]
448
387
  attr_accessor :selector
@@ -465,42 +404,28 @@ module Google
465
404
  end
466
405
  end
467
406
 
468
- # Billing related configuration of the service.
469
- # The following example shows how to configure monitored resources and metrics
470
- # for billing, `consumer_destinations` is the only supported destination and
471
- # the monitored resources need at least one label key
472
- # `cloud.googleapis.com/location` to indicate the location of the billing
473
- # usage, using different monitored resources between monitoring and billing is
474
- # recommended so they can be evolved independently:
475
- # monitored_resources:
476
- # - type: library.googleapis.com/billing_branch
477
- # labels:
478
- # - key: cloud.googleapis.com/location
479
- # description: |
480
- # Predefined label to support billing location restriction.
481
- # - key: city
482
- # description: |
483
- # Custom label to define the city where the library branch is located
484
- # in.
485
- # - key: name
486
- # description: Custom label to define the name of the library branch.
487
- # metrics:
488
- # - name: library.googleapis.com/book/borrowed_count
489
- # metric_kind: DELTA
490
- # value_type: INT64
491
- # unit: "1"
492
- # billing:
493
- # consumer_destinations:
494
- # - monitored_resource: library.googleapis.com/billing_branch
495
- # metrics:
496
- # - library.googleapis.com/book/borrowed_count
407
+ # Billing related configuration of the service. The following example shows how
408
+ # to configure monitored resources and metrics for billing, `
409
+ # consumer_destinations` is the only supported destination and the monitored
410
+ # resources need at least one label key `cloud.googleapis.com/location` to
411
+ # indicate the location of the billing usage, using different monitored
412
+ # resources between monitoring and billing is recommended so they can be evolved
413
+ # independently: monitored_resources: - type: library.googleapis.com/
414
+ # billing_branch labels: - key: cloud.googleapis.com/location description: |
415
+ # Predefined label to support billing location restriction. - key: city
416
+ # description: | Custom label to define the city where the library branch is
417
+ # located in. - key: name description: Custom label to define the name of the
418
+ # library branch. metrics: - name: library.googleapis.com/book/borrowed_count
419
+ # metric_kind: DELTA value_type: INT64 unit: "1" billing: consumer_destinations:
420
+ # - monitored_resource: library.googleapis.com/billing_branch metrics: - library.
421
+ # googleapis.com/book/borrowed_count
497
422
  class Billing
498
423
  include Google::Apis::Core::Hashable
499
424
 
500
- # Billing configurations for sending metrics to the consumer project.
501
- # There can be multiple consumer destinations per service, each one must have
502
- # a different monitored resource type. A metric can be used in at most
503
- # one consumer destination.
425
+ # Billing configurations for sending metrics to the consumer project. There can
426
+ # be multiple consumer destinations per service, each one must have a different
427
+ # monitored resource type. A metric can be used in at most one consumer
428
+ # destination.
504
429
  # Corresponds to the JSON property `consumerDestinations`
505
430
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::BillingDestination>]
506
431
  attr_accessor :consumer_destinations
@@ -515,19 +440,19 @@ module Google
515
440
  end
516
441
  end
517
442
 
518
- # Configuration of a specific billing destination (Currently only support
519
- # bill against consumer project).
443
+ # Configuration of a specific billing destination (Currently only support bill
444
+ # against consumer project).
520
445
  class BillingDestination
521
446
  include Google::Apis::Core::Hashable
522
447
 
523
- # Names of the metrics to report to this billing destination.
524
- # Each name must be defined in Service.metrics section.
448
+ # Names of the metrics to report to this billing destination. Each name must be
449
+ # defined in Service.metrics section.
525
450
  # Corresponds to the JSON property `metrics`
526
451
  # @return [Array<String>]
527
452
  attr_accessor :metrics
528
453
 
529
- # The monitored resource type. The type must be defined in
530
- # Service.monitored_resources section.
454
+ # The monitored resource type. The type must be defined in Service.
455
+ # monitored_resources section.
531
456
  # Corresponds to the JSON property `monitoredResource`
532
457
  # @return [String]
533
458
  attr_accessor :monitored_resource
@@ -543,39 +468,24 @@ module Google
543
468
  end
544
469
  end
545
470
 
546
- # `Context` defines which contexts an API requests.
547
- # Example:
548
- # context:
549
- # rules:
550
- # - selector: "*"
551
- # requested:
552
- # - google.rpc.context.ProjectContext
553
- # - google.rpc.context.OriginContext
554
- # The above specifies that all methods in the API request
555
- # `google.rpc.context.ProjectContext` and
556
- # `google.rpc.context.OriginContext`.
557
- # Available context types are defined in package
558
- # `google.rpc.context`.
559
- # This also provides mechanism to whitelist any protobuf message extension that
560
- # can be sent in grpc metadata using “x-goog-ext-<extension_id>-bin” and
561
- # “x-goog-ext-<extension_id>-jspb” format. For example, list any service
562
- # specific protobuf types that can appear in grpc metadata as follows in your
563
- # yaml file:
564
- # Example:
565
- # context:
566
- # rules:
567
- # - selector: "google.example.library.v1.LibraryService.CreateBook"
568
- # allowed_request_extensions:
569
- # - google.foo.v1.NewExtension
570
- # allowed_response_extensions:
571
- # - google.foo.v1.NewExtension
572
- # You can also specify extension ID instead of fully qualified extension name
573
- # here.
471
+ # `Context` defines which contexts an API requests. Example: context: rules: -
472
+ # selector: "*" requested: - google.rpc.context.ProjectContext - google.rpc.
473
+ # context.OriginContext The above specifies that all methods in the API request `
474
+ # google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`.
475
+ # Available context types are defined in package `google.rpc.context`. This also
476
+ # provides mechanism to whitelist any protobuf message extension that can be
477
+ # sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format.
478
+ # For example, list any service specific protobuf types that can appear in grpc
479
+ # metadata as follows in your yaml file: Example: context: rules: - selector: "
480
+ # google.example.library.v1.LibraryService.CreateBook"
481
+ # allowed_request_extensions: - google.foo.v1.NewExtension
482
+ # allowed_response_extensions: - google.foo.v1.NewExtension You can also specify
483
+ # extension ID instead of fully qualified extension name here.
574
484
  class Context
575
485
  include Google::Apis::Core::Hashable
576
486
 
577
- # A list of RPC context rules that apply to individual API methods.
578
- # **NOTE:** All service configuration rules follow "last one wins" order.
487
+ # A list of RPC context rules that apply to individual API methods. **NOTE:**
488
+ # All service configuration rules follow "last one wins" order.
579
489
  # Corresponds to the JSON property `rules`
580
490
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::ContextRule>]
581
491
  attr_accessor :rules
@@ -595,14 +505,14 @@ module Google
595
505
  class ContextRule
596
506
  include Google::Apis::Core::Hashable
597
507
 
598
- # A list of full type names or extension IDs of extensions allowed in grpc
599
- # side channel from client to backend.
508
+ # A list of full type names or extension IDs of extensions allowed in grpc side
509
+ # channel from client to backend.
600
510
  # Corresponds to the JSON property `allowedRequestExtensions`
601
511
  # @return [Array<String>]
602
512
  attr_accessor :allowed_request_extensions
603
513
 
604
- # A list of full type names or extension IDs of extensions allowed in grpc
605
- # side channel from backend to client.
514
+ # A list of full type names or extension IDs of extensions allowed in grpc side
515
+ # channel from backend to client.
606
516
  # Corresponds to the JSON property `allowedResponseExtensions`
607
517
  # @return [Array<String>]
608
518
  attr_accessor :allowed_response_extensions
@@ -617,8 +527,8 @@ module Google
617
527
  # @return [Array<String>]
618
528
  attr_accessor :requested
619
529
 
620
- # Selects the methods to which this rule applies.
621
- # Refer to selector for syntax details.
530
+ # Selects the methods to which this rule applies. Refer to selector for syntax
531
+ # details.
622
532
  # Corresponds to the JSON property `selector`
623
533
  # @return [String]
624
534
  attr_accessor :selector
@@ -637,14 +547,14 @@ module Google
637
547
  end
638
548
  end
639
549
 
640
- # Selects and configures the service controller used by the service. The
641
- # service controller handles features like abuse, quota, billing, logging,
642
- # monitoring, etc.
550
+ # Selects and configures the service controller used by the service. The service
551
+ # controller handles features like abuse, quota, billing, logging, monitoring,
552
+ # etc.
643
553
  class Control
644
554
  include Google::Apis::Core::Hashable
645
555
 
646
- # The service control environment to use. If empty, no control plane
647
- # feature (like quota and billing) will be enabled.
556
+ # The service control environment to use. If empty, no control plane feature (
557
+ # like quota and billing) will be enabled.
648
558
  # Corresponds to the JSON property `environment`
649
559
  # @return [String]
650
560
  attr_accessor :environment
@@ -659,19 +569,15 @@ module Google
659
569
  end
660
570
  end
661
571
 
662
- # Customize service error responses. For example, list any service
663
- # specific protobuf types that can appear in error detail lists of
664
- # error responses.
665
- # Example:
666
- # custom_error:
667
- # types:
668
- # - google.foo.v1.CustomError
669
- # - google.foo.v1.AnotherError
572
+ # Customize service error responses. For example, list any service specific
573
+ # protobuf types that can appear in error detail lists of error responses.
574
+ # Example: custom_error: types: - google.foo.v1.CustomError - google.foo.v1.
575
+ # AnotherError
670
576
  class CustomError
671
577
  include Google::Apis::Core::Hashable
672
578
 
673
- # The list of custom error rules that apply to individual API messages.
674
- # **NOTE:** All service configuration rules follow "last one wins" order.
579
+ # The list of custom error rules that apply to individual API messages. **NOTE:**
580
+ # All service configuration rules follow "last one wins" order.
675
581
  # Corresponds to the JSON property `rules`
676
582
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::CustomErrorRule>]
677
583
  attr_accessor :rules
@@ -696,15 +602,15 @@ module Google
696
602
  class CustomErrorRule
697
603
  include Google::Apis::Core::Hashable
698
604
 
699
- # Mark this message as possible payload in error response. Otherwise,
700
- # objects of this type will be filtered when they appear in error payload.
605
+ # Mark this message as possible payload in error response. Otherwise, objects of
606
+ # this type will be filtered when they appear in error payload.
701
607
  # Corresponds to the JSON property `isErrorType`
702
608
  # @return [Boolean]
703
609
  attr_accessor :is_error_type
704
610
  alias_method :is_error_type?, :is_error_type
705
611
 
706
- # Selects messages to which this rule applies.
707
- # Refer to selector for syntax details.
612
+ # Selects messages to which this rule applies. Refer to selector for syntax
613
+ # details.
708
614
  # Corresponds to the JSON property `selector`
709
615
  # @return [String]
710
616
  attr_accessor :selector
@@ -745,56 +651,32 @@ module Google
745
651
  end
746
652
  end
747
653
 
748
- # `Documentation` provides the information for describing a service.
749
- # Example:
750
- # <pre><code>documentation:
751
- # summary: >
752
- # The Google Calendar API gives access
753
- # to most calendar features.
754
- # pages:
755
- # - name: Overview
756
- # content: &#40;== include google/foo/overview.md ==&#41;
757
- # - name: Tutorial
758
- # content: &#40;== include google/foo/tutorial.md ==&#41;
759
- # subpages;
760
- # - name: Java
761
- # content: &#40;== include google/foo/tutorial_java.md ==&#41;
762
- # rules:
763
- # - selector: google.calendar.Calendar.Get
764
- # description: >
765
- # ...
766
- # - selector: google.calendar.Calendar.Put
767
- # description: >
768
- # ...
769
- # </code></pre>
770
- # Documentation is provided in markdown syntax. In addition to
771
- # standard markdown features, definition lists, tables and fenced
772
- # code blocks are supported. Section headers can be provided and are
773
- # interpreted relative to the section nesting of the context where
774
- # a documentation fragment is embedded.
775
- # Documentation from the IDL is merged with documentation defined
776
- # via the config at normalization time, where documentation provided
777
- # by config rules overrides IDL provided.
778
- # A number of constructs specific to the API platform are supported
779
- # in documentation text.
780
- # In order to reference a proto element, the following
781
- # notation can be used:
782
- # <pre><code>&#91;fully.qualified.proto.name]&#91;]</code></pre>
783
- # To override the display text used for the link, this can be used:
784
- # <pre><code>&#91;display text]&#91;fully.qualified.proto.name]</code></pre>
785
- # Text can be excluded from doc using the following notation:
786
- # <pre><code>&#40;-- internal comment --&#41;</code></pre>
787
- # A few directives are available in documentation. Note that
788
- # directives must appear on a single line to be properly
789
- # identified. The `include` directive includes a markdown file from
790
- # an external source:
791
- # <pre><code>&#40;== include path/to/file ==&#41;</code></pre>
792
- # The `resource_for` directive marks a message to be the resource of
793
- # a collection in REST view. If it is not specified, tools attempt
794
- # to infer the resource from the operations in a collection:
795
- # <pre><code>&#40;== resource_for v1.shelves.books ==&#41;</code></pre>
796
- # The directive `suppress_warning` does not directly affect documentation
797
- # and is documented together with service config validation.
654
+ # `Documentation` provides the information for describing a service. Example:
655
+ # documentation: summary: > The Google Calendar API gives access to most
656
+ # calendar features. pages: - name: Overview content: (== include google/foo/
657
+ # overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==
658
+ # ) subpages; - name: Java content: (== include google/foo/tutorial_java.md ==)
659
+ # rules: - selector: google.calendar.Calendar.Get description: > ... - selector:
660
+ # google.calendar.Calendar.Put description: > ... Documentation is provided in
661
+ # markdown syntax. In addition to standard markdown features, definition lists,
662
+ # tables and fenced code blocks are supported. Section headers can be provided
663
+ # and are interpreted relative to the section nesting of the context where a
664
+ # documentation fragment is embedded. Documentation from the IDL is merged with
665
+ # documentation defined via the config at normalization time, where
666
+ # documentation provided by config rules overrides IDL provided. A number of
667
+ # constructs specific to the API platform are supported in documentation text.
668
+ # In order to reference a proto element, the following notation can be used: [
669
+ # fully.qualified.proto.name][] To override the display text used for the link,
670
+ # this can be used: [display text][fully.qualified.proto.name] Text can be
671
+ # excluded from doc using the following notation: (-- internal comment --) A few
672
+ # directives are available in documentation. Note that directives must appear on
673
+ # a single line to be properly identified. The `include` directive includes a
674
+ # markdown file from an external source: (== include path/to/file ==) The `
675
+ # resource_for` directive marks a message to be the resource of a collection in
676
+ # REST view. If it is not specified, tools attempt to infer the resource from
677
+ # the operations in a collection: (== resource_for v1.shelves.books ==) The
678
+ # directive `suppress_warning` does not directly affect documentation and is
679
+ # documented together with service config validation.
798
680
  class Documentation
799
681
  include Google::Apis::Core::Hashable
800
682
 
@@ -803,19 +685,11 @@ module Google
803
685
  # @return [String]
804
686
  attr_accessor :documentation_root_url
805
687
 
806
- # Declares a single overview page. For example:
807
- # <pre><code>documentation:
808
- # summary: ...
809
- # overview: &#40;== include overview.md ==&#41;
810
- # </code></pre>
811
- # This is a shortcut for the following declaration (using pages style):
812
- # <pre><code>documentation:
813
- # summary: ...
814
- # pages:
815
- # - name: Overview
816
- # content: &#40;== include overview.md ==&#41;
817
- # </code></pre>
818
- # Note: you cannot specify both `overview` field and `pages` field.
688
+ # Declares a single overview page. For example: documentation: summary: ...
689
+ # overview: (== include overview.md ==) This is a shortcut for the following
690
+ # declaration (using pages style): documentation: summary: ... pages: - name:
691
+ # Overview content: (== include overview.md ==) Note: you cannot specify both `
692
+ # overview` field and `pages` field.
819
693
  # Corresponds to the JSON property `overview`
820
694
  # @return [String]
821
695
  attr_accessor :overview
@@ -825,22 +699,20 @@ module Google
825
699
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::Page>]
826
700
  attr_accessor :pages
827
701
 
828
- # A list of documentation rules that apply to individual API elements.
829
- # **NOTE:** All service configuration rules follow "last one wins" order.
702
+ # A list of documentation rules that apply to individual API elements. **NOTE:**
703
+ # All service configuration rules follow "last one wins" order.
830
704
  # Corresponds to the JSON property `rules`
831
705
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::DocumentationRule>]
832
706
  attr_accessor :rules
833
707
 
834
- # Specifies the service root url if the default one (the service name
835
- # from the yaml file) is not suitable. This can be seen in any fully
836
- # specified service urls as well as sections that show a base that other
837
- # urls are relative to.
708
+ # Specifies the service root url if the default one (the service name from the
709
+ # yaml file) is not suitable. This can be seen in any fully specified service
710
+ # urls as well as sections that show a base that other urls are relative to.
838
711
  # Corresponds to the JSON property `serviceRootUrl`
839
712
  # @return [String]
840
713
  attr_accessor :service_root_url
841
714
 
842
- # A short summary of what the service does. Can only be provided by
843
- # plain text.
715
+ # A short summary of what the service does. Can only be provided by plain text.
844
716
  # Corresponds to the JSON property `summary`
845
717
  # @return [String]
846
718
  attr_accessor :summary
@@ -864,8 +736,8 @@ module Google
864
736
  class DocumentationRule
865
737
  include Google::Apis::Core::Hashable
866
738
 
867
- # Deprecation description of the selected element(s). It can be provided if
868
- # an element is marked as `deprecated`.
739
+ # Deprecation description of the selected element(s). It can be provided if an
740
+ # element is marked as `deprecated`.
869
741
  # Corresponds to the JSON property `deprecationDescription`
870
742
  # @return [String]
871
743
  attr_accessor :deprecation_description
@@ -897,13 +769,11 @@ module Google
897
769
  end
898
770
  end
899
771
 
900
- # A generic empty message that you can re-use to avoid defining duplicated
901
- # empty messages in your APIs. A typical example is to use it as the request
902
- # or the response type of an API method. For instance:
903
- # service Foo `
904
- # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
905
- # `
906
- # The JSON representation for `Empty` is empty JSON object ````.
772
+ # A generic empty message that you can re-use to avoid defining duplicated empty
773
+ # messages in your APIs. A typical example is to use it as the request or the
774
+ # response type of an API method. For instance: service Foo ` rpc Bar(google.
775
+ # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
776
+ # `Empty` is empty JSON object ````.
907
777
  class Empty
908
778
  include Google::Apis::Core::Hashable
909
779
 
@@ -916,35 +786,28 @@ module Google
916
786
  end
917
787
  end
918
788
 
919
- # `Endpoint` describes a network endpoint that serves a set of APIs.
920
- # A service may expose any number of endpoints, and all endpoints share the
921
- # same service configuration, such as quota configuration and monitoring
922
- # configuration.
923
- # Example service configuration:
924
- # name: library-example.googleapis.com
925
- # endpoints:
926
- # # Below entry makes 'google.example.library.v1.Library'
927
- # # API be served from endpoint address library-example.googleapis.com.
928
- # # It also allows HTTP OPTIONS calls to be passed to the backend, for
929
- # # it to decide whether the subsequent cross-origin request is
930
- # # allowed to proceed.
931
- # - name: library-example.googleapis.com
932
- # allow_cors: true
789
+ # `Endpoint` describes a network endpoint that serves a set of APIs. A service
790
+ # may expose any number of endpoints, and all endpoints share the same service
791
+ # configuration, such as quota configuration and monitoring configuration.
792
+ # Example service configuration: name: library-example.googleapis.com endpoints:
793
+ # # Below entry makes 'google.example.library.v1.Library' # API be served from
794
+ # endpoint address library-example.googleapis.com. # It also allows HTTP OPTIONS
795
+ # calls to be passed to the backend, for # it to decide whether the subsequent
796
+ # cross-origin request is # allowed to proceed. - name: library-example.
797
+ # googleapis.com allow_cors: true
933
798
  class Endpoint
934
799
  include Google::Apis::Core::Hashable
935
800
 
936
801
  # DEPRECATED: This field is no longer supported. Instead of using aliases,
937
- # please specify multiple google.api.Endpoint for each of the intended
938
- # aliases.
802
+ # please specify multiple google.api.Endpoint for each of the intended aliases.
939
803
  # Additional names that this endpoint will be hosted on.
940
804
  # Corresponds to the JSON property `aliases`
941
805
  # @return [Array<String>]
942
806
  attr_accessor :aliases
943
807
 
944
- # Allowing
945
- # [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka
946
- # cross-domain traffic, would allow the backends served from this endpoint to
947
- # receive and respond to HTTP OPTIONS requests. The response will be used by
808
+ # Allowing [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing),
809
+ # aka cross-domain traffic, would allow the backends served from this endpoint
810
+ # to receive and respond to HTTP OPTIONS requests. The response will be used by
948
811
  # the browser to determine whether the subsequent cross-origin request is
949
812
  # allowed to proceed.
950
813
  # Corresponds to the JSON property `allowCors`
@@ -958,10 +821,9 @@ module Google
958
821
  attr_accessor :name
959
822
 
960
823
  # The specification of an Internet routable address of API frontend that will
961
- # handle requests to this [API
962
- # Endpoint](https://cloud.google.com/apis/design/glossary). It should be
963
- # either a valid IPv4 address or a fully-qualified domain name. For example,
964
- # "8.8.8.8" or "myservice.appspot.com".
824
+ # handle requests to this [API Endpoint](https://cloud.google.com/apis/design/
825
+ # glossary). It should be either a valid IPv4 address or a fully-qualified
826
+ # domain name. For example, "8.8.8.8" or "myservice.appspot.com".
965
827
  # Corresponds to the JSON property `target`
966
828
  # @return [String]
967
829
  attr_accessor :target
@@ -998,8 +860,8 @@ module Google
998
860
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::Option>]
999
861
  attr_accessor :options
1000
862
 
1001
- # `SourceContext` represents information about the source of a
1002
- # protobuf element, like the file in which it is defined.
863
+ # `SourceContext` represents information about the source of a protobuf element,
864
+ # like the file in which it is defined.
1003
865
  # Corresponds to the JSON property `sourceContext`
1004
866
  # @return [Google::Apis::ServiceconsumermanagementV1beta1::SourceContext]
1005
867
  attr_accessor :source_context
@@ -1088,8 +950,8 @@ module Google
1088
950
  # @return [Fixnum]
1089
951
  attr_accessor :number
1090
952
 
1091
- # The index of the field type in `Type.oneofs`, for message or enumeration
1092
- # types. The first type has index 1; zero means the type is not in the list.
953
+ # The index of the field type in `Type.oneofs`, for message or enumeration types.
954
+ # The first type has index 1; zero means the type is not in the list.
1093
955
  # Corresponds to the JSON property `oneofIndex`
1094
956
  # @return [Fixnum]
1095
957
  attr_accessor :oneof_index
@@ -1105,8 +967,8 @@ module Google
1105
967
  attr_accessor :packed
1106
968
  alias_method :packed?, :packed
1107
969
 
1108
- # The field type URL, without the scheme, for message or enumeration
1109
- # types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`.
970
+ # The field type URL, without the scheme, for message or enumeration types.
971
+ # Example: `"type.googleapis.com/google.protobuf.Timestamp"`.
1110
972
  # Corresponds to the JSON property `typeUrl`
1111
973
  # @return [String]
1112
974
  attr_accessor :type_url
@@ -1131,23 +993,22 @@ module Google
1131
993
  end
1132
994
 
1133
995
  # Defines the HTTP configuration for an API service. It contains a list of
1134
- # HttpRule, each specifying the mapping of an RPC method
1135
- # to one or more HTTP REST API methods.
996
+ # HttpRule, each specifying the mapping of an RPC method to one or more HTTP
997
+ # REST API methods.
1136
998
  class Http
1137
999
  include Google::Apis::Core::Hashable
1138
1000
 
1139
1001
  # When set to true, URL path parameters will be fully URI-decoded except in
1140
1002
  # cases of single segment matches in reserved expansion, where "%2F" will be
1141
- # left encoded.
1142
- # The default behavior is to not decode RFC 6570 reserved characters in multi
1143
- # segment matches.
1003
+ # left encoded. The default behavior is to not decode RFC 6570 reserved
1004
+ # characters in multi segment matches.
1144
1005
  # Corresponds to the JSON property `fullyDecodeReservedExpansion`
1145
1006
  # @return [Boolean]
1146
1007
  attr_accessor :fully_decode_reserved_expansion
1147
1008
  alias_method :fully_decode_reserved_expansion?, :fully_decode_reserved_expansion
1148
1009
 
1149
- # A list of HTTP configuration rules that apply to individual API methods.
1150
- # **NOTE:** All service configuration rules follow "last one wins" order.
1010
+ # A list of HTTP configuration rules that apply to individual API methods. **
1011
+ # NOTE:** All service configuration rules follow "last one wins" order.
1151
1012
  # Corresponds to the JSON property `rules`
1152
1013
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::HttpRule>]
1153
1014
  attr_accessor :rules
@@ -1163,251 +1024,156 @@ module Google
1163
1024
  end
1164
1025
  end
1165
1026
 
1166
- # # gRPC Transcoding
1167
- # gRPC Transcoding is a feature for mapping between a gRPC method and one or
1168
- # more HTTP REST endpoints. It allows developers to build a single API service
1169
- # that supports both gRPC APIs and REST APIs. Many systems, including [Google
1170
- # APIs](https://github.com/googleapis/googleapis),
1171
- # [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC
1172
- # Gateway](https://github.com/grpc-ecosystem/grpc-gateway),
1173
- # and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature
1174
- # and use it for large scale production services.
1175
- # `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies
1176
- # how different portions of the gRPC request message are mapped to the URL
1177
- # path, URL query parameters, and HTTP request body. It also controls how the
1178
- # gRPC response message is mapped to the HTTP response body. `HttpRule` is
1027
+ # # gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC
1028
+ # method and one or more HTTP REST endpoints. It allows developers to build a
1029
+ # single API service that supports both gRPC APIs and REST APIs. Many systems,
1030
+ # including [Google APIs](https://github.com/googleapis/googleapis), [Cloud
1031
+ # Endpoints](https://cloud.google.com/endpoints), [gRPC Gateway](https://github.
1032
+ # com/grpc-ecosystem/grpc-gateway), and [Envoy](https://github.com/envoyproxy/
1033
+ # envoy) proxy support this feature and use it for large scale production
1034
+ # services. `HttpRule` defines the schema of the gRPC/REST mapping. The mapping
1035
+ # specifies how different portions of the gRPC request message are mapped to the
1036
+ # URL path, URL query parameters, and HTTP request body. It also controls how
1037
+ # the gRPC response message is mapped to the HTTP response body. `HttpRule` is
1179
1038
  # typically specified as an `google.api.http` annotation on the gRPC method.
1180
1039
  # Each mapping specifies a URL path template and an HTTP method. The path
1181
1040
  # template may refer to one or more fields in the gRPC request message, as long
1182
- # as each field is a non-repeated field with a primitive (non-message) type.
1183
- # The path template controls how fields of the request message are mapped to
1184
- # the URL path.
1185
- # Example:
1186
- # service Messaging `
1187
- # rpc GetMessage(GetMessageRequest) returns (Message) `
1188
- # option (google.api.http) = `
1189
- # get: "/v1/`name=messages/*`"
1190
- # `;
1191
- # `
1192
- # `
1193
- # message GetMessageRequest `
1194
- # string name = 1; // Mapped to URL path.
1195
- # `
1196
- # message Message `
1197
- # string text = 1; // The resource content.
1198
- # `
1199
- # This enables an HTTP REST to gRPC mapping as below:
1200
- # HTTP | gRPC
1201
- # -----|-----
1202
- # `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")`
1203
- # Any fields in the request message which are not bound by the path template
1204
- # automatically become HTTP query parameters if there is no HTTP request body.
1205
- # For example:
1206
- # service Messaging `
1207
- # rpc GetMessage(GetMessageRequest) returns (Message) `
1208
- # option (google.api.http) = `
1209
- # get:"/v1/messages/`message_id`"
1210
- # `;
1211
- # `
1212
- # `
1213
- # message GetMessageRequest `
1214
- # message SubMessage `
1215
- # string subfield = 1;
1216
- # `
1217
- # string message_id = 1; // Mapped to URL path.
1218
- # int64 revision = 2; // Mapped to URL query parameter `revision`.
1219
- # SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`.
1220
- # `
1221
- # This enables a HTTP JSON to RPC mapping as below:
1222
- # HTTP | gRPC
1223
- # -----|-----
1224
- # `GET /v1/messages/123456?revision=2&sub.subfield=foo` |
1225
- # `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield:
1226
- # "foo"))`
1227
- # Note that fields which are mapped to URL query parameters must have a
1228
- # primitive type or a repeated primitive type or a non-repeated message type.
1229
- # In the case of a repeated type, the parameter can be repeated in the URL
1230
- # as `...?param=A&param=B`. In the case of a message type, each field of the
1231
- # message is mapped to a separate parameter, such as
1232
- # `...?foo.a=A&foo.b=B&foo.c=C`.
1233
- # For HTTP methods that allow a request body, the `body` field
1234
- # specifies the mapping. Consider a REST update method on the
1235
- # message resource collection:
1236
- # service Messaging `
1237
- # rpc UpdateMessage(UpdateMessageRequest) returns (Message) `
1238
- # option (google.api.http) = `
1239
- # patch: "/v1/messages/`message_id`"
1240
- # body: "message"
1241
- # `;
1242
- # `
1243
- # `
1244
- # message UpdateMessageRequest `
1245
- # string message_id = 1; // mapped to the URL
1246
- # Message message = 2; // mapped to the body
1247
- # `
1248
- # The following HTTP JSON to RPC mapping is enabled, where the
1249
- # representation of the JSON in the request body is determined by
1250
- # protos JSON encoding:
1251
- # HTTP | gRPC
1252
- # -----|-----
1253
- # `PATCH /v1/messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id:
1254
- # "123456" message ` text: "Hi!" `)`
1255
- # The special name `*` can be used in the body mapping to define that
1256
- # every field not bound by the path template should be mapped to the
1257
- # request body. This enables the following alternative definition of
1258
- # the update method:
1259
- # service Messaging `
1260
- # rpc UpdateMessage(Message) returns (Message) `
1261
- # option (google.api.http) = `
1262
- # patch: "/v1/messages/`message_id`"
1263
- # body: "*"
1264
- # `;
1265
- # `
1266
- # `
1267
- # message Message `
1268
- # string message_id = 1;
1269
- # string text = 2;
1270
- # `
1271
- # The following HTTP JSON to RPC mapping is enabled:
1272
- # HTTP | gRPC
1273
- # -----|-----
1274
- # `PATCH /v1/messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id:
1275
- # "123456" text: "Hi!")`
1276
- # Note that when using `*` in the body mapping, it is not possible to
1277
- # have HTTP parameters, as all fields not bound by the path end in
1278
- # the body. This makes this option more rarely used in practice when
1279
- # defining REST APIs. The common usage of `*` is in custom methods
1280
- # which don't use the URL at all for transferring data.
1281
- # It is possible to define multiple HTTP methods for one RPC by using
1282
- # the `additional_bindings` option. Example:
1283
- # service Messaging `
1284
- # rpc GetMessage(GetMessageRequest) returns (Message) `
1285
- # option (google.api.http) = `
1286
- # get: "/v1/messages/`message_id`"
1287
- # additional_bindings `
1288
- # get: "/v1/users/`user_id`/messages/`message_id`"
1289
- # `
1290
- # `;
1291
- # `
1292
- # `
1293
- # message GetMessageRequest `
1294
- # string message_id = 1;
1295
- # string user_id = 2;
1296
- # `
1297
- # This enables the following two alternative HTTP JSON to RPC mappings:
1298
- # HTTP | gRPC
1299
- # -----|-----
1300
- # `GET /v1/messages/123456` | `GetMessage(message_id: "123456")`
1301
- # `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id:
1302
- # "123456")`
1303
- # ## Rules for HTTP mapping
1304
- # 1. Leaf request fields (recursive expansion nested messages in the request
1305
- # message) are classified into three categories:
1306
- # - Fields referred by the path template. They are passed via the URL path.
1307
- # - Fields referred by the HttpRule.body. They are passed via the HTTP
1308
- # request body.
1309
- # - All other fields are passed via the URL query parameters, and the
1310
- # parameter name is the field path in the request message. A repeated
1311
- # field can be represented as multiple query parameters under the same
1312
- # name.
1313
- # 2. If HttpRule.body is "*", there is no URL query parameter, all fields
1314
- # are passed via URL path and HTTP request body.
1315
- # 3. If HttpRule.body is omitted, there is no HTTP request body, all
1316
- # fields are passed via URL path and URL query parameters.
1317
- # ### Path template syntax
1318
- # Template = "/" Segments [ Verb ] ;
1319
- # Segments = Segment ` "/" Segment ` ;
1320
- # Segment = "*" | "**" | LITERAL | Variable ;
1321
- # Variable = "`" FieldPath [ "=" Segments ] "`" ;
1322
- # FieldPath = IDENT ` "." IDENT ` ;
1323
- # Verb = ":" LITERAL ;
1324
- # The syntax `*` matches a single URL path segment. The syntax `**` matches
1325
- # zero or more URL path segments, which must be the last part of the URL path
1326
- # except the `Verb`.
1327
- # The syntax `Variable` matches part of the URL path as specified by its
1328
- # template. A variable template must not contain other variables. If a variable
1329
- # matches a single path segment, its template may be omitted, e.g. ``var``
1330
- # is equivalent to ``var=*``.
1331
- # The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL`
1332
- # contains any reserved character, such characters should be percent-encoded
1333
- # before the matching.
1334
- # If a variable contains exactly one path segment, such as `"`var`"` or
1335
- # `"`var=*`"`, when such a variable is expanded into a URL path on the client
1336
- # side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The
1337
- # server side does the reverse decoding. Such variables show up in the
1338
- # [Discovery
1339
- # Document](https://developers.google.com/discovery/v1/reference/apis) as
1340
- # ``var``.
1341
- # If a variable contains multiple path segments, such as `"`var=foo/*`"`
1342
- # or `"`var=**`"`, when such a variable is expanded into a URL path on the
1343
- # client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.
1344
- # The server side does the reverse decoding, except "%2F" and "%2f" are left
1345
- # unchanged. Such variables show up in the
1346
- # [Discovery
1347
- # Document](https://developers.google.com/discovery/v1/reference/apis) as
1348
- # ``+var``.
1349
- # ## Using gRPC API Service Configuration
1350
- # gRPC API Service Configuration (service config) is a configuration language
1351
- # for configuring a gRPC service to become a user-facing product. The
1352
- # service config is simply the YAML representation of the `google.api.Service`
1353
- # proto message.
1041
+ # as each field is a non-repeated field with a primitive (non-message) type. The
1042
+ # path template controls how fields of the request message are mapped to the URL
1043
+ # path. Example: service Messaging ` rpc GetMessage(GetMessageRequest) returns (
1044
+ # Message) ` option (google.api.http) = ` get: "/v1/`name=messages/*`" `; ` `
1045
+ # message GetMessageRequest ` string name = 1; // Mapped to URL path. ` message
1046
+ # Message ` string text = 1; // The resource content. ` This enables an HTTP
1047
+ # REST to gRPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/
1048
+ # 123456` | `GetMessage(name: "messages/123456")` Any fields in the request
1049
+ # message which are not bound by the path template automatically become HTTP
1050
+ # query parameters if there is no HTTP request body. For example: service
1051
+ # Messaging ` rpc GetMessage(GetMessageRequest) returns (Message) ` option (
1052
+ # google.api.http) = ` get:"/v1/messages/`message_id`" `; ` ` message
1053
+ # GetMessageRequest ` message SubMessage ` string subfield = 1; ` string
1054
+ # message_id = 1; // Mapped to URL path. int64 revision = 2; // Mapped to URL
1055
+ # query parameter `revision`. SubMessage sub = 3; // Mapped to URL query
1056
+ # parameter `sub.subfield`. ` This enables a HTTP JSON to RPC mapping as below:
1057
+ # HTTP | gRPC -----|----- `GET /v1/messages/123456?revision=2&sub.subfield=foo` |
1058
+ # `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: "foo"))
1059
+ # ` Note that fields which are mapped to URL query parameters must have a
1060
+ # primitive type or a repeated primitive type or a non-repeated message type. In
1061
+ # the case of a repeated type, the parameter can be repeated in the URL as `...?
1062
+ # param=A&param=B`. In the case of a message type, each field of the message is
1063
+ # mapped to a separate parameter, such as `...?foo.a=A&foo.b=B&foo.c=C`. For
1064
+ # HTTP methods that allow a request body, the `body` field specifies the mapping.
1065
+ # Consider a REST update method on the message resource collection: service
1066
+ # Messaging ` rpc UpdateMessage(UpdateMessageRequest) returns (Message) ` option
1067
+ # (google.api.http) = ` patch: "/v1/messages/`message_id`" body: "message" `; ` `
1068
+ # message UpdateMessageRequest ` string message_id = 1; // mapped to the URL
1069
+ # Message message = 2; // mapped to the body ` The following HTTP JSON to RPC
1070
+ # mapping is enabled, where the representation of the JSON in the request body
1071
+ # is determined by protos JSON encoding: HTTP | gRPC -----|----- `PATCH /v1/
1072
+ # messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id: "123456"
1073
+ # message ` text: "Hi!" `)` The special name `*` can be used in the body mapping
1074
+ # to define that every field not bound by the path template should be mapped to
1075
+ # the request body. This enables the following alternative definition of the
1076
+ # update method: service Messaging ` rpc UpdateMessage(Message) returns (Message)
1077
+ # ` option (google.api.http) = ` patch: "/v1/messages/`message_id`" body: "*" `;
1078
+ # ` ` message Message ` string message_id = 1; string text = 2; ` The following
1079
+ # HTTP JSON to RPC mapping is enabled: HTTP | gRPC -----|----- `PATCH /v1/
1080
+ # messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id: "123456" text:
1081
+ # "Hi!")` Note that when using `*` in the body mapping, it is not possible to
1082
+ # have HTTP parameters, as all fields not bound by the path end in the body.
1083
+ # This makes this option more rarely used in practice when defining REST APIs.
1084
+ # The common usage of `*` is in custom methods which don't use the URL at all
1085
+ # for transferring data. It is possible to define multiple HTTP methods for one
1086
+ # RPC by using the `additional_bindings` option. Example: service Messaging `
1087
+ # rpc GetMessage(GetMessageRequest) returns (Message) ` option (google.api.http)
1088
+ # = ` get: "/v1/messages/`message_id`" additional_bindings ` get: "/v1/users/`
1089
+ # user_id`/messages/`message_id`" ` `; ` ` message GetMessageRequest ` string
1090
+ # message_id = 1; string user_id = 2; ` This enables the following two
1091
+ # alternative HTTP JSON to RPC mappings: HTTP | gRPC -----|----- `GET /v1/
1092
+ # messages/123456` | `GetMessage(message_id: "123456")` `GET /v1/users/me/
1093
+ # messages/123456` | `GetMessage(user_id: "me" message_id: "123456")` ## Rules
1094
+ # for HTTP mapping 1. Leaf request fields (recursive expansion nested messages
1095
+ # in the request message) are classified into three categories: - Fields
1096
+ # referred by the path template. They are passed via the URL path. - Fields
1097
+ # referred by the HttpRule.body. They are passed via the HTTP request body. -
1098
+ # All other fields are passed via the URL query parameters, and the parameter
1099
+ # name is the field path in the request message. A repeated field can be
1100
+ # represented as multiple query parameters under the same name. 2. If HttpRule.
1101
+ # body is "*", there is no URL query parameter, all fields are passed via URL
1102
+ # path and HTTP request body. 3. If HttpRule.body is omitted, there is no HTTP
1103
+ # request body, all fields are passed via URL path and URL query parameters. ###
1104
+ # Path template syntax Template = "/" Segments [ Verb ] ; Segments = Segment ` "/
1105
+ # " Segment ` ; Segment = "*" | "**" | LITERAL | Variable ; Variable = "`"
1106
+ # FieldPath [ "=" Segments ] "`" ; FieldPath = IDENT ` "." IDENT ` ; Verb = ":"
1107
+ # LITERAL ; The syntax `*` matches a single URL path segment. The syntax `**`
1108
+ # matches zero or more URL path segments, which must be the last part of the URL
1109
+ # path except the `Verb`. The syntax `Variable` matches part of the URL path as
1110
+ # specified by its template. A variable template must not contain other
1111
+ # variables. If a variable matches a single path segment, its template may be
1112
+ # omitted, e.g. ``var`` is equivalent to ``var=*``. The syntax `LITERAL` matches
1113
+ # literal text in the URL path. If the `LITERAL` contains any reserved character,
1114
+ # such characters should be percent-encoded before the matching. If a variable
1115
+ # contains exactly one path segment, such as `"`var`"` or `"`var=*`"`, when such
1116
+ # a variable is expanded into a URL path on the client side, all characters
1117
+ # except `[-_.~0-9a-zA-Z]` are percent-encoded. The server side does the reverse
1118
+ # decoding. Such variables show up in the [Discovery Document](https://
1119
+ # developers.google.com/discovery/v1/reference/apis) as ``var``. If a variable
1120
+ # contains multiple path segments, such as `"`var=foo/*`"` or `"`var=**`"`, when
1121
+ # such a variable is expanded into a URL path on the client side, all characters
1122
+ # except `[-_.~/0-9a-zA-Z]` are percent-encoded. The server side does the
1123
+ # reverse decoding, except "%2F" and "%2f" are left unchanged. Such variables
1124
+ # show up in the [Discovery Document](https://developers.google.com/discovery/v1/
1125
+ # reference/apis) as ``+var``. ## Using gRPC API Service Configuration gRPC API
1126
+ # Service Configuration (service config) is a configuration language for
1127
+ # configuring a gRPC service to become a user-facing product. The service config
1128
+ # is simply the YAML representation of the `google.api.Service` proto message.
1354
1129
  # As an alternative to annotating your proto file, you can configure gRPC
1355
- # transcoding in your service config YAML files. You do this by specifying a
1356
- # `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same
1357
- # effect as the proto annotation. This can be particularly useful if you
1358
- # have a proto that is reused in multiple services. Note that any transcoding
1359
- # specified in the service config will override any matching transcoding
1360
- # configuration in the proto.
1361
- # Example:
1362
- # http:
1363
- # rules:
1364
- # # Selects a gRPC method and applies HttpRule to it.
1365
- # - selector: example.v1.Messaging.GetMessage
1366
- # get: /v1/messages/`message_id`/`sub.subfield`
1367
- # ## Special notes
1368
- # When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the
1369
- # proto to JSON conversion must follow the [proto3
1370
- # specification](https://developers.google.com/protocol-buffers/docs/proto3#json)
1371
- # .
1372
- # While the single segment variable follows the semantics of
1373
- # [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String
1374
- # Expansion, the multi segment variable **does not** follow RFC 6570 Section
1375
- # 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion
1376
- # does not expand special characters like `?` and `#`, which would lead
1377
- # to invalid URLs. As the result, gRPC Transcoding uses a custom encoding
1378
- # for multi segment variables.
1379
- # The path variables **must not** refer to any repeated or mapped field,
1380
- # because client libraries are not capable of handling such variable expansion.
1381
- # The path variables **must not** capture the leading "/" character. The reason
1382
- # is that the most common use case "`var`" does not capture the leading "/"
1383
- # character. For consistency, all path variables must share the same behavior.
1384
- # Repeated message fields must not be mapped to URL query parameters, because
1385
- # no client library can support such complicated mapping.
1386
- # If an API needs to use a JSON array for request or response body, it can map
1387
- # the request or response body to a repeated field. However, some gRPC
1388
- # Transcoding implementations may not support this feature.
1130
+ # transcoding in your service config YAML files. You do this by specifying a `
1131
+ # HttpRule` that maps the gRPC method to a REST endpoint, achieving the same
1132
+ # effect as the proto annotation. This can be particularly useful if you have a
1133
+ # proto that is reused in multiple services. Note that any transcoding specified
1134
+ # in the service config will override any matching transcoding configuration in
1135
+ # the proto. Example: http: rules: # Selects a gRPC method and applies HttpRule
1136
+ # to it. - selector: example.v1.Messaging.GetMessage get: /v1/messages/`
1137
+ # message_id`/`sub.subfield` ## Special notes When gRPC Transcoding is used to
1138
+ # map a gRPC to JSON REST endpoints, the proto to JSON conversion must follow
1139
+ # the [proto3 specification](https://developers.google.com/protocol-buffers/docs/
1140
+ # proto3#json). While the single segment variable follows the semantics of [RFC
1141
+ # 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String
1142
+ # Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.
1143
+ # 3 Reserved Expansion. The reason is that the Reserved Expansion does not
1144
+ # expand special characters like `?` and `#`, which would lead to invalid URLs.
1145
+ # As the result, gRPC Transcoding uses a custom encoding for multi segment
1146
+ # variables. The path variables **must not** refer to any repeated or mapped
1147
+ # field, because client libraries are not capable of handling such variable
1148
+ # expansion. The path variables **must not** capture the leading "/" character.
1149
+ # The reason is that the most common use case "`var`" does not capture the
1150
+ # leading "/" character. For consistency, all path variables must share the same
1151
+ # behavior. Repeated message fields must not be mapped to URL query parameters,
1152
+ # because no client library can support such complicated mapping. If an API
1153
+ # needs to use a JSON array for request or response body, it can map the request
1154
+ # or response body to a repeated field. However, some gRPC Transcoding
1155
+ # implementations may not support this feature.
1389
1156
  class HttpRule
1390
1157
  include Google::Apis::Core::Hashable
1391
1158
 
1392
- # Additional HTTP bindings for the selector. Nested bindings must
1393
- # not contain an `additional_bindings` field themselves (that is,
1394
- # the nesting may only be one level deep).
1159
+ # Additional HTTP bindings for the selector. Nested bindings must not contain an
1160
+ # `additional_bindings` field themselves (that is, the nesting may only be one
1161
+ # level deep).
1395
1162
  # Corresponds to the JSON property `additionalBindings`
1396
1163
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::HttpRule>]
1397
1164
  attr_accessor :additional_bindings
1398
1165
 
1399
- # When this flag is set to true, HTTP requests will be allowed to invoke a
1400
- # half-duplex streaming method.
1166
+ # When this flag is set to true, HTTP requests will be allowed to invoke a half-
1167
+ # duplex streaming method.
1401
1168
  # Corresponds to the JSON property `allowHalfDuplex`
1402
1169
  # @return [Boolean]
1403
1170
  attr_accessor :allow_half_duplex
1404
1171
  alias_method :allow_half_duplex?, :allow_half_duplex
1405
1172
 
1406
- # The name of the request field whose value is mapped to the HTTP request
1407
- # body, or `*` for mapping all request fields not captured by the path
1408
- # pattern to the HTTP body, or omitted for not having any HTTP request body.
1409
- # NOTE: the referred field must be present at the top-level of the request
1410
- # message type.
1173
+ # The name of the request field whose value is mapped to the HTTP request body,
1174
+ # or `*` for mapping all request fields not captured by the path pattern to the
1175
+ # HTTP body, or omitted for not having any HTTP request body. NOTE: the referred
1176
+ # field must be present at the top-level of the request message type.
1411
1177
  # Corresponds to the JSON property `body`
1412
1178
  # @return [String]
1413
1179
  attr_accessor :body
@@ -1422,8 +1188,7 @@ module Google
1422
1188
  # @return [String]
1423
1189
  attr_accessor :delete
1424
1190
 
1425
- # Maps to HTTP GET. Used for listing and getting information about
1426
- # resources.
1191
+ # Maps to HTTP GET. Used for listing and getting information about resources.
1427
1192
  # Corresponds to the JSON property `get`
1428
1193
  # @return [String]
1429
1194
  attr_accessor :get
@@ -1444,16 +1209,15 @@ module Google
1444
1209
  attr_accessor :put
1445
1210
 
1446
1211
  # Optional. The name of the response field whose value is mapped to the HTTP
1447
- # response body. When omitted, the entire response message will be used
1448
- # as the HTTP response body.
1449
- # NOTE: The referred field must be present at the top-level of the response
1450
- # message type.
1212
+ # response body. When omitted, the entire response message will be used as the
1213
+ # HTTP response body. NOTE: The referred field must be present at the top-level
1214
+ # of the response message type.
1451
1215
  # Corresponds to the JSON property `responseBody`
1452
1216
  # @return [String]
1453
1217
  attr_accessor :response_body
1454
1218
 
1455
- # Selects a method to which this rule applies.
1456
- # Refer to selector for syntax details.
1219
+ # Selects a method to which this rule applies. Refer to selector for syntax
1220
+ # details.
1457
1221
  # Corresponds to the JSON property `selector`
1458
1222
  # @return [String]
1459
1223
  attr_accessor :selector
@@ -1492,13 +1256,12 @@ module Google
1492
1256
  # @return [String]
1493
1257
  attr_accessor :query
1494
1258
 
1495
- # The value prefix. The value format is "value_prefix`token`"
1496
- # Only applies to "in" header type. Must be empty for "in" query type.
1497
- # If not empty, the header value has to match (case sensitive) this prefix.
1498
- # If not matched, JWT will not be extracted. If matched, JWT will be
1499
- # extracted after the prefix is removed.
1500
- # For example, for "Authorization: Bearer `JWT`",
1501
- # value_prefix="Bearer " with a space at the end.
1259
+ # The value prefix. The value format is "value_prefix`token`" Only applies to "
1260
+ # in" header type. Must be empty for "in" query type. If not empty, the header
1261
+ # value has to match (case sensitive) this prefix. If not matched, JWT will not
1262
+ # be extracted. If matched, JWT will be extracted after the prefix is removed.
1263
+ # For example, for "Authorization: Bearer `JWT`", value_prefix="Bearer " with a
1264
+ # space at the end.
1502
1265
  # Corresponds to the JSON property `valuePrefix`
1503
1266
  # @return [String]
1504
1267
  attr_accessor :value_prefix
@@ -1546,39 +1309,35 @@ module Google
1546
1309
  end
1547
1310
  end
1548
1311
 
1549
- # A description of a log type. Example in YAML format:
1550
- # - name: library.googleapis.com/activity_history
1551
- # description: The history of borrowing and returning library items.
1552
- # display_name: Activity
1553
- # labels:
1554
- # - key: /customer_id
1312
+ # A description of a log type. Example in YAML format: - name: library.
1313
+ # googleapis.com/activity_history description: The history of borrowing and
1314
+ # returning library items. display_name: Activity labels: - key: /customer_id
1555
1315
  # description: Identifier of a library customer
1556
1316
  class LogDescriptor
1557
1317
  include Google::Apis::Core::Hashable
1558
1318
 
1559
- # A human-readable description of this log. This information appears in
1560
- # the documentation and can contain details.
1319
+ # A human-readable description of this log. This information appears in the
1320
+ # documentation and can contain details.
1561
1321
  # Corresponds to the JSON property `description`
1562
1322
  # @return [String]
1563
1323
  attr_accessor :description
1564
1324
 
1565
- # The human-readable name for this log. This information appears on
1566
- # the user interface and should be concise.
1325
+ # The human-readable name for this log. This information appears on the user
1326
+ # interface and should be concise.
1567
1327
  # Corresponds to the JSON property `displayName`
1568
1328
  # @return [String]
1569
1329
  attr_accessor :display_name
1570
1330
 
1571
- # The set of labels that are available to describe a specific log entry.
1572
- # Runtime requests that contain labels not specified here are
1573
- # considered invalid.
1331
+ # The set of labels that are available to describe a specific log entry. Runtime
1332
+ # requests that contain labels not specified here are considered invalid.
1574
1333
  # Corresponds to the JSON property `labels`
1575
1334
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::LabelDescriptor>]
1576
1335
  attr_accessor :labels
1577
1336
 
1578
- # The name of the log. It must be less than 512 characters long and can
1579
- # include the following characters: upper- and lower-case alphanumeric
1580
- # characters [A-Za-z0-9], and punctuation characters including
1581
- # slash, underscore, hyphen, period [/_-.].
1337
+ # The name of the log. It must be less than 512 characters long and can include
1338
+ # the following characters: upper- and lower-case alphanumeric characters [A-Za-
1339
+ # z0-9], and punctuation characters including slash, underscore, hyphen, period [
1340
+ # /_-.].
1582
1341
  # Corresponds to the JSON property `name`
1583
1342
  # @return [String]
1584
1343
  attr_accessor :name
@@ -1596,48 +1355,30 @@ module Google
1596
1355
  end
1597
1356
  end
1598
1357
 
1599
- # Logging configuration of the service.
1600
- # The following example shows how to configure logs to be sent to the
1601
- # producer and consumer projects. In the example, the `activity_history`
1602
- # log is sent to both the producer and consumer projects, whereas the
1603
- # `purchase_history` log is only sent to the producer project.
1604
- # monitored_resources:
1605
- # - type: library.googleapis.com/branch
1606
- # labels:
1607
- # - key: /city
1608
- # description: The city where the library branch is located in.
1609
- # - key: /name
1610
- # description: The name of the branch.
1611
- # logs:
1612
- # - name: activity_history
1613
- # labels:
1614
- # - key: /customer_id
1615
- # - name: purchase_history
1616
- # logging:
1617
- # producer_destinations:
1618
- # - monitored_resource: library.googleapis.com/branch
1619
- # logs:
1620
- # - activity_history
1621
- # - purchase_history
1622
- # consumer_destinations:
1623
- # - monitored_resource: library.googleapis.com/branch
1624
- # logs:
1625
- # - activity_history
1358
+ # Logging configuration of the service. The following example shows how to
1359
+ # configure logs to be sent to the producer and consumer projects. In the
1360
+ # example, the `activity_history` log is sent to both the producer and consumer
1361
+ # projects, whereas the `purchase_history` log is only sent to the producer
1362
+ # project. monitored_resources: - type: library.googleapis.com/branch labels: -
1363
+ # key: /city description: The city where the library branch is located in. - key:
1364
+ # /name description: The name of the branch. logs: - name: activity_history
1365
+ # labels: - key: /customer_id - name: purchase_history logging:
1366
+ # producer_destinations: - monitored_resource: library.googleapis.com/branch
1367
+ # logs: - activity_history - purchase_history consumer_destinations: -
1368
+ # monitored_resource: library.googleapis.com/branch logs: - activity_history
1626
1369
  class Logging
1627
1370
  include Google::Apis::Core::Hashable
1628
1371
 
1629
- # Logging configurations for sending logs to the consumer project.
1630
- # There can be multiple consumer destinations, each one must have a
1631
- # different monitored resource type. A log can be used in at most
1632
- # one consumer destination.
1372
+ # Logging configurations for sending logs to the consumer project. There can be
1373
+ # multiple consumer destinations, each one must have a different monitored
1374
+ # resource type. A log can be used in at most one consumer destination.
1633
1375
  # Corresponds to the JSON property `consumerDestinations`
1634
1376
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::LoggingDestination>]
1635
1377
  attr_accessor :consumer_destinations
1636
1378
 
1637
- # Logging configurations for sending logs to the producer project.
1638
- # There can be multiple producer destinations, each one must have a
1639
- # different monitored resource type. A log can be used in at most
1640
- # one producer destination.
1379
+ # Logging configurations for sending logs to the producer project. There can be
1380
+ # multiple producer destinations, each one must have a different monitored
1381
+ # resource type. A log can be used in at most one producer destination.
1641
1382
  # Corresponds to the JSON property `producerDestinations`
1642
1383
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::LoggingDestination>]
1643
1384
  attr_accessor :producer_destinations
@@ -1653,21 +1394,20 @@ module Google
1653
1394
  end
1654
1395
  end
1655
1396
 
1656
- # Configuration of a specific logging destination (the producer project
1657
- # or the consumer project).
1397
+ # Configuration of a specific logging destination (the producer project or the
1398
+ # consumer project).
1658
1399
  class LoggingDestination
1659
1400
  include Google::Apis::Core::Hashable
1660
1401
 
1661
- # Names of the logs to be sent to this destination. Each name must
1662
- # be defined in the Service.logs section. If the log name is
1663
- # not a domain scoped name, it will be automatically prefixed with
1664
- # the service name followed by "/".
1402
+ # Names of the logs to be sent to this destination. Each name must be defined in
1403
+ # the Service.logs section. If the log name is not a domain scoped name, it will
1404
+ # be automatically prefixed with the service name followed by "/".
1665
1405
  # Corresponds to the JSON property `logs`
1666
1406
  # @return [Array<String>]
1667
1407
  attr_accessor :logs
1668
1408
 
1669
- # The monitored resource type. The type must be defined in the
1670
- # Service.monitored_resources section.
1409
+ # The monitored resource type. The type must be defined in the Service.
1410
+ # monitored_resources section.
1671
1411
  # Corresponds to the JSON property `monitoredResource`
1672
1412
  # @return [String]
1673
1413
  attr_accessor :monitored_resource
@@ -1743,15 +1483,6 @@ module Google
1743
1483
  # Defines a metric type and its schema. Once a metric descriptor is created,
1744
1484
  # deleting or altering it stops data collection and makes the metric type's
1745
1485
  # existing data unusable.
1746
- # The following are specific rules for service defined Monitoring metric
1747
- # descriptors:
1748
- # * `type`, `metric_kind`, `value_type`, `description`, `display_name`,
1749
- # `launch_stage` fields are all required. The `unit` field must be specified
1750
- # if the `value_type` is any of DOUBLE, INT64, DISTRIBUTION.
1751
- # * Maximum of default 500 metric descriptors per service is allowed.
1752
- # * Maximum of default 10 labels per metric descriptor is allowed.
1753
- # The default maximum limit can be overridden. Please follow
1754
- # https://cloud.google.com/monitoring/quotas
1755
1486
  class MetricDescriptor
1756
1487
  include Google::Apis::Core::Hashable
1757
1488
 
@@ -1760,25 +1491,18 @@ module Google
1760
1491
  # @return [String]
1761
1492
  attr_accessor :description
1762
1493
 
1763
- # A concise name for the metric, which can be displayed in user interfaces.
1764
- # Use sentence case without an ending period, for example "Request count".
1765
- # This field is optional but it is recommended to be set for any metrics
1766
- # associated with user-visible concepts, such as Quota.
1494
+ # A concise name for the metric, which can be displayed in user interfaces. Use
1495
+ # sentence case without an ending period, for example "Request count". This
1496
+ # field is optional but it is recommended to be set for any metrics associated
1497
+ # with user-visible concepts, such as Quota.
1767
1498
  # Corresponds to the JSON property `displayName`
1768
1499
  # @return [String]
1769
1500
  attr_accessor :display_name
1770
1501
 
1771
- # The set of labels that can be used to describe a specific
1772
- # instance of this metric type.
1773
- # The label key name must follow:
1774
- # * Only upper and lower-case letters, digits and underscores (_) are
1775
- # allowed.
1776
- # * Label name must start with a letter or digit.
1777
- # * The maximum length of a label name is 100 characters.
1778
- # For example, the
1779
- # `appengine.googleapis.com/http/server/response_latencies` metric
1780
- # type has a label for the HTTP response code, `response_code`, so
1781
- # you can look at latencies for successful responses or just
1502
+ # The set of labels that can be used to describe a specific instance of this
1503
+ # metric type. For example, the `appengine.googleapis.com/http/server/
1504
+ # response_latencies` metric type has a label for the HTTP response code, `
1505
+ # response_code`, so you can look at latencies for successful responses or just
1782
1506
  # for responses that failed.
1783
1507
  # Corresponds to the JSON property `labels`
1784
1508
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::LabelDescriptor>]
@@ -1794,17 +1518,16 @@ module Google
1794
1518
  # @return [Google::Apis::ServiceconsumermanagementV1beta1::MetricDescriptorMetadata]
1795
1519
  attr_accessor :metadata
1796
1520
 
1797
- # Whether the metric records instantaneous values, changes to a value, etc.
1798
- # Some combinations of `metric_kind` and `value_type` might not be supported.
1521
+ # Whether the metric records instantaneous values, changes to a value, etc. Some
1522
+ # combinations of `metric_kind` and `value_type` might not be supported.
1799
1523
  # Corresponds to the JSON property `metricKind`
1800
1524
  # @return [String]
1801
1525
  attr_accessor :metric_kind
1802
1526
 
1803
- # Read-only. If present, then a time
1804
- # series, which is identified partially by
1805
- # a metric type and a MonitoredResourceDescriptor, that is associated
1806
- # with this metric type can only be associated with one of the monitored
1807
- # resource types listed here.
1527
+ # Read-only. If present, then a time series, which is identified partially by a
1528
+ # metric type and a MonitoredResourceDescriptor, that is associated with this
1529
+ # metric type can only be associated with one of the monitored resource types
1530
+ # listed here.
1808
1531
  # Corresponds to the JSON property `monitoredResourceTypes`
1809
1532
  # @return [Array<String>]
1810
1533
  attr_accessor :monitored_resource_types
@@ -1814,116 +1537,68 @@ module Google
1814
1537
  # @return [String]
1815
1538
  attr_accessor :name
1816
1539
 
1817
- # The metric type, including its DNS name prefix. The type is not
1818
- # URL-encoded.
1819
- # All service defined metrics must be prefixed with the service name, in the
1820
- # format of ``service name`/`relative metric name``, such as
1821
- # `cloudsql.googleapis.com/database/cpu/utilization`. The relative metric
1822
- # name must follow:
1823
- # * Only upper and lower-case letters, digits, '/' and underscores '_' are
1824
- # allowed.
1825
- # * The maximum number of characters allowed for the relative_metric_name is
1826
- # 100.
1827
- # All user-defined metric types have the DNS name
1828
- # `custom.googleapis.com`, `external.googleapis.com`, or
1829
- # `logging.googleapis.com/user/`.
1830
- # Metric types should use a natural hierarchical grouping. For example:
1831
- # "custom.googleapis.com/invoice/paid/amount"
1832
- # "external.googleapis.com/prometheus/up"
1833
- # "appengine.googleapis.com/http/server/response_latencies"
1540
+ # The metric type, including its DNS name prefix. The type is not URL-encoded.
1541
+ # All user-defined metric types have the DNS name `custom.googleapis.com` or `
1542
+ # external.googleapis.com`. Metric types should use a natural hierarchical
1543
+ # grouping. For example: "custom.googleapis.com/invoice/paid/amount" "external.
1544
+ # googleapis.com/prometheus/up" "appengine.googleapis.com/http/server/
1545
+ # response_latencies"
1834
1546
  # Corresponds to the JSON property `type`
1835
1547
  # @return [String]
1836
1548
  attr_accessor :type
1837
1549
 
1838
- # The units in which the metric value is reported. It is only applicable
1839
- # if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
1840
- # defines the representation of the stored metric values.
1841
- # Different systems may scale the values to be more easily displayed (so a
1842
- # value of `0.02KBy` _might_ be displayed as `20By`, and a value of
1843
- # `3523KBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is
1844
- # `KBy`, then the value of the metric is always in thousands of bytes, no
1845
- # matter how it may be displayed..
1846
- # If you want a custom metric to record the exact number of CPU-seconds used
1847
- # by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is
1848
- # `s`CPU`` (or equivalently `1s`CPU`` or just `s`). If the job uses 12,005
1849
- # CPU-seconds, then the value is written as `12005`.
1850
- # Alternatively, if you want a custom metric to record data in a more
1851
- # granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is
1852
- # `ks`CPU``, and then write the value `12.005` (which is `12005/1000`),
1853
- # or use `Kis`CPU`` and write `11.723` (which is `12005/1024`).
1854
- # The supported units are a subset of [The Unified Code for Units of
1855
- # Measure](http://unitsofmeasure.org/ucum.html) standard:
1856
- # **Basic units (UNIT)**
1857
- # * `bit` bit
1858
- # * `By` byte
1859
- # * `s` second
1860
- # * `min` minute
1861
- # * `h` hour
1862
- # * `d` day
1863
- # * `1` dimensionless
1864
- # **Prefixes (PREFIX)**
1865
- # * `k` kilo (10^3)
1866
- # * `M` mega (10^6)
1867
- # * `G` giga (10^9)
1868
- # * `T` tera (10^12)
1869
- # * `P` peta (10^15)
1870
- # * `E` exa (10^18)
1871
- # * `Z` zetta (10^21)
1872
- # * `Y` yotta (10^24)
1873
- # * `m` milli (10^-3)
1874
- # * `u` micro (10^-6)
1875
- # * `n` nano (10^-9)
1876
- # * `p` pico (10^-12)
1877
- # * `f` femto (10^-15)
1878
- # * `a` atto (10^-18)
1879
- # * `z` zepto (10^-21)
1880
- # * `y` yocto (10^-24)
1881
- # * `Ki` kibi (2^10)
1882
- # * `Mi` mebi (2^20)
1883
- # * `Gi` gibi (2^30)
1884
- # * `Ti` tebi (2^40)
1885
- # * `Pi` pebi (2^50)
1886
- # **Grammar**
1887
- # The grammar also includes these connectors:
1888
- # * `/` division or ratio (as an infix operator). For examples,
1889
- # `kBy/`email`` or `MiBy/10ms` (although you should almost never
1890
- # have `/s` in a metric `unit`; rates should always be computed at
1891
- # query time from the underlying cumulative or delta value).
1892
- # * `.` multiplication or composition (as an infix operator). For
1893
- # examples, `GBy.d` or `k`watt`.h`.
1894
- # The grammar for a unit is as follows:
1895
- # Expression = Component ` "." Component ` ` "/" Component ` ;
1896
- # Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ]
1897
- # | Annotation
1898
- # | "1"
1899
- # ;
1900
- # Annotation = "`" NAME "`" ;
1901
- # Notes:
1902
- # * `Annotation` is just a comment if it follows a `UNIT`. If the annotation
1903
- # is used alone, then the unit is equivalent to `1`. For examples,
1904
- # ``request`/s == 1/s`, `By`transmitted`/s == By/s`.
1905
- # * `NAME` is a sequence of non-blank printable ASCII characters not
1906
- # containing ``` or ```.
1907
- # * `1` represents a unitary [dimensionless
1908
- # unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such
1909
- # as in `1/s`. It is typically used when none of the basic units are
1910
- # appropriate. For example, "new users per day" can be represented as
1911
- # `1/d` or ``new-users`/d` (and a metric value `5` would mean "5 new
1912
- # users). Alternatively, "thousands of page views per day" would be
1913
- # represented as `1000/d` or `k1/d` or `k`page_views`/d` (and a metric
1914
- # value of `5.3` would mean "5300 page views per day").
1915
- # * `%` represents dimensionless value of 1/100, and annotates values giving
1916
- # a percentage (so the metric values are typically in the range of 0..100,
1917
- # and a metric value `3` means "3 percent").
1918
- # * `10^2.%` indicates a metric contains a ratio, typically in the range
1919
- # 0..1, that will be multiplied by 100 and displayed as a percentage
1920
- # (so a metric value `0.03` means "3 percent").
1550
+ # The units in which the metric value is reported. It is only applicable if the `
1551
+ # value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` defines the
1552
+ # representation of the stored metric values. Different systems may scale the
1553
+ # values to be more easily displayed (so a value of `0.02KBy` _might_ be
1554
+ # displayed as `20By`, and a value of `3523KBy` _might_ be displayed as `3.5MBy`)
1555
+ # . However, if the `unit` is `KBy`, then the value of the metric is always in
1556
+ # thousands of bytes, no matter how it may be displayed.. If you want a custom
1557
+ # metric to record the exact number of CPU-seconds used by a job, you can create
1558
+ # an `INT64 CUMULATIVE` metric whose `unit` is `s`CPU`` (or equivalently `1s`CPU`
1559
+ # ` or just `s`). If the job uses 12,005 CPU-seconds, then the value is written
1560
+ # as `12005`. Alternatively, if you want a custom metric to record data in a
1561
+ # more granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is
1562
+ # `ks`CPU``, and then write the value `12.005` (which is `12005/1000`), or use `
1563
+ # Kis`CPU`` and write `11.723` (which is `12005/1024`). The supported units are
1564
+ # a subset of [The Unified Code for Units of Measure](http://unitsofmeasure.org/
1565
+ # ucum.html) standard: **Basic units (UNIT)** * `bit` bit * `By` byte * `s`
1566
+ # second * `min` minute * `h` hour * `d` day * `1` dimensionless **Prefixes (
1567
+ # PREFIX)** * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera (10^
1568
+ # 12) * `P` peta (10^15) * `E` exa (10^18) * `Z` zetta (10^21) * `Y` yotta (10^
1569
+ # 24) * `m` milli (10^-3) * `u` micro (10^-6) * `n` nano (10^-9) * `p` pico (10^-
1570
+ # 12) * `f` femto (10^-15) * `a` atto (10^-18) * `z` zepto (10^-21) * `y` yocto (
1571
+ # 10^-24) * `Ki` kibi (2^10) * `Mi` mebi (2^20) * `Gi` gibi (2^30) * `Ti` tebi (
1572
+ # 2^40) * `Pi` pebi (2^50) **Grammar** The grammar also includes these
1573
+ # connectors: * `/` division or ratio (as an infix operator). For examples, `kBy/
1574
+ # `email`` or `MiBy/10ms` (although you should almost never have `/s` in a
1575
+ # metric `unit`; rates should always be computed at query time from the
1576
+ # underlying cumulative or delta value). * `.` multiplication or composition (as
1577
+ # an infix operator). For examples, `GBy.d` or `k`watt`.h`. The grammar for a
1578
+ # unit is as follows: Expression = Component ` "." Component ` ` "/" Component `
1579
+ # ; Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] | Annotation | "1" ;
1580
+ # Annotation = "`" NAME "`" ; Notes: * `Annotation` is just a comment if it
1581
+ # follows a `UNIT`. If the annotation is used alone, then the unit is equivalent
1582
+ # to `1`. For examples, ``request`/s == 1/s`, `By`transmitted`/s == By/s`. * `
1583
+ # NAME` is a sequence of non-blank printable ASCII characters not containing ```
1584
+ # or ```. * `1` represents a unitary [dimensionless unit](https://en.wikipedia.
1585
+ # org/wiki/Dimensionless_quantity) of 1, such as in `1/s`. It is typically used
1586
+ # when none of the basic units are appropriate. For example, "new users per day"
1587
+ # can be represented as `1/d` or ``new-users`/d` (and a metric value `5` would
1588
+ # mean "5 new users). Alternatively, "thousands of page views per day" would be
1589
+ # represented as `1000/d` or `k1/d` or `k`page_views`/d` (and a metric value of `
1590
+ # 5.3` would mean "5300 page views per day"). * `%` represents dimensionless
1591
+ # value of 1/100, and annotates values giving a percentage (so the metric values
1592
+ # are typically in the range of 0..100, and a metric value `3` means "3 percent")
1593
+ # . * `10^2.%` indicates a metric contains a ratio, typically in the range 0..1,
1594
+ # that will be multiplied by 100 and displayed as a percentage (so a metric
1595
+ # value `0.03` means "3 percent").
1921
1596
  # Corresponds to the JSON property `unit`
1922
1597
  # @return [String]
1923
1598
  attr_accessor :unit
1924
1599
 
1925
- # Whether the measurement is an integer, a floating-point number, etc.
1926
- # Some combinations of `metric_kind` and `value_type` might not be supported.
1600
+ # Whether the measurement is an integer, a floating-point number, etc. Some
1601
+ # combinations of `metric_kind` and `value_type` might not be supported.
1927
1602
  # Corresponds to the JSON property `valueType`
1928
1603
  # @return [String]
1929
1604
  attr_accessor :value_type
@@ -1952,9 +1627,9 @@ module Google
1952
1627
  class MetricDescriptorMetadata
1953
1628
  include Google::Apis::Core::Hashable
1954
1629
 
1955
- # The delay of data points caused by ingestion. Data points older than this
1956
- # age are guaranteed to be ingested and available to be read, excluding
1957
- # data loss due to errors.
1630
+ # The delay of data points caused by ingestion. Data points older than this age
1631
+ # are guaranteed to be ingested and available to be read, excluding data loss
1632
+ # due to errors.
1958
1633
  # Corresponds to the JSON property `ingestDelay`
1959
1634
  # @return [String]
1960
1635
  attr_accessor :ingest_delay
@@ -1966,8 +1641,8 @@ module Google
1966
1641
 
1967
1642
  # The sampling period of metric data points. For metrics which are written
1968
1643
  # periodically, consecutive data points are stored at this time interval,
1969
- # excluding data loss due to errors. Metrics with a higher granularity have
1970
- # a smaller sampling period.
1644
+ # excluding data loss due to errors. Metrics with a higher granularity have a
1645
+ # smaller sampling period.
1971
1646
  # Corresponds to the JSON property `samplePeriod`
1972
1647
  # @return [String]
1973
1648
  attr_accessor :sample_period
@@ -1984,22 +1659,21 @@ module Google
1984
1659
  end
1985
1660
  end
1986
1661
 
1987
- # Bind API methods to metrics. Binding a method to a metric causes that
1988
- # metric's configured quota behaviors to apply to the method call.
1662
+ # Bind API methods to metrics. Binding a method to a metric causes that metric's
1663
+ # configured quota behaviors to apply to the method call.
1989
1664
  class MetricRule
1990
1665
  include Google::Apis::Core::Hashable
1991
1666
 
1992
1667
  # Metrics to update when the selected methods are called, and the associated
1993
- # cost applied to each metric.
1994
- # The key of the map is the metric name, and the values are the amount
1995
- # increased for the metric against which the quota limits are defined.
1996
- # The value must not be negative.
1668
+ # cost applied to each metric. The key of the map is the metric name, and the
1669
+ # values are the amount increased for the metric against which the quota limits
1670
+ # are defined. The value must not be negative.
1997
1671
  # Corresponds to the JSON property `metricCosts`
1998
1672
  # @return [Hash<String,Fixnum>]
1999
1673
  attr_accessor :metric_costs
2000
1674
 
2001
- # Selects the methods to which this rule applies.
2002
- # Refer to selector for syntax details.
1675
+ # Selects the methods to which this rule applies. Refer to selector for syntax
1676
+ # details.
2003
1677
  # Corresponds to the JSON property `selector`
2004
1678
  # @return [String]
2005
1679
  attr_accessor :selector
@@ -2017,66 +1691,33 @@ module Google
2017
1691
 
2018
1692
  # Declares an API Interface to be included in this interface. The including
2019
1693
  # interface must redeclare all the methods from the included interface, but
2020
- # documentation and options are inherited as follows:
2021
- # - If after comment and whitespace stripping, the documentation
2022
- # string of the redeclared method is empty, it will be inherited
2023
- # from the original method.
2024
- # - Each annotation belonging to the service config (http,
2025
- # visibility) which is not set in the redeclared method will be
2026
- # inherited.
2027
- # - If an http annotation is inherited, the path pattern will be
2028
- # modified as follows. Any version prefix will be replaced by the
2029
- # version of the including interface plus the root path if
2030
- # specified.
2031
- # Example of a simple mixin:
2032
- # package google.acl.v1;
2033
- # service AccessControl `
2034
- # // Get the underlying ACL object.
2035
- # rpc GetAcl(GetAclRequest) returns (Acl) `
2036
- # option (google.api.http).get = "/v1/`resource=**`:getAcl";
2037
- # `
2038
- # `
2039
- # package google.storage.v2;
2040
- # service Storage `
2041
- # // rpc GetAcl(GetAclRequest) returns (Acl);
2042
- # // Get a data record.
2043
- # rpc GetData(GetDataRequest) returns (Data) `
2044
- # option (google.api.http).get = "/v2/`resource=**`";
2045
- # `
2046
- # `
2047
- # Example of a mixin configuration:
2048
- # apis:
2049
- # - name: google.storage.v2.Storage
2050
- # mixins:
2051
- # - name: google.acl.v1.AccessControl
2052
- # The mixin construct implies that all methods in `AccessControl` are
2053
- # also declared with same name and request/response types in
2054
- # `Storage`. A documentation generator or annotation processor will
2055
- # see the effective `Storage.GetAcl` method after inherting
2056
- # documentation and annotations as follows:
2057
- # service Storage `
2058
- # // Get the underlying ACL object.
2059
- # rpc GetAcl(GetAclRequest) returns (Acl) `
2060
- # option (google.api.http).get = "/v2/`resource=**`:getAcl";
2061
- # `
2062
- # ...
2063
- # `
2064
- # Note how the version in the path pattern changed from `v1` to `v2`.
2065
- # If the `root` field in the mixin is specified, it should be a
2066
- # relative path under which inherited HTTP paths are placed. Example:
2067
- # apis:
2068
- # - name: google.storage.v2.Storage
2069
- # mixins:
2070
- # - name: google.acl.v1.AccessControl
2071
- # root: acls
2072
- # This implies the following inherited HTTP annotation:
2073
- # service Storage `
2074
- # // Get the underlying ACL object.
2075
- # rpc GetAcl(GetAclRequest) returns (Acl) `
2076
- # option (google.api.http).get = "/v2/acls/`resource=**`:getAcl";
2077
- # `
2078
- # ...
2079
- # `
1694
+ # documentation and options are inherited as follows: - If after comment and
1695
+ # whitespace stripping, the documentation string of the redeclared method is
1696
+ # empty, it will be inherited from the original method. - Each annotation
1697
+ # belonging to the service config (http, visibility) which is not set in the
1698
+ # redeclared method will be inherited. - If an http annotation is inherited, the
1699
+ # path pattern will be modified as follows. Any version prefix will be replaced
1700
+ # by the version of the including interface plus the root path if specified.
1701
+ # Example of a simple mixin: package google.acl.v1; service AccessControl ` //
1702
+ # Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) `
1703
+ # option (google.api.http).get = "/v1/`resource=**`:getAcl"; ` ` package google.
1704
+ # storage.v2; service Storage ` // rpc GetAcl(GetAclRequest) returns (Acl); //
1705
+ # Get a data record. rpc GetData(GetDataRequest) returns (Data) ` option (google.
1706
+ # api.http).get = "/v2/`resource=**`"; ` ` Example of a mixin configuration:
1707
+ # apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.
1708
+ # AccessControl The mixin construct implies that all methods in `AccessControl`
1709
+ # are also declared with same name and request/response types in `Storage`. A
1710
+ # documentation generator or annotation processor will see the effective `
1711
+ # Storage.GetAcl` method after inheriting documentation and annotations as
1712
+ # follows: service Storage ` // Get the underlying ACL object. rpc GetAcl(
1713
+ # GetAclRequest) returns (Acl) ` option (google.api.http).get = "/v2/`resource=**
1714
+ # `:getAcl"; ` ... ` Note how the version in the path pattern changed from `v1`
1715
+ # to `v2`. If the `root` field in the mixin is specified, it should be a
1716
+ # relative path under which inherited HTTP paths are placed. Example: apis: -
1717
+ # name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl
1718
+ # root: acls This implies the following inherited HTTP annotation: service
1719
+ # Storage ` // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (
1720
+ # Acl) ` option (google.api.http).get = "/v2/acls/`resource=**`:getAcl"; ` ... `
2080
1721
  class Mixin
2081
1722
  include Google::Apis::Core::Hashable
2082
1723
 
@@ -2085,8 +1726,7 @@ module Google
2085
1726
  # @return [String]
2086
1727
  attr_accessor :name
2087
1728
 
2088
- # If non-empty specifies a path under which inherited HTTP paths
2089
- # are rooted.
1729
+ # If non-empty specifies a path under which inherited HTTP paths are rooted.
2090
1730
  # Corresponds to the JSON property `root`
2091
1731
  # @return [String]
2092
1732
  attr_accessor :root
@@ -2102,51 +1742,32 @@ module Google
2102
1742
  end
2103
1743
  end
2104
1744
 
2105
- # An object that describes the schema of a MonitoredResource object using a
2106
- # type name and a set of labels. For example, the monitored resource
2107
- # descriptor for Google Compute Engine VM instances has a type of
2108
- # `"gce_instance"` and specifies the use of the labels `"instance_id"` and
2109
- # `"zone"` to identify particular VM instances.
2110
- # Different services can support different monitored resource types.
2111
- # The following are specific rules to service defined monitored resources for
2112
- # Monitoring and Logging:
2113
- # * The `type`, `display_name`, `description`, `labels` and `launch_stage`
2114
- # fields are all required.
2115
- # * The first label of the monitored resource descriptor must be
2116
- # `resource_container`. There are legacy monitored resource descritptors
2117
- # start with `project_id`.
2118
- # * It must include a `location` label.
2119
- # * Maximum of default 5 service defined monitored resource descriptors
2120
- # is allowed per service.
2121
- # * Maximum of default 10 labels per monitored resource is allowed.
2122
- # The default maximum limit can be overridden. Please follow
2123
- # https://cloud.google.com/monitoring/quotas
1745
+ # An object that describes the schema of a MonitoredResource object using a type
1746
+ # name and a set of labels. For example, the monitored resource descriptor for
1747
+ # Google Compute Engine VM instances has a type of `"gce_instance"` and
1748
+ # specifies the use of the labels `"instance_id"` and `"zone"` to identify
1749
+ # particular VM instances. Different APIs can support different monitored
1750
+ # resource types. APIs generally provide a `list` method that returns the
1751
+ # monitored resource descriptors used by the API.
2124
1752
  class MonitoredResourceDescriptor
2125
1753
  include Google::Apis::Core::Hashable
2126
1754
 
2127
- # Optional. A detailed description of the monitored resource type that might
2128
- # be used in documentation.
1755
+ # Optional. A detailed description of the monitored resource type that might be
1756
+ # used in documentation.
2129
1757
  # Corresponds to the JSON property `description`
2130
1758
  # @return [String]
2131
1759
  attr_accessor :description
2132
1760
 
2133
1761
  # Optional. A concise name for the monitored resource type that might be
2134
- # displayed in user interfaces. It should be a Title Cased Noun Phrase,
2135
- # without any article or other determiners. For example,
2136
- # `"Google Cloud SQL Database"`.
1762
+ # displayed in user interfaces. It should be a Title Cased Noun Phrase, without
1763
+ # any article or other determiners. For example, `"Google Cloud SQL Database"`.
2137
1764
  # Corresponds to the JSON property `displayName`
2138
1765
  # @return [String]
2139
1766
  attr_accessor :display_name
2140
1767
 
2141
1768
  # Required. A set of labels used to describe instances of this monitored
2142
- # resource type.
2143
- # The label key name must follow:
2144
- # * Only upper and lower-case letters, digits and underscores (_) are
2145
- # allowed.
2146
- # * Label name must start with a letter or digit.
2147
- # * The maximum length of a label name is 100 characters.
2148
- # For example, an individual Google Cloud SQL database is
2149
- # identified by values for the labels `database_id` and `location`.
1769
+ # resource type. For example, an individual Google Cloud SQL database is
1770
+ # identified by values for the labels `"database_id"` and `"zone"`.
2150
1771
  # Corresponds to the JSON property `labels`
2151
1772
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::LabelDescriptor>]
2152
1773
  attr_accessor :labels
@@ -2156,27 +1777,18 @@ module Google
2156
1777
  # @return [String]
2157
1778
  attr_accessor :launch_stage
2158
1779
 
2159
- # Optional. The resource name of the monitored resource descriptor:
2160
- # `"projects/`project_id`/monitoredResourceDescriptors/`type`"` where
2161
- # `type` is the value of the `type` field in this object and
2162
- # `project_id` is a project ID that provides API-specific context for
2163
- # accessing the type. APIs that do not use project information can use the
2164
- # resource name format `"monitoredResourceDescriptors/`type`"`.
1780
+ # Optional. The resource name of the monitored resource descriptor: `"projects/`
1781
+ # project_id`/monitoredResourceDescriptors/`type`"` where `type` is the value of
1782
+ # the `type` field in this object and `project_id` is a project ID that provides
1783
+ # API-specific context for accessing the type. APIs that do not use project
1784
+ # information can use the resource name format `"monitoredResourceDescriptors/`
1785
+ # type`"`.
2165
1786
  # Corresponds to the JSON property `name`
2166
1787
  # @return [String]
2167
1788
  attr_accessor :name
2168
1789
 
2169
- # Required. The monitored resource type. For example, the type
2170
- # `cloudsql_database` represents databases in Google Cloud SQL.
2171
- # All service defined monitored resource types must be prefixed with the
2172
- # service name, in the format of ``service name`/`relative resource name``.
2173
- # The relative resource name must follow:
2174
- # * Only upper and lower-case letters and digits are allowed.
2175
- # * It must start with upper case character and is recommended to use Upper
2176
- # Camel Case style.
2177
- # * The maximum number of characters allowed for the relative_resource_name
2178
- # is 100.
2179
- # Note there are legacy service monitored resources not following this rule.
1790
+ # Required. The monitored resource type. For example, the type `"
1791
+ # cloudsql_database"` represents databases in Google Cloud SQL.
2180
1792
  # Corresponds to the JSON property `type`
2181
1793
  # @return [String]
2182
1794
  attr_accessor :type
@@ -2196,75 +1808,47 @@ module Google
2196
1808
  end
2197
1809
  end
2198
1810
 
2199
- # Monitoring configuration of the service.
2200
- # The example below shows how to configure monitored resources and metrics
2201
- # for monitoring. In the example, a monitored resource and two metrics are
2202
- # defined. The `library.googleapis.com/book/returned_count` metric is sent
2203
- # to both producer and consumer projects, whereas the
2204
- # `library.googleapis.com/book/num_overdue` metric is only sent to the
2205
- # consumer project.
2206
- # monitored_resources:
2207
- # - type: library.googleapis.com/Branch
2208
- # display_name: "Library Branch"
2209
- # description: "A branch of a library."
2210
- # launch_stage: GA
2211
- # labels:
2212
- # - key: resource_container
2213
- # description: "The Cloud container (ie. project id) for the Branch."
2214
- # - key: location
2215
- # description: "The location of the library branch."
2216
- # - key: branch_id
2217
- # description: "The id of the branch."
2218
- # metrics:
2219
- # - name: library.googleapis.com/book/returned_count
2220
- # display_name: "Books Returned"
2221
- # description: "The count of books that have been returned."
2222
- # launch_stage: GA
2223
- # metric_kind: DELTA
2224
- # value_type: INT64
2225
- # unit: "1"
2226
- # labels:
2227
- # - key: customer_id
2228
- # description: "The id of the customer."
2229
- # - name: library.googleapis.com/book/num_overdue
2230
- # display_name: "Books Overdue"
2231
- # description: "The current number of overdue books."
2232
- # launch_stage: GA
2233
- # metric_kind: GAUGE
2234
- # value_type: INT64
2235
- # unit: "1"
2236
- # labels:
2237
- # - key: customer_id
2238
- # description: "The id of the customer."
2239
- # monitoring:
2240
- # producer_destinations:
2241
- # - monitored_resource: library.googleapis.com/Branch
2242
- # metrics:
2243
- # - library.googleapis.com/book/returned_count
2244
- # consumer_destinations:
2245
- # - monitored_resource: library.googleapis.com/Branch
2246
- # metrics:
2247
- # - library.googleapis.com/book/returned_count
2248
- # - library.googleapis.com/book/num_overdue
1811
+ # Monitoring configuration of the service. The example below shows how to
1812
+ # configure monitored resources and metrics for monitoring. In the example, a
1813
+ # monitored resource and two metrics are defined. The `library.googleapis.com/
1814
+ # book/returned_count` metric is sent to both producer and consumer projects,
1815
+ # whereas the `library.googleapis.com/book/num_overdue` metric is only sent to
1816
+ # the consumer project. monitored_resources: - type: library.googleapis.com/
1817
+ # Branch display_name: "Library Branch" description: "A branch of a library."
1818
+ # launch_stage: GA labels: - key: resource_container description: "The Cloud
1819
+ # container (ie. project id) for the Branch." - key: location description: "The
1820
+ # location of the library branch." - key: branch_id description: "The id of the
1821
+ # branch." metrics: - name: library.googleapis.com/book/returned_count
1822
+ # display_name: "Books Returned" description: "The count of books that have been
1823
+ # returned." launch_stage: GA metric_kind: DELTA value_type: INT64 unit: "1"
1824
+ # labels: - key: customer_id description: "The id of the customer." - name:
1825
+ # library.googleapis.com/book/num_overdue display_name: "Books Overdue"
1826
+ # description: "The current number of overdue books." launch_stage: GA
1827
+ # metric_kind: GAUGE value_type: INT64 unit: "1" labels: - key: customer_id
1828
+ # description: "The id of the customer." monitoring: producer_destinations: -
1829
+ # monitored_resource: library.googleapis.com/Branch metrics: - library.
1830
+ # googleapis.com/book/returned_count consumer_destinations: - monitored_resource:
1831
+ # library.googleapis.com/Branch metrics: - library.googleapis.com/book/
1832
+ # returned_count - library.googleapis.com/book/num_overdue
2249
1833
  class Monitoring
2250
1834
  include Google::Apis::Core::Hashable
2251
1835
 
2252
- # Monitoring configurations for sending metrics to the consumer project.
2253
- # There can be multiple consumer destinations. A monitored resource type may
2254
- # appear in multiple monitoring destinations if different aggregations are
2255
- # needed for different sets of metrics associated with that monitored
2256
- # resource type. A monitored resource and metric pair may only be used once
2257
- # in the Monitoring configuration.
1836
+ # Monitoring configurations for sending metrics to the consumer project. There
1837
+ # can be multiple consumer destinations. A monitored resource type may appear in
1838
+ # multiple monitoring destinations if different aggregations are needed for
1839
+ # different sets of metrics associated with that monitored resource type. A
1840
+ # monitored resource and metric pair may only be used once in the Monitoring
1841
+ # configuration.
2258
1842
  # Corresponds to the JSON property `consumerDestinations`
2259
1843
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::MonitoringDestination>]
2260
1844
  attr_accessor :consumer_destinations
2261
1845
 
2262
- # Monitoring configurations for sending metrics to the producer project.
2263
- # There can be multiple producer destinations. A monitored resource type may
2264
- # appear in multiple monitoring destinations if different aggregations are
2265
- # needed for different sets of metrics associated with that monitored
2266
- # resource type. A monitored resource and metric pair may only be used once
2267
- # in the Monitoring configuration.
1846
+ # Monitoring configurations for sending metrics to the producer project. There
1847
+ # can be multiple producer destinations. A monitored resource type may appear in
1848
+ # multiple monitoring destinations if different aggregations are needed for
1849
+ # different sets of metrics associated with that monitored resource type. A
1850
+ # monitored resource and metric pair may only be used once in the Monitoring
1851
+ # configuration.
2268
1852
  # Corresponds to the JSON property `producerDestinations`
2269
1853
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::MonitoringDestination>]
2270
1854
  attr_accessor :producer_destinations
@@ -2280,19 +1864,19 @@ module Google
2280
1864
  end
2281
1865
  end
2282
1866
 
2283
- # Configuration of a specific monitoring destination (the producer project
2284
- # or the consumer project).
1867
+ # Configuration of a specific monitoring destination (the producer project or
1868
+ # the consumer project).
2285
1869
  class MonitoringDestination
2286
1870
  include Google::Apis::Core::Hashable
2287
1871
 
2288
- # Types of the metrics to report to this monitoring destination.
2289
- # Each type must be defined in Service.metrics section.
1872
+ # Types of the metrics to report to this monitoring destination. Each type must
1873
+ # be defined in Service.metrics section.
2290
1874
  # Corresponds to the JSON property `metrics`
2291
1875
  # @return [Array<String>]
2292
1876
  attr_accessor :metrics
2293
1877
 
2294
- # The monitored resource type. The type must be defined in
2295
- # Service.monitored_resources section.
1878
+ # The monitored resource type. The type must be defined in Service.
1879
+ # monitored_resources section.
2296
1880
  # Corresponds to the JSON property `monitoredResource`
2297
1881
  # @return [String]
2298
1882
  attr_accessor :monitored_resource
@@ -2309,27 +1893,25 @@ module Google
2309
1893
  end
2310
1894
 
2311
1895
  # OAuth scopes are a way to define data and permissions on data. For example,
2312
- # there are scopes defined for "Read-only access to Google Calendar" and
2313
- # "Access to Cloud Platform". Users can consent to a scope for an application,
2314
- # giving it permission to access that data on their behalf.
2315
- # OAuth scope specifications should be fairly coarse grained; a user will need
2316
- # to see and understand the text description of what your scope means.
2317
- # In most cases: use one or at most two OAuth scopes for an entire family of
2318
- # products. If your product has multiple APIs, you should probably be sharing
2319
- # the OAuth scope across all of those APIs.
2320
- # When you need finer grained OAuth consent screens: talk with your product
2321
- # management about how developers will use them in practice.
2322
- # Please note that even though each of the canonical scopes is enough for a
2323
- # request to be accepted and passed to the backend, a request can still fail
2324
- # due to the backend requiring additional scopes or permissions.
1896
+ # there are scopes defined for "Read-only access to Google Calendar" and "Access
1897
+ # to Cloud Platform". Users can consent to a scope for an application, giving it
1898
+ # permission to access that data on their behalf. OAuth scope specifications
1899
+ # should be fairly coarse grained; a user will need to see and understand the
1900
+ # text description of what your scope means. In most cases: use one or at most
1901
+ # two OAuth scopes for an entire family of products. If your product has
1902
+ # multiple APIs, you should probably be sharing the OAuth scope across all of
1903
+ # those APIs. When you need finer grained OAuth consent screens: talk with your
1904
+ # product management about how developers will use them in practice. Please note
1905
+ # that even though each of the canonical scopes is enough for a request to be
1906
+ # accepted and passed to the backend, a request can still fail due to the
1907
+ # backend requiring additional scopes or permissions.
2325
1908
  class OAuthRequirements
2326
1909
  include Google::Apis::Core::Hashable
2327
1910
 
2328
- # The list of publicly documented OAuth scopes that are allowed access. An
2329
- # OAuth token containing any of these scopes will be accepted.
2330
- # Example:
2331
- # canonical_scopes: https://www.googleapis.com/auth/calendar,
2332
- # https://www.googleapis.com/auth/calendar.read
1911
+ # The list of publicly documented OAuth scopes that are allowed access. An OAuth
1912
+ # token containing any of these scopes will be accepted. Example:
1913
+ # canonical_scopes: https://www.googleapis.com/auth/calendar, https://www.
1914
+ # googleapis.com/auth/calendar.read
2333
1915
  # Corresponds to the JSON property `canonicalScopes`
2334
1916
  # @return [String]
2335
1917
  attr_accessor :canonical_scopes
@@ -2349,47 +1931,45 @@ module Google
2349
1931
  class Operation
2350
1932
  include Google::Apis::Core::Hashable
2351
1933
 
2352
- # If the value is `false`, it means the operation is still in progress.
2353
- # If `true`, the operation is completed, and either `error` or `response` is
2354
- # available.
1934
+ # If the value is `false`, it means the operation is still in progress. If `true`
1935
+ # , the operation is completed, and either `error` or `response` is available.
2355
1936
  # Corresponds to the JSON property `done`
2356
1937
  # @return [Boolean]
2357
1938
  attr_accessor :done
2358
1939
  alias_method :done?, :done
2359
1940
 
2360
- # The `Status` type defines a logical error model that is suitable for
2361
- # different programming environments, including REST APIs and RPC APIs. It is
2362
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
2363
- # three pieces of data: error code, error message, and error details.
2364
- # You can find out more about this error model and how to work with it in the
2365
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
1941
+ # The `Status` type defines a logical error model that is suitable for different
1942
+ # programming environments, including REST APIs and RPC APIs. It is used by [
1943
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
1944
+ # data: error code, error message, and error details. You can find out more
1945
+ # about this error model and how to work with it in the [API Design Guide](https:
1946
+ # //cloud.google.com/apis/design/errors).
2366
1947
  # Corresponds to the JSON property `error`
2367
1948
  # @return [Google::Apis::ServiceconsumermanagementV1beta1::Status]
2368
1949
  attr_accessor :error
2369
1950
 
2370
- # Service-specific metadata associated with the operation. It typically
2371
- # contains progress information and common metadata such as create time.
2372
- # Some services might not provide such metadata. Any method that returns a
2373
- # long-running operation should document the metadata type, if any.
1951
+ # Service-specific metadata associated with the operation. It typically contains
1952
+ # progress information and common metadata such as create time. Some services
1953
+ # might not provide such metadata. Any method that returns a long-running
1954
+ # operation should document the metadata type, if any.
2374
1955
  # Corresponds to the JSON property `metadata`
2375
1956
  # @return [Hash<String,Object>]
2376
1957
  attr_accessor :metadata
2377
1958
 
2378
1959
  # The server-assigned name, which is only unique within the same service that
2379
- # originally returns it. If you use the default HTTP mapping, the
2380
- # `name` should be a resource name ending with `operations/`unique_id``.
1960
+ # originally returns it. If you use the default HTTP mapping, the `name` should
1961
+ # be a resource name ending with `operations/`unique_id``.
2381
1962
  # Corresponds to the JSON property `name`
2382
1963
  # @return [String]
2383
1964
  attr_accessor :name
2384
1965
 
2385
- # The normal response of the operation in case of success. If the original
2386
- # method returns no data on success, such as `Delete`, the response is
2387
- # `google.protobuf.Empty`. If the original method is standard
2388
- # `Get`/`Create`/`Update`, the response should be the resource. For other
2389
- # methods, the response should have the type `XxxResponse`, where `Xxx`
2390
- # is the original method name. For example, if the original method name
2391
- # is `TakeSnapshot()`, the inferred response type is
2392
- # `TakeSnapshotResponse`.
1966
+ # The normal response of the operation in case of success. If the original
1967
+ # method returns no data on success, such as `Delete`, the response is `google.
1968
+ # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
1969
+ # the response should be the resource. For other methods, the response should
1970
+ # have the type `XxxResponse`, where `Xxx` is the original method name. For
1971
+ # example, if the original method name is `TakeSnapshot()`, the inferred
1972
+ # response type is `TakeSnapshotResponse`.
2393
1973
  # Corresponds to the JSON property `response`
2394
1974
  # @return [Hash<String,Object>]
2395
1975
  attr_accessor :response
@@ -2414,17 +1994,17 @@ module Google
2414
1994
  include Google::Apis::Core::Hashable
2415
1995
 
2416
1996
  # The option's name. For protobuf built-in options (options defined in
2417
- # descriptor.proto), this is the short name. For example, `"map_entry"`.
2418
- # For custom options, it should be the fully-qualified name. For example,
2419
- # `"google.api.http"`.
1997
+ # descriptor.proto), this is the short name. For example, `"map_entry"`. For
1998
+ # custom options, it should be the fully-qualified name. For example, `"google.
1999
+ # api.http"`.
2420
2000
  # Corresponds to the JSON property `name`
2421
2001
  # @return [String]
2422
2002
  attr_accessor :name
2423
2003
 
2424
- # The option's value packed in an Any message. If the value is a primitive,
2425
- # the corresponding wrapper type defined in google/protobuf/wrappers.proto
2426
- # should be used. If the value is an enum, it should be stored as an int32
2427
- # value using the google.protobuf.Int32Value type.
2004
+ # The option's value packed in an Any message. If the value is a primitive, the
2005
+ # corresponding wrapper type defined in google/protobuf/wrappers.proto should be
2006
+ # used. If the value is an enum, it should be stored as an int32 value using the
2007
+ # google.protobuf.Int32Value type.
2428
2008
  # Corresponds to the JSON property `value`
2429
2009
  # @return [Hash<String,Object>]
2430
2010
  attr_accessor :value
@@ -2445,32 +2025,25 @@ module Google
2445
2025
  class Page
2446
2026
  include Google::Apis::Core::Hashable
2447
2027
 
2448
- # The Markdown content of the page. You can use <code>&#40;== include `path`
2449
- # ==&#41;</code> to include content from a Markdown file.
2028
+ # The Markdown content of the page. You can use (== include `path` ==) to
2029
+ # include content from a Markdown file.
2450
2030
  # Corresponds to the JSON property `content`
2451
2031
  # @return [String]
2452
2032
  attr_accessor :content
2453
2033
 
2454
- # The name of the page. It will be used as an identity of the page to
2455
- # generate URI of the page, text of the link to this page in navigation,
2456
- # etc. The full page name (start from the root page name to this page
2457
- # concatenated with `.`) can be used as reference to the page in your
2458
- # documentation. For example:
2459
- # <pre><code>pages:
2460
- # - name: Tutorial
2461
- # content: &#40;== include tutorial.md ==&#41;
2462
- # subpages:
2463
- # - name: Java
2464
- # content: &#40;== include tutorial_java.md ==&#41;
2465
- # </code></pre>
2466
- # You can reference `Java` page using Markdown reference link syntax:
2467
- # `Java`.
2034
+ # The name of the page. It will be used as an identity of the page to generate
2035
+ # URI of the page, text of the link to this page in navigation, etc. The full
2036
+ # page name (start from the root page name to this page concatenated with `.`)
2037
+ # can be used as reference to the page in your documentation. For example: pages:
2038
+ # - name: Tutorial content: (== include tutorial.md ==) subpages: - name: Java
2039
+ # content: (== include tutorial_java.md ==) You can reference `Java` page using
2040
+ # Markdown reference link syntax: `Java`.
2468
2041
  # Corresponds to the JSON property `name`
2469
2042
  # @return [String]
2470
2043
  attr_accessor :name
2471
2044
 
2472
- # Subpages of this page. The order of subpages specified here will be
2473
- # honored in the generated docset.
2045
+ # Subpages of this page. The order of subpages specified here will be honored in
2046
+ # the generated docset.
2474
2047
  # Corresponds to the JSON property `subpages`
2475
2048
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::Page>]
2476
2049
  attr_accessor :subpages
@@ -2487,46 +2060,25 @@ module Google
2487
2060
  end
2488
2061
  end
2489
2062
 
2490
- # Quota configuration helps to achieve fairness and budgeting in service
2491
- # usage.
2492
- # The metric based quota configuration works this way:
2493
- # - The service configuration defines a set of metrics.
2494
- # - For API calls, the quota.metric_rules maps methods to metrics with
2495
- # corresponding costs.
2496
- # - The quota.limits defines limits on the metrics, which will be used for
2497
- # quota checks at runtime.
2498
- # An example quota configuration in yaml format:
2499
- # quota:
2500
- # limits:
2501
- # - name: apiWriteQpsPerProject
2502
- # metric: library.googleapis.com/write_calls
2503
- # unit: "1/min/`project`" # rate limit for consumer projects
2504
- # values:
2505
- # STANDARD: 10000
2506
- # # The metric rules bind all methods to the read_calls metric,
2507
- # # except for the UpdateBook and DeleteBook methods. These two methods
2508
- # # are mapped to the write_calls metric, with the UpdateBook method
2509
- # # consuming at twice rate as the DeleteBook method.
2510
- # metric_rules:
2511
- # - selector: "*"
2512
- # metric_costs:
2513
- # library.googleapis.com/read_calls: 1
2514
- # - selector: google.example.library.v1.LibraryService.UpdateBook
2515
- # metric_costs:
2516
- # library.googleapis.com/write_calls: 2
2517
- # - selector: google.example.library.v1.LibraryService.DeleteBook
2518
- # metric_costs:
2519
- # library.googleapis.com/write_calls: 1
2520
- # Corresponding Metric definition:
2521
- # metrics:
2522
- # - name: library.googleapis.com/read_calls
2523
- # display_name: Read requests
2524
- # metric_kind: DELTA
2525
- # value_type: INT64
2526
- # - name: library.googleapis.com/write_calls
2527
- # display_name: Write requests
2528
- # metric_kind: DELTA
2529
- # value_type: INT64
2063
+ # Quota configuration helps to achieve fairness and budgeting in service usage.
2064
+ # The metric based quota configuration works this way: - The service
2065
+ # configuration defines a set of metrics. - For API calls, the quota.
2066
+ # metric_rules maps methods to metrics with corresponding costs. - The quota.
2067
+ # limits defines limits on the metrics, which will be used for quota checks at
2068
+ # runtime. An example quota configuration in yaml format: quota: limits: - name:
2069
+ # apiWriteQpsPerProject metric: library.googleapis.com/write_calls unit: "1/min/`
2070
+ # project`" # rate limit for consumer projects values: STANDARD: 10000 # The
2071
+ # metric rules bind all methods to the read_calls metric, # except for the
2072
+ # UpdateBook and DeleteBook methods. These two methods # are mapped to the
2073
+ # write_calls metric, with the UpdateBook method # consuming at twice rate as
2074
+ # the DeleteBook method. metric_rules: - selector: "*" metric_costs: library.
2075
+ # googleapis.com/read_calls: 1 - selector: google.example.library.v1.
2076
+ # LibraryService.UpdateBook metric_costs: library.googleapis.com/write_calls: 2 -
2077
+ # selector: google.example.library.v1.LibraryService.DeleteBook metric_costs:
2078
+ # library.googleapis.com/write_calls: 1 Corresponding Metric definition: metrics:
2079
+ # - name: library.googleapis.com/read_calls display_name: Read requests
2080
+ # metric_kind: DELTA value_type: INT64 - name: library.googleapis.com/
2081
+ # write_calls display_name: Write requests metric_kind: DELTA value_type: INT64
2530
2082
  class Quota
2531
2083
  include Google::Apis::Core::Hashable
2532
2084
 
@@ -2535,8 +2087,8 @@ module Google
2535
2087
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::QuotaLimit>]
2536
2088
  attr_accessor :limits
2537
2089
 
2538
- # List of `MetricRule` definitions, each one mapping a selected method to one
2539
- # or more metrics.
2090
+ # List of `MetricRule` definitions, each one mapping a selected method to one or
2091
+ # more metrics.
2540
2092
  # Corresponds to the JSON property `metricRules`
2541
2093
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::MetricRule>]
2542
2094
  attr_accessor :metric_rules
@@ -2553,95 +2105,89 @@ module Google
2553
2105
  end
2554
2106
 
2555
2107
  # `QuotaLimit` defines a specific limit that applies over a specified duration
2556
- # for a limit type. There can be at most one limit for a duration and limit
2557
- # type combination defined within a `QuotaGroup`.
2108
+ # for a limit type. There can be at most one limit for a duration and limit type
2109
+ # combination defined within a `QuotaGroup`.
2558
2110
  class QuotaLimit
2559
2111
  include Google::Apis::Core::Hashable
2560
2112
 
2561
- # Default number of tokens that can be consumed during the specified
2562
- # duration. This is the number of tokens assigned when a client
2563
- # application developer activates the service for his/her project.
2564
- # Specifying a value of 0 will block all requests. This can be used if you
2565
- # are provisioning quota to selected consumers and blocking others.
2566
- # Similarly, a value of -1 will indicate an unlimited quota. No other
2567
- # negative values are allowed.
2568
- # Used by group-based quotas only.
2113
+ # Default number of tokens that can be consumed during the specified duration.
2114
+ # This is the number of tokens assigned when a client application developer
2115
+ # activates the service for his/her project. Specifying a value of 0 will block
2116
+ # all requests. This can be used if you are provisioning quota to selected
2117
+ # consumers and blocking others. Similarly, a value of -1 will indicate an
2118
+ # unlimited quota. No other negative values are allowed. Used by group-based
2119
+ # quotas only.
2569
2120
  # Corresponds to the JSON property `defaultLimit`
2570
2121
  # @return [Fixnum]
2571
2122
  attr_accessor :default_limit
2572
2123
 
2573
- # Optional. User-visible, extended description for this quota limit.
2574
- # Should be used only when more context is needed to understand this limit
2575
- # than provided by the limit's display name (see: `display_name`).
2124
+ # Optional. User-visible, extended description for this quota limit. Should be
2125
+ # used only when more context is needed to understand this limit than provided
2126
+ # by the limit's display name (see: `display_name`).
2576
2127
  # Corresponds to the JSON property `description`
2577
2128
  # @return [String]
2578
2129
  attr_accessor :description
2579
2130
 
2580
- # User-visible display name for this limit.
2581
- # Optional. If not set, the UI will provide a default display name based on
2582
- # the quota configuration. This field can be used to override the default
2583
- # display name generated from the configuration.
2131
+ # User-visible display name for this limit. Optional. If not set, the UI will
2132
+ # provide a default display name based on the quota configuration. This field
2133
+ # can be used to override the default display name generated from the
2134
+ # configuration.
2584
2135
  # Corresponds to the JSON property `displayName`
2585
2136
  # @return [String]
2586
2137
  attr_accessor :display_name
2587
2138
 
2588
- # Duration of this limit in textual notation. Must be "100s" or "1d".
2589
- # Used by group-based quotas only.
2139
+ # Duration of this limit in textual notation. Must be "100s" or "1d". Used by
2140
+ # group-based quotas only.
2590
2141
  # Corresponds to the JSON property `duration`
2591
2142
  # @return [String]
2592
2143
  attr_accessor :duration
2593
2144
 
2594
- # Free tier value displayed in the Developers Console for this limit.
2595
- # The free tier is the number of tokens that will be subtracted from the
2596
- # billed amount when billing is enabled.
2597
- # This field can only be set on a limit with duration "1d", in a billable
2598
- # group; it is invalid on any other limit. If this field is not set, it
2599
- # defaults to 0, indicating that there is no free tier for this service.
2600
- # Used by group-based quotas only.
2145
+ # Free tier value displayed in the Developers Console for this limit. The free
2146
+ # tier is the number of tokens that will be subtracted from the billed amount
2147
+ # when billing is enabled. This field can only be set on a limit with duration "
2148
+ # 1d", in a billable group; it is invalid on any other limit. If this field is
2149
+ # not set, it defaults to 0, indicating that there is no free tier for this
2150
+ # service. Used by group-based quotas only.
2601
2151
  # Corresponds to the JSON property `freeTier`
2602
2152
  # @return [Fixnum]
2603
2153
  attr_accessor :free_tier
2604
2154
 
2605
- # Maximum number of tokens that can be consumed during the specified
2606
- # duration. Client application developers can override the default limit up
2607
- # to this maximum. If specified, this value cannot be set to a value less
2608
- # than the default limit. If not specified, it is set to the default limit.
2609
- # To allow clients to apply overrides with no upper bound, set this to -1,
2610
- # indicating unlimited maximum quota.
2611
- # Used by group-based quotas only.
2155
+ # Maximum number of tokens that can be consumed during the specified duration.
2156
+ # Client application developers can override the default limit up to this
2157
+ # maximum. If specified, this value cannot be set to a value less than the
2158
+ # default limit. If not specified, it is set to the default limit. To allow
2159
+ # clients to apply overrides with no upper bound, set this to -1, indicating
2160
+ # unlimited maximum quota. Used by group-based quotas only.
2612
2161
  # Corresponds to the JSON property `maxLimit`
2613
2162
  # @return [Fixnum]
2614
2163
  attr_accessor :max_limit
2615
2164
 
2616
- # The name of the metric this quota limit applies to. The quota limits with
2617
- # the same metric will be checked together during runtime. The metric must be
2165
+ # The name of the metric this quota limit applies to. The quota limits with the
2166
+ # same metric will be checked together during runtime. The metric must be
2618
2167
  # defined within the service config.
2619
2168
  # Corresponds to the JSON property `metric`
2620
2169
  # @return [String]
2621
2170
  attr_accessor :metric
2622
2171
 
2623
- # Name of the quota limit.
2624
- # The name must be provided, and it must be unique within the service. The
2625
- # name can only include alphanumeric characters as well as '-'.
2626
- # The maximum length of the limit name is 64 characters.
2172
+ # Name of the quota limit. The name must be provided, and it must be unique
2173
+ # within the service. The name can only include alphanumeric characters as well
2174
+ # as '-'. The maximum length of the limit name is 64 characters.
2627
2175
  # Corresponds to the JSON property `name`
2628
2176
  # @return [String]
2629
2177
  attr_accessor :name
2630
2178
 
2631
- # Specify the unit of the quota limit. It uses the same syntax as
2632
- # Metric.unit. The supported unit kinds are determined by the quota
2633
- # backend system.
2634
- # Here are some examples:
2635
- # * "1/min/`project`" for quota per minute per project.
2636
- # Note: the order of unit components is insignificant.
2637
- # The "1" at the beginning is required to follow the metric unit syntax.
2179
+ # Specify the unit of the quota limit. It uses the same syntax as Metric.unit.
2180
+ # The supported unit kinds are determined by the quota backend system. Here are
2181
+ # some examples: * "1/min/`project`" for quota per minute per project. Note: the
2182
+ # order of unit components is insignificant. The "1" at the beginning is
2183
+ # required to follow the metric unit syntax.
2638
2184
  # Corresponds to the JSON property `unit`
2639
2185
  # @return [String]
2640
2186
  attr_accessor :unit
2641
2187
 
2642
2188
  # Tiered limit values. You must specify this as a key:value pair, with an
2643
- # integer value that is the maximum number of requests allowed for the
2644
- # specified unit. Currently only STANDARD is supported.
2189
+ # integer value that is the maximum number of requests allowed for the specified
2190
+ # unit. Currently only STANDARD is supported.
2645
2191
  # Corresponds to the JSON property `values`
2646
2192
  # @return [Hash<String,Fixnum>]
2647
2193
  attr_accessor :values
@@ -2666,50 +2212,32 @@ module Google
2666
2212
  end
2667
2213
 
2668
2214
  # `Service` is the root object of Google service configuration schema. It
2669
- # describes basic information about a service, such as the name and the
2670
- # title, and delegates other aspects to sub-sections. Each sub-section is
2671
- # either a proto message or a repeated proto message that configures a
2672
- # specific aspect, such as auth. See each proto message definition for details.
2673
- # Example:
2674
- # type: google.api.Service
2675
- # config_version: 3
2676
- # name: calendar.googleapis.com
2677
- # title: Google Calendar API
2678
- # apis:
2679
- # - name: google.calendar.v3.Calendar
2680
- # authentication:
2681
- # providers:
2682
- # - id: google_calendar_auth
2683
- # jwks_uri: https://www.googleapis.com/oauth2/v1/certs
2684
- # issuer: https://securetoken.google.com
2685
- # rules:
2686
- # - selector: "*"
2687
- # requirements:
2688
- # provider_id: google_calendar_auth
2215
+ # describes basic information about a service, such as the name and the title,
2216
+ # and delegates other aspects to sub-sections. Each sub-section is either a
2217
+ # proto message or a repeated proto message that configures a specific aspect,
2218
+ # such as auth. See each proto message definition for details. Example: type:
2219
+ # google.api.Service config_version: 3 name: calendar.googleapis.com title:
2220
+ # Google Calendar API apis: - name: google.calendar.v3.Calendar authentication:
2221
+ # providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/
2222
+ # oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: "*"
2223
+ # requirements: provider_id: google_calendar_auth
2689
2224
  class Service
2690
2225
  include Google::Apis::Core::Hashable
2691
2226
 
2692
- # A list of API interfaces exported by this service. Only the `name` field
2693
- # of the google.protobuf.Api needs to be provided by the configuration
2694
- # author, as the remaining fields will be derived from the IDL during the
2695
- # normalization process. It is an error to specify an API interface here
2696
- # which cannot be resolved against the associated IDL files.
2227
+ # A list of API interfaces exported by this service. Only the `name` field of
2228
+ # the google.protobuf.Api needs to be provided by the configuration author, as
2229
+ # the remaining fields will be derived from the IDL during the normalization
2230
+ # process. It is an error to specify an API interface here which cannot be
2231
+ # resolved against the associated IDL files.
2697
2232
  # Corresponds to the JSON property `apis`
2698
2233
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::Api>]
2699
2234
  attr_accessor :apis
2700
2235
 
2701
- # `Authentication` defines the authentication configuration for an API.
2702
- # Example for an API targeted for external use:
2703
- # name: calendar.googleapis.com
2704
- # authentication:
2705
- # providers:
2706
- # - id: google_calendar_auth
2707
- # jwks_uri: https://www.googleapis.com/oauth2/v1/certs
2708
- # issuer: https://securetoken.google.com
2709
- # rules:
2710
- # - selector: "*"
2711
- # requirements:
2712
- # provider_id: google_calendar_auth
2236
+ # `Authentication` defines the authentication configuration for an API. Example
2237
+ # for an API targeted for external use: name: calendar.googleapis.com
2238
+ # authentication: providers: - id: google_calendar_auth jwks_uri: https://www.
2239
+ # googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: -
2240
+ # selector: "*" requirements: provider_id: google_calendar_auth
2713
2241
  # Corresponds to the JSON property `authentication`
2714
2242
  # @return [Google::Apis::ServiceconsumermanagementV1beta1::Authentication]
2715
2243
  attr_accessor :authentication
@@ -2719,211 +2247,136 @@ module Google
2719
2247
  # @return [Google::Apis::ServiceconsumermanagementV1beta1::Backend]
2720
2248
  attr_accessor :backend
2721
2249
 
2722
- # Billing related configuration of the service.
2723
- # The following example shows how to configure monitored resources and metrics
2724
- # for billing, `consumer_destinations` is the only supported destination and
2725
- # the monitored resources need at least one label key
2726
- # `cloud.googleapis.com/location` to indicate the location of the billing
2727
- # usage, using different monitored resources between monitoring and billing is
2728
- # recommended so they can be evolved independently:
2729
- # monitored_resources:
2730
- # - type: library.googleapis.com/billing_branch
2731
- # labels:
2732
- # - key: cloud.googleapis.com/location
2733
- # description: |
2734
- # Predefined label to support billing location restriction.
2735
- # - key: city
2736
- # description: |
2737
- # Custom label to define the city where the library branch is located
2738
- # in.
2739
- # - key: name
2740
- # description: Custom label to define the name of the library branch.
2741
- # metrics:
2742
- # - name: library.googleapis.com/book/borrowed_count
2743
- # metric_kind: DELTA
2744
- # value_type: INT64
2745
- # unit: "1"
2746
- # billing:
2747
- # consumer_destinations:
2748
- # - monitored_resource: library.googleapis.com/billing_branch
2749
- # metrics:
2750
- # - library.googleapis.com/book/borrowed_count
2250
+ # Billing related configuration of the service. The following example shows how
2251
+ # to configure monitored resources and metrics for billing, `
2252
+ # consumer_destinations` is the only supported destination and the monitored
2253
+ # resources need at least one label key `cloud.googleapis.com/location` to
2254
+ # indicate the location of the billing usage, using different monitored
2255
+ # resources between monitoring and billing is recommended so they can be evolved
2256
+ # independently: monitored_resources: - type: library.googleapis.com/
2257
+ # billing_branch labels: - key: cloud.googleapis.com/location description: |
2258
+ # Predefined label to support billing location restriction. - key: city
2259
+ # description: | Custom label to define the city where the library branch is
2260
+ # located in. - key: name description: Custom label to define the name of the
2261
+ # library branch. metrics: - name: library.googleapis.com/book/borrowed_count
2262
+ # metric_kind: DELTA value_type: INT64 unit: "1" billing: consumer_destinations:
2263
+ # - monitored_resource: library.googleapis.com/billing_branch metrics: - library.
2264
+ # googleapis.com/book/borrowed_count
2751
2265
  # Corresponds to the JSON property `billing`
2752
2266
  # @return [Google::Apis::ServiceconsumermanagementV1beta1::Billing]
2753
2267
  attr_accessor :billing
2754
2268
 
2755
- # The semantic version of the service configuration. The config version
2756
- # affects the interpretation of the service configuration. For example,
2757
- # certain features are enabled by default for certain config versions.
2758
- # The latest config version is `3`.
2269
+ # The semantic version of the service configuration. The config version affects
2270
+ # the interpretation of the service configuration. For example, certain features
2271
+ # are enabled by default for certain config versions. The latest config version
2272
+ # is `3`.
2759
2273
  # Corresponds to the JSON property `configVersion`
2760
2274
  # @return [Fixnum]
2761
2275
  attr_accessor :config_version
2762
2276
 
2763
- # `Context` defines which contexts an API requests.
2764
- # Example:
2765
- # context:
2766
- # rules:
2767
- # - selector: "*"
2768
- # requested:
2769
- # - google.rpc.context.ProjectContext
2770
- # - google.rpc.context.OriginContext
2771
- # The above specifies that all methods in the API request
2772
- # `google.rpc.context.ProjectContext` and
2773
- # `google.rpc.context.OriginContext`.
2774
- # Available context types are defined in package
2775
- # `google.rpc.context`.
2776
- # This also provides mechanism to whitelist any protobuf message extension that
2777
- # can be sent in grpc metadata using “x-goog-ext-<extension_id>-bin” and
2778
- # “x-goog-ext-<extension_id>-jspb” format. For example, list any service
2779
- # specific protobuf types that can appear in grpc metadata as follows in your
2780
- # yaml file:
2781
- # Example:
2782
- # context:
2783
- # rules:
2784
- # - selector: "google.example.library.v1.LibraryService.CreateBook"
2785
- # allowed_request_extensions:
2786
- # - google.foo.v1.NewExtension
2787
- # allowed_response_extensions:
2788
- # - google.foo.v1.NewExtension
2789
- # You can also specify extension ID instead of fully qualified extension name
2790
- # here.
2277
+ # `Context` defines which contexts an API requests. Example: context: rules: -
2278
+ # selector: "*" requested: - google.rpc.context.ProjectContext - google.rpc.
2279
+ # context.OriginContext The above specifies that all methods in the API request `
2280
+ # google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`.
2281
+ # Available context types are defined in package `google.rpc.context`. This also
2282
+ # provides mechanism to whitelist any protobuf message extension that can be
2283
+ # sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format.
2284
+ # For example, list any service specific protobuf types that can appear in grpc
2285
+ # metadata as follows in your yaml file: Example: context: rules: - selector: "
2286
+ # google.example.library.v1.LibraryService.CreateBook"
2287
+ # allowed_request_extensions: - google.foo.v1.NewExtension
2288
+ # allowed_response_extensions: - google.foo.v1.NewExtension You can also specify
2289
+ # extension ID instead of fully qualified extension name here.
2791
2290
  # Corresponds to the JSON property `context`
2792
2291
  # @return [Google::Apis::ServiceconsumermanagementV1beta1::Context]
2793
2292
  attr_accessor :context
2794
2293
 
2795
- # Selects and configures the service controller used by the service. The
2796
- # service controller handles features like abuse, quota, billing, logging,
2797
- # monitoring, etc.
2294
+ # Selects and configures the service controller used by the service. The service
2295
+ # controller handles features like abuse, quota, billing, logging, monitoring,
2296
+ # etc.
2798
2297
  # Corresponds to the JSON property `control`
2799
2298
  # @return [Google::Apis::ServiceconsumermanagementV1beta1::Control]
2800
2299
  attr_accessor :control
2801
2300
 
2802
- # Customize service error responses. For example, list any service
2803
- # specific protobuf types that can appear in error detail lists of
2804
- # error responses.
2805
- # Example:
2806
- # custom_error:
2807
- # types:
2808
- # - google.foo.v1.CustomError
2809
- # - google.foo.v1.AnotherError
2301
+ # Customize service error responses. For example, list any service specific
2302
+ # protobuf types that can appear in error detail lists of error responses.
2303
+ # Example: custom_error: types: - google.foo.v1.CustomError - google.foo.v1.
2304
+ # AnotherError
2810
2305
  # Corresponds to the JSON property `customError`
2811
2306
  # @return [Google::Apis::ServiceconsumermanagementV1beta1::CustomError]
2812
2307
  attr_accessor :custom_error
2813
2308
 
2814
- # `Documentation` provides the information for describing a service.
2815
- # Example:
2816
- # <pre><code>documentation:
2817
- # summary: >
2818
- # The Google Calendar API gives access
2819
- # to most calendar features.
2820
- # pages:
2821
- # - name: Overview
2822
- # content: &#40;== include google/foo/overview.md ==&#41;
2823
- # - name: Tutorial
2824
- # content: &#40;== include google/foo/tutorial.md ==&#41;
2825
- # subpages;
2826
- # - name: Java
2827
- # content: &#40;== include google/foo/tutorial_java.md ==&#41;
2828
- # rules:
2829
- # - selector: google.calendar.Calendar.Get
2830
- # description: >
2831
- # ...
2832
- # - selector: google.calendar.Calendar.Put
2833
- # description: >
2834
- # ...
2835
- # </code></pre>
2836
- # Documentation is provided in markdown syntax. In addition to
2837
- # standard markdown features, definition lists, tables and fenced
2838
- # code blocks are supported. Section headers can be provided and are
2839
- # interpreted relative to the section nesting of the context where
2840
- # a documentation fragment is embedded.
2841
- # Documentation from the IDL is merged with documentation defined
2842
- # via the config at normalization time, where documentation provided
2843
- # by config rules overrides IDL provided.
2844
- # A number of constructs specific to the API platform are supported
2845
- # in documentation text.
2846
- # In order to reference a proto element, the following
2847
- # notation can be used:
2848
- # <pre><code>&#91;fully.qualified.proto.name]&#91;]</code></pre>
2849
- # To override the display text used for the link, this can be used:
2850
- # <pre><code>&#91;display text]&#91;fully.qualified.proto.name]</code></pre>
2851
- # Text can be excluded from doc using the following notation:
2852
- # <pre><code>&#40;-- internal comment --&#41;</code></pre>
2853
- # A few directives are available in documentation. Note that
2854
- # directives must appear on a single line to be properly
2855
- # identified. The `include` directive includes a markdown file from
2856
- # an external source:
2857
- # <pre><code>&#40;== include path/to/file ==&#41;</code></pre>
2858
- # The `resource_for` directive marks a message to be the resource of
2859
- # a collection in REST view. If it is not specified, tools attempt
2860
- # to infer the resource from the operations in a collection:
2861
- # <pre><code>&#40;== resource_for v1.shelves.books ==&#41;</code></pre>
2862
- # The directive `suppress_warning` does not directly affect documentation
2863
- # and is documented together with service config validation.
2309
+ # `Documentation` provides the information for describing a service. Example:
2310
+ # documentation: summary: > The Google Calendar API gives access to most
2311
+ # calendar features. pages: - name: Overview content: (== include google/foo/
2312
+ # overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==
2313
+ # ) subpages; - name: Java content: (== include google/foo/tutorial_java.md ==)
2314
+ # rules: - selector: google.calendar.Calendar.Get description: > ... - selector:
2315
+ # google.calendar.Calendar.Put description: > ... Documentation is provided in
2316
+ # markdown syntax. In addition to standard markdown features, definition lists,
2317
+ # tables and fenced code blocks are supported. Section headers can be provided
2318
+ # and are interpreted relative to the section nesting of the context where a
2319
+ # documentation fragment is embedded. Documentation from the IDL is merged with
2320
+ # documentation defined via the config at normalization time, where
2321
+ # documentation provided by config rules overrides IDL provided. A number of
2322
+ # constructs specific to the API platform are supported in documentation text.
2323
+ # In order to reference a proto element, the following notation can be used: [
2324
+ # fully.qualified.proto.name][] To override the display text used for the link,
2325
+ # this can be used: [display text][fully.qualified.proto.name] Text can be
2326
+ # excluded from doc using the following notation: (-- internal comment --) A few
2327
+ # directives are available in documentation. Note that directives must appear on
2328
+ # a single line to be properly identified. The `include` directive includes a
2329
+ # markdown file from an external source: (== include path/to/file ==) The `
2330
+ # resource_for` directive marks a message to be the resource of a collection in
2331
+ # REST view. If it is not specified, tools attempt to infer the resource from
2332
+ # the operations in a collection: (== resource_for v1.shelves.books ==) The
2333
+ # directive `suppress_warning` does not directly affect documentation and is
2334
+ # documented together with service config validation.
2864
2335
  # Corresponds to the JSON property `documentation`
2865
2336
  # @return [Google::Apis::ServiceconsumermanagementV1beta1::Documentation]
2866
2337
  attr_accessor :documentation
2867
2338
 
2868
- # Configuration for network endpoints. If this is empty, then an endpoint
2869
- # with the same name as the service is automatically generated to service all
2870
- # defined APIs.
2339
+ # Configuration for network endpoints. If this is empty, then an endpoint with
2340
+ # the same name as the service is automatically generated to service all defined
2341
+ # APIs.
2871
2342
  # Corresponds to the JSON property `endpoints`
2872
2343
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::Endpoint>]
2873
2344
  attr_accessor :endpoints
2874
2345
 
2875
- # A list of all enum types included in this API service. Enums
2876
- # referenced directly or indirectly by the `apis` are automatically
2877
- # included. Enums which are not referenced but shall be included
2878
- # should be listed here by name. Example:
2879
- # enums:
2880
- # - name: google.someapi.v1.SomeEnum
2346
+ # A list of all enum types included in this API service. Enums referenced
2347
+ # directly or indirectly by the `apis` are automatically included. Enums which
2348
+ # are not referenced but shall be included should be listed here by name.
2349
+ # Example: enums: - name: google.someapi.v1.SomeEnum
2881
2350
  # Corresponds to the JSON property `enums`
2882
2351
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::Enum>]
2883
2352
  attr_accessor :enums
2884
2353
 
2885
2354
  # Defines the HTTP configuration for an API service. It contains a list of
2886
- # HttpRule, each specifying the mapping of an RPC method
2887
- # to one or more HTTP REST API methods.
2355
+ # HttpRule, each specifying the mapping of an RPC method to one or more HTTP
2356
+ # REST API methods.
2888
2357
  # Corresponds to the JSON property `http`
2889
2358
  # @return [Google::Apis::ServiceconsumermanagementV1beta1::Http]
2890
2359
  attr_accessor :http
2891
2360
 
2892
- # A unique ID for a specific instance of this message, typically assigned
2893
- # by the client for tracking purpose. Must be no longer than 63 characters
2894
- # and only lower case letters, digits, '.', '_' and '-' are allowed. If
2895
- # empty, the server may choose to generate one instead.
2361
+ # A unique ID for a specific instance of this message, typically assigned by the
2362
+ # client for tracking purpose. Must be no longer than 63 characters and only
2363
+ # lower case letters, digits, '.', '_' and '-' are allowed. If empty, the server
2364
+ # may choose to generate one instead.
2896
2365
  # Corresponds to the JSON property `id`
2897
2366
  # @return [String]
2898
2367
  attr_accessor :id
2899
2368
 
2900
- # Logging configuration of the service.
2901
- # The following example shows how to configure logs to be sent to the
2902
- # producer and consumer projects. In the example, the `activity_history`
2903
- # log is sent to both the producer and consumer projects, whereas the
2904
- # `purchase_history` log is only sent to the producer project.
2905
- # monitored_resources:
2906
- # - type: library.googleapis.com/branch
2907
- # labels:
2908
- # - key: /city
2909
- # description: The city where the library branch is located in.
2910
- # - key: /name
2911
- # description: The name of the branch.
2912
- # logs:
2913
- # - name: activity_history
2914
- # labels:
2915
- # - key: /customer_id
2916
- # - name: purchase_history
2917
- # logging:
2918
- # producer_destinations:
2919
- # - monitored_resource: library.googleapis.com/branch
2920
- # logs:
2921
- # - activity_history
2922
- # - purchase_history
2923
- # consumer_destinations:
2924
- # - monitored_resource: library.googleapis.com/branch
2925
- # logs:
2926
- # - activity_history
2369
+ # Logging configuration of the service. The following example shows how to
2370
+ # configure logs to be sent to the producer and consumer projects. In the
2371
+ # example, the `activity_history` log is sent to both the producer and consumer
2372
+ # projects, whereas the `purchase_history` log is only sent to the producer
2373
+ # project. monitored_resources: - type: library.googleapis.com/branch labels: -
2374
+ # key: /city description: The city where the library branch is located in. - key:
2375
+ # /name description: The name of the branch. logs: - name: activity_history
2376
+ # labels: - key: /customer_id - name: purchase_history logging:
2377
+ # producer_destinations: - monitored_resource: library.googleapis.com/branch
2378
+ # logs: - activity_history - purchase_history consumer_destinations: -
2379
+ # monitored_resource: library.googleapis.com/branch logs: - activity_history
2927
2380
  # Corresponds to the JSON property `logging`
2928
2381
  # @return [Google::Apis::ServiceconsumermanagementV1beta1::Logging]
2929
2382
  attr_accessor :logging
@@ -2938,70 +2391,41 @@ module Google
2938
2391
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::MetricDescriptor>]
2939
2392
  attr_accessor :metrics
2940
2393
 
2941
- # Defines the monitored resources used by this service. This is required
2942
- # by the Service.monitoring and Service.logging configurations.
2394
+ # Defines the monitored resources used by this service. This is required by the
2395
+ # Service.monitoring and Service.logging configurations.
2943
2396
  # Corresponds to the JSON property `monitoredResources`
2944
2397
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::MonitoredResourceDescriptor>]
2945
2398
  attr_accessor :monitored_resources
2946
2399
 
2947
- # Monitoring configuration of the service.
2948
- # The example below shows how to configure monitored resources and metrics
2949
- # for monitoring. In the example, a monitored resource and two metrics are
2950
- # defined. The `library.googleapis.com/book/returned_count` metric is sent
2951
- # to both producer and consumer projects, whereas the
2952
- # `library.googleapis.com/book/num_overdue` metric is only sent to the
2953
- # consumer project.
2954
- # monitored_resources:
2955
- # - type: library.googleapis.com/Branch
2956
- # display_name: "Library Branch"
2957
- # description: "A branch of a library."
2958
- # launch_stage: GA
2959
- # labels:
2960
- # - key: resource_container
2961
- # description: "The Cloud container (ie. project id) for the Branch."
2962
- # - key: location
2963
- # description: "The location of the library branch."
2964
- # - key: branch_id
2965
- # description: "The id of the branch."
2966
- # metrics:
2967
- # - name: library.googleapis.com/book/returned_count
2968
- # display_name: "Books Returned"
2969
- # description: "The count of books that have been returned."
2970
- # launch_stage: GA
2971
- # metric_kind: DELTA
2972
- # value_type: INT64
2973
- # unit: "1"
2974
- # labels:
2975
- # - key: customer_id
2976
- # description: "The id of the customer."
2977
- # - name: library.googleapis.com/book/num_overdue
2978
- # display_name: "Books Overdue"
2979
- # description: "The current number of overdue books."
2980
- # launch_stage: GA
2981
- # metric_kind: GAUGE
2982
- # value_type: INT64
2983
- # unit: "1"
2984
- # labels:
2985
- # - key: customer_id
2986
- # description: "The id of the customer."
2987
- # monitoring:
2988
- # producer_destinations:
2989
- # - monitored_resource: library.googleapis.com/Branch
2990
- # metrics:
2991
- # - library.googleapis.com/book/returned_count
2992
- # consumer_destinations:
2993
- # - monitored_resource: library.googleapis.com/Branch
2994
- # metrics:
2995
- # - library.googleapis.com/book/returned_count
2996
- # - library.googleapis.com/book/num_overdue
2400
+ # Monitoring configuration of the service. The example below shows how to
2401
+ # configure monitored resources and metrics for monitoring. In the example, a
2402
+ # monitored resource and two metrics are defined. The `library.googleapis.com/
2403
+ # book/returned_count` metric is sent to both producer and consumer projects,
2404
+ # whereas the `library.googleapis.com/book/num_overdue` metric is only sent to
2405
+ # the consumer project. monitored_resources: - type: library.googleapis.com/
2406
+ # Branch display_name: "Library Branch" description: "A branch of a library."
2407
+ # launch_stage: GA labels: - key: resource_container description: "The Cloud
2408
+ # container (ie. project id) for the Branch." - key: location description: "The
2409
+ # location of the library branch." - key: branch_id description: "The id of the
2410
+ # branch." metrics: - name: library.googleapis.com/book/returned_count
2411
+ # display_name: "Books Returned" description: "The count of books that have been
2412
+ # returned." launch_stage: GA metric_kind: DELTA value_type: INT64 unit: "1"
2413
+ # labels: - key: customer_id description: "The id of the customer." - name:
2414
+ # library.googleapis.com/book/num_overdue display_name: "Books Overdue"
2415
+ # description: "The current number of overdue books." launch_stage: GA
2416
+ # metric_kind: GAUGE value_type: INT64 unit: "1" labels: - key: customer_id
2417
+ # description: "The id of the customer." monitoring: producer_destinations: -
2418
+ # monitored_resource: library.googleapis.com/Branch metrics: - library.
2419
+ # googleapis.com/book/returned_count consumer_destinations: - monitored_resource:
2420
+ # library.googleapis.com/Branch metrics: - library.googleapis.com/book/
2421
+ # returned_count - library.googleapis.com/book/num_overdue
2997
2422
  # Corresponds to the JSON property `monitoring`
2998
2423
  # @return [Google::Apis::ServiceconsumermanagementV1beta1::Monitoring]
2999
2424
  attr_accessor :monitoring
3000
2425
 
3001
- # The service name, which is a DNS-like logical identifier for the
3002
- # service, such as `calendar.googleapis.com`. The service name
3003
- # typically goes through DNS verification to make sure the owner
3004
- # of the service also owns the DNS name.
2426
+ # The service name, which is a DNS-like logical identifier for the service, such
2427
+ # as `calendar.googleapis.com`. The service name typically goes through DNS
2428
+ # verification to make sure the owner of the service also owns the DNS name.
3005
2429
  # Corresponds to the JSON property `name`
3006
2430
  # @return [String]
3007
2431
  attr_accessor :name
@@ -3011,46 +2435,25 @@ module Google
3011
2435
  # @return [String]
3012
2436
  attr_accessor :producer_project_id
3013
2437
 
3014
- # Quota configuration helps to achieve fairness and budgeting in service
3015
- # usage.
3016
- # The metric based quota configuration works this way:
3017
- # - The service configuration defines a set of metrics.
3018
- # - For API calls, the quota.metric_rules maps methods to metrics with
3019
- # corresponding costs.
3020
- # - The quota.limits defines limits on the metrics, which will be used for
3021
- # quota checks at runtime.
3022
- # An example quota configuration in yaml format:
3023
- # quota:
3024
- # limits:
3025
- # - name: apiWriteQpsPerProject
3026
- # metric: library.googleapis.com/write_calls
3027
- # unit: "1/min/`project`" # rate limit for consumer projects
3028
- # values:
3029
- # STANDARD: 10000
3030
- # # The metric rules bind all methods to the read_calls metric,
3031
- # # except for the UpdateBook and DeleteBook methods. These two methods
3032
- # # are mapped to the write_calls metric, with the UpdateBook method
3033
- # # consuming at twice rate as the DeleteBook method.
3034
- # metric_rules:
3035
- # - selector: "*"
3036
- # metric_costs:
3037
- # library.googleapis.com/read_calls: 1
3038
- # - selector: google.example.library.v1.LibraryService.UpdateBook
3039
- # metric_costs:
3040
- # library.googleapis.com/write_calls: 2
3041
- # - selector: google.example.library.v1.LibraryService.DeleteBook
3042
- # metric_costs:
3043
- # library.googleapis.com/write_calls: 1
3044
- # Corresponding Metric definition:
3045
- # metrics:
3046
- # - name: library.googleapis.com/read_calls
3047
- # display_name: Read requests
3048
- # metric_kind: DELTA
3049
- # value_type: INT64
3050
- # - name: library.googleapis.com/write_calls
3051
- # display_name: Write requests
3052
- # metric_kind: DELTA
3053
- # value_type: INT64
2438
+ # Quota configuration helps to achieve fairness and budgeting in service usage.
2439
+ # The metric based quota configuration works this way: - The service
2440
+ # configuration defines a set of metrics. - For API calls, the quota.
2441
+ # metric_rules maps methods to metrics with corresponding costs. - The quota.
2442
+ # limits defines limits on the metrics, which will be used for quota checks at
2443
+ # runtime. An example quota configuration in yaml format: quota: limits: - name:
2444
+ # apiWriteQpsPerProject metric: library.googleapis.com/write_calls unit: "1/min/`
2445
+ # project`" # rate limit for consumer projects values: STANDARD: 10000 # The
2446
+ # metric rules bind all methods to the read_calls metric, # except for the
2447
+ # UpdateBook and DeleteBook methods. These two methods # are mapped to the
2448
+ # write_calls metric, with the UpdateBook method # consuming at twice rate as
2449
+ # the DeleteBook method. metric_rules: - selector: "*" metric_costs: library.
2450
+ # googleapis.com/read_calls: 1 - selector: google.example.library.v1.
2451
+ # LibraryService.UpdateBook metric_costs: library.googleapis.com/write_calls: 2 -
2452
+ # selector: google.example.library.v1.LibraryService.DeleteBook metric_costs:
2453
+ # library.googleapis.com/write_calls: 1 Corresponding Metric definition: metrics:
2454
+ # - name: library.googleapis.com/read_calls display_name: Read requests
2455
+ # metric_kind: DELTA value_type: INT64 - name: library.googleapis.com/
2456
+ # write_calls display_name: Write requests metric_kind: DELTA value_type: INT64
3054
2457
  # Corresponds to the JSON property `quota`
3055
2458
  # @return [Google::Apis::ServiceconsumermanagementV1beta1::Quota]
3056
2459
  attr_accessor :quota
@@ -3060,20 +2463,18 @@ module Google
3060
2463
  # @return [Google::Apis::ServiceconsumermanagementV1beta1::SourceInfo]
3061
2464
  attr_accessor :source_info
3062
2465
 
3063
- # ### System parameter configuration
3064
- # A system parameter is a special kind of parameter defined by the API
3065
- # system, not by an individual API. It is typically mapped to an HTTP header
3066
- # and/or a URL query parameter. This configuration specifies which methods
3067
- # change the names of the system parameters.
2466
+ # ### System parameter configuration A system parameter is a special kind of
2467
+ # parameter defined by the API system, not by an individual API. It is typically
2468
+ # mapped to an HTTP header and/or a URL query parameter. This configuration
2469
+ # specifies which methods change the names of the system parameters.
3068
2470
  # Corresponds to the JSON property `systemParameters`
3069
2471
  # @return [Google::Apis::ServiceconsumermanagementV1beta1::SystemParameters]
3070
2472
  attr_accessor :system_parameters
3071
2473
 
3072
- # A list of all proto message types included in this API service.
3073
- # It serves similar purpose as [google.api.Service.types], except that
3074
- # these types are not needed by user-defined APIs. Therefore, they will not
3075
- # show up in the generated discovery doc. This field should only be used
3076
- # to define system APIs in ESF.
2474
+ # A list of all proto message types included in this API service. It serves
2475
+ # similar purpose as [google.api.Service.types], except that these types are not
2476
+ # needed by user-defined APIs. Therefore, they will not show up in the generated
2477
+ # discovery doc. This field should only be used to define system APIs in ESF.
3077
2478
  # Corresponds to the JSON property `systemTypes`
3078
2479
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::Type>]
3079
2480
  attr_accessor :system_types
@@ -3083,12 +2484,10 @@ module Google
3083
2484
  # @return [String]
3084
2485
  attr_accessor :title
3085
2486
 
3086
- # A list of all proto message types included in this API service.
3087
- # Types referenced directly or indirectly by the `apis` are
3088
- # automatically included. Messages which are not referenced but
3089
- # shall be included, such as types used by the `google.protobuf.Any` type,
3090
- # should be listed here by name. Example:
3091
- # types:
2487
+ # A list of all proto message types included in this API service. Types
2488
+ # referenced directly or indirectly by the `apis` are automatically included.
2489
+ # Messages which are not referenced but shall be included, such as types used by
2490
+ # the `google.protobuf.Any` type, should be listed here by name. Example: types:
3092
2491
  # - name: google.protobuf.Int32
3093
2492
  # Corresponds to the JSON property `types`
3094
2493
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::Type>]
@@ -3135,32 +2534,28 @@ module Google
3135
2534
  end
3136
2535
  end
3137
2536
 
3138
- # The per-product per-project service identity for a service.
3139
- # Use this field to configure per-product per-project service identity.
3140
- # Example of a service identity configuration.
3141
- # usage:
3142
- # service_identity:
3143
- # - service_account_parent: "projects/123456789"
3144
- # display_name: "Cloud XXX Service Agent"
3145
- # description: "Used as the identity of Cloud XXX to access resources"
2537
+ # The per-product per-project service identity for a service. Use this field to
2538
+ # configure per-product per-project service identity. Example of a service
2539
+ # identity configuration. usage: service_identity: - service_account_parent: "
2540
+ # projects/123456789" display_name: "Cloud XXX Service Agent" description: "Used
2541
+ # as the identity of Cloud XXX to access resources"
3146
2542
  class ServiceIdentity
3147
2543
  include Google::Apis::Core::Hashable
3148
2544
 
3149
- # Optional. A user-specified opaque description of the service account.
3150
- # Must be less than or equal to 256 UTF-8 bytes.
2545
+ # Optional. A user-specified opaque description of the service account. Must be
2546
+ # less than or equal to 256 UTF-8 bytes.
3151
2547
  # Corresponds to the JSON property `description`
3152
2548
  # @return [String]
3153
2549
  attr_accessor :description
3154
2550
 
3155
- # Optional. A user-specified name for the service account.
3156
- # Must be less than or equal to 100 UTF-8 bytes.
2551
+ # Optional. A user-specified name for the service account. Must be less than or
2552
+ # equal to 100 UTF-8 bytes.
3157
2553
  # Corresponds to the JSON property `displayName`
3158
2554
  # @return [String]
3159
2555
  attr_accessor :display_name
3160
2556
 
3161
- # A service account project that hosts the service accounts.
3162
- # An example name would be:
3163
- # `projects/123456789`
2557
+ # A service account project that hosts the service accounts. An example name
2558
+ # would be: `projects/123456789`
3164
2559
  # Corresponds to the JSON property `serviceAccountParent`
3165
2560
  # @return [String]
3166
2561
  attr_accessor :service_account_parent
@@ -3177,13 +2572,13 @@ module Google
3177
2572
  end
3178
2573
  end
3179
2574
 
3180
- # `SourceContext` represents information about the source of a
3181
- # protobuf element, like the file in which it is defined.
2575
+ # `SourceContext` represents information about the source of a protobuf element,
2576
+ # like the file in which it is defined.
3182
2577
  class SourceContext
3183
2578
  include Google::Apis::Core::Hashable
3184
2579
 
3185
2580
  # The path-qualified name of the .proto file that contained the associated
3186
- # protobuf element. For example: `"google/protobuf/source_context.proto"`.
2581
+ # protobuf element. For example: `"google/protobuf/source_context.proto"`.
3187
2582
  # Corresponds to the JSON property `fileName`
3188
2583
  # @return [String]
3189
2584
  attr_accessor :file_name
@@ -3217,12 +2612,12 @@ module Google
3217
2612
  end
3218
2613
  end
3219
2614
 
3220
- # The `Status` type defines a logical error model that is suitable for
3221
- # different programming environments, including REST APIs and RPC APIs. It is
3222
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
3223
- # three pieces of data: error code, error message, and error details.
3224
- # You can find out more about this error model and how to work with it in the
3225
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
2615
+ # The `Status` type defines a logical error model that is suitable for different
2616
+ # programming environments, including REST APIs and RPC APIs. It is used by [
2617
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
2618
+ # data: error code, error message, and error details. You can find out more
2619
+ # about this error model and how to work with it in the [API Design Guide](https:
2620
+ # //cloud.google.com/apis/design/errors).
3226
2621
  class Status
3227
2622
  include Google::Apis::Core::Hashable
3228
2623
 
@@ -3231,15 +2626,15 @@ module Google
3231
2626
  # @return [Fixnum]
3232
2627
  attr_accessor :code
3233
2628
 
3234
- # A list of messages that carry the error details. There is a common set of
2629
+ # A list of messages that carry the error details. There is a common set of
3235
2630
  # message types for APIs to use.
3236
2631
  # Corresponds to the JSON property `details`
3237
2632
  # @return [Array<Hash<String,Object>>]
3238
2633
  attr_accessor :details
3239
2634
 
3240
- # A developer-facing error message, which should be in English. Any
3241
- # user-facing error message should be localized and sent in the
3242
- # google.rpc.Status.details field, or localized by the client.
2635
+ # A developer-facing error message, which should be in English. Any user-facing
2636
+ # error message should be localized and sent in the google.rpc.Status.details
2637
+ # field, or localized by the client.
3243
2638
  # Corresponds to the JSON property `message`
3244
2639
  # @return [String]
3245
2640
  attr_accessor :message
@@ -3262,8 +2657,7 @@ module Google
3262
2657
  class SystemParameter
3263
2658
  include Google::Apis::Core::Hashable
3264
2659
 
3265
- # Define the HTTP header name to use for the parameter. It is case
3266
- # insensitive.
2660
+ # Define the HTTP header name to use for the parameter. It is case insensitive.
3267
2661
  # Corresponds to the JSON property `httpHeader`
3268
2662
  # @return [String]
3269
2663
  attr_accessor :http_header
@@ -3291,23 +2685,20 @@ module Google
3291
2685
  end
3292
2686
  end
3293
2687
 
3294
- # Define a system parameter rule mapping system parameter definitions to
3295
- # methods.
2688
+ # Define a system parameter rule mapping system parameter definitions to methods.
3296
2689
  class SystemParameterRule
3297
2690
  include Google::Apis::Core::Hashable
3298
2691
 
3299
- # Define parameters. Multiple names may be defined for a parameter.
3300
- # For a given method call, only one of them should be used. If multiple
3301
- # names are used the behavior is implementation-dependent.
3302
- # If none of the specified names are present the behavior is
3303
- # parameter-dependent.
2692
+ # Define parameters. Multiple names may be defined for a parameter. For a given
2693
+ # method call, only one of them should be used. If multiple names are used the
2694
+ # behavior is implementation-dependent. If none of the specified names are
2695
+ # present the behavior is parameter-dependent.
3304
2696
  # Corresponds to the JSON property `parameters`
3305
2697
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::SystemParameter>]
3306
2698
  attr_accessor :parameters
3307
2699
 
3308
2700
  # Selects the methods to which this rule applies. Use '*' to indicate all
3309
- # methods in all APIs.
3310
- # Refer to selector for syntax details.
2701
+ # methods in all APIs. Refer to selector for syntax details.
3311
2702
  # Corresponds to the JSON property `selector`
3312
2703
  # @return [String]
3313
2704
  attr_accessor :selector
@@ -3323,36 +2714,23 @@ module Google
3323
2714
  end
3324
2715
  end
3325
2716
 
3326
- # ### System parameter configuration
3327
- # A system parameter is a special kind of parameter defined by the API
3328
- # system, not by an individual API. It is typically mapped to an HTTP header
3329
- # and/or a URL query parameter. This configuration specifies which methods
3330
- # change the names of the system parameters.
2717
+ # ### System parameter configuration A system parameter is a special kind of
2718
+ # parameter defined by the API system, not by an individual API. It is typically
2719
+ # mapped to an HTTP header and/or a URL query parameter. This configuration
2720
+ # specifies which methods change the names of the system parameters.
3331
2721
  class SystemParameters
3332
2722
  include Google::Apis::Core::Hashable
3333
2723
 
3334
- # Define system parameters.
3335
- # The parameters defined here will override the default parameters
3336
- # implemented by the system. If this field is missing from the service
3337
- # config, default system parameters will be used. Default system parameters
3338
- # and names is implementation-dependent.
3339
- # Example: define api key for all methods
3340
- # system_parameters
3341
- # rules:
3342
- # - selector: "*"
3343
- # parameters:
3344
- # - name: api_key
3345
- # url_query_parameter: api_key
3346
- # Example: define 2 api key names for a specific method.
3347
- # system_parameters
3348
- # rules:
3349
- # - selector: "/ListShelves"
3350
- # parameters:
3351
- # - name: api_key
3352
- # http_header: Api-Key1
3353
- # - name: api_key
3354
- # http_header: Api-Key2
3355
- # **NOTE:** All service configuration rules follow "last one wins" order.
2724
+ # Define system parameters. The parameters defined here will override the
2725
+ # default parameters implemented by the system. If this field is missing from
2726
+ # the service config, default system parameters will be used. Default system
2727
+ # parameters and names is implementation-dependent. Example: define api key for
2728
+ # all methods system_parameters rules: - selector: "*" parameters: - name:
2729
+ # api_key url_query_parameter: api_key Example: define 2 api key names for a
2730
+ # specific method. system_parameters rules: - selector: "/ListShelves"
2731
+ # parameters: - name: api_key http_header: Api-Key1 - name: api_key http_header:
2732
+ # Api-Key2 **NOTE:** All service configuration rules follow "last one wins"
2733
+ # order.
3356
2734
  # Corresponds to the JSON property `rules`
3357
2735
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::SystemParameterRule>]
3358
2736
  attr_accessor :rules
@@ -3391,8 +2769,8 @@ module Google
3391
2769
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::Option>]
3392
2770
  attr_accessor :options
3393
2771
 
3394
- # `SourceContext` represents information about the source of a
3395
- # protobuf element, like the file in which it is defined.
2772
+ # `SourceContext` represents information about the source of a protobuf element,
2773
+ # like the file in which it is defined.
3396
2774
  # Corresponds to the JSON property `sourceContext`
3397
2775
  # @return [Google::Apis::ServiceconsumermanagementV1beta1::SourceContext]
3398
2776
  attr_accessor :source_context
@@ -3422,37 +2800,33 @@ module Google
3422
2800
  include Google::Apis::Core::Hashable
3423
2801
 
3424
2802
  # The full resource name of a channel used for sending notifications to the
3425
- # service producer.
3426
- # Google Service Management currently only supports
3427
- # [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification
3428
- # channel. To use Google Cloud Pub/Sub as the channel, this must be the name
3429
- # of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format
3430
- # documented in https://cloud.google.com/pubsub/docs/overview.
2803
+ # service producer. Google Service Management currently only supports [Google
2804
+ # Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification channel. To
2805
+ # use Google Cloud Pub/Sub as the channel, this must be the name of a Cloud Pub/
2806
+ # Sub topic that uses the Cloud Pub/Sub topic name format documented in https://
2807
+ # cloud.google.com/pubsub/docs/overview.
3431
2808
  # Corresponds to the JSON property `producerNotificationChannel`
3432
2809
  # @return [String]
3433
2810
  attr_accessor :producer_notification_channel
3434
2811
 
3435
2812
  # Requirements that must be satisfied before a consumer project can use the
3436
- # service. Each requirement is of the form <service.name>/<requirement-id>;
3437
- # for example 'serviceusage.googleapis.com/billing-enabled'.
2813
+ # service. Each requirement is of the form /; for example 'serviceusage.
2814
+ # googleapis.com/billing-enabled'.
3438
2815
  # Corresponds to the JSON property `requirements`
3439
2816
  # @return [Array<String>]
3440
2817
  attr_accessor :requirements
3441
2818
 
3442
- # A list of usage rules that apply to individual API methods.
3443
- # **NOTE:** All service configuration rules follow "last one wins" order.
2819
+ # A list of usage rules that apply to individual API methods. **NOTE:** All
2820
+ # service configuration rules follow "last one wins" order.
3444
2821
  # Corresponds to the JSON property `rules`
3445
2822
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::UsageRule>]
3446
2823
  attr_accessor :rules
3447
2824
 
3448
- # The per-product per-project service identity for a service.
3449
- # Use this field to configure per-product per-project service identity.
3450
- # Example of a service identity configuration.
3451
- # usage:
3452
- # service_identity:
3453
- # - service_account_parent: "projects/123456789"
3454
- # display_name: "Cloud XXX Service Agent"
3455
- # description: "Used as the identity of Cloud XXX to access resources"
2825
+ # The per-product per-project service identity for a service. Use this field to
2826
+ # configure per-product per-project service identity. Example of a service
2827
+ # identity configuration. usage: service_identity: - service_account_parent: "
2828
+ # projects/123456789" display_name: "Cloud XXX Service Agent" description: "Used
2829
+ # as the identity of Cloud XXX to access resources"
3456
2830
  # Corresponds to the JSON property `serviceIdentity`
3457
2831
  # @return [Google::Apis::ServiceconsumermanagementV1beta1::ServiceIdentity]
3458
2832
  attr_accessor :service_identity
@@ -3470,45 +2844,36 @@ module Google
3470
2844
  end
3471
2845
  end
3472
2846
 
3473
- # Usage configuration rules for the service.
3474
- # NOTE: Under development.
3475
- # Use this rule to configure unregistered calls for the service. Unregistered
3476
- # calls are calls that do not contain consumer project identity.
3477
- # (Example: calls that do not contain an API key).
3478
- # By default, API methods do not allow unregistered calls, and each method call
3479
- # must be identified by a consumer project identity. Use this rule to
3480
- # allow/disallow unregistered calls.
3481
- # Example of an API that wants to allow unregistered calls for entire service.
3482
- # usage:
3483
- # rules:
3484
- # - selector: "*"
3485
- # allow_unregistered_calls: true
3486
- # Example of a method that wants to allow unregistered calls.
3487
- # usage:
3488
- # rules:
3489
- # - selector: "google.example.library.v1.LibraryService.CreateBook"
3490
- # allow_unregistered_calls: true
2847
+ # Usage configuration rules for the service. NOTE: Under development. Use this
2848
+ # rule to configure unregistered calls for the service. Unregistered calls are
2849
+ # calls that do not contain consumer project identity. (Example: calls that do
2850
+ # not contain an API key). By default, API methods do not allow unregistered
2851
+ # calls, and each method call must be identified by a consumer project identity.
2852
+ # Use this rule to allow/disallow unregistered calls. Example of an API that
2853
+ # wants to allow unregistered calls for entire service. usage: rules: - selector:
2854
+ # "*" allow_unregistered_calls: true Example of a method that wants to allow
2855
+ # unregistered calls. usage: rules: - selector: "google.example.library.v1.
2856
+ # LibraryService.CreateBook" allow_unregistered_calls: true
3491
2857
  class UsageRule
3492
2858
  include Google::Apis::Core::Hashable
3493
2859
 
3494
- # If true, the selected method allows unregistered calls, e.g. calls
3495
- # that don't identify any user or application.
2860
+ # If true, the selected method allows unregistered calls, e.g. calls that don't
2861
+ # identify any user or application.
3496
2862
  # Corresponds to the JSON property `allowUnregisteredCalls`
3497
2863
  # @return [Boolean]
3498
2864
  attr_accessor :allow_unregistered_calls
3499
2865
  alias_method :allow_unregistered_calls?, :allow_unregistered_calls
3500
2866
 
3501
2867
  # Selects the methods to which this rule applies. Use '*' to indicate all
3502
- # methods in all APIs.
3503
- # Refer to selector for syntax details.
2868
+ # methods in all APIs. Refer to selector for syntax details.
3504
2869
  # Corresponds to the JSON property `selector`
3505
2870
  # @return [String]
3506
2871
  attr_accessor :selector
3507
2872
 
3508
- # If true, the selected method should skip service control and the control
3509
- # plane features, such as quota and billing, will not be available.
3510
- # This flag is used by Google Cloud Endpoints to bypass checks for internal
3511
- # methods, such as service health check methods.
2873
+ # If true, the selected method should skip service control and the control plane
2874
+ # features, such as quota and billing, will not be available. This flag is used
2875
+ # by Google Cloud Endpoints to bypass checks for internal methods, such as
2876
+ # service health check methods.
3512
2877
  # Corresponds to the JSON property `skipServiceControl`
3513
2878
  # @return [Boolean]
3514
2879
  attr_accessor :skip_service_control
@@ -3555,35 +2920,31 @@ module Google
3555
2920
  attr_accessor :is_precise
3556
2921
  alias_method :is_precise?, :is_precise
3557
2922
 
3558
- # The name of the parent metric of this limit.
3559
- # An example name would be:
3560
- # `compute.googleapis.com/cpus`
2923
+ # The name of the parent metric of this limit. An example name would be: `
2924
+ # compute.googleapis.com/cpus`
3561
2925
  # Corresponds to the JSON property `metric`
3562
2926
  # @return [String]
3563
2927
  attr_accessor :metric
3564
2928
 
3565
- # The resource name of the quota limit.
3566
- # An example name would be:
3567
- # `services/compute.googleapis.com/projects/123/quotas/metrics/compute.
3568
- # googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
3569
- # The resource name is intended to be opaque and should not be parsed for
3570
- # its component strings, since its representation could change in the future.
2929
+ # The resource name of the quota limit. An example name would be: `services/
2930
+ # compute.googleapis.com/projects/123/quotas/metrics/compute.googleapis.com%
2931
+ # 2Fcpus/limits/%2Fproject%2Fregion` The resource name is intended to be opaque
2932
+ # and should not be parsed for its component strings, since its representation
2933
+ # could change in the future.
3571
2934
  # Corresponds to the JSON property `name`
3572
2935
  # @return [String]
3573
2936
  attr_accessor :name
3574
2937
 
3575
- # Summary of the enforced quota buckets, organized by quota dimension,
3576
- # ordered from least specific to most specific (for example, the global
3577
- # default bucket, with no quota dimensions, will always appear first).
2938
+ # Summary of the enforced quota buckets, organized by quota dimension, ordered
2939
+ # from least specific to most specific (for example, the global default bucket,
2940
+ # with no quota dimensions, will always appear first).
3578
2941
  # Corresponds to the JSON property `quotaBuckets`
3579
2942
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1QuotaBucket>]
3580
2943
  attr_accessor :quota_buckets
3581
2944
 
3582
- # The limit unit.
3583
- # An example unit would be:
3584
- # `1/`project`/`region``
3585
- # Note that ``project`` and ``region`` are not placeholders in this example;
3586
- # the literal characters ``` and ``` occur in the string.
2945
+ # The limit unit. An example unit would be: `1/`project`/`region`` Note that ``
2946
+ # project`` and ``region`` are not placeholders in this example; the literal
2947
+ # characters ``` and ``` occur in the string.
3587
2948
  # Corresponds to the JSON property `unit`
3588
2949
  # @return [String]
3589
2950
  attr_accessor :unit
@@ -3611,26 +2972,21 @@ module Google
3611
2972
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1ConsumerQuotaLimit>]
3612
2973
  attr_accessor :consumer_quota_limits
3613
2974
 
3614
- # The display name of the metric.
3615
- # An example name would be:
3616
- # "CPUs"
2975
+ # The display name of the metric. An example name would be: "CPUs"
3617
2976
  # Corresponds to the JSON property `displayName`
3618
2977
  # @return [String]
3619
2978
  attr_accessor :display_name
3620
2979
 
3621
- # The name of the metric.
3622
- # An example name would be:
3623
- # `compute.googleapis.com/cpus`
2980
+ # The name of the metric. An example name would be: `compute.googleapis.com/cpus`
3624
2981
  # Corresponds to the JSON property `metric`
3625
2982
  # @return [String]
3626
2983
  attr_accessor :metric
3627
2984
 
3628
- # The resource name of the quota settings on this metric for this consumer.
3629
- # An example name would be:
3630
- # `services/serviceconsumermanagement.googleapis.com/projects/123/quota/metrics/
3631
- # compute.googleapis.com%2Fcpus
3632
- # The resource name is intended to be opaque and should not be parsed for
3633
- # its component strings, since its representation could change in the future.
2985
+ # The resource name of the quota settings on this metric for this consumer. An
2986
+ # example name would be: `services/serviceconsumermanagement.googleapis.com/
2987
+ # projects/123/quota/metrics/compute.googleapis.com%2Fcpus The resource name is
2988
+ # intended to be opaque and should not be parsed for its component strings,
2989
+ # since its representation could change in the future.
3634
2990
  # Corresponds to the JSON property `name`
3635
2991
  # @return [String]
3636
2992
  attr_accessor :name
@@ -3654,9 +3010,9 @@ module Google
3654
3010
  end
3655
3011
  end
3656
3012
 
3657
- # Response message for the `DisableConsumer` method.
3658
- # This response message is assigned to the `response` field of the returned
3659
- # Operation when that operation is done.
3013
+ # Response message for the `DisableConsumer` method. This response message is
3014
+ # assigned to the `response` field of the returned Operation when that operation
3015
+ # is done.
3660
3016
  class V1Beta1DisableConsumerResponse
3661
3017
  include Google::Apis::Core::Hashable
3662
3018
 
@@ -3669,9 +3025,9 @@ module Google
3669
3025
  end
3670
3026
  end
3671
3027
 
3672
- # Response message for the `EnableConsumer` method.
3673
- # This response message is assigned to the `response` field of the returned
3674
- # Operation when that operation is done.
3028
+ # Response message for the `EnableConsumer` method. This response message is
3029
+ # assigned to the `response` field of the returned Operation when that operation
3030
+ # is done.
3675
3031
  class V1Beta1EnableConsumerResponse
3676
3032
  include Google::Apis::Core::Hashable
3677
3033
 
@@ -3684,9 +3040,9 @@ module Google
3684
3040
  end
3685
3041
  end
3686
3042
 
3687
- # Response message for the `GenerateServiceIdentity` method.
3688
- # This response message is assigned to the `response` field of the returned
3689
- # Operation when that operation is done.
3043
+ # Response message for the `GenerateServiceIdentity` method. This response
3044
+ # message is assigned to the `response` field of the returned Operation when
3045
+ # that operation is done.
3690
3046
  class V1Beta1GenerateServiceIdentityResponse
3691
3047
  include Google::Apis::Core::Hashable
3692
3048
 
@@ -3709,11 +3065,11 @@ module Google
3709
3065
  class V1Beta1ImportProducerOverridesRequest
3710
3066
  include Google::Apis::Core::Hashable
3711
3067
 
3712
- # Whether to force the creation of the quota overrides.
3713
- # If creating an override would cause the effective quota for the consumer to
3714
- # decrease by more than 10 percent, the call is rejected, as a safety measure
3715
- # to avoid accidentally decreasing quota too quickly. Setting the force
3716
- # parameter to true ignores this restriction.
3068
+ # Whether to force the creation of the quota overrides. If creating an override
3069
+ # would cause the effective quota for the consumer to decrease by more than 10
3070
+ # percent, the call is rejected, as a safety measure to avoid accidentally
3071
+ # decreasing quota too quickly. Setting the force parameter to true ignores this
3072
+ # restriction.
3717
3073
  # Corresponds to the JSON property `force`
3718
3074
  # @return [Boolean]
3719
3075
  attr_accessor :force
@@ -3782,8 +3138,7 @@ module Google
3782
3138
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1ConsumerQuotaMetric>]
3783
3139
  attr_accessor :metrics
3784
3140
 
3785
- # Token identifying which result to start with; returned by a previous list
3786
- # call.
3141
+ # Token identifying which result to start with; returned by a previous list call.
3787
3142
  # Corresponds to the JSON property `nextPageToken`
3788
3143
  # @return [String]
3789
3144
  attr_accessor :next_page_token
@@ -3803,8 +3158,7 @@ module Google
3803
3158
  class V1Beta1ListProducerOverridesResponse
3804
3159
  include Google::Apis::Core::Hashable
3805
3160
 
3806
- # Token identifying which result to start with; returned by a previous list
3807
- # call.
3161
+ # Token identifying which result to start with; returned by a previous list call.
3808
3162
  # Corresponds to the JSON property `nextPageToken`
3809
3163
  # @return [String]
3810
3164
  attr_accessor :next_page_token
@@ -3829,9 +3183,9 @@ module Google
3829
3183
  class V1Beta1OverrideInlineSource
3830
3184
  include Google::Apis::Core::Hashable
3831
3185
 
3832
- # The overrides to create.
3833
- # Each override must have a value for 'metric' and 'unit', to specify
3834
- # which metric and which limit the override should be applied to.
3186
+ # The overrides to create. Each override must have a value for 'metric' and '
3187
+ # unit', to specify which metric and which limit the override should be applied
3188
+ # to. The 'name' field of the override does not need to be set; it is ignored.
3835
3189
  # Corresponds to the JSON property `overrides`
3836
3190
  # @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1QuotaOverride>]
3837
3191
  attr_accessor :overrides
@@ -3850,61 +3204,54 @@ module Google
3850
3204
  class V1Beta1ProducerQuotaPolicy
3851
3205
  include Google::Apis::Core::Hashable
3852
3206
 
3853
- # The cloud resource container at which the quota policy is created. The
3854
- # format is `container_type`/`container_number`
3207
+ # The cloud resource container at which the quota policy is created. The format
3208
+ # is `container_type`/`container_number`
3855
3209
  # Corresponds to the JSON property `container`
3856
3210
  # @return [String]
3857
3211
  attr_accessor :container
3858
3212
 
3859
- # If this map is nonempty, then this policy applies only to specific values
3860
- # for dimensions defined in the limit unit.
3861
- # For example, an policy on a limit with the unit 1/`project`/`region`
3862
- # could contain an entry with the key "region" and the value "us-east-1";
3863
- # the policy is only applied to quota consumed in that region.
3864
- # This map has the following restrictions:
3865
- # * Keys that are not defined in the limit's unit are not valid keys.
3866
- # Any string appearing in `brackets` in the unit (besides `project` or
3867
- # `user`) is a defined key.
3868
- # * "project" is not a valid key; the project is already specified in
3869
- # the parent resource name.
3870
- # * "user" is not a valid key; the API does not support quota polcies
3871
- # that apply only to a specific user.
3872
- # * If "region" appears as a key, its value must be a valid Cloud region.
3873
- # * If "zone" appears as a key, its value must be a valid Cloud zone.
3874
- # * If any valid key other than "region" or "zone" appears in the map, then
3875
- # all valid keys other than "region" or "zone" must also appear in the
3213
+ # If this map is nonempty, then this policy applies only to specific values for
3214
+ # dimensions defined in the limit unit. For example, an policy on a limit with
3215
+ # the unit 1/`project`/`region` could contain an entry with the key "region" and
3216
+ # the value "us-east-1"; the policy is only applied to quota consumed in that
3217
+ # region. This map has the following restrictions: * Keys that are not defined
3218
+ # in the limit's unit are not valid keys. Any string appearing in `brackets` in
3219
+ # the unit (besides `project` or `user`) is a defined key. * "project" is not a
3220
+ # valid key; the project is already specified in the parent resource name. * "
3221
+ # user" is not a valid key; the API does not support quota polcies that apply
3222
+ # only to a specific user. * If "region" appears as a key, its value must be a
3223
+ # valid Cloud region. * If "zone" appears as a key, its value must be a valid
3224
+ # Cloud zone. * If any valid key other than "region" or "zone" appears in the
3225
+ # map, then all valid keys other than "region" or "zone" must also appear in the
3876
3226
  # map.
3877
3227
  # Corresponds to the JSON property `dimensions`
3878
3228
  # @return [Hash<String,String>]
3879
3229
  attr_accessor :dimensions
3880
3230
 
3881
- # The name of the metric to which this policy applies.
3882
- # An example name would be:
3231
+ # The name of the metric to which this policy applies. An example name would be:
3883
3232
  # `compute.googleapis.com/cpus`
3884
3233
  # Corresponds to the JSON property `metric`
3885
3234
  # @return [String]
3886
3235
  attr_accessor :metric
3887
3236
 
3888
- # The resource name of the producer policy.
3889
- # An example name would be:
3890
- # `services/compute.googleapis.com/organizations/123/consumerQuotaMetrics/
3891
- # compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/producerQuotaPolicies/
3237
+ # The resource name of the producer policy. An example name would be: `services/
3238
+ # compute.googleapis.com/organizations/123/consumerQuotaMetrics/compute.
3239
+ # googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/producerQuotaPolicies/
3892
3240
  # 4a3f2c1d`
3893
3241
  # Corresponds to the JSON property `name`
3894
3242
  # @return [String]
3895
3243
  attr_accessor :name
3896
3244
 
3897
- # The quota policy value.
3898
- # Can be any nonnegative integer, or -1 (unlimited quota).
3245
+ # The quota policy value. Can be any nonnegative integer, or -1 (unlimited quota)
3246
+ # .
3899
3247
  # Corresponds to the JSON property `policyValue`
3900
3248
  # @return [Fixnum]
3901
3249
  attr_accessor :policy_value
3902
3250
 
3903
- # The limit unit of the limit to which this policy applies.
3904
- # An example unit would be:
3905
- # `1/`project`/`region``
3906
- # Note that ``project`` and ``region`` are not placeholders in this example;
3907
- # the literal characters ``` and ``` occur in the string.
3251
+ # The limit unit of the limit to which this policy applies. An example unit
3252
+ # would be: `1/`project`/`region`` Note that ``project`` and ``region`` are not
3253
+ # placeholders in this example; the literal characters ``` and ``` occur in the
3254
+ # string.
3908
3255
  # Corresponds to the JSON property `unit`
3909
3256
  # @return [String]
3910
3257
  attr_accessor :unit
@@ -3944,20 +3291,19 @@ module Google
3944
3291
  # @return [Fixnum]
3945
3292
  attr_accessor :default_limit
3946
3293
 
3947
- # The dimensions of this quota bucket.
3948
- # If this map is empty, this is the global bucket, which is the default quota
3949
- # value applied to all requests that do not have a more specific override.
3950
- # If this map is nonempty, the default limit, effective limit, and quota
3951
- # overrides apply only to requests that have the dimensions given in the map.
3952
- # For example, if the map has key "region" and value "us-east-1", then the
3953
- # specified effective limit is only effective in that region, and the
3954
- # specified overrides apply only in that region.
3294
+ # The dimensions of this quota bucket. If this map is empty, this is the global
3295
+ # bucket, which is the default quota value applied to all requests that do not
3296
+ # have a more specific override. If this map is nonempty, the default limit,
3297
+ # effective limit, and quota overrides apply only to requests that have the
3298
+ # dimensions given in the map. For example, if the map has key "region" and
3299
+ # value "us-east-1", then the specified effective limit is only effective in
3300
+ # that region, and the specified overrides apply only in that region.
3955
3301
  # Corresponds to the JSON property `dimensions`
3956
3302
  # @return [Hash<String,String>]
3957
3303
  attr_accessor :dimensions
3958
3304
 
3959
- # The effective limit of this quota bucket. Equal to default_limit if there
3960
- # are no overrides.
3305
+ # The effective limit of this quota bucket. Equal to default_limit if there are
3306
+ # no overrides.
3961
3307
  # Corresponds to the JSON property `effectiveLimit`
3962
3308
  # @return [Fixnum]
3963
3309
  attr_accessor :effective_limit
@@ -3986,61 +3332,53 @@ module Google
3986
3332
  class V1Beta1QuotaOverride
3987
3333
  include Google::Apis::Core::Hashable
3988
3334
 
3989
- # The resource name of the ancestor that requested the override. For example:
3990
- # "organizations/12345" or "folders/67890".
3991
- # Used by admin overrides only.
3335
+ # The resource name of the ancestor that requested the override. For example: "
3336
+ # organizations/12345" or "folders/67890". Used by admin overrides only.
3992
3337
  # Corresponds to the JSON property `adminOverrideAncestor`
3993
3338
  # @return [String]
3994
3339
  attr_accessor :admin_override_ancestor
3995
3340
 
3996
3341
  # If this map is nonempty, then this override applies only to specific values
3997
- # for dimensions defined in the limit unit.
3998
- # For example, an override on a limit with the unit 1/`project`/`region`
3999
- # could contain an entry with the key "region" and the value "us-east-1";
4000
- # the override is only applied to quota consumed in that region.
4001
- # This map has the following restrictions:
4002
- # * Keys that are not defined in the limit's unit are not valid keys.
4003
- # Any string appearing in `brackets` in the unit (besides `project` or
4004
- # `user`) is a defined key.
4005
- # * "project" is not a valid key; the project is already specified in
4006
- # the parent resource name.
4007
- # * "user" is not a valid key; the API does not support quota overrides
4008
- # that apply only to a specific user.
4009
- # * If "region" appears as a key, its value must be a valid Cloud region.
4010
- # * If "zone" appears as a key, its value must be a valid Cloud zone.
4011
- # * If any valid key other than "region" or "zone" appears in the map, then
4012
- # all valid keys other than "region" or "zone" must also appear in the
4013
- # map.
3342
+ # for dimensions defined in the limit unit. For example, an override on a limit
3343
+ # with the unit 1/`project`/`region` could contain an entry with the key "region"
3344
+ # and the value "us-east-1"; the override is only applied to quota consumed in
3345
+ # that region. This map has the following restrictions: * Keys that are not
3346
+ # defined in the limit's unit are not valid keys. Any string appearing in `
3347
+ # brackets` in the unit (besides `project` or `user`) is a defined key. * "
3348
+ # project" is not a valid key; the project is already specified in the parent
3349
+ # resource name. * "user" is not a valid key; the API does not support quota
3350
+ # overrides that apply only to a specific user. * If "region" appears as a key,
3351
+ # its value must be a valid Cloud region. * If "zone" appears as a key, its
3352
+ # value must be a valid Cloud zone. * If any valid key other than "region" or "
3353
+ # zone" appears in the map, then all valid keys other than "region" or "zone"
3354
+ # must also appear in the map.
4014
3355
  # Corresponds to the JSON property `dimensions`
4015
3356
  # @return [Hash<String,String>]
4016
3357
  attr_accessor :dimensions
4017
3358
 
4018
- # The name of the metric to which this override applies.
4019
- # An example name would be:
4020
- # `compute.googleapis.com/cpus`
3359
+ # The name of the metric to which this override applies. An example name would
3360
+ # be: `compute.googleapis.com/cpus`
4021
3361
  # Corresponds to the JSON property `metric`
4022
3362
  # @return [String]
4023
3363
  attr_accessor :metric
4024
3364
 
4025
- # The resource name of the producer override.
4026
- # An example name would be:
4027
- # `services/compute.googleapis.com/projects/123/consumerQuotaMetrics/compute.
3365
+ # The resource name of the producer override. An example name would be: `
3366
+ # services/compute.googleapis.com/projects/123/consumerQuotaMetrics/compute.
4028
3367
  # googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/producerOverrides/4a3f2c1d`
4029
3368
  # Corresponds to the JSON property `name`
4030
3369
  # @return [String]
4031
3370
  attr_accessor :name
4032
3371
 
4033
- # The overriding quota limit value.
4034
- # Can be any nonnegative integer, or -1 (unlimited quota).
3372
+ # The overriding quota limit value. Can be any nonnegative integer, or -1 (
3373
+ # unlimited quota).
4035
3374
  # Corresponds to the JSON property `overrideValue`
4036
3375
  # @return [Fixnum]
4037
3376
  attr_accessor :override_value
4038
3377
 
4039
- # The limit unit of the limit to which this override applies.
4040
- # An example unit would be:
4041
- # `1/`project`/`region``
4042
- # Note that ``project`` and ``region`` are not placeholders in this example;
4043
- # the literal characters ``` and ``` occur in the string.
3378
+ # The limit unit of the limit to which this override applies. An example unit
3379
+ # would be: `1/`project`/`region`` Note that ``project`` and ``region`` are not
3380
+ # placeholders in this example; the literal characters ``` and ``` occur in the
3381
+ # string.
4044
3382
  # Corresponds to the JSON property `unit`
4045
3383
  # @return [String]
4046
3384
  attr_accessor :unit
@@ -4060,9 +3398,9 @@ module Google
4060
3398
  end
4061
3399
  end
4062
3400
 
4063
- # Response message for the `RefreshConsumer` method.
4064
- # This response message is assigned to the `response` field of the returned
4065
- # Operation when that operation is done.
3401
+ # Response message for the `RefreshConsumer` method. This response message is
3402
+ # assigned to the `response` field of the returned Operation when that operation
3403
+ # is done.
4066
3404
  class V1Beta1RefreshConsumerResponse
4067
3405
  include Google::Apis::Core::Hashable
4068
3406
 
@@ -4084,17 +3422,16 @@ module Google
4084
3422
  # @return [String]
4085
3423
  attr_accessor :email
4086
3424
 
4087
- # P4 service identity resource name.
4088
- # An example name would be:
4089
- # `services/serviceconsumermanagement.googleapis.com/projects/123/
4090
- # serviceIdentities/default`
3425
+ # P4 service identity resource name. An example name would be: `services/
3426
+ # serviceconsumermanagement.googleapis.com/projects/123/serviceIdentities/
3427
+ # default`
4091
3428
  # Corresponds to the JSON property `name`
4092
3429
  # @return [String]
4093
3430
  attr_accessor :name
4094
3431
 
4095
3432
  # The P4 service identity configuration tag. This must be defined in
4096
- # activation_grants. If not specified when creating the account, the tag is
4097
- # set to "default".
3433
+ # activation_grants. If not specified when creating the account, the tag is set
3434
+ # to "default".
4098
3435
  # Corresponds to the JSON property `tag`
4099
3436
  # @return [String]
4100
3437
  attr_accessor :tag
@@ -4117,9 +3454,9 @@ module Google
4117
3454
  end
4118
3455
  end
4119
3456
 
4120
- # Response message for the `AddVisibilityLabels` method.
4121
- # This response message is assigned to the `response` field of the returned
4122
- # Operation when that operation is done.
3457
+ # Response message for the `AddVisibilityLabels` method. This response message
3458
+ # is assigned to the `response` field of the returned Operation when that
3459
+ # operation is done.
4123
3460
  class V1beta1AddVisibilityLabelsResponse
4124
3461
  include Google::Apis::Core::Hashable
4125
3462
 
@@ -4147,10 +3484,8 @@ module Google
4147
3484
  # @return [String]
4148
3485
  attr_accessor :email
4149
3486
 
4150
- # Default identity resource name.
4151
- # An example name would be:
4152
- # `services/serviceconsumermanagement.googleapis.com/projects/123/
4153
- # defaultIdentity`
3487
+ # Default identity resource name. An example name would be: `services/
3488
+ # serviceconsumermanagement.googleapis.com/projects/123/defaultIdentity`
4154
3489
  # Corresponds to the JSON property `name`
4155
3490
  # @return [String]
4156
3491
  attr_accessor :name
@@ -4172,9 +3507,9 @@ module Google
4172
3507
  end
4173
3508
  end
4174
3509
 
4175
- # Response message for the `DisableConsumer` method.
4176
- # This response message is assigned to the `response` field of the returned
4177
- # Operation when that operation is done.
3510
+ # Response message for the `DisableConsumer` method. This response message is
3511
+ # assigned to the `response` field of the returned Operation when that operation
3512
+ # is done.
4178
3513
  class V1beta1DisableConsumerResponse
4179
3514
  include Google::Apis::Core::Hashable
4180
3515
 
@@ -4187,9 +3522,9 @@ module Google
4187
3522
  end
4188
3523
  end
4189
3524
 
4190
- # Response message for the `EnableConsumer` method.
4191
- # This response message is assigned to the `response` field of the returned
4192
- # Operation when that operation is done.
3525
+ # Response message for the `EnableConsumer` method. This response message is
3526
+ # assigned to the `response` field of the returned Operation when that operation
3527
+ # is done.
4193
3528
  class V1beta1EnableConsumerResponse
4194
3529
  include Google::Apis::Core::Hashable
4195
3530
 
@@ -4202,9 +3537,9 @@ module Google
4202
3537
  end
4203
3538
  end
4204
3539
 
4205
- # Response message for the `GenerateDefaultIdentity` method.
4206
- # This response message is assigned to the `response` field of the returned
4207
- # Operation when that operation is done.
3540
+ # Response message for the `GenerateDefaultIdentity` method. This response
3541
+ # message is assigned to the `response` field of the returned Operation when
3542
+ # that operation is done.
4208
3543
  class V1beta1GenerateDefaultIdentityResponse
4209
3544
  include Google::Apis::Core::Hashable
4210
3545
 
@@ -4219,8 +3554,8 @@ module Google
4219
3554
  # @return [Google::Apis::ServiceconsumermanagementV1beta1::V1beta1DefaultIdentity]
4220
3555
  attr_accessor :identity
4221
3556
 
4222
- # Role attached to consumer project. Empty if not attached in this
4223
- # request. (Under development, currently always return empty.)
3557
+ # Role attached to consumer project. Empty if not attached in this request. (
3558
+ # Under development, currently always return empty.)
4224
3559
  # Corresponds to the JSON property `role`
4225
3560
  # @return [String]
4226
3561
  attr_accessor :role
@@ -4237,9 +3572,9 @@ module Google
4237
3572
  end
4238
3573
  end
4239
3574
 
4240
- # Response message for the `GenerateServiceAccount` method.
4241
- # This response message is assigned to the `response` field of the returned
4242
- # Operation when that operation is done.
3575
+ # Response message for the `GenerateServiceAccount` method. This response
3576
+ # message is assigned to the `response` field of the returned Operation when
3577
+ # that operation is done.
4243
3578
  class V1beta1GenerateServiceAccountResponse
4244
3579
  include Google::Apis::Core::Hashable
4245
3580
 
@@ -4258,9 +3593,9 @@ module Google
4258
3593
  end
4259
3594
  end
4260
3595
 
4261
- # Response message for the `RefreshConsumer` method.
4262
- # This response message is assigned to the `response` field of the returned
4263
- # Operation when that operation is done.
3596
+ # Response message for the `RefreshConsumer` method. This response message is
3597
+ # assigned to the `response` field of the returned Operation when that operation
3598
+ # is done.
4264
3599
  class V1beta1RefreshConsumerResponse
4265
3600
  include Google::Apis::Core::Hashable
4266
3601
 
@@ -4273,9 +3608,9 @@ module Google
4273
3608
  end
4274
3609
  end
4275
3610
 
4276
- # Response message for the `RemoveVisibilityLabels` method.
4277
- # This response message is assigned to the `response` field of the returned
4278
- # Operation when that operation is done.
3611
+ # Response message for the `RemoveVisibilityLabels` method. This response
3612
+ # message is assigned to the `response` field of the returned Operation when
3613
+ # that operation is done.
4279
3614
  class V1beta1RemoveVisibilityLabelsResponse
4280
3615
  include Google::Apis::Core::Hashable
4281
3616
 
@@ -4308,16 +3643,14 @@ module Google
4308
3643
  # @return [String]
4309
3644
  attr_accessor :iam_account_name
4310
3645
 
4311
- # P4 SA resource name.
4312
- # An example name would be:
4313
- # `services/serviceconsumermanagement.googleapis.com/projects/123/
4314
- # serviceAccounts/default`
3646
+ # P4 SA resource name. An example name would be: `services/
3647
+ # serviceconsumermanagement.googleapis.com/projects/123/serviceAccounts/default`
4315
3648
  # Corresponds to the JSON property `name`
4316
3649
  # @return [String]
4317
3650
  attr_accessor :name
4318
3651
 
4319
- # The P4 SA configuration tag. This must be defined in activation_grants.
4320
- # If not specified when creating the account, the tag is set to "default".
3652
+ # The P4 SA configuration tag. This must be defined in activation_grants. If not
3653
+ # specified when creating the account, the tag is set to "default".
4321
3654
  # Corresponds to the JSON property `tag`
4322
3655
  # @return [String]
4323
3656
  attr_accessor :tag