@devvit/protos 0.11.19-next-2025-07-08-20-18-01-989363f22.0 → 0.11.19-next-2025-07-08-21-34-11-32558d0e0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/community.d.ts +1 -0
  2. package/community.d.ts.map +1 -1
  3. package/community.js +1 -0
  4. package/package.json +4 -4
  5. package/schema/.snootobuf/deps/google/api/annotations.proto +1 -1
  6. package/schema/.snootobuf/deps/google/api/auth.proto +19 -75
  7. package/schema/.snootobuf/deps/google/api/backend.proto +8 -142
  8. package/schema/.snootobuf/deps/google/api/billing.proto +13 -23
  9. package/schema/.snootobuf/deps/google/api/client.proto +1 -333
  10. package/schema/.snootobuf/deps/google/api/config_change.proto +3 -2
  11. package/schema/.snootobuf/deps/google/api/consumer.proto +2 -1
  12. package/schema/.snootobuf/deps/google/api/context.proto +5 -34
  13. package/schema/.snootobuf/deps/google/api/control.proto +7 -15
  14. package/schema/.snootobuf/deps/google/api/distribution.proto +5 -5
  15. package/schema/.snootobuf/deps/google/api/documentation.proto +16 -27
  16. package/schema/.snootobuf/deps/google/api/endpoint.proto +25 -23
  17. package/schema/.snootobuf/deps/google/api/field_behavior.proto +3 -23
  18. package/schema/.snootobuf/deps/google/api/http.proto +120 -173
  19. package/schema/.snootobuf/deps/google/api/httpbody.proto +6 -11
  20. package/schema/.snootobuf/deps/google/api/label.proto +2 -1
  21. package/schema/.snootobuf/deps/google/api/launch_stage.proto +5 -10
  22. package/schema/.snootobuf/deps/google/api/log.proto +2 -1
  23. package/schema/.snootobuf/deps/google/api/logging.proto +8 -6
  24. package/schema/.snootobuf/deps/google/api/metric.proto +40 -116
  25. package/schema/.snootobuf/deps/google/api/monitored_resource.proto +24 -38
  26. package/schema/.snootobuf/deps/google/api/monitoring.proto +25 -43
  27. package/schema/.snootobuf/deps/google/api/quota.proto +95 -20
  28. package/schema/.snootobuf/deps/google/api/resource.proto +74 -18
  29. package/schema/.snootobuf/deps/google/api/routing.proto +1 -1
  30. package/schema/.snootobuf/deps/google/api/service.proto +38 -54
  31. package/schema/.snootobuf/deps/google/api/source_info.proto +2 -1
  32. package/schema/.snootobuf/deps/google/api/system_parameter.proto +3 -3
  33. package/schema/.snootobuf/deps/google/api/usage.proto +5 -9
  34. package/schema/devvit/dev_portal/app/app.proto +5 -0
  35. package/schema/snootobuf.lock +589 -518
  36. package/schema/snootobuf.redditapi.lock +589 -518
  37. package/schema/snootobuf.ts.lock +589 -518
  38. package/types/devvit/dev_portal/admin_portal.d.ts +2 -2
  39. package/types/devvit/dev_portal/app/app.d.ts +6 -0
  40. package/types/devvit/dev_portal/app/app.d.ts.map +1 -1
  41. package/types/devvit/dev_portal/app/app.js +16 -0
  42. package/types/devvit/dev_portal/dev_portal.d.ts +42 -40
  43. package/types/devvit/dev_portal/dev_portal.d.ts.map +1 -1
@@ -1,4 +1,4 @@
1
- // Copyright 2024 Google LLC
1
+ // Copyright 2017 Google Inc.
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -16,16 +16,19 @@ syntax = "proto3";
16
16
 
17
17
  package google.api;
18
18
 
19
+ import "google/api/annotations.proto";
20
+
19
21
  option go_package = "google.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig";
20
22
  option java_multiple_files = true;
21
23
  option java_outer_classname = "QuotaProto";
22
24
  option java_package = "com.google.api";
23
25
  option objc_class_prefix = "GAPI";
24
26
 
27
+
25
28
  // Quota configuration helps to achieve fairness and budgeting in service
26
29
  // usage.
27
30
  //
28
- // The metric based quota configuration works this way:
31
+ // The quota configuration works this way:
29
32
  // - The service configuration defines a set of metrics.
