@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,458 +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.serviceusage.v1beta1;
18
-
19
- import "google/api/auth.proto";
20
- import "google/api/documentation.proto";
21
- import "google/api/endpoint.proto";
22
- import "google/api/monitored_resource.proto";
23
- import "google/api/monitoring.proto";
24
- import "google/api/quota.proto";
25
- import "google/api/usage.proto";
26
- import "google/protobuf/api.proto";
27
-
28
- option csharp_namespace = "Google.Api.ServiceUsage.V1Beta1";
29
- option go_package = "google.golang.org/genproto/googleapis/api/serviceusage/v1beta1;serviceusage";
30
- option java_multiple_files = true;
31
- option java_outer_classname = "ResourcesProto";
32
- option java_package = "com.google.api.serviceusage.v1beta1";
33
- option php_namespace = "Google\\Api\\ServiceUsage\\V1beta1";
34
- option ruby_package = "Google::Api::ServiceUsage::V1beta1";
35
-
36
- // A service that is available for use by the consumer.
37
- message Service {
38
- // The resource name of the consumer and service.
39
- //
40
- // A valid name would be:
41
- // - `projects/123/services/serviceusage.googleapis.com`
42
- string name = 1;
43
-
44
- // The resource name of the consumer.
45
- //
46
- // A valid name would be:
47
- // - `projects/123`
48
- string parent = 5;
49
-
50
- // The service configuration of the available service.
51
- // Some fields may be filtered out of the configuration in responses to
52
- // the `ListServices` method. These fields are present only in responses to
53
- // the `GetService` method.
54
- ServiceConfig config = 2;
55
-
56
- // Whether or not the service has been enabled for use by the consumer.
57
- State state = 4;
58
- }
59
-
60
- // Whether or not a service has been enabled for use by a consumer.
61
- enum State {
62
- // The default value, which indicates that the enabled state of the service
63
- // is unspecified or not meaningful. Currently, all consumers other than
64
- // projects (such as folders and organizations) are always in this state.
65
- STATE_UNSPECIFIED = 0;
66
-
67
- // The service cannot be used by this consumer. It has either been explicitly
68
- // disabled, or has never been enabled.
69
- DISABLED = 1;
70
-
71
- // The service has been explicitly enabled for use by this consumer.
72
- ENABLED = 2;
73
- }
74
-
75
- // The configuration of the service.
76
- message ServiceConfig {
77
- // The DNS address at which this service is available.
78
- //
79
- // An example DNS address would be:
80
- // `calendar.googleapis.com`.
81
- string name = 1;
82
-
83
- // The product title for this service.
84
- string title = 2;
85
-
86
- // A list of API interfaces exported by this service. Contains only the names,
87
- // versions, and method names of the interfaces.
88
- repeated google.protobuf.Api apis = 3;
89
-
90
- // Additional API documentation. Contains only the summary and the
91
- // documentation URL.
92
- google.api.Documentation documentation = 6;
93
-
94
- // Quota configuration.
95
- google.api.Quota quota = 10;
96
-
97
- // Auth configuration. Contains only the OAuth rules.
98
- google.api.Authentication authentication = 11;
99
-
100
- // Configuration controlling usage of this service.
101
- google.api.Usage usage = 15;
102
-
103
- // Configuration for network endpoints. Contains only the names and aliases
104
- // of the endpoints.
105
- repeated google.api.Endpoint endpoints = 18;
106
-
107
- // Defines the monitored resources used by this service. This is required
108
- // by the [Service.monitoring][google.api.Service.monitoring] and
109
- // [Service.logging][google.api.Service.logging] configurations.
110
- repeated google.api.MonitoredResourceDescriptor monitored_resources = 25;
111
-
112
- // Monitoring configuration.
113
- // This should not include the 'producer_destinations' field.
114
- google.api.Monitoring monitoring = 28;
115
- }
116
-
117
- // The operation metadata returned for the batchend services operation.
118
- message OperationMetadata {
119
- // The full name of the resources that this operation is directly
120
- // associated with.
121
- repeated string resource_names = 2;
122
- }
123
-
124
- // Consumer quota settings for a quota metric.
125
- message ConsumerQuotaMetric {
126
- // The resource name of the quota settings on this metric for this consumer.
127
- //
128
- // An example name would be:
129
- // `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus`
130
- //
131
- // The resource name is intended to be opaque and should not be parsed for
132
- // its component strings, since its representation could change in the future.
133
- string name = 1;
134
-
135
- // The name of the metric.
136
- //
137
- // An example name would be:
138
- // `compute.googleapis.com/cpus`
139
- string metric = 4;
140
-
141
- // The display name of the metric.
142
- //
143
- // An example name would be:
144
- // `CPUs`
145
- string display_name = 2;
146
-
147
- // The consumer quota for each quota limit defined on the metric.
148
- repeated ConsumerQuotaLimit consumer_quota_limits = 3;
149
-
150
- // The quota limits targeting the descendant containers of the
151
- // consumer in request.
152
- //
153
- // If the consumer in request is of type `organizations`
154
- // or `folders`, the field will list per-project limits in the metric; if the
155
- // consumer in request is of type `project`, the field will be empty.
156
- //
157
- // The `quota_buckets` field of each descendant consumer quota limit will not
158
- // be populated.
159
- repeated ConsumerQuotaLimit descendant_consumer_quota_limits = 6;
160
-
161
- // The units in which the metric value is reported.
162
- string unit = 5;
163
- }
164
-
165
- // Consumer quota settings for a quota limit.
166
- message ConsumerQuotaLimit {
167
- // The resource name of the quota limit.
168
- //
169
- // An example name would be:
170
- // `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
171
- //
172
- // The resource name is intended to be opaque and should not be parsed for
173
- // its component strings, since its representation could change in the future.
174
- string name = 1;
175
-
176
- // The name of the parent metric of this limit.
177
- //
178
- // An example name would be:
179
- // `compute.googleapis.com/cpus`
180
- string metric = 8;
181
-
182
- // The limit unit.
183
- //
184
- // An example unit would be
185
- // `1/{project}/{region}`
186
- // Note that `{project}` and `{region}` are not placeholders in this example;
187
- // the literal characters `{` and `}` occur in the string.
188
- string unit = 2;
189
-
190
- // Whether this limit is precise or imprecise.
191
- bool is_precise = 3;
192
-
193
- // Whether admin overrides are allowed on this limit
194
- bool allows_admin_overrides = 7;
195
-
196
- // Summary of the enforced quota buckets, organized by quota dimension,
197
- // ordered from least specific to most specific (for example, the global
198
- // default bucket, with no quota dimensions, will always appear first).
199
- repeated QuotaBucket quota_buckets = 9;
200
-
201
- // List of all supported locations.
202
- // This field is present only if the limit has a {region} or {zone} dimension.
203
- repeated string supported_locations = 11;
204
- }
205
-
206
- // Selected view of quota. Can be used to request more detailed quota
207
- // information when retrieving quota metrics and limits.
208
- enum QuotaView {
209
- // No quota view specified. Requests that do not specify a quota view will
210
- // typically default to the BASIC view.
211
- QUOTA_VIEW_UNSPECIFIED = 0;
212
-
213
- // Only buckets with overrides are shown in the response.
214
- BASIC = 1;
215
-
216
- // Include per-location buckets even if they do not have overrides.
217
- // When the view is FULL, and a limit has regional or zonal quota, the limit
218
- // will include buckets for all regions or zones that could support
219
- // overrides, even if none are currently present. In some cases this will
220
- // cause the response to become very large; callers that do not need this
221
- // extra information should use the BASIC view instead.
222
- FULL = 2;
223
- }
224
-
225
- // A quota bucket is a quota provisioning unit for a specific set of dimensions.
226
- message QuotaBucket {
227
- // The effective limit of this quota bucket. Equal to default_limit if there
228
- // are no overrides.
229
- int64 effective_limit = 1;
230
-
231
- // The default limit of this quota bucket, as specified by the service
232
- // configuration.
233
- int64 default_limit = 2;
234
-
235
- // Producer override on this quota bucket.
236
- QuotaOverride producer_override = 3;
237
-
238
- // Consumer override on this quota bucket.
239
- QuotaOverride consumer_override = 4;
240
-
241
- // Admin override on this quota bucket.
242
- QuotaOverride admin_override = 5;
243
-
244
- // Producer policy inherited from the closet ancestor of the current consumer.
245
- ProducerQuotaPolicy producer_quota_policy = 7;
246
-
247
- // The dimensions of this quota bucket.
248
- //
249
- // If this map is empty, this is the global bucket, which is the default quota
250
- // value applied to all requests that do not have a more specific override.
251
- //
252
- // If this map is nonempty, the default limit, effective limit, and quota
253
- // overrides apply only to requests that have the dimensions given in the map.
254
- //
255
- // For example, if the map has key `region` and value `us-east-1`, then the
256
- // specified effective limit is only effective in that region, and the
257
- // specified overrides apply only in that region.
258
- map<string, string> dimensions = 6;
259
- }
260
-
261
- // A quota override
262
- message QuotaOverride {
263
- // The resource name of the override.
264
- // This name is generated by the server when the override is created.
265
- //
266
- // Example names would be:
267
- // `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d`
268
- // `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d`
269
- //
270
- // The resource name is intended to be opaque and should not be parsed for
271
- // its component strings, since its representation could change in the future.
272
- string name = 1;
273
-
274
- // The overriding quota limit value.
275
- // Can be any nonnegative integer, or -1 (unlimited quota).
276
- int64 override_value = 2;
277
-
278
- // If this map is nonempty, then this override applies only to specific values
279
- // for dimensions defined in the limit unit.
280
- //
281
- // For example, an override on a limit with the unit `1/{project}/{region}`
282
- // could contain an entry with the key `region` and the value `us-east-1`;
283
- // the override is only applied to quota consumed in that region.
284
- //
285
- // This map has the following restrictions:
286
- //
287
- // * Keys that are not defined in the limit's unit are not valid keys.
288
- // Any string appearing in `{brackets}` in the unit (besides `{project}`
289
- // or
290
- // `{user}`) is a defined key.
291
- // * `project` is not a valid key; the project is already specified in
292
- // the parent resource name.
293
- // * `user` is not a valid key; the API does not support quota overrides
294
- // that apply only to a specific user.
295
- // * If `region` appears as a key, its value must be a valid Cloud region.
296
- // * If `zone` appears as a key, its value must be a valid Cloud zone.
297
- // * If any valid key other than `region` or `zone` appears in the map, then
298
- // all valid keys other than `region` or `zone` must also appear in the
299
- // map.
300
- map<string, string> dimensions = 3;
301
-
302
- // The name of the metric to which this override applies.
303
- //
304
- // An example name would be:
305
- // `compute.googleapis.com/cpus`
306
- string metric = 4;
307
-
308
- // The limit unit of the limit to which this override applies.
309
- //
310
- // An example unit would be:
311
- // `1/{project}/{region}`
312
- // Note that `{project}` and `{region}` are not placeholders in this example;
313
- // the literal characters `{` and `}` occur in the string.
314
- string unit = 5;
315
-
316
- // The resource name of the ancestor that requested the override. For example:
317
- // `organizations/12345` or `folders/67890`.
318
- // Used by admin overrides only.
319
- string admin_override_ancestor = 6;
320
- }
321
-
322
- // Import data embedded in the request message
323
- message OverrideInlineSource {
324
- // The overrides to create.
325
- // Each override must have a value for 'metric' and 'unit', to specify
326
- // which metric and which limit the override should be applied to.
327
- // The 'name' field of the override does not need to be set; it is ignored.
328
- repeated QuotaOverride overrides = 1;
329
- }
330
-
331
- // Enumerations of quota safety checks.
332
- enum QuotaSafetyCheck {
333
- // Unspecified quota safety check.
334
- QUOTA_SAFETY_CHECK_UNSPECIFIED = 0;
335
-
336
- // Validates that a quota mutation would not cause the consumer's effective
337
- // limit to be lower than the consumer's quota usage.
338
- LIMIT_DECREASE_BELOW_USAGE = 1;
339
-
340
- // Validates that a quota mutation would not cause the consumer's effective
341
- // limit to decrease by more than 10 percent.
342
- LIMIT_DECREASE_PERCENTAGE_TOO_HIGH = 2;
343
- }
344
-
345
- // Quota policy created by service producer.
346
- message ProducerQuotaPolicy {
347
- // The resource name of the policy.
348
- // This name is generated by the server when the policy is created.
349
- //
350
- // Example names would be:
351
- // `organizations/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/producerQuotaPolicies/4a3f2c1d`
352
- string name = 1;
353
-
354
- // The quota policy value.
355
- // Can be any nonnegative integer, or -1 (unlimited quota).
356
- int64 policy_value = 2;
357
-
358
- //
359
- // If this map is nonempty, then this policy applies only to specific values
360
- // for dimensions defined in the limit unit.
361
- //
362
- // For example, a policy on a limit with the unit `1/{project}/{region}`
363
- // could contain an entry with the key `region` and the value `us-east-1`;
364
- // the policy is only applied to quota consumed in that region.
365
- //
366
- // This map has the following restrictions:
367
- //
368
- // * Keys that are not defined in the limit's unit are not valid keys.
369
- // Any string appearing in {brackets} in the unit (besides {project} or
370
- // {user}) is a defined key.
371
- // * `project` is not a valid key; the project is already specified in
372
- // the parent resource name.
373
- // * `user` is not a valid key; the API does not support quota policies
374
- // that apply only to a specific user.
375
- // * If `region` appears as a key, its value must be a valid Cloud region.
376
- // * If `zone` appears as a key, its value must be a valid Cloud zone.
377
- // * If any valid key other than `region` or `zone` appears in the map, then
378
- // all valid keys other than `region` or `zone` must also appear in the
379
- // map.
380
- map<string, string> dimensions = 3;
381
-
382
- // The name of the metric to which this policy applies.
383
- //
384
- // An example name would be:
385
- // `compute.googleapis.com/cpus`
386
- string metric = 4;
387
-
388
- // The limit unit of the limit to which this policy applies.
389
- //
390
- // An example unit would be:
391
- // `1/{project}/{region}`
392
- // Note that `{project}` and `{region}` are not placeholders in this example;
393
- // the literal characters `{` and `}` occur in the string.
394
- string unit = 5;
395
-
396
- // The cloud resource container at which the quota policy is created. The
397
- // format is `{container_type}/{container_number}`
398
- string container = 6;
399
- }
400
-
401
- // Quota policy created by quota administrator.
402
- message AdminQuotaPolicy {
403
- // The resource name of the policy.
404
- // This name is generated by the server when the policy is created.
405
- //
406
- // Example names would be:
407
- // `organizations/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminQuotaPolicies/4a3f2c1d`
408
- string name = 1;
409
-
410
- // The quota policy value.
411
- // Can be any nonnegative integer, or -1 (unlimited quota).
412
- int64 policy_value = 2;
413
-
414
- //
415
- // If this map is nonempty, then this policy applies only to specific values
416
- // for dimensions defined in the limit unit.
417
- //
418
- // For example, a policy on a limit with the unit `1/{project}/{region}`
419
- // could contain an entry with the key `region` and the value `us-east-1`;
420
- // the policy is only applied to quota consumed in that region.
421
- //
422
- // This map has the following restrictions:
423
- //
424
- // * If `region` appears as a key, its value must be a valid Cloud region.
425
- // * If `zone` appears as a key, its value must be a valid Cloud zone.
426
- // * Keys other than `region` or `zone` are not valid.
427
- map<string, string> dimensions = 3;
428
-
429
- // The name of the metric to which this policy applies.
430
- //
431
- // An example name would be:
432
- // `compute.googleapis.com/cpus`
433
- string metric = 4;
434
-
435
- // The limit unit of the limit to which this policy applies.
436
- //
437
- // An example unit would be:
438
- // `1/{project}/{region}`
439
- // Note that `{project}` and `{region}` are not placeholders in this example;
440
- // the literal characters `{` and `}` occur in the string.
441
- string unit = 5;
442
-
443
- // The cloud resource container at which the quota policy is created. The
444
- // format is `{container_type}/{container_number}`
445
- string container = 6;
446
- }
447
-
448
- // Service identity for a service. This is the identity that service producer
449
- // should use to access consumer resources.
450
- message ServiceIdentity {
451
- // The email address of the service account that a service producer would use
452
- // to access consumer resources.
453
- string email = 1;
454
-
455
- // The unique and stable id of the service account.
456
- // https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts#ServiceAccount
457
- string unique_id = 2;
458
- }