google-api-client 0.43.0 → 0.48.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (964) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/autoapprove.yml +49 -0
  3. data/.github/workflows/release-please.yml +77 -0
  4. data/.gitignore +2 -0
  5. data/.kokoro/trampoline.sh +0 -0
  6. data/CHANGELOG.md +1066 -184
  7. data/Gemfile +1 -0
  8. data/Rakefile +31 -3
  9. data/api_list_config.yaml +8 -0
  10. data/api_names.yaml +1 -0
  11. data/bin/generate-api +77 -15
  12. data/docs/oauth-server.md +4 -6
  13. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
  14. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  15. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  16. data/generated/google/apis/accessapproval_v1/classes.rb +60 -86
  17. data/generated/google/apis/accessapproval_v1/service.rb +93 -132
  18. data/generated/google/apis/accessapproval_v1.rb +1 -1
  19. data/generated/google/apis/accesscontextmanager_v1/classes.rb +266 -236
  20. data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
  21. data/generated/google/apis/accesscontextmanager_v1/service.rb +308 -171
  22. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  23. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
  24. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
  25. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  26. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +47 -36
  27. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  28. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  29. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +72 -2
  30. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +33 -0
  31. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  32. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  33. data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
  34. data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
  35. data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
  36. data/generated/google/apis/admin_directory_v1/classes.rb +344 -242
  37. data/generated/google/apis/admin_directory_v1/representations.rb +62 -39
  38. data/generated/google/apis/admin_directory_v1/service.rb +607 -998
  39. data/generated/google/apis/admin_directory_v1.rb +6 -8
  40. data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
  41. data/generated/google/apis/admin_reports_v1/service.rb +131 -187
  42. data/generated/google/apis/admin_reports_v1.rb +6 -5
  43. data/generated/google/apis/admob_v1/classes.rb +31 -31
  44. data/generated/google/apis/admob_v1/service.rb +2 -1
  45. data/generated/google/apis/admob_v1.rb +6 -2
  46. data/generated/google/apis/adsense_v1_4/service.rb +4 -1
  47. data/generated/google/apis/adsense_v1_4.rb +1 -1
  48. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  49. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
  50. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
  51. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2134 -0
  52. data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
  53. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1655 -0
  54. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +806 -0
  55. data/generated/google/apis/analyticsdata_v1alpha/service.rb +261 -0
  56. data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
  57. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  58. data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
  59. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  60. data/generated/google/apis/androidmanagement_v1/classes.rb +115 -75
  61. data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
  62. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  63. data/generated/google/apis/androidpublisher_v3/classes.rb +9 -1
  64. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  65. data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
  66. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  67. data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
  68. data/generated/google/apis/{memcache_v1 → apigateway_v1beta}/representations.rb +156 -157
  69. data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
  70. data/generated/google/apis/apigateway_v1beta.rb +34 -0
  71. data/generated/google/apis/apigee_v1/classes.rb +630 -88
  72. data/generated/google/apis/apigee_v1/representations.rb +209 -1
  73. data/generated/google/apis/apigee_v1/service.rb +401 -74
  74. data/generated/google/apis/apigee_v1.rb +6 -7
  75. data/generated/google/apis/appengine_v1/classes.rb +96 -59
  76. data/generated/google/apis/appengine_v1/representations.rb +17 -0
  77. data/generated/google/apis/appengine_v1/service.rb +38 -47
  78. data/generated/google/apis/appengine_v1.rb +1 -1
  79. data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
  80. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  81. data/generated/google/apis/appengine_v1beta/classes.rb +103 -59
  82. data/generated/google/apis/appengine_v1beta/representations.rb +18 -0
  83. data/generated/google/apis/appengine_v1beta/service.rb +37 -47
  84. data/generated/google/apis/appengine_v1beta.rb +1 -1
  85. data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
  86. data/generated/google/apis/appsmarket_v2.rb +1 -1
  87. data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
  88. data/generated/google/apis/area120tables_v1alpha1/representations.rb +248 -0
  89. data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
  90. data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
  91. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +249 -337
  92. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +2 -0
  93. data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
  94. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  95. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +722 -0
  96. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +359 -0
  97. data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
  98. data/generated/google/apis/{accessapproval_v1beta1.rb → assuredworkloads_v1beta1.rb} +8 -8
  99. data/generated/google/apis/bigquery_v2/classes.rb +593 -576
  100. data/generated/google/apis/bigquery_v2/representations.rb +85 -0
  101. data/generated/google/apis/bigquery_v2/service.rb +79 -41
  102. data/generated/google/apis/bigquery_v2.rb +1 -1
  103. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
  104. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
  105. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  106. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
  107. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
  108. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  109. data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
  110. data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
  111. data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
  112. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  113. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
  114. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
  115. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  116. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
  117. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
  118. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
  119. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  120. data/generated/google/apis/bigtableadmin_v1/classes.rb +137 -119
  121. data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
  122. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  123. data/generated/google/apis/bigtableadmin_v2/classes.rb +455 -607
  124. data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
  125. data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
  126. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  127. data/generated/google/apis/billingbudgets_v1/classes.rb +373 -0
  128. data/generated/google/apis/billingbudgets_v1/representations.rb +171 -0
  129. data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
  130. data/generated/google/apis/billingbudgets_v1.rb +38 -0
  131. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +27 -6
  132. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +2 -0
  133. data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
  134. data/generated/google/apis/binaryauthorization_v1/classes.rb +434 -355
  135. data/generated/google/apis/binaryauthorization_v1/representations.rb +75 -0
  136. data/generated/google/apis/binaryauthorization_v1/service.rb +109 -89
  137. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  138. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +434 -355
  139. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +75 -0
  140. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +109 -89
  141. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  142. data/generated/google/apis/books_v1/service.rb +54 -54
  143. data/generated/google/apis/books_v1.rb +1 -1
  144. data/generated/google/apis/calendar_v3/classes.rb +13 -10
  145. data/generated/google/apis/calendar_v3.rb +1 -1
  146. data/generated/google/apis/chat_v1/classes.rb +173 -116
  147. data/generated/google/apis/chat_v1/representations.rb +36 -0
  148. data/generated/google/apis/chat_v1/service.rb +30 -42
  149. data/generated/google/apis/chat_v1.rb +1 -1
  150. data/generated/google/apis/civicinfo_v2/classes.rb +18 -32
  151. data/generated/google/apis/civicinfo_v2/representations.rb +2 -3
  152. data/generated/google/apis/civicinfo_v2.rb +1 -1
  153. data/generated/google/apis/classroom_v1/classes.rb +153 -21
  154. data/generated/google/apis/classroom_v1/representations.rb +43 -0
  155. data/generated/google/apis/classroom_v1/service.rb +240 -0
  156. data/generated/google/apis/classroom_v1.rb +7 -1
  157. data/generated/google/apis/cloudasset_v1/classes.rb +1461 -1039
  158. data/generated/google/apis/cloudasset_v1/representations.rb +320 -0
  159. data/generated/google/apis/cloudasset_v1/service.rb +296 -167
  160. data/generated/google/apis/cloudasset_v1.rb +1 -1
  161. data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
  162. data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
  163. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  164. data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
  165. data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
  166. data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
  167. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +222 -276
  168. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
  169. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  170. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
  171. data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
  172. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  173. data/generated/google/apis/cloudbilling_v1/classes.rb +285 -446
  174. data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
  175. data/generated/google/apis/cloudbilling_v1.rb +7 -1
  176. data/generated/google/apis/cloudbuild_v1/classes.rb +339 -344
  177. data/generated/google/apis/cloudbuild_v1/representations.rb +8 -0
  178. data/generated/google/apis/cloudbuild_v1/service.rb +277 -67
  179. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  180. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +291 -329
  181. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
  182. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
  183. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  184. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +277 -313
  185. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +2 -0
  186. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
  187. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  188. data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
  189. data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
  190. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  191. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +127 -156
  192. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
  193. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  194. data/generated/google/apis/cloudfunctions_v1/classes.rb +335 -494
  195. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  196. data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
  197. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  198. data/generated/google/apis/cloudidentity_v1/classes.rb +989 -107
  199. data/generated/google/apis/cloudidentity_v1/representations.rb +371 -0
  200. data/generated/google/apis/cloudidentity_v1/service.rb +883 -88
  201. data/generated/google/apis/cloudidentity_v1.rb +4 -1
  202. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1236 -307
  203. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +424 -21
  204. data/generated/google/apis/cloudidentity_v1beta1/service.rb +921 -96
  205. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  206. data/generated/google/apis/cloudiot_v1/classes.rb +270 -373
  207. data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
  208. data/generated/google/apis/cloudiot_v1/service.rb +147 -154
  209. data/generated/google/apis/cloudiot_v1.rb +1 -1
  210. data/generated/google/apis/cloudkms_v1/classes.rb +509 -692
  211. data/generated/google/apis/cloudkms_v1/representations.rb +18 -0
  212. data/generated/google/apis/cloudkms_v1/service.rb +170 -216
  213. data/generated/google/apis/cloudkms_v1.rb +1 -1
  214. data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
  215. data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
  216. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  217. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
  218. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
  219. data/generated/google/apis/cloudresourcemanager_v1/service.rb +62 -60
  220. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  221. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
  222. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
  223. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +26 -25
  224. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  225. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
  226. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
  227. data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
  228. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  229. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
  230. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
  231. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
  232. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  233. data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
  234. data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
  235. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  236. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
  237. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
  238. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  239. data/generated/google/apis/cloudsearch_v1/classes.rb +651 -781
  240. data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
  241. data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
  242. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  243. data/generated/google/apis/cloudshell_v1/classes.rb +256 -105
  244. data/generated/google/apis/cloudshell_v1/representations.rb +143 -10
  245. data/generated/google/apis/cloudshell_v1/service.rb +198 -25
  246. data/generated/google/apis/cloudshell_v1.rb +1 -1
  247. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
  248. data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
  249. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  250. data/generated/google/apis/cloudtasks_v2/classes.rb +612 -933
  251. data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
  252. data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
  253. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  254. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +608 -964
  255. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
  256. data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
  257. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  258. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +616 -938
  259. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  260. data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
  261. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  262. data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
  263. data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
  264. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  265. data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
  266. data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
  267. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  268. data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
  269. data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
  270. data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
  271. data/generated/google/apis/composer_v1/classes.rb +189 -242
  272. data/generated/google/apis/composer_v1/service.rb +79 -150
  273. data/generated/google/apis/composer_v1.rb +1 -1
  274. data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
  275. data/generated/google/apis/composer_v1beta1/service.rb +94 -179
  276. data/generated/google/apis/composer_v1beta1.rb +1 -1
  277. data/generated/google/apis/compute_alpha/classes.rb +1227 -186
  278. data/generated/google/apis/compute_alpha/representations.rb +235 -8
  279. data/generated/google/apis/compute_alpha/service.rb +2009 -1024
  280. data/generated/google/apis/compute_alpha.rb +1 -1
  281. data/generated/google/apis/compute_beta/classes.rb +1080 -108
  282. data/generated/google/apis/compute_beta/representations.rb +212 -2
  283. data/generated/google/apis/compute_beta/service.rb +1413 -741
  284. data/generated/google/apis/compute_beta.rb +1 -1
  285. data/generated/google/apis/compute_v1/classes.rb +1512 -106
  286. data/generated/google/apis/compute_v1/representations.rb +470 -1
  287. data/generated/google/apis/compute_v1/service.rb +1625 -285
  288. data/generated/google/apis/compute_v1.rb +1 -1
  289. data/generated/google/apis/container_v1/classes.rb +982 -965
  290. data/generated/google/apis/container_v1/representations.rb +60 -0
  291. data/generated/google/apis/container_v1/service.rb +435 -502
  292. data/generated/google/apis/container_v1.rb +1 -1
  293. data/generated/google/apis/container_v1beta1/classes.rb +1106 -1044
  294. data/generated/google/apis/container_v1beta1/representations.rb +91 -0
  295. data/generated/google/apis/container_v1beta1/service.rb +403 -466
  296. data/generated/google/apis/container_v1beta1.rb +1 -1
  297. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +463 -596
  298. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  299. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
  300. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  301. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +461 -613
  302. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
  303. data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
  304. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  305. data/generated/google/apis/content_v2/classes.rb +515 -1219
  306. data/generated/google/apis/content_v2/service.rb +377 -650
  307. data/generated/google/apis/content_v2.rb +3 -4
  308. data/generated/google/apis/content_v2_1/classes.rb +1108 -1058
  309. data/generated/google/apis/content_v2_1/representations.rb +288 -0
  310. data/generated/google/apis/content_v2_1/service.rb +987 -795
  311. data/generated/google/apis/content_v2_1.rb +3 -4
  312. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  313. data/generated/google/apis/customsearch_v1.rb +1 -1
  314. data/generated/google/apis/datacatalog_v1beta1/classes.rb +413 -573
  315. data/generated/google/apis/datacatalog_v1beta1/representations.rb +6 -0
  316. data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
  317. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  318. data/generated/google/apis/dataflow_v1b3/classes.rb +1174 -973
  319. data/generated/google/apis/dataflow_v1b3/representations.rb +148 -0
  320. data/generated/google/apis/dataflow_v1b3/service.rb +308 -257
  321. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  322. data/generated/google/apis/datafusion_v1/classes.rb +283 -397
  323. data/generated/google/apis/datafusion_v1/representations.rb +5 -0
  324. data/generated/google/apis/datafusion_v1/service.rb +76 -89
  325. data/generated/google/apis/datafusion_v1.rb +5 -8
  326. data/generated/google/apis/datafusion_v1beta1/classes.rb +283 -397
  327. data/generated/google/apis/datafusion_v1beta1/representations.rb +5 -0
  328. data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
  329. data/generated/google/apis/datafusion_v1beta1.rb +5 -8
  330. data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
  331. data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
  332. data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
  333. data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
  334. data/generated/google/apis/dataproc_v1/classes.rb +97 -13
  335. data/generated/google/apis/dataproc_v1/representations.rb +34 -0
  336. data/generated/google/apis/dataproc_v1.rb +1 -1
  337. data/generated/google/apis/dataproc_v1beta2/classes.rb +117 -9
  338. data/generated/google/apis/dataproc_v1beta2/representations.rb +49 -0
  339. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  340. data/generated/google/apis/datastore_v1/classes.rb +334 -476
  341. data/generated/google/apis/datastore_v1/service.rb +52 -63
  342. data/generated/google/apis/datastore_v1.rb +1 -1
  343. data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
  344. data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
  345. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  346. data/generated/google/apis/datastore_v1beta3/classes.rb +259 -375
  347. data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
  348. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  349. data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
  350. data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
  351. data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
  352. data/generated/google/apis/deploymentmanager_v2.rb +6 -4
  353. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
  354. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
  355. data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
  356. data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
  357. data/generated/google/apis/dfareporting_v3_3/classes.rb +162 -339
  358. data/generated/google/apis/dfareporting_v3_3/service.rb +646 -1262
  359. data/generated/google/apis/dfareporting_v3_3.rb +2 -2
  360. data/generated/google/apis/dfareporting_v3_4/classes.rb +184 -350
  361. data/generated/google/apis/dfareporting_v3_4/representations.rb +1 -0
  362. data/generated/google/apis/dfareporting_v3_4/service.rb +681 -1261
  363. data/generated/google/apis/dfareporting_v3_4.rb +2 -2
  364. data/generated/google/apis/dialogflow_v2/classes.rb +746 -217
  365. data/generated/google/apis/dialogflow_v2/representations.rb +318 -67
  366. data/generated/google/apis/dialogflow_v2.rb +1 -1
  367. data/generated/google/apis/dialogflow_v2beta1/classes.rb +764 -233
  368. data/generated/google/apis/dialogflow_v2beta1/representations.rb +318 -67
  369. data/generated/google/apis/dialogflow_v2beta1/service.rb +556 -331
  370. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  371. data/generated/google/apis/dialogflow_v3beta1/classes.rb +8816 -0
  372. data/generated/google/apis/dialogflow_v3beta1/representations.rb +3725 -0
  373. data/generated/google/apis/dialogflow_v3beta1/service.rb +2825 -0
  374. data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
  375. data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
  376. data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
  377. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  378. data/generated/google/apis/displayvideo_v1/classes.rb +271 -38
  379. data/generated/google/apis/displayvideo_v1/representations.rb +83 -0
  380. data/generated/google/apis/displayvideo_v1/service.rb +287 -32
  381. data/generated/google/apis/displayvideo_v1.rb +1 -1
  382. data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
  383. data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
  384. data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
  385. data/generated/google/apis/displayvideo_v1beta.rb +38 -0
  386. data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
  387. data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
  388. data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
  389. data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
  390. data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
  391. data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
  392. data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
  393. data/generated/google/apis/displayvideo_v1dev.rb +38 -0
  394. data/generated/google/apis/dlp_v2/classes.rb +1111 -1310
  395. data/generated/google/apis/dlp_v2/representations.rb +16 -0
  396. data/generated/google/apis/dlp_v2/service.rb +962 -905
  397. data/generated/google/apis/dlp_v2.rb +1 -1
  398. data/generated/google/apis/dns_v1/classes.rb +356 -198
  399. data/generated/google/apis/dns_v1/representations.rb +83 -0
  400. data/generated/google/apis/dns_v1/service.rb +83 -98
  401. data/generated/google/apis/dns_v1.rb +2 -2
  402. data/generated/google/apis/dns_v1beta2/classes.rb +362 -206
  403. data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
  404. data/generated/google/apis/dns_v1beta2/service.rb +83 -98
  405. data/generated/google/apis/dns_v1beta2.rb +2 -2
  406. data/generated/google/apis/docs_v1/classes.rb +894 -1229
  407. data/generated/google/apis/docs_v1/service.rb +17 -22
  408. data/generated/google/apis/docs_v1.rb +1 -1
  409. data/generated/google/apis/documentai_v1beta2/classes.rb +2253 -824
  410. data/generated/google/apis/documentai_v1beta2/representations.rb +701 -0
  411. data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
  412. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  413. data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
  414. data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
  415. data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
  416. data/generated/google/apis/{securitycenter_v1p1alpha1.rb → documentai_v1beta3.rb} +11 -10
  417. data/generated/google/apis/domains_v1alpha2/classes.rb +1540 -0
  418. data/generated/google/apis/domains_v1alpha2/representations.rb +606 -0
  419. data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
  420. data/generated/google/apis/domains_v1alpha2.rb +34 -0
  421. data/generated/google/apis/domains_v1beta1/classes.rb +1540 -0
  422. data/generated/google/apis/domains_v1beta1/representations.rb +606 -0
  423. data/generated/google/apis/domains_v1beta1/service.rb +805 -0
  424. data/generated/google/apis/domains_v1beta1.rb +34 -0
  425. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -12
  426. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
  427. data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
  428. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +13 -20
  429. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
  430. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
  431. data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
  432. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  433. data/generated/google/apis/drive_v2/classes.rb +18 -7
  434. data/generated/google/apis/drive_v2/representations.rb +1 -0
  435. data/generated/google/apis/drive_v2/service.rb +79 -15
  436. data/generated/google/apis/drive_v2.rb +1 -1
  437. data/generated/google/apis/drive_v3/classes.rb +18 -8
  438. data/generated/google/apis/drive_v3/representations.rb +1 -0
  439. data/generated/google/apis/drive_v3/service.rb +59 -11
  440. data/generated/google/apis/drive_v3.rb +1 -1
  441. data/generated/google/apis/eventarc_v1beta1/classes.rb +931 -0
  442. data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
  443. data/generated/google/apis/{memcache_v1 → eventarc_v1beta1}/service.rb +236 -215
  444. data/generated/google/apis/eventarc_v1beta1.rb +34 -0
  445. data/generated/google/apis/file_v1/classes.rb +155 -174
  446. data/generated/google/apis/file_v1/service.rb +43 -52
  447. data/generated/google/apis/file_v1.rb +1 -1
  448. data/generated/google/apis/file_v1beta1/classes.rb +335 -194
  449. data/generated/google/apis/file_v1beta1/representations.rb +55 -0
  450. data/generated/google/apis/file_v1beta1/service.rb +267 -55
  451. data/generated/google/apis/file_v1beta1.rb +1 -1
  452. data/generated/google/apis/firebase_v1beta1/classes.rb +33 -51
  453. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
  454. data/generated/google/apis/firebase_v1beta1/service.rb +21 -1
  455. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  456. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  457. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +188 -0
  458. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +83 -0
  459. data/generated/google/apis/firebasehosting_v1beta1/service.rb +418 -4
  460. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  461. data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -8
  462. data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -1
  463. data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
  464. data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
  465. data/generated/google/apis/firebaserules_v1/service.rb +87 -110
  466. data/generated/google/apis/firebaserules_v1.rb +1 -1
  467. data/generated/google/apis/firestore_v1/classes.rb +406 -502
  468. data/generated/google/apis/firestore_v1/service.rb +165 -201
  469. data/generated/google/apis/firestore_v1.rb +1 -1
  470. data/generated/google/apis/firestore_v1beta1/classes.rb +338 -413
  471. data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
  472. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  473. data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
  474. data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
  475. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  476. data/generated/google/apis/fitness_v1/classes.rb +982 -0
  477. data/generated/google/apis/fitness_v1/representations.rb +398 -0
  478. data/generated/google/apis/fitness_v1/service.rb +628 -0
  479. data/generated/google/apis/fitness_v1.rb +97 -0
  480. data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
  481. data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
  482. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  483. data/generated/google/apis/games_management_v1management/classes.rb +14 -20
  484. data/generated/google/apis/games_management_v1management/service.rb +35 -36
  485. data/generated/google/apis/games_management_v1management.rb +2 -3
  486. data/generated/google/apis/games_v1/classes.rb +376 -83
  487. data/generated/google/apis/games_v1/representations.rb +118 -0
  488. data/generated/google/apis/games_v1/service.rb +118 -90
  489. data/generated/google/apis/games_v1.rb +2 -3
  490. data/generated/google/apis/gameservices_v1/classes.rb +22 -14
  491. data/generated/google/apis/gameservices_v1/representations.rb +1 -0
  492. data/generated/google/apis/gameservices_v1/service.rb +54 -51
  493. data/generated/google/apis/gameservices_v1.rb +1 -1
  494. data/generated/google/apis/gameservices_v1beta/classes.rb +22 -14
  495. data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
  496. data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
  497. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  498. data/generated/google/apis/genomics_v1/classes.rb +70 -76
  499. data/generated/google/apis/genomics_v1/service.rb +28 -43
  500. data/generated/google/apis/genomics_v1.rb +1 -1
  501. data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
  502. data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
  503. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  504. data/generated/google/apis/genomics_v2alpha1/classes.rb +356 -275
  505. data/generated/google/apis/genomics_v2alpha1/representations.rb +48 -0
  506. data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
  507. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  508. data/generated/google/apis/gmail_v1/classes.rb +37 -43
  509. data/generated/google/apis/gmail_v1/service.rb +5 -4
  510. data/generated/google/apis/gmail_v1.rb +1 -1
  511. data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +11 -11
  512. data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
  513. data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
  514. data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
  515. data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
  516. data/generated/google/apis/groupsmigration_v1.rb +35 -0
  517. data/generated/google/apis/healthcare_v1/classes.rb +637 -826
  518. data/generated/google/apis/healthcare_v1/representations.rb +32 -0
  519. data/generated/google/apis/healthcare_v1/service.rb +842 -855
  520. data/generated/google/apis/healthcare_v1.rb +1 -1
  521. data/generated/google/apis/healthcare_v1beta1/classes.rb +1937 -1299
  522. data/generated/google/apis/healthcare_v1beta1/representations.rb +534 -65
  523. data/generated/google/apis/healthcare_v1beta1/service.rb +2534 -1293
  524. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  525. data/generated/google/apis/homegraph_v1/classes.rb +76 -164
  526. data/generated/google/apis/homegraph_v1/service.rb +23 -35
  527. data/generated/google/apis/homegraph_v1.rb +4 -1
  528. data/generated/google/apis/iam_v1/classes.rb +395 -592
  529. data/generated/google/apis/iam_v1/representations.rb +1 -0
  530. data/generated/google/apis/iam_v1/service.rb +427 -555
  531. data/generated/google/apis/iam_v1.rb +1 -1
  532. data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
  533. data/generated/google/apis/iamcredentials_v1/service.rb +14 -13
  534. data/generated/google/apis/iamcredentials_v1.rb +3 -2
  535. data/generated/google/apis/iap_v1/classes.rb +253 -355
  536. data/generated/google/apis/iap_v1/representations.rb +1 -0
  537. data/generated/google/apis/iap_v1/service.rb +61 -71
  538. data/generated/google/apis/iap_v1.rb +1 -1
  539. data/generated/google/apis/iap_v1beta1/classes.rb +164 -254
  540. data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
  541. data/generated/google/apis/iap_v1beta1/service.rb +17 -19
  542. data/generated/google/apis/iap_v1beta1.rb +1 -1
  543. data/generated/google/apis/indexing_v3/classes.rb +11 -11
  544. data/generated/google/apis/indexing_v3.rb +1 -1
  545. data/generated/google/apis/jobs_v2/classes.rb +1584 -1086
  546. data/generated/google/apis/jobs_v2/representations.rb +272 -0
  547. data/generated/google/apis/jobs_v2/service.rb +85 -126
  548. data/generated/google/apis/jobs_v2.rb +1 -1
  549. data/generated/google/apis/jobs_v3/classes.rb +1559 -980
  550. data/generated/google/apis/jobs_v3/representations.rb +272 -0
  551. data/generated/google/apis/jobs_v3/service.rb +101 -139
  552. data/generated/google/apis/jobs_v3.rb +1 -1
  553. data/generated/google/apis/jobs_v3p1beta1/classes.rb +1521 -1023
  554. data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
  555. data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
  556. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  557. data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
  558. data/generated/google/apis/kgsearch_v1/service.rb +11 -11
  559. data/generated/google/apis/kgsearch_v1.rb +1 -1
  560. data/generated/google/apis/licensing_v1/classes.rb +1 -1
  561. data/generated/google/apis/licensing_v1/service.rb +56 -86
  562. data/generated/google/apis/licensing_v1.rb +4 -3
  563. data/generated/google/apis/lifesciences_v2beta/classes.rb +366 -290
  564. data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
  565. data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
  566. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  567. data/generated/google/apis/localservices_v1/classes.rb +426 -0
  568. data/generated/google/apis/localservices_v1/representations.rb +174 -0
  569. data/generated/google/apis/localservices_v1/service.rb +199 -0
  570. data/generated/google/apis/{appsactivity_v1.rb → localservices_v1.rb} +8 -11
  571. data/generated/google/apis/logging_v2/classes.rb +306 -232
  572. data/generated/google/apis/logging_v2/representations.rb +79 -0
  573. data/generated/google/apis/logging_v2/service.rb +3307 -1579
  574. data/generated/google/apis/logging_v2.rb +1 -1
  575. data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
  576. data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
  577. data/generated/google/apis/managedidentities_v1/service.rb +1 -4
  578. data/generated/google/apis/managedidentities_v1.rb +1 -1
  579. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -1
  580. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -0
  581. data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
  582. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  583. data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -1
  584. data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -0
  585. data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
  586. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  587. data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
  588. data/generated/google/apis/manufacturers_v1/service.rb +44 -55
  589. data/generated/google/apis/manufacturers_v1.rb +1 -1
  590. data/generated/google/apis/memcache_v1beta2/classes.rb +171 -250
  591. data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
  592. data/generated/google/apis/memcache_v1beta2/service.rb +60 -73
  593. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  594. data/generated/google/apis/ml_v1/classes.rb +1122 -1149
  595. data/generated/google/apis/ml_v1/representations.rb +82 -0
  596. data/generated/google/apis/ml_v1/service.rb +194 -253
  597. data/generated/google/apis/ml_v1.rb +1 -1
  598. data/generated/google/apis/monitoring_v1/classes.rb +107 -26
  599. data/generated/google/apis/monitoring_v1/representations.rb +35 -0
  600. data/generated/google/apis/monitoring_v1/service.rb +10 -11
  601. data/generated/google/apis/monitoring_v1.rb +1 -1
  602. data/generated/google/apis/monitoring_v3/classes.rb +303 -345
  603. data/generated/google/apis/monitoring_v3/representations.rb +18 -0
  604. data/generated/google/apis/monitoring_v3/service.rb +176 -146
  605. data/generated/google/apis/monitoring_v3.rb +1 -1
  606. data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
  607. data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
  608. data/generated/google/apis/networkmanagement_v1.rb +1 -1
  609. data/generated/google/apis/networkmanagement_v1beta1/classes.rb +456 -429
  610. data/generated/google/apis/networkmanagement_v1beta1/representations.rb +63 -0
  611. data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
  612. data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
  613. data/generated/google/apis/osconfig_v1/classes.rb +154 -902
  614. data/generated/google/apis/osconfig_v1/representations.rb +0 -337
  615. data/generated/google/apis/osconfig_v1/service.rb +26 -31
  616. data/generated/google/apis/osconfig_v1.rb +3 -3
  617. data/generated/google/apis/osconfig_v1beta/classes.rb +327 -411
  618. data/generated/google/apis/osconfig_v1beta/service.rb +43 -56
  619. data/generated/google/apis/osconfig_v1beta.rb +3 -3
  620. data/generated/google/apis/oslogin_v1/classes.rb +14 -12
  621. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  622. data/generated/google/apis/oslogin_v1/service.rb +12 -16
  623. data/generated/google/apis/oslogin_v1.rb +1 -1
  624. data/generated/google/apis/oslogin_v1alpha/classes.rb +16 -14
  625. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  626. data/generated/google/apis/oslogin_v1alpha/service.rb +17 -17
  627. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  628. data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
  629. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  630. data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
  631. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  632. data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
  633. data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
  634. data/generated/google/apis/pagespeedonline_v5.rb +2 -2
  635. data/generated/google/apis/people_v1/classes.rb +173 -63
  636. data/generated/google/apis/people_v1/representations.rb +41 -0
  637. data/generated/google/apis/people_v1/service.rb +63 -61
  638. data/generated/google/apis/people_v1.rb +1 -1
  639. data/generated/google/apis/playablelocations_v3/classes.rb +114 -161
  640. data/generated/google/apis/playablelocations_v3/service.rb +10 -10
  641. data/generated/google/apis/playablelocations_v3.rb +1 -1
  642. data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
  643. data/generated/google/apis/playcustomapp_v1.rb +1 -1
  644. data/generated/google/apis/poly_v1/classes.rb +65 -79
  645. data/generated/google/apis/poly_v1/service.rb +50 -63
  646. data/generated/google/apis/poly_v1.rb +3 -4
  647. data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
  648. data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
  649. data/generated/google/apis/privateca_v1beta1/service.rb +1487 -0
  650. data/generated/google/apis/privateca_v1beta1.rb +34 -0
  651. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +26 -0
  652. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
  653. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +644 -56
  654. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  655. data/generated/google/apis/pubsub_v1/classes.rb +399 -518
  656. data/generated/google/apis/pubsub_v1/representations.rb +2 -0
  657. data/generated/google/apis/pubsub_v1/service.rb +221 -247
  658. data/generated/google/apis/pubsub_v1.rb +1 -1
  659. data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
  660. data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
  661. data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
  662. data/generated/google/apis/pubsub_v1beta2/classes.rb +251 -354
  663. data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
  664. data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
  665. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  666. data/generated/google/apis/pubsublite_v1/classes.rb +461 -0
  667. data/generated/google/apis/pubsublite_v1/representations.rb +261 -0
  668. data/generated/google/apis/pubsublite_v1/service.rb +558 -0
  669. data/generated/google/apis/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
  670. data/generated/google/apis/realtimebidding_v1/classes.rb +84 -123
  671. data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
  672. data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
  673. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  674. data/generated/google/apis/recommendationengine_v1beta1/classes.rb +367 -456
  675. data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -16
  676. data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
  677. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  678. data/generated/google/apis/recommender_v1/classes.rb +1 -1
  679. data/generated/google/apis/recommender_v1/service.rb +4 -2
  680. data/generated/google/apis/recommender_v1.rb +1 -1
  681. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
  682. data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
  683. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  684. data/generated/google/apis/redis_v1/classes.rb +91 -513
  685. data/generated/google/apis/redis_v1/representations.rb +0 -139
  686. data/generated/google/apis/redis_v1/service.rb +92 -109
  687. data/generated/google/apis/redis_v1.rb +1 -1
  688. data/generated/google/apis/redis_v1beta1/classes.rb +123 -517
  689. data/generated/google/apis/redis_v1beta1/representations.rb +12 -137
  690. data/generated/google/apis/redis_v1beta1/service.rb +126 -109
  691. data/generated/google/apis/redis_v1beta1.rb +1 -1
  692. data/generated/google/apis/remotebuildexecution_v1/classes.rb +957 -1078
  693. data/generated/google/apis/remotebuildexecution_v1/representations.rb +62 -0
  694. data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
  695. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  696. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +952 -1071
  697. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +62 -0
  698. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
  699. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  700. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1105 -1250
  701. data/generated/google/apis/remotebuildexecution_v2/representations.rb +62 -0
  702. data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
  703. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  704. data/generated/google/apis/reseller_v1/classes.rb +151 -219
  705. data/generated/google/apis/reseller_v1/service.rb +122 -173
  706. data/generated/google/apis/reseller_v1.rb +2 -2
  707. data/generated/google/apis/run_v1/classes.rb +19 -138
  708. data/generated/google/apis/run_v1/representations.rb +1 -62
  709. data/generated/google/apis/run_v1/service.rb +0 -342
  710. data/generated/google/apis/run_v1.rb +1 -1
  711. data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
  712. data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
  713. data/generated/google/apis/run_v1alpha1.rb +1 -1
  714. data/generated/google/apis/run_v1beta1/classes.rb +3 -2
  715. data/generated/google/apis/run_v1beta1.rb +1 -1
  716. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +301 -412
  717. data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
  718. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
  719. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  720. data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
  721. data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
  722. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  723. data/generated/google/apis/sasportal_v1alpha1/classes.rb +26 -0
  724. data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
  725. data/generated/google/apis/sasportal_v1alpha1/service.rb +644 -56
  726. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  727. data/generated/google/apis/script_v1/classes.rb +88 -111
  728. data/generated/google/apis/script_v1/service.rb +63 -69
  729. data/generated/google/apis/script_v1.rb +1 -1
  730. data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
  731. data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
  732. data/generated/google/apis/searchconsole_v1/service.rb +287 -0
  733. data/generated/google/apis/searchconsole_v1.rb +7 -1
  734. data/generated/google/apis/secretmanager_v1/classes.rb +378 -365
  735. data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
  736. data/generated/google/apis/secretmanager_v1/service.rb +66 -82
  737. data/generated/google/apis/secretmanager_v1.rb +1 -1
  738. data/generated/google/apis/secretmanager_v1beta1/classes.rb +217 -363
  739. data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
  740. data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
  741. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  742. data/generated/google/apis/securitycenter_v1/classes.rb +20 -204
  743. data/generated/google/apis/securitycenter_v1/representations.rb +1 -72
  744. data/generated/google/apis/securitycenter_v1.rb +1 -1
  745. data/generated/google/apis/securitycenter_v1beta1/classes.rb +22 -204
  746. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -72
  747. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  748. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +275 -291
  749. data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +83 -84
  750. data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
  751. data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
  752. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +35 -123
  753. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
  754. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +32 -30
  755. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  756. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +24 -112
  757. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
  758. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  759. data/generated/google/apis/servicecontrol_v1/classes.rb +601 -642
  760. data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
  761. data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
  762. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  763. data/generated/google/apis/servicecontrol_v2/classes.rb +343 -325
  764. data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
  765. data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
  766. data/generated/google/apis/servicecontrol_v2.rb +1 -1
  767. data/generated/google/apis/servicedirectory_v1beta1/classes.rb +221 -333
  768. data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
  769. data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
  770. data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
  771. data/generated/google/apis/servicemanagement_v1/classes.rb +1244 -2174
  772. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -31
  773. data/generated/google/apis/servicemanagement_v1/service.rb +141 -228
  774. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  775. data/generated/google/apis/servicenetworking_v1/classes.rb +278 -121
  776. data/generated/google/apis/servicenetworking_v1/representations.rb +115 -15
  777. data/generated/google/apis/servicenetworking_v1/service.rb +118 -2
  778. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  779. data/generated/google/apis/servicenetworking_v1beta/classes.rb +213 -112
  780. data/generated/google/apis/servicenetworking_v1beta/representations.rb +84 -14
  781. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  782. data/generated/google/apis/serviceusage_v1/classes.rb +57 -111
  783. data/generated/google/apis/serviceusage_v1/representations.rb +4 -18
  784. data/generated/google/apis/serviceusage_v1/service.rb +5 -1
  785. data/generated/google/apis/serviceusage_v1.rb +1 -1
  786. data/generated/google/apis/serviceusage_v1beta1/classes.rb +122 -112
  787. data/generated/google/apis/serviceusage_v1beta1/representations.rb +23 -18
  788. data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
  789. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  790. data/generated/google/apis/sheets_v4/classes.rb +4029 -5014
  791. data/generated/google/apis/sheets_v4/representations.rb +625 -0
  792. data/generated/google/apis/sheets_v4/service.rb +113 -149
  793. data/generated/google/apis/sheets_v4.rb +1 -1
  794. data/generated/google/apis/site_verification_v1.rb +1 -1
  795. data/generated/google/apis/slides_v1/classes.rb +841 -1114
  796. data/generated/google/apis/slides_v1/service.rb +23 -30
  797. data/generated/google/apis/slides_v1.rb +1 -1
  798. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +273 -0
  799. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +157 -0
  800. data/generated/google/apis/smartdevicemanagement_v1/service.rb +304 -0
  801. data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
  802. data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
  803. data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
  804. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  805. data/generated/google/apis/spanner_v1/classes.rb +1553 -2157
  806. data/generated/google/apis/spanner_v1/representations.rb +1 -0
  807. data/generated/google/apis/spanner_v1/service.rb +443 -618
  808. data/generated/google/apis/spanner_v1.rb +1 -1
  809. data/generated/google/apis/speech_v1/classes.rb +174 -220
  810. data/generated/google/apis/speech_v1/service.rb +27 -32
  811. data/generated/google/apis/speech_v1.rb +1 -1
  812. data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
  813. data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
  814. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  815. data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
  816. data/generated/google/apis/speech_v2beta1/service.rb +10 -12
  817. data/generated/google/apis/speech_v2beta1.rb +1 -1
  818. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +537 -452
  819. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +142 -87
  820. data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +295 -300
  821. data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
  822. data/generated/google/apis/storage_v1/classes.rb +10 -17
  823. data/generated/google/apis/storage_v1/representations.rb +2 -3
  824. data/generated/google/apis/storage_v1/service.rb +3 -2
  825. data/generated/google/apis/storage_v1.rb +1 -1
  826. data/generated/google/apis/storagetransfer_v1/classes.rb +301 -349
  827. data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
  828. data/generated/google/apis/storagetransfer_v1/service.rb +53 -72
  829. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  830. data/generated/google/apis/streetviewpublish_v1/classes.rb +110 -152
  831. data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
  832. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  833. data/generated/google/apis/sts_v1/classes.rb +121 -0
  834. data/generated/google/apis/sts_v1/representations.rb +59 -0
  835. data/generated/google/apis/sts_v1/service.rb +90 -0
  836. data/generated/google/apis/sts_v1.rb +32 -0
  837. data/generated/google/apis/sts_v1beta/classes.rb +191 -0
  838. data/generated/google/apis/sts_v1beta/representations.rb +61 -0
  839. data/generated/google/apis/sts_v1beta/service.rb +92 -0
  840. data/generated/google/apis/sts_v1beta.rb +32 -0
  841. data/generated/google/apis/tagmanager_v1/service.rb +2 -2
  842. data/generated/google/apis/tagmanager_v1.rb +1 -1
  843. data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
  844. data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
  845. data/generated/google/apis/tagmanager_v2/service.rb +2 -2
  846. data/generated/google/apis/tagmanager_v2.rb +1 -1
  847. data/generated/google/apis/tasks_v1/classes.rb +21 -22
  848. data/generated/google/apis/tasks_v1/service.rb +19 -19
  849. data/generated/google/apis/tasks_v1.rb +1 -1
  850. data/generated/google/apis/testing_v1/classes.rb +384 -390
  851. data/generated/google/apis/testing_v1/representations.rb +23 -0
  852. data/generated/google/apis/testing_v1/service.rb +22 -28
  853. data/generated/google/apis/testing_v1.rb +1 -1
  854. data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
  855. data/generated/google/apis/texttospeech_v1/service.rb +9 -10
  856. data/generated/google/apis/texttospeech_v1.rb +1 -1
  857. data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
  858. data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
  859. data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
  860. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  861. data/generated/google/apis/toolresults_v1beta3/classes.rb +20 -0
  862. data/generated/google/apis/toolresults_v1beta3/representations.rb +13 -0
  863. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  864. data/generated/google/apis/tpu_v1/classes.rb +57 -3
  865. data/generated/google/apis/tpu_v1/representations.rb +19 -0
  866. data/generated/google/apis/tpu_v1/service.rb +8 -8
  867. data/generated/google/apis/tpu_v1.rb +1 -1
  868. data/generated/google/apis/tpu_v1alpha1/classes.rb +57 -3
  869. data/generated/google/apis/tpu_v1alpha1/representations.rb +19 -0
  870. data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
  871. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  872. data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
  873. data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
  874. data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
  875. data/generated/google/apis/trafficdirector_v2.rb +34 -0
  876. data/generated/google/apis/translate_v3/classes.rb +151 -177
  877. data/generated/google/apis/translate_v3/service.rb +122 -151
  878. data/generated/google/apis/translate_v3.rb +1 -1
  879. data/generated/google/apis/translate_v3beta1/classes.rb +150 -170
  880. data/generated/google/apis/translate_v3beta1/service.rb +122 -151
  881. data/generated/google/apis/translate_v3beta1.rb +1 -1
  882. data/generated/google/apis/vault_v1/classes.rb +413 -103
  883. data/generated/google/apis/vault_v1/representations.rb +162 -0
  884. data/generated/google/apis/vault_v1/service.rb +182 -37
  885. data/generated/google/apis/vault_v1.rb +1 -1
  886. data/generated/google/apis/vectortile_v1/classes.rb +185 -267
  887. data/generated/google/apis/vectortile_v1/service.rb +75 -88
  888. data/generated/google/apis/vectortile_v1.rb +1 -1
  889. data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
  890. data/generated/google/apis/verifiedaccess_v1.rb +1 -1
  891. data/generated/google/apis/videointelligence_v1/classes.rb +1493 -935
  892. data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
  893. data/generated/google/apis/videointelligence_v1/service.rb +38 -77
  894. data/generated/google/apis/videointelligence_v1.rb +1 -1
  895. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1488 -928
  896. data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
  897. data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
  898. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  899. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1482 -922
  900. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
  901. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
  902. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  903. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1485 -925
  904. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
  905. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
  906. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  907. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1410 -937
  908. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
  909. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
  910. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  911. data/generated/google/apis/vision_v1/classes.rb +16 -16
  912. data/generated/google/apis/vision_v1.rb +1 -1
  913. data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
  914. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  915. data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
  916. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  917. data/generated/google/apis/webfonts_v1/classes.rb +1 -2
  918. data/generated/google/apis/webfonts_v1/service.rb +2 -4
  919. data/generated/google/apis/webfonts_v1.rb +2 -3
  920. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  921. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  922. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  923. data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
  924. data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
  925. data/generated/google/apis/{securitycenter_v1p1alpha1 → workflowexecutions_v1beta}/service.rb +73 -69
  926. data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
  927. data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
  928. data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
  929. data/generated/google/apis/workflows_v1beta/service.rb +438 -0
  930. data/generated/google/apis/workflows_v1beta.rb +35 -0
  931. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  932. data/generated/google/apis/youtube_v3/classes.rb +0 -586
  933. data/generated/google/apis/youtube_v3/representations.rb +0 -269
  934. data/generated/google/apis/youtube_v3/service.rb +3 -120
  935. data/generated/google/apis/youtube_v3.rb +1 -1
  936. data/google-api-client.gemspec +25 -24
  937. data/lib/google/apis/core/api_command.rb +1 -0
  938. data/lib/google/apis/core/http_command.rb +2 -1
  939. data/lib/google/apis/options.rb +8 -5
  940. data/lib/google/apis/version.rb +1 -1
  941. data/synth.py +40 -0
  942. metadata +134 -41
  943. data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
  944. data/generated/google/apis/accessapproval_v1beta1/representations.rb +0 -203
  945. data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
  946. data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
  947. data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
  948. data/generated/google/apis/appsactivity_v1/service.rb +0 -126
  949. data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
  950. data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
  951. data/generated/google/apis/dns_v2beta1/service.rb +0 -928
  952. data/generated/google/apis/dns_v2beta1.rb +0 -43
  953. data/generated/google/apis/memcache_v1/classes.rb +0 -1157
  954. data/generated/google/apis/plus_v1/classes.rb +0 -2094
  955. data/generated/google/apis/plus_v1/representations.rb +0 -907
  956. data/generated/google/apis/plus_v1/service.rb +0 -451
  957. data/generated/google/apis/plus_v1.rb +0 -43
  958. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
  959. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
  960. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
  961. data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
  962. data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
  963. data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
  964. data/generated/google/apis/storage_v1beta2.rb +0 -40