30
33
  // - For API calls, the quota.metric_rules maps methods to metrics with
31
34
  // corresponding costs.
@@ -43,11 +46,10 @@ option objc_class_prefix = "GAPI";
43
46
  // values:
44
47
  // STANDARD: 10000
45
48
  //
46
- //
47
- // (The metric rules bind all methods to the read_calls metric,
48
- // except for the UpdateBook and DeleteBook methods. These two methods
49
- // are mapped to the write_calls metric, with the UpdateBook method
50
- // consuming at twice rate as the DeleteBook method.)
49
+ // # The metric rules bind all methods to the read_calls metric,
50
+ // # except for the UpdateBook and DeleteBook methods. These two methods
51
+ // # are mapped to the write_calls metric, with the UpdateBook method
52
+ // # consuming at twice rate as the DeleteBook method.
51
53
  // metric_rules:
52
54
  // - selector: "*"
53
55
  // metric_costs:
@@ -72,23 +74,28 @@ option objc_class_prefix = "GAPI";
72
74
  // metric_kind: DELTA
73
75
  // value_type: INT64
74
76
  //
75
- //
76
77
  message Quota {
77
- // List of QuotaLimit definitions for the service.
78
+ // List of `QuotaLimit` definitions for the service.
79
+ //
80
+ // Used by metric-based quotas only.
78
81
  repeated QuotaLimit limits = 3;
79
82
 
80
- // List of MetricRule definitions, each one mapping a selected method to one
83
+ // List of `MetricRule` definitions, each one mapping a selected method to one
81
84
  // or more metrics.
85
+ //
86
+ // Used by metric-based quotas only.
82
87
  repeated MetricRule metric_rules = 4;
83
88
  }
84
89
 
85
90
  // Bind API methods to metrics. Binding a method to a metric causes that
