@devvit/protos 0.11.6 → 0.11.7-next-2025-01-28-641048aff.0
Sign up to get free protection for your applications and to get access to all the features.
- package/meta.min.json +7820 -0
- package/package.json +4 -4
- package/protos.min.js +2 -0
- package/protos.min.js.map +7 -0
- package/schema/.snootobuf/deps/buf/validate/expression.proto +92 -0
- package/schema/.snootobuf/deps/buf/validate/priv/private.proto +41 -0
- package/schema/.snootobuf/deps/buf/validate/validate.proto +4130 -0
- package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/audit.proto +72 -0
- package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/auth.proto +49 -0
- package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/organization.proto +54 -0
- package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/service.proto +46 -0
- package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/subscription.proto +72 -0
- package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/ui.proto +20 -0
- package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/user.proto +45 -0
- package/schema/.snootobuf/deps/devvit/data/api/v1alpha/admin.proto +54 -0
- package/schema/.snootobuf/deps/devvit/data/api/v1alpha/delivery.proto +773 -0
- package/schema/.snootobuf/deps/devvit/data/api/v1alpha/filter.proto +66 -0
- package/schema/.snootobuf/deps/devvit/data/api/v1alpha/firehose.proto +100 -0
- package/schema/.snootobuf/deps/devvit/data/api/v1alpha/intake.proto +19 -0
- package/schema/.snootobuf/deps/devvit/events/v1alpha/events.proto +446 -0
- package/schema/.snootobuf/deps/devvit/gateway/v1alpha/payments.proto +24 -0
- package/schema/.snootobuf/deps/devvit/options/options.proto +98 -0
- package/schema/.snootobuf/deps/devvit/reddit/v2alpha/commentv2.proto +29 -0
- package/schema/.snootobuf/deps/devvit/reddit/v2alpha/flair.proto +25 -0
- package/schema/.snootobuf/deps/devvit/reddit/v2alpha/modaction.proto +53 -0
- package/schema/.snootobuf/deps/devvit/reddit/v2alpha/modmail.proto +56 -0
- package/schema/.snootobuf/deps/devvit/reddit/v2alpha/postv2.proto +107 -0
- package/schema/.snootobuf/deps/devvit/reddit/v2alpha/subredditv2.proto +41 -0
- package/schema/.snootobuf/deps/devvit/reddit/v2alpha/userv2.proto +23 -0
- package/schema/.snootobuf/deps/devvit/triggers/v1alpha/triggers.proto +162 -0
- package/schema/.snootobuf/deps/enum/account_gender_category.proto +14 -0
- package/schema/.snootobuf/deps/enum/approval_status.proto +15 -0
- package/schema/.snootobuf/deps/enum/automated_reporting_level.proto +12 -0
- package/schema/.snootobuf/deps/enum/ban_evasion_threshold.proto +13 -0
- package/schema/.snootobuf/deps/enum/ban_info_action.proto +12 -0
- package/schema/.snootobuf/deps/enum/block_relation_type.proto +11 -0
- package/schema/.snootobuf/deps/enum/comment_sort.proto +18 -0
- package/schema/.snootobuf/deps/enum/comment_type.proto +11 -0
- package/schema/.snootobuf/deps/enum/crowd_control_level.proto +12 -0
- package/schema/.snootobuf/deps/enum/discussion_type.proto +10 -0
- package/schema/.snootobuf/deps/enum/distinguish_type.proto +14 -0
- package/schema/.snootobuf/deps/enum/flair_position.proto +11 -0
- package/schema/.snootobuf/deps/enum/hateful_content_threshold.proto +12 -0
- package/schema/.snootobuf/deps/enum/link_content_type.proto +11 -0
- package/schema/.snootobuf/deps/enum/link_type.proto +11 -0
- package/schema/.snootobuf/deps/enum/link_visibility.proto +11 -0
- package/schema/.snootobuf/deps/enum/prediction_leaderboard_entry_type.proto +11 -0
- package/schema/.snootobuf/deps/enum/promo_layout.proto +11 -0
- package/schema/.snootobuf/deps/enum/removed_by_type.proto +18 -0
- package/schema/.snootobuf/deps/enum/spam_level.proto +11 -0
- package/schema/.snootobuf/deps/enum/subreddit_type.proto +16 -0
- package/schema/.snootobuf/deps/enum/verdict.proto +14 -0
- package/schema/.snootobuf/deps/enum/vote.proto +12 -0
- package/schema/.snootobuf/deps/enum/whitelist_status.proto +17 -0
- package/schema/.snootobuf/deps/enum/wiki_edit_mode.proto +12 -0
- package/schema/.snootobuf/deps/evaluator/evaluator.proto +203 -0
- package/schema/.snootobuf/deps/google/api/annotations.proto +31 -0
- package/schema/.snootobuf/deps/google/api/apikeys/v2/apikeys.proto +288 -0
- package/schema/.snootobuf/deps/google/api/apikeys/v2/resources.proto +175 -0
- package/schema/.snootobuf/deps/google/api/auth.proto +237 -0
- package/schema/.snootobuf/deps/google/api/backend.proto +185 -0
- package/schema/.snootobuf/deps/google/api/billing.proto +77 -0
- package/schema/.snootobuf/deps/google/api/client.proto +431 -0
- package/schema/.snootobuf/deps/google/api/cloudquotas/v1/cloudquotas.proto +322 -0
- package/schema/.snootobuf/deps/google/api/cloudquotas/v1/resources.proto +315 -0
- package/schema/.snootobuf/deps/google/api/config_change.proto +84 -0
- package/schema/.snootobuf/deps/google/api/consumer.proto +82 -0
- package/schema/.snootobuf/deps/google/api/context.proto +92 -0
- package/schema/.snootobuf/deps/google/api/control.proto +41 -0
- package/schema/.snootobuf/deps/google/api/distribution.proto +213 -0
- package/schema/.snootobuf/deps/google/api/documentation.proto +168 -0
- package/schema/.snootobuf/deps/google/api/endpoint.proto +69 -0
- package/schema/.snootobuf/deps/google/api/error_reason.proto +589 -0
- package/schema/.snootobuf/deps/google/api/expr/conformance/v1alpha1/conformance_service.proto +183 -0
- package/schema/.snootobuf/deps/google/api/expr/v1alpha1/checked.proto +343 -0
- package/schema/.snootobuf/deps/google/api/expr/v1alpha1/eval.proto +118 -0
- package/schema/.snootobuf/deps/google/api/expr/v1alpha1/explain.proto +53 -0
- package/schema/.snootobuf/deps/google/api/expr/v1alpha1/syntax.proto +438 -0
- package/schema/.snootobuf/deps/google/api/expr/v1alpha1/value.proto +115 -0
- package/schema/.snootobuf/deps/google/api/expr/v1beta1/decl.proto +84 -0
- package/schema/.snootobuf/deps/google/api/expr/v1beta1/eval.proto +125 -0
- package/schema/.snootobuf/deps/google/api/expr/v1beta1/expr.proto +265 -0
- package/schema/.snootobuf/deps/google/api/expr/v1beta1/source.proto +62 -0
- package/schema/.snootobuf/deps/google/api/expr/v1beta1/value.proto +114 -0
- package/schema/.snootobuf/deps/google/api/field_behavior.proto +104 -0
- package/schema/.snootobuf/deps/google/api/field_info.proto +106 -0
- package/schema/.snootobuf/deps/google/api/http.proto +371 -0
- package/schema/.snootobuf/deps/google/api/httpbody.proto +81 -0
- package/schema/.snootobuf/deps/google/api/label.proto +48 -0
- package/schema/.snootobuf/deps/google/api/launch_stage.proto +72 -0
- package/schema/.snootobuf/deps/google/api/log.proto +54 -0
- package/schema/.snootobuf/deps/google/api/logging.proto +81 -0
- package/schema/.snootobuf/deps/google/api/metric.proto +268 -0
- package/schema/.snootobuf/deps/google/api/monitored_resource.proto +130 -0
- package/schema/.snootobuf/deps/google/api/monitoring.proto +107 -0
- package/schema/.snootobuf/deps/google/api/policy.proto +85 -0
- package/schema/.snootobuf/deps/google/api/quota.proto +184 -0
- package/schema/.snootobuf/deps/google/api/resource.proto +243 -0
- package/schema/.snootobuf/deps/google/api/routing.proto +461 -0
- package/schema/.snootobuf/deps/google/api/service.proto +191 -0
- package/schema/.snootobuf/deps/google/api/servicecontrol/v1/check_error.proto +124 -0
- package/schema/.snootobuf/deps/google/api/servicecontrol/v1/distribution.proto +166 -0
- package/schema/.snootobuf/deps/google/api/servicecontrol/v1/http_request.proto +93 -0
- package/schema/.snootobuf/deps/google/api/servicecontrol/v1/log_entry.proto +126 -0
- package/schema/.snootobuf/deps/google/api/servicecontrol/v1/metric_value.proto +81 -0
- package/schema/.snootobuf/deps/google/api/servicecontrol/v1/operation.proto +123 -0
- package/schema/.snootobuf/deps/google/api/servicecontrol/v1/quota_controller.proto +245 -0
- package/schema/.snootobuf/deps/google/api/servicecontrol/v1/service_controller.proto +260 -0
- package/schema/.snootobuf/deps/google/api/servicecontrol/v2/service_controller.proto +196 -0
- package/schema/.snootobuf/deps/google/api/servicemanagement/v1/resources.proto +295 -0
- package/schema/.snootobuf/deps/google/api/servicemanagement/v1/servicemanager.proto +508 -0
- package/schema/.snootobuf/deps/google/api/serviceusage/v1/resources.proto +130 -0
- package/schema/.snootobuf/deps/google/api/serviceusage/v1/serviceusage.proto +305 -0
- package/schema/.snootobuf/deps/google/api/serviceusage/v1beta1/resources.proto +458 -0
- package/schema/.snootobuf/deps/google/api/serviceusage/v1beta1/serviceusage.proto +793 -0
- package/schema/.snootobuf/deps/google/api/source_info.proto +31 -0
- package/schema/.snootobuf/deps/google/api/system_parameter.proto +96 -0
- package/schema/.snootobuf/deps/google/api/usage.proto +96 -0
- package/schema/.snootobuf/deps/google/api/visibility.proto +113 -0
- package/schema/.snootobuf/deps/google/cloud/extended_operations.proto +150 -0
- package/schema/.snootobuf/deps/google/iam/admin/v1/iam.proto +1087 -0
- package/schema/.snootobuf/deps/google/iam/v1/iam_policy.proto +145 -0
- package/schema/.snootobuf/deps/google/iam/v1/logging/audit_data.proto +34 -0
- package/schema/.snootobuf/deps/google/iam/v1/options.proto +41 -0
- package/schema/.snootobuf/deps/google/iam/v1/policy.proto +240 -0
- package/schema/.snootobuf/deps/google/logging/type/http_request.proto +92 -0
- package/schema/.snootobuf/deps/google/logging/type/log_severity.proto +72 -0
- package/schema/.snootobuf/deps/google/longrunning/operations.proto +247 -0
- package/schema/.snootobuf/deps/google/protobuf/any.proto +158 -0
- package/schema/.snootobuf/deps/google/protobuf/api.proto +208 -0
- package/schema/.snootobuf/deps/google/protobuf/compiler/plugin.proto +183 -0
- package/schema/.snootobuf/deps/google/protobuf/descriptor.proto +921 -0
- package/schema/.snootobuf/deps/google/protobuf/duration.proto +116 -0
- package/schema/.snootobuf/deps/google/protobuf/empty.proto +51 -0
- package/schema/.snootobuf/deps/google/protobuf/field_mask.proto +245 -0
- package/schema/.snootobuf/deps/google/protobuf/source_context.proto +48 -0
- package/schema/.snootobuf/deps/google/protobuf/struct.proto +95 -0
- package/schema/.snootobuf/deps/google/protobuf/timestamp.proto +147 -0
- package/schema/.snootobuf/deps/google/protobuf/type.proto +187 -0
- package/schema/.snootobuf/deps/google/protobuf/wrappers.proto +123 -0
- package/schema/.snootobuf/deps/google/rpc/code.proto +186 -0
- package/schema/.snootobuf/deps/google/rpc/context/attribute_context.proto +287 -0
- package/schema/.snootobuf/deps/google/rpc/error_details.proto +246 -0
- package/schema/.snootobuf/deps/google/rpc/status.proto +47 -0
- package/schema/.snootobuf/deps/google/type/calendar_period.proto +57 -0
- package/schema/.snootobuf/deps/google/type/color.proto +170 -0
- package/schema/.snootobuf/deps/google/type/date.proto +50 -0
- package/schema/.snootobuf/deps/google/type/datetime.proto +97 -0
- package/schema/.snootobuf/deps/google/type/dayofweek.proto +51 -0
- package/schema/.snootobuf/deps/google/type/expr.proto +51 -0
- package/schema/.snootobuf/deps/google/type/fraction.proto +34 -0
- package/schema/.snootobuf/deps/google/type/latlng.proto +37 -0
- package/schema/.snootobuf/deps/google/type/money.proto +43 -0
- package/schema/.snootobuf/deps/google/type/month.proto +66 -0
- package/schema/.snootobuf/deps/google/type/postal_address.proto +135 -0
- package/schema/.snootobuf/deps/google/type/quaternion.proto +95 -0
- package/schema/.snootobuf/deps/google/type/timeofday.proto +44 -0
- package/schema/.snootobuf/deps/openapi/helper.proto +20 -0
- package/schema/.snootobuf/deps/products-api/protos/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +189 -0
- package/schema/.snootobuf/deps/products-api/protos/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +118 -0
- package/schema/.snootobuf/deps/reddit/api/metadata/v1/metadata.proto +55 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/account/v1/account.proto +579 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/account/v1/account_relations.proto +43 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/api/metadata/v1/metadata.proto +82 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/blocking/v1/user_blocking_service.proto +221 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree.proto +78 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_service.proto +189 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_structure.proto +29 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comments.proto +417 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comments_service.proto +72 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/auth.proto +25 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/features.proto +52 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/lang.proto +16 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/legal.proto +20 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/media.proto +149 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/moderation.proto +197 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/safety.proto +116 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/time.proto +25 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/domains/v1/domains_metadata_service.proto +101 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/grpc_thrift/v1/grpc_thrift_options.proto +34 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/links/v1/links.proto +798 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/links/v1/links_service.proto +186 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/messages/v1/messages.proto +110 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/sensitive/v1/wrappers.proto +51 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit.proto +1202 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_member_relations.proto +85 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_moderator_service.proto +363 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_service.proto +301 -0
- package/schema/.snootobuf/deps/reddit/coreplatform/thing/v0/thing.proto +2869 -0
- package/schema/.snootobuf/deps/reddit/devvit/custom_post/v1/custom_post.proto +15 -0
- package/schema/.snootobuf/deps/reddit/devvit/custom_post/v1/service.proto +11 -0
- package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/context_action.proto +48 -0
- package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/manifest.proto +70 -0
- package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/service.proto +11 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/acknowledge_order_delivery.proto +17 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/checkout.proto +89 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/common.proto +322 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/delete_products.proto +17 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/events.proto +14 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_batch_products.proto +15 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_gold_balances.proto +48 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_order.proto +31 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders.proto +26 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders_by_user.proto +15 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_payout_info_batch.proto +52 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_products.proto +23 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_user_profiles.proto +28 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/refund_order.proto +17 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service.proto +49 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service_data_compliance.proto +20 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/upsert_products.proto +17 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paygatewaypsps/v1/paygatewaypsps.proto +158 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payments_data_compliance.proto +18 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payorders.proto +195 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/admin.proto +44 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/ledger.proto +200 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/payments_data_compliance.proto +18 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/paypayments.proto +210 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +189 -0
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +135 -0
- package/schema/.snootobuf/deps/snooron_sources/text_classification/text_classification.proto +29 -0
- package/schema/.snootobuf/deps/snooron_sources/v2_event/v2_event.proto +3292 -0
- package/schema/.snootobuf/deps/validate/validate.proto +862 -0
- package/schema/devvit/plugin/buildpack/buildpack_common.proto +6 -1
- package/schema/snootobuf.devenv.lock +210 -102
- package/schema/snootobuf.lock +210 -102
- package/schema/snootobuf.redditapi.lock +210 -102
- package/schema/snootobuf.ts.lock +210 -102
- package/types/devvit/dev_portal/dev_portal.d.ts +2 -0
- package/types/devvit/dev_portal/dev_portal.d.ts.map +1 -1
- package/types/devvit/plugin/builder/builder.d.ts +4 -0
- package/types/devvit/plugin/builder/builder.d.ts.map +1 -1
- package/types/devvit/plugin/buildpack/buildpack.d.ts +8 -0
- package/types/devvit/plugin/buildpack/buildpack.d.ts.map +1 -1
- package/types/devvit/plugin/buildpack/buildpack_common.d.ts +3 -0
- package/types/devvit/plugin/buildpack/buildpack_common.d.ts.map +1 -1
- package/types/devvit/plugin/buildpack/buildpack_common.js +37 -1
- package/types/devvit/plugin/linker/linker.d.ts +2 -0
- package/types/devvit/plugin/linker/linker.d.ts.map +1 -1
- package/types/devvit/plugin/linker/resolver.d.ts +2 -0
- package/types/devvit/plugin/linker/resolver.d.ts.map +1 -1
@@ -0,0 +1,458 @@
|
|
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
|
+
}
|