@@ -22,13 +22,13 @@ module Google
22
22
  module Apis
23
23
  module ServicemanagementV1
24
24
 
25
- # Generated advice about this change, used for providing more
26
- # information about how a change will affect the existing service.
25
+ # Generated advice about this change, used for providing more information about
26
+ # how a change will affect the existing service.
27
27
  class Advice
28
28
  include Google::Apis::Core::Hashable
29
29
 
30
- # Useful description for why this advice was applied and what actions should
31
- # be taken to mitigate any implied risks.
30
+ # Useful description for why this advice was applied and what actions should be
31
+ # taken to mitigate any implied risks.
32
32
  # Corresponds to the JSON property `description`
33
33
  # @return [String]
34
34
  attr_accessor :description
@@ -43,14 +43,13 @@ module Google
43
43
  end
44
44
  end
45
45
 
46
- # Api is a light-weight descriptor for an API Interface.
47
- # Interfaces are also described as "protocol buffer services" in some contexts,
48
- # such as by the "service" keyword in a .proto file, but they are different
49
- # from API Services, which represent a concrete implementation of an interface
50
- # as opposed to simply a description of methods and bindings. They are also
51
- # sometimes simply referred to as "APIs" in other contexts, such as the name of
52
- # this message itself. See https://cloud.google.com/apis/design/glossary for
53
- # detailed terminology.
46
+ # Api is a light-weight descriptor for an API Interface. Interfaces are also
47
+ # described as "protocol buffer services" in some contexts, such as by the "
48
+ # service" keyword in a .proto file, but they are different from API Services,
49
+ # which represent a concrete implementation of an interface as opposed to simply
50
+ # a description of methods and bindings. They are also sometimes simply referred
51
+ # to as "APIs" in other contexts, such as the name of this message itself. See
52
+ # https://cloud.google.com/apis/design/glossary for detailed terminology.
54
53
  class Api
55
54
  include Google::Apis::Core::Hashable
56
55
 
@@ -64,8 +63,8 @@ module Google
64
63
  # @return [Array<Google::Apis::ServicemanagementV1::Mixin>]
65
64
  attr_accessor :mixins
66
65
 
67
- # The fully qualified name of this interface, including package name
68
- # followed by the interface's simple name.
66
+ # The fully qualified name of this interface, including package name followed by
67
+ # the interface's simple name.
69
68
  # Corresponds to the JSON property `name`
70
69
  # @return [String]
71
70
  attr_accessor :name
@@ -75,8 +74,8 @@ module Google
75
74
  # @return [Array<Google::Apis::ServicemanagementV1::Option>]
76
75
  attr_accessor :options
77
76
 
78
- # `SourceContext` represents information about the source of a
79
- # protobuf element, like the file in which it is defined.
77
+ # `SourceContext` represents information about the source of a protobuf element,
78
+ # like the file in which it is defined.
80
79
  # Corresponds to the JSON property `sourceContext`
81
80
  # @return [Google::Apis::ServicemanagementV1::SourceContext]
82
81
  attr_accessor :source_context
@@ -86,23 +85,19 @@ module Google
86
85
  # @return [String]
87
86
  attr_accessor :syntax
88
87
 
89
- # A version string for this interface. If specified, must have the form
90
- # `major-version.minor-version`, as in `1.10`. If the minor version is
91
- # omitted, it defaults to zero. If the entire version field is empty, the
92
- # major version is derived from the package name, as outlined below. If the
93
- # field is not empty, the version in the package name will be verified to be
94
- # consistent with what is provided here.
95
- # The versioning schema uses [semantic
96
- # versioning](http://semver.org) where the major version number
97
- # indicates a breaking change and the minor version an additive,
98
- # non-breaking change. Both version numbers are signals to users
99
- # what to expect from different versions, and should be carefully
100
- # chosen based on the product plan.
101
- # The major version is also reflected in the package name of the
102
- # interface, which must end in `v<major-version>`, as in
103
- # `google.feature.v1`. For major versions 0 and 1, the suffix can
104
- # be omitted. Zero major versions must only be used for
105
- # experimental, non-GA interfaces.
88
+ # A version string for this interface. If specified, must have the form `major-
89
+ # version.minor-version`, as in `1.10`. If the minor version is omitted, it
90
+ # defaults to zero. If the entire version field is empty, the major version is
91
+ # derived from the package name, as outlined below. If the field is not empty,
92
+ # the version in the package name will be verified to be consistent with what is
93
+ # provided here. The versioning schema uses [semantic versioning](http://semver.
94
+ # org) where the major version number indicates a breaking change and the minor
95
+ # version an additive, non-breaking change. Both version numbers are signals to
96
+ # users what to expect from different versions, and should be carefully chosen
97
+ # based on the product plan. The major version is also reflected in the package
98
+ # name of the interface, which must end in `v`, as in `google.feature.v1`. For
99
+ # major versions 0 and 1, the suffix can be omitted. Zero major versions must
100
+ # only be used for experimental, non-GA interfaces.
106
101
  # Corresponds to the JSON property `version`
107
102
  # @return [String]
108
103
  attr_accessor :version
@@ -123,53 +118,21 @@ module Google
123
118
  end
124
119
  end
125
120
 
126
- # Specifies the audit configuration for a service.
127
- # The configuration determines which permission types are logged, and what
128
- # identities, if any, are exempted from logging.
129
- # An AuditConfig must have one or more AuditLogConfigs.
130
- # If there are AuditConfigs for both `allServices` and a specific service,
131
- # the union of the two AuditConfigs is used for that service: the log_types
132
- # specified in each AuditConfig are enabled, and the exempted_members in each
133
- # AuditLogConfig are exempted.
134
- # Example Policy with multiple AuditConfigs:
135
- # `
136
- # "audit_configs": [
137
- # `
138
- # "service": "allServices",
139
- # "audit_log_configs": [
140
- # `
141
- # "log_type": "DATA_READ",
142
- # "exempted_members": [
143
- # "user:jose@example.com"
144
- # ]
145
- # `,
146
- # `
147
- # "log_type": "DATA_WRITE"
148
- # `,
149
- # `
150
- # "log_type": "ADMIN_READ"
151
- # `
152
- # ]
153
- # `,
154
- # `
155
- # "service": "sampleservice.googleapis.com",
156
- # "audit_log_configs": [
157
- # `
158
- # "log_type": "DATA_READ"
159
- # `,
160
- # `
161
- # "log_type": "DATA_WRITE",
162
- # "exempted_members": [
163
- # "user:aliya@example.com"
164
- # ]
165
- # `
166
- # ]
167
- # `
168
- # ]
169
- # `
170
- # For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
171
- # logging. It also exempts jose@example.com from DATA_READ logging, and
172
- # aliya@example.com from DATA_WRITE logging.
121
+ # Specifies the audit configuration for a service. The configuration determines
122
+ # which permission types are logged, and what identities, if any, are exempted
123
+ # from logging. An AuditConfig must have one or more AuditLogConfigs. If there
124
+ # are AuditConfigs for both `allServices` and a specific service, the union of
125
+ # the two AuditConfigs is used for that service: the log_types specified in each
126
+ # AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
127
+ # exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
128
+ # service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
129
+ # exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
130
+ # ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
131
+ # "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
132
+ # , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
133
+ # this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
134
+ # exempts jose@example.com from DATA_READ logging, and aliya@example.com from
135
+ # DATA_WRITE logging.
173
136
  class AuditConfig
174
137
  include Google::Apis::Core::Hashable
175
138
 
@@ -178,9 +141,9 @@ module Google
178
141
  # @return [Array<Google::Apis::ServicemanagementV1::AuditLogConfig>]
179
142
  attr_accessor :audit_log_configs
180
143
 
181
- # Specifies a service that will be enabled for audit logging.
182
- # For example, `storage.googleapis.com`, `cloudsql.googleapis.com`.
183
- # `allServices` is a special value that covers all services.
144
+ # Specifies a service that will be enabled for audit logging. For example, `
145
+ # storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
146
+ # value that covers all services.
184
147
  # Corresponds to the JSON property `service`
185
148
  # @return [String]
186
149
  attr_accessor :service
@@ -196,28 +159,15 @@ module Google
196
159
  end
197
160
  end
198
161
 
199
- # Provides the configuration for logging a type of permissions.
200
- # Example:
201
- # `
202
- # "audit_log_configs": [
203
- # `
204
- # "log_type": "DATA_READ",
205
- # "exempted_members": [
206
- # "user:jose@example.com"
207
- # ]
208
- # `,
209
- # `
210
- # "log_type": "DATA_WRITE"
211
- # `
212
- # ]
213
- # `
214
- # This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
215
- # jose@example.com from DATA_READ logging.
162
+ # Provides the configuration for logging a type of permissions. Example: ` "
163
+ # audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
164
+ # jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
165
+ # DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
166
+ # DATA_READ logging.
216
167
  class AuditLogConfig
217
168
  include Google::Apis::Core::Hashable
218
169
 
219
- # Specifies the identities that do not cause logging for this type of
220
- # permission.
170
+ # Specifies the identities that do not cause logging for this type of permission.
221
171
  # Follows the same format of Binding.members.
222
172
  # Corresponds to the JSON property `exemptedMembers`
223
173
  # @return [Array<String>]
@@ -239,85 +189,63 @@ module Google
239
189
  end
240
190
  end
241
191
 
242
- # Configuration for an authentication provider, including support for
243
- # [JSON Web Token
244
- # (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
192
+ # Configuration for an authentication provider, including support for [JSON Web
193
+ # Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
245
194
  class AuthProvider
246
195
  include Google::Apis::Core::Hashable
247
196
 
248
- # The list of JWT
249
- # [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#
250
- # section-4.1.3).
251
- # that are allowed to access. A JWT containing any of these audiences will
252
- # be accepted. When this setting is absent, JWTs with audiences:
253
- # - "https://[service.name]/[google.protobuf.Api.name]"
254
- # - "https://[service.name]/"
255
- # will be accepted.
256
- # For example, if no audiences are in the setting, LibraryService API will
257
- # accept JWTs with the following audiences:
258
- # -
197
+ # The list of JWT [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-
198
+ # web-token-32#section-4.1.3). that are allowed to access. A JWT containing any
199
+ # of these audiences will be accepted. When this setting is absent, JWTs with
200
+ # audiences: - "https://[service.name]/[google.protobuf.Api.name]" - "https://[
201
+ # service.name]/" will be accepted. For example, if no audiences are in the
202
+ # setting, LibraryService API will accept JWTs with the following audiences: -
259
203
  # https://library-example.googleapis.com/google.example.library.v1.
260
- # LibraryService
261
- # - https://library-example.googleapis.com/
262
- # Example:
263
- # audiences: bookstore_android.apps.googleusercontent.com,
264
- # bookstore_web.apps.googleusercontent.com
204
+ # LibraryService - https://library-example.googleapis.com/ Example: audiences:
205
+ # bookstore_android.apps.googleusercontent.com, bookstore_web.apps.
206
+ # googleusercontent.com
265
207
  # Corresponds to the JSON property `audiences`
266
208
  # @return [String]
267
209
  attr_accessor :audiences
268
210
 
269
- # Redirect URL if JWT token is required but not present or is expired.
270
- # Implement authorizationUrl of securityDefinitions in OpenAPI spec.
211
+ # Redirect URL if JWT token is required but not present or is expired. Implement
212
+ # authorizationUrl of securityDefinitions in OpenAPI spec.
271
213
  # Corresponds to the JSON property `authorizationUrl`
272
214
  # @return [String]
273
215
  attr_accessor :authorization_url
274
216
 
275
- # The unique identifier of the auth provider. It will be referred to by
276
- # `AuthRequirement.provider_id`.
277
- # Example: "bookstore_auth".
217
+ # The unique identifier of the auth provider. It will be referred to by `
218
+ # AuthRequirement.provider_id`. Example: "bookstore_auth".
278
219
  # Corresponds to the JSON property `id`
279
220
  # @return [String]
280
221
  attr_accessor :id
281
222
 
282
- # Identifies the principal that issued the JWT. See
283
- # https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.1
284
- # Usually a URL or an email address.
285
- # Example: https://securetoken.google.com
286
- # Example: 1234567-compute@developer.gserviceaccount.com
223
+ # Identifies the principal that issued the JWT. See https://tools.ietf.org/html/
224
+ # draft-ietf-oauth-json-web-token-32#section-4.1.1 Usually a URL or an email
225
+ # address. Example: https://securetoken.google.com Example: 1234567-compute@
226
+ # developer.gserviceaccount.com
287
227
  # Corresponds to the JSON property `issuer`
288
228
  # @return [String]
289
229
  attr_accessor :issuer
290
230
 
291
- # URL of the provider's public key set to validate signature of the JWT. See
292
- # [OpenID
293
- # Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#
294
- # ProviderMetadata).
295
- # Optional if the key set document:
296
- # - can be retrieved from
297
- # [OpenID
298
- # Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html of
299
- # the issuer.
300
- # - can be inferred from the email domain of the issuer (e.g. a Google
301
- # service account).
302
- # Example: https://www.googleapis.com/oauth2/v1/certs
231
+ # URL of the provider's public key set to validate signature of the JWT. See [
232
+ # OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html#
233
+ # ProviderMetadata). Optional if the key set document: - can be retrieved from [
234
+ # OpenID Discovery](https://openid.net/specs/openid-connect-discovery-1_0.html
235
+ # of the issuer. - can be inferred from the email domain of the issuer (e.g. a
236
+ # Google service account). Example: https://www.googleapis.com/oauth2/v1/certs
303
237
  # Corresponds to the JSON property `jwksUri`
304
238
  # @return [String]
305
239
  attr_accessor :jwks_uri
306
240
 
307
- # Defines the locations to extract the JWT.
308
- # JWT locations can be either from HTTP headers or URL query parameters.
309
- # The rule is that the first match wins. The checking order is: checking
310
- # all headers first, then URL query parameters.
311
- # If not specified, default to use following 3 locations:
312
- # 1) Authorization: Bearer
313
- # 2) x-goog-iap-jwt-assertion
314
- # 3) access_token query parameter
315
- # Default locations can be specified as followings:
316
- # jwt_locations:
317
- # - header: Authorization
318
- # value_prefix: "Bearer "
319
- # - header: x-goog-iap-jwt-assertion
320
- # - query: access_token
241
+ # Defines the locations to extract the JWT. JWT locations can be either from
242
+ # HTTP headers or URL query parameters. The rule is that the first match wins.
243
+ # The checking order is: checking all headers first, then URL query parameters.
244
+ # If not specified, default to use following 3 locations: 1) Authorization:
245
+ # Bearer 2) x-goog-iap-jwt-assertion 3) access_token query parameter Default
246
+ # locations can be specified as followings: jwt_locations: - header:
247
+ # Authorization value_prefix: "Bearer " - header: x-goog-iap-jwt-assertion -
248
+ # query: access_token
321
249
  # Corresponds to the JSON property `jwtLocations`
322
250
  # @return [Array<Google::Apis::ServicemanagementV1::JwtLocation>]
323
251
  attr_accessor :jwt_locations
@@ -337,34 +265,26 @@ module Google
337
265
  end
338
266
  end
339
267
 
340
- # User-defined authentication requirements, including support for
341
- # [JSON Web Token
342
- # (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
268
+ # User-defined authentication requirements, including support for [JSON Web
269
+ # Token (JWT)](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32).
343
270
  class AuthRequirement
344
271
  include Google::Apis::Core::Hashable
345
272
 
346
- # NOTE: This will be deprecated soon, once AuthProvider.audiences is
347
- # implemented and accepted in all the runtime components.
348
- # The list of JWT
349
- # [audiences](https://tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#
350
- # section-4.1.3).
351
- # that are allowed to access. A JWT containing any of these audiences will
352
- # be accepted. When this setting is absent, only JWTs with audience
353
- # "https://Service_name/API_name"
354
- # will be accepted. For example, if no audiences are in the setting,
355
- # LibraryService API will only accept JWTs with the following audience
356
- # "https://library-example.googleapis.com/google.example.library.v1.
357
- # LibraryService".
358
- # Example:
359
- # audiences: bookstore_android.apps.googleusercontent.com,
360
- # bookstore_web.apps.googleusercontent.com
273
+ # NOTE: This will be deprecated soon, once AuthProvider.audiences is implemented
274
+ # and accepted in all the runtime components. The list of JWT [audiences](https:/
275
+ # /tools.ietf.org/html/draft-ietf-oauth-json-web-token-32#section-4.1.3). that
276
+ # are allowed to access. A JWT containing any of these audiences will be
277
+ # accepted. When this setting is absent, only JWTs with audience "https://
278
+ # Service_name/API_name" will be accepted. For example, if no audiences are in
279
+ # the setting, LibraryService API will only accept JWTs with the following
280
+ # audience "https://library-example.googleapis.com/google.example.library.v1.
281
+ # LibraryService". Example: audiences: bookstore_android.apps.googleusercontent.
282
+ # com, bookstore_web.apps.googleusercontent.com
361
283
  # Corresponds to the JSON property `audiences`
362
284
  # @return [String]
363
285
  attr_accessor :audiences
364
286
 
365
- # id from authentication provider.
366
- # Example:
367
- # provider_id: bookstore_auth
287
+ # id from authentication provider. Example: provider_id: bookstore_auth
368
288
  # Corresponds to the JSON property `providerId`
369
289
  # @return [String]
370
290
  attr_accessor :provider_id
@@ -380,18 +300,11 @@ module Google
380
300
  end
381
301
  end
382
302
 
383
- # `Authentication` defines the authentication configuration for an API.
384
- # Example for an API targeted for external use:
385
- # name: calendar.googleapis.com
386
- # authentication:
387
- # providers:
388
- # - id: google_calendar_auth
389
- # jwks_uri: https://www.googleapis.com/oauth2/v1/certs
390
- # issuer: https://securetoken.google.com
391
- # rules:
392
- # - selector: "*"
393
- # requirements:
394
- # provider_id: google_calendar_auth
303
+ # `Authentication` defines the authentication configuration for an API. Example
304
+ # for an API targeted for external use: name: calendar.googleapis.com
305
+ # authentication: providers: - id: google_calendar_auth jwks_uri: https://www.
306
+ # googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: -
307
+ # selector: "*" requirements: provider_id: google_calendar_auth
395
308
  class Authentication
396
309
  include Google::Apis::Core::Hashable
397
310
 
@@ -400,8 +313,8 @@ module Google
400
313
  # @return [Array<Google::Apis::ServicemanagementV1::AuthProvider>]
401
314
  attr_accessor :providers
402
315
 
403
- # A list of authentication rules that apply to individual API methods.
404
- # **NOTE:** All service configuration rules follow "last one wins" order.
316
+ # A list of authentication rules that apply to individual API methods. **NOTE:**
317
+ # All service configuration rules follow "last one wins" order.
405
318
  # Corresponds to the JSON property `rules`
406
319
  # @return [Array<Google::Apis::ServicemanagementV1::AuthenticationRule>]
407
320
  attr_accessor :rules
@@ -417,36 +330,34 @@ module Google
417
330
  end
418
331
  end
419
332
 
420
- # Authentication rules for the service.
421
- # By default, if a method has any authentication requirements, every request
422
- # must include a valid credential matching one of the requirements.
423
- # It's an error to include more than one kind of credential in a single
424
- # request.
425
- # If a method doesn't have any auth requirements, request credentials will be
426
- # ignored.
333
+ # Authentication rules for the service. By default, if a method has any
334
+ # authentication requirements, every request must include a valid credential
335
+ # matching one of the requirements. It's an error to include more than one kind
336
+ # of credential in a single request. If a method doesn't have any auth
337
+ # requirements, request credentials will be ignored.
427
338
  class AuthenticationRule
428
339
  include Google::Apis::Core::Hashable
429
340
 
430
- # If true, the service accepts API keys without any other credential.
341
+ # If true, the service accepts API keys without any other credential. This flag
342
+ # only applies to HTTP and gRPC requests.
431
343
  # Corresponds to the JSON property `allowWithoutCredential`
432
344
  # @return [Boolean]
433
345
  attr_accessor :allow_without_credential
434
346
  alias_method :allow_without_credential?, :allow_without_credential
435
347
 
436
348
  # OAuth scopes are a way to define data and permissions on data. For example,
437
- # there are scopes defined for "Read-only access to Google Calendar" and
438
- # "Access to Cloud Platform". Users can consent to a scope for an application,
439
- # giving it permission to access that data on their behalf.
440
- # OAuth scope specifications should be fairly coarse grained; a user will need
441
- # to see and understand the text description of what your scope means.
442
- # In most cases: use one or at most two OAuth scopes for an entire family of
443
- # products. If your product has multiple APIs, you should probably be sharing
444
- # the OAuth scope across all of those APIs.
445
- # When you need finer grained OAuth consent screens: talk with your product
446
- # management about how developers will use them in practice.
447
- # Please note that even though each of the canonical scopes is enough for a
448
- # request to be accepted and passed to the backend, a request can still fail
449
- # due to the backend requiring additional scopes or permissions.
349
+ # there are scopes defined for "Read-only access to Google Calendar" and "Access
350
+ # to Cloud Platform". Users can consent to a scope for an application, giving it
351
+ # permission to access that data on their behalf. OAuth scope specifications
352
+ # should be fairly coarse grained; a user will need to see and understand the
353
+ # text description of what your scope means. In most cases: use one or at most
354
+ # two OAuth scopes for an entire family of products. If your product has
355
+ # multiple APIs, you should probably be sharing the OAuth scope across all of
356
+ # those APIs. When you need finer grained OAuth consent screens: talk with your
357
+ # product management about how developers will use them in practice. Please note
358
+ # that even though each of the canonical scopes is enough for a request to be
359
+ # accepted and passed to the backend, a request can still fail due to the
360
+ # backend requiring additional scopes or permissions.
450
361
  # Corresponds to the JSON property `oauth`
451
362
  # @return [Google::Apis::ServicemanagementV1::OAuthRequirements]
452
363
  attr_accessor :oauth
@@ -456,8 +367,8 @@ module Google
456
367
  # @return [Array<Google::Apis::ServicemanagementV1::AuthRequirement>]
457
368
  attr_accessor :requirements
458
369
 
459
- # Selects the methods to which this rule applies.
460
- # Refer to selector for syntax details.
370
+ # Selects the methods to which this rule applies. Refer to selector for syntax
371
+ # details.
461
372
  # Corresponds to the JSON property `selector`
462
373
  # @return [String]
463
374
  attr_accessor :selector
@@ -479,8 +390,8 @@ module Google
479
390
  class Backend
480
391
  include Google::Apis::Core::Hashable
481
392
 
482
- # A list of API backend rules that apply to individual API methods.
483
- # **NOTE:** All service configuration rules follow "last one wins" order.
393
+ # A list of API backend rules that apply to individual API methods. **NOTE:**
394
+ # All service configuration rules follow "last one wins" order.
484
395
  # Corresponds to the JSON property `rules`
485
396
  # @return [Array<Google::Apis::ServicemanagementV1::BackendRule>]
486
397
  attr_accessor :rules
@@ -499,21 +410,13 @@ module Google
499
410
  class BackendRule
500
411
  include Google::Apis::Core::Hashable
501
412
 
502
- # The address of the API backend.
503
- # The scheme is used to determine the backend protocol and security.
504
- # The following schemes are accepted:
505
- # SCHEME PROTOCOL SECURITY
506
- # http:// HTTP None
507
- # https:// HTTP TLS
508
- # grpc:// gRPC None
509
- # grpcs:// gRPC TLS
510
- # It is recommended to explicitly include a scheme. Leaving out the scheme
511
- # may cause constrasting behaviors across platforms.
512
- # If the port is unspecified, the default is:
513
- # - 80 for schemes without TLS
514
- # - 443 for schemes with TLS
515
- # For HTTP backends, use protocol
516
- # to specify the protocol version.
413
+ # The address of the API backend. The scheme is used to determine the backend
414
+ # protocol and security. The following schemes are accepted: SCHEME PROTOCOL
415
+ # SECURITY http:// HTTP None https:// HTTP TLS grpc:// gRPC None grpcs:// gRPC
416
+ # TLS It is recommended to explicitly include a scheme. Leaving out the scheme
417
+ # may cause constrasting behaviors across platforms. If the port is unspecified,
418
+ # the default is: - 80 for schemes without TLS - 443 for schemes with TLS For
419
+ # HTTP backends, use protocol to specify the protocol version.
517
420
  # Corresponds to the JSON property `address`
518
421
  # @return [String]
519
422
  attr_accessor :address
@@ -524,18 +427,18 @@ module Google
524
427
  # @return [Float]
525
428
  attr_accessor :deadline
526
429
 
527
- # When disable_auth is true, a JWT ID token won't be generated and the
528
- # original "Authorization" HTTP header will be preserved. If the header is
529
- # used to carry the original token and is expected by the backend, this
530
- # field must be set to true to preserve the header.
430
+ # When disable_auth is true, a JWT ID token won't be generated and the original "
431
+ # Authorization" HTTP header will be preserved. If the header is used to carry
432
+ # the original token and is expected by the backend, this field must be set to
433
+ # true to preserve the header.
531
434
  # Corresponds to the JSON property `disableAuth`
532
435
  # @return [Boolean]
533
436
  attr_accessor :disable_auth
534
437
  alias_method :disable_auth?, :disable_auth
535
438
 
536
- # The JWT audience is used when generating a JWT ID token for the backend.
537
- # This ID token will be added in the HTTP "authorization" header, and sent
538
- # to the backend.
439
+ # The JWT audience is used when generating a JWT ID token for the backend. This
440
+ # ID token will be added in the HTTP "authorization" header, and sent to the
441
+ # backend.
539
442
  # Corresponds to the JSON property `jwtAudience`
