@devvit/protos 0.11.6-next-2025-01-27-b8c6b7794.0 → 0.11.6
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +4 -4
- package/schema/devvit/plugin/buildpack/buildpack_common.proto +1 -6
- package/schema/snootobuf.devenv.lock +102 -210
- package/schema/snootobuf.lock +102 -210
- package/schema/snootobuf.redditapi.lock +102 -210
- package/schema/snootobuf.ts.lock +102 -210
- package/types/devvit/dev_portal/dev_portal.d.ts +0 -2
- package/types/devvit/dev_portal/dev_portal.d.ts.map +1 -1
- package/types/devvit/plugin/builder/builder.d.ts +0 -4
- package/types/devvit/plugin/builder/builder.d.ts.map +1 -1
- package/types/devvit/plugin/buildpack/buildpack.d.ts +0 -8
- package/types/devvit/plugin/buildpack/buildpack.d.ts.map +1 -1
- package/types/devvit/plugin/buildpack/buildpack_common.d.ts +0 -3
- package/types/devvit/plugin/buildpack/buildpack_common.d.ts.map +1 -1
- package/types/devvit/plugin/buildpack/buildpack_common.js +1 -37
- package/types/devvit/plugin/linker/linker.d.ts +0 -2
- package/types/devvit/plugin/linker/linker.d.ts.map +1 -1
- package/types/devvit/plugin/linker/resolver.d.ts +0 -2
- package/types/devvit/plugin/linker/resolver.d.ts.map +1 -1
- package/meta.min.json +0 -7820
- package/protos.min.js +0 -2
- package/protos.min.js.map +0 -7
- package/schema/.snootobuf/deps/buf/validate/expression.proto +0 -92
- package/schema/.snootobuf/deps/buf/validate/priv/private.proto +0 -41
- package/schema/.snootobuf/deps/buf/validate/validate.proto +0 -4130
- package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/audit.proto +0 -72
- package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/auth.proto +0 -49
- package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/organization.proto +0 -54
- package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/service.proto +0 -46
- package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/subscription.proto +0 -72
- package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/ui.proto +0 -20
- package/schema/.snootobuf/deps/devvit/data/api/admin/v1alpha/user.proto +0 -45
- package/schema/.snootobuf/deps/devvit/data/api/v1alpha/admin.proto +0 -54
- package/schema/.snootobuf/deps/devvit/data/api/v1alpha/delivery.proto +0 -773
- package/schema/.snootobuf/deps/devvit/data/api/v1alpha/filter.proto +0 -66
- package/schema/.snootobuf/deps/devvit/data/api/v1alpha/firehose.proto +0 -100
- package/schema/.snootobuf/deps/devvit/data/api/v1alpha/intake.proto +0 -19
- package/schema/.snootobuf/deps/devvit/events/v1alpha/events.proto +0 -446
- package/schema/.snootobuf/deps/devvit/gateway/v1alpha/payments.proto +0 -24
- package/schema/.snootobuf/deps/devvit/options/options.proto +0 -98
- package/schema/.snootobuf/deps/devvit/reddit/v2alpha/commentv2.proto +0 -29
- package/schema/.snootobuf/deps/devvit/reddit/v2alpha/flair.proto +0 -25
- package/schema/.snootobuf/deps/devvit/reddit/v2alpha/modaction.proto +0 -53
- package/schema/.snootobuf/deps/devvit/reddit/v2alpha/modmail.proto +0 -56
- package/schema/.snootobuf/deps/devvit/reddit/v2alpha/postv2.proto +0 -107
- package/schema/.snootobuf/deps/devvit/reddit/v2alpha/subredditv2.proto +0 -41
- package/schema/.snootobuf/deps/devvit/reddit/v2alpha/userv2.proto +0 -23
- package/schema/.snootobuf/deps/devvit/triggers/v1alpha/triggers.proto +0 -162
- package/schema/.snootobuf/deps/enum/account_gender_category.proto +0 -14
- package/schema/.snootobuf/deps/enum/approval_status.proto +0 -15
- package/schema/.snootobuf/deps/enum/automated_reporting_level.proto +0 -12
- package/schema/.snootobuf/deps/enum/ban_evasion_threshold.proto +0 -13
- package/schema/.snootobuf/deps/enum/ban_info_action.proto +0 -12
- package/schema/.snootobuf/deps/enum/block_relation_type.proto +0 -11
- package/schema/.snootobuf/deps/enum/comment_sort.proto +0 -18
- package/schema/.snootobuf/deps/enum/comment_type.proto +0 -11
- package/schema/.snootobuf/deps/enum/crowd_control_level.proto +0 -12
- package/schema/.snootobuf/deps/enum/discussion_type.proto +0 -10
- package/schema/.snootobuf/deps/enum/distinguish_type.proto +0 -14
- package/schema/.snootobuf/deps/enum/flair_position.proto +0 -11
- package/schema/.snootobuf/deps/enum/hateful_content_threshold.proto +0 -12
- package/schema/.snootobuf/deps/enum/link_content_type.proto +0 -11
- package/schema/.snootobuf/deps/enum/link_type.proto +0 -11
- package/schema/.snootobuf/deps/enum/link_visibility.proto +0 -11
- package/schema/.snootobuf/deps/enum/prediction_leaderboard_entry_type.proto +0 -11
- package/schema/.snootobuf/deps/enum/promo_layout.proto +0 -11
- package/schema/.snootobuf/deps/enum/removed_by_type.proto +0 -18
- package/schema/.snootobuf/deps/enum/spam_level.proto +0 -11
- package/schema/.snootobuf/deps/enum/subreddit_type.proto +0 -16
- package/schema/.snootobuf/deps/enum/verdict.proto +0 -14
- package/schema/.snootobuf/deps/enum/vote.proto +0 -12
- package/schema/.snootobuf/deps/enum/whitelist_status.proto +0 -17
- package/schema/.snootobuf/deps/enum/wiki_edit_mode.proto +0 -12
- package/schema/.snootobuf/deps/evaluator/evaluator.proto +0 -203
- package/schema/.snootobuf/deps/google/api/annotations.proto +0 -31
- package/schema/.snootobuf/deps/google/api/apikeys/v2/apikeys.proto +0 -288
- package/schema/.snootobuf/deps/google/api/apikeys/v2/resources.proto +0 -175
- package/schema/.snootobuf/deps/google/api/auth.proto +0 -237
- package/schema/.snootobuf/deps/google/api/backend.proto +0 -185
- package/schema/.snootobuf/deps/google/api/billing.proto +0 -77
- package/schema/.snootobuf/deps/google/api/client.proto +0 -431
- package/schema/.snootobuf/deps/google/api/cloudquotas/v1/cloudquotas.proto +0 -322
- package/schema/.snootobuf/deps/google/api/cloudquotas/v1/resources.proto +0 -315
- package/schema/.snootobuf/deps/google/api/config_change.proto +0 -84
- package/schema/.snootobuf/deps/google/api/consumer.proto +0 -82
- package/schema/.snootobuf/deps/google/api/context.proto +0 -92
- package/schema/.snootobuf/deps/google/api/control.proto +0 -41
- package/schema/.snootobuf/deps/google/api/distribution.proto +0 -213
- package/schema/.snootobuf/deps/google/api/documentation.proto +0 -168
- package/schema/.snootobuf/deps/google/api/endpoint.proto +0 -69
- package/schema/.snootobuf/deps/google/api/error_reason.proto +0 -589
- package/schema/.snootobuf/deps/google/api/expr/conformance/v1alpha1/conformance_service.proto +0 -183
- package/schema/.snootobuf/deps/google/api/expr/v1alpha1/checked.proto +0 -343
- package/schema/.snootobuf/deps/google/api/expr/v1alpha1/eval.proto +0 -118
- package/schema/.snootobuf/deps/google/api/expr/v1alpha1/explain.proto +0 -53
- package/schema/.snootobuf/deps/google/api/expr/v1alpha1/syntax.proto +0 -438
- package/schema/.snootobuf/deps/google/api/expr/v1alpha1/value.proto +0 -115
- package/schema/.snootobuf/deps/google/api/expr/v1beta1/decl.proto +0 -84
- package/schema/.snootobuf/deps/google/api/expr/v1beta1/eval.proto +0 -125
- package/schema/.snootobuf/deps/google/api/expr/v1beta1/expr.proto +0 -265
- package/schema/.snootobuf/deps/google/api/expr/v1beta1/source.proto +0 -62
- package/schema/.snootobuf/deps/google/api/expr/v1beta1/value.proto +0 -114
- package/schema/.snootobuf/deps/google/api/field_behavior.proto +0 -104
- package/schema/.snootobuf/deps/google/api/field_info.proto +0 -106
- package/schema/.snootobuf/deps/google/api/http.proto +0 -371
- package/schema/.snootobuf/deps/google/api/httpbody.proto +0 -81
- package/schema/.snootobuf/deps/google/api/label.proto +0 -48
- package/schema/.snootobuf/deps/google/api/launch_stage.proto +0 -72
- package/schema/.snootobuf/deps/google/api/log.proto +0 -54
- package/schema/.snootobuf/deps/google/api/logging.proto +0 -81
- package/schema/.snootobuf/deps/google/api/metric.proto +0 -268
- package/schema/.snootobuf/deps/google/api/monitored_resource.proto +0 -130
- package/schema/.snootobuf/deps/google/api/monitoring.proto +0 -107
- package/schema/.snootobuf/deps/google/api/policy.proto +0 -85
- package/schema/.snootobuf/deps/google/api/quota.proto +0 -184
- package/schema/.snootobuf/deps/google/api/resource.proto +0 -243
- package/schema/.snootobuf/deps/google/api/routing.proto +0 -461
- package/schema/.snootobuf/deps/google/api/service.proto +0 -191
- package/schema/.snootobuf/deps/google/api/servicecontrol/v1/check_error.proto +0 -124
- package/schema/.snootobuf/deps/google/api/servicecontrol/v1/distribution.proto +0 -166
- package/schema/.snootobuf/deps/google/api/servicecontrol/v1/http_request.proto +0 -93
- package/schema/.snootobuf/deps/google/api/servicecontrol/v1/log_entry.proto +0 -126
- package/schema/.snootobuf/deps/google/api/servicecontrol/v1/metric_value.proto +0 -81
- package/schema/.snootobuf/deps/google/api/servicecontrol/v1/operation.proto +0 -123
- package/schema/.snootobuf/deps/google/api/servicecontrol/v1/quota_controller.proto +0 -245
- package/schema/.snootobuf/deps/google/api/servicecontrol/v1/service_controller.proto +0 -260
- package/schema/.snootobuf/deps/google/api/servicecontrol/v2/service_controller.proto +0 -196
- package/schema/.snootobuf/deps/google/api/servicemanagement/v1/resources.proto +0 -295
- package/schema/.snootobuf/deps/google/api/servicemanagement/v1/servicemanager.proto +0 -508
- package/schema/.snootobuf/deps/google/api/serviceusage/v1/resources.proto +0 -130
- package/schema/.snootobuf/deps/google/api/serviceusage/v1/serviceusage.proto +0 -305
- package/schema/.snootobuf/deps/google/api/serviceusage/v1beta1/resources.proto +0 -458
- package/schema/.snootobuf/deps/google/api/serviceusage/v1beta1/serviceusage.proto +0 -793
- package/schema/.snootobuf/deps/google/api/source_info.proto +0 -31
- package/schema/.snootobuf/deps/google/api/system_parameter.proto +0 -96
- package/schema/.snootobuf/deps/google/api/usage.proto +0 -96
- package/schema/.snootobuf/deps/google/api/visibility.proto +0 -113
- package/schema/.snootobuf/deps/google/cloud/extended_operations.proto +0 -150
- package/schema/.snootobuf/deps/google/iam/admin/v1/iam.proto +0 -1087
- package/schema/.snootobuf/deps/google/iam/v1/iam_policy.proto +0 -145
- package/schema/.snootobuf/deps/google/iam/v1/logging/audit_data.proto +0 -34
- package/schema/.snootobuf/deps/google/iam/v1/options.proto +0 -41
- package/schema/.snootobuf/deps/google/iam/v1/policy.proto +0 -240
- package/schema/.snootobuf/deps/google/logging/type/http_request.proto +0 -92
- package/schema/.snootobuf/deps/google/logging/type/log_severity.proto +0 -72
- package/schema/.snootobuf/deps/google/longrunning/operations.proto +0 -247
- package/schema/.snootobuf/deps/google/protobuf/any.proto +0 -158
- package/schema/.snootobuf/deps/google/protobuf/api.proto +0 -208
- package/schema/.snootobuf/deps/google/protobuf/compiler/plugin.proto +0 -183
- package/schema/.snootobuf/deps/google/protobuf/descriptor.proto +0 -921
- package/schema/.snootobuf/deps/google/protobuf/duration.proto +0 -116
- package/schema/.snootobuf/deps/google/protobuf/empty.proto +0 -51
- package/schema/.snootobuf/deps/google/protobuf/field_mask.proto +0 -245
- package/schema/.snootobuf/deps/google/protobuf/source_context.proto +0 -48
- package/schema/.snootobuf/deps/google/protobuf/struct.proto +0 -95
- package/schema/.snootobuf/deps/google/protobuf/timestamp.proto +0 -147
- package/schema/.snootobuf/deps/google/protobuf/type.proto +0 -187
- package/schema/.snootobuf/deps/google/protobuf/wrappers.proto +0 -123
- package/schema/.snootobuf/deps/google/rpc/code.proto +0 -186
- package/schema/.snootobuf/deps/google/rpc/context/attribute_context.proto +0 -287
- package/schema/.snootobuf/deps/google/rpc/error_details.proto +0 -246
- package/schema/.snootobuf/deps/google/rpc/status.proto +0 -47
- package/schema/.snootobuf/deps/google/type/calendar_period.proto +0 -57
- package/schema/.snootobuf/deps/google/type/color.proto +0 -170
- package/schema/.snootobuf/deps/google/type/date.proto +0 -50
- package/schema/.snootobuf/deps/google/type/datetime.proto +0 -97
- package/schema/.snootobuf/deps/google/type/dayofweek.proto +0 -51
- package/schema/.snootobuf/deps/google/type/expr.proto +0 -51
- package/schema/.snootobuf/deps/google/type/fraction.proto +0 -34
- package/schema/.snootobuf/deps/google/type/latlng.proto +0 -37
- package/schema/.snootobuf/deps/google/type/money.proto +0 -43
- package/schema/.snootobuf/deps/google/type/month.proto +0 -66
- package/schema/.snootobuf/deps/google/type/postal_address.proto +0 -135
- package/schema/.snootobuf/deps/google/type/quaternion.proto +0 -95
- package/schema/.snootobuf/deps/google/type/timeofday.proto +0 -44
- package/schema/.snootobuf/deps/openapi/helper.proto +0 -20
- package/schema/.snootobuf/deps/products-api/protos/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +0 -189
- package/schema/.snootobuf/deps/products-api/protos/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +0 -118
- package/schema/.snootobuf/deps/reddit/api/metadata/v1/metadata.proto +0 -55
- package/schema/.snootobuf/deps/reddit/coreplatform/account/v1/account.proto +0 -579
- package/schema/.snootobuf/deps/reddit/coreplatform/account/v1/account_relations.proto +0 -43
- package/schema/.snootobuf/deps/reddit/coreplatform/api/metadata/v1/metadata.proto +0 -82
- package/schema/.snootobuf/deps/reddit/coreplatform/blocking/v1/user_blocking_service.proto +0 -221
- package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree.proto +0 -78
- package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_service.proto +0 -189
- package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comment_tree_structure.proto +0 -29
- package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comments.proto +0 -417
- package/schema/.snootobuf/deps/reddit/coreplatform/comments/v1/comments_service.proto +0 -72
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/auth.proto +0 -25
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/features.proto +0 -52
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/lang.proto +0 -16
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/legal.proto +0 -20
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/media.proto +0 -149
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/moderation.proto +0 -197
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/safety.proto +0 -116
- package/schema/.snootobuf/deps/reddit/coreplatform/common/v1/time.proto +0 -25
- package/schema/.snootobuf/deps/reddit/coreplatform/domains/v1/domains_metadata_service.proto +0 -101
- package/schema/.snootobuf/deps/reddit/coreplatform/grpc_thrift/v1/grpc_thrift_options.proto +0 -34
- package/schema/.snootobuf/deps/reddit/coreplatform/links/v1/links.proto +0 -798
- package/schema/.snootobuf/deps/reddit/coreplatform/links/v1/links_service.proto +0 -186
- package/schema/.snootobuf/deps/reddit/coreplatform/messages/v1/messages.proto +0 -110
- package/schema/.snootobuf/deps/reddit/coreplatform/sensitive/v1/wrappers.proto +0 -51
- package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit.proto +0 -1202
- package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_member_relations.proto +0 -85
- package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_moderator_service.proto +0 -363
- package/schema/.snootobuf/deps/reddit/coreplatform/subreddit/v1/subreddit_service.proto +0 -301
- package/schema/.snootobuf/deps/reddit/coreplatform/thing/v0/thing.proto +0 -2869
- package/schema/.snootobuf/deps/reddit/devvit/custom_post/v1/custom_post.proto +0 -15
- package/schema/.snootobuf/deps/reddit/devvit/custom_post/v1/service.proto +0 -11
- package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/context_action.proto +0 -48
- package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/manifest.proto +0 -70
- package/schema/.snootobuf/deps/reddit/devvit/subreddit/v1/service.proto +0 -11
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/acknowledge_order_delivery.proto +0 -17
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/checkout.proto +0 -89
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/common.proto +0 -322
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/delete_products.proto +0 -17
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/events.proto +0 -14
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_batch_products.proto +0 -15
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_gold_balances.proto +0 -48
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_order.proto +0 -31
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders.proto +0 -26
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_orders_by_user.proto +0 -15
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_payout_info_batch.proto +0 -52
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_products.proto +0 -23
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/get_user_profiles.proto +0 -28
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/refund_order.proto +0 -17
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service.proto +0 -49
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/service_data_compliance.proto +0 -20
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payapi/v1/upsert_products.proto +0 -17
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paygatewaypsps/v1/paygatewaypsps.proto +0 -158
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payments_data_compliance.proto +0 -18
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payorders/v1/payorders.proto +0 -195
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/admin.proto +0 -44
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/ledger.proto +0 -200
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/payments_data_compliance.proto +0 -18
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/paypayments/v1/paypayments.proto +0 -210
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/currencies.proto +0 -189
- package/schema/.snootobuf/deps/reddit/xpaymentsplatform/payproducts/v1/payproducts.proto +0 -135
- package/schema/.snootobuf/deps/snooron_sources/text_classification/text_classification.proto +0 -29
- package/schema/.snootobuf/deps/snooron_sources/v2_event/v2_event.proto +0 -3292
- package/schema/.snootobuf/deps/validate/validate.proto +0 -862
@@ -1,124 +0,0 @@
|
|
1
|
-
// Copyright 2024 Google LLC
|
2
|
-
//
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
// you may not use this file except in compliance with the License.
|
5
|
-
// You may obtain a copy of the License at
|
6
|
-
//
|
7
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
//
|
9
|
-
// Unless required by applicable law or agreed to in writing, software
|
10
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
// See the License for the specific language governing permissions and
|
13
|
-
// limitations under the License.
|
14
|
-
|
15
|
-
syntax = "proto3";
|
16
|
-
|
17
|
-
package google.api.servicecontrol.v1;
|
18
|
-
|
19
|
-
import "google/rpc/status.proto";
|
20
|
-
|
21
|
-
option cc_enable_arenas = true;
|
22
|
-
option csharp_namespace = "Google.Cloud.ServiceControl.V1";
|
23
|
-
option go_package = "cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb;servicecontrolpb";
|
24
|
-
option java_multiple_files = true;
|
25
|
-
option java_outer_classname = "CheckErrorProto";
|
26
|
-
option java_package = "com.google.api.servicecontrol.v1";
|
27
|
-
option php_namespace = "Google\\Cloud\\ServiceControl\\V1";
|
28
|
-
option ruby_package = "Google::Cloud::ServiceControl::V1";
|
29
|
-
|
30
|
-
// Defines the errors to be returned in
|
31
|
-
// [google.api.servicecontrol.v1.CheckResponse.check_errors][google.api.servicecontrol.v1.CheckResponse.check_errors].
|
32
|
-
message CheckError {
|
33
|
-
// Error codes for Check responses.
|
34
|
-
enum Code {
|
35
|
-
// This is never used in `CheckResponse`.
|
36
|
-
ERROR_CODE_UNSPECIFIED = 0;
|
37
|
-
|
38
|
-
// The consumer's project id, network container, or resource container was
|
39
|
-
// not found. Same as [google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND].
|
40
|
-
NOT_FOUND = 5;
|
41
|
-
|
42
|
-
// The consumer doesn't have access to the specified resource.
|
43
|
-
// Same as [google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED].
|
44
|
-
PERMISSION_DENIED = 7;
|
45
|
-
|
46
|
-
// Quota check failed. Same as [google.rpc.Code.RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED].
|
47
|
-
RESOURCE_EXHAUSTED = 8;
|
48
|
-
|
49
|
-
// The consumer hasn't activated the service.
|
50
|
-
SERVICE_NOT_ACTIVATED = 104;
|
51
|
-
|
52
|
-
// The consumer cannot access the service because billing is disabled.
|
53
|
-
BILLING_DISABLED = 107;
|
54
|
-
|
55
|
-
// The consumer's project has been marked as deleted (soft deletion).
|
56
|
-
PROJECT_DELETED = 108;
|
57
|
-
|
58
|
-
// The consumer's project number or id does not represent a valid project.
|
59
|
-
PROJECT_INVALID = 114;
|
60
|
-
|
61
|
-
// The input consumer info does not represent a valid consumer folder or
|
62
|
-
// organization.
|
63
|
-
CONSUMER_INVALID = 125;
|
64
|
-
|
65
|
-
// The IP address of the consumer is invalid for the specific consumer
|
66
|
-
// project.
|
67
|
-
IP_ADDRESS_BLOCKED = 109;
|
68
|
-
|
69
|
-
// The referer address of the consumer request is invalid for the specific
|
70
|
-
// consumer project.
|
71
|
-
REFERER_BLOCKED = 110;
|
72
|
-
|
73
|
-
// The client application of the consumer request is invalid for the
|
74
|
-
// specific consumer project.
|
75
|
-
CLIENT_APP_BLOCKED = 111;
|
76
|
-
|
77
|
-
// The API targeted by this request is invalid for the specified consumer
|
78
|
-
// project.
|
79
|
-
API_TARGET_BLOCKED = 122;
|
80
|
-
|
81
|
-
// The consumer's API key is invalid.
|
82
|
-
API_KEY_INVALID = 105;
|
83
|
-
|
84
|
-
// The consumer's API Key has expired.
|
85
|
-
API_KEY_EXPIRED = 112;
|
86
|
-
|
87
|
-
// The consumer's API Key was not found in config record.
|
88
|
-
API_KEY_NOT_FOUND = 113;
|
89
|
-
|
90
|
-
// The credential in the request can not be verified.
|
91
|
-
INVALID_CREDENTIAL = 123;
|
92
|
-
|
93
|
-
// The backend server for looking up project id/number is unavailable.
|
94
|
-
NAMESPACE_LOOKUP_UNAVAILABLE = 300;
|
95
|
-
|
96
|
-
// The backend server for checking service status is unavailable.
|
97
|
-
SERVICE_STATUS_UNAVAILABLE = 301;
|
98
|
-
|
99
|
-
// The backend server for checking billing status is unavailable.
|
100
|
-
BILLING_STATUS_UNAVAILABLE = 302;
|
101
|
-
|
102
|
-
// Cloud Resource Manager backend server is unavailable.
|
103
|
-
CLOUD_RESOURCE_MANAGER_BACKEND_UNAVAILABLE = 305;
|
104
|
-
}
|
105
|
-
|
106
|
-
// The error code.
|
107
|
-
Code code = 1;
|
108
|
-
|
109
|
-
// Subject to whom this error applies. See the specific code enum for more
|
110
|
-
// details on this field. For example:
|
111
|
-
//
|
112
|
-
// - "project:<project-id or project-number>"
|
113
|
-
// - "folder:<folder-id>"
|
114
|
-
// - "organization:<organization-id>"
|
115
|
-
string subject = 4;
|
116
|
-
|
117
|
-
// Free-form text providing details on the error cause of the error.
|
118
|
-
string detail = 2;
|
119
|
-
|
120
|
-
// Contains public information about the check error. If available,
|
121
|
-
// `status.code` will be non zero and client can propagate it out as public
|
122
|
-
// error.
|
123
|
-
google.rpc.Status status = 3;
|
124
|
-
}
|
@@ -1,166 +0,0 @@
|
|
1
|
-
// Copyright 2024 Google LLC
|
2
|
-
//
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
// you may not use this file except in compliance with the License.
|
5
|
-
// You may obtain a copy of the License at
|
6
|
-
//
|
7
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
//
|
9
|
-
// Unless required by applicable law or agreed to in writing, software
|
10
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
// See the License for the specific language governing permissions and
|
13
|
-
// limitations under the License.
|
14
|
-
|
15
|
-
syntax = "proto3";
|
16
|
-
|
17
|
-
package google.api.servicecontrol.v1;
|
18
|
-
|
19
|
-
import "google/api/distribution.proto";
|
20
|
-
|
21
|
-
option cc_enable_arenas = true;
|
22
|
-
option csharp_namespace = "Google.Cloud.ServiceControl.V1";
|
23
|
-
option go_package = "cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb;servicecontrolpb";
|
24
|
-
option java_multiple_files = true;
|
25
|
-
option java_outer_classname = "DistributionProto";
|
26
|
-
option java_package = "com.google.api.servicecontrol.v1";
|
27
|
-
option php_namespace = "Google\\Cloud\\ServiceControl\\V1";
|
28
|
-
option ruby_package = "Google::Cloud::ServiceControl::V1";
|
29
|
-
|
30
|
-
// Distribution represents a frequency distribution of double-valued sample
|
31
|
-
// points. It contains the size of the population of sample points plus
|
32
|
-
// additional optional information:
|
33
|
-
//
|
34
|
-
// * the arithmetic mean of the samples
|
35
|
-
// * the minimum and maximum of the samples
|
36
|
-
// * the sum-squared-deviation of the samples, used to compute variance
|
37
|
-
// * a histogram of the values of the sample points
|
38
|
-
message Distribution {
|
39
|
-
// Describing buckets with constant width.
|
40
|
-
message LinearBuckets {
|
41
|
-
// The number of finite buckets. With the underflow and overflow buckets,
|
42
|
-
// the total number of buckets is `num_finite_buckets` + 2.
|
43
|
-
// See comments on `bucket_options` for details.
|
44
|
-
int32 num_finite_buckets = 1;
|
45
|
-
|
46
|
-
// The i'th linear bucket covers the interval
|
47
|
-
// [offset + (i-1) * width, offset + i * width)
|
48
|
-
// where i ranges from 1 to num_finite_buckets, inclusive.
|
49
|
-
// Must be strictly positive.
|
50
|
-
double width = 2;
|
51
|
-
|
52
|
-
// The i'th linear bucket covers the interval
|
53
|
-
// [offset + (i-1) * width, offset + i * width)
|
54
|
-
// where i ranges from 1 to num_finite_buckets, inclusive.
|
55
|
-
double offset = 3;
|
56
|
-
}
|
57
|
-
|
58
|
-
// Describing buckets with exponentially growing width.
|
59
|
-
message ExponentialBuckets {
|
60
|
-
// The number of finite buckets. With the underflow and overflow buckets,
|
61
|
-
// the total number of buckets is `num_finite_buckets` + 2.
|
62
|
-
// See comments on `bucket_options` for details.
|
63
|
-
int32 num_finite_buckets = 1;
|
64
|
-
|
65
|
-
// The i'th exponential bucket covers the interval
|
66
|
-
// [scale * growth_factor^(i-1), scale * growth_factor^i)
|
67
|
-
// where i ranges from 1 to num_finite_buckets inclusive.
|
68
|
-
// Must be larger than 1.0.
|
69
|
-
double growth_factor = 2;
|
70
|
-
|
71
|
-
// The i'th exponential bucket covers the interval
|
72
|
-
// [scale * growth_factor^(i-1), scale * growth_factor^i)
|
73
|
-
// where i ranges from 1 to num_finite_buckets inclusive.
|
74
|
-
// Must be > 0.
|
75
|
-
double scale = 3;
|
76
|
-
}
|
77
|
-
|
78
|
-
// Describing buckets with arbitrary user-provided width.
|
79
|
-
message ExplicitBuckets {
|
80
|
-
// 'bound' is a list of strictly increasing boundaries between
|
81
|
-
// buckets. Note that a list of length N-1 defines N buckets because
|
82
|
-
// of fenceposting. See comments on `bucket_options` for details.
|
83
|
-
//
|
84
|
-
// The i'th finite bucket covers the interval
|
85
|
-
// [bound[i-1], bound[i])
|
86
|
-
// where i ranges from 1 to bound_size() - 1. Note that there are no
|
87
|
-
// finite buckets at all if 'bound' only contains a single element; in
|
88
|
-
// that special case the single bound defines the boundary between the
|
89
|
-
// underflow and overflow buckets.
|
90
|
-
//
|
91
|
-
// bucket number lower bound upper bound
|
92
|
-
// i == 0 (underflow) -inf bound[i]
|
93
|
-
// 0 < i < bound_size() bound[i-1] bound[i]
|
94
|
-
// i == bound_size() (overflow) bound[i-1] +inf
|
95
|
-
repeated double bounds = 1;
|
96
|
-
}
|
97
|
-
|
98
|
-
// The total number of samples in the distribution. Must be >= 0.
|
99
|
-
int64 count = 1;
|
100
|
-
|
101
|
-
// The arithmetic mean of the samples in the distribution. If `count` is
|
102
|
-
// zero then this field must be zero.
|
103
|
-
double mean = 2;
|
104
|
-
|
105
|
-
// The minimum of the population of values. Ignored if `count` is zero.
|
106
|
-
double minimum = 3;
|
107
|
-
|
108
|
-
// The maximum of the population of values. Ignored if `count` is zero.
|
109
|
-
double maximum = 4;
|
110
|
-
|
111
|
-
// The sum of squared deviations from the mean:
|
112
|
-
// Sum[i=1..count]((x_i - mean)^2)
|
113
|
-
// where each x_i is a sample values. If `count` is zero then this field
|
114
|
-
// must be zero, otherwise validation of the request fails.
|
115
|
-
double sum_of_squared_deviation = 5;
|
116
|
-
|
117
|
-
// The number of samples in each histogram bucket. `bucket_counts` are
|
118
|
-
// optional. If present, they must sum to the `count` value.
|
119
|
-
//
|
120
|
-
// The buckets are defined below in `bucket_option`. There are N buckets.
|
121
|
-
// `bucket_counts[0]` is the number of samples in the underflow bucket.
|
122
|
-
// `bucket_counts[1]` to `bucket_counts[N-1]` are the numbers of samples
|
123
|
-
// in each of the finite buckets. And `bucket_counts[N] is the number
|
124
|
-
// of samples in the overflow bucket. See the comments of `bucket_option`
|
125
|
-
// below for more details.
|
126
|
-
//
|
127
|
-
// Any suffix of trailing zeros may be omitted.
|
128
|
-
repeated int64 bucket_counts = 6;
|
129
|
-
|
130
|
-
// Defines the buckets in the histogram. `bucket_option` and `bucket_counts`
|
131
|
-
// must be both set, or both unset.
|
132
|
-
//
|
133
|
-
// Buckets are numbered in the range of [0, N], with a total of N+1 buckets.
|
134
|
-
// There must be at least two buckets (a single-bucket histogram gives
|
135
|
-
// no information that isn't already provided by `count`).
|
136
|
-
//
|
137
|
-
// The first bucket is the underflow bucket which has a lower bound
|
138
|
-
// of -inf. The last bucket is the overflow bucket which has an
|
139
|
-
// upper bound of +inf. All other buckets (if any) are called "finite"
|
140
|
-
// buckets because they have finite lower and upper bounds. As described
|
141
|
-
// below, there are three ways to define the finite buckets.
|
142
|
-
//
|
143
|
-
// (1) Buckets with constant width.
|
144
|
-
// (2) Buckets with exponentially growing widths.
|
145
|
-
// (3) Buckets with arbitrary user-provided widths.
|
146
|
-
//
|
147
|
-
// In all cases, the buckets cover the entire real number line (-inf,
|
148
|
-
// +inf). Bucket upper bounds are exclusive and lower bounds are
|
149
|
-
// inclusive. The upper bound of the underflow bucket is equal to the
|
150
|
-
// lower bound of the smallest finite bucket; the lower bound of the
|
151
|
-
// overflow bucket is equal to the upper bound of the largest finite
|
152
|
-
// bucket.
|
153
|
-
oneof bucket_option {
|
154
|
-
// Buckets with constant width.
|
155
|
-
LinearBuckets linear_buckets = 7;
|
156
|
-
|
157
|
-
// Buckets with exponentially growing width.
|
158
|
-
ExponentialBuckets exponential_buckets = 8;
|
159
|
-
|
160
|
-
// Buckets with arbitrary user-provided width.
|
161
|
-
ExplicitBuckets explicit_buckets = 9;
|
162
|
-
}
|
163
|
-
|
164
|
-
// Example points. Must be in increasing order of `value` field.
|
165
|
-
repeated google.api.Distribution.Exemplar exemplars = 10;
|
166
|
-
}
|
@@ -1,93 +0,0 @@
|
|
1
|
-
// Copyright 2024 Google LLC
|
2
|
-
//
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
// you may not use this file except in compliance with the License.
|
5
|
-
// You may obtain a copy of the License at
|
6
|
-
//
|
7
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
//
|
9
|
-
// Unless required by applicable law or agreed to in writing, software
|
10
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
// See the License for the specific language governing permissions and
|
13
|
-
// limitations under the License.
|
14
|
-
|
15
|
-
syntax = "proto3";
|
16
|
-
|
17
|
-
package google.api.servicecontrol.v1;
|
18
|
-
|
19
|
-
import "google/protobuf/duration.proto";
|
20
|
-
|
21
|
-
option csharp_namespace = "Google.Cloud.ServiceControl.V1";
|
22
|
-
option go_package = "cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb;servicecontrolpb";
|
23
|
-
option java_multiple_files = true;
|
24
|
-
option java_outer_classname = "HttpRequestProto";
|
25
|
-
option java_package = "com.google.api.servicecontrol.v1";
|
26
|
-
option php_namespace = "Google\\Cloud\\ServiceControl\\V1";
|
27
|
-
option ruby_package = "Google::Cloud::ServiceControl::V1";
|
28
|
-
|
29
|
-
// A common proto for logging HTTP requests. Only contains semantics
|
30
|
-
// defined by the HTTP specification. Product-specific logging
|
31
|
-
// information MUST be defined in a separate message.
|
32
|
-
message HttpRequest {
|
33
|
-
// The request method. Examples: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`.
|
34
|
-
string request_method = 1;
|
35
|
-
|
36
|
-
// The scheme (http, https), the host name, the path, and the query
|
37
|
-
// portion of the URL that was requested.
|
38
|
-
// Example: `"http://example.com/some/info?color=red"`.
|
39
|
-
string request_url = 2;
|
40
|
-
|
41
|
-
// The size of the HTTP request message in bytes, including the request
|
42
|
-
// headers and the request body.
|
43
|
-
int64 request_size = 3;
|
44
|
-
|
45
|
-
// The response code indicating the status of the response.
|
46
|
-
// Examples: 200, 404.
|
47
|
-
int32 status = 4;
|
48
|
-
|
49
|
-
// The size of the HTTP response message sent back to the client, in bytes,
|
50
|
-
// including the response headers and the response body.
|
51
|
-
int64 response_size = 5;
|
52
|
-
|
53
|
-
// The user agent sent by the client. Example:
|
54
|
-
// `"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET
|
55
|
-
// CLR 1.0.3705)"`.
|
56
|
-
string user_agent = 6;
|
57
|
-
|
58
|
-
// The IP address (IPv4 or IPv6) of the client that issued the HTTP
|
59
|
-
// request. Examples: `"192.168.1.1"`, `"FE80::0202:B3FF:FE1E:8329"`.
|
60
|
-
string remote_ip = 7;
|
61
|
-
|
62
|
-
// The IP address (IPv4 or IPv6) of the origin server that the request was
|
63
|
-
// sent to.
|
64
|
-
string server_ip = 13;
|
65
|
-
|
66
|
-
// The referer URL of the request, as defined in
|
67
|
-
// [HTTP/1.1 Header Field
|
68
|
-
// Definitions](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
|
69
|
-
string referer = 8;
|
70
|
-
|
71
|
-
// The request processing latency on the server, from the time the request was
|
72
|
-
// received until the response was sent.
|
73
|
-
google.protobuf.Duration latency = 14;
|
74
|
-
|
75
|
-
// Whether or not a cache lookup was attempted.
|
76
|
-
bool cache_lookup = 11;
|
77
|
-
|
78
|
-
// Whether or not an entity was served from cache
|
79
|
-
// (with or without validation).
|
80
|
-
bool cache_hit = 9;
|
81
|
-
|
82
|
-
// Whether or not the response was validated with the origin server before
|
83
|
-
// being served from cache. This field is only meaningful if `cache_hit` is
|
84
|
-
// True.
|
85
|
-
bool cache_validated_with_origin_server = 10;
|
86
|
-
|
87
|
-
// The number of HTTP response bytes inserted into cache. Set only when a
|
88
|
-
// cache fill was attempted.
|
89
|
-
int64 cache_fill_bytes = 12;
|
90
|
-
|
91
|
-
// Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket"
|
92
|
-
string protocol = 15;
|
93
|
-
}
|
@@ -1,126 +0,0 @@
|
|
1
|
-
// Copyright 2024 Google LLC
|
2
|
-
//
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
// you may not use this file except in compliance with the License.
|
5
|
-
// You may obtain a copy of the License at
|
6
|
-
//
|
7
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
//
|
9
|
-
// Unless required by applicable law or agreed to in writing, software
|
10
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
// See the License for the specific language governing permissions and
|
13
|
-
// limitations under the License.
|
14
|
-
|
15
|
-
syntax = "proto3";
|
16
|
-
|
17
|
-
package google.api.servicecontrol.v1;
|
18
|
-
|
19
|
-
import "google/api/servicecontrol/v1/http_request.proto";
|
20
|
-
import "google/logging/type/log_severity.proto";
|
21
|
-
import "google/protobuf/any.proto";
|
22
|
-
import "google/protobuf/struct.proto";
|
23
|
-
import "google/protobuf/timestamp.proto";
|
24
|
-
|
25
|
-
option csharp_namespace = "Google.Cloud.ServiceControl.V1";
|
26
|
-
option go_package = "cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb;servicecontrolpb";
|
27
|
-
option java_multiple_files = true;
|
28
|
-
option java_outer_classname = "LogEntryProto";
|
29
|
-
option java_package = "com.google.api.servicecontrol.v1";
|
30
|
-
option php_namespace = "Google\\Cloud\\ServiceControl\\V1";
|
31
|
-
option ruby_package = "Google::Cloud::ServiceControl::V1";
|
32
|
-
|
33
|
-
// An individual log entry.
|
34
|
-
message LogEntry {
|
35
|
-
// Required. The log to which this log entry belongs. Examples: `"syslog"`,
|
36
|
-
// `"book_log"`.
|
37
|
-
string name = 10;
|
38
|
-
|
39
|
-
// The time the event described by the log entry occurred. If
|
40
|
-
// omitted, defaults to operation start time.
|
41
|
-
google.protobuf.Timestamp timestamp = 11;
|
42
|
-
|
43
|
-
// The severity of the log entry. The default value is
|
44
|
-
// `LogSeverity.DEFAULT`.
|
45
|
-
google.logging.type.LogSeverity severity = 12;
|
46
|
-
|
47
|
-
// Optional. Information about the HTTP request associated with this
|
48
|
-
// log entry, if applicable.
|
49
|
-
HttpRequest http_request = 14;
|
50
|
-
|
51
|
-
// Optional. Resource name of the trace associated with the log entry, if any.
|
52
|
-
// If this field contains a relative resource name, you can assume the name is
|
53
|
-
// relative to `//tracing.googleapis.com`. Example:
|
54
|
-
// `projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824`
|
55
|
-
string trace = 15;
|
56
|
-
|
57
|
-
// A unique ID for the log entry used for deduplication. If omitted,
|
58
|
-
// the implementation will generate one based on operation_id.
|
59
|
-
string insert_id = 4;
|
60
|
-
|
61
|
-
// A set of user-defined (key, value) data that provides additional
|
62
|
-
// information about the log entry.
|
63
|
-
map<string, string> labels = 13;
|
64
|
-
|
65
|
-
// The log entry payload, which can be one of multiple types.
|
66
|
-
oneof payload {
|
67
|
-
// The log entry payload, represented as a protocol buffer that is
|
68
|
-
// expressed as a JSON object. The only accepted type currently is
|
69
|
-
// [AuditLog][google.cloud.audit.AuditLog].
|
70
|
-
google.protobuf.Any proto_payload = 2;
|
71
|
-
|
72
|
-
// The log entry payload, represented as a Unicode string (UTF-8).
|
73
|
-
string text_payload = 3;
|
74
|
-
|
75
|
-
// The log entry payload, represented as a structure that
|
76
|
-
// is expressed as a JSON object.
|
77
|
-
google.protobuf.Struct struct_payload = 6;
|
78
|
-
}
|
79
|
-
|
80
|
-
// Optional. Information about an operation associated with the log entry, if
|
81
|
-
// applicable.
|
82
|
-
LogEntryOperation operation = 16;
|
83
|
-
|
84
|
-
// Optional. Source code location information associated with the log entry,
|
85
|
-
// if any.
|
86
|
-
LogEntrySourceLocation source_location = 17;
|
87
|
-
}
|
88
|
-
|
89
|
-
// Additional information about a potentially long-running operation with which
|
90
|
-
// a log entry is associated.
|
91
|
-
message LogEntryOperation {
|
92
|
-
// Optional. An arbitrary operation identifier. Log entries with the
|
93
|
-
// same identifier are assumed to be part of the same operation.
|
94
|
-
string id = 1;
|
95
|
-
|
96
|
-
// Optional. An arbitrary producer identifier. The combination of
|
97
|
-
// `id` and `producer` must be globally unique. Examples for `producer`:
|
98
|
-
// `"MyDivision.MyBigCompany.com"`, `"github.com/MyProject/MyApplication"`.
|
99
|
-
string producer = 2;
|
100
|
-
|
101
|
-
// Optional. Set this to True if this is the first log entry in the operation.
|
102
|
-
bool first = 3;
|
103
|
-
|
104
|
-
// Optional. Set this to True if this is the last log entry in the operation.
|
105
|
-
bool last = 4;
|
106
|
-
}
|
107
|
-
|
108
|
-
// Additional information about the source code location that produced the log
|
109
|
-
// entry.
|
110
|
-
message LogEntrySourceLocation {
|
111
|
-
// Optional. Source file name. Depending on the runtime environment, this
|
112
|
-
// might be a simple name or a fully-qualified name.
|
113
|
-
string file = 1;
|
114
|
-
|
115
|
-
// Optional. Line within the source file. 1-based; 0 indicates no line number
|
116
|
-
// available.
|
117
|
-
int64 line = 2;
|
118
|
-
|
119
|
-
// Optional. Human-readable name of the function or method being invoked, with
|
120
|
-
// optional context such as the class or package name. This information may be
|
121
|
-
// used in contexts such as the logs viewer, where a file and line number are
|
122
|
-
// less meaningful. The format can vary by language. For example:
|
123
|
-
// `qual.if.ied.Class.method` (Java), `dir/package.func` (Go), `function`
|
124
|
-
// (Python).
|
125
|
-
string function = 3;
|
126
|
-
}
|
@@ -1,81 +0,0 @@
|
|
1
|
-
// Copyright 2024 Google LLC
|
2
|
-
//
|
3
|
-
// Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
// you may not use this file except in compliance with the License.
|
5
|
-
// You may obtain a copy of the License at
|
6
|
-
//
|
7
|
-
// http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
//
|
9
|
-
// Unless required by applicable law or agreed to in writing, software
|
10
|
-
// distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
// See the License for the specific language governing permissions and
|
13
|
-
// limitations under the License.
|
14
|
-
|
15
|
-
syntax = "proto3";
|
16
|
-
|
17
|
-
package google.api.servicecontrol.v1;
|
18
|
-
|
19
|
-
import "google/api/servicecontrol/v1/distribution.proto";
|
20
|
-
import "google/protobuf/timestamp.proto";
|
21
|
-
|
22
|
-
option cc_enable_arenas = true;
|
23
|
-
option csharp_namespace = "Google.Cloud.ServiceControl.V1";
|
24
|
-
option go_package = "cloud.google.com/go/servicecontrol/apiv1/servicecontrolpb;servicecontrolpb";
|
25
|
-
option java_multiple_files = true;
|
26
|
-
option java_outer_classname = "MetricValueSetProto";
|
27
|
-
option java_package = "com.google.api.servicecontrol.v1";
|
28
|
-
option php_namespace = "Google\\Cloud\\ServiceControl\\V1";
|
29
|
-
option ruby_package = "Google::Cloud::ServiceControl::V1";
|
30
|
-
|
31
|
-
// Represents a single metric value.
|
32
|
-
message MetricValue {
|
33
|
-
// The labels describing the metric value.
|
34
|
-
// See comments on [google.api.servicecontrol.v1.Operation.labels][google.api.servicecontrol.v1.Operation.labels] for
|
35
|
-
// the overriding relationship.
|
36
|
-
// Note that this map must not contain monitored resource labels.
|
37
|
-
map<string, string> labels = 1;
|
38
|
-
|
39
|
-
// The start of the time period over which this metric value's measurement
|
40
|
-
// applies. The time period has different semantics for different metric
|
41
|
-
// types (cumulative, delta, and gauge). See the metric definition
|
42
|
-
// documentation in the service configuration for details. If not specified,
|
43
|
-
// [google.api.servicecontrol.v1.Operation.start_time][google.api.servicecontrol.v1.Operation.start_time] will be used.
|
44
|
-
google.protobuf.Timestamp start_time = 2;
|
45
|
-
|
46
|
-
// The end of the time period over which this metric value's measurement
|
47
|
-
// applies. If not specified,
|
48
|
-
// [google.api.servicecontrol.v1.Operation.end_time][google.api.servicecontrol.v1.Operation.end_time] will be used.
|
49
|
-
google.protobuf.Timestamp end_time = 3;
|
50
|
-
|
51
|
-
// The value. The type of value used in the request must
|
52
|
-
// agree with the metric definition in the service configuration, otherwise
|
53
|
-
// the MetricValue is rejected.
|
54
|
-
oneof value {
|
55
|
-
// A boolean value.
|
56
|
-
bool bool_value = 4;
|
57
|
-
|
58
|
-
// A signed 64-bit integer value.
|
59
|
-
int64 int64_value = 5;
|
60
|
-
|
61
|
-
// A double precision floating point value.
|
62
|
-
double double_value = 6;
|
63
|
-
|
64
|
-
// A text string value.
|
65
|
-
string string_value = 7;
|
66
|
-
|
67
|
-
// A distribution value.
|
68
|
-
Distribution distribution_value = 8;
|
69
|
-
}
|
70
|
-
}
|
71
|
-
|
72
|
-
// Represents a set of metric values in the same metric.
|
73
|
-
// Each metric value in the set should have a unique combination of start time,
|
74
|
-
// end time, and label values.
|
75
|
-
message MetricValueSet {
|
76
|
-
// The metric name defined in the service configuration.
|
77
|
-
string metric_name = 1;
|
78
|
-
|
79
|
-
// The values in this metric.
|
80
|
-
repeated MetricValue metric_values = 2;
|
81
|
-
}
|