@devvit/protos 0.11.6 → 0.11.7-next-2025-01-28-9b10510e8.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,793 @@
|
|
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/annotations.proto";
|
20
|
+
import "google/api/client.proto";
|
21
|
+
import "google/api/field_behavior.proto";
|
22
|
+
import "google/api/serviceusage/v1beta1/resources.proto";
|
23
|
+
import "google/longrunning/operations.proto";
|
24
|
+
import "google/protobuf/empty.proto";
|
25
|
+
import "google/protobuf/field_mask.proto";
|
26
|
+
|
27
|
+
option csharp_namespace = "Google.Api.ServiceUsage.V1Beta1";
|
28
|
+
option go_package = "google.golang.org/genproto/googleapis/api/serviceusage/v1beta1;serviceusage";
|
29
|
+
option java_multiple_files = true;
|
30
|
+
option java_outer_classname = "ServiceUsageProto";
|
31
|
+
option java_package = "com.google.api.serviceusage.v1beta1";
|
32
|
+
option php_namespace = "Google\\Api\\ServiceUsage\\V1beta1";
|
33
|
+
option ruby_package = "Google::Api::ServiceUsage::V1beta1";
|
34
|
+
|
35
|
+
// [Service Usage API](https://cloud.google.com/service-usage/docs/overview)
|
36
|
+
service ServiceUsage {
|
37
|
+
option (google.api.default_host) = "serviceusage.googleapis.com";
|
38
|
+
option (google.api.oauth_scopes) =
|
39
|
+
"https://www.googleapis.com/auth/cloud-platform,"
|
40
|
+
"https://www.googleapis.com/auth/cloud-platform.read-only,"
|
41
|
+
"https://www.googleapis.com/auth/service.management";
|
42
|
+
|
43
|
+
// Enables a service so that it can be used with a project.
|
44
|
+
//
|
45
|
+
// Operation response type: `google.protobuf.Empty`
|
46
|
+
rpc EnableService(EnableServiceRequest)
|
47
|
+
returns (google.longrunning.Operation) {
|
48
|
+
option deprecated = true;
|
49
|
+
option (google.api.http) = {
|
50
|
+
post: "/v1beta1/{name=*/*/services/*}:enable"
|
51
|
+
body: "*"
|
52
|
+
};
|
53
|
+
option (google.longrunning.operation_info) = {
|
54
|
+
response_type: "google.protobuf.Empty"
|
55
|
+
metadata_type: "OperationMetadata"
|
56
|
+
};
|
57
|
+
}
|
58
|
+
|
59
|
+
// Disables a service so that it can no longer be used with a project.
|
60
|
+
// This prevents unintended usage that may cause unexpected billing
|
61
|
+
// charges or security leaks.
|
62
|
+
//
|
63
|
+
// It is not valid to call the disable method on a service that is not
|
64
|
+
// currently enabled. Callers will receive a `FAILED_PRECONDITION` status if
|
65
|
+
// the target service is not currently enabled.
|
66
|
+
//
|
67
|
+
// Operation response type: `google.protobuf.Empty`
|
68
|
+
rpc DisableService(DisableServiceRequest)
|
69
|
+
returns (google.longrunning.Operation) {
|
70
|
+
option deprecated = true;
|
71
|
+
option (google.api.http) = {
|
72
|
+
post: "/v1beta1/{name=*/*/services/*}:disable"
|
73
|
+
body: "*"
|
74
|
+
};
|
75
|
+
option (google.longrunning.operation_info) = {
|
76
|
+
response_type: "google.protobuf.Empty"
|
77
|
+
metadata_type: "OperationMetadata"
|
78
|
+
};
|
79
|
+
}
|
80
|
+
|
81
|
+
// Returns the service configuration and enabled state for a given service.
|
82
|
+
rpc GetService(GetServiceRequest) returns (Service) {
|
83
|
+
option deprecated = true;
|
84
|
+
option (google.api.http) = {
|
85
|
+
get: "/v1beta1/{name=*/*/services/*}"
|
86
|
+
};
|
87
|
+
}
|
88
|
+
|
89
|
+
// Lists all services available to the specified project, and the current
|
90
|
+
// state of those services with respect to the project. The list includes
|
91
|
+
// all public services, all services for which the calling user has the
|
92
|
+
// `servicemanagement.services.bind` permission, and all services that have
|
93
|
+
// already been enabled on the project. The list can be filtered to
|
94
|
+
// only include services in a specific state, for example to only include
|
95
|
+
// services enabled on the project.
|
96
|
+
rpc ListServices(ListServicesRequest) returns (ListServicesResponse) {
|
97
|
+
option deprecated = true;
|
98
|
+
option (google.api.http) = {
|
99
|
+
get: "/v1beta1/{parent=*/*}/services"
|
100
|
+
};
|
101
|
+
}
|
102
|
+
|
103
|
+
// Enables multiple services on a project. The operation is atomic: if
|
104
|
+
// enabling any service fails, then the entire batch fails, and no state
|
105
|
+
// changes occur.
|
106
|
+
//
|
107
|
+
// Operation response type: `google.protobuf.Empty`
|
108
|
+
rpc BatchEnableServices(BatchEnableServicesRequest)
|
109
|
+
returns (google.longrunning.Operation) {
|
110
|
+
option deprecated = true;
|
111
|
+
option (google.api.http) = {
|
112
|
+
post: "/v1beta1/{parent=*/*}/services:batchEnable"
|
113
|
+
body: "*"
|
114
|
+
};
|
115
|
+
option (google.longrunning.operation_info) = {
|
116
|
+
response_type: "google.protobuf.Empty"
|
117
|
+
metadata_type: "OperationMetadata"
|
118
|
+
};
|
119
|
+
}
|
120
|
+
|
121
|
+
// Retrieves a summary of all quota information visible to the service
|
122
|
+
// consumer, organized by service metric. Each metric includes information
|
123
|
+
// about all of its defined limits. Each limit includes the limit
|
124
|
+
// configuration (quota unit, preciseness, default value), the current
|
125
|
+
// effective limit value, and all of the overrides applied to the limit.
|
126
|
+
rpc ListConsumerQuotaMetrics(ListConsumerQuotaMetricsRequest)
|
127
|
+
returns (ListConsumerQuotaMetricsResponse) {
|
128
|
+
option (google.api.http) = {
|
129
|
+
get: "/v1beta1/{parent=*/*/services/*}/consumerQuotaMetrics"
|
130
|
+
};
|
131
|
+
}
|
132
|
+
|
133
|
+
// Retrieves a summary of quota information for a specific quota metric
|
134
|
+
rpc GetConsumerQuotaMetric(GetConsumerQuotaMetricRequest)
|
135
|
+
returns (ConsumerQuotaMetric) {
|
136
|
+
option (google.api.http) = {
|
137
|
+
get: "/v1beta1/{name=*/*/services/*/consumerQuotaMetrics/*}"
|
138
|
+
};
|
139
|
+
}
|
140
|
+
|
141
|
+
// Retrieves a summary of quota information for a specific quota limit.
|
142
|
+
rpc GetConsumerQuotaLimit(GetConsumerQuotaLimitRequest)
|
143
|
+
returns (ConsumerQuotaLimit) {
|
144
|
+
option (google.api.http) = {
|
145
|
+
get: "/v1beta1/{name=*/*/services/*/consumerQuotaMetrics/*/limits/*}"
|
146
|
+
};
|
147
|
+
}
|
148
|
+
|
149
|
+
// Creates an admin override.
|
150
|
+
// An admin override is applied by an administrator of a parent folder or
|
151
|
+
// parent organization of the consumer receiving the override. An admin
|
152
|
+
// override is intended to limit the amount of quota the consumer can use out
|
153
|
+
// of the total quota pool allocated to all children of the folder or
|
154
|
+
// organization.
|
155
|
+
rpc CreateAdminOverride(CreateAdminOverrideRequest)
|
156
|
+
returns (google.longrunning.Operation) {
|
157
|
+
option (google.api.http) = {
|
158
|
+
post: "/v1beta1/{parent=*/*/services/*/consumerQuotaMetrics/*/limits/*}/adminOverrides"
|
159
|
+
body: "override"
|
160
|
+
};
|
161
|
+
option (google.longrunning.operation_info) = {
|
162
|
+
response_type: "QuotaOverride"
|
163
|
+
metadata_type: "OperationMetadata"
|
164
|
+
};
|
165
|
+
}
|
166
|
+
|
167
|
+
// Updates an admin override.
|
168
|
+
rpc UpdateAdminOverride(UpdateAdminOverrideRequest)
|
169
|
+
returns (google.longrunning.Operation) {
|
170
|
+
option (google.api.http) = {
|
171
|
+
patch: "/v1beta1/{name=*/*/services/*/consumerQuotaMetrics/*/limits/*/adminOverrides/*}"
|
172
|
+
body: "override"
|
173
|
+
};
|
174
|
+
option (google.longrunning.operation_info) = {
|
175
|
+
response_type: "QuotaOverride"
|
176
|
+
metadata_type: "OperationMetadata"
|
177
|
+
};
|
178
|
+
}
|
179
|
+
|
180
|
+
// Deletes an admin override.
|
181
|
+
rpc DeleteAdminOverride(DeleteAdminOverrideRequest)
|
182
|
+
returns (google.longrunning.Operation) {
|
183
|
+
option (google.api.http) = {
|
184
|
+
delete: "/v1beta1/{name=*/*/services/*/consumerQuotaMetrics/*/limits/*/adminOverrides/*}"
|
185
|
+
};
|
186
|
+
option (google.longrunning.operation_info) = {
|
187
|
+
response_type: "google.protobuf.Empty"
|
188
|
+
metadata_type: "OperationMetadata"
|
189
|
+
};
|
190
|
+
}
|
191
|
+
|
192
|
+
// Lists all admin overrides on this limit.
|
193
|
+
rpc ListAdminOverrides(ListAdminOverridesRequest)
|
194
|
+
returns (ListAdminOverridesResponse) {
|
195
|
+
option (google.api.http) = {
|
196
|
+
get: "/v1beta1/{parent=*/*/services/*/consumerQuotaMetrics/*/limits/*}/adminOverrides"
|
197
|
+
};
|
198
|
+
}
|
199
|
+
|
200
|
+
// Creates or updates multiple admin overrides atomically, all on the
|
201
|
+
// same consumer, but on many different metrics or limits.
|
202
|
+
// The name field in the quota override message should not be set.
|
203
|
+
rpc ImportAdminOverrides(ImportAdminOverridesRequest)
|
204
|
+
returns (google.longrunning.Operation) {
|
205
|
+
option (google.api.http) = {
|
206
|
+
post: "/v1beta1/{parent=*/*/services/*}/consumerQuotaMetrics:importAdminOverrides"
|
207
|
+
body: "*"
|
208
|
+
};
|
209
|
+
option (google.longrunning.operation_info) = {
|
210
|
+
response_type: "ImportAdminOverridesResponse"
|
211
|
+
metadata_type: "ImportAdminOverridesMetadata"
|
212
|
+
};
|
213
|
+
}
|
214
|
+
|
215
|
+
// Creates a consumer override.
|
216
|
+
// A consumer override is applied to the consumer on its own authority to
|
217
|
+
// limit its own quota usage. Consumer overrides cannot be used to grant more
|
218
|
+
// quota than would be allowed by admin overrides, producer overrides, or the
|
219
|
+
// default limit of the service.
|
220
|
+
rpc CreateConsumerOverride(CreateConsumerOverrideRequest)
|
221
|
+
returns (google.longrunning.Operation) {
|
222
|
+
option (google.api.http) = {
|
223
|
+
post: "/v1beta1/{parent=*/*/services/*/consumerQuotaMetrics/*/limits/*}/consumerOverrides"
|
224
|
+
body: "override"
|
225
|
+
};
|
226
|
+
option (google.longrunning.operation_info) = {
|
227
|
+
response_type: "QuotaOverride"
|
228
|
+
metadata_type: "OperationMetadata"
|
229
|
+
};
|
230
|
+
}
|
231
|
+
|
232
|
+
// Updates a consumer override.
|
233
|
+
rpc UpdateConsumerOverride(UpdateConsumerOverrideRequest)
|
234
|
+
returns (google.longrunning.Operation) {
|
235
|
+
option (google.api.http) = {
|
236
|
+
patch: "/v1beta1/{name=*/*/services/*/consumerQuotaMetrics/*/limits/*/consumerOverrides/*}"
|
237
|
+
body: "override"
|
238
|
+
};
|
239
|
+
option (google.longrunning.operation_info) = {
|
240
|
+
response_type: "QuotaOverride"
|
241
|
+
metadata_type: "OperationMetadata"
|
242
|
+
};
|
243
|
+
}
|
244
|
+
|
245
|
+
// Deletes a consumer override.
|
246
|
+
rpc DeleteConsumerOverride(DeleteConsumerOverrideRequest)
|
247
|
+
returns (google.longrunning.Operation) {
|
248
|
+
option (google.api.http) = {
|
249
|
+
delete: "/v1beta1/{name=*/*/services/*/consumerQuotaMetrics/*/limits/*/consumerOverrides/*}"
|
250
|
+
};
|
251
|
+
option (google.longrunning.operation_info) = {
|
252
|
+
response_type: "google.protobuf.Empty"
|
253
|
+
metadata_type: "OperationMetadata"
|
254
|
+
};
|
255
|
+
}
|
256
|
+
|
257
|
+
// Lists all consumer overrides on this limit.
|
258
|
+
rpc ListConsumerOverrides(ListConsumerOverridesRequest)
|
259
|
+
returns (ListConsumerOverridesResponse) {
|
260
|
+
option (google.api.http) = {
|
261
|
+
get: "/v1beta1/{parent=*/*/services/*/consumerQuotaMetrics/*/limits/*}/consumerOverrides"
|
262
|
+
};
|
263
|
+
}
|
264
|
+
|
265
|
+
// Creates or updates multiple consumer overrides atomically, all on the
|
266
|
+
// same consumer, but on many different metrics or limits.
|
267
|
+
// The name field in the quota override message should not be set.
|
268
|
+
rpc ImportConsumerOverrides(ImportConsumerOverridesRequest)
|
269
|
+
returns (google.longrunning.Operation) {
|
270
|
+
option (google.api.http) = {
|
271
|
+
post: "/v1beta1/{parent=*/*/services/*}/consumerQuotaMetrics:importConsumerOverrides"
|
272
|
+
body: "*"
|
273
|
+
};
|
274
|
+
option (google.longrunning.operation_info) = {
|
275
|
+
response_type: "ImportConsumerOverridesResponse"
|
276
|
+
metadata_type: "ImportConsumerOverridesMetadata"
|
277
|
+
};
|
278
|
+
}
|
279
|
+
|
280
|
+
// Generates service identity for service.
|
281
|
+
rpc GenerateServiceIdentity(GenerateServiceIdentityRequest)
|
282
|
+
returns (google.longrunning.Operation) {
|
283
|
+
option (google.api.http) = {
|
284
|
+
post: "/v1beta1/{parent=*/*/services/*}:generateServiceIdentity"
|
285
|
+
};
|
286
|
+
option (google.longrunning.operation_info) = {
|
287
|
+
response_type: "ServiceIdentity"
|
288
|
+
metadata_type: "google.protobuf.Empty"
|
289
|
+
};
|
290
|
+
}
|
291
|
+
}
|
292
|
+
|
293
|
+
// Request message for the `EnableService` method.
|
294
|
+
message EnableServiceRequest {
|
295
|
+
// Name of the consumer and service to enable the service on.
|
296
|
+
//
|
297
|
+
// The `EnableService` and `DisableService` methods currently only support
|
298
|
+
// projects.
|
299
|
+
//
|
300
|
+
// Enabling a service requires that the service is public or is shared with
|
301
|
+
// the user enabling the service.
|
302
|
+
//
|
303
|
+
// An example name would be:
|
304
|
+
// `projects/123/services/serviceusage.googleapis.com`
|
305
|
+
// where `123` is the project number (not project ID).
|
306
|
+
string name = 1;
|
307
|
+
}
|
308
|
+
|
309
|
+
// Request message for the `DisableService` method.
|
310
|
+
message DisableServiceRequest {
|
311
|
+
// Name of the consumer and service to disable the service on.
|
312
|
+
//
|
313
|
+
// The enable and disable methods currently only support projects.
|
314
|
+
//
|
315
|
+
// An example name would be:
|
316
|
+
// `projects/123/services/serviceusage.googleapis.com`
|
317
|
+
// where `123` is the project number (not project ID).
|
318
|
+
string name = 1;
|
319
|
+
}
|
320
|
+
|
321
|
+
// Request message for the `GetService` method.
|
322
|
+
message GetServiceRequest {
|
323
|
+
// Name of the consumer and service to get the `ConsumerState` for.
|
324
|
+
//
|
325
|
+
// An example name would be:
|
326
|
+
// `projects/123/services/serviceusage.googleapis.com`
|
327
|
+
// where `123` is the project number (not project ID).
|
328
|
+
string name = 1;
|
329
|
+
}
|
330
|
+
|
331
|
+
// Request message for the `ListServices` method.
|
332
|
+
message ListServicesRequest {
|
333
|
+
// Parent to search for services on.
|
334
|
+
//
|
335
|
+
// An example name would be:
|
336
|
+
// `projects/123`
|
337
|
+
// where `123` is the project number (not project ID).
|
338
|
+
string parent = 1;
|
339
|
+
|
340
|
+
// Requested size of the next page of data.
|
341
|
+
// Requested page size cannot exceed 200.
|
342
|
+
// If not set, the default page size is 50.
|
343
|
+
int32 page_size = 2;
|
344
|
+
|
345
|
+
// Token identifying which result to start with, which is returned by a
|
346
|
+
// previous list call.
|
347
|
+
string page_token = 3;
|
348
|
+
|
349
|
+
// Only list services that conform to the given filter.
|
350
|
+
// The allowed filter strings are `state:ENABLED` and `state:DISABLED`.
|
351
|
+
string filter = 4;
|
352
|
+
}
|
353
|
+
|
354
|
+
// Response message for the `ListServices` method.
|
355
|
+
message ListServicesResponse {
|
356
|
+
// The available services for the requested project.
|
357
|
+
repeated Service services = 1;
|
358
|
+
|
359
|
+
// Token that can be passed to `ListServices` to resume a paginated
|
360
|
+
// query.
|
361
|
+
string next_page_token = 2;
|
362
|
+
}
|
363
|
+
|
364
|
+
// Request message for the `BatchEnableServices` method.
|
365
|
+
message BatchEnableServicesRequest {
|
366
|
+
// Parent to enable services on.
|
367
|
+
//
|
368
|
+
// An example name would be:
|
369
|
+
// `projects/123`
|
370
|
+
// where `123` is the project number (not project ID).
|
371
|
+
//
|
372
|
+
// The `BatchEnableServices` method currently only supports projects.
|
373
|
+
string parent = 1;
|
374
|
+
|
375
|
+
// The identifiers of the services to enable on the project.
|
376
|
+
//
|
377
|
+
// A valid identifier would be:
|
378
|
+
// serviceusage.googleapis.com
|
379
|
+
//
|
380
|
+
// Enabling services requires that each service is public or is shared with
|
381
|
+
// the user enabling the service.
|
382
|
+
//
|
383
|
+
// Two or more services must be specified. To enable a single service,
|
384
|
+
// use the `EnableService` method instead.
|
385
|
+
//
|
386
|
+
// A single request can enable a maximum of 20 services at a time. If more
|
387
|
+
// than 20 services are specified, the request will fail, and no state changes
|
388
|
+
// will occur.
|
389
|
+
repeated string service_ids = 2;
|
390
|
+
}
|
391
|
+
|
392
|
+
// Request message for ListConsumerQuotaMetrics
|
393
|
+
message ListConsumerQuotaMetricsRequest {
|
394
|
+
// Parent of the quotas resource.
|
395
|
+
//
|
396
|
+
// Some example names would be:
|
397
|
+
// `projects/123/services/serviceconsumermanagement.googleapis.com`
|
398
|
+
// `folders/345/services/serviceconsumermanagement.googleapis.com`
|
399
|
+
// `organizations/456/services/serviceconsumermanagement.googleapis.com`
|
400
|
+
string parent = 1;
|
401
|
+
|
402
|
+
// Requested size of the next page of data.
|
403
|
+
int32 page_size = 2;
|
404
|
+
|
405
|
+
// Token identifying which result to start with; returned by a previous list
|
406
|
+
// call.
|
407
|
+
string page_token = 3;
|
408
|
+
|
409
|
+
// Specifies the level of detail for quota information in the response.
|
410
|
+
QuotaView view = 4;
|
411
|
+
}
|
412
|
+
|
413
|
+
// Response message for ListConsumerQuotaMetrics
|
414
|
+
message ListConsumerQuotaMetricsResponse {
|
415
|
+
// Quota settings for the consumer, organized by quota metric.
|
416
|
+
repeated ConsumerQuotaMetric metrics = 1;
|
417
|
+
|
418
|
+
// Token identifying which result to start with; returned by a previous list
|
419
|
+
// call.
|
420
|
+
string next_page_token = 2;
|
421
|
+
}
|
422
|
+
|
423
|
+
// Request message for GetConsumerQuotaMetric
|
424
|
+
message GetConsumerQuotaMetricRequest {
|
425
|
+
// The resource name of the quota limit.
|
426
|
+
//
|
427
|
+
// An example name would be:
|
428
|
+
// `projects/123/services/serviceusage.googleapis.com/quotas/metrics/serviceusage.googleapis.com%2Fmutate_requests`
|
429
|
+
string name = 1;
|
430
|
+
|
431
|
+
// Specifies the level of detail for quota information in the response.
|
432
|
+
QuotaView view = 2;
|
433
|
+
}
|
434
|
+
|
435
|
+
// Request message for GetConsumerQuotaLimit
|
436
|
+
message GetConsumerQuotaLimitRequest {
|
437
|
+
// The resource name of the quota limit.
|
438
|
+
//
|
439
|
+
// Use the quota limit resource name returned by previous
|
440
|
+
// ListConsumerQuotaMetrics and GetConsumerQuotaMetric API calls.
|
441
|
+
string name = 1;
|
442
|
+
|
443
|
+
// Specifies the level of detail for quota information in the response.
|
444
|
+
QuotaView view = 2;
|
445
|
+
}
|
446
|
+
|
447
|
+
// Request message for CreateAdminOverride.
|
448
|
+
message CreateAdminOverrideRequest {
|
449
|
+
// The resource name of the parent quota limit, returned by a
|
450
|
+
// ListConsumerQuotaMetrics or GetConsumerQuotaMetric call.
|
451
|
+
//
|
452
|
+
// An example name would be:
|
453
|
+
// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
|
454
|
+
string parent = 1;
|
455
|
+
|
456
|
+
// The admin override to create.
|
457
|
+
QuotaOverride override = 2;
|
458
|
+
|
459
|
+
// Whether to force the creation of the quota override.
|
460
|
+
// Setting the force parameter to 'true' ignores all quota safety checks that
|
461
|
+
// would fail the request. QuotaSafetyCheck lists all such validations.
|
462
|
+
bool force = 3;
|
463
|
+
|
464
|
+
// The list of quota safety checks to ignore before the override mutation.
|
465
|
+
// Unlike 'force' field that ignores all the quota safety checks, the
|
466
|
+
// 'force_only' field ignores only the specified checks; other checks are
|
467
|
+
// still enforced. The 'force' and 'force_only' fields cannot both be set.
|
468
|
+
repeated QuotaSafetyCheck force_only = 4;
|
469
|
+
}
|
470
|
+
|
471
|
+
// Request message for UpdateAdminOverride.
|
472
|
+
message UpdateAdminOverrideRequest {
|
473
|
+
// The resource name of the override to update.
|
474
|
+
//
|
475
|
+
// An example name would be:
|
476
|
+
// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d`
|
477
|
+
string name = 1;
|
478
|
+
|
479
|
+
// The new override.
|
480
|
+
// Only the override_value is updated; all other fields are ignored.
|
481
|
+
QuotaOverride override = 2;
|
482
|
+
|
483
|
+
// Whether to force the update of the quota override.
|
484
|
+
// Setting the force parameter to 'true' ignores all quota safety checks that
|
485
|
+
// would fail the request. QuotaSafetyCheck lists all such validations.
|
486
|
+
bool force = 3;
|
487
|
+
|
488
|
+
// Update only the specified fields of the override.
|
489
|
+
// If unset, all fields will be updated.
|
490
|
+
google.protobuf.FieldMask update_mask = 4;
|
491
|
+
|
492
|
+
// The list of quota safety checks to ignore before the override mutation.
|
493
|
+
// Unlike 'force' field that ignores all the quota safety checks, the
|
494
|
+
// 'force_only' field ignores only the specified checks; other checks are
|
495
|
+
// still enforced. The 'force' and 'force_only' fields cannot both be set.
|
496
|
+
repeated QuotaSafetyCheck force_only = 5;
|
497
|
+
}
|
498
|
+
|
499
|
+
// Request message for DeleteAdminOverride.
|
500
|
+
message DeleteAdminOverrideRequest {
|
501
|
+
// The resource name of the override to delete.
|
502
|
+
//
|
503
|
+
// An example name would be:
|
504
|
+
// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d`
|
505
|
+
string name = 1;
|
506
|
+
|
507
|
+
// Whether to force the deletion of the quota override.
|
508
|
+
// Setting the force parameter to 'true' ignores all quota safety checks that
|
509
|
+
// would fail the request. QuotaSafetyCheck lists all such validations.
|
510
|
+
bool force = 2;
|
511
|
+
|
512
|
+
// The list of quota safety checks to ignore before the override mutation.
|
513
|
+
// Unlike 'force' field that ignores all the quota safety checks, the
|
514
|
+
// 'force_only' field ignores only the specified checks; other checks are
|
515
|
+
// still enforced. The 'force' and 'force_only' fields cannot both be set.
|
516
|
+
repeated QuotaSafetyCheck force_only = 3;
|
517
|
+
}
|
518
|
+
|
519
|
+
// Request message for ListAdminOverrides
|
520
|
+
message ListAdminOverridesRequest {
|
521
|
+
// The resource name of the parent quota limit, returned by a
|
522
|
+
// ListConsumerQuotaMetrics or GetConsumerQuotaMetric call.
|
523
|
+
//
|
524
|
+
// An example name would be:
|
525
|
+
// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
|
526
|
+
string parent = 1;
|
527
|
+
|
528
|
+
// Requested size of the next page of data.
|
529
|
+
int32 page_size = 2;
|
530
|
+
|
531
|
+
// Token identifying which result to start with; returned by a previous list
|
532
|
+
// call.
|
533
|
+
string page_token = 3;
|
534
|
+
}
|
535
|
+
|
536
|
+
// Response message for ListAdminOverrides.
|
537
|
+
message ListAdminOverridesResponse {
|
538
|
+
// Admin overrides on this limit.
|
539
|
+
repeated QuotaOverride overrides = 1;
|
540
|
+
|
541
|
+
// Token identifying which result to start with; returned by a previous list
|
542
|
+
// call.
|
543
|
+
string next_page_token = 2;
|
544
|
+
}
|
545
|
+
|
546
|
+
// Response message for BatchCreateAdminOverrides
|
547
|
+
message BatchCreateAdminOverridesResponse {
|
548
|
+
// The overrides that were created.
|
549
|
+
repeated QuotaOverride overrides = 1;
|
550
|
+
}
|
551
|
+
|
552
|
+
// Request message for ImportAdminOverrides
|
553
|
+
message ImportAdminOverridesRequest {
|
554
|
+
// The resource name of the consumer.
|
555
|
+
//
|
556
|
+
// An example name would be:
|
557
|
+
// `projects/123/services/compute.googleapis.com`
|
558
|
+
string parent = 1;
|
559
|
+
|
560
|
+
// Source of import data
|
561
|
+
oneof source {
|
562
|
+
// The import data is specified in the request message itself
|
563
|
+
OverrideInlineSource inline_source = 2;
|
564
|
+
}
|
565
|
+
|
566
|
+
// Whether to force the creation of the quota overrides.
|
567
|
+
// Setting the force parameter to 'true' ignores all quota safety checks that
|
568
|
+
// would fail the request. QuotaSafetyCheck lists all such validations.
|
569
|
+
bool force = 3;
|
570
|
+
|
571
|
+
// The list of quota safety checks to ignore before the override mutation.
|
572
|
+
// Unlike 'force' field that ignores all the quota safety checks, the
|
573
|
+
// 'force_only' field ignores only the specified checks; other checks are
|
574
|
+
// still enforced. The 'force' and 'force_only' fields cannot both be set.
|
575
|
+
repeated QuotaSafetyCheck force_only = 4;
|
576
|
+
}
|
577
|
+
|
578
|
+
// Response message for ImportAdminOverrides
|
579
|
+
message ImportAdminOverridesResponse {
|
580
|
+
// The overrides that were created from the imported data.
|
581
|
+
repeated QuotaOverride overrides = 1;
|
582
|
+
}
|
583
|
+
|
584
|
+
// Metadata message that provides information such as progress,
|
585
|
+
// partial failures, and similar information on each GetOperation call
|
586
|
+
// of LRO returned by ImportAdminOverrides.
|
587
|
+
message ImportAdminOverridesMetadata {}
|
588
|
+
|
589
|
+
// Request message for CreateConsumerOverride.
|
590
|
+
message CreateConsumerOverrideRequest {
|
591
|
+
// The resource name of the parent quota limit, returned by a
|
592
|
+
// ListConsumerQuotaMetrics or GetConsumerQuotaMetric call.
|
593
|
+
//
|
594
|
+
// An example name would be:
|
595
|
+
// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
|
596
|
+
string parent = 1;
|
597
|
+
|
598
|
+
// The override to create.
|
599
|
+
QuotaOverride override = 2;
|
600
|
+
|
601
|
+
// Whether to force the creation of the quota override.
|
602
|
+
// Setting the force parameter to 'true' ignores all quota safety checks that
|
603
|
+
// would fail the request. QuotaSafetyCheck lists all such validations.
|
604
|
+
bool force = 3;
|
605
|
+
|
606
|
+
// The list of quota safety checks to ignore before the override mutation.
|
607
|
+
// Unlike 'force' field that ignores all the quota safety checks, the
|
608
|
+
// 'force_only' field ignores only the specified checks; other checks are
|
609
|
+
// still enforced. The 'force' and 'force_only' fields cannot both be set.
|
610
|
+
repeated QuotaSafetyCheck force_only = 4;
|
611
|
+
}
|
612
|
+
|
613
|
+
// Request message for UpdateConsumerOverride.
|
614
|
+
message UpdateConsumerOverrideRequest {
|
615
|
+
// The resource name of the override to update.
|
616
|
+
//
|
617
|
+
// An example name would be:
|
618
|
+
// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d`
|
619
|
+
string name = 1;
|
620
|
+
|
621
|
+
// The new override.
|
622
|
+
// Only the override_value is updated; all other fields are ignored.
|
623
|
+
QuotaOverride override = 2;
|
624
|
+
|
625
|
+
// Whether to force the update of the quota override.
|
626
|
+
// Setting the force parameter to 'true' ignores all quota safety checks that
|
627
|
+
// would fail the request. QuotaSafetyCheck lists all such validations.
|
628
|
+
bool force = 3;
|
629
|
+
|
630
|
+
// Update only the specified fields of the override.
|
631
|
+
// If unset, all fields will be updated.
|
632
|
+
google.protobuf.FieldMask update_mask = 4;
|
633
|
+
|
634
|
+
// The list of quota safety checks to ignore before the override mutation.
|
635
|
+
// Unlike 'force' field that ignores all the quota safety checks, the
|
636
|
+
// 'force_only' field ignores only the specified checks; other checks are
|
637
|
+
// still enforced. The 'force' and 'force_only' fields cannot both be set.
|
638
|
+
repeated QuotaSafetyCheck force_only = 5;
|
639
|
+
}
|
640
|
+
|
641
|
+
// Request message for DeleteConsumerOverride.
|
642
|
+
message DeleteConsumerOverrideRequest {
|
643
|
+
// The resource name of the override to delete.
|
644
|
+
//
|
645
|
+
// An example name would be:
|
646
|
+
// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d`
|
647
|
+
string name = 1;
|
648
|
+
|
649
|
+
// Whether to force the deletion of the quota override.
|
650
|
+
// Setting the force parameter to 'true' ignores all quota safety checks that
|
651
|
+
// would fail the request. QuotaSafetyCheck lists all such validations.
|
652
|
+
bool force = 2;
|
653
|
+
|
654
|
+
// The list of quota safety checks to ignore before the override mutation.
|
655
|
+
// Unlike 'force' field that ignores all the quota safety checks, the
|
656
|
+
// 'force_only' field ignores only the specified checks; other checks are
|
657
|
+
// still enforced. The 'force' and 'force_only' fields cannot both be set.
|
658
|
+
repeated QuotaSafetyCheck force_only = 3;
|
659
|
+
}
|
660
|
+
|
661
|
+
// Request message for ListConsumerOverrides
|
662
|
+
message ListConsumerOverridesRequest {
|
663
|
+
// The resource name of the parent quota limit, returned by a
|
664
|
+
// ListConsumerQuotaMetrics or GetConsumerQuotaMetric call.
|
665
|
+
//
|
666
|
+
// An example name would be:
|
667
|
+
// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion`
|
668
|
+
string parent = 1;
|
669
|
+
|
670
|
+
// Requested size of the next page of data.
|
671
|
+
int32 page_size = 2;
|
672
|
+
|
673
|
+
// Token identifying which result to start with; returned by a previous list
|
674
|
+
// call.
|
675
|
+
string page_token = 3;
|
676
|
+
}
|
677
|
+
|
678
|
+
// Response message for ListConsumerOverrides.
|
679
|
+
message ListConsumerOverridesResponse {
|
680
|
+
// Consumer overrides on this limit.
|
681
|
+
repeated QuotaOverride overrides = 1;
|
682
|
+
|
683
|
+
// Token identifying which result to start with; returned by a previous list
|
684
|
+
// call.
|
685
|
+
string next_page_token = 2;
|
686
|
+
}
|
687
|
+
|
688
|
+
// Response message for BatchCreateConsumerOverrides
|
689
|
+
message BatchCreateConsumerOverridesResponse {
|
690
|
+
// The overrides that were created.
|
691
|
+
repeated QuotaOverride overrides = 1;
|
692
|
+
}
|
693
|
+
|
694
|
+
// Request message for ImportConsumerOverrides
|
695
|
+
message ImportConsumerOverridesRequest {
|
696
|
+
// The resource name of the consumer.
|
697
|
+
//
|
698
|
+
// An example name would be:
|
699
|
+
// `projects/123/services/compute.googleapis.com`
|
700
|
+
string parent = 1;
|
701
|
+
|
702
|
+
// Source of import data
|
703
|
+
oneof source {
|
704
|
+
// The import data is specified in the request message itself
|
705
|
+
OverrideInlineSource inline_source = 2;
|
706
|
+
}
|
707
|
+
|
708
|
+
// Whether to force the creation of the quota overrides.
|
709
|
+
// Setting the force parameter to 'true' ignores all quota safety checks that
|
710
|
+
// would fail the request. QuotaSafetyCheck lists all such validations.
|
711
|
+
bool force = 3;
|
712
|
+
|
713
|
+
// The list of quota safety checks to ignore before the override mutation.
|
714
|
+
// Unlike 'force' field that ignores all the quota safety checks, the
|
715
|
+
// 'force_only' field ignores only the specified checks; other checks are
|
716
|
+
// still enforced. The 'force' and 'force_only' fields cannot both be set.
|
717
|
+
repeated QuotaSafetyCheck force_only = 4;
|
718
|
+
}
|
719
|
+
|
720
|
+
// Response message for ImportConsumerOverrides
|
721
|
+
message ImportConsumerOverridesResponse {
|
722
|
+
// The overrides that were created from the imported data.
|
723
|
+
repeated QuotaOverride overrides = 1;
|
724
|
+
}
|
725
|
+
|
726
|
+
// Metadata message that provides information such as progress,
|
727
|
+
// partial failures, and similar information on each GetOperation call
|
728
|
+
// of LRO returned by ImportConsumerOverrides.
|
729
|
+
message ImportConsumerOverridesMetadata {}
|
730
|
+
|
731
|
+
// Response message for ImportAdminQuotaPolicies
|
732
|
+
message ImportAdminQuotaPoliciesResponse {
|
733
|
+
// The policies that were created from the imported data.
|
734
|
+
repeated AdminQuotaPolicy policies = 1;
|
735
|
+
}
|
736
|
+
|
737
|
+
// Metadata message that provides information such as progress,
|
738
|
+
// partial failures, and similar information on each GetOperation call
|
739
|
+
// of LRO returned by ImportAdminQuotaPolicies.
|
740
|
+
message ImportAdminQuotaPoliciesMetadata {}
|
741
|
+
|
742
|
+
// Metadata message that provides information such as progress,
|
743
|
+
// partial failures, and similar information on each GetOperation call
|
744
|
+
// of LRO returned by CreateAdminQuotaPolicy.
|
745
|
+
message CreateAdminQuotaPolicyMetadata {}
|
746
|
+
|
747
|
+
// Metadata message that provides information such as progress,
|
748
|
+
// partial failures, and similar information on each GetOperation call
|
749
|
+
// of LRO returned by UpdateAdminQuotaPolicy.
|
750
|
+
message UpdateAdminQuotaPolicyMetadata {}
|
751
|
+
|
752
|
+
// Metadata message that provides information such as progress,
|
753
|
+
// partial failures, and similar information on each GetOperation call
|
754
|
+
// of LRO returned by DeleteAdminQuotaPolicy.
|
755
|
+
message DeleteAdminQuotaPolicyMetadata {}
|
756
|
+
|
757
|
+
// Request message for generating service identity.
|
758
|
+
message GenerateServiceIdentityRequest {
|
759
|
+
// Name of the consumer and service to generate an identity for.
|
760
|
+
//
|
761
|
+
// The `GenerateServiceIdentity` methods currently support projects, folders,
|
762
|
+
// organizations.
|
763
|
+
//
|
764
|
+
// Example parents would be:
|
765
|
+
// `projects/123/services/example.googleapis.com`
|
766
|
+
// `folders/123/services/example.googleapis.com`
|
767
|
+
// `organizations/123/services/example.googleapis.com`
|
768
|
+
string parent = 1;
|
769
|
+
}
|
770
|
+
|
771
|
+
// Response message for getting service identity.
|
772
|
+
message GetServiceIdentityResponse {
|
773
|
+
// Enum for service identity state.
|
774
|
+
enum IdentityState {
|
775
|
+
// Default service identity state. This value is used if the state is
|
776
|
+
// omitted.
|
777
|
+
IDENTITY_STATE_UNSPECIFIED = 0;
|
778
|
+
|
779
|
+
// Service identity has been created and can be used.
|
780
|
+
ACTIVE = 1;
|
781
|
+
}
|
782
|
+
|
783
|
+
// Service identity that service producer can use to access consumer
|
784
|
+
// resources. If exists is true, it contains email and unique_id. If exists is
|
785
|
+
// false, it contains pre-constructed email and empty unique_id.
|
786
|
+
ServiceIdentity identity = 1;
|
787
|
+
|
788
|
+
// Service identity state.
|
789
|
+
IdentityState state = 2;
|
790
|
+
}
|
791
|
+
|
792
|
+
// Metadata for the `GetServiceIdentity` method.
|
793
|
+
message GetServiceIdentityMetadata {}
|