540
443
  # @return [String]
541
444
  attr_accessor :jwt_audience
@@ -546,8 +449,8 @@ module Google
546
449
  # @return [Float]
547
450
  attr_accessor :min_deadline
548
451
 
549
- # The number of seconds to wait for the completion of a long running
550
- # operation. The default is no deadline.
452
+ # The number of seconds to wait for the completion of a long running operation.
453
+ # The default is no deadline.
551
454
  # Corresponds to the JSON property `operationDeadline`
552
455
  # @return [Float]
553
456
  attr_accessor :operation_deadline
@@ -557,29 +460,21 @@ module Google
557
460
  # @return [String]
558
461
  attr_accessor :path_translation
559
462
 
560
- # The protocol used for sending a request to the backend.
561
- # The supported values are "http/1.1" and "h2".
562
- # The default value is inferred from the scheme in the
563
- # address field:
564
- # SCHEME PROTOCOL
565
- # http:// http/1.1
566
- # https:// http/1.1
567
- # grpc:// h2
568
- # grpcs:// h2
569
- # For secure HTTP backends (https://) that support HTTP/2, set this field
570
- # to "h2" for improved performance.
571
- # Configuring this field to non-default values is only supported for secure
572
- # HTTP backends. This field will be ignored for all other backends.
573
- # See
574
- # https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-
575
- # values.xhtml#alpn-protocol-ids
576
- # for more details on the supported values.
463
+ # The protocol used for sending a request to the backend. The supported values
464
+ # are "http/1.1" and "h2". The default value is inferred from the scheme in the
465
+ # address field: SCHEME PROTOCOL http:// http/1.1 https:// http/1.1 grpc:// h2
466
+ # grpcs:// h2 For secure HTTP backends (https://) that support HTTP/2, set this
467
+ # field to "h2" for improved performance. Configuring this field to non-default
468
+ # values is only supported for secure HTTP backends. This field will be ignored
469
+ # for all other backends. See https://www.iana.org/assignments/tls-extensiontype-
470
+ # values/tls-extensiontype-values.xhtml#alpn-protocol-ids for more details on
471
+ # the supported values.
577
472
  # Corresponds to the JSON property `protocol`
578
473
  # @return [String]
579
474
  attr_accessor :protocol
580
475
 
581
- # Selects the methods to which this rule applies.
582
- # Refer to selector for syntax details.
476
+ # Selects the methods to which this rule applies. Refer to selector for syntax
477
+ # details.
583
478
  # Corresponds to the JSON property `selector`
584
479
  # @return [String]
585
480
  attr_accessor :selector
@@ -602,42 +497,28 @@ module Google
602
497
  end
603
498
  end
604
499
 
605
- # Billing related configuration of the service.
606
- # The following example shows how to configure monitored resources and metrics
607
- # for billing, `consumer_destinations` is the only supported destination and
608
- # the monitored resources need at least one label key
609
- # `cloud.googleapis.com/location` to indicate the location of the billing
610
- # usage, using different monitored resources between monitoring and billing is
611
- # recommended so they can be evolved independently:
612
- # monitored_resources:
613
- # - type: library.googleapis.com/billing_branch
614
- # labels:
615
- # - key: cloud.googleapis.com/location
616
- # description: |
617
- # Predefined label to support billing location restriction.
618
- # - key: city
619
- # description: |
620
- # Custom label to define the city where the library branch is located
621
- # in.
622
- # - key: name
623
- # description: Custom label to define the name of the library branch.
624
- # metrics:
625
- # - name: library.googleapis.com/book/borrowed_count
626
- # metric_kind: DELTA
627
- # value_type: INT64
628
- # unit: "1"
629
- # billing:
630
- # consumer_destinations:
631
- # - monitored_resource: library.googleapis.com/billing_branch
632
- # metrics:
633
- # - library.googleapis.com/book/borrowed_count
500
+ # Billing related configuration of the service. The following example shows how
501
+ # to configure monitored resources and metrics for billing, `
502
+ # consumer_destinations` is the only supported destination and the monitored
503
+ # resources need at least one label key `cloud.googleapis.com/location` to
504
+ # indicate the location of the billing usage, using different monitored
505
+ # resources between monitoring and billing is recommended so they can be evolved
506
+ # independently: monitored_resources: - type: library.googleapis.com/
507
+ # billing_branch labels: - key: cloud.googleapis.com/location description: |
508
+ # Predefined label to support billing location restriction. - key: city
509
+ # description: | Custom label to define the city where the library branch is
510
+ # located in. - key: name description: Custom label to define the name of the
511
+ # library branch. metrics: - name: library.googleapis.com/book/borrowed_count
512
+ # metric_kind: DELTA value_type: INT64 unit: "1" billing: consumer_destinations:
513
+ # - monitored_resource: library.googleapis.com/billing_branch metrics: - library.
514
+ # googleapis.com/book/borrowed_count
634
515
  class Billing
635
516
  include Google::Apis::Core::Hashable
636
517
 
637
- # Billing configurations for sending metrics to the consumer project.
638
- # There can be multiple consumer destinations per service, each one must have
639
- # a different monitored resource type. A metric can be used in at most
640
- # one consumer destination.
518
+ # Billing configurations for sending metrics to the consumer project. There can
519
+ # be multiple consumer destinations per service, each one must have a different
520
+ # monitored resource type. A metric can be used in at most one consumer
521
+ # destination.
641
522
  # Corresponds to the JSON property `consumerDestinations`
642
523
  # @return [Array<Google::Apis::ServicemanagementV1::BillingDestination>]
643
524
  attr_accessor :consumer_destinations
@@ -652,19 +533,19 @@ module Google
652
533
  end
653
534
  end
654
535
 
655
- # Configuration of a specific billing destination (Currently only support
656
- # bill against consumer project).
536
+ # Configuration of a specific billing destination (Currently only support bill
537
+ # against consumer project).
657
538
  class BillingDestination
658
539
  include Google::Apis::Core::Hashable
659
540
 
660
- # Names of the metrics to report to this billing destination.
661
- # Each name must be defined in Service.metrics section.
541
+ # Names of the metrics to report to this billing destination. Each name must be
542
+ # defined in Service.metrics section.
662
543
  # Corresponds to the JSON property `metrics`
663
544
  # @return [Array<String>]
664
545
  attr_accessor :metrics
665
546
 
666
- # The monitored resource type. The type must be defined in
667
- # Service.monitored_resources section.
547
+ # The monitored resource type. The type must be defined in Service.
548
+ # monitored_resources section.
668
549
  # Corresponds to the JSON property `monitoredResource`
669
550
  # @return [String]
670
551
  attr_accessor :monitored_resource
@@ -684,69 +565,57 @@ module Google
684
565
  class Binding
685
566
  include Google::Apis::Core::Hashable
686
567
 
687
- # Represents a textual expression in the Common Expression Language (CEL)
688
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
689
- # are documented at https://github.com/google/cel-spec.
690
- # Example (Comparison):
691
- # title: "Summary size limit"
692
- # description: "Determines if a summary is less than 100 chars"
693
- # expression: "document.summary.size() < 100"
694
- # Example (Equality):
695
- # title: "Requestor is owner"
696
- # description: "Determines if requestor is the document owner"
697
- # expression: "document.owner == request.auth.claims.email"
698
- # Example (Logic):
699
- # title: "Public documents"
700
- # description: "Determine whether the document should be publicly visible"
701
- # expression: "document.type != 'private' && document.type != 'internal'"
702
- # Example (Data Manipulation):
703
- # title: "Notification string"
704
- # description: "Create a notification string with a timestamp."
705
- # expression: "'New message received at ' + string(document.create_time)"
706
- # The exact variables and functions that may be referenced within an expression
707
- # are determined by the service that evaluates it. See the service
708
- # documentation for additional information.
568
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
569
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
570
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
571
+ # "Summary size limit" description: "Determines if a summary is less than 100
572
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
573
+ # Requestor is owner" description: "Determines if requestor is the document
574
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
575
+ # Logic): title: "Public documents" description: "Determine whether the document
576
+ # should be publicly visible" expression: "document.type != 'private' &&
577
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
578
+ # string" description: "Create a notification string with a timestamp."
579
+ # expression: "'New message received at ' + string(document.create_time)" The
580
+ # exact variables and functions that may be referenced within an expression are
581
+ # determined by the service that evaluates it. See the service documentation for
582
+ # additional information.
709
583
  # Corresponds to the JSON property `condition`
710
584
  # @return [Google::Apis::ServicemanagementV1::Expr]
711
585
  attr_accessor :condition
712
586
 
713
- # Specifies the identities requesting access for a Cloud Platform resource.
714
- # `members` can have the following values:
715
- # * `allUsers`: A special identifier that represents anyone who is
716
- # on the internet; with or without a Google account.
717
- # * `allAuthenticatedUsers`: A special identifier that represents anyone
718
- # who is authenticated with a Google account or a service account.
719
- # * `user:`emailid``: An email address that represents a specific Google
720
- # account. For example, `alice@example.com` .
721
- # * `serviceAccount:`emailid``: An email address that represents a service
722
- # account. For example, `my-other-app@appspot.gserviceaccount.com`.
723
- # * `group:`emailid``: An email address that represents a Google group.
724
- # For example, `admins@example.com`.
725
- # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
726
- # identifier) representing a user that has been recently deleted. For
727
- # example, `alice@example.com?uid=123456789012345678901`. If the user is
728
- # recovered, this value reverts to `user:`emailid`` and the recovered user
729
- # retains the role in the binding.
730
- # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
731
- # unique identifier) representing a service account that has been recently
732
- # deleted. For example,
733
- # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
734
- # If the service account is undeleted, this value reverts to
735
- # `serviceAccount:`emailid`` and the undeleted service account retains the
736
- # role in the binding.
737
- # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
738
- # identifier) representing a Google group that has been recently
739
- # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
740
- # the group is recovered, this value reverts to `group:`emailid`` and the
741
- # recovered group retains the role in the binding.
742
- # * `domain:`domain``: The G Suite domain (primary) that represents all the
743
- # users of that domain. For example, `google.com` or `example.com`.
587
+ # Specifies the identities requesting access for a Cloud Platform resource. `
588
+ # members` can have the following values: * `allUsers`: A special identifier
589
+ # that represents anyone who is on the internet; with or without a Google
590
+ # account. * `allAuthenticatedUsers`: A special identifier that represents
591
+ # anyone who is authenticated with a Google account or a service account. * `
592
+ # user:`emailid``: An email address that represents a specific Google account.
593
+ # For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
594
+ # address that represents a service account. For example, `my-other-app@appspot.
595
+ # gserviceaccount.com`. * `group:`emailid``: An email address that represents a
596
+ # Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
597
+ # `uniqueid``: An email address (plus unique identifier) representing a user
598
+ # that has been recently deleted. For example, `alice@example.com?uid=
599
+ # 123456789012345678901`. If the user is recovered, this value reverts to `user:`
600
+ # emailid`` and the recovered user retains the role in the binding. * `deleted:
601
+ # serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
602
+ # identifier) representing a service account that has been recently deleted. For
603
+ # example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
604
+ # If the service account is undeleted, this value reverts to `serviceAccount:`
605
+ # emailid`` and the undeleted service account retains the role in the binding. *
606
+ # `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
607
+ # identifier) representing a Google group that has been recently deleted. For
608
+ # example, `admins@example.com?uid=123456789012345678901`. If the group is
609
+ # recovered, this value reverts to `group:`emailid`` and the recovered group
610
+ # retains the role in the binding. * `domain:`domain``: The G Suite domain (
611
+ # primary) that represents all the users of that domain. For example, `google.
612
+ # com` or `example.com`.
744
613
  # Corresponds to the JSON property `members`
745
614
  # @return [Array<String>]
746
615
  attr_accessor :members
747
616
 
748
- # Role that is assigned to `members`.
749
- # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
617
+ # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
618
+ # , or `roles/owner`.
750
619
  # Corresponds to the JSON property `role`
751
620
  # @return [String]
752
621
  attr_accessor :role
@@ -763,17 +632,16 @@ module Google
763
632
  end
764
633
  end
765
634
 
766
- # Change report associated with a particular service configuration.
767
- # It contains a list of ConfigChanges based on the comparison between
768
- # two service configurations.
635
+ # Change report associated with a particular service configuration. It contains
636
+ # a list of ConfigChanges based on the comparison between two service
637
+ # configurations.
769
638
  class ChangeReport
770
639
  include Google::Apis::Core::Hashable
771
640
 
772
- # List of changes between two service configurations.
773
- # The changes will be alphabetically sorted based on the identifier
774
- # of each change.
775
- # A ConfigChange identifier is a dot separated path to the configuration.
776
- # Example: visibility.rules[selector='LibraryService.CreateBook'].restriction
641
+ # List of changes between two service configurations. The changes will be
642
+ # alphabetically sorted based on the identifier of each change. A ConfigChange
643
+ # identifier is a dot separated path to the configuration. Example: visibility.
644
+ # rules[selector='LibraryService.CreateBook'].restriction
777
645
  # Corresponds to the JSON property `configChanges`
778
646
  # @return [Array<Google::Apis::ServicemanagementV1::ConfigChange>]
779
647
  attr_accessor :config_changes
@@ -789,9 +657,8 @@ module Google
789
657
  end
790
658
 
791
659
  # Output generated from semantically comparing two versions of a service
792
- # configuration.
793
- # Includes detailed information about a field that have changed with
794
- # applicable advice about potential consequences for the change, such as
660
+ # configuration. Includes detailed information about a field that have changed
661
+ # with applicable advice about potential consequences for the change, such as
795
662
  # backwards-incompatibility.
796
663
  class ConfigChange
797
664
  include Google::Apis::Core::Hashable
@@ -807,27 +674,25 @@ module Google
807
674
  # @return [String]
808
675
  attr_accessor :change_type
809
676
 
810
- # Object hierarchy path to the change, with levels separated by a '.'
811
- # character. For repeated fields, an applicable unique identifier field is
812
- # used for the index (usually selector, name, or id). For maps, the term
813
- # 'key' is used. If the field has no unique identifier, the numeric index
814
- # is used.
815
- # Examples:
816
- # - visibility.rules[selector=="google.LibraryService.ListBooks"].restriction
817
- # - quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value
818
- # - logging.producer_destinations[0]
677
+ # Object hierarchy path to the change, with levels separated by a '.' character.
678
+ # For repeated fields, an applicable unique identifier field is used for the
679
+ # index (usually selector, name, or id). For maps, the term 'key' is used. If
680
+ # the field has no unique identifier, the numeric index is used. Examples: -
681
+ # visibility.rules[selector=="google.LibraryService.ListBooks"].restriction -
682
+ # quota.metric_rules[selector=="google"].metric_costs[key=="reads"].value -
683
+ # logging.producer_destinations[0]
819
684
  # Corresponds to the JSON property `element`
820
685
  # @return [String]
821
686
  attr_accessor :element
822
687
 
823
- # Value of the changed object in the new Service configuration,
824
- # in JSON format. This field will not be populated if ChangeType == REMOVED.
688
+ # Value of the changed object in the new Service configuration, in JSON format.
689
+ # This field will not be populated if ChangeType == REMOVED.
825
690
  # Corresponds to the JSON property `newValue`
826
691
  # @return [String]
827
692
  attr_accessor :new_value
828
693
 
829
- # Value of the changed object in the old Service configuration,
830
- # in JSON format. This field will not be populated if ChangeType == ADDED.
694
+ # Value of the changed object in the old Service configuration, in JSON format.
695
+ # This field will not be populated if ChangeType == ADDED.
831
696
  # Corresponds to the JSON property `oldValue`
832
697
  # @return [String]
833
698
  attr_accessor :old_value
@@ -882,8 +747,8 @@ module Google
882
747
  class ConfigRef
883
748
  include Google::Apis::Core::Hashable
884
749
 
885
- # Resource name of a service config. It must have the following
886
- # format: "services/`service name`/configs/`config id`".
750
+ # Resource name of a service config. It must have the following format: "
751
+ # services/`service name`/configs/`config id`".
887
752
  # Corresponds to the JSON property `name`
888
753
  # @return [String]
889
754
  attr_accessor :name
@@ -909,9 +774,9 @@ module Google
909
774
  # @return [Array<Google::Apis::ServicemanagementV1::ConfigFile>]
910
775
  attr_accessor :files
911
776
 
912
- # A unique ID for a specific instance of this message, typically assigned
913
- # by the client for tracking purpose. If empty, the server may choose to
914
- # generate one instead.
777
+ # A unique ID for a specific instance of this message, typically assigned by the
778
+ # client for tracking purpose. If empty, the server may choose to generate one
779
+ # instead.
915
780
  # Corresponds to the JSON property `id`
916
781
  # @return [String]
917
782
  attr_accessor :id
@@ -927,39 +792,24 @@ module Google
927
792
  end
928
793
  end
929
794
 
930
- # `Context` defines which contexts an API requests.
931
- # Example:
932
- # context:
933
- # rules:
934
- # - selector: "*"
935
- # requested:
936
- # - google.rpc.context.ProjectContext
937
- # - google.rpc.context.OriginContext
938
- # The above specifies that all methods in the API request
939
- # `google.rpc.context.ProjectContext` and
940
- # `google.rpc.context.OriginContext`.
941
- # Available context types are defined in package
942
- # `google.rpc.context`.
943
- # This also provides mechanism to whitelist any protobuf message extension that
944
- # can be sent in grpc metadata using “x-goog-ext-<extension_id>-bin” and
945
- # “x-goog-ext-<extension_id>-jspb” format. For example, list any service
946
- # specific protobuf types that can appear in grpc metadata as follows in your
947
- # yaml file:
948
- # Example:
949
- # context:
950
- # rules:
951
- # - selector: "google.example.library.v1.LibraryService.CreateBook"
952
- # allowed_request_extensions:
953
- # - google.foo.v1.NewExtension
954
- # allowed_response_extensions:
955
- # - google.foo.v1.NewExtension
956
- # You can also specify extension ID instead of fully qualified extension name
957
- # here.
795
+ # `Context` defines which contexts an API requests. Example: context: rules: -
796
+ # selector: "*" requested: - google.rpc.context.ProjectContext - google.rpc.
797
+ # context.OriginContext The above specifies that all methods in the API request `
798
+ # google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`.
799
+ # Available context types are defined in package `google.rpc.context`. This also
800
+ # provides mechanism to allowlist any protobuf message extension that can be
801
+ # sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format.
802
+ # For example, list any service specific protobuf types that can appear in grpc
803
+ # metadata as follows in your yaml file: Example: context: rules: - selector: "
804
+ # google.example.library.v1.LibraryService.CreateBook"
805
+ # allowed_request_extensions: - google.foo.v1.NewExtension
806
+ # allowed_response_extensions: - google.foo.v1.NewExtension You can also specify
807
+ # extension ID instead of fully qualified extension name here.
958
808
  class Context
959
809
  include Google::Apis::Core::Hashable
960
810
 
961
- # A list of RPC context rules that apply to individual API methods.
962
- # **NOTE:** All service configuration rules follow "last one wins" order.
811
+ # A list of RPC context rules that apply to individual API methods. **NOTE:**
812
+ # All service configuration rules follow "last one wins" order.
963
813
  # Corresponds to the JSON property `rules`
964
814
  # @return [Array<Google::Apis::ServicemanagementV1::ContextRule>]
965
815
  attr_accessor :rules
@@ -979,14 +829,14 @@ module Google
979
829
  class ContextRule
980
830
  include Google::Apis::Core::Hashable
981
831
 
982
- # A list of full type names or extension IDs of extensions allowed in grpc
983
- # side channel from client to backend.
832
+ # A list of full type names or extension IDs of extensions allowed in grpc side
833
+ # channel from client to backend.
984
834
  # Corresponds to the JSON property `allowedRequestExtensions`
985
835
  # @return [Array<String>]
986
836
  attr_accessor :allowed_request_extensions
987
837
 
988
- # A list of full type names or extension IDs of extensions allowed in grpc
989
- # side channel from backend to client.
838
+ # A list of full type names or extension IDs of extensions allowed in grpc side
839
+ # channel from backend to client.
990
840
  # Corresponds to the JSON property `allowedResponseExtensions`
991
841
  # @return [Array<String>]
992
842
  attr_accessor :allowed_response_extensions
@@ -1001,8 +851,8 @@ module Google
1001
851
  # @return [Array<String>]
1002
852
  attr_accessor :requested
1003
853
 
1004
- # Selects the methods to which this rule applies.
1005
- # Refer to selector for syntax details.
854
+ # Selects the methods to which this rule applies. Refer to selector for syntax
855
+ # details.
1006
856
  # Corresponds to the JSON property `selector`
1007
857
  # @return [String]
1008
858
  attr_accessor :selector
@@ -1021,14 +871,14 @@ module Google
1021
871
  end
1022
872
  end
1023
873
 
1024
- # Selects and configures the service controller used by the service. The
1025
- # service controller handles features like abuse, quota, billing, logging,
1026
- # monitoring, etc.
874
+ # Selects and configures the service controller used by the service. The service
875
+ # controller handles features like abuse, quota, billing, logging, monitoring,
876
+ # etc.
1027
877
  class Control
1028
878
  include Google::Apis::Core::Hashable
1029
879
 
1030
- # The service control environment to use. If empty, no control plane
1031
- # feature (like quota and billing) will be enabled.
880
+ # The service control environment to use. If empty, no control plane feature (
881
+ # like quota and billing) will be enabled.
1032
882
  # Corresponds to the JSON property `environment`
1033
883
  # @return [String]
1034
884
  attr_accessor :environment
@@ -1043,19 +893,15 @@ module Google
1043
893
  end
1044
894
  end
1045
895
 
1046
- # Customize service error responses. For example, list any service
1047
- # specific protobuf types that can appear in error detail lists of
1048
- # error responses.
1049
- # Example:
1050
- # custom_error:
1051
- # types:
1052
- # - google.foo.v1.CustomError
1053
- # - google.foo.v1.AnotherError
896
+ # Customize service error responses. For example, list any service specific
897
+ # protobuf types that can appear in error detail lists of error responses.
898
+ # Example: custom_error: types: - google.foo.v1.CustomError - google.foo.v1.
899
+ # AnotherError
1054
900
  class CustomError
1055
901
  include Google::Apis::Core::Hashable
1056
902
 
1057
- # The list of custom error rules that apply to individual API messages.
1058
- # **NOTE:** All service configuration rules follow "last one wins" order.
903
+ # The list of custom error rules that apply to individual API messages. **NOTE:**
904
+ # All service configuration rules follow "last one wins" order.
1059
905
  # Corresponds to the JSON property `rules`
1060
906
  # @return [Array<Google::Apis::ServicemanagementV1::CustomErrorRule>]
1061
907
  attr_accessor :rules
@@ -1080,15 +926,15 @@ module Google
1080
926
  class CustomErrorRule
1081
927
  include Google::Apis::Core::Hashable
1082
928
 
1083
- # Mark this message as possible payload in error response. Otherwise,
1084
- # objects of this type will be filtered when they appear in error payload.
929
+ # Mark this message as possible payload in error response. Otherwise, objects of
930
+ # this type will be filtered when they appear in error payload.
1085
931
  # Corresponds to the JSON property `isErrorType`
1086
932
  # @return [Boolean]
1087
933
  attr_accessor :is_error_type
1088
934
  alias_method :is_error_type?, :is_error_type
1089
935
 
1090
- # Selects messages to which this rule applies.
1091
- # Refer to selector for syntax details.
936
+ # Selects messages to which this rule applies. Refer to selector for syntax
937
+ # details.
1092
938
  # Corresponds to the JSON property `selector`
1093
939
  # @return [String]
1094
940
  attr_accessor :selector
@@ -1129,8 +975,8 @@ module Google
1129
975
  end
1130
976
  end
1131
977
 
1132
- # Strategy used to delete a service. This strategy is a placeholder only
1133
- # used by the system generated rollout to delete a service.
978
+ # Strategy used to delete a service. This strategy is a placeholder only used by
979
+ # the system generated rollout to delete a service.
1134
980
  class DeleteServiceStrategy
1135
981
  include Google::Apis::Core::Hashable
1136
982
 
@@ -1174,31 +1020,6 @@ module Google
1174
1020
  end
1175
1021
  end
1176
1022
 
1177
- # Request message for DisableService method.
1178
- class DisableServiceRequest
1179
- include Google::Apis::Core::Hashable
1180
-
1181
- # Required. The identity of consumer resource which service disablement will be
1182
- # applied to.
1183
- # The Google Service Management implementation accepts the following
1184
- # forms:
1185
- # - "project:<project_id>"
1186
- # Note: this is made compatible with
1187
- # google.api.servicecontrol.v1.Operation.consumer_id.
1188
- # Corresponds to the JSON property `consumerId`
1189
- # @return [String]
1190
- attr_accessor :consumer_id
1191
-
1192
- def initialize(**args)
1193
- update!(**args)
1194
- end
1195
-
1196
- # Update properties of this object
1197
- def update!(**args)
1198
- @consumer_id = args[:consumer_id] if args.key?(:consumer_id)
1199
- end
1200
- end
1201
-
1202
1023
  # Operation payload for DisableService method.
1203
1024
  class DisableServiceResponse
1204
1025
  include Google::Apis::Core::Hashable
@@ -1212,56 +1033,32 @@ module Google
1212
1033
  end
1213
1034
  end
1214
1035
 
1215
- # `Documentation` provides the information for describing a service.
1216
- # Example:
1217
- # <pre><code>documentation:
1218
- # summary: >
1219
- # The Google Calendar API gives access
1220
- # to most calendar features.
1221
- # pages:
1222
- # - name: Overview
1223
- # content: &#40;== include google/foo/overview.md ==&#41;
1224
- # - name: Tutorial
1225
- # content: &#40;== include google/foo/tutorial.md ==&#41;
1226
- # subpages;
1227
- # - name: Java
1228
- # content: &#40;== include google/foo/tutorial_java.md ==&#41;
1229
- # rules:
1230
- # - selector: google.calendar.Calendar.Get
1231
- # description: >
1232
- # ...
1233
- # - selector: google.calendar.Calendar.Put
1234
- # description: >
1235
- # ...
1236
- # </code></pre>
1237
- # Documentation is provided in markdown syntax. In addition to
1238
- # standard markdown features, definition lists, tables and fenced
1239
- # code blocks are supported. Section headers can be provided and are
1240
- # interpreted relative to the section nesting of the context where
1241
- # a documentation fragment is embedded.
1242
- # Documentation from the IDL is merged with documentation defined
1243
- # via the config at normalization time, where documentation provided
1244
- # by config rules overrides IDL provided.
1245
- # A number of constructs specific to the API platform are supported
1246
- # in documentation text.
1247
- # In order to reference a proto element, the following
1248
- # notation can be used:
1249
- # <pre><code>&#91;fully.qualified.proto.name]&#91;]</code></pre>
1250
- # To override the display text used for the link, this can be used:
1251
- # <pre><code>&#91;display text]&#91;fully.qualified.proto.name]</code></pre>
1252
- # Text can be excluded from doc using the following notation:
1253
- # <pre><code>&#40;-- internal comment --&#41;</code></pre>
1254
- # A few directives are available in documentation. Note that
1255
- # directives must appear on a single line to be properly
1256
- # identified. The `include` directive includes a markdown file from
1257
- # an external source:
1258
- # <pre><code>&#40;== include path/to/file ==&#41;</code></pre>
1259
- # The `resource_for` directive marks a message to be the resource of
1260
- # a collection in REST view. If it is not specified, tools attempt
1261
- # to infer the resource from the operations in a collection:
1262
- # <pre><code>&#40;== resource_for v1.shelves.books ==&#41;</code></pre>
1263
- # The directive `suppress_warning` does not directly affect documentation
1264
- # and is documented together with service config validation.
1036
+ # `Documentation` provides the information for describing a service. Example:
1037
+ # documentation: summary: > The Google Calendar API gives access to most
1038
+ # calendar features. pages: - name: Overview content: (== include google/foo/
1039
+ # overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==
1040
+ # ) subpages; - name: Java content: (== include google/foo/tutorial_java.md ==)
1041
+ # rules: - selector: google.calendar.Calendar.Get description: > ... - selector:
1042
+ # google.calendar.Calendar.Put description: > ... Documentation is provided in
1043
+ # markdown syntax. In addition to standard markdown features, definition lists,
1044
+ # tables and fenced code blocks are supported. Section headers can be provided
1045
+ # and are interpreted relative to the section nesting of the context where a
1046
+ # documentation fragment is embedded. Documentation from the IDL is merged with
1047
+ # documentation defined via the config at normalization time, where
1048
+ # documentation provided by config rules overrides IDL provided. A number of
1049
+ # constructs specific to the API platform are supported in documentation text.
1050
+ # In order to reference a proto element, the following notation can be used: [
1051
+ # fully.qualified.proto.name][] To override the display text used for the link,
1052
+ # this can be used: [display text][fully.qualified.proto.name] Text can be
1053
+ # excluded from doc using the following notation: (-- internal comment --) A few
1054
+ # directives are available in documentation. Note that directives must appear on
1055
+ # a single line to be properly identified. The `include` directive includes a
1056
+ # markdown file from an external source: (== include path/to/file ==) The `
1057
+ # resource_for` directive marks a message to be the resource of a collection in
1058
+ # REST view. If it is not specified, tools attempt to infer the resource from
1059
+ # the operations in a collection: (== resource_for v1.shelves.books ==) The
1060
+ # directive `suppress_warning` does not directly affect documentation and is
1061
+ # documented together with service config validation.
1265
1062
  class Documentation
1266
1063
  include Google::Apis::Core::Hashable
1267
1064
 
@@ -1270,19 +1067,11 @@ module Google
1270
1067
  # @return [String]
1271
1068
  attr_accessor :documentation_root_url
1272
1069
 
1273
- # Declares a single overview page. For example:
1274
- # <pre><code>documentation:
1275
- # summary: ...
1276
- # overview: &#40;== include overview.md ==&#41;
1277
- # </code></pre>
1278
- # This is a shortcut for the following declaration (using pages style):
1279
- # <pre><code>documentation:
1280
- # summary: ...
1281
- # pages:
1282
- # - name: Overview
1283
- # content: &#40;== include overview.md ==&#41;
1284
- # </code></pre>
1285
- # Note: you cannot specify both `overview` field and `pages` field.
1070
+ # Declares a single overview page. For example: documentation: summary: ...
1071
+ # overview: (== include overview.md ==) This is a shortcut for the following
1072
+ # declaration (using pages style): documentation: summary: ... pages: - name:
1073
+ # Overview content: (== include overview.md ==) Note: you cannot specify both `
1074
+ # overview` field and `pages` field.
1286
1075
  # Corresponds to the JSON property `overview`
1287
1076
  # @return [String]
1288
1077
  attr_accessor :overview
@@ -1292,22 +1081,20 @@ module Google
1292
1081
  # @return [Array<Google::Apis::ServicemanagementV1::Page>]
1293
1082
  attr_accessor :pages
1294
1083
 
1295
- # A list of documentation rules that apply to individual API elements.
1296
- # **NOTE:** All service configuration rules follow "last one wins" order.
1084
+ # A list of documentation rules that apply to individual API elements. **NOTE:**
1085
+ # All service configuration rules follow "last one wins" order.
1297
1086
  # Corresponds to the JSON property `rules`
1298
1087
  # @return [Array<Google::Apis::ServicemanagementV1::DocumentationRule>]
1299
1088
  attr_accessor :rules
1300
1089
 
1301
- # Specifies the service root url if the default one (the service name
1302
- # from the yaml file) is not suitable. This can be seen in any fully
1303
- # specified service urls as well as sections that show a base that other
1304
- # urls are relative to.
1090
+ # Specifies the service root url if the default one (the service name from the
1091
+ # yaml file) is not suitable. This can be seen in any fully specified service
1092
+ # urls as well as sections that show a base that other urls are relative to.
1305
1093
  # Corresponds to the JSON property `serviceRootUrl`
1306
1094
  # @return [String]
1307
1095
  attr_accessor :service_root_url
1308
1096
 
1309
- # A short summary of what the service does. Can only be provided by
1310
- # plain text.
1097
+ # A short summary of what the service does. Can only be provided by plain text.
1311
1098
  # Corresponds to the JSON property `summary`
1312
1099
  # @return [String]
1313
1100
  attr_accessor :summary
@@ -1331,8 +1118,8 @@ module Google
1331
1118
  class DocumentationRule
1332
1119
  include Google::Apis::Core::Hashable
1333
1120
 
1334
- # Deprecation description of the selected element(s). It can be provided if
1335
- # an element is marked as `deprecated`.
1121
+ # Deprecation description of the selected element(s). It can be provided if an
1122
+ # element is marked as `deprecated`.
1336
1123
  # Corresponds to the JSON property `deprecationDescription`
1337
1124
  # @return [String]
1338
1125
  attr_accessor :deprecation_description
@@ -1369,12 +1156,9 @@ module Google
1369
1156
  include Google::Apis::Core::Hashable
1370
1157
 
1371
1158
  # Required. The identity of consumer resource which service enablement will be
1372
- # applied to.
1373
- # The Google Service Management implementation accepts the following
1374
- # forms:
1375
- # - "project:<project_id>"
1376
- # Note: this is made compatible with
1377
- # google.api.servicecontrol.v1.Operation.consumer_id.
1159
+ # applied to. The Google Service Management implementation accepts the following
1160
+ # forms: - "project:" Note: this is made compatible with google.api.
1161
+ # servicecontrol.v1.Operation.consumer_id.
1378
1162
  # Corresponds to the JSON property `consumerId`
1379
1163
  # @return [String]
1380
1164
  attr_accessor :consumer_id
@@ -1402,35 +1186,28 @@ module Google
1402
1186
  end
1403
1187
  end
1404
1188
 
1405
- # `Endpoint` describes a network endpoint that serves a set of APIs.
1406
- # A service may expose any number of endpoints, and all endpoints share the
1407
- # same service configuration, such as quota configuration and monitoring
1408
- # configuration.
1409
- # Example service configuration:
1410
- # name: library-example.googleapis.com
1411
- # endpoints:
1412
- # # Below entry makes 'google.example.library.v1.Library'
1413
- # # API be served from endpoint address library-example.googleapis.com.
1414
- # # It also allows HTTP OPTIONS calls to be passed to the backend, for
1415
- # # it to decide whether the subsequent cross-origin request is
1416
- # # allowed to proceed.
1417
- # - name: library-example.googleapis.com
1418
- # allow_cors: true
1189
+ # `Endpoint` describes a network endpoint that serves a set of APIs. A service
1190
+ # may expose any number of endpoints, and all endpoints share the same service
1191
+ # configuration, such as quota configuration and monitoring configuration.
1192
+ # Example service configuration: name: library-example.googleapis.com endpoints:
1193
+ # # Below entry makes 'google.example.library.v1.Library' # API be served from
1194
+ # endpoint address library-example.googleapis.com. # It also allows HTTP OPTIONS
1195
+ # calls to be passed to the backend, for # it to decide whether the subsequent
1196
+ # cross-origin request is # allowed to proceed. - name: library-example.
1197
+ # googleapis.com allow_cors: true
1419
1198
  class Endpoint
1420
1199
  include Google::Apis::Core::Hashable
1421
1200
 
1422
1201
  # DEPRECATED: This field is no longer supported. Instead of using aliases,