86
- // metric's configured quota behaviors to apply to the method call.
91
+ // metric's configured quota, billing, and monitoring behaviors to apply to the
92
+ // method call.
93
+ //
94
+ // Used by metric-based quotas only.
87
95
  message MetricRule {
88
96
  // Selects the methods to which this rule applies.
89
97
  //
90
- // Refer to [selector][google.api.DocumentationRule.selector] for syntax
91
- // details.
98
+ // Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
92
99
  string selector = 1;
93
100
 
94
101
  // Metrics to update when the selected methods are called, and the associated
@@ -104,12 +111,24 @@ message MetricRule {
104
111
  // for a limit type. There can be at most one limit for a duration and limit
105
112
  // type combination defined within a `QuotaGroup`.
106
113
  message QuotaLimit {
107
- // Name of the quota limit.
114
+ // Name of the quota limit. The name is used to refer to the limit when
115
+ // overriding the default limit on per-consumer basis.
116
+ //
117
+ // For group-based quota limits, the name must be unique within the quota
118
+ // group. If a name is not provided, it will be generated from the limit_by
119
+ // and duration fields.
108
120
  //
109
- // The name must be provided, and it must be unique within the service. The
110
- // name can only include alphanumeric characters as well as '-'.
121
+ // For metric-based quota limits, the name must be provided, and it must be
122
+ // unique within the service. The name can only include alphanumeric
123
+ // characters as well as '-'.
111
124
  //
112
125
  // The maximum length of the limit name is 64 characters.
126
+ //
127
+ // The name of a limit is used as a unique identifier for this limit.
128
+ // Therefore, once a limit has been put into use, its name should be
129
+ // immutable. You can use the display_name field to provide a user-friendly
130
+ // name for the limit. The display name can be evolved over time without
131
+ // affecting the identity of the limit.
113
132
  string name = 6;
114
133
 
115
134
  // Optional. User-visible, extended description for this quota limit.
@@ -150,7 +169,10 @@ message QuotaLimit {
150
169
  // Used by group-based quotas only.
151
170
  int64 free_tier = 7;
152
171
 
153
- // Duration of this limit in textual notation. Must be "100s" or "1d".
172
+ // Duration of this limit in textual notation. Example: "100s", "24h", "1d".
173
+ // For duration longer than a day, only multiple of days is supported. We
174
+ // support only "100s" and "1d" for now. Additional support will be added in
175
+ // the future. "0" indicates indefinite duration.
154
176
  //
155
177
  // Used by group-based quotas only.
156
178
  string duration = 5;
@@ -158,22 +180,75 @@ message QuotaLimit {
158
180
  // The name of the metric this quota limit applies to. The quota limits with
159
181
  // the same metric will be checked together during runtime. The metric must be
160
182
  // defined within the service config.
183
+ //
184
+ // Used by metric-based quotas only.
161
185
  string metric = 8;
162
186
 
163
187
  // Specify the unit of the quota limit. It uses the same syntax as
164
188
  // [Metric.unit][]. The supported unit kinds are determined by the quota
165
189
  // backend system.
166
190
  //
191
+ // The [Google Service Control](https://cloud.google.com/service-control)
192
+ // supports the following unit components:
193
+ // * One of the time intevals:
194
+ // * "/min" for quota every minute.
195
+ // * "/d" for quota every 24 hours, starting 00:00 US Pacific Time.
196
+ // * Otherwise the quota won't be reset by time, such as storage limit.
197
+ // * One and only one of the granted containers:
198
+ // * "/{organization}" quota for an organization.
199
+ // * "/{project}" quota for a project.
200
+ // * "/{folder}" quota for a folder.
201
+ // * "/{resource}" quota for a universal resource.
202
+ // * Zero or more quota segmentation dimension. Not all combos are valid.
203
+ // * "/{region}" quota for every region. Not to be used with time intervals.
204
+ // * Otherwise the resources granted on the target is not segmented.
205
+ // * "/{zone}" quota for every zone. Not to be used with time intervals.
206
+ // * Otherwise the resources granted on the target is not segmented.
207
+ // * "/{resource}" quota for a resource associated with a project or org.
208
+ //
167
209
  // Here are some examples:
168
210
  // * "1/min/{project}" for quota per minute per project.
211
+ // * "1/min/{user}" for quota per minute per user.
212
+ // * "1/min/{organization}" for quota per minute per organization.
169
213
  //
170
214
  // Note: the order of unit components is insignificant.
171
215
  // The "1" at the beginning is required to follow the metric unit syntax.
216
+ //
217
+ // Used by metric-based quotas only.
172
218
  string unit = 9;
173
219
 
174
- // Tiered limit values. You must specify this as a key:value pair, with an
175
- // integer value that is the maximum number of requests allowed for the
176
- // specified unit. Currently only STANDARD is supported.
220
+ // Tiered limit values. Also allows for regional or zone overrides for these
221
+ // values if "/{region}" or "/{zone}" is specified in the unit field.
222
+ //
223
+ // Currently supported tiers from low to high:
224
+ // VERY_LOW, LOW, STANDARD, HIGH, VERY_HIGH
225
+ //
226
+ // To apply different limit values for users according to their tiers, specify
227
+ // the values for the tiers you want to differentiate. For example:
228
+ // {LOW:100, STANDARD:500, HIGH:1000, VERY_HIGH:5000}
229
+ //
230
+ // The limit value for each tier is optional except for the tier STANDARD.
231
+ // The limit value for an unspecified tier falls to the value of its next
232
+ // tier towards tier STANDARD. For the above example, the limit value for tier
233
+ // STANDARD is 500.
234
+ //
235
+ // To apply the same limit value for all users, just specify limit value for
236
+ // tier STANDARD. For example: {STANDARD:500}.
237
+ //
238
+ // To apply a regional overide for a tier, add a map entry with key
239
+ // "<TIER>/<region>", where <region> is a region name. Similarly, for a zone
240
+ // override, add a map entry with key "<TIER>/{zone}".
241
+ // Further, a wildcard can be used at the end of a zone name in order to
242
+ // specify zone level overrides. For example:
243
+ // LOW: 10, STANDARD: 50, HIGH: 100,
244
+ // LOW/us-central1: 20, STANDARD/us-central1: 60, HIGH/us-central1: 200,
245
+ // LOW/us-central1-*: 10, STANDARD/us-central1-*: 20, HIGH/us-central1-*: 80
246
+ //
247
+ // The regional overrides tier set for each region must be the same as
248
+ // the tier set for default limit values. Same rule applies for zone overrides
249
+ // tier as well.
250
+ //
251
+ // Used by metric-based quotas only.
177
252
  map<string, int64> values = 10;
178
253
 
179
254
  // User-visible display name for this limit.
@@ -1,4 +1,4 @@
1
- // Copyright 2024 Google LLC
1
+ // Copyright 2020 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -57,7 +57,11 @@ extend google.protobuf.MessageOptions {
57
57
  // // For Kubernetes resources, the format is {api group}/{kind}.
58
58
  // option (google.api.resource) = {
59
59
  // type: "pubsub.googleapis.com/Topic"
60
- // pattern: "projects/{project}/topics/{topic}"
60
+ // name_descriptor: {
61
+ // pattern: "projects/{project}/topics/{topic}"
62
+ // parent_type: "cloudresourcemanager.googleapis.com/Project"
63
+ // parent_name_extractor: "projects/{project}"
64
+ // }
61
65
  // };
62
66
  // }
63
67
  //
@@ -65,7 +69,10 @@ extend google.protobuf.MessageOptions {
65
69
  //
66
70
  // resources:
67
71
  // - type: "pubsub.googleapis.com/Topic"
68
- // pattern: "projects/{project}/topics/{topic}"
72
+ // name_descriptor:
73
+ // - pattern: "projects/{project}/topics/{topic}"
74
+ // parent_type: "cloudresourcemanager.googleapis.com/Project"
75
+ // parent_name_extractor: "projects/{project}"
69
76
  //
70
77
  // Sometimes, resources have multiple patterns, typically because they can
71
78
  // live under multiple parents.
@@ -75,10 +82,26 @@ extend google.protobuf.MessageOptions {
75
82
  // message LogEntry {
76
83
  // option (google.api.resource) = {
77
84
  // type: "logging.googleapis.com/LogEntry"
78
- // pattern: "projects/{project}/logs/{log}"
79
- // pattern: "folders/{folder}/logs/{log}"
80
- // pattern: "organizations/{organization}/logs/{log}"
81
- // pattern: "billingAccounts/{billing_account}/logs/{log}"
85
+ // name_descriptor: {
86
+ // pattern: "projects/{project}/logs/{log}"
87
+ // parent_type: "cloudresourcemanager.googleapis.com/Project"
88
+ // parent_name_extractor: "projects/{project}"
89
+ // }
90
+ // name_descriptor: {
91
+ // pattern: "folders/{folder}/logs/{log}"
92
+ // parent_type: "cloudresourcemanager.googleapis.com/Folder"
93
+ // parent_name_extractor: "folders/{folder}"
94
+ // }
95
+ // name_descriptor: {
96
+ // pattern: "organizations/{organization}/logs/{log}"
97
+ // parent_type: "cloudresourcemanager.googleapis.com/Organization"
98
+ // parent_name_extractor: "organizations/{organization}"
99
+ // }
100
+ // name_descriptor: {
101
+ // pattern: "billingAccounts/{billing_account}/logs/{log}"
102
+ // parent_type: "billing.googleapis.com/BillingAccount"
103
+ // parent_name_extractor: "billingAccounts/{billing_account}"
104
+ // }
82
105
  // };
83
106
  // }
84
107
  //
@@ -86,10 +109,48 @@ extend google.protobuf.MessageOptions {
86
109
  //
87
110
  // resources:
88
111
  // - type: 'logging.googleapis.com/LogEntry'
89
- // pattern: "projects/{project}/logs/{log}"
90
- // pattern: "folders/{folder}/logs/{log}"
91
- // pattern: "organizations/{organization}/logs/{log}"
92
- // pattern: "billingAccounts/{billing_account}/logs/{log}"
112
+ // name_descriptor:
113
+ // - pattern: "projects/{project}/logs/{log}"
114
+ // parent_type: "cloudresourcemanager.googleapis.com/Project"
115
+ // parent_name_extractor: "projects/{project}"
116
+ // - pattern: "folders/{folder}/logs/{log}"
117
+ // parent_type: "cloudresourcemanager.googleapis.com/Folder"
118
+ // parent_name_extractor: "folders/{folder}"
119
+ // - pattern: "organizations/{organization}/logs/{log}"
120
+ // parent_type: "cloudresourcemanager.googleapis.com/Organization"
121
+ // parent_name_extractor: "organizations/{organization}"
122
+ // - pattern: "billingAccounts/{billing_account}/logs/{log}"
123
+ // parent_type: "billing.googleapis.com/BillingAccount"
124
+ // parent_name_extractor: "billingAccounts/{billing_account}"
125
+ //
126
+ // For flexible resources, the resource name doesn't contain parent names, but
127
+ // the resource itself has parents for policy evaluation.
128
+ //
129
+ // Example:
130
+ //
131
+ // message Shelf {
132
+ // option (google.api.resource) = {
133
+ // type: "library.googleapis.com/Shelf"
134
+ // name_descriptor: {
135
+ // pattern: "shelves/{shelf}"
136
+ // parent_type: "cloudresourcemanager.googleapis.com/Project"
137
+ // }
138
+ // name_descriptor: {
139
+ // pattern: "shelves/{shelf}"
140
+ // parent_type: "cloudresourcemanager.googleapis.com/Folder"
141
+ // }
142
+ // };
143
+ // }
144
+ //
145
+ // The ResourceDescriptor Yaml config will look like:
146
+ //
147
+ // resources:
148
+ // - type: 'library.googleapis.com/Shelf'
149
+ // name_descriptor:
150
+ // - pattern: "shelves/{shelf}"
151
+ // parent_type: "cloudresourcemanager.googleapis.com/Project"
152
+ // - pattern: "shelves/{shelf}"
153
+ // parent_type: "cloudresourcemanager.googleapis.com/Folder"
93
154
  message ResourceDescriptor {
94
155
  // A description of the historical or future-looking state of the
95
156
  // resource pattern.
@@ -179,13 +240,8 @@ message ResourceDescriptor {
179
240
 
180
241
  // The plural name used in the resource name and permission names, such as
181
242
  // 'projects' for the resource name of 'projects/{project}' and the permission
182
- // name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
183
- // to this is for Nested Collections that have stuttering names, as defined
184
- // in [AIP-122](https://google.aip.dev/122#nested-collections), where the
185
- // collection ID in the resource name pattern does not necessarily directly
186
- // match the `plural` value.
187
- //
188
- // It is the same concept of the `plural` field in k8s CRD spec
243
+ // name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
244
+ // concept of the `plural` field in k8s CRD spec
189
245
  // https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
190
246
  //
191
247
  // Note: The plural form is required even for singleton resources. See
@@ -1,4 +1,4 @@
1
- // Copyright 2024 Google LLC
1
+ // Copyright 2021 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- // Copyright 2024 Google LLC
1
+ // Copyright 2017 Google Inc.
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -16,10 +16,10 @@ syntax = "proto3";
16
16
 
17
17
  package google.api;
18
18
 
19
+ import "google/api/annotations.proto";
19
20
  import "google/api/auth.proto";
20
21
  import "google/api/backend.proto";
21
22
  import "google/api/billing.proto";
22
- import "google/api/client.proto";
23
23
  import "google/api/context.proto";
24
24
  import "google/api/control.proto";
25
25
  import "google/api/documentation.proto";
@@ -44,30 +44,21 @@ option java_outer_classname = "ServiceProto";
44
44
  option java_package = "com.google.api";
45
45
  option objc_class_prefix = "GAPI";
46
46
 
47
- // `Service` is the root object of Google API service configuration (service
48
- // config). It describes the basic information about a logical service,
49
- // such as the service name and the user-facing title, and delegates other
50
- // aspects to sub-sections. Each sub-section is either a proto message or a
51
- // repeated proto message that configures a specific aspect, such as auth.
52
- // For more information, see each proto message definition.
47
+
48
+ // `Service` is the root object of Google service configuration schema. It
49
+ // describes basic information about a service, such as the name and the
50
+ // title, and delegates other aspects to sub-sections. Each sub-section is
51
+ // either a proto message or a repeated proto message that configures a
52
+ // specific aspect, such as auth. See each proto message definition for details.
53
53
  //
54
54
  // Example:
55
55
  //
56
56
  // type: google.api.Service
57
+ // config_version: 3
57
58
  // name: calendar.googleapis.com
58
59
  // title: Google Calendar API
59
60
  // apis:
60
61
  // - name: google.calendar.v3.Calendar
61
- //
62
- // visibility:
63
- // rules:
64
- // - selector: "google.calendar.v3.*"
65
- // restriction: PREVIEW
66
- // backend:
67
- // rules:
68
- // - selector: "google.calendar.v3.*"
69
- // address: calendar.example.com
70
- //
71
62
  // authentication:
72
63
  // providers:
73
64
  // - id: google_calendar_auth
@@ -78,46 +69,48 @@ option objc_class_prefix = "GAPI";
78
69
  // requirements:
79
70
  // provider_id: google_calendar_auth
80
71
  message Service {
81
- // The service name, which is a DNS-like logical identifier for the
82
- // service, such as `calendar.googleapis.com`. The service name
83
- // typically goes through DNS verification to make sure the owner
84
- // of the service also owns the DNS name.
72
+ // The semantic version of the service configuration. The config version
73
+ // affects the interpretation of the service configuration. For example,
74
+ // certain features are enabled by default for certain config versions.
75
+ // The latest config version is `3`.
76
+ google.protobuf.UInt32Value config_version = 20;
77
+
78
+ // The DNS address at which this service is available,
79
+ // e.g. `calendar.googleapis.com`.
85
80
  string name = 1;
86
81
 
87
- // The product title for this service, it is the name displayed in Google
88
- // Cloud Console.
82
+ // A unique ID for a specific instance of this message, typically assigned
83
+ // by the client for tracking purpose. If empty, the server may choose to
84
+ // generate one instead.
85
+ string id = 33;
86
+
87
+ // The product title for this service.
89
88
  string title = 2;
90
89
 
91
90
  // The Google project that owns this service.
92
91
  string producer_project_id = 22;
93
92
 
94
- // A unique ID for a specific instance of this message, typically assigned
95
- // by the client for tracking purpose. Must be no longer than 63 characters
96
- // and only lower case letters, digits, '.', '_' and '-' are allowed. If
97
- // empty, the server may choose to generate one instead.
98
- string id = 33;
99
-
100
93
  // A list of API interfaces exported by this service. Only the `name` field
101
- // of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by
102
- // the configuration author, as the remaining fields will be derived from the
103
- // IDL during the normalization process. It is an error to specify an API
104
- // interface here which cannot be resolved against the associated IDL files.
94
+ // of the [google.protobuf.Api][google.protobuf.Api] needs to be provided by the configuration
95
+ // author, as the remaining fields will be derived from the IDL during the
96
+ // normalization process. It is an error to specify an API interface here
97
+ // which cannot be resolved against the associated IDL files.
105
98
  repeated google.protobuf.Api apis = 3;
106
99
 
107
100
  // A list of all proto message types included in this API service.
108
- // Types referenced directly or indirectly by the `apis` are automatically
109
- // included. Messages which are not referenced but shall be included, such as
110
- // types used by the `google.protobuf.Any` type, should be listed here by
111
- // name by the configuration author. Example:
101
+ // Types referenced directly or indirectly by the `apis` are
102
+ // automatically included. Messages which are not referenced but
103
+ // shall be included, such as types used by the `google.protobuf.Any` type,
104
+ // should be listed here by name. Example:
112
105
  //
113
106
  // types:
114
107
  // - name: google.protobuf.Int32
115
108
  repeated google.protobuf.Type types = 4;
116
109
 
117
- // A list of all enum types included in this API service. Enums referenced
118
- // directly or indirectly by the `apis` are automatically included. Enums
119
- // which are not referenced but shall be included should be listed here by
120
- // name by the configuration author. Example:
110
+ // A list of all enum types included in this API service. Enums
111
+ // referenced directly or indirectly by the `apis` are automatically
112
+ // included. Enums which are not referenced but shall be included
113
+ // should be listed here by name. Example:
121
114
  //
122
115
  // enums:
123
116
  // - name: google.someapi.v1.SomeEnum
@@ -159,8 +152,7 @@ message Service {
159
152
  repeated MetricDescriptor metrics = 24;
160
153
 
161
154
  // Defines the monitored resources used by this service. This is required
162
- // by the [Service.monitoring][google.api.Service.monitoring] and
163
- // [Service.logging][google.api.Service.logging] configurations.
155
+ // by the [Service.monitoring][google.api.Service.monitoring] and [Service.logging][google.api.Service.logging] configurations.
164
156
  repeated MonitoredResourceDescriptor monitored_resources = 25;
165
157
 
166
158
  // Billing configuration.
@@ -178,14 +170,6 @@ message Service {
178
170
  // Output only. The source information for this configuration if available.
179
171
  SourceInfo source_info = 37;
180
172
 
181
- // Settings for [Google Cloud Client
182
- // libraries](https://cloud.google.com/apis/docs/cloud-client-libraries)
183
- // generated from APIs defined as protocol buffers.
184
- Publishing publishing = 45;
185
-
186
- // Obsolete. Do not use.
187
- //
188
- // This field has no semantic meaning. The service config compiler always
189
- // sets this field to `3`.
190
- google.protobuf.UInt32Value config_version = 20;
173
+ // Experimental configuration.
174
+ reserved 101;
191
175
  }
@@ -1,4 +1,4 @@
1
- // Copyright 2024 Google LLC
1
+ // Copyright 2018 Google LLC.
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -24,6 +24,7 @@ option java_outer_classname = "SourceInfoProto";
24
24
  option java_package = "com.google.api";
25
25
  option objc_class_prefix = "GAPI";
26
26
 
27
+
27
28
  // Source information used to create a Service Config
28
29
  message SourceInfo {
29
30
  // All files used during config generation.
@@ -1,4 +1,4 @@
1
- // Copyright 2024 Google LLC
1
+ // Copyright 2018 Google LLC.
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -22,6 +22,7 @@ option java_outer_classname = "SystemParameterProto";
22
22
  option java_package = "com.google.api";
23
23
  option objc_class_prefix = "GAPI";
24
24
 
25
+
25
26
  // ### System parameter configuration
26
27
  //
27
28
  // A system parameter is a special kind of parameter defined by the API
@@ -67,8 +68,7 @@ message SystemParameterRule {
67
68
  // Selects the methods to which this rule applies. Use '*' to indicate all
68
69
  // methods in all APIs.
69
70
  //
70
- // Refer to [selector][google.api.DocumentationRule.selector] for syntax
71
- // details.
71
+ // Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
72
72
  string selector = 1;
73
73
 
74
74
  // Define parameters. Multiple names may be defined for a parameter.
@@ -1,4 +1,4 @@
1
- // Copyright 2024 Google LLC
1
+ // Copyright 2018 Google LLC.
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -16,23 +16,20 @@ syntax = "proto3";
16
16
 
17
17
  package google.api;
18
18
 
19
+ import "google/api/annotations.proto";
20
+
19
21
  option go_package = "google.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig";
20
22
  option java_multiple_files = true;
21
23
  option java_outer_classname = "UsageProto";
22
24
  option java_package = "com.google.api";
23
25
  option objc_class_prefix = "GAPI";
24
26
 
27
+
25
28
  // Configuration controlling usage of a service.
26
29
  message Usage {
27
30
  // Requirements that must be satisfied before a consumer project can use the
28
31
  // service. Each requirement is of the form <service.name>/<requirement-id>;
29
32
  // 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
33
  repeated string requirements = 1;
37
34
 
38
35
  // A list of usage rules that apply to individual API methods.
@@ -80,8 +77,7 @@ message UsageRule {
80
77
  // Selects the methods to which this rule applies. Use '*' to indicate all
81
78
  // methods in all APIs.
82
79
  //
83
- // Refer to [selector][google.api.DocumentationRule.selector] for syntax
84
- // details.
80
+ // Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
85
81
  string selector = 1;
86
82
 
87
83
  // If true, the selected method allows unregistered calls, e.g. calls
@@ -9,6 +9,7 @@ import "devvit/dev_portal/fetch_domain/fetch_domain.proto";
9
9
  import "devvit/dev_portal/fetch_domain_request/fetch_domain_request.proto";
10
10
  import "devvit/dev_portal/reddit/redditor.proto";
11
11
  import "google/protobuf/wrappers.proto";
12
+ import "reddit/devvit/ads/v1/ads.proto";
12
13
 
13
14
  option go_package = "github.snooguts.net/reddit/reddit-devplatform-monorepo/go-common/generated/protos/types/devvit/devportal/app";
14
15
 
@@ -174,6 +175,10 @@ message AppUpdateRequest {
174
175
 
175
176
  reserved 12; // deprecated field:capabilities
176
177
  reserved "capabilities";
178
+
179
+ // The promotion status of the app, for ads team use to mark
180
+ // promoted apps and what level they are promoted.
181
+ optional .reddit.devvit.ads.v1.AppPromoStatus promo_status = 14;
177
182
  }
178
183
 
179
184
  // endregion