@devvit/protos 0.11.4-next-2024-12-07-be2205f63.0 → 0.11.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (244) hide show
  1. package/package.json +4 -4
  2. package/schema/devvit/dev_portal/app/app.proto +0 -3
  3. package/schema/devvit/dev_portal/app/info/app_info.proto +1 -13
  4. package/schema/devvit/ui/block_kit/v1beta/ui.proto +1 -1
  5. package/schema/devvit/ui/effects/web_view/v1alpha/fullscreen.proto +1 -7
  6. package/schema/snootobuf.devenv.lock +292 -459
  7. package/schema/snootobuf.lock +292 -459
  8. package/schema/snootobuf.redditapi.lock +292 -459
  9. package/schema/snootobuf.ts.lock +293 -459
  10. package/types/devvit/dev_portal/app/app.d.ts +0 -2
  11. package/types/devvit/dev_portal/app/app.d.ts.map +1 -1
  12. package/types/devvit/dev_portal/app/app.js +0 -17
  13. package/types/devvit/dev_portal/app/info/app_info.d.ts +0 -13
  14. package/types/devvit/dev_portal/app/info/app_info.d.ts.map +1 -1
  15. package/types/devvit/dev_portal/app/info/app_info.js +0 -17
  16. package/types/devvit/dev_portal/dev_portal.d.ts +0 -42
  17. package/types/devvit/dev_portal/dev_portal.d.ts.map +1 -1
  18. package/types/devvit/reddit/custom_post/v1alpha/custom_post.d.ts +0 -4
  19. package/types/devvit/reddit/custom_post/v1alpha/custom_post.d.ts.map +1 -1
  20. package/types/devvit/ui/effects/web_view/v1alpha/fullscreen.d.ts +1 -8
  21. package/types/devvit/ui/effects/web_view/v1alpha/fullscreen.d.ts.map +1 -1
  22. package/types/devvit/ui/effects/web_view/v1alpha/fullscreen.js +1 -15
  23. package/meta.min.json +0 -7814
  24. package/protos.min.js +0 -2
  25. package/protos.min.js.map +0 -7
  26. package/schema/.snootobuf/deps/buf/validate/expression.proto +0 -92
  27. package/schema/.snootobuf/deps/buf/validate/priv/private.proto +0 -41
  28. package/schema/.snootobuf/deps/buf/validate/validate.proto +0 -4130
  29. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/audit.proto +0 -72
  30. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/auth.proto +0 -49
  31. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/organization.proto +0 -54
  32. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/service.proto +0 -46
  33. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/subscription.proto +0 -72
  34. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/ui.proto +0 -20
  35. package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/user.proto +0 -45
  36. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/admin.proto +0 -54
  37. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/delivery.proto +0 -773
  38. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/filter.proto +0 -66
  39. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/firehose.proto +0 -100
  40. package/schema/.snootobuf/deps/devvit/data/api/v1alpha/intake.proto +0 -19
  41. package/schema/.snootobuf/deps/devvit/events/v1alpha/events.proto +0 -446
  42. package/schema/.snootobuf/deps/devvit/gateway/v1alpha/payments.proto +0 -24
  43. package/schema/.snootobuf/deps/devvit/options/options.proto +0 -98
  44. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/commentv2.proto +0 -29
  45. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/flair.proto +0 -25
  46. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/modaction.proto +0 -53
  47. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/modmail.proto +0 -56
  48. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/postv2.proto +0 -107
  49. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/subredditv2.proto +0 -41
  50. package/schema/.snootobuf/deps/devvit/reddit/v2alpha/userv2.proto +0 -23
  51. package/schema/.snootobuf/deps/devvit/triggers/v1alpha/triggers.proto +0 -162
  52. package/schema/.snootobuf/deps/enum/account_gender_category.proto +0 -14
  53. package/schema/.snootobuf/deps/enum/approval_status.proto +0 -15
  54. package/schema/.snootobuf/deps/enum/automated_reporting_level.proto +0 -12
  55. package/schema/.snootobuf/deps/enum/ban_evasion_threshold.proto +0 -13
  56. package/schema/.snootobuf/deps/enum/ban_info_action.proto +0 -12
  57. package/schema/.snootobuf/deps/enum/block_relation_type.proto +0 -11
  58. package/schema/.snootobuf/deps/enum/comment_sort.proto +0 -18
  59. package/schema/.snootobuf/deps/enum/comment_type.proto +0 -11
  60. package/schema/.snootobuf/deps/enum/crowd_control_level.proto +0 -12
  61. package/schema/.snootobuf/deps/enum/discussion_type.proto +0 -10
  62. package/schema/.snootobuf/deps/enum/distinguish_type.proto +0 -14
  63. package/schema/.snootobuf/deps/enum/flair_position.proto +0 -11
  64. package/schema/.snootobuf/deps/enum/hateful_content_threshold.proto +0 -12
  65. package/schema/.snootobuf/deps/enum/link_content_type.proto +0 -11
  66. package/schema/.snootobuf/deps/enum/link_type.proto +0 -11
  67. package/schema/.snootobuf/deps/enum/link_visibility.proto +0 -11
  68. package/schema/.snootobuf/deps/enum/prediction_leaderboard_entry_type.proto +0 -11
  69. package/schema/.snootobuf/deps/enum/promo_layout.proto +0 -11
  70. package/schema/.snootobuf/deps/enum/removed_by_type.proto +0 -18
  71. package/schema/.snootobuf/deps/enum/spam_level.proto +0 -11
  72. package/schema/.snootobuf/deps/enum/subreddit_type.proto +0 -16
  73. package/schema/.snootobuf/deps/enum/verdict.proto +0 -14
  74. package/schema/.snootobuf/deps/enum/vote.proto +0 -12
  75. package/schema/.snootobuf/deps/enum/whitelist_status.proto +0 -17
  76. package/schema/.snootobuf/deps/enum/wiki_edit_mode.proto +0 -12
  77. package/schema/.snootobuf/deps/evaluator/evaluator.proto +0 -203
  78. package/schema/.snootobuf/deps/google/api/annotations.proto +0 -31
  79. package/schema/.snootobuf/deps/google/api/apikeys/v2/apikeys.proto +0 -288
  80. package/schema/.snootobuf/deps/google/api/apikeys/v2/resources.proto +0 -175
  81. package/schema/.snootobuf/deps/google/api/auth.proto +0 -237
  82. package/schema/.snootobuf/deps/google/api/backend.proto +0 -185
  83. package/schema/.snootobuf/deps/google/api/billing.proto +0 -77
  84. package/schema/.snootobuf/deps/google/api/client.proto +0 -431
  85. package/schema/.snootobuf/deps/google/api/cloudquotas/v1/cloudquotas.proto +0 -322
  86. package/schema/.snootobuf/deps/google/api/cloudquotas/v1/resources.proto +0 -315
  87. package/schema/.snootobuf/deps/google/api/config_change.proto +0 -84
  88. package/schema/.snootobuf/deps/google/api/consumer.proto +0 -82
  89. package/schema/.snootobuf/deps/google/api/context.proto +0 -92
  90. package/schema/.snootobuf/deps/google/api/control.proto +0 -41
  91. package/schema/.snootobuf/deps/google/api/distribution.proto +0 -213
  92. package/schema/.snootobuf/deps/google/api/documentation.proto +0 -168
  93. package/schema/.snootobuf/deps/google/api/endpoint.proto +0 -69
  94. package/schema/.snootobuf/deps/google/api/error_reason.proto +0 -589
  95. package/schema/.snootobuf/deps/google/api/expr/conformance/v1alpha1/conformance_service.proto +0 -183
  96. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/checked.proto +0 -343
  97. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/eval.proto +0 -118
  98. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/explain.proto +0 -53
  99. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/syntax.proto +0 -438
  100. package/schema/.snootobuf/deps/google/api/expr/v1alpha1/value.proto +0 -115
  101. package/schema/.snootobuf/deps/google/api/expr/v1beta1/decl.proto +0 -84
  102. package/schema/.snootobuf/deps/google/api/expr/v1beta1/eval.proto +0 -125
  103. package/schema/.snootobuf/deps/google/api/expr/v1beta1/expr.proto +0 -265
  104. package/schema/.snootobuf/deps/google/api/expr/v1beta1/source.proto +0 -62
  105. package/schema/.snootobuf/deps/google/api/expr/v1beta1/value.proto +0 -114
  106. package/schema/.snootobuf/deps/google/api/field_behavior.proto +0 -104
  107. package/schema/.snootobuf/deps/google/api/field_info.proto +0 -106
  108. package/schema/.snootobuf/deps/google/api/http.proto +0 -371
  109. package/schema/.snootobuf/deps/google/api/httpbody.proto +0 -81
  110. package/schema/.snootobuf/deps/google/api/label.proto +0 -48
  111. package/schema/.snootobuf/deps/google/api/launch_stage.proto +0 -72
  112. package/schema/.snootobuf/deps/google/api/log.proto +0 -54
  113. package/schema/.snootobuf/deps/google/api/logging.proto +0 -81
  114. package/schema/.snootobuf/deps/google/api/metric.proto +0 -268
  115. package/schema/.snootobuf/deps/google/api/monitored_resource.proto +0 -130
  116. package/schema/.snootobuf/deps/google/api/monitoring.proto +0 -107
  117. package/schema/.snootobuf/deps/google/api/policy.proto +0 -85
  118. package/schema/.snootobuf/deps/google/api/quota.proto +0 -184
  119. package/schema/.snootobuf/deps/google/api/resource.proto +0 -243
  120. package/schema/.snootobuf/deps/google/api/routing.proto +0 -461
  121. package/schema/.snootobuf/deps/google/api/service.proto +0 -191
  122. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/check_error.proto +0 -124
  123. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/distribution.proto +0 -166
  124. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/http_request.proto +0 -93
  125. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/log_entry.proto +0 -126
  126. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/metric_value.proto +0 -81
  127. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/operation.proto +0 -123
  128. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/quota_controller.proto +0 -245
  129. package/schema/.snootobuf/deps/google/api/servicecontrol/v1/service_controller.proto +0 -260
  130. package/schema/.snootobuf/deps/google/api/servicecontrol/v2/service_controller.proto +0 -196
  131. package/schema/.snootobuf/deps/google/api/servicemanagement/v1/resources.proto +0 -295
  132. package/schema/.snootobuf/deps/google/api/servicemanagement/v1/servicemanager.proto +0 -508
  133. package/schema/.snootobuf/deps/google/api/serviceusage/v1/resources.proto +0 -130
  134. package/schema/.snootobuf/deps/google/api/serviceusage/v1/serviceusage.proto +0 -305
  135. package/schema/.snootobuf/deps/google/api/serviceusage/v1beta1/resources.proto +0 -458
  136. package/schema/.snootobuf/deps/google/api/serviceusage/v1beta1/serviceusage.proto +0 -793
  137. package/schema/.snootobuf/deps/google/api/source_info.proto +0 -31
  138. package/schema/.snootobuf/deps/google/api/system_parameter.proto +0 -96
  139. package/schema/.snootobuf/deps/google/api/usage.proto +0 -96
  140. package/schema/.snootobuf/deps/google/api/visibility.proto +0 -113
  141. package/schema/.snootobuf/deps/google/cloud/extended_operations.proto +0 -150
  142. package/schema/.snootobuf/deps/google/iam/admin/v1/iam.proto +0 -1087
  143. package/schema/.snootobuf/deps/google/iam/v1/iam_policy.proto +0 -145
  144. package/schema/.snootobuf/deps/google/iam/v1/logging/audit_data.proto +0 -34
  145. package/schema/.snootobuf/deps/google/iam/v1/options.proto +0 -41
  146. package/schema/.snootobuf/deps/google/iam/v1/policy.proto +0 -240
  147. package/schema/.snootobuf/deps/google/logging/type/http_request.proto +0 -92
  148. package/schema/.snootobuf/deps/google/logging/type/log_severity.proto +0 -72
  149. package/schema/.snootobuf/deps/google/longrunning/operations.proto +0 -247
  150. package/schema/.snootobuf/deps/google/protobuf/any.proto +0 -158
  151. package/schema/.snootobuf/deps/google/protobuf/api.proto +0 -208
  152. package/schema/.snootobuf/deps/google/protobuf/compiler/plugin.proto +0 -183
  153. package/schema/.snootobuf/deps/google/protobuf/descriptor.proto +0 -921
  154. package/schema/.snootobuf/deps/google/protobuf/duration.proto +0 -116
  155. package/schema/.snootobuf/deps/google/protobuf/empty.proto +0 -51
  156. package/schema/.snootobuf/deps/google/protobuf/field_mask.proto +0 -245
  157. package/schema/.snootobuf/deps/google/protobuf/source_context.proto +0 -48
  158. package/schema/.snootobuf/deps/google/protobuf/struct.proto +0 -95
  159. package/schema/.snootobuf/deps/google/protobuf/timestamp.proto +0 -147
  160. package/schema/.snootobuf/deps/google/protobuf/type.proto +0 -187
  161. package/schema/.snootobuf/deps/google/protobuf/wrappers.proto +0 -123
  162. package/schema/.snootobuf/deps/google/rpc/code.proto +0 -186
  163. package/schema/.snootobuf/deps/google/rpc/context/attribute_context.proto +0 -287
  164. package/schema/.snootobuf/deps/google/rpc/error_details.proto +0 -246
  165. package/schema/.snootobuf/deps/google/rpc/status.proto +0 -47
  166. package/schema/.snootobuf/deps/google/type/calendar_period.proto +0 -57
  167. package/schema/.snootobuf/deps/google/type/color.proto +0 -170
  168. package/schema/.snootobuf/deps/google/type/date.proto +0 -50
  169. package/schema/.snootobuf/deps/google/type/datetime.proto +0 -97
  170. package/schema/.snootobuf/deps/google/type/dayofweek.proto +0 -51
  171. package/schema/.snootobuf/deps/google/type/expr.proto +0 -51
  172. package/schema/.snootobuf/deps/google/type/fraction.proto +0 -34
  173. package/schema/.snootobuf/deps/google/type/latlng.proto +0 -37
  174. package/schema/.snootobuf/deps/google/type/money.proto +0 -43
  175. package/schema/.snootobuf/deps/google/type/month.proto +0 -66
  176. package/schema/.snootobuf/deps/google/type/postal_address.proto +0 -135
  177. package/schema/.snootobuf/deps/google/type/quaternion.proto +0 -95
  178. package/schema/.snootobuf/deps/google/type/timeofday.proto +0 -44
  179. package/schema/.snootobuf/deps/openapi/helper.proto +0 -20
  180. package/schema/.snootobuf/deps/products-api/protos/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +0 -189
  181. package/schema/.snootobuf/deps/products-api/protos/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +0 -118
  182. package/schema/.snootobuf/deps/reddit/api/metadata/v1/metadata.proto +0 -55
  183. package/schema/.snootobuf/deps/reddit/coreplatform/account/v1/account.proto +0 -579
  184. package/schema/.snootobuf/deps/reddit/coreplatform/account/v1/account_relations.proto +0 -43
  185. package/schema/.snootobuf/deps/reddit/coreplatform/api/metadata/v1/metadata.proto +0 -82
  186. package/schema/.snootobuf/deps/reddit/coreplatform/blocking/v1/user_blocking_service.proto +0 -221
  187. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree.proto +0 -78
  188. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_service.proto +0 -189
  189. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_structure.proto +0 -29
  190. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comments.proto +0 -417
  191. package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comments_service.proto +0 -72
  192. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/auth.proto +0 -25
  193. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/features.proto +0 -52
  194. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/lang.proto +0 -16
  195. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/legal.proto +0 -20
  196. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/media.proto +0 -149
  197. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/moderation.proto +0 -197
  198. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/safety.proto +0 -116
  199. package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/time.proto +0 -25
  200. package/schema/.snootobuf/deps/reddit/coreplatform/domains/v1/domains_metadata_service.proto +0 -101
  201. package/schema/.snootobuf/deps/reddit/coreplatform/grpc_thrift/v1/grpc_thrift_options.proto +0 -34
  202. package/schema/.snootobuf/deps/reddit/coreplatform/links/v1/links.proto +0 -798
  203. package/schema/.snootobuf/deps/reddit/coreplatform/links/v1/links_service.proto +0 -186
  204. package/schema/.snootobuf/deps/reddit/coreplatform/messages/v1/messages.proto +0 -110
  205. package/schema/.snootobuf/deps/reddit/coreplatform/sensitive/v1/wrappers.proto +0 -51
  206. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit.proto +0 -1202
  207. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_member_relations.proto +0 -85
  208. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_moderator_service.proto +0 -363
  209. package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_service.proto +0 -301
  210. package/schema/.snootobuf/deps/reddit/coreplatform/thing/v0/thing.proto +0 -2869
  211. package/schema/.snootobuf/deps/reddit/devvit/custom_post/v1/custom_post.proto +0 -15
  212. package/schema/.snootobuf/deps/reddit/devvit/custom_post/v1/service.proto +0 -11
  213. package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/context_action.proto +0 -48
  214. package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/manifest.proto +0 -70
  215. package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/service.proto +0 -11
  216. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/acknowledge_order_delivery.proto +0 -17
  217. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/checkout.proto +0 -89
  218. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/common.proto +0 -322
  219. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/delete_products.proto +0 -17
  220. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/events.proto +0 -14
  221. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_batch_products.proto +0 -15
  222. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_gold_balances.proto +0 -48
  223. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_order.proto +0 -31
  224. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders.proto +0 -26
  225. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders_by_user.proto +0 -15
  226. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_payout_info_batch.proto +0 -52
  227. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_products.proto +0 -23
  228. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_user_profiles.proto +0 -28
  229. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/refund_order.proto +0 -17
  230. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service.proto +0 -49
  231. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service_data_compliance.proto +0 -20
  232. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/upsert_products.proto +0 -17
  233. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paygatewaypsps/v1/paygatewaypsps.proto +0 -158
  234. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payments_data_compliance.proto +0 -18
  235. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payorders.proto +0 -195
  236. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/admin.proto +0 -44
  237. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/ledger.proto +0 -200
  238. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/payments_data_compliance.proto +0 -18
  239. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/paypayments.proto +0 -210
  240. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +0 -189
  241. package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +0 -135
  242. package/schema/.snootobuf/deps/snooron_sources/text_classification/text_classification.proto +0 -29
  243. package/schema/.snootobuf/deps/snooron_sources/v2_event/v2_event.proto +0 -3292
  244. package/schema/.snootobuf/deps/validate/validate.proto +0 -862