1423
- # please specify multiple google.api.Endpoint for each of the intended
1424
- # aliases.
1202
+ # please specify multiple google.api.Endpoint for each of the intended aliases.
1425
1203
  # Additional names that this endpoint will be hosted on.
1426
1204
  # Corresponds to the JSON property `aliases`
1427
1205
  # @return [Array<String>]
1428
1206
  attr_accessor :aliases
1429
1207
 
1430
- # Allowing
1431
- # [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka
1432
- # cross-domain traffic, would allow the backends served from this endpoint to
1433
- # receive and respond to HTTP OPTIONS requests. The response will be used by
1208
+ # Allowing [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing),
1209
+ # aka cross-domain traffic, would allow the backends served from this endpoint
1210
+ # to receive and respond to HTTP OPTIONS requests. The response will be used by
1434
1211
  # the browser to determine whether the subsequent cross-origin request is
1435
1212
  # allowed to proceed.
1436
1213
  # Corresponds to the JSON property `allowCors`
@@ -1444,10 +1221,9 @@ module Google
1444
1221
  attr_accessor :name
1445
1222
 
1446
1223
  # The specification of an Internet routable address of API frontend that will
1447
- # handle requests to this [API
1448
- # Endpoint](https://cloud.google.com/apis/design/glossary). It should be
1449
- # either a valid IPv4 address or a fully-qualified domain name. For example,
1450
- # "8.8.8.8" or "myservice.appspot.com".
1224
+ # handle requests to this [API Endpoint](https://cloud.google.com/apis/design/
1225
+ # glossary). It should be either a valid IPv4 address or a fully-qualified
1226
+ # domain name. For example, "8.8.8.8" or "myservice.appspot.com".
1451
1227
  # Corresponds to the JSON property `target`
1452
1228
  # @return [String]
1453
1229
  attr_accessor :target
@@ -1484,8 +1260,8 @@ module Google
1484
1260
  # @return [Array<Google::Apis::ServicemanagementV1::Option>]
1485
1261
  attr_accessor :options
1486
1262
 
1487
- # `SourceContext` represents information about the source of a
1488
- # protobuf element, like the file in which it is defined.
1263
+ # `SourceContext` represents information about the source of a protobuf element,
1264
+ # like the file in which it is defined.
1489
1265
  # Corresponds to the JSON property `sourceContext`
1490
1266
  # @return [Google::Apis::ServicemanagementV1::SourceContext]
1491
1267
  attr_accessor :source_context
@@ -1540,52 +1316,43 @@ module Google
1540
1316
  end
1541
1317
  end
1542
1318
 
1543
- # Represents a textual expression in the Common Expression Language (CEL)
1544
- # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
1545
- # are documented at https://github.com/google/cel-spec.
1546
- # Example (Comparison):
1547
- # title: "Summary size limit"
1548
- # description: "Determines if a summary is less than 100 chars"
1549
- # expression: "document.summary.size() < 100"
1550
- # Example (Equality):
1551
- # title: "Requestor is owner"
1552
- # description: "Determines if requestor is the document owner"
1553
- # expression: "document.owner == request.auth.claims.email"
1554
- # Example (Logic):
1555
- # title: "Public documents"
1556
- # description: "Determine whether the document should be publicly visible"
1557
- # expression: "document.type != 'private' && document.type != 'internal'"
1558
- # Example (Data Manipulation):
1559
- # title: "Notification string"
1560
- # description: "Create a notification string with a timestamp."
1561
- # expression: "'New message received at ' + string(document.create_time)"
1562
- # The exact variables and functions that may be referenced within an expression
1563
- # are determined by the service that evaluates it. See the service
1564
- # documentation for additional information.
1319
+ # Represents a textual expression in the Common Expression Language (CEL) syntax.
1320
+ # CEL is a C-like expression language. The syntax and semantics of CEL are
1321
+ # documented at https://github.com/google/cel-spec. Example (Comparison): title:
1322
+ # "Summary size limit" description: "Determines if a summary is less than 100
1323
+ # chars" expression: "document.summary.size() < 100" Example (Equality): title: "
1324
+ # Requestor is owner" description: "Determines if requestor is the document
1325
+ # owner" expression: "document.owner == request.auth.claims.email" Example (
1326
+ # Logic): title: "Public documents" description: "Determine whether the document
1327
+ # should be publicly visible" expression: "document.type != 'private' &&
1328
+ # document.type != 'internal'" Example (Data Manipulation): title: "Notification
1329
+ # string" description: "Create a notification string with a timestamp."
1330
+ # expression: "'New message received at ' + string(document.create_time)" The
1331
+ # exact variables and functions that may be referenced within an expression are
1332
+ # determined by the service that evaluates it. See the service documentation for
1333
+ # additional information.
1565
1334
  class Expr
1566
1335
  include Google::Apis::Core::Hashable
1567
1336
 
1568
- # Optional. Description of the expression. This is a longer text which
1569
- # describes the expression, e.g. when hovered over it in a UI.
1337
+ # Optional. Description of the expression. This is a longer text which describes
1338
+ # the expression, e.g. when hovered over it in a UI.
1570
1339
  # Corresponds to the JSON property `description`
1571
1340
  # @return [String]
1572
1341
  attr_accessor :description
1573
1342
 
1574
- # Textual representation of an expression in Common Expression Language
1575
- # syntax.
1343
+ # Textual representation of an expression in Common Expression Language syntax.
1576
1344
  # Corresponds to the JSON property `expression`
1577
1345
  # @return [String]
1578
1346
  attr_accessor :expression
1579
1347
 
1580
- # Optional. String indicating the location of the expression for error
1581
- # reporting, e.g. a file name and a position in the file.
1348
+ # Optional. String indicating the location of the expression for error reporting,
1349
+ # e.g. a file name and a position in the file.
1582
1350
  # Corresponds to the JSON property `location`
1583
1351
  # @return [String]
1584
1352
  attr_accessor :location
1585
1353
 
1586
- # Optional. Title for the expression, i.e. a short string describing
1587
- # its purpose. This can be used e.g. in UIs which allow to enter the
1588
- # expression.
1354
+ # Optional. Title for the expression, i.e. a short string describing its purpose.
1355
+ # This can be used e.g. in UIs which allow to enter the expression.
1589
1356
  # Corresponds to the JSON property `title`
1590
1357
  # @return [String]
1591
1358
  attr_accessor :title
@@ -1637,8 +1404,8 @@ module Google
1637
1404
  # @return [Fixnum]
1638
1405
  attr_accessor :number
1639
1406
 
1640
- # The index of the field type in `Type.oneofs`, for message or enumeration
1641
- # types. The first type has index 1; zero means the type is not in the list.
1407
+ # The index of the field type in `Type.oneofs`, for message or enumeration types.
1408
+ # The first type has index 1; zero means the type is not in the list.
1642
1409
  # Corresponds to the JSON property `oneofIndex`
1643
1410
  # @return [Fixnum]
1644
1411
  attr_accessor :oneof_index
@@ -1654,8 +1421,8 @@ module Google
1654
1421
  attr_accessor :packed
1655
1422
  alias_method :packed?, :packed
1656
1423
 
1657
- # The field type URL, without the scheme, for message or enumeration
1658
- # types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`.
1424
+ # The field type URL, without the scheme, for message or enumeration types.
1425
+ # Example: `"type.googleapis.com/google.protobuf.Timestamp"`.
1659
1426
  # Corresponds to the JSON property `typeUrl`
1660
1427
  # @return [String]
1661
1428
  attr_accessor :type_url
@@ -1679,8 +1446,8 @@ module Google
1679
1446
  end
1680
1447
  end
1681
1448
 
1682
- # Encapsulation of flow-specific error details for debugging.
1683
- # Used as a details field on an error Status, not intended for external use.
1449
+ # Encapsulation of flow-specific error details for debugging. Used as a details
1450
+ # field on an error Status, not intended for external use.
1684
1451
  class FlowErrorDetails
1685
1452
  include Google::Apis::Core::Hashable
1686
1453
 
@@ -1709,20 +1476,18 @@ module Google
1709
1476
  class GenerateConfigReportRequest
1710
1477
  include Google::Apis::Core::Hashable
1711
1478
 
1712
- # Required. Service configuration for which we want to generate the report.
1713
- # For this version of API, the supported types are
1714
- # google.api.servicemanagement.v1.ConfigRef,
1715
- # google.api.servicemanagement.v1.ConfigSource,
1716
- # and google.api.Service
1479
+ # Required. Service configuration for which we want to generate the report. For
1480
+ # this version of API, the supported types are google.api.servicemanagement.v1.
1481
+ # ConfigRef, google.api.servicemanagement.v1.ConfigSource, and google.api.
1482
+ # Service
1717
1483
  # Corresponds to the JSON property `newConfig`
1718
1484
  # @return [Hash<String,Object>]
1719
1485
  attr_accessor :new_config
1720
1486
 
1721
- # Optional. Service configuration against which the comparison will be done.
1722
- # For this version of API, the supported types are
1723
- # google.api.servicemanagement.v1.ConfigRef,
1724
- # google.api.servicemanagement.v1.ConfigSource,
1725
- # and google.api.Service
1487
+ # Optional. Service configuration against which the comparison will be done. For
1488
+ # this version of API, the supported types are google.api.servicemanagement.v1.
1489
+ # ConfigRef, google.api.servicemanagement.v1.ConfigSource, and google.api.
1490
+ # Service
1726
1491
  # Corresponds to the JSON property `oldConfig`
1727
1492
  # @return [Hash<String,Object>]
1728
1493
  attr_accessor :old_config
@@ -1742,14 +1507,13 @@ module Google
1742
1507
  class GenerateConfigReportResponse
1743
1508
  include Google::Apis::Core::Hashable
1744
1509
 
1745
- # list of ChangeReport, each corresponding to comparison between two
1746
- # service configurations.
1510
+ # list of ChangeReport, each corresponding to comparison between two service
1511
+ # configurations.
1747
1512
  # Corresponds to the JSON property `changeReports`
1748
1513
  # @return [Array<Google::Apis::ServicemanagementV1::ChangeReport>]
1749
1514
  attr_accessor :change_reports
1750
1515
 
1751
- # Errors / Linter warnings associated with the service definition this
1752
- # report
1516
+ # Errors / Linter warnings associated with the service definition this report
1753
1517
  # belongs to.
1754
1518
  # Corresponds to the JSON property `diagnostics`
1755
1519
  # @return [Array<Google::Apis::ServicemanagementV1::Diagnostic>]
@@ -1801,15 +1565,13 @@ module Google
1801
1565
  class GetPolicyOptions
1802
1566
  include Google::Apis::Core::Hashable
1803
1567
 
1804
- # Optional. The policy format version to be returned.
1805
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
1806
- # rejected.
1807
- # Requests for policies with any conditional bindings must specify version 3.
1808
- # Policies without any conditional bindings may specify any valid value or
1809
- # leave the field unset.
1810
- # To learn which resources support conditions in their IAM policies, see the
1811
- # [IAM
1812
- # documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
1568
+ # Optional. The policy format version to be returned. Valid values are 0, 1, and
1569
+ # 3. Requests specifying an invalid value will be rejected. Requests for
1570
+ # policies with any conditional bindings must specify version 3. Policies
1571
+ # without any conditional bindings may specify any valid value or leave the
1572
+ # field unset. To learn which resources support conditions in their IAM policies,
1573
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1574
+ # resource-policies).
1813
1575
  # Corresponds to the JSON property `requestedPolicyVersion`
1814
1576
  # @return [Fixnum]
1815
1577
  attr_accessor :requested_policy_version
@@ -1825,23 +1587,22 @@ module Google
1825
1587
  end
1826
1588
 
1827
1589
  # Defines the HTTP configuration for an API service. It contains a list of
1828
- # HttpRule, each specifying the mapping of an RPC method
1829
- # to one or more HTTP REST API methods.
1590
+ # HttpRule, each specifying the mapping of an RPC method to one or more HTTP
1591
+ # REST API methods.
1830
1592
  class Http
1831
1593
  include Google::Apis::Core::Hashable
1832
1594
 
1833
1595
  # When set to true, URL path parameters will be fully URI-decoded except in
1834
1596
  # cases of single segment matches in reserved expansion, where "%2F" will be
1835
- # left encoded.
1836
- # The default behavior is to not decode RFC 6570 reserved characters in multi
1837
- # segment matches.
1597
+ # left encoded. The default behavior is to not decode RFC 6570 reserved
1598
+ # characters in multi segment matches.
1838
1599
  # Corresponds to the JSON property `fullyDecodeReservedExpansion`
1839
1600
  # @return [Boolean]
1840
1601
  attr_accessor :fully_decode_reserved_expansion
1841
1602
  alias_method :fully_decode_reserved_expansion?, :fully_decode_reserved_expansion
1842
1603
 
1843
- # A list of HTTP configuration rules that apply to individual API methods.
1844
- # **NOTE:** All service configuration rules follow "last one wins" order.
1604
+ # A list of HTTP configuration rules that apply to individual API methods. **
1605
+ # NOTE:** All service configuration rules follow "last one wins" order.
1845
1606
  # Corresponds to the JSON property `rules`
1846
1607
  # @return [Array<Google::Apis::ServicemanagementV1::HttpRule>]
1847
1608
  attr_accessor :rules
@@ -1857,251 +1618,149 @@ module Google
1857
1618
  end
1858
1619
  end
1859
1620
 
1860
- # # gRPC Transcoding
1861
- # gRPC Transcoding is a feature for mapping between a gRPC method and one or
1862
- # more HTTP REST endpoints. It allows developers to build a single API service
1863
- # that supports both gRPC APIs and REST APIs. Many systems, including [Google
1864
- # APIs](https://github.com/googleapis/googleapis),
1865
- # [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC
1866
- # Gateway](https://github.com/grpc-ecosystem/grpc-gateway),
1867
- # and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature
1868
- # and use it for large scale production services.
1869
- # `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies
1870
- # how different portions of the gRPC request message are mapped to the URL
1871
- # path, URL query parameters, and HTTP request body. It also controls how the
1872
- # gRPC response message is mapped to the HTTP response body. `HttpRule` is
1621
+ # # gRPC Transcoding gRPC Transcoding is a feature for mapping between a gRPC
1622
+ # method and one or more HTTP REST endpoints. It allows developers to build a
1623
+ # single API service that supports both gRPC APIs and REST APIs. Many systems,
1624
+ # including [Google APIs](https://github.com/googleapis/googleapis), [Cloud
1625
+ # Endpoints](https://cloud.google.com/endpoints), [gRPC Gateway](https://github.
1626
+ # com/grpc-ecosystem/grpc-gateway), and [Envoy](https://github.com/envoyproxy/
1627
+ # envoy) proxy support this feature and use it for large scale production
1628
+ # services. `HttpRule` defines the schema of the gRPC/REST mapping. The mapping
1629
+ # specifies how different portions of the gRPC request message are mapped to the
1630
+ # URL path, URL query parameters, and HTTP request body. It also controls how
1631
+ # the gRPC response message is mapped to the HTTP response body. `HttpRule` is
1873
1632
  # typically specified as an `google.api.http` annotation on the gRPC method.
1874
1633
  # Each mapping specifies a URL path template and an HTTP method. The path
1875
1634
  # template may refer to one or more fields in the gRPC request message, as long
1876
- # as each field is a non-repeated field with a primitive (non-message) type.
1877
- # The path template controls how fields of the request message are mapped to
1878
- # the URL path.
1879
- # Example:
1880
- # service Messaging `
1881
- # rpc GetMessage(GetMessageRequest) returns (Message) `
1882
- # option (google.api.http) = `
1883
- # get: "/v1/`name=messages/*`"
1884
- # `;
1885
- # `
1886
- # `
1887
- # message GetMessageRequest `
1888
- # string name = 1; // Mapped to URL path.
1889
- # `
1890
- # message Message `
1891
- # string text = 1; // The resource content.
1892
- # `
1893
- # This enables an HTTP REST to gRPC mapping as below:
1894
- # HTTP | gRPC
1895
- # -----|-----
1896
- # `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")`
1897
- # Any fields in the request message which are not bound by the path template
1898
- # automatically become HTTP query parameters if there is no HTTP request body.
1899
- # For example:
1900
- # service Messaging `
1901
- # rpc GetMessage(GetMessageRequest) returns (Message) `
1902
- # option (google.api.http) = `
1903
- # get:"/v1/messages/`message_id`"
1904
- # `;
1905
- # `
1906
- # `
1907
- # message GetMessageRequest `
1908
- # message SubMessage `
1909
- # string subfield = 1;
1910
- # `
1911
- # string message_id = 1; // Mapped to URL path.
1912
- # int64 revision = 2; // Mapped to URL query parameter `revision`.
1913
- # SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`.
1914
- # `
1915
- # This enables a HTTP JSON to RPC mapping as below:
1916
- # HTTP | gRPC
1917
- # -----|-----
1918
- # `GET /v1/messages/123456?revision=2&sub.subfield=foo` |
1919
- # `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield:
1920
- # "foo"))`
1921
- # Note that fields which are mapped to URL query parameters must have a
1922
- # primitive type or a repeated primitive type or a non-repeated message type.
1923
- # In the case of a repeated type, the parameter can be repeated in the URL
1924
- # as `...?param=A&param=B`. In the case of a message type, each field of the
1925
- # message is mapped to a separate parameter, such as
1926
- # `...?foo.a=A&foo.b=B&foo.c=C`.
1927
- # For HTTP methods that allow a request body, the `body` field
1928
- # specifies the mapping. Consider a REST update method on the
1929
- # message resource collection:
1930
- # service Messaging `
1931
- # rpc UpdateMessage(UpdateMessageRequest) returns (Message) `
1932
- # option (google.api.http) = `
1933
- # patch: "/v1/messages/`message_id`"
1934
- # body: "message"
1935
- # `;
1936
- # `
1937
- # `
1938
- # message UpdateMessageRequest `
1939
- # string message_id = 1; // mapped to the URL
1940
- # Message message = 2; // mapped to the body
1941
- # `
1942
- # The following HTTP JSON to RPC mapping is enabled, where the
1943
- # representation of the JSON in the request body is determined by
1944
- # protos JSON encoding:
1945
- # HTTP | gRPC
1946
- # -----|-----
1947
- # `PATCH /v1/messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id:
1948
- # "123456" message ` text: "Hi!" `)`
1949
- # The special name `*` can be used in the body mapping to define that
1950
- # every field not bound by the path template should be mapped to the
1951
- # request body. This enables the following alternative definition of
1952
- # the update method:
1953
- # service Messaging `
1954
- # rpc UpdateMessage(Message) returns (Message) `
1955
- # option (google.api.http) = `
1956
- # patch: "/v1/messages/`message_id`"
1957
- # body: "*"
1958
- # `;
1959
- # `
1960
- # `
1961
- # message Message `
1962
- # string message_id = 1;
1963
- # string text = 2;
1964
- # `
1965
- # The following HTTP JSON to RPC mapping is enabled:
1966
- # HTTP | gRPC
1967
- # -----|-----
1968
- # `PATCH /v1/messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id:
1969
- # "123456" text: "Hi!")`
1970
- # Note that when using `*` in the body mapping, it is not possible to
1971
- # have HTTP parameters, as all fields not bound by the path end in
1972
- # the body. This makes this option more rarely used in practice when
1973
- # defining REST APIs. The common usage of `*` is in custom methods
1974
- # which don't use the URL at all for transferring data.
1975
- # It is possible to define multiple HTTP methods for one RPC by using
1976
- # the `additional_bindings` option. Example:
1977
- # service Messaging `
1978
- # rpc GetMessage(GetMessageRequest) returns (Message) `
1979
- # option (google.api.http) = `
1980
- # get: "/v1/messages/`message_id`"
1981
- # additional_bindings `
1982
- # get: "/v1/users/`user_id`/messages/`message_id`"
1983
- # `
1984
- # `;
1985
- # `
1986
- # `
1987
- # message GetMessageRequest `
1988
- # string message_id = 1;
1989
- # string user_id = 2;
1990
- # `
1991
- # This enables the following two alternative HTTP JSON to RPC mappings:
1992
- # HTTP | gRPC
1993
- # -----|-----
1994
- # `GET /v1/messages/123456` | `GetMessage(message_id: "123456")`
1995
- # `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id:
1996
- # "123456")`
1997
- # ## Rules for HTTP mapping
1998
- # 1. Leaf request fields (recursive expansion nested messages in the request
1999
- # message) are classified into three categories:
2000
- # - Fields referred by the path template. They are passed via the URL path.
2001
- # - Fields referred by the HttpRule.body. They are passed via the HTTP
2002
- # request body.
2003
- # - All other fields are passed via the URL query parameters, and the
2004
- # parameter name is the field path in the request message. A repeated
2005
- # field can be represented as multiple query parameters under the same
2006
- # name.
2007
- # 2. If HttpRule.body is "*", there is no URL query parameter, all fields
2008
- # are passed via URL path and HTTP request body.
2009
- # 3. If HttpRule.body is omitted, there is no HTTP request body, all
2010
- # fields are passed via URL path and URL query parameters.
2011
- # ### Path template syntax
2012
- # Template = "/" Segments [ Verb ] ;
2013
- # Segments = Segment ` "/" Segment ` ;
2014
- # Segment = "*" | "**" | LITERAL | Variable ;
2015
- # Variable = "`" FieldPath [ "=" Segments ] "`" ;
2016
- # FieldPath = IDENT ` "." IDENT ` ;
2017
- # Verb = ":" LITERAL ;
2018
- # The syntax `*` matches a single URL path segment. The syntax `**` matches
2019
- # zero or more URL path segments, which must be the last part of the URL path
2020
- # except the `Verb`.
2021
- # The syntax `Variable` matches part of the URL path as specified by its
2022
- # template. A variable template must not contain other variables. If a variable
2023
- # matches a single path segment, its template may be omitted, e.g. ``var``
2024
- # is equivalent to ``var=*``.
2025
- # The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL`
2026
- # contains any reserved character, such characters should be percent-encoded
2027
- # before the matching.
2028
- # If a variable contains exactly one path segment, such as `"`var`"` or
2029
- # `"`var=*`"`, when such a variable is expanded into a URL path on the client
2030
- # side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The
2031
- # server side does the reverse decoding. Such variables show up in the
2032
- # [Discovery
2033
- # Document](https://developers.google.com/discovery/v1/reference/apis) as
2034
- # ``var``.
2035
- # If a variable contains multiple path segments, such as `"`var=foo/*`"`
2036
- # or `"`var=**`"`, when such a variable is expanded into a URL path on the
2037
- # client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.
2038
- # The server side does the reverse decoding, except "%2F" and "%2f" are left
2039
- # unchanged. Such variables show up in the
2040
- # [Discovery
2041
- # Document](https://developers.google.com/discovery/v1/reference/apis) as
2042
- # ``+var``.
2043
- # ## Using gRPC API Service Configuration
2044
- # gRPC API Service Configuration (service config) is a configuration language
2045
- # for configuring a gRPC service to become a user-facing product. The
2046
- # service config is simply the YAML representation of the `google.api.Service`
2047
- # proto message.
1635
+ # as each field is a non-repeated field with a primitive (non-message) type. The
1636
+ # path template controls how fields of the request message are mapped to the URL
1637
+ # path. Example: service Messaging ` rpc GetMessage(GetMessageRequest) returns (
1638
+ # Message) ` option (google.api.http) = ` get: "/v1/`name=messages/*`" `; ` `
1639
+ # message GetMessageRequest ` string name = 1; // Mapped to URL path. ` message
1640
+ # Message ` string text = 1; // The resource content. ` This enables an HTTP
1641
+ # REST to gRPC mapping as below: HTTP | gRPC -----|----- `GET /v1/messages/
1642
+ # 123456` | `GetMessage(name: "messages/123456")` Any fields in the request
1643
+ # message which are not bound by the path template automatically become HTTP
1644
+ # query parameters if there is no HTTP request body. For example: service
1645
+ # Messaging ` rpc GetMessage(GetMessageRequest) returns (Message) ` option (
1646
+ # google.api.http) = ` get:"/v1/messages/`message_id`" `; ` ` message
1647
+ # GetMessageRequest ` message SubMessage ` string subfield = 1; ` string
1648
+ # message_id = 1; // Mapped to URL path. int64 revision = 2; // Mapped to URL
1649
+ # query parameter `revision`. SubMessage sub = 3; // Mapped to URL query
1650
+ # parameter `sub.subfield`. ` This enables a HTTP JSON to RPC mapping as below:
1651
+ # HTTP | gRPC -----|----- `GET /v1/messages/123456?revision=2&sub.subfield=foo` |
1652
+ # `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: "foo"))
1653
+ # ` Note that fields which are mapped to URL query parameters must have a
1654
+ # primitive type or a repeated primitive type or a non-repeated message type. In
1655
+ # the case of a repeated type, the parameter can be repeated in the URL as `...?
1656
+ # param=A&param=B`. In the case of a message type, each field of the message is
1657
+ # mapped to a separate parameter, such as `...?foo.a=A&foo.b=B&foo.c=C`. For
1658
+ # HTTP methods that allow a request body, the `body` field specifies the mapping.
1659
+ # Consider a REST update method on the message resource collection: service
1660
+ # Messaging ` rpc UpdateMessage(UpdateMessageRequest) returns (Message) ` option
1661
+ # (google.api.http) = ` patch: "/v1/messages/`message_id`" body: "message" `; ` `
1662
+ # message UpdateMessageRequest ` string message_id = 1; // mapped to the URL
1663
+ # Message message = 2; // mapped to the body ` The following HTTP JSON to RPC
1664
+ # mapping is enabled, where the representation of the JSON in the request body
1665
+ # is determined by protos JSON encoding: HTTP | gRPC -----|----- `PATCH /v1/
1666
+ # messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id: "123456"
1667
+ # message ` text: "Hi!" `)` The special name `*` can be used in the body mapping
1668
+ # to define that every field not bound by the path template should be mapped to
1669
+ # the request body. This enables the following alternative definition of the
1670
+ # update method: service Messaging ` rpc UpdateMessage(Message) returns (Message)
1671
+ # ` option (google.api.http) = ` patch: "/v1/messages/`message_id`" body: "*" `;
1672
+ # ` ` message Message ` string message_id = 1; string text = 2; ` The following
1673
+ # HTTP JSON to RPC mapping is enabled: HTTP | gRPC -----|----- `PATCH /v1/
1674
+ # messages/123456 ` "text": "Hi!" `` | `UpdateMessage(message_id: "123456" text:
1675
+ # "Hi!")` Note that when using `*` in the body mapping, it is not possible to
1676
+ # have HTTP parameters, as all fields not bound by the path end in the body.
1677
+ # This makes this option more rarely used in practice when defining REST APIs.
1678
+ # The common usage of `*` is in custom methods which don't use the URL at all
1679
+ # for transferring data. It is possible to define multiple HTTP methods for one
1680
+ # RPC by using the `additional_bindings` option. Example: service Messaging `
1681
+ # rpc GetMessage(GetMessageRequest) returns (Message) ` option (google.api.http)
1682
+ # = ` get: "/v1/messages/`message_id`" additional_bindings ` get: "/v1/users/`
1683
+ # user_id`/messages/`message_id`" ` `; ` ` message GetMessageRequest ` string
1684
+ # message_id = 1; string user_id = 2; ` This enables the following two
1685
+ # alternative HTTP JSON to RPC mappings: HTTP | gRPC -----|----- `GET /v1/
1686
+ # messages/123456` | `GetMessage(message_id: "123456")` `GET /v1/users/me/
1687
+ # messages/123456` | `GetMessage(user_id: "me" message_id: "123456")` ## Rules
1688
+ # for HTTP mapping 1. Leaf request fields (recursive expansion nested messages
1689
+ # in the request message) are classified into three categories: - Fields
1690
+ # referred by the path template. They are passed via the URL path. - Fields
1691
+ # referred by the HttpRule.body. They are passed via the HTTP request body. -
1692
+ # All other fields are passed via the URL query parameters, and the parameter
1693
+ # name is the field path in the request message. A repeated field can be
1694
+ # represented as multiple query parameters under the same name. 2. If HttpRule.
1695
+ # body is "*", there is no URL query parameter, all fields are passed via URL
1696
+ # path and HTTP request body. 3. If HttpRule.body is omitted, there is no HTTP
1697
+ # request body, all fields are passed via URL path and URL query parameters. ###
1698
+ # Path template syntax Template = "/" Segments [ Verb ] ; Segments = Segment ` "/
1699
+ # " Segment ` ; Segment = "*" | "**" | LITERAL | Variable ; Variable = "`"
1700
+ # FieldPath [ "=" Segments ] "`" ; FieldPath = IDENT ` "." IDENT ` ; Verb = ":"
1701
+ # LITERAL ; The syntax `*` matches a single URL path segment. The syntax `**`
1702
+ # matches zero or more URL path segments, which must be the last part of the URL
1703
+ # path except the `Verb`. The syntax `Variable` matches part of the URL path as
1704
+ # specified by its template. A variable template must not contain other
1705
+ # variables. If a variable matches a single path segment, its template may be
1706
+ # omitted, e.g. ``var`` is equivalent to ``var=*``. The syntax `LITERAL` matches
1707
+ # literal text in the URL path. If the `LITERAL` contains any reserved character,
1708
+ # such characters should be percent-encoded before the matching. If a variable
1709
+ # contains exactly one path segment, such as `"`var`"` or `"`var=*`"`, when such
1710
+ # a variable is expanded into a URL path on the client side, all characters
1711
+ # except `[-_.~0-9a-zA-Z]` are percent-encoded. The server side does the reverse
1712
+ # decoding. Such variables show up in the [Discovery Document](https://
1713
+ # developers.google.com/discovery/v1/reference/apis) as ``var``. If a variable
1714
+ # contains multiple path segments, such as `"`var=foo/*`"` or `"`var=**`"`, when
1715
+ # such a variable is expanded into a URL path on the client side, all characters
1716
+ # except `[-_.~/0-9a-zA-Z]` are percent-encoded. The server side does the
1717
+ # reverse decoding, except "%2F" and "%2f" are left unchanged. Such variables
1718
+ # show up in the [Discovery Document](https://developers.google.com/discovery/v1/
1719
+ # reference/apis) as ``+var``. ## Using gRPC API Service Configuration gRPC API
1720
+ # Service Configuration (service config) is a configuration language for
1721
+ # configuring a gRPC service to become a user-facing product. The service config
1722
+ # is simply the YAML representation of the `google.api.Service` proto message.
2048
1723
  # As an alternative to annotating your proto file, you can configure gRPC
2049
- # transcoding in your service config YAML files. You do this by specifying a
2050
- # `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same
2051
- # effect as the proto annotation. This can be particularly useful if you
2052
- # have a proto that is reused in multiple services. Note that any transcoding
2053
- # specified in the service config will override any matching transcoding
2054
- # configuration in the proto.
2055
- # Example:
2056
- # http:
2057
- # rules:
2058
- # # Selects a gRPC method and applies HttpRule to it.
2059
- # - selector: example.v1.Messaging.GetMessage
2060
- # get: /v1/messages/`message_id`/`sub.subfield`
2061
- # ## Special notes
2062
- # When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the
2063
- # proto to JSON conversion must follow the [proto3
2064
- # specification](https://developers.google.com/protocol-buffers/docs/proto3#json)
2065
- # .
2066
- # While the single segment variable follows the semantics of
2067
- # [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String
2068
- # Expansion, the multi segment variable **does not** follow RFC 6570 Section
2069
- # 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion
2070
- # does not expand special characters like `?` and `#`, which would lead
2071
- # to invalid URLs. As the result, gRPC Transcoding uses a custom encoding
2072
- # for multi segment variables.
2073
- # The path variables **must not** refer to any repeated or mapped field,
2074
- # because client libraries are not capable of handling such variable expansion.
2075
- # The path variables **must not** capture the leading "/" character. The reason
2076
- # is that the most common use case "`var`" does not capture the leading "/"
2077
- # character. For consistency, all path variables must share the same behavior.
2078
- # Repeated message fields must not be mapped to URL query parameters, because
2079
- # no client library can support such complicated mapping.
2080
- # If an API needs to use a JSON array for request or response body, it can map
2081
- # the request or response body to a repeated field. However, some gRPC
2082
- # Transcoding implementations may not support this feature.
1724
+ # transcoding in your service config YAML files. You do this by specifying a `
1725
+ # HttpRule` that maps the gRPC method to a REST endpoint, achieving the same
1726
+ # effect as the proto annotation. This can be particularly useful if you have a
1727
+ # proto that is reused in multiple services. Note that any transcoding specified
1728
+ # in the service config will override any matching transcoding configuration in
1729
+ # the proto. Example: http: rules: # Selects a gRPC method and applies HttpRule
1730
+ # to it. - selector: example.v1.Messaging.GetMessage get: /v1/messages/`
1731
+ # message_id`/`sub.subfield` ## Special notes When gRPC Transcoding is used to
1732
+ # map a gRPC to JSON REST endpoints, the proto to JSON conversion must follow
1733
+ # the [proto3 specification](https://developers.google.com/protocol-buffers/docs/
1734
+ # proto3#json). While the single segment variable follows the semantics of [RFC
1735
+ # 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String
1736
+ # Expansion, the multi segment variable **does not** follow RFC 6570 Section 3.2.
1737
+ # 3 Reserved Expansion. The reason is that the Reserved Expansion does not
1738
+ # expand special characters like `?` and `#`, which would lead to invalid URLs.
1739
+ # As the result, gRPC Transcoding uses a custom encoding for multi segment
1740
+ # variables. The path variables **must not** refer to any repeated or mapped
1741
+ # field, because client libraries are not capable of handling such variable
1742
+ # expansion. The path variables **must not** capture the leading "/" character.
1743
+ # The reason is that the most common use case "`var`" does not capture the
1744
+ # leading "/" character. For consistency, all path variables must share the same
1745
+ # behavior. Repeated message fields must not be mapped to URL query parameters,
1746
+ # because no client library can support such complicated mapping. If an API
1747
+ # needs to use a JSON array for request or response body, it can map the request
1748
+ # or response body to a repeated field. However, some gRPC Transcoding
1749
+ # implementations may not support this feature.
2083
1750
  class HttpRule
2084
1751
  include Google::Apis::Core::Hashable
2085
1752
 
2086
- # Additional HTTP bindings for the selector. Nested bindings must
2087
- # not contain an `additional_bindings` field themselves (that is,
2088
- # the nesting may only be one level deep).
1753
+ # Additional HTTP bindings for the selector. Nested bindings must not contain an
1754
+ # `additional_bindings` field themselves (that is, the nesting may only be one
1755
+ # level deep).
2089
1756
  # Corresponds to the JSON property `additionalBindings`
2090
1757
  # @return [Array<Google::Apis::ServicemanagementV1::HttpRule>]
2091
1758
  attr_accessor :additional_bindings
2092
1759
 
2093
- # When this flag is set to true, HTTP requests will be allowed to invoke a
2094
- # half-duplex streaming method.
2095
- # Corresponds to the JSON property `allowHalfDuplex`
2096
- # @return [Boolean]
2097
- attr_accessor :allow_half_duplex
2098
- alias_method :allow_half_duplex?, :allow_half_duplex
2099
-
2100
- # The name of the request field whose value is mapped to the HTTP request
2101
- # body, or `*` for mapping all request fields not captured by the path
2102
- # pattern to the HTTP body, or omitted for not having any HTTP request body.
2103
- # NOTE: the referred field must be present at the top-level of the request
2104
- # message type.
1760
+ # The name of the request field whose value is mapped to the HTTP request body,
1761
+ # or `*` for mapping all request fields not captured by the path pattern to the
1762
+ # HTTP body, or omitted for not having any HTTP request body. NOTE: the referred
1763
+ # field must be present at the top-level of the request message type.
2105
1764
  # Corresponds to the JSON property `body`
