@devvit/protos 0.11.6-next-2025-01-28-ba7ef7fe2.0 → 0.11.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (241) hide show
  1. package/package.json +4 -4
  2. package/schema/devvit/plugin/buildpack/buildpack_common.proto +1 -6
  3. package/schema/snootobuf.devenv.lock +102 -210
  4. package/schema/snootobuf.lock +102 -210
  5. package/schema/snootobuf.redditapi.lock +102 -210
  6. package/schema/snootobuf.ts.lock +102 -210
  7. package/types/devvit/dev_portal/dev_portal.d.ts +0 -2
  8. package/types/devvit/dev_portal/dev_portal.d.ts.map +1 -1
  9. package/types/devvit/plugin/builder/builder.d.ts +0 -4
  10. package/types/devvit/plugin/builder/builder.d.ts.map +1 -1
  11. package/types/devvit/plugin/buildpack/buildpack.d.ts +0 -8
  12. package/types/devvit/plugin/buildpack/buildpack.d.ts.map +1 -1
  13. package/types/devvit/plugin/buildpack/buildpack_common.d.ts +0 -3
  14. package/types/devvit/plugin/buildpack/buildpack_common.d.ts.map +1 -1
  15. package/types/devvit/plugin/buildpack/buildpack_common.js +1 -37
  16. package/types/devvit/plugin/linker/linker.d.ts +0 -2
  17. package/types/devvit/plugin/linker/linker.d.ts.map +1 -1
  18. package/types/devvit/plugin/linker/resolver.d.ts +0 -2
  19. package/types/devvit/plugin/linker/resolver.d.ts.map +1 -1
  20. package/meta.min.json +0 -7820
  21. package/protos.min.js +0 -2
  22. package/protos.min.js.map +0 -7
  23. package/schema/.snootobuf/deps/buf/validate/expression.proto +0 -92
  24. package/schema/.snootobuf/deps/buf/validate/priv/private.proto +0 -41
  25. package/schema/.snootobuf/deps/buf/validate/validate.proto +0 -4130
  26. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/audit.proto +0 -72
  27. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/auth.proto +0 -49
  28. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/organization.proto +0 -54
  29. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/service.proto +0 -46
  30. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/subscription.proto +0 -72
  31. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/ui.proto +0 -20
  32. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/user.proto +0 -45
  33. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/admin.proto +0 -54
  34. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/delivery.proto +0 -773
  35. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/filter.proto +0 -66
  36. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/firehose.proto +0 -100
  37. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/intake.proto +0 -19
  38. package/schema/.snootobuf/deps/devvit/events/v1alpha/events.proto +0 -446
  39. package/schema/.snootobuf/deps/devvit/gateway/v1alpha/payments.proto +0 -24
  40. package/schema/.snootobuf/deps/devvit/options/options.proto +0 -98
  41. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/commentv2.proto +0 -29
  42. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/flair.proto +0 -25
  43. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/modaction.proto +0 -53
  44. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/modmail.proto +0 -56
  45. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/postv2.proto +0 -107
  46. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/subredditv2.proto +0 -41
  47. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/userv2.proto +0 -23
  48. package/schema/.snootobuf/deps/devvit/triggers/v1alpha/triggers.proto +0 -162
  49. package/schema/.snootobuf/deps/enum/account_gender_category.proto +0 -14
  50. package/schema/.snootobuf/deps/enum/approval_status.proto +0 -15
  51. package/schema/.snootobuf/deps/enum/automated_reporting_level.proto +0 -12
  52. package/schema/.snootobuf/deps/enum/ban_evasion_threshold.proto +0 -13
  53. package/schema/.snootobuf/deps/enum/ban_info_action.proto +0 -12
  54. package/schema/.snootobuf/deps/enum/block_relation_type.proto +0 -11
  55. package/schema/.snootobuf/deps/enum/comment_sort.proto +0 -18
  56. package/schema/.snootobuf/deps/enum/comment_type.proto +0 -11
  57. package/schema/.snootobuf/deps/enum/crowd_control_level.proto +0 -12
  58. package/schema/.snootobuf/deps/enum/discussion_type.proto +0 -10
  59. package/schema/.snootobuf/deps/enum/distinguish_type.proto +0 -14
  60. package/schema/.snootobuf/deps/enum/flair_position.proto +0 -11
  61. package/schema/.snootobuf/deps/enum/hateful_content_threshold.proto +0 -12
  62. package/schema/.snootobuf/deps/enum/link_content_type.proto +0 -11
  63. package/schema/.snootobuf/deps/enum/link_type.proto +0 -11
  64. package/schema/.snootobuf/deps/enum/link_visibility.proto +0 -11
  65. package/schema/.snootobuf/deps/enum/prediction_leaderboard_entry_type.proto +0 -11
  66. package/schema/.snootobuf/deps/enum/promo_layout.proto +0 -11
  67. package/schema/.snootobuf/deps/enum/removed_by_type.proto +0 -18
  68. package/schema/.snootobuf/deps/enum/spam_level.proto +0 -11
  69. package/schema/.snootobuf/deps/enum/subreddit_type.proto +0 -16
  70. package/schema/.snootobuf/deps/enum/verdict.proto +0 -14
  71. package/schema/.snootobuf/deps/enum/vote.proto +0 -12
  72. package/schema/.snootobuf/deps/enum/whitelist_status.proto +0 -17
  73. package/schema/.snootobuf/deps/enum/wiki_edit_mode.proto +0 -12
  74. package/schema/.snootobuf/deps/evaluator/evaluator.proto +0 -203
  75. package/schema/.snootobuf/deps/google/api/annotations.proto +0 -31
  76. package/schema/.snootobuf/deps/google/api/apikeys/v2/apikeys.proto +0 -288
  77. package/schema/.snootobuf/deps/google/api/apikeys/v2/resources.proto +0 -175
  78. package/schema/.snootobuf/deps/google/api/auth.proto +0 -237
  79. package/schema/.snootobuf/deps/google/api/backend.proto +0 -185
  80. package/schema/.snootobuf/deps/google/api/billing.proto +0 -77
  81. package/schema/.snootobuf/deps/google/api/client.proto +0 -431
  82. package/schema/.snootobuf/deps/google/api/cloudquotas/v1/cloudquotas.proto +0 -322
  83. package/schema/.snootobuf/deps/google/api/cloudquotas/v1/resources.proto +0 -315
  84. package/schema/.snootobuf/deps/google/api/config_change.proto +0 -84
  85. package/schema/.snootobuf/deps/google/api/consumer.proto +0 -82
  86. package/schema/.snootobuf/deps/google/api/context.proto +0 -92
  87. package/schema/.snootobuf/deps/google/api/control.proto +0 -41
  88. package/schema/.snootobuf/deps/google/api/distribution.proto +0 -213
  89. package/schema/.snootobuf/deps/google/api/documentation.proto +0 -168
  90. package/schema/.snootobuf/deps/google/api/endpoint.proto +0 -69
  91. package/schema/.snootobuf/deps/google/api/error_reason.proto +0 -589
  92. package/schema/.snootobuf/deps/google/api/expr/conformance/v1alpha1/conformance_service.proto +0 -183
  93. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/checked.proto +0 -343
  94. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/eval.proto +0 -118
  95. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/explain.proto +0 -53
  96. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/syntax.proto +0 -438
  97. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/value.proto +0 -115
  98. package/schema/.snootobuf/deps/google/api/expr/v1beta1/decl.proto +0 -84
  99. package/schema/.snootobuf/deps/google/api/expr/v1beta1/eval.proto +0 -125
  100. package/schema/.snootobuf/deps/google/api/expr/v1beta1/expr.proto +0 -265
  101. package/schema/.snootobuf/deps/google/api/expr/v1beta1/source.proto +0 -62
  102. package/schema/.snootobuf/deps/google/api/expr/v1beta1/value.proto +0 -114
  103. package/schema/.snootobuf/deps/google/api/field_behavior.proto +0 -104
  104. package/schema/.snootobuf/deps/google/api/field_info.proto +0 -106
  105. package/schema/.snootobuf/deps/google/api/http.proto +0 -371
  106. package/schema/.snootobuf/deps/google/api/httpbody.proto +0 -81
  107. package/schema/.snootobuf/deps/google/api/label.proto +0 -48
  108. package/schema/.snootobuf/deps/google/api/launch_stage.proto +0 -72
  109. package/schema/.snootobuf/deps/google/api/log.proto +0 -54
  110. package/schema/.snootobuf/deps/google/api/logging.proto +0 -81
  111. package/schema/.snootobuf/deps/google/api/metric.proto +0 -268
  112. package/schema/.snootobuf/deps/google/api/monitored_resource.proto +0 -130
  113. package/schema/.snootobuf/deps/google/api/monitoring.proto +0 -107
  114. package/schema/.snootobuf/deps/google/api/policy.proto +0 -85
  115. package/schema/.snootobuf/deps/google/api/quota.proto +0 -184
  116. package/schema/.snootobuf/deps/google/api/resource.proto +0 -243
  117. package/schema/.snootobuf/deps/google/api/routing.proto +0 -461
  118. package/schema/.snootobuf/deps/google/api/service.proto +0 -191
  119. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/check_error.proto +0 -124
  120. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/distribution.proto +0 -166
  121. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/http_request.proto +0 -93
  122. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/log_entry.proto +0 -126
  123. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/metric_value.proto +0 -81
  124. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/operation.proto +0 -123
  125. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/quota_controller.proto +0 -245
  126. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/service_controller.proto +0 -260
  127. package/schema/.snootobuf/deps/google/api/servicecontrol/v2/service_controller.proto +0 -196
  128. package/schema/.snootobuf/deps/google/api/servicemanagement/v1/resources.proto +0 -295
  129. package/schema/.snootobuf/deps/google/api/servicemanagement/v1/servicemanager.proto +0 -508
  130. package/schema/.snootobuf/deps/google/api/serviceusage/v1/resources.proto +0 -130
  131. package/schema/.snootobuf/deps/google/api/serviceusage/v1/serviceusage.proto +0 -305
  132. package/schema/.snootobuf/deps/google/api/serviceusage/v1beta1/resources.proto +0 -458
  133. package/schema/.snootobuf/deps/google/api/serviceusage/v1beta1/serviceusage.proto +0 -793
  134. package/schema/.snootobuf/deps/google/api/source_info.proto +0 -31
  135. package/schema/.snootobuf/deps/google/api/system_parameter.proto +0 -96
  136. package/schema/.snootobuf/deps/google/api/usage.proto +0 -96
  137. package/schema/.snootobuf/deps/google/api/visibility.proto +0 -113
  138. package/schema/.snootobuf/deps/google/cloud/extended_operations.proto +0 -150
  139. package/schema/.snootobuf/deps/google/iam/admin/v1/iam.proto +0 -1087
  140. package/schema/.snootobuf/deps/google/iam/v1/iam_policy.proto +0 -145
  141. package/schema/.snootobuf/deps/google/iam/v1/logging/audit_data.proto +0 -34
  142. package/schema/.snootobuf/deps/google/iam/v1/options.proto +0 -41
  143. package/schema/.snootobuf/deps/google/iam/v1/policy.proto +0 -240
  144. package/schema/.snootobuf/deps/google/logging/type/http_request.proto +0 -92
  145. package/schema/.snootobuf/deps/google/logging/type/log_severity.proto +0 -72
  146. package/schema/.snootobuf/deps/google/longrunning/operations.proto +0 -247
  147. package/schema/.snootobuf/deps/google/protobuf/any.proto +0 -158
  148. package/schema/.snootobuf/deps/google/protobuf/api.proto +0 -208
  149. package/schema/.snootobuf/deps/google/protobuf/compiler/plugin.proto +0 -183
  150. package/schema/.snootobuf/deps/google/protobuf/descriptor.proto +0 -921
  151. package/schema/.snootobuf/deps/google/protobuf/duration.proto +0 -116
  152. package/schema/.snootobuf/deps/google/protobuf/empty.proto +0 -51
  153. package/schema/.snootobuf/deps/google/protobuf/field_mask.proto +0 -245
  154. package/schema/.snootobuf/deps/google/protobuf/source_context.proto +0 -48
  155. package/schema/.snootobuf/deps/google/protobuf/struct.proto +0 -95
  156. package/schema/.snootobuf/deps/google/protobuf/timestamp.proto +0 -147
  157. package/schema/.snootobuf/deps/google/protobuf/type.proto +0 -187
  158. package/schema/.snootobuf/deps/google/protobuf/wrappers.proto +0 -123
  159. package/schema/.snootobuf/deps/google/rpc/code.proto +0 -186
  160. package/schema/.snootobuf/deps/google/rpc/context/attribute_context.proto +0 -287
  161. package/schema/.snootobuf/deps/google/rpc/error_details.proto +0 -246
  162. package/schema/.snootobuf/deps/google/rpc/status.proto +0 -47
  163. package/schema/.snootobuf/deps/google/type/calendar_period.proto +0 -57
  164. package/schema/.snootobuf/deps/google/type/color.proto +0 -170
  165. package/schema/.snootobuf/deps/google/type/date.proto +0 -50
  166. package/schema/.snootobuf/deps/google/type/datetime.proto +0 -97
  167. package/schema/.snootobuf/deps/google/type/dayofweek.proto +0 -51
  168. package/schema/.snootobuf/deps/google/type/expr.proto +0 -51
  169. package/schema/.snootobuf/deps/google/type/fraction.proto +0 -34
  170. package/schema/.snootobuf/deps/google/type/latlng.proto +0 -37
  171. package/schema/.snootobuf/deps/google/type/money.proto +0 -43
  172. package/schema/.snootobuf/deps/google/type/month.proto +0 -66
  173. package/schema/.snootobuf/deps/google/type/postal_address.proto +0 -135
  174. package/schema/.snootobuf/deps/google/type/quaternion.proto +0 -95
  175. package/schema/.snootobuf/deps/google/type/timeofday.proto +0 -44
  176. package/schema/.snootobuf/deps/openapi/helper.proto +0 -20
  177. package/schema/.snootobuf/deps/products-api/protos/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +0 -189
  178. package/schema/.snootobuf/deps/products-api/protos/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +0 -118
  179. package/schema/.snootobuf/deps/reddit/api/metadata/v1/metadata.proto +0 -55
  180. package/schema/.snootobuf/deps/reddit/coreplatform/account/v1/account.proto +0 -579
  181. package/schema/.snootobuf/deps/reddit/coreplatform/account/v1/account_relations.proto +0 -43
  182. package/schema/.snootobuf/deps/reddit/coreplatform/api/metadata/v1/metadata.proto +0 -82
  183. package/schema/.snootobuf/deps/reddit/coreplatform/blocking/v1/user_blocking_service.proto +0 -221
  184. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree.proto +0 -78
  185. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_service.proto +0 -189
  186. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_structure.proto +0 -29
  187. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comments.proto +0 -417
  188. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comments_service.proto +0 -72
  189. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/auth.proto +0 -25
  190. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/features.proto +0 -52
  191. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/lang.proto +0 -16
  192. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/legal.proto +0 -20
  193. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/media.proto +0 -149
  194. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/moderation.proto +0 -197
  195. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/safety.proto +0 -116
  196. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/time.proto +0 -25
  197. package/schema/.snootobuf/deps/reddit/coreplatform/domains/v1/domains_metadata_service.proto +0 -101
  198. package/schema/.snootobuf/deps/reddit/coreplatform/grpc_thrift/v1/grpc_thrift_options.proto +0 -34
  199. package/schema/.snootobuf/deps/reddit/coreplatform/links/v1/links.proto +0 -798
  200. package/schema/.snootobuf/deps/reddit/coreplatform/links/v1/links_service.proto +0 -186
  201. package/schema/.snootobuf/deps/reddit/coreplatform/messages/v1/messages.proto +0 -110
  202. package/schema/.snootobuf/deps/reddit/coreplatform/sensitive/v1/wrappers.proto +0 -51
  203. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit.proto +0 -1202
  204. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_member_relations.proto +0 -85
  205. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_moderator_service.proto +0 -363
  206. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_service.proto +0 -301
  207. package/schema/.snootobuf/deps/reddit/coreplatform/thing/v0/thing.proto +0 -2869
  208. package/schema/.snootobuf/deps/reddit/devvit/custom_post/v1/custom_post.proto +0 -15
  209. package/schema/.snootobuf/deps/reddit/devvit/custom_post/v1/service.proto +0 -11
  210. package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/context_action.proto +0 -48
  211. package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/manifest.proto +0 -70
  212. package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/service.proto +0 -11
  213. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/acknowledge_order_delivery.proto +0 -17
  214. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/checkout.proto +0 -89
  215. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/common.proto +0 -322
  216. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/delete_products.proto +0 -17
  217. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/events.proto +0 -14
  218. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_batch_products.proto +0 -15
  219. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_gold_balances.proto +0 -48
  220. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_order.proto +0 -31
  221. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders.proto +0 -26
  222. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders_by_user.proto +0 -15
  223. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_payout_info_batch.proto +0 -52
  224. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_products.proto +0 -23
  225. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_user_profiles.proto +0 -28
  226. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/refund_order.proto +0 -17
  227. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service.proto +0 -49
  228. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service_data_compliance.proto +0 -20
  229. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/upsert_products.proto +0 -17
  230. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paygatewaypsps/v1/paygatewaypsps.proto +0 -158
  231. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payments_data_compliance.proto +0 -18
  232. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payorders.proto +0 -195
  233. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/admin.proto +0 -44
  234. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/ledger.proto +0 -200
  235. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/payments_data_compliance.proto +0 -18
  236. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/paypayments.proto +0 -210
  237. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +0 -189
  238. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +0 -135
  239. package/schema/.snootobuf/deps/snooron_sources/text_classification/text_classification.proto +0 -29
  240. package/schema/.snootobuf/deps/snooron_sources/v2_event/v2_event.proto +0 -3292
  241. package/schema/.snootobuf/deps/validate/validate.proto +0 -862