@@ -1,31 +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
- import "google/protobuf/any.proto";
20
-
21
- option go_package = "google.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig";
22
- option java_multiple_files = true;
23
- option java_outer_classname = "SourceInfoProto";
24
- option java_package = "com.google.api";
25
- option objc_class_prefix = "GAPI";
26
-
27
- // Source information used to create a Service Config
28
- message SourceInfo {
29
- // All files used during config generation.
30
- repeated google.protobuf.Any source_files = 1;
31
- }
@@ -1,96 +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 = "SystemParameterProto";
22
- option java_package = "com.google.api";
23
- option objc_class_prefix = "GAPI";
24
-
25
- // ### System parameter configuration
26
- //
27
- // A system parameter is a special kind of parameter defined by the API
28
- // system, not by an individual API. It is typically mapped to an HTTP header
29
- // and/or a URL query parameter. This configuration specifies which methods
30
- // change the names of the system parameters.
31
- message SystemParameters {
32
- // Define system parameters.
33
- //
34
- // The parameters defined here will override the default parameters
35
- // implemented by the system. If this field is missing from the service
36
- // config, default system parameters will be used. Default system parameters
37
- // and names is implementation-dependent.
38
- //
39
- // Example: define api key for all methods
40
- //
41
- // system_parameters
42
- // rules:
43
- // - selector: "*"
44
- // parameters:
45
- // - name: api_key
46
- // url_query_parameter: api_key
47
- //
48
- //
49
- // Example: define 2 api key names for a specific method.
50
- //
51
- // system_parameters
52
- // rules:
53
- // - selector: "/ListShelves"
54
- // parameters:
55
- // - name: api_key
56
- // http_header: Api-Key1
57
- // - name: api_key
58
- // http_header: Api-Key2
59
- //
60
- // **NOTE:** All service configuration rules follow "last one wins" order.
61
- repeated SystemParameterRule rules = 1;
62
- }
63
-
64
- // Define a system parameter rule mapping system parameter definitions to
65
- // methods.
66
- message SystemParameterRule {
67
- // Selects the methods to which this rule applies. Use '*' to indicate all
68
- // methods in all APIs.
69
- //
70
- // Refer to [selector][google.api.DocumentationRule.selector] for syntax
71
- // details.
72
- string selector = 1;
73
-
74
- // Define parameters. Multiple names may be defined for a parameter.
75
- // For a given method call, only one of them should be used. If multiple
76
- // names are used the behavior is implementation-dependent.
77
- // If none of the specified names are present the behavior is
78
- // parameter-dependent.
79
- repeated SystemParameter parameters = 2;
80
- }
81
-
82
- // Define a parameter's name and location. The parameter may be passed as either
83
- // an HTTP header or a URL query parameter, and if both are passed the behavior
84
- // is implementation-dependent.
85
- message SystemParameter {
86
- // Define the name of the parameter, such as "api_key" . It is case sensitive.
87
- string name = 1;
88
-
89
- // Define the HTTP header name to use for the parameter. It is case
90
- // insensitive.
91
- string http_header = 2;
92
-
93
- // Define the URL query parameter name to use for the parameter. It is case
94
- // sensitive.
95
- string url_query_parameter = 3;
96
- }
@@ -1,96 +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 = "UsageProto";
22
- option java_package = "com.google.api";
23
- option objc_class_prefix = "GAPI";
24
-
25
- // Configuration controlling usage of a service.
26
- message Usage {
27
- // Requirements that must be satisfied before a consumer project can use the
28
- // service. Each requirement is of the form <service.name>/<requirement-id>;
29
- // for example 'serviceusage.googleapis.com/billing-enabled'.
30
- //
31
- // For Google APIs, a Terms of Service requirement must be included here.
32
- // Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud".
33
- // Other Google APIs should include
34
- // "serviceusage.googleapis.com/tos/universal". Additional ToS can be
35
- // included based on the business needs.
36
- repeated string requirements = 1;
37
-
38
- // A list of usage rules that apply to individual API methods.
39
- //
40
- // **NOTE:** All service configuration rules follow "last one wins" order.
41
- repeated UsageRule rules = 6;
42
-
43
- // The full resource name of a channel used for sending notifications to the
44
- // service producer.
45
- //
46
- // Google Service Management currently only supports
47
- // [Google Cloud Pub/Sub](https://cloud.google.com/pubsub) as a notification
48
- // channel. To use Google Cloud Pub/Sub as the channel, this must be the name
49
- // of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format
50
- // documented in https://cloud.google.com/pubsub/docs/overview.
51
- string producer_notification_channel = 7;
52
- }
53
-
54
- // Usage configuration rules for the service.
55
- //
56
- // NOTE: Under development.
57
- //
58
- //
59
- // Use this rule to configure unregistered calls for the service. Unregistered
60
- // calls are calls that do not contain consumer project identity.
61
- // (Example: calls that do not contain an API key).
62
- // By default, API methods do not allow unregistered calls, and each method call
63
- // must be identified by a consumer project identity. Use this rule to
64
- // allow/disallow unregistered calls.
65
- //
66
- // Example of an API that wants to allow unregistered calls for entire service.
67
- //
68
- // usage:
69
- // rules:
70
- // - selector: "*"
71
- // allow_unregistered_calls: true
72
- //
73
- // Example of a method that wants to allow unregistered calls.
74
- //
75
- // usage:
76
- // rules:
77
- // - selector: "google.example.library.v1.LibraryService.CreateBook"
78
- // allow_unregistered_calls: true
79
- message UsageRule {
80
- // Selects the methods to which this rule applies. Use '*' to indicate all
81
- // methods in all APIs.
82
- //
83
- // Refer to [selector][google.api.DocumentationRule.selector] for syntax
84
- // details.
85
- string selector = 1;
86
-
87
- // If true, the selected method allows unregistered calls, e.g. calls
88
- // that don't identify any user or application.
89
- bool allow_unregistered_calls = 2;
90
-
91
- // If true, the selected method should skip service control and the control
92
- // plane features, such as quota and billing, will not be available.
93
- // This flag is used by Google Cloud Endpoints to bypass checks for internal
94
- // methods, such as service health check methods.
95
- bool skip_service_control = 3;
96
- }
@@ -1,113 +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
- import "google/protobuf/descriptor.proto";
20
-
21
- option cc_enable_arenas = true;
22
- option go_package = "google.golang.org/genproto/googleapis/api/visibility;visibility";
23
- option java_multiple_files = true;
24
- option java_outer_classname = "VisibilityProto";
25
- option java_package = "com.google.api";
26
- option objc_class_prefix = "GAPI";
27
-
28
- extend google.protobuf.EnumOptions {
29
- // See `VisibilityRule`.
30
- google.api.VisibilityRule enum_visibility = 72295727;
31
- }
32
-
33
- extend google.protobuf.EnumValueOptions {
34
- // See `VisibilityRule`.
35
- google.api.VisibilityRule value_visibility = 72295727;
36
- }
37
-
38
- extend google.protobuf.FieldOptions {
39
- // See `VisibilityRule`.
40
- google.api.VisibilityRule field_visibility = 72295727;
41
- }
42
-
43
- extend google.protobuf.MessageOptions {
44
- // See `VisibilityRule`.
45
- google.api.VisibilityRule message_visibility = 72295727;
46
- }
47
-
48
- extend google.protobuf.MethodOptions {
49
- // See `VisibilityRule`.
50
- google.api.VisibilityRule method_visibility = 72295727;
51
- }
52
-
53
- extend google.protobuf.ServiceOptions {
54
- // See `VisibilityRule`.
55
- google.api.VisibilityRule api_visibility = 72295727;
56
- }
57
-
58
- // `Visibility` restricts service consumer's access to service elements,
59
- // such as whether an application can call a visibility-restricted method.
60
- // The restriction is expressed by applying visibility labels on service
61
- // elements. The visibility labels are elsewhere linked to service consumers.
62
- //
63
- // A service can define multiple visibility labels, but a service consumer
64
- // should be granted at most one visibility label. Multiple visibility
65
- // labels for a single service consumer are not supported.
66
- //
67
- // If an element and all its parents have no visibility label, its visibility
68
- // is unconditionally granted.
69
- //
70
- // Example:
71
- //
72
- // visibility:
73
- // rules:
74
- // - selector: google.calendar.Calendar.EnhancedSearch
75
- // restriction: PREVIEW
76
- // - selector: google.calendar.Calendar.Delegate
77
- // restriction: INTERNAL
78
- //
79
- // Here, all methods are publicly visible except for the restricted methods
80
- // EnhancedSearch and Delegate.
81
- message Visibility {
82
- // A list of visibility rules that apply to individual API elements.
83
- //
84
- // **NOTE:** All service configuration rules follow "last one wins" order.
85
- repeated VisibilityRule rules = 1;
86
- }
87
-
88
- // A visibility rule provides visibility configuration for an individual API
89
- // element.
90
- message VisibilityRule {
91
- // Selects methods, messages, fields, enums, etc. to which this rule applies.
92
- //
93
- // Refer to [selector][google.api.DocumentationRule.selector] for syntax
94
- // details.
95
- string selector = 1;
96
-
97
- // A comma-separated list of visibility labels that apply to the `selector`.
98
- // Any of the listed labels can be used to grant the visibility.
99
- //
100
- // If a rule has multiple labels, removing one of the labels but not all of
101
- // them can break clients.
102
- //
103
- // Example:
104
- //
105
- // visibility:
106
- // rules:
107
- // - selector: google.calendar.Calendar.EnhancedSearch
108
- // restriction: INTERNAL, PREVIEW
109
- //
110
- // Removing INTERNAL from this restriction will break clients that rely on
111
- // this method and only had access to it through INTERNAL.
112
- string restriction = 2;
113
- }
@@ -1,150 +0,0 @@
1
- // Copyright 2021 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
- // This file contains custom annotations that are used by GAPIC generators to
16
- // handle Long Running Operation methods (LRO) that are NOT compliant with
17
- // https://google.aip.dev/151. These annotations are public for technical
18
- // reasons only. Please DO NOT USE them in your protos.
19
- syntax = "proto3";
20
-
21
- package google.cloud;
22
-
23
- import "google/protobuf/descriptor.proto";
24
-
25
- option go_package = "google.golang.org/genproto/googleapis/cloud/extendedops;extendedops";
26
- option java_multiple_files = true;
27
- option java_outer_classname = "ExtendedOperationsProto";
28
- option java_package = "com.google.cloud";
29
- option objc_class_prefix = "GAPI";
30
-
31
- // FieldOptions to match corresponding fields in the initial request,
32
- // polling request and operation response messages.
33
- //
34
- // Example:
35
- //
36
- // In an API-specific operation message:
37
- //
38
- // message MyOperation {
39
- // string http_error_message = 1 [(operation_field) = ERROR_MESSAGE];
40
- // int32 http_error_status_code = 2 [(operation_field) = ERROR_CODE];
41
- // string id = 3 [(operation_field) = NAME];
42
- // Status status = 4 [(operation_field) = STATUS];
43
- // }
44
- //
45
- // In a polling request message (the one which is used to poll for an LRO
46
- // status):
47
- //
48
- // message MyPollingRequest {
49
- // string operation = 1 [(operation_response_field) = "id"];
50
- // string project = 2;
51
- // string region = 3;
52
- // }
53
- //
54
- // In an initial request message (the one which starts an LRO):
55
- //
56
- // message MyInitialRequest {
57
- // string my_project = 2 [(operation_request_field) = "project"];
58
- // string my_region = 3 [(operation_request_field) = "region"];
59
- // }
60
- //
61
- extend google.protobuf.FieldOptions {
62
- // A field annotation that maps fields in an API-specific Operation object to
63
- // their standard counterparts in google.longrunning.Operation. See
64
- // OperationResponseMapping enum definition.
65
- OperationResponseMapping operation_field = 1149;
66
-
67
- // A field annotation that maps fields in the initial request message
68
- // (the one which started the LRO) to their counterparts in the polling
69
- // request message. For non-standard LRO, the polling response may be missing
70
- // some of the information needed to make a subsequent polling request. The
71
- // missing information (for example, project or region ID) is contained in the
72
- // fields of the initial request message that this annotation must be applied
73
- // to. The string value of the annotation corresponds to the name of the
74
- // counterpart field in the polling request message that the annotated field's
75
- // value will be copied to.
76
- string operation_request_field = 1150;
77
-
78
- // A field annotation that maps fields in the polling request message to their
79
- // counterparts in the initial and/or polling response message. The initial
80
- // and the polling methods return an API-specific Operation object. Some of
81
- // the fields from that response object must be reused in the subsequent
82
- // request (like operation name/ID) to fully identify the polled operation.
83
- // This annotation must be applied to the fields in the polling request
84
- // message, the string value of the annotation must correspond to the name of
85
- // the counterpart field in the Operation response object whose value will be
86
- // copied to the annotated field.
87
- string operation_response_field = 1151;
88
- }
89
-
90
- // MethodOptions to identify the actual service and method used for operation
91
- // status polling.
92
- //
93
- // Example:
94
- //
95
- // In a method, which starts an LRO:
96
- //
97
- // service MyService {
98
- // rpc Foo(MyInitialRequest) returns (MyOperation) {
99
- // option (operation_service) = "MyPollingService";
100
- // }
101
- // }
102
- //
103
- // In a polling method:
104
- //
105
- // service MyPollingService {
106
- // rpc Get(MyPollingRequest) returns (MyOperation) {
107
- // option (operation_polling_method) = true;
108
- // }
109
- // }
110
- extend google.protobuf.MethodOptions {
111
- // A method annotation that maps an LRO method (the one which starts an LRO)
112
- // to the service, which will be used to poll for the operation status. The
113
- // annotation must be applied to the method which starts an LRO, the string
114
- // value of the annotation must correspond to the name of the service used to
115
- // poll for the operation status.
116
- string operation_service = 1249;
117
-
118
- // A method annotation that marks methods that can be used for polling
119
- // operation status (e.g. the MyPollingService.Get(MyPollingRequest) method).
120
- bool operation_polling_method = 1250;
121
- }
122
-
123
- // An enum to be used to mark the essential (for polling) fields in an
124
- // API-specific Operation object. A custom Operation object may contain many
125
- // different fields, but only few of them are essential to conduct a successful
126
- // polling process.
127
- enum OperationResponseMapping {
128
- // Do not use.
129
- UNDEFINED = 0;
130
-
131
- // A field in an API-specific (custom) Operation object which carries the same
132
- // meaning as google.longrunning.Operation.name.
133
- NAME = 1;
134
-
135
- // A field in an API-specific (custom) Operation object which carries the same
136
- // meaning as google.longrunning.Operation.done. If the annotated field is of
137
- // an enum type, `annotated_field_name == EnumType.DONE` semantics should be
138
- // equivalent to `Operation.done == true`. If the annotated field is of type
139
- // boolean, then it should follow the same semantics as Operation.done.
140
- // Otherwise, a non-empty value should be treated as `Operation.done == true`.
141
- STATUS = 2;
142
-
143
- // A field in an API-specific (custom) Operation object which carries the same
144
- // meaning as google.longrunning.Operation.error.code.
145
- ERROR_CODE = 3;
146
-
147
- // A field in an API-specific (custom) Operation object which carries the same
148
- // meaning as google.longrunning.Operation.error.message.
149
- ERROR_MESSAGE = 4;
150
- }