2106
1765
  # @return [String]
2107
1766
  attr_accessor :body
@@ -2116,8 +1775,7 @@ module Google
2116
1775
  # @return [String]
2117
1776
  attr_accessor :delete
2118
1777
 
2119
- # Maps to HTTP GET. Used for listing and getting information about
2120
- # resources.
1778
+ # Maps to HTTP GET. Used for listing and getting information about resources.
2121
1779
  # Corresponds to the JSON property `get`
2122
1780
  # @return [String]
2123
1781
  attr_accessor :get
@@ -2138,16 +1796,15 @@ module Google
2138
1796
  attr_accessor :put
2139
1797
 
2140
1798
  # Optional. The name of the response field whose value is mapped to the HTTP
2141
- # response body. When omitted, the entire response message will be used
2142
- # as the HTTP response body.
2143
- # NOTE: The referred field must be present at the top-level of the response
2144
- # message type.
1799
+ # response body. When omitted, the entire response message will be used as the
1800
+ # HTTP response body. NOTE: The referred field must be present at the top-level
1801
+ # of the response message type.
2145
1802
  # Corresponds to the JSON property `responseBody`
2146
1803
  # @return [String]
2147
1804
  attr_accessor :response_body
2148
1805
 
2149
- # Selects a method to which this rule applies.
2150
- # Refer to selector for syntax details.
1806
+ # Selects a method to which this rule applies. Refer to selector for syntax
1807
+ # details.
2151
1808
  # Corresponds to the JSON property `selector`
2152
1809
  # @return [String]
2153
1810
  attr_accessor :selector
@@ -2159,7 +1816,6 @@ module Google
2159
1816
  # Update properties of this object
2160
1817
  def update!(**args)
2161
1818
  @additional_bindings = args[:additional_bindings] if args.key?(:additional_bindings)
2162
- @allow_half_duplex = args[:allow_half_duplex] if args.key?(:allow_half_duplex)
2163
1819
  @body = args[:body] if args.key?(:body)
2164
1820
  @custom = args[:custom] if args.key?(:custom)
2165
1821
  @delete = args[:delete] if args.key?(:delete)
@@ -2186,13 +1842,12 @@ module Google
2186
1842
  # @return [String]
2187
1843
  attr_accessor :query
2188
1844
 
2189
- # The value prefix. The value format is "value_prefix`token`"
2190
- # Only applies to "in" header type. Must be empty for "in" query type.
2191
- # If not empty, the header value has to match (case sensitive) this prefix.
2192
- # If not matched, JWT will not be extracted. If matched, JWT will be
2193
- # extracted after the prefix is removed.
2194
- # For example, for "Authorization: Bearer `JWT`",
2195
- # value_prefix="Bearer " with a space at the end.
1845
+ # The value prefix. The value format is "value_prefix`token`" Only applies to "
1846
+ # in" header type. Must be empty for "in" query type. If not empty, the header
1847
+ # value has to match (case sensitive) this prefix. If not matched, JWT will not
1848
+ # be extracted. If matched, JWT will be extracted after the prefix is removed.
1849
+ # For example, for "Authorization: Bearer `JWT`", value_prefix="Bearer " with a
1850
+ # space at the end.
2196
1851
  # Corresponds to the JSON property `valuePrefix`
2197
1852
  # @return [String]
2198
1853
  attr_accessor :value_prefix
@@ -2340,39 +1995,35 @@ module Google
2340
1995
  end
2341
1996
  end
2342
1997
 
2343
- # A description of a log type. Example in YAML format:
2344
- # - name: library.googleapis.com/activity_history
2345
- # description: The history of borrowing and returning library items.
2346
- # display_name: Activity
2347
- # labels:
2348
- # - key: /customer_id
1998
+ # A description of a log type. Example in YAML format: - name: library.
1999
+ # googleapis.com/activity_history description: The history of borrowing and
2000
+ # returning library items. display_name: Activity labels: - key: /customer_id
2349
2001
  # description: Identifier of a library customer
2350
2002
  class LogDescriptor
2351
2003
  include Google::Apis::Core::Hashable
2352
2004
 
2353
- # A human-readable description of this log. This information appears in
2354
- # the documentation and can contain details.
2005
+ # A human-readable description of this log. This information appears in the
2006
+ # documentation and can contain details.
2355
2007
  # Corresponds to the JSON property `description`
2356
2008
  # @return [String]
2357
2009
  attr_accessor :description
2358
2010
 
2359
- # The human-readable name for this log. This information appears on
2360
- # the user interface and should be concise.
2011
+ # The human-readable name for this log. This information appears on the user
2012
+ # interface and should be concise.
2361
2013
  # Corresponds to the JSON property `displayName`
2362
2014
  # @return [String]
2363
2015
  attr_accessor :display_name
2364
2016
 
2365
- # The set of labels that are available to describe a specific log entry.
2366
- # Runtime requests that contain labels not specified here are
2367
- # considered invalid.
2017
+ # The set of labels that are available to describe a specific log entry. Runtime
2018
+ # requests that contain labels not specified here are considered invalid.
2368
2019
  # Corresponds to the JSON property `labels`
2369
2020
  # @return [Array<Google::Apis::ServicemanagementV1::LabelDescriptor>]
2370
2021
  attr_accessor :labels
2371
2022
 
2372
- # The name of the log. It must be less than 512 characters long and can
2373
- # include the following characters: upper- and lower-case alphanumeric
2374
- # characters [A-Za-z0-9], and punctuation characters including
2375
- # slash, underscore, hyphen, period [/_-.].
2023
+ # The name of the log. It must be less than 512 characters long and can include
2024
+ # the following characters: upper- and lower-case alphanumeric characters [A-Za-
2025
+ # z0-9], and punctuation characters including slash, underscore, hyphen, period [
2026
+ # /_-.].
2376
2027
  # Corresponds to the JSON property `name`
2377
2028
  # @return [String]
2378
2029
  attr_accessor :name
@@ -2390,48 +2041,30 @@ module Google
2390
2041
  end
2391
2042
  end
2392
2043
 
2393
- # Logging configuration of the service.
2394
- # The following example shows how to configure logs to be sent to the
2395
- # producer and consumer projects. In the example, the `activity_history`
2396
- # log is sent to both the producer and consumer projects, whereas the
2397
- # `purchase_history` log is only sent to the producer project.
2398
- # monitored_resources:
2399
- # - type: library.googleapis.com/branch
2400
- # labels:
2401
- # - key: /city
2402
- # description: The city where the library branch is located in.
2403
- # - key: /name
2404
- # description: The name of the branch.
2405
- # logs:
2406
- # - name: activity_history
2407
- # labels:
2408
- # - key: /customer_id
2409
- # - name: purchase_history
2410
- # logging:
2411
- # producer_destinations:
2412
- # - monitored_resource: library.googleapis.com/branch
2413
- # logs:
2414
- # - activity_history
2415
- # - purchase_history
2416
- # consumer_destinations:
2417
- # - monitored_resource: library.googleapis.com/branch
2418
- # logs:
2419
- # - activity_history
2044
+ # Logging configuration of the service. The following example shows how to
2045
+ # configure logs to be sent to the producer and consumer projects. In the
2046
+ # example, the `activity_history` log is sent to both the producer and consumer
2047
+ # projects, whereas the `purchase_history` log is only sent to the producer
2048
+ # project. monitored_resources: - type: library.googleapis.com/branch labels: -
2049
+ # key: /city description: The city where the library branch is located in. - key:
2050
+ # /name description: The name of the branch. logs: - name: activity_history
2051
+ # labels: - key: /customer_id - name: purchase_history logging:
2052
+ # producer_destinations: - monitored_resource: library.googleapis.com/branch
2053
+ # logs: - activity_history - purchase_history consumer_destinations: -
2054
+ # monitored_resource: library.googleapis.com/branch logs: - activity_history
2420
2055
  class Logging
2421
2056
  include Google::Apis::Core::Hashable
2422
2057
 
2423
- # Logging configurations for sending logs to the consumer project.
2424
- # There can be multiple consumer destinations, each one must have a
2425
- # different monitored resource type. A log can be used in at most
2426
- # one consumer destination.
2058
+ # Logging configurations for sending logs to the consumer project. There can be
2059
+ # multiple consumer destinations, each one must have a different monitored
2060
+ # resource type. A log can be used in at most one consumer destination.
2427
2061
  # Corresponds to the JSON property `consumerDestinations`
2428
2062
  # @return [Array<Google::Apis::ServicemanagementV1::LoggingDestination>]
2429
2063
  attr_accessor :consumer_destinations
2430
2064
 
2431
- # Logging configurations for sending logs to the producer project.
2432
- # There can be multiple producer destinations, each one must have a
2433
- # different monitored resource type. A log can be used in at most
2434
- # one producer destination.
2065
+ # Logging configurations for sending logs to the producer project. There can be
2066
+ # multiple producer destinations, each one must have a different monitored
2067
+ # resource type. A log can be used in at most one producer destination.
2435
2068
  # Corresponds to the JSON property `producerDestinations`
2436
2069
  # @return [Array<Google::Apis::ServicemanagementV1::LoggingDestination>]
2437
2070
  attr_accessor :producer_destinations
@@ -2447,21 +2080,20 @@ module Google
2447
2080
  end
2448
2081
  end
2449
2082
 
2450
- # Configuration of a specific logging destination (the producer project
2451
- # or the consumer project).
2083
+ # Configuration of a specific logging destination (the producer project or the
2084
+ # consumer project).
2452
2085
  class LoggingDestination
2453
2086
  include Google::Apis::Core::Hashable
2454
2087
 
2455
- # Names of the logs to be sent to this destination. Each name must
2456
- # be defined in the Service.logs section. If the log name is
2457
- # not a domain scoped name, it will be automatically prefixed with
2458
- # the service name followed by "/".
2088
+ # Names of the logs to be sent to this destination. Each name must be defined in
2089
+ # the Service.logs section. If the log name is not a domain scoped name, it will
2090
+ # be automatically prefixed with the service name followed by "/".
2459
2091
  # Corresponds to the JSON property `logs`
2460
2092
  # @return [Array<String>]
2461
2093
  attr_accessor :logs
2462
2094
 
2463
- # The monitored resource type. The type must be defined in the
2464
- # Service.monitored_resources section.
2095
+ # The monitored resource type. The type must be defined in the Service.
2096
+ # monitored_resources section.
2465
2097
  # Corresponds to the JSON property `monitoredResource`
2466
2098
  # @return [String]
2467
2099
  attr_accessor :monitored_resource
@@ -2477,8 +2109,8 @@ module Google
2477
2109
  end
2478
2110
  end
2479
2111
 
2480
- # The full representation of a Service that is managed by
2481
- # Google Service Management.
2112
+ # The full representation of a Service that is managed by Google Service
2113
+ # Management.
2482
2114
  class ManagedService
2483
2115
  include Google::Apis::Core::Hashable
2484
2116
 
@@ -2487,8 +2119,8 @@ module Google
2487
2119
  # @return [String]
2488
2120
  attr_accessor :producer_project_id
2489
2121
 
2490
- # The name of the service. See the [overview](/service-management/overview)
2491
- # for naming requirements.
2122
+ # The name of the service. See the [overview](/service-management/overview) for
2123
+ # naming requirements.
2492
2124
  # Corresponds to the JSON property `serviceName`
2493
2125
  # @return [String]
2494
2126
  attr_accessor :service_name
@@ -2564,15 +2196,6 @@ module Google
2564
2196
  # Defines a metric type and its schema. Once a metric descriptor is created,
2565
2197
  # deleting or altering it stops data collection and makes the metric type's
2566
2198
  # existing data unusable.
2567
- # The following are specific rules for service defined Monitoring metric
2568
- # descriptors:
2569
- # * `type`, `metric_kind`, `value_type` and `description`
2570
- # fields are all required. The `unit` field must be specified
2571
- # if the `value_type` is any of DOUBLE, INT64, DISTRIBUTION.
2572
- # * Maximum of default 500 metric descriptors per service is allowed.
2573
- # * Maximum of default 10 labels per metric descriptor is allowed.
2574
- # The default maximum limit can be overridden. Please follow
2575
- # https://cloud.google.com/monitoring/quotas
2576
2199
  class MetricDescriptor
2577
2200
  include Google::Apis::Core::Hashable
2578
2201
 
@@ -2581,25 +2204,18 @@ module Google
2581
2204
  # @return [String]
2582
2205
  attr_accessor :description
2583
2206
 
2584
- # A concise name for the metric, which can be displayed in user interfaces.
2585
- # Use sentence case without an ending period, for example "Request count".
2586
- # This field is optional but it is recommended to be set for any metrics
2587
- # associated with user-visible concepts, such as Quota.
2207
+ # A concise name for the metric, which can be displayed in user interfaces. Use
2208
+ # sentence case without an ending period, for example "Request count". This
2209
+ # field is optional but it is recommended to be set for any metrics associated
2210
+ # with user-visible concepts, such as Quota.
2588
2211
  # Corresponds to the JSON property `displayName`
2589
2212
  # @return [String]
2590
2213
  attr_accessor :display_name
2591
2214
 
2592
- # The set of labels that can be used to describe a specific
2593
- # instance of this metric type.
2594
- # The label key name must follow:
2595
- # * Only upper and lower-case letters, digits and underscores (_) are
2596
- # allowed.
2597
- # * Label name must start with a letter or digit.
2598
- # * The maximum length of a label name is 100 characters.
2599
- # For example, the
2600
- # `appengine.googleapis.com/http/server/response_latencies` metric
2601
- # type has a label for the HTTP response code, `response_code`, so
2602
- # you can look at latencies for successful responses or just
2215
+ # The set of labels that can be used to describe a specific instance of this
2216
+ # metric type. For example, the `appengine.googleapis.com/http/server/
2217
+ # response_latencies` metric type has a label for the HTTP response code, `
2218
+ # response_code`, so you can look at latencies for successful responses or just
2603
2219
  # for responses that failed.
2604
2220
  # Corresponds to the JSON property `labels`
2605
2221
  # @return [Array<Google::Apis::ServicemanagementV1::LabelDescriptor>]
@@ -2615,17 +2231,16 @@ module Google
2615
2231
  # @return [Google::Apis::ServicemanagementV1::MetricDescriptorMetadata]
2616
2232
  attr_accessor :metadata
2617
2233
 
2618
- # Whether the metric records instantaneous values, changes to a value, etc.
2619
- # Some combinations of `metric_kind` and `value_type` might not be supported.
2234
+ # Whether the metric records instantaneous values, changes to a value, etc. Some
2235
+ # combinations of `metric_kind` and `value_type` might not be supported.
2620
2236
  # Corresponds to the JSON property `metricKind`
2621
2237
  # @return [String]
2622
2238
  attr_accessor :metric_kind
2623
2239
 
2624
- # Read-only. If present, then a time
2625
- # series, which is identified partially by
2626
- # a metric type and a MonitoredResourceDescriptor, that is associated
2627
- # with this metric type can only be associated with one of the monitored
2628
- # resource types listed here.
2240
+ # Read-only. If present, then a time series, which is identified partially by a
2241
+ # metric type and a MonitoredResourceDescriptor, that is associated with this
2242
+ # metric type can only be associated with one of the monitored resource types
2243
+ # listed here.
2629
2244
  # Corresponds to the JSON property `monitoredResourceTypes`
2630
2245
  # @return [Array<String>]
2631
2246
  attr_accessor :monitored_resource_types
@@ -2635,116 +2250,68 @@ module Google
2635
2250
  # @return [String]
2636
2251
  attr_accessor :name
2637
2252
 
2638
- # The metric type, including its DNS name prefix. The type is not
2639
- # URL-encoded.
2640
- # All service defined metrics must be prefixed with the service name, in the
2641
- # format of ``service name`/`relative metric name``, such as
2642
- # `cloudsql.googleapis.com/database/cpu/utilization`. The relative metric
2643
- # name must follow:
2644
- # * Only upper and lower-case letters, digits, '/' and underscores '_' are
2645
- # allowed.
2646
- # * The maximum number of characters allowed for the relative_metric_name is
2647
- # 100.
2648
- # All user-defined metric types have the DNS name
2649
- # `custom.googleapis.com`, `external.googleapis.com`, or
2650
- # `logging.googleapis.com/user/`.
2651
- # Metric types should use a natural hierarchical grouping. For example:
2652
- # "custom.googleapis.com/invoice/paid/amount"
2653
- # "external.googleapis.com/prometheus/up"
2654
- # "appengine.googleapis.com/http/server/response_latencies"
2253
+ # The metric type, including its DNS name prefix. The type is not URL-encoded.
2254
+ # All user-defined metric types have the DNS name `custom.googleapis.com` or `
2255
+ # external.googleapis.com`. Metric types should use a natural hierarchical
2256
+ # grouping. For example: "custom.googleapis.com/invoice/paid/amount" "external.
2257
+ # googleapis.com/prometheus/up" "appengine.googleapis.com/http/server/
2258
+ # response_latencies"
2655
2259
  # Corresponds to the JSON property `type`
2656
2260
  # @return [String]
2657
2261
  attr_accessor :type
2658
2262
 
2659
- # The units in which the metric value is reported. It is only applicable
2660
- # if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
2661
- # defines the representation of the stored metric values.
2662
- # Different systems may scale the values to be more easily displayed (so a
2663
- # value of `0.02KBy` _might_ be displayed as `20By`, and a value of
2664
- # `3523KBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is
2665
- # `KBy`, then the value of the metric is always in thousands of bytes, no
2666
- # matter how it may be displayed..
2667
- # If you want a custom metric to record the exact number of CPU-seconds used
2668
- # by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is
2669
- # `s`CPU`` (or equivalently `1s`CPU`` or just `s`). If the job uses 12,005
2670
- # CPU-seconds, then the value is written as `12005`.
2671
- # Alternatively, if you want a custom metric to record data in a more
2672
- # granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is
2673
- # `ks`CPU``, and then write the value `12.005` (which is `12005/1000`),
2674
- # or use `Kis`CPU`` and write `11.723` (which is `12005/1024`).
2675
- # The supported units are a subset of [The Unified Code for Units of
2676
- # Measure](http://unitsofmeasure.org/ucum.html) standard:
2677
- # **Basic units (UNIT)**
2678
- # * `bit` bit
2679
- # * `By` byte
2680
- # * `s` second
2681
- # * `min` minute
2682
- # * `h` hour
2683
- # * `d` day
2684
- # * `1` dimensionless
2685
- # **Prefixes (PREFIX)**
2686
- # * `k` kilo (10^3)
2687
- # * `M` mega (10^6)
2688
- # * `G` giga (10^9)
2689
- # * `T` tera (10^12)
2690
- # * `P` peta (10^15)
2691
- # * `E` exa (10^18)
2692
- # * `Z` zetta (10^21)
2693
- # * `Y` yotta (10^24)
2694
- # * `m` milli (10^-3)
2695
- # * `u` micro (10^-6)
2696
- # * `n` nano (10^-9)
2697
- # * `p` pico (10^-12)
2698
- # * `f` femto (10^-15)
2699
- # * `a` atto (10^-18)
2700
- # * `z` zepto (10^-21)
2701
- # * `y` yocto (10^-24)
2702
- # * `Ki` kibi (2^10)
2703
- # * `Mi` mebi (2^20)
2704
- # * `Gi` gibi (2^30)
2705
- # * `Ti` tebi (2^40)
2706
- # * `Pi` pebi (2^50)
2707
- # **Grammar**
2708
- # The grammar also includes these connectors:
2709
- # * `/` division or ratio (as an infix operator). For examples,
2710
- # `kBy/`email`` or `MiBy/10ms` (although you should almost never
2711
- # have `/s` in a metric `unit`; rates should always be computed at
2712
- # query time from the underlying cumulative or delta value).
2713
- # * `.` multiplication or composition (as an infix operator). For
2714
- # examples, `GBy.d` or `k`watt`.h`.
2715
- # The grammar for a unit is as follows:
2716
- # Expression = Component ` "." Component ` ` "/" Component ` ;
2717
- # Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ]
2718
- # | Annotation
2719
- # | "1"
2720
- # ;
2721
- # Annotation = "`" NAME "`" ;
2722
- # Notes:
2723
- # * `Annotation` is just a comment if it follows a `UNIT`. If the annotation
2724
- # is used alone, then the unit is equivalent to `1`. For examples,
2725
- # ``request`/s == 1/s`, `By`transmitted`/s == By/s`.
2726
- # * `NAME` is a sequence of non-blank printable ASCII characters not
2727
- # containing ``` or ```.
2728
- # * `1` represents a unitary [dimensionless
2729
- # unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such
2730
- # as in `1/s`. It is typically used when none of the basic units are
2731
- # appropriate. For example, "new users per day" can be represented as
2732
- # `1/d` or ``new-users`/d` (and a metric value `5` would mean "5 new
2733
- # users). Alternatively, "thousands of page views per day" would be
2734
- # represented as `1000/d` or `k1/d` or `k`page_views`/d` (and a metric
2735
- # value of `5.3` would mean "5300 page views per day").
2736
- # * `%` represents dimensionless value of 1/100, and annotates values giving
2737
- # a percentage (so the metric values are typically in the range of 0..100,
2738
- # and a metric value `3` means "3 percent").
2739
- # * `10^2.%` indicates a metric contains a ratio, typically in the range
2740
- # 0..1, that will be multiplied by 100 and displayed as a percentage
2741
- # (so a metric value `0.03` means "3 percent").
2263
+ # The units in which the metric value is reported. It is only applicable if the `
2264
+ # value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` defines the
2265
+ # representation of the stored metric values. Different systems may scale the
2266
+ # values to be more easily displayed (so a value of `0.02KBy` _might_ be
2267
+ # displayed as `20By`, and a value of `3523KBy` _might_ be displayed as `3.5MBy`)
2268
+ # . However, if the `unit` is `KBy`, then the value of the metric is always in
2269
+ # thousands of bytes, no matter how it may be displayed.. If you want a custom
2270
+ # metric to record the exact number of CPU-seconds used by a job, you can create
2271
+ # an `INT64 CUMULATIVE` metric whose `unit` is `s`CPU`` (or equivalently `1s`CPU`
2272
+ # ` or just `s`). If the job uses 12,005 CPU-seconds, then the value is written
2273
+ # as `12005`. Alternatively, if you want a custom metric to record data in a
2274
+ # more granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is
2275
+ # `ks`CPU``, and then write the value `12.005` (which is `12005/1000`), or use `
2276
+ # Kis`CPU`` and write `11.723` (which is `12005/1024`). The supported units are
2277
+ # a subset of [The Unified Code for Units of Measure](http://unitsofmeasure.org/
2278
+ # ucum.html) standard: **Basic units (UNIT)** * `bit` bit * `By` byte * `s`
2279
+ # second * `min` minute * `h` hour * `d` day * `1` dimensionless **Prefixes (
2280
+ # PREFIX)** * `k` kilo (10^3) * `M` mega (10^6) * `G` giga (10^9) * `T` tera (10^
2281
+ # 12) * `P` peta (10^15) * `E` exa (10^18) * `Z` zetta (10^21) * `Y` yotta (10^
2282
+ # 24) * `m` milli (10^-3) * `u` micro (10^-6) * `n` nano (10^-9) * `p` pico (10^-
2283
+ # 12) * `f` femto (10^-15) * `a` atto (10^-18) * `z` zepto (10^-21) * `y` yocto (
2284
+ # 10^-24) * `Ki` kibi (2^10) * `Mi` mebi (2^20) * `Gi` gibi (2^30) * `Ti` tebi (
2285
+ # 2^40) * `Pi` pebi (2^50) **Grammar** The grammar also includes these
2286
+ # connectors: * `/` division or ratio (as an infix operator). For examples, `kBy/
2287
+ # `email`` or `MiBy/10ms` (although you should almost never have `/s` in a
2288
+ # metric `unit`; rates should always be computed at query time from the
2289
+ # underlying cumulative or delta value). * `.` multiplication or composition (as
2290
+ # an infix operator). For examples, `GBy.d` or `k`watt`.h`. The grammar for a
2291
+ # unit is as follows: Expression = Component ` "." Component ` ` "/" Component `
2292
+ # ; Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ] | Annotation | "1" ;
2293
+ # Annotation = "`" NAME "`" ; Notes: * `Annotation` is just a comment if it
2294
+ # follows a `UNIT`. If the annotation is used alone, then the unit is equivalent
2295
+ # to `1`. For examples, ``request`/s == 1/s`, `By`transmitted`/s == By/s`. * `
2296
+ # NAME` is a sequence of non-blank printable ASCII characters not containing ```
2297
+ # or ```. * `1` represents a unitary [dimensionless unit](https://en.wikipedia.
2298
+ # org/wiki/Dimensionless_quantity) of 1, such as in `1/s`. It is typically used
2299
+ # when none of the basic units are appropriate. For example, "new users per day"
2300
+ # can be represented as `1/d` or ``new-users`/d` (and a metric value `5` would
2301
+ # mean "5 new users). Alternatively, "thousands of page views per day" would be
2302
+ # represented as `1000/d` or `k1/d` or `k`page_views`/d` (and a metric value of `
2303
+ # 5.3` would mean "5300 page views per day"). * `%` represents dimensionless
2304
+ # value of 1/100, and annotates values giving a percentage (so the metric values
2305
+ # are typically in the range of 0..100, and a metric value `3` means "3 percent")
2306
+ # . * `10^2.%` indicates a metric contains a ratio, typically in the range 0..1,
2307
+ # that will be multiplied by 100 and displayed as a percentage (so a metric
2308
+ # value `0.03` means "3 percent").
2742
2309
  # Corresponds to the JSON property `unit`
2743
2310
  # @return [String]
2744
2311
  attr_accessor :unit
2745
2312
 
2746
- # Whether the measurement is an integer, a floating-point number, etc.
2747
- # Some combinations of `metric_kind` and `value_type` might not be supported.
2313
+ # Whether the measurement is an integer, a floating-point number, etc. Some
2314
+ # combinations of `metric_kind` and `value_type` might not be supported.
2748
2315
  # Corresponds to the JSON property `valueType`
2749
2316
  # @return [String]
2750
2317
  attr_accessor :value_type
@@ -2773,9 +2340,9 @@ module Google
2773
2340
  class MetricDescriptorMetadata
2774
2341
  include Google::Apis::Core::Hashable
2775
2342
 
2776
- # The delay of data points caused by ingestion. Data points older than this
2777
- # age are guaranteed to be ingested and available to be read, excluding
2778
- # data loss due to errors.
2343
+ # The delay of data points caused by ingestion. Data points older than this age
2344
+ # are guaranteed to be ingested and available to be read, excluding data loss
2345
+ # due to errors.
2779
2346
  # Corresponds to the JSON property `ingestDelay`
2780
2347
  # @return [String]
2781
2348
  attr_accessor :ingest_delay
@@ -2787,8 +2354,8 @@ module Google
2787
2354
 
2788
2355
  # The sampling period of metric data points. For metrics which are written
2789
2356
  # periodically, consecutive data points are stored at this time interval,
2790
- # excluding data loss due to errors. Metrics with a higher granularity have
2791
- # a smaller sampling period.
2357
+ # excluding data loss due to errors. Metrics with a higher granularity have a
2358
+ # smaller sampling period.
2792
2359
  # Corresponds to the JSON property `samplePeriod`
2793
2360
  # @return [String]
2794
2361
  attr_accessor :sample_period
@@ -2805,22 +2372,21 @@ module Google
2805
2372
  end
2806
2373
  end
2807
2374
 
2808
- # Bind API methods to metrics. Binding a method to a metric causes that
2809
- # metric's configured quota behaviors to apply to the method call.
2375
+ # Bind API methods to metrics. Binding a method to a metric causes that metric's
2376
+ # configured quota behaviors to apply to the method call.
2810
2377
  class MetricRule
2811
2378
  include Google::Apis::Core::Hashable
2812
2379
 
2813
2380
  # Metrics to update when the selected methods are called, and the associated
2814
- # cost applied to each metric.
2815
- # The key of the map is the metric name, and the values are the amount
2816
- # increased for the metric against which the quota limits are defined.
2817
- # The value must not be negative.
2381
+ # cost applied to each metric. The key of the map is the metric name, and the
2382
+ # values are the amount increased for the metric against which the quota limits
2383
+ # are defined. The value must not be negative.
2818
2384
  # Corresponds to the JSON property `metricCosts`
2819
2385
  # @return [Hash<String,Fixnum>]
2820
2386
  attr_accessor :metric_costs
2821
2387
 
2822
- # Selects the methods to which this rule applies.
2823
- # Refer to selector for syntax details.
2388
+ # Selects the methods to which this rule applies. Refer to selector for syntax
2389
+ # details.
2824
2390
  # Corresponds to the JSON property `selector`
2825
2391
  # @return [String]
2826
2392
  attr_accessor :selector
@@ -2838,66 +2404,33 @@ module Google
2838
2404
 
2839
2405
  # Declares an API Interface to be included in this interface. The including
2840
2406
  # interface must redeclare all the methods from the included interface, but
2841
- # documentation and options are inherited as follows:
2842
- # - If after comment and whitespace stripping, the documentation
2843
- # string of the redeclared method is empty, it will be inherited
2844
- # from the original method.
2845
- # - Each annotation belonging to the service config (http,
2846
- # visibility) which is not set in the redeclared method will be
2847
- # inherited.
2848
- # - If an http annotation is inherited, the path pattern will be
2849
- # modified as follows. Any version prefix will be replaced by the
2850
- # version of the including interface plus the root path if
2851
- # specified.
2852
- # Example of a simple mixin:
2853
- # package google.acl.v1;
2854
- # service AccessControl `
2855
- # // Get the underlying ACL object.
2856
- # rpc GetAcl(GetAclRequest) returns (Acl) `
2857
- # option (google.api.http).get = "/v1/`resource=**`:getAcl";
2858
- # `
2859
- # `
2860
- # package google.storage.v2;
2861
- # service Storage `
2862
- # // rpc GetAcl(GetAclRequest) returns (Acl);
2863
- # // Get a data record.
2864
- # rpc GetData(GetDataRequest) returns (Data) `
2865
- # option (google.api.http).get = "/v2/`resource=**`";
2866
- # `
2867
- # `
2868
- # Example of a mixin configuration:
2869
- # apis:
2870
- # - name: google.storage.v2.Storage
2871
- # mixins:
2872
- # - name: google.acl.v1.AccessControl
2873
- # The mixin construct implies that all methods in `AccessControl` are
2874
- # also declared with same name and request/response types in
2875
- # `Storage`. A documentation generator or annotation processor will
2876
- # see the effective `Storage.GetAcl` method after inherting
2877
- # documentation and annotations as follows:
2878
- # service Storage `
2879
- # // Get the underlying ACL object.
2880
- # rpc GetAcl(GetAclRequest) returns (Acl) `
2881
- # option (google.api.http).get = "/v2/`resource=**`:getAcl";
2882
- # `
2883
- # ...
2884
- # `
2885
- # Note how the version in the path pattern changed from `v1` to `v2`.
2886
- # If the `root` field in the mixin is specified, it should be a
2887
- # relative path under which inherited HTTP paths are placed. Example:
2888
- # apis:
2889
- # - name: google.storage.v2.Storage
2890
- # mixins:
2891
- # - name: google.acl.v1.AccessControl
2892
- # root: acls
2893
- # This implies the following inherited HTTP annotation:
2894
- # service Storage `
2895
- # // Get the underlying ACL object.
2896
- # rpc GetAcl(GetAclRequest) returns (Acl) `
2897
- # option (google.api.http).get = "/v2/acls/`resource=**`:getAcl";
2898
- # `
2899
- # ...
2900
- # `
2407
+ # documentation and options are inherited as follows: - If after comment and
2408
+ # whitespace stripping, the documentation string of the redeclared method is
2409
+ # empty, it will be inherited from the original method. - Each annotation
2410
+ # belonging to the service config (http, visibility) which is not set in the
2411
+ # redeclared method will be inherited. - If an http annotation is inherited, the
2412
+ # path pattern will be modified as follows. Any version prefix will be replaced
2413
+ # by the version of the including interface plus the root path if specified.
2414
+ # Example of a simple mixin: package google.acl.v1; service AccessControl ` //
2415
+ # Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) `
2416
+ # option (google.api.http).get = "/v1/`resource=**`:getAcl"; ` ` package google.
2417
+ # storage.v2; service Storage ` // rpc GetAcl(GetAclRequest) returns (Acl); //
2418
+ # Get a data record. rpc GetData(GetDataRequest) returns (Data) ` option (google.
2419
+ # api.http).get = "/v2/`resource=**`"; ` ` Example of a mixin configuration:
2420
+ # apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.
2421
+ # AccessControl The mixin construct implies that all methods in `AccessControl`
2422
+ # are also declared with same name and request/response types in `Storage`. A
2423
+ # documentation generator or annotation processor will see the effective `
2424
+ # Storage.GetAcl` method after inheriting documentation and annotations as
2425
+ # follows: service Storage ` // Get the underlying ACL object. rpc GetAcl(
2426
+ # GetAclRequest) returns (Acl) ` option (google.api.http).get = "/v2/`resource=**
2427
+ # `:getAcl"; ` ... ` Note how the version in the path pattern changed from `v1`
2428
+ # to `v2`. If the `root` field in the mixin is specified, it should be a
2429
+ # relative path under which inherited HTTP paths are placed. Example: apis: -
2430
+ # name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl
2431
+ # root: acls This implies the following inherited HTTP annotation: service
2432
+ # Storage ` // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (
2433
+ # Acl) ` option (google.api.http).get = "/v2/acls/`resource=**`:getAcl"; ` ... `
2901
2434
  class Mixin
2902
2435
  include Google::Apis::Core::Hashable
2903
2436
 
@@ -2906,8 +2439,7 @@ module Google
2906
2439
  # @return [String]
2907
2440
  attr_accessor :name
2908
2441
 
2909
- # If non-empty specifies a path under which inherited HTTP paths
2910
- # are rooted.
2442
+ # If non-empty specifies a path under which inherited HTTP paths are rooted.
2911
2443
  # Corresponds to the JSON property `root`
2912
2444
  # @return [String]
2913
2445
  attr_accessor :root
@@ -2923,51 +2455,32 @@ module Google
2923
2455
  end
2924
2456
  end
2925
2457
 
2926
- # An object that describes the schema of a MonitoredResource object using a
2927
- # type name and a set of labels. For example, the monitored resource
2928
- # descriptor for Google Compute Engine VM instances has a type of
2929
- # `"gce_instance"` and specifies the use of the labels `"instance_id"` and
2930
- # `"zone"` to identify particular VM instances.
2931
- # Different services can support different monitored resource types.
2932
- # The following are specific rules to service defined monitored resources for
2933
- # Monitoring and Logging:
2934
- # * The `type`, `display_name`, `description`, `labels` and `launch_stage`
2935
- # fields are all required.
2936
- # * The first label of the monitored resource descriptor must be
2937
- # `resource_container`. There are legacy monitored resource descritptors
2938
- # start with `project_id`.
2939
- # * It must include a `location` label.
2940
- # * Maximum of default 5 service defined monitored resource descriptors
2941
- # is allowed per service.
2942
- # * Maximum of default 10 labels per monitored resource is allowed.
2943
- # The default maximum limit can be overridden. Please follow
2944
- # https://cloud.google.com/monitoring/quotas
2458
+ # An object that describes the schema of a MonitoredResource object using a type
2459
+ # name and a set of labels. For example, the monitored resource descriptor for
2460
+ # Google Compute Engine VM instances has a type of `"gce_instance"` and
2461
+ # specifies the use of the labels `"instance_id"` and `"zone"` to identify
2462
+ # particular VM instances. Different APIs can support different monitored
2463
+ # resource types. APIs generally provide a `list` method that returns the
2464
+ # monitored resource descriptors used by the API.
2945
2465
  class MonitoredResourceDescriptor