@@ -1,69 +0,0 @@
1
- // Copyright 2024 Google LLC
2
- //
3
- // Licensed under the Apache License, Version 2.0 (the "License");
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
- //
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- //
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.
14
-
15
- syntax = "proto3";
16
-
17
- package google.api;
18
-
19
- option go_package = "google.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig";
20
- option java_multiple_files = true;
21
- option java_outer_classname = "EndpointProto";
22
- option java_package = "com.google.api";
23
- option objc_class_prefix = "GAPI";
24
-
25
- // `Endpoint` describes a network address of a service that serves a set of
26
- // APIs. It is commonly known as a service endpoint. A service may expose
27
- // any number of service endpoints, and all service endpoints share the same
28
- // service definition, such as quota limits and monitoring metrics.
29
- //
30
- // Example:
31
- //
32
- // type: google.api.Service
33
- // name: library-example.googleapis.com
34
- // endpoints:
35
- // # Declares network address `https://library-example.googleapis.com`
36
- // # for service `library-example.googleapis.com`. The `https` scheme
37
- // # is implicit for all service endpoints. Other schemes may be
38
- // # supported in the future.
39
- // - name: library-example.googleapis.com
40
- // allow_cors: false
41
- // - name: content-staging-library-example.googleapis.com
42
- // # Allows HTTP OPTIONS calls to be passed to the API frontend, for it
43
- // # to decide whether the subsequent cross-origin request is allowed
44
- // # to proceed.
45
- // allow_cors: true
46
- message Endpoint {
47
- // The canonical name of this endpoint.
48
- string name = 1;
49
-
50
- // Aliases for this endpoint, these will be served by the same UrlMap as the
51
- // parent endpoint, and will be provisioned in the GCP stack for the Regional
52
- // Endpoints.
53
- repeated string aliases = 2;
54
-
55
- // The specification of an Internet routable address of API frontend that will
56
- // handle requests to this [API
57
- // Endpoint](https://cloud.google.com/apis/design/glossary). It should be
58
- // either a valid IPv4 address or a fully-qualified domain name. For example,
59
- // "8.8.8.8" or "myservice.appspot.com".
60
- string target = 101;
61
-
62
- // Allowing
63
- // [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing), aka
64
- // cross-domain traffic, would allow the backends served from this endpoint to
65
- // receive and respond to HTTP OPTIONS requests. The response will be used by
66
- // the browser to determine whether the subsequent cross-origin request is
67
- // allowed to proceed.
68
- bool allow_cors = 5;
69
- }
@@ -1,589 +0,0 @@
1
- // Copyright 2024 Google LLC
2
- //
3
- // Licensed under the Apache License, Version 2.0 (the "License");
4
- // you may not use this file except in compliance with the License.
5
- // You may obtain a copy of the License at
6
- //
7
- // http://www.apache.org/licenses/LICENSE-2.0
8
- //
9
- // Unless required by applicable law or agreed to in writing, software
10
- // distributed under the License is distributed on an "AS IS" BASIS,
11
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- // See the License for the specific language governing permissions and
13
- // limitations under the License.
14
-
15
- syntax = "proto3";
16
-
17
- package google.api;
18
-
19
- option go_package = "google.golang.org/genproto/googleapis/api/error_reason;error_reason";
20
- option java_multiple_files = true;
21
- option java_outer_classname = "ErrorReasonProto";
22
- option java_package = "com.google.api";
23
- option objc_class_prefix = "GAPI";
24
-
25
- // Defines the supported values for `google.rpc.ErrorInfo.reason` for the
26
- // `googleapis.com` error domain. This error domain is reserved for [Service
27
- // Infrastructure](https://cloud.google.com/service-infrastructure/docs/overview).
28
- // For each error info of this domain, the metadata key "service" refers to the
29
- // logical identifier of an API service, such as "pubsub.googleapis.com". The
30
- // "consumer" refers to the entity that consumes an API Service. It typically is
31
- // a Google project that owns the client application or the server resource,
32
- // such as "projects/123". Other metadata keys are specific to each error
33
- // reason. For more information, see the definition of the specific error
34
- // reason.
35
- enum ErrorReason {
36
- // Do not use this default value.
37
- ERROR_REASON_UNSPECIFIED = 0;
38
-
39
- // The request is calling a disabled service for a consumer.
40
- //
41
- // Example of an ErrorInfo when the consumer "projects/123" contacting
42
- // "pubsub.googleapis.com" service which is disabled:
43
- //
44
- // { "reason": "SERVICE_DISABLED",
45
- // "domain": "googleapis.com",
46
- // "metadata": {
47
- // "consumer": "projects/123",
48
- // "service": "pubsub.googleapis.com"
49
- // }
50
- // }
51
- //
52
- // This response indicates the "pubsub.googleapis.com" has been disabled in
53
- // "projects/123".
54
- SERVICE_DISABLED = 1;
55
-
56
- // The request whose associated billing account is disabled.
57
- //
58
- // Example of an ErrorInfo when the consumer "projects/123" fails to contact
59
- // "pubsub.googleapis.com" service because the associated billing account is
60
- // disabled:
61
- //
62
- // { "reason": "BILLING_DISABLED",
63
- // "domain": "googleapis.com",
64
- // "metadata": {
65
- // "consumer": "projects/123",
66
- // "service": "pubsub.googleapis.com"
67
- // }
68
- // }
69
- //
70
- // This response indicates the billing account associated has been disabled.
71
- BILLING_DISABLED = 2;
72
-
73
- // The request is denied because the provided [API
74
- // key](https://cloud.google.com/docs/authentication/api-keys) is invalid. It
75
- // may be in a bad format, cannot be found, or has been expired).
76
- //
77
- // Example of an ErrorInfo when the request is contacting
78
- // "storage.googleapis.com" service with an invalid API key:
79
- //
80
- // { "reason": "API_KEY_INVALID",
81
- // "domain": "googleapis.com",
82
- // "metadata": {
83
- // "service": "storage.googleapis.com",
84
- // }
85
- // }
86
- API_KEY_INVALID = 3;
87
-
88
- // The request is denied because it violates [API key API
89
- // restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_api_restrictions).
90
- //
91
- // Example of an ErrorInfo when the consumer "projects/123" fails to call the
92
- // "storage.googleapis.com" service because this service is restricted in the
93
- // API key:
94
- //
95
- // { "reason": "API_KEY_SERVICE_BLOCKED",
96
- // "domain": "googleapis.com",
97
- // "metadata": {
98
- // "consumer": "projects/123",
99
- // "service": "storage.googleapis.com"
100
- // }
101
- // }
102
- API_KEY_SERVICE_BLOCKED = 4;
103
-
104
- // The request is denied because it violates [API key HTTP
105
- // restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_http_restrictions).
106
- //
107
- // Example of an ErrorInfo when the consumer "projects/123" fails to call
108
- // "storage.googleapis.com" service because the http referrer of the request
109
- // violates API key HTTP restrictions:
110
- //
111
- // { "reason": "API_KEY_HTTP_REFERRER_BLOCKED",
112
- // "domain": "googleapis.com",
113
- // "metadata": {
114
- // "consumer": "projects/123",
115
- // "service": "storage.googleapis.com",
116
- // }
117
- // }
118
- API_KEY_HTTP_REFERRER_BLOCKED = 7;
119
-
120
- // The request is denied because it violates [API key IP address
121
- // restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_application_restrictions).
122
- //
123
- // Example of an ErrorInfo when the consumer "projects/123" fails to call
124
- // "storage.googleapis.com" service because the caller IP of the request
125
- // violates API key IP address restrictions:
126
- //
127
- // { "reason": "API_KEY_IP_ADDRESS_BLOCKED",
128
- // "domain": "googleapis.com",
129
- // "metadata": {
130
- // "consumer": "projects/123",
131
- // "service": "storage.googleapis.com",
132
- // }
133
- // }
134
- API_KEY_IP_ADDRESS_BLOCKED = 8;
135
-
136
- // The request is denied because it violates [API key Android application
137
- // restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_application_restrictions).
138
- //
139
- // Example of an ErrorInfo when the consumer "projects/123" fails to call
140
- // "storage.googleapis.com" service because the request from the Android apps
141
- // violates the API key Android application restrictions:
142
- //
143
- // { "reason": "API_KEY_ANDROID_APP_BLOCKED",
144
- // "domain": "googleapis.com",
145
- // "metadata": {
146
- // "consumer": "projects/123",
147
- // "service": "storage.googleapis.com"
148
- // }
149
- // }
150
- API_KEY_ANDROID_APP_BLOCKED = 9;
151
-
152
- // The request is denied because it violates [API key iOS application
153
- // restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_application_restrictions).
154
- //
155
- // Example of an ErrorInfo when the consumer "projects/123" fails to call
156
- // "storage.googleapis.com" service because the request from the iOS apps
157
- // violates the API key iOS application restrictions:
158
- //
159
- // { "reason": "API_KEY_IOS_APP_BLOCKED",
160
- // "domain": "googleapis.com",
161
- // "metadata": {
162
- // "consumer": "projects/123",
163
- // "service": "storage.googleapis.com"
164
- // }
165
- // }
166
- API_KEY_IOS_APP_BLOCKED = 13;
167
-
168
- // The request is denied because there is not enough rate quota for the
169
- // consumer.
170
- //
171
- // Example of an ErrorInfo when the consumer "projects/123" fails to contact
172
- // "pubsub.googleapis.com" service because consumer's rate quota usage has
173
- // reached the maximum value set for the quota limit
174
- // "ReadsPerMinutePerProject" on the quota metric
175
- // "pubsub.googleapis.com/read_requests":
176
- //
177
- // { "reason": "RATE_LIMIT_EXCEEDED",
178
- // "domain": "googleapis.com",
179
- // "metadata": {
180
- // "consumer": "projects/123",
181
- // "service": "pubsub.googleapis.com",
182
- // "quota_metric": "pubsub.googleapis.com/read_requests",
183
- // "quota_limit": "ReadsPerMinutePerProject"
184
- // }
185
- // }
186
- //
187
- // Example of an ErrorInfo when the consumer "projects/123" checks quota on
188
- // the service "dataflow.googleapis.com" and hits the organization quota
189
- // limit "DefaultRequestsPerMinutePerOrganization" on the metric
190
- // "dataflow.googleapis.com/default_requests".
191
- //
192
- // { "reason": "RATE_LIMIT_EXCEEDED",
193
- // "domain": "googleapis.com",
194
- // "metadata": {
195
- // "consumer": "projects/123",
196
- // "service": "dataflow.googleapis.com",
197
- // "quota_metric": "dataflow.googleapis.com/default_requests",
198
- // "quota_limit": "DefaultRequestsPerMinutePerOrganization"
199
- // }
200
- // }
201
- RATE_LIMIT_EXCEEDED = 5;
202
-
203
- // The request is denied because there is not enough resource quota for the
204
- // consumer.
205
- //
206
- // Example of an ErrorInfo when the consumer "projects/123" fails to contact
207
- // "compute.googleapis.com" service because consumer's resource quota usage
208
- // has reached the maximum value set for the quota limit "VMsPerProject"
209
- // on the quota metric "compute.googleapis.com/vms":
210
- //
211
- // { "reason": "RESOURCE_QUOTA_EXCEEDED",
212
- // "domain": "googleapis.com",
213
- // "metadata": {
214
- // "consumer": "projects/123",
215
- // "service": "compute.googleapis.com",
216
- // "quota_metric": "compute.googleapis.com/vms",
217
- // "quota_limit": "VMsPerProject"
218
- // }
219
- // }
220
- //
221
- // Example of an ErrorInfo when the consumer "projects/123" checks resource
222
- // quota on the service "dataflow.googleapis.com" and hits the organization
223
- // quota limit "jobs-per-organization" on the metric
224
- // "dataflow.googleapis.com/job_count".
225
- //
226
- // { "reason": "RESOURCE_QUOTA_EXCEEDED",
227
- // "domain": "googleapis.com",
228
- // "metadata": {
229
- // "consumer": "projects/123",
230
- // "service": "dataflow.googleapis.com",
231
- // "quota_metric": "dataflow.googleapis.com/job_count",
232
- // "quota_limit": "jobs-per-organization"
233
- // }
234
- // }
235
- RESOURCE_QUOTA_EXCEEDED = 6;
236
-
237
- // The request whose associated billing account address is in a tax restricted
238
- // location, violates the local tax restrictions when creating resources in
239
- // the restricted region.
240
- //
241
- // Example of an ErrorInfo when creating the Cloud Storage Bucket in the
242
- // container "projects/123" under a tax restricted region
243
- // "locations/asia-northeast3":
244
- //
245
- // { "reason": "LOCATION_TAX_POLICY_VIOLATED",
246
- // "domain": "googleapis.com",
247
- // "metadata": {
248
- // "consumer": "projects/123",
249
- // "service": "storage.googleapis.com",
250
- // "location": "locations/asia-northeast3"
251
- // }
252
- // }
253
- //
254
- // This response indicates creating the Cloud Storage Bucket in
255
- // "locations/asia-northeast3" violates the location tax restriction.
256
- LOCATION_TAX_POLICY_VIOLATED = 10;
257
-
258
- // The request is denied because the caller does not have required permission
259
- // on the user project "projects/123" or the user project is invalid. For more
260
- // information, check the [userProject System
261
- // Parameters](https://cloud.google.com/apis/docs/system-parameters).
262
- //
263
- // Example of an ErrorInfo when the caller is calling Cloud Storage service
264
- // with insufficient permissions on the user project:
265
- //
266
- // { "reason": "USER_PROJECT_DENIED",
267
- // "domain": "googleapis.com",
268
- // "metadata": {
269
- // "consumer": "projects/123",
270
- // "service": "storage.googleapis.com"
271
- // }
272
- // }
273
- USER_PROJECT_DENIED = 11;
274
-
275
- // The request is denied because the consumer "projects/123" is suspended due
276
- // to Terms of Service(Tos) violations. Check [Project suspension
277
- // guidelines](https://cloud.google.com/resource-manager/docs/project-suspension-guidelines)
278
- // for more information.
279
- //
280
- // Example of an ErrorInfo when calling Cloud Storage service with the
281
- // suspended consumer "projects/123":
282
- //
283
- // { "reason": "CONSUMER_SUSPENDED",
284
- // "domain": "googleapis.com",
285
- // "metadata": {
286
- // "consumer": "projects/123",
287
- // "service": "storage.googleapis.com"
288
- // }
289
- // }
290
- CONSUMER_SUSPENDED = 12;
291
-
292
- // The request is denied because the associated consumer is invalid. It may be
293
- // in a bad format, cannot be found, or have been deleted.
294
- //
295
- // Example of an ErrorInfo when calling Cloud Storage service with the
296
- // invalid consumer "projects/123":
297
- //
298
- // { "reason": "CONSUMER_INVALID",
299
- // "domain": "googleapis.com",
300
- // "metadata": {
301
- // "consumer": "projects/123",
302
- // "service": "storage.googleapis.com"
303
- // }
304
- // }
305
- CONSUMER_INVALID = 14;
306
-
307
- // The request is denied because it violates [VPC Service
308
- // Controls](https://cloud.google.com/vpc-service-controls/docs/overview).
309
- // The 'uid' field is a random generated identifier that customer can use it
310
- // to search the audit log for a request rejected by VPC Service Controls. For
311
- // more information, please refer [VPC Service Controls
312
- // Troubleshooting](https://cloud.google.com/vpc-service-controls/docs/troubleshooting#unique-id)
313
- //
314
- // Example of an ErrorInfo when the consumer "projects/123" fails to call
315
- // Cloud Storage service because the request is prohibited by the VPC Service
316
- // Controls.
317
- //
318
- // { "reason": "SECURITY_POLICY_VIOLATED",
319
- // "domain": "googleapis.com",
320
- // "metadata": {
321
- // "uid": "123456789abcde",
322
- // "consumer": "projects/123",
323
- // "service": "storage.googleapis.com"
324
- // }
325
- // }
326
- SECURITY_POLICY_VIOLATED = 15;
327
-
328
- // The request is denied because the provided access token has expired.
329
- //
330
- // Example of an ErrorInfo when the request is calling Cloud Storage service
331
- // with an expired access token:
332
- //
333
- // { "reason": "ACCESS_TOKEN_EXPIRED",
334
- // "domain": "googleapis.com",
335
- // "metadata": {
336
- // "service": "storage.googleapis.com",
337
- // "method": "google.storage.v1.Storage.GetObject"
338
- // }
339
- // }
340
- ACCESS_TOKEN_EXPIRED = 16;
341
-
342
- // The request is denied because the provided access token doesn't have at
343
- // least one of the acceptable scopes required for the API. Please check
344
- // [OAuth 2.0 Scopes for Google
345
- // APIs](https://developers.google.com/identity/protocols/oauth2/scopes) for
346
- // the list of the OAuth 2.0 scopes that you might need to request to access
347
- // the API.
348
- //
349
- // Example of an ErrorInfo when the request is calling Cloud Storage service
350
- // with an access token that is missing required scopes:
351
- //
352
- // { "reason": "ACCESS_TOKEN_SCOPE_INSUFFICIENT",
353
- // "domain": "googleapis.com",
354
- // "metadata": {
355
- // "service": "storage.googleapis.com",
356
- // "method": "google.storage.v1.Storage.GetObject"
357
- // }
358
- // }
359
- ACCESS_TOKEN_SCOPE_INSUFFICIENT = 17;
360
-
361
- // The request is denied because the account associated with the provided
362
- // access token is in an invalid state, such as disabled or deleted.
363
- // For more information, see https://cloud.google.com/docs/authentication.
364
- //
365
- // Warning: For privacy reasons, the server may not be able to disclose the
366
- // email address for some accounts. The client MUST NOT depend on the
367
- // availability of the `email` attribute.
368
- //
369
- // Example of an ErrorInfo when the request is to the Cloud Storage API with
370
- // an access token that is associated with a disabled or deleted [service
371
- // account](http://cloud/iam/docs/service-accounts):
372
- //
373
- // { "reason": "ACCOUNT_STATE_INVALID",
374
- // "domain": "googleapis.com",
375
- // "metadata": {
376
- // "service": "storage.googleapis.com",
377
- // "method": "google.storage.v1.Storage.GetObject",
378
- // "email": "user@123.iam.gserviceaccount.com"
379
- // }
380
- // }
381
- ACCOUNT_STATE_INVALID = 18;
382
-
383
- // The request is denied because the type of the provided access token is not
384
- // supported by the API being called.
385
- //
386
- // Example of an ErrorInfo when the request is to the Cloud Storage API with
387
- // an unsupported token type.
388
- //
389
- // { "reason": "ACCESS_TOKEN_TYPE_UNSUPPORTED",
390
- // "domain": "googleapis.com",
391
- // "metadata": {
392
- // "service": "storage.googleapis.com",
393
- // "method": "google.storage.v1.Storage.GetObject"
394
- // }
395
- // }
396
- ACCESS_TOKEN_TYPE_UNSUPPORTED = 19;
397
-
398
- // The request is denied because the request doesn't have any authentication
399
- // credentials. For more information regarding the supported authentication
400
- // strategies for Google Cloud APIs, see
401
- // https://cloud.google.com/docs/authentication.
402
- //
403
- // Example of an ErrorInfo when the request is to the Cloud Storage API
404
- // without any authentication credentials.
405
- //
406
- // { "reason": "CREDENTIALS_MISSING",
407
- // "domain": "googleapis.com",
408
- // "metadata": {
409
- // "service": "storage.googleapis.com",
410
- // "method": "google.storage.v1.Storage.GetObject"
411
- // }
412
- // }
413
- CREDENTIALS_MISSING = 20;
414
-
415
- // The request is denied because the provided project owning the resource
416
- // which acts as the [API
417
- // consumer](https://cloud.google.com/apis/design/glossary#api_consumer) is
418
- // invalid. It may be in a bad format or empty.
419
- //
420
- // Example of an ErrorInfo when the request is to the Cloud Functions API,
421
- // but the offered resource project in the request in a bad format which can't
422
- // perform the ListFunctions method.
423
- //
424
- // { "reason": "RESOURCE_PROJECT_INVALID",
425
- // "domain": "googleapis.com",
426
- // "metadata": {
427
- // "service": "cloudfunctions.googleapis.com",
428
- // "method":
429
- // "google.cloud.functions.v1.CloudFunctionsService.ListFunctions"
430
- // }
431
- // }
432
- RESOURCE_PROJECT_INVALID = 21;
433
-
434
- // The request is denied because the provided session cookie is missing,
435
- // invalid or failed to decode.
436
- //
437
- // Example of an ErrorInfo when the request is calling Cloud Storage service
438
- // with a SID cookie which can't be decoded.
439
- //
440
- // { "reason": "SESSION_COOKIE_INVALID",
441
- // "domain": "googleapis.com",
442
- // "metadata": {
443
- // "service": "storage.googleapis.com",
444
- // "method": "google.storage.v1.Storage.GetObject",
445
- // "cookie": "SID"
446
- // }
447
- // }
448
- SESSION_COOKIE_INVALID = 23;
449
-
450
- // The request is denied because the user is from a Google Workspace customer
451
- // that blocks their users from accessing a particular service.
452
- //
453
- // Example scenario: https://support.google.com/a/answer/9197205?hl=en
454
- //
455
- // Example of an ErrorInfo when access to Google Cloud Storage service is
456
- // blocked by the Google Workspace administrator:
457
- //
458
- // { "reason": "USER_BLOCKED_BY_ADMIN",
459
- // "domain": "googleapis.com",
460
- // "metadata": {
461
- // "service": "storage.googleapis.com",
462
- // "method": "google.storage.v1.Storage.GetObject",
463
- // }
464
- // }
465
- USER_BLOCKED_BY_ADMIN = 24;
466
-
467
- // The request is denied because the resource service usage is restricted
468
- // by administrators according to the organization policy constraint.
469
- // For more information see
470
- // https://cloud.google.com/resource-manager/docs/organization-policy/restricting-services.
471
- //
472
- // Example of an ErrorInfo when access to Google Cloud Storage service is
473
- // restricted by Resource Usage Restriction policy:
474
- //
475
- // { "reason": "RESOURCE_USAGE_RESTRICTION_VIOLATED",
476
- // "domain": "googleapis.com",
477
- // "metadata": {
478
- // "consumer": "projects/project-123",
479
- // "service": "storage.googleapis.com"
480
- // }
481
- // }
482
- RESOURCE_USAGE_RESTRICTION_VIOLATED = 25;
483
-
484
- // Unimplemented. Do not use.
485
- //
486
- // The request is denied because it contains unsupported system parameters in
487
- // URL query parameters or HTTP headers. For more information,
488
- // see https://cloud.google.com/apis/docs/system-parameters
489
- //
490
- // Example of an ErrorInfo when access "pubsub.googleapis.com" service with
491
- // a request header of "x-goog-user-ip":
492
- //
493
- // { "reason": "SYSTEM_PARAMETER_UNSUPPORTED",
494
- // "domain": "googleapis.com",
495
- // "metadata": {
496
- // "service": "pubsub.googleapis.com"
497
- // "parameter": "x-goog-user-ip"
498
- // }
499
- // }
500
- SYSTEM_PARAMETER_UNSUPPORTED = 26;
501
-
502
- // The request is denied because it violates Org Restriction: the requested
503
- // resource does not belong to allowed organizations specified in
504
- // "X-Goog-Allowed-Resources" header.
505
- //
506
- // Example of an ErrorInfo when accessing a GCP resource that is restricted by
507
- // Org Restriction for "pubsub.googleapis.com" service.
508
- //
509
- // {
510
- // reason: "ORG_RESTRICTION_VIOLATION"
511
- // domain: "googleapis.com"
512
- // metadata {
513
- // "consumer":"projects/123456"
514
- // "service": "pubsub.googleapis.com"
515
- // }
516
- // }
517
- ORG_RESTRICTION_VIOLATION = 27;
518
-
519
- // The request is denied because "X-Goog-Allowed-Resources" header is in a bad
520
- // format.
521
- //
522
- // Example of an ErrorInfo when
523
- // accessing "pubsub.googleapis.com" service with an invalid
524
- // "X-Goog-Allowed-Resources" request header.
525
- //
526
- // {
527
- // reason: "ORG_RESTRICTION_HEADER_INVALID"
528
- // domain: "googleapis.com"
529
- // metadata {
530
- // "consumer":"projects/123456"
531
- // "service": "pubsub.googleapis.com"
532
- // }
533
- // }
534
- ORG_RESTRICTION_HEADER_INVALID = 28;
535
-
536
- // Unimplemented. Do not use.
537
- //
538
- // The request is calling a service that is not visible to the consumer.
539
- //
540
- // Example of an ErrorInfo when the consumer "projects/123" contacting
541
- // "pubsub.googleapis.com" service which is not visible to the consumer.
542
- //
543
- // { "reason": "SERVICE_NOT_VISIBLE",
544
- // "domain": "googleapis.com",
545
- // "metadata": {
546
- // "consumer": "projects/123",
547
- // "service": "pubsub.googleapis.com"
548
- // }
549
- // }
550
- //
551
- // This response indicates the "pubsub.googleapis.com" is not visible to
552
- // "projects/123" (or it may not exist).
553
- SERVICE_NOT_VISIBLE = 29;
554
-
555
- // The request is related to a project for which GCP access is suspended.
556
- //
557
- // Example of an ErrorInfo when the consumer "projects/123" fails to contact
558
- // "pubsub.googleapis.com" service because GCP access is suspended:
559
- //
560
- // { "reason": "GCP_SUSPENDED",
561
- // "domain": "googleapis.com",
562
- // "metadata": {
563
- // "consumer": "projects/123",
564
- // "service": "pubsub.googleapis.com"
565
- // }
566
- // }
567
- //
568
- // This response indicates the associated GCP account has been suspended.
569
- GCP_SUSPENDED = 30;
570
-
571
- // The request violates the location policies when creating resources in
572
- // the restricted region.
573
- //
574
- // Example of an ErrorInfo when creating the Cloud Storage Bucket by
575
- // "projects/123" for service storage.googleapis.com:
576
- //
577
- // { "reason": "LOCATION_POLICY_VIOLATED",
578
- // "domain": "googleapis.com",
579
- // "metadata": {
580
- // "consumer": "projects/123",
581
- // "service": "storage.googleapis.com",
582
- // }
583
- // }
584
- //
585
- // This response indicates creating the Cloud Storage Bucket in
586
- // "locations/asia-northeast3" violates at least one location policy.
587
- // The troubleshooting guidance is provided in the Help links.
588
- LOCATION_POLICY_VIOLATED = 31;
589
- }