2946
2466
  include Google::Apis::Core::Hashable
2947
2467
 
2948
- # Optional. A detailed description of the monitored resource type that might
2949
- # be used in documentation.
2468
+ # Optional. A detailed description of the monitored resource type that might be
2469
+ # used in documentation.
2950
2470
  # Corresponds to the JSON property `description`
2951
2471
  # @return [String]
2952
2472
  attr_accessor :description
2953
2473
 
2954
2474
  # Optional. A concise name for the monitored resource type that might be
2955
- # displayed in user interfaces. It should be a Title Cased Noun Phrase,
2956
- # without any article or other determiners. For example,
2957
- # `"Google Cloud SQL Database"`.
2475
+ # displayed in user interfaces. It should be a Title Cased Noun Phrase, without
2476
+ # any article or other determiners. For example, `"Google Cloud SQL Database"`.
2958
2477
  # Corresponds to the JSON property `displayName`
2959
2478
  # @return [String]
2960
2479
  attr_accessor :display_name
2961
2480
 
2962
2481
  # Required. A set of labels used to describe instances of this monitored
2963
- # resource type.
2964
- # The label key name must follow:
2965
- # * Only upper and lower-case letters, digits and underscores (_) are
2966
- # allowed.
2967
- # * Label name must start with a letter or digit.
2968
- # * The maximum length of a label name is 100 characters.
2969
- # For example, an individual Google Cloud SQL database is
2970
- # identified by values for the labels `database_id` and `location`.
2482
+ # resource type. For example, an individual Google Cloud SQL database is
2483
+ # identified by values for the labels `"database_id"` and `"zone"`.
2971
2484
  # Corresponds to the JSON property `labels`
2972
2485
  # @return [Array<Google::Apis::ServicemanagementV1::LabelDescriptor>]
2973
2486
  attr_accessor :labels
@@ -2977,27 +2490,18 @@ module Google
2977
2490
  # @return [String]
2978
2491
  attr_accessor :launch_stage
2979
2492
 
2980
- # Optional. The resource name of the monitored resource descriptor:
2981
- # `"projects/`project_id`/monitoredResourceDescriptors/`type`"` where
2982
- # `type` is the value of the `type` field in this object and
2983
- # `project_id` is a project ID that provides API-specific context for
2984
- # accessing the type. APIs that do not use project information can use the
2985
- # resource name format `"monitoredResourceDescriptors/`type`"`.
2493
+ # Optional. The resource name of the monitored resource descriptor: `"projects/`
2494
+ # project_id`/monitoredResourceDescriptors/`type`"` where `type` is the value of
2495
+ # the `type` field in this object and `project_id` is a project ID that provides
2496
+ # API-specific context for accessing the type. APIs that do not use project
2497
+ # information can use the resource name format `"monitoredResourceDescriptors/`
2498
+ # type`"`.
2986
2499
  # Corresponds to the JSON property `name`
2987
2500
  # @return [String]
2988
2501
  attr_accessor :name
2989
2502
 
2990
- # Required. The monitored resource type. For example, the type
2991
- # `cloudsql_database` represents databases in Google Cloud SQL.
2992
- # All service defined monitored resource types must be prefixed with the
2993
- # service name, in the format of ``service name`/`relative resource name``.
2994
- # The relative resource name must follow:
2995
- # * Only upper and lower-case letters and digits are allowed.
2996
- # * It must start with upper case character and is recommended to use Upper
2997
- # Camel Case style.
2998
- # * The maximum number of characters allowed for the relative_resource_name
2999
- # is 100.
3000
- # Note there are legacy service monitored resources not following this rule.
2503
+ # Required. The monitored resource type. For example, the type `"
2504
+ # cloudsql_database"` represents databases in Google Cloud SQL.
3001
2505
  # Corresponds to the JSON property `type`
3002
2506
  # @return [String]
3003
2507
  attr_accessor :type
@@ -3017,75 +2521,47 @@ module Google
3017
2521
  end
3018
2522
  end
3019
2523
 
3020
- # Monitoring configuration of the service.
3021
- # The example below shows how to configure monitored resources and metrics
3022
- # for monitoring. In the example, a monitored resource and two metrics are
3023
- # defined. The `library.googleapis.com/book/returned_count` metric is sent
3024
- # to both producer and consumer projects, whereas the
3025
- # `library.googleapis.com/book/num_overdue` metric is only sent to the
3026
- # consumer project.
3027
- # monitored_resources:
3028
- # - type: library.googleapis.com/Branch
3029
- # display_name: "Library Branch"
3030
- # description: "A branch of a library."
3031
- # launch_stage: GA
3032
- # labels:
3033
- # - key: resource_container
3034
- # description: "The Cloud container (ie. project id) for the Branch."
3035
- # - key: location
3036
- # description: "The location of the library branch."
3037
- # - key: branch_id
3038
- # description: "The id of the branch."
3039
- # metrics:
3040
- # - name: library.googleapis.com/book/returned_count
3041
- # display_name: "Books Returned"
3042
- # description: "The count of books that have been returned."
3043
- # launch_stage: GA
3044
- # metric_kind: DELTA
3045
- # value_type: INT64
3046
- # unit: "1"
3047
- # labels:
3048
- # - key: customer_id
3049
- # description: "The id of the customer."
3050
- # - name: library.googleapis.com/book/num_overdue
3051
- # display_name: "Books Overdue"
3052
- # description: "The current number of overdue books."
3053
- # launch_stage: GA
3054
- # metric_kind: GAUGE
3055
- # value_type: INT64
3056
- # unit: "1"
3057
- # labels:
3058
- # - key: customer_id
3059
- # description: "The id of the customer."
3060
- # monitoring:
3061
- # producer_destinations:
3062
- # - monitored_resource: library.googleapis.com/Branch
3063
- # metrics:
3064
- # - library.googleapis.com/book/returned_count
3065
- # consumer_destinations:
3066
- # - monitored_resource: library.googleapis.com/Branch
3067
- # metrics:
3068
- # - library.googleapis.com/book/returned_count
3069
- # - library.googleapis.com/book/num_overdue
2524
+ # Monitoring configuration of the service. The example below shows how to
2525
+ # configure monitored resources and metrics for monitoring. In the example, a
2526
+ # monitored resource and two metrics are defined. The `library.googleapis.com/
2527
+ # book/returned_count` metric is sent to both producer and consumer projects,
2528
+ # whereas the `library.googleapis.com/book/num_overdue` metric is only sent to
2529
+ # the consumer project. monitored_resources: - type: library.googleapis.com/
2530
+ # Branch display_name: "Library Branch" description: "A branch of a library."
2531
+ # launch_stage: GA labels: - key: resource_container description: "The Cloud
2532
+ # container (ie. project id) for the Branch." - key: location description: "The
2533
+ # location of the library branch." - key: branch_id description: "The id of the
2534
+ # branch." metrics: - name: library.googleapis.com/book/returned_count
2535
+ # display_name: "Books Returned" description: "The count of books that have been
2536
+ # returned." launch_stage: GA metric_kind: DELTA value_type: INT64 unit: "1"
2537
+ # labels: - key: customer_id description: "The id of the customer." - name:
2538
+ # library.googleapis.com/book/num_overdue display_name: "Books Overdue"
2539
+ # description: "The current number of overdue books." launch_stage: GA
2540
+ # metric_kind: GAUGE value_type: INT64 unit: "1" labels: - key: customer_id
2541
+ # description: "The id of the customer." monitoring: producer_destinations: -
2542
+ # monitored_resource: library.googleapis.com/Branch metrics: - library.
2543
+ # googleapis.com/book/returned_count consumer_destinations: - monitored_resource:
2544
+ # library.googleapis.com/Branch metrics: - library.googleapis.com/book/
2545
+ # returned_count - library.googleapis.com/book/num_overdue
3070
2546
  class Monitoring
3071
2547
  include Google::Apis::Core::Hashable
3072
2548
 
3073
- # Monitoring configurations for sending metrics to the consumer project.
3074
- # There can be multiple consumer destinations. A monitored resource type may
3075
- # appear in multiple monitoring destinations if different aggregations are
3076
- # needed for different sets of metrics associated with that monitored
3077
- # resource type. A monitored resource and metric pair may only be used once
3078
- # in the Monitoring configuration.
2549
+ # Monitoring configurations for sending metrics to the consumer project. There
2550
+ # can be multiple consumer destinations. A monitored resource type may appear in
2551
+ # multiple monitoring destinations if different aggregations are needed for
2552
+ # different sets of metrics associated with that monitored resource type. A
2553
+ # monitored resource and metric pair may only be used once in the Monitoring
2554
+ # configuration.
3079
2555
  # Corresponds to the JSON property `consumerDestinations`
3080
2556
  # @return [Array<Google::Apis::ServicemanagementV1::MonitoringDestination>]
3081
2557
  attr_accessor :consumer_destinations
3082
2558
 
3083
- # Monitoring configurations for sending metrics to the producer project.
3084
- # There can be multiple producer destinations. A monitored resource type may
3085
- # appear in multiple monitoring destinations if different aggregations are
3086
- # needed for different sets of metrics associated with that monitored
3087
- # resource type. A monitored resource and metric pair may only be used once
3088
- # in the Monitoring configuration.
2559
+ # Monitoring configurations for sending metrics to the producer project. There
2560
+ # can be multiple producer destinations. A monitored resource type may appear in
2561
+ # multiple monitoring destinations if different aggregations are needed for
2562
+ # different sets of metrics associated with that monitored resource type. A
2563
+ # monitored resource and metric pair may only be used once in the Monitoring
2564
+ # configuration.
3089
2565
  # Corresponds to the JSON property `producerDestinations`
3090
2566
  # @return [Array<Google::Apis::ServicemanagementV1::MonitoringDestination>]
3091
2567
  attr_accessor :producer_destinations
@@ -3101,19 +2577,19 @@ module Google
3101
2577
  end
3102
2578
  end
3103
2579
 
3104
- # Configuration of a specific monitoring destination (the producer project
3105
- # or the consumer project).
2580
+ # Configuration of a specific monitoring destination (the producer project or
2581
+ # the consumer project).
3106
2582
  class MonitoringDestination
3107
2583
  include Google::Apis::Core::Hashable
3108
2584
 
3109
- # Types of the metrics to report to this monitoring destination.
3110
- # Each type must be defined in Service.metrics section.
2585
+ # Types of the metrics to report to this monitoring destination. Each type must
2586
+ # be defined in Service.metrics section.
3111
2587
  # Corresponds to the JSON property `metrics`
3112
2588
  # @return [Array<String>]
3113
2589
  attr_accessor :metrics
3114
2590
 
3115
- # The monitored resource type. The type must be defined in
3116
- # Service.monitored_resources section.
2591
+ # The monitored resource type. The type must be defined in Service.
2592
+ # monitored_resources section.
3117
2593
  # Corresponds to the JSON property `monitoredResource`
3118
2594
  # @return [String]
3119
2595
  attr_accessor :monitored_resource
@@ -3130,27 +2606,25 @@ module Google
3130
2606
  end
3131
2607
 
3132
2608
  # OAuth scopes are a way to define data and permissions on data. For example,
3133
- # there are scopes defined for "Read-only access to Google Calendar" and
3134
- # "Access to Cloud Platform". Users can consent to a scope for an application,
3135
- # giving it permission to access that data on their behalf.
3136
- # OAuth scope specifications should be fairly coarse grained; a user will need
3137
- # to see and understand the text description of what your scope means.
3138
- # In most cases: use one or at most two OAuth scopes for an entire family of
3139
- # products. If your product has multiple APIs, you should probably be sharing
3140
- # the OAuth scope across all of those APIs.
3141
- # When you need finer grained OAuth consent screens: talk with your product
3142
- # management about how developers will use them in practice.
3143
- # Please note that even though each of the canonical scopes is enough for a
3144
- # request to be accepted and passed to the backend, a request can still fail
3145
- # due to the backend requiring additional scopes or permissions.
2609
+ # there are scopes defined for "Read-only access to Google Calendar" and "Access
2610
+ # to Cloud Platform". Users can consent to a scope for an application, giving it
2611
+ # permission to access that data on their behalf. OAuth scope specifications
2612
+ # should be fairly coarse grained; a user will need to see and understand the
2613
+ # text description of what your scope means. In most cases: use one or at most
2614
+ # two OAuth scopes for an entire family of products. If your product has
2615
+ # multiple APIs, you should probably be sharing the OAuth scope across all of
2616
+ # those APIs. When you need finer grained OAuth consent screens: talk with your
2617
+ # product management about how developers will use them in practice. Please note
2618
+ # that even though each of the canonical scopes is enough for a request to be
2619
+ # accepted and passed to the backend, a request can still fail due to the
2620
+ # backend requiring additional scopes or permissions.
3146
2621
  class OAuthRequirements
3147
2622
  include Google::Apis::Core::Hashable
3148
2623
 
3149
- # The list of publicly documented OAuth scopes that are allowed access. An
3150
- # OAuth token containing any of these scopes will be accepted.
3151
- # Example:
3152
- # canonical_scopes: https://www.googleapis.com/auth/calendar,
3153
- # https://www.googleapis.com/auth/calendar.read
2624
+ # The list of publicly documented OAuth scopes that are allowed access. An OAuth
2625
+ # token containing any of these scopes will be accepted. Example:
2626
+ # canonical_scopes: https://www.googleapis.com/auth/calendar, https://www.
2627
+ # googleapis.com/auth/calendar.read
3154
2628
  # Corresponds to the JSON property `canonicalScopes`
3155
2629
  # @return [String]
3156
2630
  attr_accessor :canonical_scopes
@@ -3170,47 +2644,45 @@ module Google
3170
2644
  class Operation
3171
2645
  include Google::Apis::Core::Hashable
3172
2646
 
3173
- # If the value is `false`, it means the operation is still in progress.
3174
- # If `true`, the operation is completed, and either `error` or `response` is
3175
- # available.
2647
+ # If the value is `false`, it means the operation is still in progress. If `true`
2648
+ # , the operation is completed, and either `error` or `response` is available.
3176
2649
  # Corresponds to the JSON property `done`
3177
2650
  # @return [Boolean]
3178
2651
  attr_accessor :done
3179
2652
  alias_method :done?, :done
3180
2653
 
3181
- # The `Status` type defines a logical error model that is suitable for
3182
- # different programming environments, including REST APIs and RPC APIs. It is
3183
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
3184
- # three pieces of data: error code, error message, and error details.
3185
- # You can find out more about this error model and how to work with it in the
3186
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
2654
+ # The `Status` type defines a logical error model that is suitable for different
2655
+ # programming environments, including REST APIs and RPC APIs. It is used by [
2656
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
2657
+ # data: error code, error message, and error details. You can find out more
2658
+ # about this error model and how to work with it in the [API Design Guide](https:
2659
+ # //cloud.google.com/apis/design/errors).
3187
2660
  # Corresponds to the JSON property `error`
3188
2661
  # @return [Google::Apis::ServicemanagementV1::Status]
3189
2662
  attr_accessor :error
3190
2663
 
3191
- # Service-specific metadata associated with the operation. It typically
3192
- # contains progress information and common metadata such as create time.
3193
- # Some services might not provide such metadata. Any method that returns a
3194
- # long-running operation should document the metadata type, if any.
2664
+ # Service-specific metadata associated with the operation. It typically contains
2665
+ # progress information and common metadata such as create time. Some services
2666
+ # might not provide such metadata. Any method that returns a long-running
2667
+ # operation should document the metadata type, if any.
3195
2668
  # Corresponds to the JSON property `metadata`
3196
2669
  # @return [Hash<String,Object>]
3197
2670
  attr_accessor :metadata
3198
2671
 
3199
2672
  # The server-assigned name, which is only unique within the same service that
3200
- # originally returns it. If you use the default HTTP mapping, the
3201
- # `name` should be a resource name ending with `operations/`unique_id``.
2673
+ # originally returns it. If you use the default HTTP mapping, the `name` should
2674
+ # be a resource name ending with `operations/`unique_id``.
3202
2675
  # Corresponds to the JSON property `name`
3203
2676
  # @return [String]
3204
2677
  attr_accessor :name
3205
2678
 
3206
- # The normal response of the operation in case of success. If the original
3207
- # method returns no data on success, such as `Delete`, the response is
3208
- # `google.protobuf.Empty`. If the original method is standard
3209
- # `Get`/`Create`/`Update`, the response should be the resource. For other
3210
- # methods, the response should have the type `XxxResponse`, where `Xxx`
3211
- # is the original method name. For example, if the original method name
3212
- # is `TakeSnapshot()`, the inferred response type is
3213
- # `TakeSnapshotResponse`.
2679
+ # The normal response of the operation in case of success. If the original
2680
+ # method returns no data on success, such as `Delete`, the response is `google.
2681
+ # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
2682
+ # the response should be the resource. For other methods, the response should
2683
+ # have the type `XxxResponse`, where `Xxx` is the original method name. For
2684
+ # example, if the original method name is `TakeSnapshot()`, the inferred
2685
+ # response type is `TakeSnapshotResponse`.
3214
2686
  # Corresponds to the JSON property `response`
3215
2687
  # @return [Hash<String,Object>]
3216
2688
  attr_accessor :response
@@ -3238,8 +2710,7 @@ module Google
3238
2710
  # @return [Fixnum]
3239
2711
  attr_accessor :progress_percentage
3240
2712
 
3241
- # The full name of the resources that this operation is directly
3242
- # associated with.
2713
+ # The full name of the resources that this operation is directly associated with.
3243
2714
  # Corresponds to the JSON property `resourceNames`
3244
2715
  # @return [Array<String>]
3245
2716
  attr_accessor :resource_names
@@ -3273,17 +2744,17 @@ module Google
3273
2744
  include Google::Apis::Core::Hashable
3274
2745
 
3275
2746
  # The option's name. For protobuf built-in options (options defined in
3276
- # descriptor.proto), this is the short name. For example, `"map_entry"`.
3277
- # For custom options, it should be the fully-qualified name. For example,
3278
- # `"google.api.http"`.
2747
+ # descriptor.proto), this is the short name. For example, `"map_entry"`. For
2748
+ # custom options, it should be the fully-qualified name. For example, `"google.
2749
+ # api.http"`.
3279
2750
  # Corresponds to the JSON property `name`
3280
2751
  # @return [String]
3281
2752
  attr_accessor :name
3282
2753
 
3283
- # The option's value packed in an Any message. If the value is a primitive,
3284
- # the corresponding wrapper type defined in google/protobuf/wrappers.proto
3285
- # should be used. If the value is an enum, it should be stored as an int32
3286
- # value using the google.protobuf.Int32Value type.
2754
+ # The option's value packed in an Any message. If the value is a primitive, the
2755
+ # corresponding wrapper type defined in google/protobuf/wrappers.proto should be
2756
+ # used. If the value is an enum, it should be stored as an int32 value using the
2757
+ # google.protobuf.Int32Value type.
3287
2758
  # Corresponds to the JSON property `value`
3288
2759
  # @return [Hash<String,Object>]
3289
2760
  attr_accessor :value
@@ -3304,32 +2775,25 @@ module Google
3304
2775
  class Page
3305
2776
  include Google::Apis::Core::Hashable
3306
2777
 
3307
- # The Markdown content of the page. You can use <code>&#40;== include `path`
3308
- # ==&#41;</code> to include content from a Markdown file.
2778
+ # The Markdown content of the page. You can use (== include `path` ==) to
2779
+ # include content from a Markdown file.
3309
2780
  # Corresponds to the JSON property `content`
3310
2781
  # @return [String]
3311
2782
  attr_accessor :content
3312
2783
 
3313
- # The name of the page. It will be used as an identity of the page to
3314
- # generate URI of the page, text of the link to this page in navigation,
3315
- # etc. The full page name (start from the root page name to this page
3316
- # concatenated with `.`) can be used as reference to the page in your
3317
- # documentation. For example:
3318
- # <pre><code>pages:
3319
- # - name: Tutorial
3320
- # content: &#40;== include tutorial.md ==&#41;
3321
- # subpages:
3322
- # - name: Java
3323
- # content: &#40;== include tutorial_java.md ==&#41;
3324
- # </code></pre>
3325
- # You can reference `Java` page using Markdown reference link syntax:
3326
- # `Java`.
2784
+ # The name of the page. It will be used as an identity of the page to generate
2785
+ # URI of the page, text of the link to this page in navigation, etc. The full
2786
+ # page name (start from the root page name to this page concatenated with `.`)
2787
+ # can be used as reference to the page in your documentation. For example: pages:
2788
+ # - name: Tutorial content: (== include tutorial.md ==) subpages: - name: Java
2789
+ # content: (== include tutorial_java.md ==) You can reference `Java` page using
2790
+ # Markdown reference link syntax: `Java`.
3327
2791
  # Corresponds to the JSON property `name`
3328
2792
  # @return [String]
3329
2793
  attr_accessor :name
3330
2794
 
3331
- # Subpages of this page. The order of subpages specified here will be
3332
- # honored in the generated docset.
2795
+ # Subpages of this page. The order of subpages specified here will be honored in
2796
+ # the generated docset.
3333
2797
  # Corresponds to the JSON property `subpages`
3334
2798
  # @return [Array<Google::Apis::ServicemanagementV1::Page>]
3335
2799
  attr_accessor :subpages
@@ -3347,66 +2811,32 @@ module Google
3347
2811
  end
3348
2812
 
3349
2813
  # An Identity and Access Management (IAM) policy, which specifies access
3350
- # controls for Google Cloud resources.
3351
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
3352
- # `members` to a single `role`. Members can be user accounts, service accounts,
3353
- # Google groups, and domains (such as G Suite). A `role` is a named list of
3354
- # permissions; each `role` can be an IAM predefined role or a user-created
3355
- # custom role.
3356
- # For some types of Google Cloud resources, a `binding` can also specify a
3357
- # `condition`, which is a logical expression that allows access to a resource
3358
- # only if the expression evaluates to `true`. A condition can add constraints
3359
- # based on attributes of the request, the resource, or both. To learn which
3360
- # resources support conditions in their IAM policies, see the
3361
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
3362
- # policies).
3363
- # **JSON example:**
3364
- # `
3365
- # "bindings": [
3366
- # `
3367
- # "role": "roles/resourcemanager.organizationAdmin",
3368
- # "members": [
3369
- # "user:mike@example.com",
3370
- # "group:admins@example.com",
3371
- # "domain:google.com",
3372
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
3373
- # ]
3374
- # `,
3375
- # `
3376
- # "role": "roles/resourcemanager.organizationViewer",
3377
- # "members": [
3378
- # "user:eve@example.com"
3379
- # ],
3380
- # "condition": `
3381
- # "title": "expirable access",
3382
- # "description": "Does not grant access after Sep 2020",
3383
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
3384
- # ",
3385
- # `
3386
- # `
3387
- # ],
3388
- # "etag": "BwWWja0YfJA=",
3389
- # "version": 3
3390
- # `
3391
- # **YAML example:**
3392
- # bindings:
3393
- # - members:
3394
- # - user:mike@example.com
3395
- # - group:admins@example.com
3396
- # - domain:google.com
3397
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
3398
- # role: roles/resourcemanager.organizationAdmin
3399
- # - members:
3400
- # - user:eve@example.com
3401
- # role: roles/resourcemanager.organizationViewer
3402
- # condition:
3403
- # title: expirable access
3404
- # description: Does not grant access after Sep 2020
3405
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
3406
- # - etag: BwWWja0YfJA=
3407
- # - version: 3
3408
- # For a description of IAM and its features, see the
3409
- # [IAM documentation](https://cloud.google.com/iam/docs/).
2814
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
2815
+ # A `binding` binds one or more `members` to a single `role`. Members can be
2816
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
2817
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
2818
+ # role or a user-created custom role. For some types of Google Cloud resources,
2819
+ # a `binding` can also specify a `condition`, which is a logical expression that
2820
+ # allows access to a resource only if the expression evaluates to `true`. A
2821
+ # condition can add constraints based on attributes of the request, the resource,
2822
+ # or both. To learn which resources support conditions in their IAM policies,
2823
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
2824
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
2825
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
2826
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
2827
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
2828
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
2829
+ # title": "expirable access", "description": "Does not grant access after Sep
2830
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
2831
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
2832
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
2833
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
2834
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
2835
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
2836
+ # description: Does not grant access after Sep 2020 expression: request.time <
2837
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
2838
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
2839
+ # google.com/iam/docs/).
3410
2840
  class Policy
3411
2841
  include Google::Apis::Core::Hashable
3412
2842
 
@@ -3415,48 +2845,44 @@ module Google
3415
2845
  # @return [Array<Google::Apis::ServicemanagementV1::AuditConfig>]
3416
2846
  attr_accessor :audit_configs
3417
2847
 
3418
- # Associates a list of `members` to a `role`. Optionally, may specify a
3419
- # `condition` that determines how and when the `bindings` are applied. Each
3420
- # of the `bindings` must contain at least one member.
2848
+ # Associates a list of `members` to a `role`. Optionally, may specify a `
2849
+ # condition` that determines how and when the `bindings` are applied. Each of
2850
+ # the `bindings` must contain at least one member.
3421
2851
  # Corresponds to the JSON property `bindings`
3422
2852
  # @return [Array<Google::Apis::ServicemanagementV1::Binding>]
3423
2853
  attr_accessor :bindings
3424
2854
 
3425
- # `etag` is used for optimistic concurrency control as a way to help
3426
- # prevent simultaneous updates of a policy from overwriting each other.
3427
- # It is strongly suggested that systems make use of the `etag` in the
3428
- # read-modify-write cycle to perform policy updates in order to avoid race
3429
- # conditions: An `etag` is returned in the response to `getIamPolicy`, and
3430
- # systems are expected to put that etag in the request to `setIamPolicy` to
3431
- # ensure that their change will be applied to the same version of the policy.
3432
- # **Important:** If you use IAM Conditions, you must include the `etag` field
3433
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
3434
- # you to overwrite a version `3` policy with a version `1` policy, and all of
3435
- # the conditions in the version `3` policy are lost.
2855
+ # `etag` is used for optimistic concurrency control as a way to help prevent
2856
+ # simultaneous updates of a policy from overwriting each other. It is strongly
2857
+ # suggested that systems make use of the `etag` in the read-modify-write cycle
2858
+ # to perform policy updates in order to avoid race conditions: An `etag` is
2859
+ # returned in the response to `getIamPolicy`, and systems are expected to put
2860
+ # that etag in the request to `setIamPolicy` to ensure that their change will be
2861
+ # applied to the same version of the policy. **Important:** If you use IAM
2862
+ # Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
2863
+ # If you omit this field, then IAM allows you to overwrite a version `3` policy
2864
+ # with a version `1` policy, and all of the conditions in the version `3` policy
2865
+ # are lost.
3436
2866
  # Corresponds to the JSON property `etag`
3437
2867
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
3438
2868
  # @return [String]
3439
2869
  attr_accessor :etag
3440
2870
 
3441
- # Specifies the format of the policy.
3442
- # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
3443
- # are rejected.
3444
- # Any operation that affects conditional role bindings must specify version
3445
- # `3`. This requirement applies to the following operations:
3446
- # * Getting a policy that includes a conditional role binding
3447
- # * Adding a conditional role binding to a policy
3448
- # * Changing a conditional role binding in a policy
3449
- # * Removing any role binding, with or without a condition, from a policy
3450
- # that includes conditions
3451
- # **Important:** If you use IAM Conditions, you must include the `etag` field
3452
- # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
3453
- # you to overwrite a version `3` policy with a version `1` policy, and all of
3454
- # the conditions in the version `3` policy are lost.
3455
- # If a policy does not include any conditions, operations on that policy may
3456
- # specify any valid version or leave the field unset.
3457
- # To learn which resources support conditions in their IAM policies, see the
3458
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
3459
- # policies).
2871
+ # Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
2872
+ # Requests that specify an invalid value are rejected. Any operation that
2873
+ # affects conditional role bindings must specify version `3`. This requirement
2874
+ # applies to the following operations: * Getting a policy that includes a
2875
+ # conditional role binding * Adding a conditional role binding to a policy *
2876
+ # Changing a conditional role binding in a policy * Removing any role binding,
2877
+ # with or without a condition, from a policy that includes conditions **
2878
+ # Important:** If you use IAM Conditions, you must include the `etag` field
2879
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
2880
+ # to overwrite a version `3` policy with a version `1` policy, and all of the
2881
+ # conditions in the version `3` policy are lost. If a policy does not include
2882
+ # any conditions, operations on that policy may specify any valid version or
2883
+ # leave the field unset. To learn which resources support conditions in their
2884
+ # IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
2885
+ # conditions/resource-policies).
3460
2886
  # Corresponds to the JSON property `version`
3461
2887
  # @return [Fixnum]
3462
2888
  attr_accessor :version
@@ -3474,46 +2900,25 @@ module Google
3474
2900
  end
3475
2901
  end
3476
2902
 
3477
- # Quota configuration helps to achieve fairness and budgeting in service
3478
- # usage.
3479
- # The metric based quota configuration works this way:
3480
- # - The service configuration defines a set of metrics.
3481
- # - For API calls, the quota.metric_rules maps methods to metrics with
3482
- # corresponding costs.
3483
- # - The quota.limits defines limits on the metrics, which will be used for
3484
- # quota checks at runtime.
3485
- # An example quota configuration in yaml format:
3486
- # quota:
3487
- # limits:
3488
- # - name: apiWriteQpsPerProject
3489
- # metric: library.googleapis.com/write_calls
3490
- # unit: "1/min/`project`" # rate limit for consumer projects
3491
- # values:
3492
- # STANDARD: 10000
3493
- # # The metric rules bind all methods to the read_calls metric,
3494
- # # except for the UpdateBook and DeleteBook methods. These two methods
3495
- # # are mapped to the write_calls metric, with the UpdateBook method
3496
- # # consuming at twice rate as the DeleteBook method.
3497
- # metric_rules:
3498
- # - selector: "*"
3499
- # metric_costs:
3500
- # library.googleapis.com/read_calls: 1
3501
- # - selector: google.example.library.v1.LibraryService.UpdateBook
3502
- # metric_costs:
3503
- # library.googleapis.com/write_calls: 2
3504
- # - selector: google.example.library.v1.LibraryService.DeleteBook
3505
- # metric_costs:
3506
- # library.googleapis.com/write_calls: 1
3507
- # Corresponding Metric definition:
3508
- # metrics:
3509
- # - name: library.googleapis.com/read_calls
3510
- # display_name: Read requests
3511
- # metric_kind: DELTA
3512
- # value_type: INT64
3513
- # - name: library.googleapis.com/write_calls
3514
- # display_name: Write requests
3515
- # metric_kind: DELTA
3516
- # value_type: INT64
2903
+ # Quota configuration helps to achieve fairness and budgeting in service usage.
2904
+ # The metric based quota configuration works this way: - The service
2905
+ # configuration defines a set of metrics. - For API calls, the quota.
2906
+ # metric_rules maps methods to metrics with corresponding costs. - The quota.
2907
+ # limits defines limits on the metrics, which will be used for quota checks at
2908
+ # runtime. An example quota configuration in yaml format: quota: limits: - name:
2909
+ # apiWriteQpsPerProject metric: library.googleapis.com/write_calls unit: "1/min/`
2910
+ # project`" # rate limit for consumer projects values: STANDARD: 10000 # The
2911
+ # metric rules bind all methods to the read_calls metric, # except for the
2912
+ # UpdateBook and DeleteBook methods. These two methods # are mapped to the
2913
+ # write_calls metric, with the UpdateBook method # consuming at twice rate as
2914
+ # the DeleteBook method. metric_rules: - selector: "*" metric_costs: library.
2915
+ # googleapis.com/read_calls: 1 - selector: google.example.library.v1.
2916
+ # LibraryService.UpdateBook metric_costs: library.googleapis.com/write_calls: 2 -
2917
+ # selector: google.example.library.v1.LibraryService.DeleteBook metric_costs:
2918
+ # library.googleapis.com/write_calls: 1 Corresponding Metric definition: metrics:
2919
+ # - name: library.googleapis.com/read_calls display_name: Read requests
2920
+ # metric_kind: DELTA value_type: INT64 - name: library.googleapis.com/
2921
+ # write_calls display_name: Write requests metric_kind: DELTA value_type: INT64
3517
2922
  class Quota
3518
2923
  include Google::Apis::Core::Hashable
3519
2924
 
@@ -3522,8 +2927,8 @@ module Google
3522
2927
  # @return [Array<Google::Apis::ServicemanagementV1::QuotaLimit>]
3523
2928
  attr_accessor :limits
3524
2929
 
3525
- # List of `MetricRule` definitions, each one mapping a selected method to one
3526
- # or more metrics.
2930
+ # List of `MetricRule` definitions, each one mapping a selected method to one or
2931
+ # more metrics.
3527
2932
  # Corresponds to the JSON property `metricRules`
3528
2933
  # @return [Array<Google::Apis::ServicemanagementV1::MetricRule>]
3529
2934
  attr_accessor :metric_rules
@@ -3540,95 +2945,89 @@ module Google
3540
2945
  end
3541
2946
 
3542
2947
  # `QuotaLimit` defines a specific limit that applies over a specified duration
3543
- # for a limit type. There can be at most one limit for a duration and limit
3544
- # type combination defined within a `QuotaGroup`.
2948
+ # for a limit type. There can be at most one limit for a duration and limit type
2949
+ # combination defined within a `QuotaGroup`.
3545
2950
  class QuotaLimit
3546
2951
  include Google::Apis::Core::Hashable
3547
2952
 
3548
- # Default number of tokens that can be consumed during the specified
3549
- # duration. This is the number of tokens assigned when a client
3550
- # application developer activates the service for his/her project.
3551
- # Specifying a value of 0 will block all requests. This can be used if you
3552
- # are provisioning quota to selected consumers and blocking others.
3553
- # Similarly, a value of -1 will indicate an unlimited quota. No other
3554
- # negative values are allowed.
3555
- # Used by group-based quotas only.
2953
+ # Default number of tokens that can be consumed during the specified duration.
2954
+ # This is the number of tokens assigned when a client application developer
2955
+ # activates the service for his/her project. Specifying a value of 0 will block
2956
+ # all requests. This can be used if you are provisioning quota to selected
2957
+ # consumers and blocking others. Similarly, a value of -1 will indicate an
2958
+ # unlimited quota. No other negative values are allowed. Used by group-based
2959
+ # quotas only.
3556
2960
  # Corresponds to the JSON property `defaultLimit`
3557
2961
  # @return [Fixnum]
3558
2962
  attr_accessor :default_limit
3559
2963
 
3560
- # Optional. User-visible, extended description for this quota limit.
3561
- # Should be used only when more context is needed to understand this limit
3562
- # than provided by the limit's display name (see: `display_name`).
2964
+ # Optional. User-visible, extended description for this quota limit. Should be
2965
+ # used only when more context is needed to understand this limit than provided
2966
+ # by the limit's display name (see: `display_name`).
3563
2967
  # Corresponds to the JSON property `description`
3564
2968
  # @return [String]
3565
2969
  attr_accessor :description
3566
2970
 
3567
- # User-visible display name for this limit.
3568
- # Optional. If not set, the UI will provide a default display name based on
3569
- # the quota configuration. This field can be used to override the default
3570
- # display name generated from the configuration.
2971
+ # User-visible display name for this limit. Optional. If not set, the UI will
2972
+ # provide a default display name based on the quota configuration. This field
2973
+ # can be used to override the default display name generated from the
2974
+ # configuration.
3571
2975
  # Corresponds to the JSON property `displayName`
3572
2976
  # @return [String]
3573
2977
  attr_accessor :display_name
3574
2978
 
3575
- # Duration of this limit in textual notation. Must be "100s" or "1d".
3576
- # Used by group-based quotas only.
2979
+ # Duration of this limit in textual notation. Must be "100s" or "1d". Used by
2980
+ # group-based quotas only.
3577
2981
  # Corresponds to the JSON property `duration`
3578
2982
  # @return [String]
3579
2983
  attr_accessor :duration
3580
2984
 
3581
- # Free tier value displayed in the Developers Console for this limit.
3582
- # The free tier is the number of tokens that will be subtracted from the
3583
- # billed amount when billing is enabled.
3584
- # This field can only be set on a limit with duration "1d", in a billable
3585
- # group; it is invalid on any other limit. If this field is not set, it
3586
- # defaults to 0, indicating that there is no free tier for this service.
3587
- # Used by group-based quotas only.
2985
+ # Free tier value displayed in the Developers Console for this limit. The free
2986
+ # tier is the number of tokens that will be subtracted from the billed amount
2987
+ # when billing is enabled. This field can only be set on a limit with duration "
2988
+ # 1d", in a billable group; it is invalid on any other limit. If this field is
2989
+ # not set, it defaults to 0, indicating that there is no free tier for this
2990
+ # service. Used by group-based quotas only.
3588
2991
  # Corresponds to the JSON property `freeTier`
3589
2992
  # @return [Fixnum]
3590
2993
  attr_accessor :free_tier
3591
2994
 
3592
- # Maximum number of tokens that can be consumed during the specified
3593
- # duration. Client application developers can override the default limit up
3594
- # to this maximum. If specified, this value cannot be set to a value less
3595
- # than the default limit. If not specified, it is set to the default limit.
3596
- # To allow clients to apply overrides with no upper bound, set this to -1,
3597
- # indicating unlimited maximum quota.
3598
- # Used by group-based quotas only.
2995
+ # Maximum number of tokens that can be consumed during the specified duration.
2996
+ # Client application developers can override the default limit up to this
2997
+ # maximum. If specified, this value cannot be set to a value less than the
2998
+ # default limit. If not specified, it is set to the default limit. To allow
2999
+ # clients to apply overrides with no upper bound, set this to -1, indicating
3000
+ # unlimited maximum quota. Used by group-based quotas only.
3599
3001
  # Corresponds to the JSON property `maxLimit`
3600
3002
  # @return [Fixnum]
3601
3003
  attr_accessor :max_limit
3602
3004
 
3603
- # The name of the metric this quota limit applies to. The quota limits with
3604
- # the same metric will be checked together during runtime. The metric must be
3005
+ # The name of the metric this quota limit applies to. The quota limits with the
3006
+ # same metric will be checked together during runtime. The metric must be
3605
3007
  # defined within the service config.
3606
3008
  # Corresponds to the JSON property `metric`
3607
3009
  # @return [String]
3608
3010
  attr_accessor :metric
3609
3011
 
3610
- # Name of the quota limit.
3611
- # The name must be provided, and it must be unique within the service. The
3612
- # name can only include alphanumeric characters as well as '-'.
3613
- # The maximum length of the limit name is 64 characters.
3012
+ # Name of the quota limit. The name must be provided, and it must be unique
3013
+ # within the service. The name can only include alphanumeric characters as well
3014
+ # as '-'. The maximum length of the limit name is 64 characters.
3614
3015
  # Corresponds to the JSON property `name`
3615
3016
  # @return [String]
3616
3017
  attr_accessor :name
3617
3018
 
3618
- # Specify the unit of the quota limit. It uses the same syntax as
3619
- # Metric.unit. The supported unit kinds are determined by the quota
3620
- # backend system.
3621
- # Here are some examples:
3622
- # * "1/min/`project`" for quota per minute per project.
3623
- # Note: the order of unit components is insignificant.
3624
- # The "1" at the beginning is required to follow the metric unit syntax.
3019
+ # Specify the unit of the quota limit. It uses the same syntax as Metric.unit.
3020
+ # The supported unit kinds are determined by the quota backend system. Here are
3021
+ # some examples: * "1/min/`project`" for quota per minute per project. Note: the
3022
+ # order of unit components is insignificant. The "1" at the beginning is
3023
+ # required to follow the metric unit syntax.
3625
3024
  # Corresponds to the JSON property `unit`
3626
3025
  # @return [String]
3627
3026
  attr_accessor :unit
3628
3027
 
3629
3028
  # Tiered limit values. You must specify this as a key:value pair, with an
3630
- # integer value that is the maximum number of requests allowed for the
3631
- # specified unit. Currently only STANDARD is supported.
3029
+ # integer value that is the maximum number of requests allowed for the specified
3030
+ # unit. Currently only STANDARD is supported.
3632
3031
  # Corresponds to the JSON property `values`
3633
3032
  # @return [Hash<String,Fixnum>]
3634
3033
  attr_accessor :values
@@ -3652,39 +3051,26 @@ module Google
3652
3051
  end
3653
3052
  end
3654
3053
 
3655
- # Defines a proto annotation that describes a string field that refers to
3656
- # an API resource.
3054
+ # Defines a proto annotation that describes a string field that refers to an API
3055
+ # resource.
3657
3056
  class ResourceReference
3658
3057
  include Google::Apis::Core::Hashable
3659
3058
 
3660
- # The resource type of a child collection that the annotated field
3661
- # references. This is useful for annotating the `parent` field that
3662
- # doesn't have a fixed resource type.
3663
- # Example:
3664
- # message ListLogEntriesRequest `
3665
- # string parent = 1 [(google.api.resource_reference) = `
3666
- # child_type: "logging.googleapis.com/LogEntry"
3667
- # `;
3668
- # `
3059
+ # The resource type of a child collection that the annotated field references.
3060
+ # This is useful for annotating the `parent` field that doesn't have a fixed
3061
+ # resource type. Example: message ListLogEntriesRequest ` string parent = 1 [(
3062
+ # google.api.resource_reference) = ` child_type: "logging.googleapis.com/
3063
+ # LogEntry" `; `
3669
3064
  # Corresponds to the JSON property `childType`
3670
3065
  # @return [String]
3671
3066
  attr_accessor :child_type
3672
3067
 
3673
- # The resource type that the annotated field references.
3674
- # Example:
3675
- # message Subscription `
3676
- # string topic = 2 [(google.api.resource_reference) = `
3677
- # type: "pubsub.googleapis.com/Topic"
3678
- # `];
3679
- # `
3680
- # Occasionally, a field may reference an arbitrary resource. In this case,
3681
- # APIs use the special value * in their resource reference.
3682
- # Example:
3683
- # message GetIamPolicyRequest `
3684
- # string resource = 2 [(google.api.resource_reference) = `
3685
- # type: "*"
3686
- # `];
3687
- # `
3068
+ # The resource type that the annotated field references. Example: message
3069
+ # Subscription ` string topic = 2 [(google.api.resource_reference) = ` type: "
3070
+ # pubsub.googleapis.com/Topic" `]; ` Occasionally, a field may reference an
3071
+ # arbitrary resource. In this case, APIs use the special value * in their
3072
+ # resource reference. Example: message GetIamPolicyRequest ` string resource = 2
3073
+ # [(google.api.resource_reference) = ` type: "*" `]; `
3688
3074
  # Corresponds to the JSON property `type`
3689
3075
  # @return [String]
3690
3076
  attr_accessor :type
@@ -3701,8 +3087,8 @@ module Google
3701
3087
  end
3702
3088
 
3703
3089
  # A rollout resource that defines how service configuration versions are pushed
3704
- # to control plane systems. Typically, you create a new version of the
3705
- # service config, and then create a Rollout to push the service config.
3090
+ # to control plane systems. Typically, you create a new version of the service
3091
+ # config, and then create a Rollout to push the service config.
3706
3092
  class Rollout
3707
3093
  include Google::Apis::Core::Hashable
3708
3094
 
@@ -3711,26 +3097,25 @@ module Google
3711
3097
  # @return [String]
3712
3098
  attr_accessor :create_time
3713
3099
 
3714
- # This field is deprecated and will be deleted. Please remove usage of
3715
- # this field.
3100
+ # This field is deprecated and will be deleted. Please remove usage of this
3101
+ # field.
3716
3102
  # Corresponds to the JSON property `createdBy`
3717
3103
  # @return [String]
3718
3104
  attr_accessor :created_by
3719
3105
 
3720
- # Strategy used to delete a service. This strategy is a placeholder only
3721
- # used by the system generated rollout to delete a service.
3106
+ # Strategy used to delete a service. This strategy is a placeholder only used by
3107
+ # the system generated rollout to delete a service.
3722
3108
  # Corresponds to the JSON property `deleteServiceStrategy`
3723
3109
  # @return [Google::Apis::ServicemanagementV1::DeleteServiceStrategy]
3724
3110
  attr_accessor :delete_service_strategy
3725
3111
 
3726
3112
  # Optional. Unique identifier of this Rollout. Must be no longer than 63
3727
- # characters
3728
- # and only lower case letters, digits, '.', '_' and '-' are allowed.
3113
+ # characters and only lower case letters, digits, '.', '_' and '-' are allowed.
3729
3114
  # If not specified by client, the server will generate one. The generated id
3730
- # will have the form of <date><revision number>, where "date" is the create
3731
- # date in ISO 8601 format. "revision number" is a monotonically increasing
3732
- # positive number that is reset every day for each service.
3733
- # An example of the generated rollout_id is '2016-02-16r1'
3115
+ # will have the form of , where "date" is the create date in ISO 8601 format. "
3116
+ # revision number" is a monotonically increasing positive number that is reset
3117
+ # every day for each service. An example of the generated rollout_id is '2016-02-
3118
+ # 16r1'
3734
3119
  # Corresponds to the JSON property `rolloutId`
3735
3120
  # @return [String]
3736
3121
  attr_accessor :rollout_id
@@ -3740,39 +3125,21 @@ module Google
3740
3125
  # @return [String]
3741
3126
  attr_accessor :service_name
3742
3127
 
3743
- # The status of this rollout. Readonly. In case of a failed rollout,
3744
- # the system will automatically rollback to the current Rollout
3745
- # version. Readonly.
3128
+ # The status of this rollout. Readonly. In case of a failed rollout, the system
3129
+ # will automatically rollback to the current Rollout version. Readonly.
3746
3130
  # Corresponds to the JSON property `status`
3747
3131
  # @return [String]
3748
3132
  attr_accessor :status
3749
3133
 
3750
- # Strategy that specifies how clients of Google Service Controller want to
3751
- # send traffic to use different config versions. This is generally
3752
- # used by API proxy to split traffic based on your configured percentage for
3753
- # each config version.
3754
- # One example of how to gradually rollout a new service configuration using
3755
- # this
3756
- # strategy:
3757
- # Day 1
3758
- # Rollout `
3759
- # id: "example.googleapis.com/rollout_20160206"
3760
- # traffic_percent_strategy `
3761
- # percentages: `
3762
- # "example.googleapis.com/20160201": 70.00
3763
- # "example.googleapis.com/20160206": 30.00
3764
- # `
3765
- # `
3766
- # `
3767
- # Day 2
3768
- # Rollout `
3769
- # id: "example.googleapis.com/rollout_20160207"
3770
- # traffic_percent_strategy: `
3771
- # percentages: `
3772
- # "example.googleapis.com/20160206": 100.00
3773
- # `
3774
- # `
3775
- # `
3134
+ # Strategy that specifies how clients of Google Service Controller want to send
3135
+ # traffic to use different config versions. This is generally used by API proxy
3136
+ # to split traffic based on your configured percentage for each config version.
3137
+ # One example of how to gradually rollout a new service configuration using this
3138
+ # strategy: Day 1 Rollout ` id: "example.googleapis.com/rollout_20160206"
3139
+ # traffic_percent_strategy ` percentages: ` "example.googleapis.com/20160201":
3140
+ # 70.00 "example.googleapis.com/20160206": 30.00 ` ` ` Day 2 Rollout ` id: "
3141
+ # example.googleapis.com/rollout_20160207" traffic_percent_strategy: `
3142
+ # percentages: ` "example.googleapis.com/20160206": 100.00 ` ` `
3776
3143
  # Corresponds to the JSON property `trafficPercentStrategy`
3777
3144
  # @return [Google::Apis::ServicemanagementV1::TrafficPercentStrategy]
3778
3145
  attr_accessor :traffic_percent_strategy
@@ -3794,50 +3161,32 @@ module Google
3794
3161
  end
3795
3162
 
3796
3163
  # `Service` is the root object of Google service configuration schema. It
3797
- # describes basic information about a service, such as the name and the
3798
- # title, and delegates other aspects to sub-sections. Each sub-section is
3799
- # either a proto message or a repeated proto message that configures a
3800
- # specific aspect, such as auth. See each proto message definition for details.
3801
- # Example:
3802
- # type: google.api.Service
3803
- # config_version: 3
3804
- # name: calendar.googleapis.com
3805
- # title: Google Calendar API
3806
- # apis:
3807
- # - name: google.calendar.v3.Calendar
3808
- # authentication:
3809
- # providers:
3810
- # - id: google_calendar_auth
3811
- # jwks_uri: https://www.googleapis.com/oauth2/v1/certs
3812
- # issuer: https://securetoken.google.com
3813
- # rules:
3814
- # - selector: "*"
3815
- # requirements:
3816
- # provider_id: google_calendar_auth
3164
+ # describes basic information about a service, such as the name and the title,
3165
+ # and delegates other aspects to sub-sections. Each sub-section is either a
3166
+ # proto message or a repeated proto message that configures a specific aspect,
3167
+ # such as auth. See each proto message definition for details. Example: type:
3168
+ # google.api.Service config_version: 3 name: calendar.googleapis.com title:
3169
+ # Google Calendar API apis: - name: google.calendar.v3.Calendar authentication:
3170
+ # providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/
3171
+ # oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: "*"
3172
+ # requirements: provider_id: google_calendar_auth
3817
3173
  class Service
3818
3174
  include Google::Apis::Core::Hashable
3819
3175
 
3820
- # A list of API interfaces exported by this service. Only the `name` field
3821
- # of the google.protobuf.Api needs to be provided by the configuration
3822
- # author, as the remaining fields will be derived from the IDL during the
3823
- # normalization process. It is an error to specify an API interface here
3824
- # which cannot be resolved against the associated IDL files.
3176
+ # A list of API interfaces exported by this service. Only the `name` field of
3177
+ # the google.protobuf.Api needs to be provided by the configuration author, as
3178
+ # the remaining fields will be derived from the IDL during the normalization
3179
+ # process. It is an error to specify an API interface here which cannot be
3180
+ # resolved against the associated IDL files.
3825
3181
  # Corresponds to the JSON property `apis`
3826
3182
  # @return [Array<Google::Apis::ServicemanagementV1::Api>]
3827
3183
  attr_accessor :apis
3828
3184
 
3829
- # `Authentication` defines the authentication configuration for an API.
3830
- # Example for an API targeted for external use:
3831
- # name: calendar.googleapis.com
3832
- # authentication:
3833
- # providers:
3834
- # - id: google_calendar_auth
3835
- # jwks_uri: https://www.googleapis.com/oauth2/v1/certs
3836
- # issuer: https://securetoken.google.com
3837
- # rules:
3838
- # - selector: "*"
3839
- # requirements:
3840
- # provider_id: google_calendar_auth
3185
+ # `Authentication` defines the authentication configuration for an API. Example
3186
+ # for an API targeted for external use: name: calendar.googleapis.com
3187
+ # authentication: providers: - id: google_calendar_auth jwks_uri: https://www.
3188
+ # googleapis.com/oauth2/v1/certs issuer: https://securetoken.google.com rules: -
3189
+ # selector: "*" requirements: provider_id: google_calendar_auth
3841
3190
  # Corresponds to the JSON property `authentication`
3842
3191
  # @return [Google::Apis::ServicemanagementV1::Authentication]
3843
3192
  attr_accessor :authentication
@@ -3847,211 +3196,133 @@ module Google
3847
3196
  # @return [Google::Apis::ServicemanagementV1::Backend]
3848
3197
  attr_accessor :backend
3849
3198
 
3850
- # Billing related configuration of the service.
3851
- # The following example shows how to configure monitored resources and metrics
3852
- # for billing, `consumer_destinations` is the only supported destination and
3853
- # the monitored resources need at least one label key
3854
- # `cloud.googleapis.com/location` to indicate the location of the billing
3855
- # usage, using different monitored resources between monitoring and billing is
3856
- # recommended so they can be evolved independently:
3857
- # monitored_resources:
3858
- # - type: library.googleapis.com/billing_branch
3859
- # labels:
3860
- # - key: cloud.googleapis.com/location
3861
- # description: |
3862
- # Predefined label to support billing location restriction.
3863
- # - key: city
3864
- # description: |
3865
- # Custom label to define the city where the library branch is located
3866
- # in.
3867
- # - key: name
3868
- # description: Custom label to define the name of the library branch.
3869
- # metrics:
3870
- # - name: library.googleapis.com/book/borrowed_count
3871
- # metric_kind: DELTA
3872
- # value_type: INT64
3873
- # unit: "1"
3874
- # billing:
3875
- # consumer_destinations:
3876
- # - monitored_resource: library.googleapis.com/billing_branch
3877
- # metrics:
3878
- # - library.googleapis.com/book/borrowed_count
3199
+ # Billing related configuration of the service. The following example shows how
3200
+ # to configure monitored resources and metrics for billing, `
3201
+ # consumer_destinations` is the only supported destination and the monitored
3202
+ # resources need at least one label key `cloud.googleapis.com/location` to
3203
+ # indicate the location of the billing usage, using different monitored
3204
+ # resources between monitoring and billing is recommended so they can be evolved
3205
+ # independently: monitored_resources: - type: library.googleapis.com/
3206
+ # billing_branch labels: - key: cloud.googleapis.com/location description: |
3207
+ # Predefined label to support billing location restriction. - key: city
3208
+ # description: | Custom label to define the city where the library branch is
3209
+ # located in. - key: name description: Custom label to define the name of the
3210
+ # library branch. metrics: - name: library.googleapis.com/book/borrowed_count
3211
+ # metric_kind: DELTA value_type: INT64 unit: "1" billing: consumer_destinations:
3212
+ # - monitored_resource: library.googleapis.com/billing_branch metrics: - library.
3213
+ # googleapis.com/book/borrowed_count
3879
3214
  # Corresponds to the JSON property `billing`
3880
3215
  # @return [Google::Apis::ServicemanagementV1::Billing]
3881
3216
  attr_accessor :billing
3882
3217
 
3883
- # The semantic version of the service configuration. The config version
3884
- # affects the interpretation of the service configuration. For example,
3885
- # certain features are enabled by default for certain config versions.
3886
- # The latest config version is `3`.
3218
+ # This field is obsolete. Its value must be set to `3`.
3887
3219
  # Corresponds to the JSON property `configVersion`
3888
3220
  # @return [Fixnum]
3889
3221
  attr_accessor :config_version
3890
3222
 
3891
- # `Context` defines which contexts an API requests.
3892
- # Example:
3893
- # context:
3894
- # rules:
3895
- # - selector: "*"
3896
- # requested:
3897
- # - google.rpc.context.ProjectContext
3898
- # - google.rpc.context.OriginContext
3899
- # The above specifies that all methods in the API request
3900
- # `google.rpc.context.ProjectContext` and
3901
- # `google.rpc.context.OriginContext`.
3902
- # Available context types are defined in package
3903
- # `google.rpc.context`.
3904
- # This also provides mechanism to whitelist any protobuf message extension that
3905
- # can be sent in grpc metadata using “x-goog-ext-<extension_id>-bin” and
3906
- # “x-goog-ext-<extension_id>-jspb” format. For example, list any service
3907
- # specific protobuf types that can appear in grpc metadata as follows in your
3908
- # yaml file:
3909
- # Example:
3910
- # context:
3911
- # rules:
3912
- # - selector: "google.example.library.v1.LibraryService.CreateBook"
3913
- # allowed_request_extensions:
3914
- # - google.foo.v1.NewExtension
3915
- # allowed_response_extensions:
3916
- # - google.foo.v1.NewExtension
3917
- # You can also specify extension ID instead of fully qualified extension name
3918
- # here.
3223
+ # `Context` defines which contexts an API requests. Example: context: rules: -
3224
+ # selector: "*" requested: - google.rpc.context.ProjectContext - google.rpc.
3225
+ # context.OriginContext The above specifies that all methods in the API request `
3226
+ # google.rpc.context.ProjectContext` and `google.rpc.context.OriginContext`.
3227
+ # Available context types are defined in package `google.rpc.context`. This also
3228
+ # provides mechanism to allowlist any protobuf message extension that can be
3229
+ # sent in grpc metadata using “x-goog-ext--bin” and “x-goog-ext--jspb” format.
3230
+ # For example, list any service specific protobuf types that can appear in grpc
3231
+ # metadata as follows in your yaml file: Example: context: rules: - selector: "
3232
+ # google.example.library.v1.LibraryService.CreateBook"
3233
+ # allowed_request_extensions: - google.foo.v1.NewExtension
3234
+ # allowed_response_extensions: - google.foo.v1.NewExtension You can also specify
3235
+ # extension ID instead of fully qualified extension name here.
3919
3236
  # Corresponds to the JSON property `context`
3920
3237
  # @return [Google::Apis::ServicemanagementV1::Context]
3921
3238
  attr_accessor :context
3922
3239
 
3923
- # Selects and configures the service controller used by the service. The
3924
- # service controller handles features like abuse, quota, billing, logging,
3925
- # monitoring, etc.
3240
+ # Selects and configures the service controller used by the service. The service
3241
+ # controller handles features like abuse, quota, billing, logging, monitoring,
3242
+ # etc.
3926
3243
  # Corresponds to the JSON property `control`
3927
3244
  # @return [Google::Apis::ServicemanagementV1::Control]
3928
3245
  attr_accessor :control
3929
3246
 
3930
- # Customize service error responses. For example, list any service
3931
- # specific protobuf types that can appear in error detail lists of
3932
- # error responses.
3933
- # Example:
3934
- # custom_error:
3935
- # types:
3936
- # - google.foo.v1.CustomError
3937
- # - google.foo.v1.AnotherError
3247
+ # Customize service error responses. For example, list any service specific
3248
+ # protobuf types that can appear in error detail lists of error responses.
3249
+ # Example: custom_error: types: - google.foo.v1.CustomError - google.foo.v1.
3250
+ # AnotherError
3938
3251
  # Corresponds to the JSON property `customError`
3939
3252
  # @return [Google::Apis::ServicemanagementV1::CustomError]
3940
3253
  attr_accessor :custom_error
3941
3254
 
3942
- # `Documentation` provides the information for describing a service.
3943
- # Example:
3944
- # <pre><code>documentation:
3945
- # summary: >
3946
- # The Google Calendar API gives access
3947
- # to most calendar features.
3948
- # pages:
3949
- # - name: Overview
3950
- # content: &#40;== include google/foo/overview.md ==&#41;
3951
- # - name: Tutorial
3952
- # content: &#40;== include google/foo/tutorial.md ==&#41;
3953
- # subpages;
3954
- # - name: Java
3955
- # content: &#40;== include google/foo/tutorial_java.md ==&#41;
3956
- # rules:
3957
- # - selector: google.calendar.Calendar.Get
3958
- # description: >
3959
- # ...
3960
- # - selector: google.calendar.Calendar.Put
3961
- # description: >
3962
- # ...
3963
- # </code></pre>
3964
- # Documentation is provided in markdown syntax. In addition to
3965
- # standard markdown features, definition lists, tables and fenced
3966
- # code blocks are supported. Section headers can be provided and are
3967
- # interpreted relative to the section nesting of the context where
3968
- # a documentation fragment is embedded.
3969
- # Documentation from the IDL is merged with documentation defined
3970
- # via the config at normalization time, where documentation provided
3971
- # by config rules overrides IDL provided.
3972
- # A number of constructs specific to the API platform are supported
3973
- # in documentation text.
3974
- # In order to reference a proto element, the following
3975
- # notation can be used:
3976
- # <pre><code>&#91;fully.qualified.proto.name]&#91;]</code></pre>
3977
- # To override the display text used for the link, this can be used:
3978
- # <pre><code>&#91;display text]&#91;fully.qualified.proto.name]</code></pre>
3979
- # Text can be excluded from doc using the following notation:
3980
- # <pre><code>&#40;-- internal comment --&#41;</code></pre>
3981
- # A few directives are available in documentation. Note that
3982
- # directives must appear on a single line to be properly
3983
- # identified. The `include` directive includes a markdown file from
3984
- # an external source:
3985
- # <pre><code>&#40;== include path/to/file ==&#41;</code></pre>
3986
- # The `resource_for` directive marks a message to be the resource of
3987
- # a collection in REST view. If it is not specified, tools attempt
3988
- # to infer the resource from the operations in a collection:
3989
- # <pre><code>&#40;== resource_for v1.shelves.books ==&#41;</code></pre>
3990
- # The directive `suppress_warning` does not directly affect documentation
3991
- # and is documented together with service config validation.
3255
+ # `Documentation` provides the information for describing a service. Example:
3256
+ # documentation: summary: > The Google Calendar API gives access to most
3257
+ # calendar features. pages: - name: Overview content: (== include google/foo/
3258
+ # overview.md ==) - name: Tutorial content: (== include google/foo/tutorial.md ==
3259
+ # ) subpages; - name: Java content: (== include google/foo/tutorial_java.md ==)
3260
+ # rules: - selector: google.calendar.Calendar.Get description: > ... - selector:
3261
+ # google.calendar.Calendar.Put description: > ... Documentation is provided in
3262
+ # markdown syntax. In addition to standard markdown features, definition lists,
3263
+ # tables and fenced code blocks are supported. Section headers can be provided
3264
+ # and are interpreted relative to the section nesting of the context where a
3265
+ # documentation fragment is embedded. Documentation from the IDL is merged with
3266
+ # documentation defined via the config at normalization time, where
3267
+ # documentation provided by config rules overrides IDL provided. A number of
3268
+ # constructs specific to the API platform are supported in documentation text.
3269
+ # In order to reference a proto element, the following notation can be used: [
3270
+ # fully.qualified.proto.name][] To override the display text used for the link,
3271
+ # this can be used: [display text][fully.qualified.proto.name] Text can be
3272
+ # excluded from doc using the following notation: (-- internal comment --) A few
3273
+ # directives are available in documentation. Note that directives must appear on
3274
+ # a single line to be properly identified. The `include` directive includes a
3275
+ # markdown file from an external source: (== include path/to/file ==) The `
3276
+ # resource_for` directive marks a message to be the resource of a collection in
3277
+ # REST view. If it is not specified, tools attempt to infer the resource from
3278
+ # the operations in a collection: (== resource_for v1.shelves.books ==) The
3279
+ # directive `suppress_warning` does not directly affect documentation and is
3280
+ # documented together with service config validation.
3992
3281
  # Corresponds to the JSON property `documentation`
3993
3282
  # @return [Google::Apis::ServicemanagementV1::Documentation]
3994
3283
  attr_accessor :documentation
3995
3284
 
3996
- # Configuration for network endpoints. If this is empty, then an endpoint
3997
- # with the same name as the service is automatically generated to service all
3998
- # defined APIs.
3285
+ # Configuration for network endpoints. If this is empty, then an endpoint with
3286
+ # the same name as the service is automatically generated to service all defined
3287
+ # APIs.
3999
3288
  # Corresponds to the JSON property `endpoints`
4000
3289
  # @return [Array<Google::Apis::ServicemanagementV1::Endpoint>]
4001
3290
  attr_accessor :endpoints
4002
3291
 
4003
- # A list of all enum types included in this API service. Enums
4004
- # referenced directly or indirectly by the `apis` are automatically
4005
- # included. Enums which are not referenced but shall be included
4006
- # should be listed here by name. Example:
4007
- # enums:
4008
- # - name: google.someapi.v1.SomeEnum
3292
+ # A list of all enum types included in this API service. Enums referenced
3293
+ # directly or indirectly by the `apis` are automatically included. Enums which
3294
+ # are not referenced but shall be included should be listed here by name.
3295
+ # Example: enums: - name: google.someapi.v1.SomeEnum
4009
3296
  # Corresponds to the JSON property `enums`
4010
3297
  # @return [Array<Google::Apis::ServicemanagementV1::Enum>]
4011
3298
  attr_accessor :enums
4012
3299
 
4013
3300
  # Defines the HTTP configuration for an API service. It contains a list of
4014
- # HttpRule, each specifying the mapping of an RPC method
4015
- # to one or more HTTP REST API methods.
3301
+ # HttpRule, each specifying the mapping of an RPC method to one or more HTTP
3302
+ # REST API methods.
4016
3303
  # Corresponds to the JSON property `http`
4017
3304
  # @return [Google::Apis::ServicemanagementV1::Http]
4018
3305
  attr_accessor :http
4019
3306
 
4020
- # A unique ID for a specific instance of this message, typically assigned
4021
- # by the client for tracking purpose. Must be no longer than 63 characters
4022
- # and only lower case letters, digits, '.', '_' and '-' are allowed. If
4023
- # empty, the server may choose to generate one instead.
3307
+ # A unique ID for a specific instance of this message, typically assigned by the
3308
+ # client for tracking purpose. Must be no longer than 63 characters and only
3309
+ # lower case letters, digits, '.', '_' and '-' are allowed. If empty, the server
3310
+ # may choose to generate one instead.
4024
3311
  # Corresponds to the JSON property `id`
4025
3312
  # @return [String]
4026
3313
  attr_accessor :id
4027
3314
 
4028
- # Logging configuration of the service.
4029
- # The following example shows how to configure logs to be sent to the
4030
- # producer and consumer projects. In the example, the `activity_history`
4031
- # log is sent to both the producer and consumer projects, whereas the
4032
- # `purchase_history` log is only sent to the producer project.
4033
- # monitored_resources:
4034
- # - type: library.googleapis.com/branch
4035
- # labels:
4036
- # - key: /city
4037
- # description: The city where the library branch is located in.
4038
- # - key: /name
4039
- # description: The name of the branch.
4040
- # logs:
4041
- # - name: activity_history
4042
- # labels:
4043
- # - key: /customer_id
4044
- # - name: purchase_history
4045
- # logging:
4046
- # producer_destinations:
4047
- # - monitored_resource: library.googleapis.com/branch
4048
- # logs:
4049
- # - activity_history
4050
- # - purchase_history
4051
- # consumer_destinations:
4052
- # - monitored_resource: library.googleapis.com/branch
4053
- # logs:
4054
- # - activity_history
3315
+ # Logging configuration of the service. The following example shows how to
3316
+ # configure logs to be sent to the producer and consumer projects. In the
3317
+ # example, the `activity_history` log is sent to both the producer and consumer
3318
+ # projects, whereas the `purchase_history` log is only sent to the producer
3319
+ # project. monitored_resources: - type: library.googleapis.com/branch labels: -
3320
+ # key: /city description: The city where the library branch is located in. - key:
3321
+ # /name description: The name of the branch. logs: - name: activity_history
3322
+ # labels: - key: /customer_id - name: purchase_history logging:
3323
+ # producer_destinations: - monitored_resource: library.googleapis.com/branch
3324
+ # logs: - activity_history - purchase_history consumer_destinations: -
3325
+ # monitored_resource: library.googleapis.com/branch logs: - activity_history
4055
3326
  # Corresponds to the JSON property `logging`
4056
3327
  # @return [Google::Apis::ServicemanagementV1::Logging]
4057
3328
  attr_accessor :logging
@@ -4066,70 +3337,41 @@ module Google
4066
3337
  # @return [Array<Google::Apis::ServicemanagementV1::MetricDescriptor>]
4067
3338
  attr_accessor :metrics
4068
3339
 
4069
- # Defines the monitored resources used by this service. This is required
4070
- # by the Service.monitoring and Service.logging configurations.
3340
+ # Defines the monitored resources used by this service. This is required by the
3341
+ # Service.monitoring and Service.logging configurations.
4071
3342
  # Corresponds to the JSON property `monitoredResources`
4072
3343
  # @return [Array<Google::Apis::ServicemanagementV1::MonitoredResourceDescriptor>]
4073
3344
  attr_accessor :monitored_resources
4074
3345
 
4075
- # Monitoring configuration of the service.
4076
- # The example below shows how to configure monitored resources and metrics
4077
- # for monitoring. In the example, a monitored resource and two metrics are
4078
- # defined. The `library.googleapis.com/book/returned_count` metric is sent
4079
- # to both producer and consumer projects, whereas the
4080
- # `library.googleapis.com/book/num_overdue` metric is only sent to the
4081
- # consumer project.
4082
- # monitored_resources:
4083
- # - type: library.googleapis.com/Branch
4084
- # display_name: "Library Branch"
4085
- # description: "A branch of a library."
4086
- # launch_stage: GA
4087
- # labels:
4088
- # - key: resource_container
4089
- # description: "The Cloud container (ie. project id) for the Branch."
4090
- # - key: location
4091
- # description: "The location of the library branch."
4092
- # - key: branch_id
4093
- # description: "The id of the branch."
4094
- # metrics:
4095
- # - name: library.googleapis.com/book/returned_count
4096
- # display_name: "Books Returned"
4097
- # description: "The count of books that have been returned."
4098
- # launch_stage: GA
4099
- # metric_kind: DELTA
4100
- # value_type: INT64
4101
- # unit: "1"
4102
- # labels:
4103
- # - key: customer_id
4104
- # description: "The id of the customer."
4105
- # - name: library.googleapis.com/book/num_overdue
4106
- # display_name: "Books Overdue"
4107
- # description: "The current number of overdue books."
4108
- # launch_stage: GA
4109
- # metric_kind: GAUGE
4110
- # value_type: INT64
4111
- # unit: "1"
4112
- # labels:
4113
- # - key: customer_id
4114
- # description: "The id of the customer."
4115
- # monitoring:
4116
- # producer_destinations:
4117
- # - monitored_resource: library.googleapis.com/Branch
4118
- # metrics:
4119
- # - library.googleapis.com/book/returned_count
4120
- # consumer_destinations:
4121
- # - monitored_resource: library.googleapis.com/Branch
4122
- # metrics:
4123
- # - library.googleapis.com/book/returned_count
4124
- # - library.googleapis.com/book/num_overdue
3346
+ # Monitoring configuration of the service. The example below shows how to
3347
+ # configure monitored resources and metrics for monitoring. In the example, a
3348
+ # monitored resource and two metrics are defined. The `library.googleapis.com/
3349
+ # book/returned_count` metric is sent to both producer and consumer projects,
3350
+ # whereas the `library.googleapis.com/book/num_overdue` metric is only sent to
3351
+ # the consumer project. monitored_resources: - type: library.googleapis.com/
3352
+ # Branch display_name: "Library Branch" description: "A branch of a library."
3353
+ # launch_stage: GA labels: - key: resource_container description: "The Cloud
3354
+ # container (ie. project id) for the Branch." - key: location description: "The
3355
+ # location of the library branch." - key: branch_id description: "The id of the
3356
+ # branch." metrics: - name: library.googleapis.com/book/returned_count
3357
+ # display_name: "Books Returned" description: "The count of books that have been
3358
+ # returned." launch_stage: GA metric_kind: DELTA value_type: INT64 unit: "1"
3359
+ # labels: - key: customer_id description: "The id of the customer." - name:
3360
+ # library.googleapis.com/book/num_overdue display_name: "Books Overdue"
3361
+ # description: "The current number of overdue books." launch_stage: GA
3362
+ # metric_kind: GAUGE value_type: INT64 unit: "1" labels: - key: customer_id
3363
+ # description: "The id of the customer." monitoring: producer_destinations: -
3364
+ # monitored_resource: library.googleapis.com/Branch metrics: - library.
3365
+ # googleapis.com/book/returned_count consumer_destinations: - monitored_resource:
3366
+ # library.googleapis.com/Branch metrics: - library.googleapis.com/book/
3367
+ # returned_count - library.googleapis.com/book/num_overdue
4125
3368
  # Corresponds to the JSON property `monitoring`
4126
3369
  # @return [Google::Apis::ServicemanagementV1::Monitoring]
4127
3370
  attr_accessor :monitoring
4128
3371
 
4129
- # The service name, which is a DNS-like logical identifier for the
4130
- # service, such as `calendar.googleapis.com`. The service name
4131
- # typically goes through DNS verification to make sure the owner
4132
- # of the service also owns the DNS name.
3372
+ # The service name, which is a DNS-like logical identifier for the service, such
3373
+ # as `calendar.googleapis.com`. The service name typically goes through DNS
3374
+ # verification to make sure the owner of the service also owns the DNS name.
4133
3375
  # Corresponds to the JSON property `name`
4134
3376
  # @return [String]
4135
3377
  attr_accessor :name
@@ -4139,46 +3381,25 @@ module Google
4139
3381
  # @return [String]
4140
3382
  attr_accessor :producer_project_id
4141
3383
 
4142
- # Quota configuration helps to achieve fairness and budgeting in service
4143
- # usage.
4144
- # The metric based quota configuration works this way:
4145
- # - The service configuration defines a set of metrics.
4146
- # - For API calls, the quota.metric_rules maps methods to metrics with
4147
- # corresponding costs.
4148
- # - The quota.limits defines limits on the metrics, which will be used for
4149
- # quota checks at runtime.
4150
- # An example quota configuration in yaml format:
4151
- # quota:
4152
- # limits:
4153
- # - name: apiWriteQpsPerProject
4154
- # metric: library.googleapis.com/write_calls
4155
- # unit: "1/min/`project`" # rate limit for consumer projects
4156
- # values:
4157
- # STANDARD: 10000
4158
- # # The metric rules bind all methods to the read_calls metric,
4159
- # # except for the UpdateBook and DeleteBook methods. These two methods
4160
- # # are mapped to the write_calls metric, with the UpdateBook method
4161
- # # consuming at twice rate as the DeleteBook method.
4162
- # metric_rules:
4163
- # - selector: "*"
4164
- # metric_costs:
4165
- # library.googleapis.com/read_calls: 1
4166
- # - selector: google.example.library.v1.LibraryService.UpdateBook
4167
- # metric_costs:
4168
- # library.googleapis.com/write_calls: 2
4169
- # - selector: google.example.library.v1.LibraryService.DeleteBook
4170
- # metric_costs:
4171
- # library.googleapis.com/write_calls: 1
4172
- # Corresponding Metric definition:
4173
- # metrics:
4174
- # - name: library.googleapis.com/read_calls
4175
- # display_name: Read requests
4176
- # metric_kind: DELTA
4177
- # value_type: INT64
4178
- # - name: library.googleapis.com/write_calls
4179
- # display_name: Write requests
4180
- # metric_kind: DELTA
4181
- # value_type: INT64
3384
+ # Quota configuration helps to achieve fairness and budgeting in service usage.
3385
+ # The metric based quota configuration works this way: - The service
3386
+ # configuration defines a set of metrics. - For API calls, the quota.
3387
+ # metric_rules maps methods to metrics with corresponding costs. - The quota.
3388
+ # limits defines limits on the metrics, which will be used for quota checks at
3389
+ # runtime. An example quota configuration in yaml format: quota: limits: - name:
3390
+ # apiWriteQpsPerProject metric: library.googleapis.com/write_calls unit: "1/min/`
3391
+ # project`" # rate limit for consumer projects values: STANDARD: 10000 # The
3392
+ # metric rules bind all methods to the read_calls metric, # except for the
3393
+ # UpdateBook and DeleteBook methods. These two methods # are mapped to the
3394
+ # write_calls metric, with the UpdateBook method # consuming at twice rate as
3395
+ # the DeleteBook method. metric_rules: - selector: "*" metric_costs: library.
3396
+ # googleapis.com/read_calls: 1 - selector: google.example.library.v1.
3397
+ # LibraryService.UpdateBook metric_costs: library.googleapis.com/write_calls: 2 -
3398
+ # selector: google.example.library.v1.LibraryService.DeleteBook metric_costs:
3399
+ # library.googleapis.com/write_calls: 1 Corresponding Metric definition: metrics:
3400
+ # - name: library.googleapis.com/read_calls display_name: Read requests
3401
+ # metric_kind: DELTA value_type: INT64 - name: library.googleapis.com/
3402
+ # write_calls display_name: Write requests metric_kind: DELTA value_type: INT64
4182
3403
  # Corresponds to the JSON property `quota`
4183
3404
  # @return [Google::Apis::ServicemanagementV1::Quota]
4184
3405
  attr_accessor :quota
@@ -4188,20 +3409,18 @@ module Google
4188
3409
  # @return [Google::Apis::ServicemanagementV1::SourceInfo]
4189
3410
  attr_accessor :source_info
4190
3411
 
4191
- # ### System parameter configuration
4192
- # A system parameter is a special kind of parameter defined by the API
4193
- # system, not by an individual API. It is typically mapped to an HTTP header
4194
- # and/or a URL query parameter. This configuration specifies which methods
4195
- # change the names of the system parameters.
3412
+ # ### System parameter configuration A system parameter is a special kind of
3413
+ # parameter defined by the API system, not by an individual API. It is typically
3414
+ # mapped to an HTTP header and/or a URL query parameter. This configuration
3415
+ # specifies which methods change the names of the system parameters.
4196
3416
  # Corresponds to the JSON property `systemParameters`
4197
3417
  # @return [Google::Apis::ServicemanagementV1::SystemParameters]
4198
3418
  attr_accessor :system_parameters
4199
3419
 
4200
- # A list of all proto message types included in this API service.
4201
- # It serves similar purpose as [google.api.Service.types], except that
4202
- # these types are not needed by user-defined APIs. Therefore, they will not
4203
- # show up in the generated discovery doc. This field should only be used
4204
- # to define system APIs in ESF.
3420
+ # A list of all proto message types included in this API service. It serves
3421
+ # similar purpose as [google.api.Service.types], except that these types are not
3422
+ # needed by user-defined APIs. Therefore, they will not show up in the generated
3423
+ # discovery doc. This field should only be used to define system APIs in ESF.
4205
3424
  # Corresponds to the JSON property `systemTypes`
4206
3425
  # @return [Array<Google::Apis::ServicemanagementV1::Type>]
4207
3426
  attr_accessor :system_types
@@ -4211,12 +3430,10 @@ module Google
4211
3430
  # @return [String]
4212
3431
  attr_accessor :title
4213
3432
 
4214
- # A list of all proto message types included in this API service.
4215
- # Types referenced directly or indirectly by the `apis` are
4216
- # automatically included. Messages which are not referenced but
4217
- # shall be included, such as types used by the `google.protobuf.Any` type,
4218
- # should be listed here by name. Example:
4219
- # types:
3433
+ # A list of all proto message types included in this API service. Types
3434
+ # referenced directly or indirectly by the `apis` are automatically included.
3435
+ # Messages which are not referenced but shall be included, such as types used by
3436
+ # the `google.protobuf.Any` type, should be listed here by name. Example: types:
4220
3437
  # - name: google.protobuf.Int32
4221
3438
  # Corresponds to the JSON property `types`
4222
3439
  # @return [Array<Google::Apis::ServicemanagementV1::Type>]
@@ -4263,121 +3480,44 @@ module Google
4263
3480
  end
4264
3481
  end
4265
3482
 
4266
- # The per-product per-project service identity for a service.
4267
- # Use this field to configure per-product per-project service identity.
4268
- # Example of a service identity configuration.
4269
- # usage:
4270
- # service_identity:
4271
- # - service_account_parent: "projects/123456789"
4272
- # display_name: "Cloud XXX Service Agent"
4273
- # description: "Used as the identity of Cloud XXX to access resources"
4274
- class ServiceIdentity
4275
- include Google::Apis::Core::Hashable
4276
-
4277
- # Optional. A user-specified opaque description of the service account.
4278
- # Must be less than or equal to 256 UTF-8 bytes.
4279
- # Corresponds to the JSON property `description`
4280
- # @return [String]
4281
- attr_accessor :description
4282
-
4283
- # Optional. A user-specified name for the service account.
4284
- # Must be less than or equal to 100 UTF-8 bytes.
4285
- # Corresponds to the JSON property `displayName`
4286
- # @return [String]
4287
- attr_accessor :display_name
4288
-
4289
- # A service account project that hosts the service accounts.
4290
- # An example name would be:
4291
- # `projects/123456789`
4292
- # Corresponds to the JSON property `serviceAccountParent`
4293
- # @return [String]
4294
- attr_accessor :service_account_parent
4295
-
4296
- def initialize(**args)
4297
- update!(**args)
4298
- end
4299
-
4300
- # Update properties of this object
4301
- def update!(**args)
4302
- @description = args[:description] if args.key?(:description)
4303
- @display_name = args[:display_name] if args.key?(:display_name)
4304
- @service_account_parent = args[:service_account_parent] if args.key?(:service_account_parent)
4305
- end
4306
- end
4307
-
4308
3483
  # Request message for `SetIamPolicy` method.
4309
3484
  class SetIamPolicyRequest
4310
3485
  include Google::Apis::Core::Hashable
4311
3486
 
4312
3487
  # An Identity and Access Management (IAM) policy, which specifies access
4313
- # controls for Google Cloud resources.
4314
- # A `Policy` is a collection of `bindings`. A `binding` binds one or more
4315
- # `members` to a single `role`. Members can be user accounts, service accounts,
4316
- # Google groups, and domains (such as G Suite). A `role` is a named list of
4317
- # permissions; each `role` can be an IAM predefined role or a user-created
4318
- # custom role.
4319
- # For some types of Google Cloud resources, a `binding` can also specify a
4320
- # `condition`, which is a logical expression that allows access to a resource
4321
- # only if the expression evaluates to `true`. A condition can add constraints
4322
- # based on attributes of the request, the resource, or both. To learn which
4323
- # resources support conditions in their IAM policies, see the
4324
- # [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
4325
- # policies).
4326
- # **JSON example:**
4327
- # `
4328
- # "bindings": [
4329
- # `
4330
- # "role": "roles/resourcemanager.organizationAdmin",
4331
- # "members": [
4332
- # "user:mike@example.com",
4333
- # "group:admins@example.com",
4334
- # "domain:google.com",
4335
- # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
4336
- # ]
4337
- # `,
4338
- # `
4339
- # "role": "roles/resourcemanager.organizationViewer",
4340
- # "members": [
4341
- # "user:eve@example.com"
4342
- # ],
4343
- # "condition": `
4344
- # "title": "expirable access",
4345
- # "description": "Does not grant access after Sep 2020",
4346
- # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
4347
- # ",
4348
- # `
4349
- # `
4350
- # ],
4351
- # "etag": "BwWWja0YfJA=",
4352
- # "version": 3
4353
- # `
4354
- # **YAML example:**
4355
- # bindings:
4356
- # - members:
4357
- # - user:mike@example.com
4358
- # - group:admins@example.com
4359
- # - domain:google.com
4360
- # - serviceAccount:my-project-id@appspot.gserviceaccount.com
4361
- # role: roles/resourcemanager.organizationAdmin
4362
- # - members:
4363
- # - user:eve@example.com
4364
- # role: roles/resourcemanager.organizationViewer
4365
- # condition:
4366
- # title: expirable access
4367
- # description: Does not grant access after Sep 2020
4368
- # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
4369
- # - etag: BwWWja0YfJA=
4370
- # - version: 3
4371
- # For a description of IAM and its features, see the
4372
- # [IAM documentation](https://cloud.google.com/iam/docs/).
3488
+ # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
3489
+ # A `binding` binds one or more `members` to a single `role`. Members can be
3490
+ # user accounts, service accounts, Google groups, and domains (such as G Suite).
3491
+ # A `role` is a named list of permissions; each `role` can be an IAM predefined
3492
+ # role or a user-created custom role. For some types of Google Cloud resources,
3493
+ # a `binding` can also specify a `condition`, which is a logical expression that
3494
+ # allows access to a resource only if the expression evaluates to `true`. A
3495
+ # condition can add constraints based on attributes of the request, the resource,
3496
+ # or both. To learn which resources support conditions in their IAM policies,
3497
+ # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
3498
+ # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
3499
+ # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
3500
+ # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
3501
+ # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
3502
+ # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
3503
+ # title": "expirable access", "description": "Does not grant access after Sep
3504
+ # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
3505
+ # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
3506
+ # members: - user:mike@example.com - group:admins@example.com - domain:google.
3507
+ # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
3508
+ # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
3509
+ # roles/resourcemanager.organizationViewer condition: title: expirable access
3510
+ # description: Does not grant access after Sep 2020 expression: request.time <
3511
+ # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
3512
+ # description of IAM and its features, see the [IAM documentation](https://cloud.
3513
+ # google.com/iam/docs/).
4373
3514
  # Corresponds to the JSON property `policy`
4374
3515
  # @return [Google::Apis::ServicemanagementV1::Policy]
4375
3516
  attr_accessor :policy
4376
3517
 
4377
3518
  # OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
4378
- # the fields in the mask will be modified. If no mask is provided, the
4379
- # following default mask is used:
4380
- # `paths: "bindings, etag"`
3519
+ # the fields in the mask will be modified. If no mask is provided, the following
3520
+ # default mask is used: `paths: "bindings, etag"`
4381
3521
  # Corresponds to the JSON property `updateMask`
4382
3522
  # @return [String]
4383
3523
  attr_accessor :update_mask
@@ -4393,13 +3533,13 @@ module Google
4393
3533
  end
4394
3534
  end
4395
3535
 
4396
- # `SourceContext` represents information about the source of a
4397
- # protobuf element, like the file in which it is defined.
3536
+ # `SourceContext` represents information about the source of a protobuf element,
3537
+ # like the file in which it is defined.
4398
3538
  class SourceContext
4399
3539
  include Google::Apis::Core::Hashable
4400
3540
 
4401
3541
  # The path-qualified name of the .proto file that contained the associated
4402
- # protobuf element. For example: `"google/protobuf/source_context.proto"`.
3542
+ # protobuf element. For example: `"google/protobuf/source_context.proto"`.
4403
3543
  # Corresponds to the JSON property `fileName`
4404
3544
  # @return [String]
4405
3545
  attr_accessor :file_name
@@ -4433,12 +3573,12 @@ module Google
4433
3573
  end
4434
3574
  end
4435
3575
 
4436
- # The `Status` type defines a logical error model that is suitable for
4437
- # different programming environments, including REST APIs and RPC APIs. It is
4438
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
4439
- # three pieces of data: error code, error message, and error details.
4440
- # You can find out more about this error model and how to work with it in the
4441
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
3576
+ # The `Status` type defines a logical error model that is suitable for different
3577
+ # programming environments, including REST APIs and RPC APIs. It is used by [
3578
+ # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
3579
+ # data: error code, error message, and error details. You can find out more
3580
+ # about this error model and how to work with it in the [API Design Guide](https:
3581
+ # //cloud.google.com/apis/design/errors).
4442
3582
  class Status
4443
3583
  include Google::Apis::Core::Hashable
4444
3584
 
@@ -4447,15 +3587,15 @@ module Google
4447
3587
  # @return [Fixnum]
4448
3588
  attr_accessor :code
4449
3589
 
4450
- # A list of messages that carry the error details. There is a common set of
3590
+ # A list of messages that carry the error details. There is a common set of
4451
3591
  # message types for APIs to use.
4452
3592
  # Corresponds to the JSON property `details`
4453
3593
  # @return [Array<Hash<String,Object>>]
4454
3594
  attr_accessor :details
4455
3595
 
4456
- # A developer-facing error message, which should be in English. Any
4457
- # user-facing error message should be localized and sent in the
4458
- # google.rpc.Status.details field, or localized by the client.
3596
+ # A developer-facing error message, which should be in English. Any user-facing
3597
+ # error message should be localized and sent in the google.rpc.Status.details
3598
+ # field, or localized by the client.
4459
3599
  # Corresponds to the JSON property `message`
4460
3600
  # @return [String]
4461
3601
  attr_accessor :message
@@ -4507,9 +3647,9 @@ module Google
4507
3647
  # @return [Google::Apis::ServicemanagementV1::ConfigSource]
4508
3648
  attr_accessor :config_source
4509
3649
 
4510
- # Optional. If set, this will result in the generation of a
4511
- # `google.api.Service` configuration based on the `ConfigSource` provided,
4512
- # but the generated config and the sources will NOT be persisted.
3650
+ # Optional. If set, this will result in the generation of a `google.api.Service`
3651
+ # configuration based on the `ConfigSource` provided, but the generated config
3652
+ # and the sources will NOT be persisted.
4513
3653
  # Corresponds to the JSON property `validateOnly`
4514
3654
  # @return [Boolean]
4515
3655
  attr_accessor :validate_only
@@ -4531,26 +3671,15 @@ module Google
4531
3671
  include Google::Apis::Core::Hashable
4532
3672
 
4533
3673
  # `Service` is the root object of Google service configuration schema. It
4534
- # describes basic information about a service, such as the name and the
4535
- # title, and delegates other aspects to sub-sections. Each sub-section is
4536
- # either a proto message or a repeated proto message that configures a
4537
- # specific aspect, such as auth. See each proto message definition for details.
4538
- # Example:
4539
- # type: google.api.Service
4540
- # config_version: 3
4541
- # name: calendar.googleapis.com
4542
- # title: Google Calendar API
4543
- # apis:
4544
- # - name: google.calendar.v3.Calendar
4545
- # authentication:
4546
- # providers:
4547
- # - id: google_calendar_auth
4548
- # jwks_uri: https://www.googleapis.com/oauth2/v1/certs
4549
- # issuer: https://securetoken.google.com
4550
- # rules:
4551
- # - selector: "*"
4552
- # requirements:
4553
- # provider_id: google_calendar_auth
3674
+ # describes basic information about a service, such as the name and the title,
3675
+ # and delegates other aspects to sub-sections. Each sub-section is either a
3676
+ # proto message or a repeated proto message that configures a specific aspect,
3677
+ # such as auth. See each proto message definition for details. Example: type:
3678
+ # google.api.Service config_version: 3 name: calendar.googleapis.com title:
3679
+ # Google Calendar API apis: - name: google.calendar.v3.Calendar authentication:
3680
+ # providers: - id: google_calendar_auth jwks_uri: https://www.googleapis.com/
3681
+ # oauth2/v1/certs issuer: https://securetoken.google.com rules: - selector: "*"
3682
+ # requirements: provider_id: google_calendar_auth
4554
3683
  # Corresponds to the JSON property `serviceConfig`
4555
3684
  # @return [Google::Apis::ServicemanagementV1::Service]
4556
3685
  attr_accessor :service_config
@@ -4571,8 +3700,7 @@ module Google
4571
3700
  class SystemParameter
4572
3701
  include Google::Apis::Core::Hashable
4573
3702
 
4574
- # Define the HTTP header name to use for the parameter. It is case
4575
- # insensitive.
3703
+ # Define the HTTP header name to use for the parameter. It is case insensitive.
4576
3704
  # Corresponds to the JSON property `httpHeader`
4577
3705
  # @return [String]
4578
3706
  attr_accessor :http_header
@@ -4600,23 +3728,20 @@ module Google
4600
3728
  end
4601
3729
  end
4602
3730
 
4603
- # Define a system parameter rule mapping system parameter definitions to
4604
- # methods.
3731
+ # Define a system parameter rule mapping system parameter definitions to methods.
4605
3732
  class SystemParameterRule
4606
3733
  include Google::Apis::Core::Hashable
4607
3734
 
4608
- # Define parameters. Multiple names may be defined for a parameter.
4609
- # For a given method call, only one of them should be used. If multiple
4610
- # names are used the behavior is implementation-dependent.
4611
- # If none of the specified names are present the behavior is
4612
- # parameter-dependent.
3735
+ # Define parameters. Multiple names may be defined for a parameter. For a given
3736
+ # method call, only one of them should be used. If multiple names are used the
3737
+ # behavior is implementation-dependent. If none of the specified names are
3738
+ # present the behavior is parameter-dependent.
4613
3739
  # Corresponds to the JSON property `parameters`
4614
3740
  # @return [Array<Google::Apis::ServicemanagementV1::SystemParameter>]
4615
3741
  attr_accessor :parameters
4616
3742
 
4617
3743
  # Selects the methods to which this rule applies. Use '*' to indicate all
4618
- # methods in all APIs.
4619
- # Refer to selector for syntax details.
3744
+ # methods in all APIs. Refer to selector for syntax details.
4620
3745
  # Corresponds to the JSON property `selector`
4621
3746
  # @return [String]
4622
3747
  attr_accessor :selector
@@ -4632,36 +3757,23 @@ module Google
4632
3757
  end
4633
3758
  end
4634
3759
 
4635
- # ### System parameter configuration
4636
- # A system parameter is a special kind of parameter defined by the API
4637
- # system, not by an individual API. It is typically mapped to an HTTP header
4638
- # and/or a URL query parameter. This configuration specifies which methods
4639
- # change the names of the system parameters.
3760
+ # ### System parameter configuration A system parameter is a special kind of
3761
+ # parameter defined by the API system, not by an individual API. It is typically
3762
+ # mapped to an HTTP header and/or a URL query parameter. This configuration
3763
+ # specifies which methods change the names of the system parameters.
4640
3764
  class SystemParameters
4641
3765
  include Google::Apis::Core::Hashable
4642
3766
 
4643
- # Define system parameters.
4644
- # The parameters defined here will override the default parameters
4645
- # implemented by the system. If this field is missing from the service
4646
- # config, default system parameters will be used. Default system parameters
4647
- # and names is implementation-dependent.
4648
- # Example: define api key for all methods
4649
- # system_parameters
4650
- # rules:
4651
- # - selector: "*"
4652
- # parameters:
4653
- # - name: api_key
4654
- # url_query_parameter: api_key
4655
- # Example: define 2 api key names for a specific method.
4656
- # system_parameters
4657
- # rules:
4658
- # - selector: "/ListShelves"
4659
- # parameters:
4660
- # - name: api_key
4661
- # http_header: Api-Key1
4662
- # - name: api_key
4663
- # http_header: Api-Key2
4664
- # **NOTE:** All service configuration rules follow "last one wins" order.
3767
+ # Define system parameters. The parameters defined here will override the
3768
+ # default parameters implemented by the system. If this field is missing from
3769
+ # the service config, default system parameters will be used. Default system
3770
+ # parameters and names is implementation-dependent. Example: define api key for
3771
+ # all methods system_parameters rules: - selector: "*" parameters: - name:
3772
+ # api_key url_query_parameter: api_key Example: define 2 api key names for a
3773
+ # specific method. system_parameters rules: - selector: "/ListShelves"
3774
+ # parameters: - name: api_key http_header: Api-Key1 - name: api_key http_header:
3775
+ # Api-Key2 **NOTE:** All service configuration rules follow "last one wins"
3776
+ # order.
4665
3777
  # Corresponds to the JSON property `rules`
4666
3778
  # @return [Array<Google::Apis::ServicemanagementV1::SystemParameterRule>]
4667
3779
  attr_accessor :rules
@@ -4680,10 +3792,9 @@ module Google
4680
3792
  class TestIamPermissionsRequest
4681
3793
  include Google::Apis::Core::Hashable
4682
3794
 
4683
- # The set of permissions to check for the `resource`. Permissions with
4684
- # wildcards (such as '*' or 'storage.*') are not allowed. For more
4685
- # information see
4686
- # [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
3795
+ # The set of permissions to check for the `resource`. Permissions with wildcards
3796
+ # (such as '*' or 'storage.*') are not allowed. For more information see [IAM
3797
+ # Overview](https://cloud.google.com/iam/docs/overview#permissions).
4687
3798
  # Corresponds to the JSON property `permissions`
4688
3799
  # @return [Array<String>]
4689
3800
  attr_accessor :permissions
@@ -4702,8 +3813,7 @@ module Google
4702
3813
  class TestIamPermissionsResponse
4703
3814
  include Google::Apis::Core::Hashable
4704
3815
 
4705
- # A subset of `TestPermissionsRequest.permissions` that the caller is
4706
- # allowed.
3816
+ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
4707
3817
  # Corresponds to the JSON property `permissions`
4708
3818
  # @return [Array<String>]
4709
3819
  attr_accessor :permissions
@@ -4718,38 +3828,21 @@ module Google
4718
3828
  end
4719
3829
  end
4720
3830
 
4721
- # Strategy that specifies how clients of Google Service Controller want to
4722
- # send traffic to use different config versions. This is generally
4723
- # used by API proxy to split traffic based on your configured percentage for
4724
- # each config version.
4725
- # One example of how to gradually rollout a new service configuration using
4726
- # this
4727
- # strategy:
4728
- # Day 1
4729
- # Rollout `
4730
- # id: "example.googleapis.com/rollout_20160206"
4731
- # traffic_percent_strategy `
4732
- # percentages: `
4733
- # "example.googleapis.com/20160201": 70.00
4734
- # "example.googleapis.com/20160206": 30.00
4735
- # `
4736
- # `
4737
- # `
4738
- # Day 2
4739
- # Rollout `
4740
- # id: "example.googleapis.com/rollout_20160207"
4741
- # traffic_percent_strategy: `
4742
- # percentages: `
4743
- # "example.googleapis.com/20160206": 100.00
4744
- # `
4745
- # `
4746
- # `
3831
+ # Strategy that specifies how clients of Google Service Controller want to send
3832
+ # traffic to use different config versions. This is generally used by API proxy
3833
+ # to split traffic based on your configured percentage for each config version.
3834
+ # One example of how to gradually rollout a new service configuration using this
3835
+ # strategy: Day 1 Rollout ` id: "example.googleapis.com/rollout_20160206"
3836
+ # traffic_percent_strategy ` percentages: ` "example.googleapis.com/20160201":
3837
+ # 70.00 "example.googleapis.com/20160206": 30.00 ` ` ` Day 2 Rollout ` id: "
3838
+ # example.googleapis.com/rollout_20160207" traffic_percent_strategy: `
3839
+ # percentages: ` "example.googleapis.com/20160206": 100.00 ` ` `
4747
3840
  class TrafficPercentStrategy
4748
3841
  include Google::Apis::Core::Hashable
4749
3842
 
4750
- # Maps service configuration IDs to their corresponding traffic percentage.
4751
- # Key is the service configuration ID, Value is the traffic percentage
4752
- # which must be greater than 0.0 and the sum must equal to 100.0.
3843
+ # Maps service configuration IDs to their corresponding traffic percentage. Key
3844
+ # is the service configuration ID, Value is the traffic percentage which must be
3845
+ # greater than 0.0 and the sum must equal to 100.0.
4753
3846
  # Corresponds to the JSON property `percentages`
4754
3847
  # @return [Hash<String,Float>]
4755
3848
  attr_accessor :percentages
@@ -4788,8 +3881,8 @@ module Google
4788
3881
  # @return [Array<Google::Apis::ServicemanagementV1::Option>]
4789
3882
  attr_accessor :options
4790
3883
 
4791
- # `SourceContext` represents information about the source of a
4792
- # protobuf element, like the file in which it is defined.
3884
+ # `SourceContext` represents information about the source of a protobuf element,
3885
+ # like the file in which it is defined.
4793
3886
  # Corresponds to the JSON property `sourceContext`
4794
3887
  # @return [Google::Apis::ServicemanagementV1::SourceContext]
4795
3888
  attr_accessor :source_context
@@ -4818,8 +3911,8 @@ module Google
4818
3911
  class UndeleteServiceResponse
4819
3912
  include Google::Apis::Core::Hashable
4820
3913
 
4821
- # The full representation of a Service that is managed by
4822
- # Google Service Management.
3914
+ # The full representation of a Service that is managed by Google Service
3915
+ # Management.
4823
3916
  # Corresponds to the JSON property `service`
4824
3917
  # @return [Google::Apis::ServicemanagementV1::ManagedService]
4825
3918
  attr_accessor :service
@@ -4839,41 +3932,28 @@ module Google
4839
3932
  include Google::Apis::Core::Hashable
4840
3933
 
4841
3934
  # The full resource name of a channel used for sending notifications to the
4842
- # service producer.
4843
- # Google Service Management currently only supports
4844
- # [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification
4845
- # channel. To use Google Cloud Pub/Sub as the channel, this must be the name
4846
- # of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format
4847
- # documented in https://cloud.google.com/pubsub/docs/overview.
3935
+ # service producer. Google Service Management currently only supports [Google
3936
+ # Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification channel. To
3937
+ # use Google Cloud Pub/Sub as the channel, this must be the name of a Cloud Pub/
3938
+ # Sub topic that uses the Cloud Pub/Sub topic name format documented in https://
3939
+ # cloud.google.com/pubsub/docs/overview.
4848
3940
  # Corresponds to the JSON property `producerNotificationChannel`
4849
3941
  # @return [String]
4850
3942
  attr_accessor :producer_notification_channel
4851
3943
 
4852
3944
  # Requirements that must be satisfied before a consumer project can use the
4853
- # service. Each requirement is of the form <service.name>/<requirement-id>;
4854
- # for example 'serviceusage.googleapis.com/billing-enabled'.
3945
+ # service. Each requirement is of the form /; for example 'serviceusage.
3946
+ # googleapis.com/billing-enabled'.
4855
3947
  # Corresponds to the JSON property `requirements`
4856
3948
  # @return [Array<String>]
4857
3949
  attr_accessor :requirements
4858
3950
 
4859
- # A list of usage rules that apply to individual API methods.
4860
- # **NOTE:** All service configuration rules follow "last one wins" order.
3951
+ # A list of usage rules that apply to individual API methods. **NOTE:** All
3952
+ # service configuration rules follow "last one wins" order.
4861
3953
  # Corresponds to the JSON property `rules`
4862
3954
  # @return [Array<Google::Apis::ServicemanagementV1::UsageRule>]
4863
3955
  attr_accessor :rules
4864
3956
 
4865
- # The per-product per-project service identity for a service.
4866
- # Use this field to configure per-product per-project service identity.
4867
- # Example of a service identity configuration.
4868
- # usage:
4869
- # service_identity:
4870
- # - service_account_parent: "projects/123456789"
4871
- # display_name: "Cloud XXX Service Agent"
4872
- # description: "Used as the identity of Cloud XXX to access resources"
4873
- # Corresponds to the JSON property `serviceIdentity`
4874
- # @return [Google::Apis::ServicemanagementV1::ServiceIdentity]
4875
- attr_accessor :service_identity
4876
-
4877
3957
  def initialize(**args)
4878
3958
  update!(**args)
4879
3959
  end
@@ -4883,49 +3963,39 @@ module Google
4883
3963
  @producer_notification_channel = args[:producer_notification_channel] if args.key?(:producer_notification_channel)
4884
3964
  @requirements = args[:requirements] if args.key?(:requirements)
4885
3965
  @rules = args[:rules] if args.key?(:rules)
4886
- @service_identity = args[:service_identity] if args.key?(:service_identity)
4887
3966
  end
4888
3967
  end
4889
3968
 
4890
- # Usage configuration rules for the service.
4891
- # NOTE: Under development.
4892
- # Use this rule to configure unregistered calls for the service. Unregistered
4893
- # calls are calls that do not contain consumer project identity.
4894
- # (Example: calls that do not contain an API key).
4895
- # By default, API methods do not allow unregistered calls, and each method call
4896
- # must be identified by a consumer project identity. Use this rule to
4897
- # allow/disallow unregistered calls.
4898
- # Example of an API that wants to allow unregistered calls for entire service.
4899
- # usage:
4900
- # rules:
4901
- # - selector: "*"
4902
- # allow_unregistered_calls: true
4903
- # Example of a method that wants to allow unregistered calls.
4904
- # usage:
4905
- # rules:
4906
- # - selector: "google.example.library.v1.LibraryService.CreateBook"
4907
- # allow_unregistered_calls: true
3969
+ # Usage configuration rules for the service. NOTE: Under development. Use this
3970
+ # rule to configure unregistered calls for the service. Unregistered calls are
3971
+ # calls that do not contain consumer project identity. (Example: calls that do
3972
+ # not contain an API key). By default, API methods do not allow unregistered
3973
+ # calls, and each method call must be identified by a consumer project identity.
3974
+ # Use this rule to allow/disallow unregistered calls. Example of an API that
3975
+ # wants to allow unregistered calls for entire service. usage: rules: - selector:
3976
+ # "*" allow_unregistered_calls: true Example of a method that wants to allow
3977
+ # unregistered calls. usage: rules: - selector: "google.example.library.v1.
3978
+ # LibraryService.CreateBook" allow_unregistered_calls: true
4908
3979
  class UsageRule
4909
3980
  include Google::Apis::Core::Hashable
4910
3981
 
4911
- # If true, the selected method allows unregistered calls, e.g. calls
4912
- # that don't identify any user or application.
3982
+ # If true, the selected method allows unregistered calls, e.g. calls that don't
3983
+ # identify any user or application.
4913
3984
  # Corresponds to the JSON property `allowUnregisteredCalls`
4914
3985
  # @return [Boolean]
4915
3986
  attr_accessor :allow_unregistered_calls
4916
3987
  alias_method :allow_unregistered_calls?, :allow_unregistered_calls
4917
3988
 
4918
3989
  # Selects the methods to which this rule applies. Use '*' to indicate all
4919
- # methods in all APIs.
4920
- # Refer to selector for syntax details.
3990
+ # methods in all APIs. Refer to selector for syntax details.
4921
3991
  # Corresponds to the JSON property `selector`
4922
3992
  # @return [String]
4923
3993
  attr_accessor :selector
4924
3994
 
4925
- # If true, the selected method should skip service control and the control
4926
- # plane features, such as quota and billing, will not be available.
4927
- # This flag is used by Google Cloud Endpoints to bypass checks for internal
4928
- # methods, such as service health check methods.
3995
+ # If true, the selected method should skip service control and the control plane
3996
+ # features, such as quota and billing, will not be available. This flag is used
3997
+ # by Google Cloud Endpoints to bypass checks for internal methods, such as
3998
+ # service health check methods.
4929
3999
  # Corresponds to the JSON property `skipServiceControl`
4930
4000
  # @return [Boolean]
4931
4001
  attr_accessor :skip_service_control