@alis-build/common-es 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +1 -0
- package/alis/a2a/extension/history/v1/history_connect.d.ts +155 -0
- package/alis/a2a/extension/history/v1/history_connect.js +155 -0
- package/alis/a2a/extension/history/v1/history_pb.d.ts +550 -0
- package/alis/a2a/extension/history/v1/history_pb.js +111 -0
- package/alis/open/agent/v1/agent_connect.d.ts +155 -0
- package/alis/open/agent/v1/agent_connect.js +155 -0
- package/alis/open/agent/v1/agent_pb.d.ts +2129 -0
- package/alis/open/agent/v1/agent_pb.js +390 -0
- package/alis/open/agent/v2/a2a_connect.d.ts +155 -0
- package/alis/open/agent/v2/a2a_connect.js +155 -0
- package/alis/open/agent/v2/a2a_pb.d.ts +2181 -0
- package/alis/open/agent/v2/a2a_pb.js +390 -0
- package/alis/open/config/v1/config_pb.d.ts +61 -0
- package/alis/open/config/v1/config_pb.js +19 -0
- package/alis/open/cx/v1/cx_pb.d.ts +2153 -0
- package/alis/open/cx/v1/cx_pb.js +230 -0
- package/alis/open/flows/v1/flows_connect.d.ts +94 -0
- package/alis/open/flows/v1/flows_connect.js +94 -0
- package/alis/open/flows/v1/flows_pb.d.ts +546 -0
- package/alis/open/flows/v1/flows_pb.js +104 -0
- package/alis/open/iam/v1/group_connect.d.ts +143 -0
- package/alis/open/iam/v1/group_connect.js +143 -0
- package/alis/open/iam/v1/group_pb.d.ts +385 -0
- package/alis/open/iam/v1/group_pb.js +88 -0
- package/alis/open/iam/v1/iam_pb.d.ts +171 -0
- package/alis/open/iam/v1/iam_pb.js +46 -0
- package/alis/open/iam/v1/oauth_pb.d.ts +564 -0
- package/alis/open/iam/v1/oauth_pb.js +111 -0
- package/alis/open/iam/v1/role_pb.d.ts +95 -0
- package/alis/open/iam/v1/role_pb.js +19 -0
- package/alis/open/iam/v1/user_connect.d.ts +327 -0
- package/alis/open/iam/v1/user_connect.js +327 -0
- package/alis/open/iam/v1/user_pb.d.ts +1580 -0
- package/alis/open/iam/v1/user_pb.js +279 -0
- package/alis/open/in/v1/in_pb.d.ts +902 -0
- package/alis/open/in/v1/in_pb.js +113 -0
- package/alis/open/notifications/v1/devices_connect.d.ts +161 -0
- package/alis/open/notifications/v1/devices_connect.js +161 -0
- package/alis/open/notifications/v1/devices_pb.d.ts +362 -0
- package/alis/open/notifications/v1/devices_pb.js +75 -0
- package/alis/open/notifications/v1/notifications_connect.d.ts +77 -0
- package/alis/open/notifications/v1/notifications_connect.js +77 -0
- package/alis/open/notifications/v1/notifications_pb.d.ts +196 -0
- package/alis/open/notifications/v1/notifications_pb.js +49 -0
- package/alis/open/operations/v1/operations_pb.d.ts +194 -0
- package/alis/open/operations/v1/operations_pb.js +28 -0
- package/alis/open/options/v1/options_pb.d.ts +274 -0
- package/alis/open/options/v1/options_pb.js +85 -0
- package/alis/open/pubsub/v1/pubsub_pb.d.ts +124 -0
- package/alis/open/pubsub/v1/pubsub_pb.js +26 -0
- package/alis/open/px/v1/px_pb.d.ts +2169 -0
- package/alis/open/px/v1/px_pb.js +281 -0
- package/alis/open/support/v1/attachments_connect.d.ts +30 -0
- package/alis/open/support/v1/attachments_connect.js +30 -0
- package/alis/open/support/v1/attachments_pb.d.ts +84 -0
- package/alis/open/support/v1/attachments_pb.js +34 -0
- package/alis/open/support/v1/events_connect.d.ts +30 -0
- package/alis/open/support/v1/events_connect.js +30 -0
- package/alis/open/support/v1/events_pb.d.ts +236 -0
- package/alis/open/support/v1/events_pb.js +84 -0
- package/alis/open/support/v1/guide_connect.d.ts +76 -0
- package/alis/open/support/v1/guide_connect.js +76 -0
- package/alis/open/support/v1/guide_pb.d.ts +853 -0
- package/alis/open/support/v1/guide_pb.js +169 -0
- package/alis/open/support/v1/issue_connect.d.ts +216 -0
- package/alis/open/support/v1/issue_connect.js +216 -0
- package/alis/open/support/v1/issue_pb.d.ts +1030 -0
- package/alis/open/support/v1/issue_pb.js +215 -0
- package/alis/open/support/v1/issueactivity_connect.d.ts +139 -0
- package/alis/open/support/v1/issueactivity_connect.js +139 -0
- package/alis/open/support/v1/issueactivity_pb.d.ts +551 -0
- package/alis/open/support/v1/issueactivity_pb.js +108 -0
- package/alis/open/support/v1/issuesubscriber_connect.d.ts +146 -0
- package/alis/open/support/v1/issuesubscriber_connect.js +146 -0
- package/alis/open/support/v1/issuesubscriber_pb.d.ts +341 -0
- package/alis/open/support/v1/issuesubscriber_pb.js +68 -0
- package/alis/open/validation/v1/test_connect.d.ts +74 -0
- package/alis/open/validation/v1/test_connect.js +74 -0
- package/alis/open/validation/v1/test_pb.d.ts +345 -0
- package/alis/open/validation/v1/test_pb.js +84 -0
- package/alis/open/validation/v1/validation_connect.d.ts +39 -0
- package/alis/open/validation/v1/validation_connect.js +39 -0
- package/alis/open/validation/v1/validation_pb.d.ts +207 -0
- package/alis/open/validation/v1/validation_pb.js +59 -0
- package/alis/test/v1/test_pb.d.ts +32 -0
- package/alis/test/v1/test_pb.js +18 -0
- package/common/test/v1/test_pb.d.ts +32 -0
- package/common/test/v1/test_pb.js +18 -0
- package/google/api/annotations_pb.d.ts +33 -0
- package/google/api/annotations_pb.js +35 -0
- package/google/api/apikeys/v2/apikeys_connect.d.ts +151 -0
- package/google/api/apikeys/v2/apikeys_connect.js +151 -0
- package/google/api/apikeys/v2/apikeys_pb.d.ts +449 -0
- package/google/api/apikeys/v2/apikeys_pb.js +117 -0
- package/google/api/apikeys/v2/resources_pb.d.ts +341 -0
- package/google/api/apikeys/v2/resources_pb.js +84 -0
- package/google/api/auth_pb.d.ts +380 -0
- package/google/api/auth_pb.js +67 -0
- package/google/api/backend_pb.d.ts +269 -0
- package/google/api/backend_pb.js +59 -0
- package/google/api/billing_pb.d.ts +109 -0
- package/google/api/billing_pb.js +39 -0
- package/google/api/client_pb.d.ts +691 -0
- package/google/api/client_pb.js +233 -0
- package/google/api/config_change_pb.d.ts +155 -0
- package/google/api/config_change_pb.js +54 -0
- package/google/api/consumer_pb.d.ts +150 -0
- package/google/api/consumer_pb.js +53 -0
- package/google/api/context_pb.d.ts +135 -0
- package/google/api/context_pb.js +39 -0
- package/google/api/control_pb.d.ts +52 -0
- package/google/api/control_pb.js +32 -0
- package/google/api/distribution_pb.d.ts +377 -0
- package/google/api/distribution_pb.js +76 -0
- package/google/api/documentation_pb.d.ts +248 -0
- package/google/api/documentation_pb.js +46 -0
- package/google/api/endpoint_pb.d.ts +102 -0
- package/google/api/endpoint_pb.js +32 -0
- package/google/api/error_reason_pb.d.ts +657 -0
- package/google/api/error_reason_pb.js +48 -0
- package/google/api/expr/conformance/v1alpha1/conformance_service_connect.d.ts +71 -0
- package/google/api/expr/conformance/v1alpha1/conformance_service_connect.js +71 -0
- package/google/api/expr/conformance/v1alpha1/conformance_service_pb.d.ts +415 -0
- package/google/api/expr/conformance/v1alpha1/conformance_service_pb.js +112 -0
- package/google/api/expr/v1alpha1/checked_pb.d.ts +701 -0
- package/google/api/expr/v1alpha1/checked_pb.js +133 -0
- package/google/api/expr/v1alpha1/eval_pb.d.ts +212 -0
- package/google/api/expr/v1alpha1/eval_pb.js +62 -0
- package/google/api/expr/v1alpha1/explain_pb.d.ts +92 -0
- package/google/api/expr/v1alpha1/explain_pb.js +42 -0
- package/google/api/expr/v1alpha1/syntax_pb.d.ts +698 -0
- package/google/api/expr/v1alpha1/syntax_pb.js +112 -0
- package/google/api/expr/v1alpha1/value_pb.d.ts +252 -0
- package/google/api/expr/v1alpha1/value_pb.js +62 -0
- package/google/api/expr/v1beta1/decl_pb.d.ts +183 -0
- package/google/api/expr/v1beta1/decl_pb.js +55 -0
- package/google/api/expr/v1beta1/eval_pb.d.ts +233 -0
- package/google/api/expr/v1beta1/eval_pb.js +70 -0
- package/google/api/expr/v1beta1/expr_pb.d.ts +550 -0
- package/google/api/expr/v1beta1/expr_pb.js +98 -0
- package/google/api/expr/v1beta1/source_pb.d.ts +112 -0
- package/google/api/expr/v1beta1/source_pb.js +40 -0
- package/google/api/expr/v1beta1/value_pb.d.ts +253 -0
- package/google/api/expr/v1beta1/value_pb.js +63 -0
- package/google/api/field_behavior_pb.d.ts +133 -0
- package/google/api/field_behavior_pb.js +64 -0
- package/google/api/http_pb.d.ts +472 -0
- package/google/api/http_pb.js +46 -0
- package/google/api/httpbody_pb.d.ts +103 -0
- package/google/api/httpbody_pb.js +33 -0
- package/google/api/label_pb.d.ts +92 -0
- package/google/api/label_pb.js +46 -0
- package/google/api/launch_stage_pb.d.ts +114 -0
- package/google/api/launch_stage_pb.js +40 -0
- package/google/api/log_pb.d.ts +81 -0
- package/google/api/log_pb.js +33 -0
- package/google/api/logging_pb.d.ts +118 -0
- package/google/api/logging_pb.js +39 -0
- package/google/api/metric_pb.d.ts +422 -0
- package/google/api/metric_pb.js +79 -0
- package/google/api/monitored_resource_pb.d.ts +194 -0
- package/google/api/monitored_resource_pb.js +49 -0
- package/google/api/monitoring_pb.d.ts +143 -0
- package/google/api/monitoring_pb.js +39 -0
- package/google/api/quota_pb.d.ts +271 -0
- package/google/api/quota_pb.js +46 -0
- package/google/api/resource_pb.d.ts +338 -0
- package/google/api/resource_pb.js +96 -0
- package/google/api/routing_pb.d.ts +496 -0
- package/google/api/routing_pb.js +48 -0
- package/google/api/service_pb.d.ts +304 -0
- package/google/api/service_pb.js +53 -0
- package/google/api/servicecontrol/v1/check_error_pb.d.ts +241 -0
- package/google/api/servicecontrol/v1/check_error_pb.js +47 -0
- package/google/api/servicecontrol/v1/distribution_pb.d.ts +279 -0
- package/google/api/servicecontrol/v1/distribution_pb.js +54 -0
- package/google/api/servicecontrol/v1/http_request_pb.d.ts +162 -0
- package/google/api/servicecontrol/v1/http_request_pb.js +33 -0
- package/google/api/servicecontrol/v1/log_entry_pb.d.ts +237 -0
- package/google/api/servicecontrol/v1/log_entry_pb.js +51 -0
- package/google/api/servicecontrol/v1/metric_value_pb.d.ts +148 -0
- package/google/api/servicecontrol/v1/metric_value_pb.js +41 -0
- package/google/api/servicecontrol/v1/operation_pb.d.ts +188 -0
- package/google/api/servicecontrol/v1/operation_pb.js +50 -0
- package/google/api/servicecontrol/v1/quota_controller_connect.d.ts +56 -0
- package/google/api/servicecontrol/v1/quota_controller_connect.js +56 -0
- package/google/api/servicecontrol/v1/quota_controller_pb.d.ts +417 -0
- package/google/api/servicecontrol/v1/quota_controller_pb.js +100 -0
- package/google/api/servicecontrol/v1/service_controller_connect.d.ts +87 -0
- package/google/api/servicecontrol/v1/service_controller_connect.js +87 -0
- package/google/api/servicecontrol/v1/service_controller_pb.d.ts +437 -0
- package/google/api/servicecontrol/v1/service_controller_pb.js +105 -0
- package/google/api/servicecontrol/v2/service_controller_connect.d.ts +99 -0
- package/google/api/servicecontrol/v2/service_controller_connect.js +99 -0
- package/google/api/servicecontrol/v2/service_controller_pb.d.ts +300 -0
- package/google/api/servicecontrol/v2/service_controller_pb.js +79 -0
- package/google/api/servicemanagement/v1/resources_pb.d.ts +632 -0
- package/google/api/servicemanagement/v1/resources_pb.js +159 -0
- package/google/api/servicemanagement/v1/servicemanager_connect.d.ts +252 -0
- package/google/api/servicemanagement/v1/servicemanager_connect.js +252 -0
- package/google/api/servicemanagement/v1/servicemanager_pb.d.ts +854 -0
- package/google/api/servicemanagement/v1/servicemanager_pb.js +186 -0
- package/google/api/serviceusage/v1/resources_pb.d.ts +231 -0
- package/google/api/serviceusage/v1/resources_pb.js +68 -0
- package/google/api/serviceusage/v1/serviceusage_connect.d.ts +125 -0
- package/google/api/serviceusage/v1/serviceusage_connect.js +125 -0
- package/google/api/serviceusage/v1/serviceusage_pb.d.ts +529 -0
- package/google/api/serviceusage/v1/serviceusage_pb.js +140 -0
- package/google/api/serviceusage/v1beta1/resources_pb.d.ts +748 -0
- package/google/api/serviceusage/v1beta1/resources_pb.js +146 -0
- package/google/api/serviceusage/v1beta1/serviceusage_connect.d.ts +285 -0
- package/google/api/serviceusage/v1beta1/serviceusage_connect.js +285 -0
- package/google/api/serviceusage/v1beta1/serviceusage_pb.d.ts +1446 -0
- package/google/api/serviceusage/v1beta1/serviceusage_pb.js +304 -0
- package/google/api/source_info_pb.d.ts +46 -0
- package/google/api/source_info_pb.js +33 -0
- package/google/api/system_parameter_pb.d.ts +151 -0
- package/google/api/system_parameter_pb.js +46 -0
- package/google/api/usage_pb.d.ts +141 -0
- package/google/api/usage_pb.js +39 -0
- package/google/api/visibility_pb.d.ts +157 -0
- package/google/api/visibility_pb.js +88 -0
- package/google/iam/admin/v1/audit_data_pb.d.ts +75 -0
- package/google/iam/admin/v1/audit_data_pb.js +39 -0
- package/google/iam/admin/v1/iam_connect.d.ts +534 -0
- package/google/iam/admin/v1/iam_connect.js +534 -0
- package/google/iam/admin/v1/iam_pb.d.ts +2699 -0
- package/google/iam/admin/v1/iam_pb.js +528 -0
- package/google/iam/credentials/v1/common_pb.d.ts +319 -0
- package/google/iam/credentials/v1/common_pb.js +85 -0
- package/google/iam/credentials/v1/iamcredentials_connect.d.ts +84 -0
- package/google/iam/credentials/v1/iamcredentials_connect.js +84 -0
- package/google/iam/credentials/v1/iamcredentials_pb.d.ts +81 -0
- package/google/iam/credentials/v1/iamcredentials_pb.js +44 -0
- package/google/iam/v1/iam_policy_connect.d.ts +102 -0
- package/google/iam/v1/iam_policy_connect.js +102 -0
- package/google/iam/v1/iam_policy_pb.d.ts +225 -0
- package/google/iam/v1/iam_policy_pb.js +93 -0
- package/google/iam/v1/logging/audit_data_pb.d.ts +48 -0
- package/google/iam/v1/logging/audit_data_pb.js +33 -0
- package/google/iam/v1/options_pb.d.ts +62 -0
- package/google/iam/v1/options_pb.js +32 -0
- package/google/iam/v1/policy_pb.d.ts +622 -0
- package/google/iam/v1/policy_pb.js +118 -0
- package/google/iam/v1beta/workload_identity_pool_connect.d.ts +203 -0
- package/google/iam/v1beta/workload_identity_pool_connect.js +203 -0
- package/google/iam/v1beta/workload_identity_pool_pb.d.ts +996 -0
- package/google/iam/v1beta/workload_identity_pool_pb.js +207 -0
- package/google/iam/v2/deny_pb.d.ts +139 -0
- package/google/iam/v2/deny_pb.js +33 -0
- package/google/iam/v2/policy_connect.d.ts +102 -0
- package/google/iam/v2/policy_connect.js +102 -0
- package/google/iam/v2/policy_pb.d.ts +481 -0
- package/google/iam/v2/policy_pb.js +102 -0
- package/google/iam/v2beta/deny_pb.d.ts +139 -0
- package/google/iam/v2beta/deny_pb.js +33 -0
- package/google/iam/v2beta/policy_connect.d.ts +102 -0
- package/google/iam/v2beta/policy_connect.js +102 -0
- package/google/iam/v2beta/policy_pb.d.ts +473 -0
- package/google/iam/v2beta/policy_pb.js +102 -0
- package/google/logging/type/http_request_pb.d.ts +164 -0
- package/google/logging/type/http_request_pb.js +33 -0
- package/google/logging/type/log_severity_pb.d.ts +114 -0
- package/google/logging/type/log_severity_pb.js +53 -0
- package/google/logging/v2/log_entry_pb.d.ts +382 -0
- package/google/logging/v2/log_entry_pb.js +61 -0
- package/google/logging/v2/logging_config_connect.d.ts +401 -0
- package/google/logging/v2/logging_config_connect.js +401 -0
- package/google/logging/v2/logging_config_pb.d.ts +2422 -0
- package/google/logging/v2/logging_config_pb.js +360 -0
- package/google/logging/v2/logging_connect.d.ts +113 -0
- package/google/logging/v2/logging_connect.js +113 -0
- package/google/logging/v2/logging_metrics_connect.d.ts +88 -0
- package/google/logging/v2/logging_metrics_connect.js +88 -0
- package/google/logging/v2/logging_metrics_pb.d.ts +467 -0
- package/google/logging/v2/logging_metrics_pb.js +104 -0
- package/google/logging/v2/logging_pb.d.ts +718 -0
- package/google/logging/v2/logging_pb.js +147 -0
- package/google/longrunning/operations_connect.d.ts +127 -0
- package/google/longrunning/operations_connect.js +127 -0
- package/google/longrunning/operations_pb.d.ts +420 -0
- package/google/longrunning/operations_pb.js +117 -0
- package/google/protobuf/any_pb.d.ts +181 -0
- package/google/protobuf/any_pb.js +48 -0
- package/google/protobuf/api_pb.d.ts +301 -0
- package/google/protobuf/api_pb.js +64 -0
- package/google/protobuf/descriptor_pb.d.ts +2589 -0
- package/google/protobuf/descriptor_pb.js +503 -0
- package/google/protobuf/duration_pb.d.ts +133 -0
- package/google/protobuf/duration_pb.js +48 -0
- package/google/protobuf/empty_pb.d.ts +62 -0
- package/google/protobuf/empty_pb.js +48 -0
- package/google/protobuf/field_mask_pb.d.ts +259 -0
- package/google/protobuf/field_mask_pb.js +48 -0
- package/google/protobuf/source_context_pb.d.ts +63 -0
- package/google/protobuf/source_context_pb.js +48 -0
- package/google/protobuf/struct_pb.d.ts +185 -0
- package/google/protobuf/struct_pb.js +79 -0
- package/google/protobuf/timestamp_pb.d.ts +162 -0
- package/google/protobuf/timestamp_pb.js +48 -0
- package/google/protobuf/type_pb.d.ts +531 -0
- package/google/protobuf/type_pb.js +120 -0
- package/google/protobuf/wrappers_pb.d.ts +249 -0
- package/google/protobuf/wrappers_pb.js +114 -0
- package/google/rpc/code_pb.d.ts +264 -0
- package/google/rpc/code_pb.js +45 -0
- package/google/rpc/context/attribute_context_pb.d.ts +618 -0
- package/google/rpc/context/attribute_context_pb.js +78 -0
- package/google/rpc/context/audit_context_pb.d.ts +79 -0
- package/google/rpc/context/audit_context_pb.js +33 -0
- package/google/rpc/error_details_pb.d.ts +534 -0
- package/google/rpc/error_details_pb.js +124 -0
- package/google/rpc/http_pb.d.ts +136 -0
- package/google/rpc/http_pb.js +46 -0
- package/google/rpc/status_pb.d.ts +71 -0
- package/google/rpc/status_pb.js +33 -0
- package/google/type/calendar_period_pb.d.ts +98 -0
- package/google/type/calendar_period_pb.js +41 -0
- package/google/type/color_pb.d.ts +199 -0
- package/google/type/color_pb.js +33 -0
- package/google/type/date_pb.d.ts +75 -0
- package/google/type/date_pb.js +32 -0
- package/google/type/datetime_pb.d.ts +174 -0
- package/google/type/datetime_pb.js +40 -0
- package/google/type/dayofweek_pb.d.ts +92 -0
- package/google/type/dayofweek_pb.js +39 -0
- package/google/type/decimal_pb.d.ts +110 -0
- package/google/type/decimal_pb.js +32 -0
- package/google/type/expr_pb.d.ts +101 -0
- package/google/type/expr_pb.js +32 -0
- package/google/type/fraction_pb.d.ts +53 -0
- package/google/type/fraction_pb.js +32 -0
- package/google/type/interval_pb.d.ts +64 -0
- package/google/type/interval_pb.js +33 -0
- package/google/type/latlng_pb.d.ts +56 -0
- package/google/type/latlng_pb.js +32 -0
- package/google/type/localized_text_pb.d.ts +55 -0
- package/google/type/localized_text_pb.js +32 -0
- package/google/type/money_pb.d.ts +65 -0
- package/google/type/money_pb.js +32 -0
- package/google/type/month_pb.d.ts +127 -0
- package/google/type/month_pb.js +39 -0
- package/google/type/phone_number_pb.d.ts +160 -0
- package/google/type/phone_number_pb.js +39 -0
- package/google/type/postal_address_pb.d.ts +189 -0
- package/google/type/postal_address_pb.js +32 -0
- package/google/type/quaternion_pb.d.ts +121 -0
- package/google/type/quaternion_pb.js +32 -0
- package/google/type/timeofday_pb.d.ts +71 -0
- package/google/type/timeofday_pb.js +32 -0
- package/lf/a2a/v1/a2a_connect.d.ts +148 -0
- package/lf/a2a/v1/a2a_connect.js +148 -0
- package/lf/a2a/v1/a2a_pb.d.ts +2184 -0
- package/lf/a2a/v1/a2a_pb.js +363 -0
- package/package.json +10 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
// Copyright 2015 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
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts"
|
|
16
|
+
// @generated from file google/api/monitored_resource.proto (package google.api, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
|
|
19
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
20
|
+
import { file_google_api_label } from "./label_pb";
|
|
21
|
+
import { file_google_api_launch_stage } from "./launch_stage_pb";
|
|
22
|
+
import { file_google_protobuf_struct } from "../protobuf/struct_pb";
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Describes the file google/api/monitored_resource.proto.
|
|
26
|
+
*/
|
|
27
|
+
export const file_google_api_monitored_resource = /*@__PURE__*/
|
|
28
|
+
fileDesc("CiNnb29nbGUvYXBpL21vbml0b3JlZF9yZXNvdXJjZS5wcm90bxIKZ29vZ2xlLmFwaSLAAQobTW9uaXRvcmVkUmVzb3VyY2VEZXNjcmlwdG9yEgwKBG5hbWUYBSABKAkSDAoEdHlwZRgBIAEoCRIUCgxkaXNwbGF5X25hbWUYAiABKAkSEwoLZGVzY3JpcHRpb24YAyABKAkSKwoGbGFiZWxzGAQgAygLMhsuZ29vZ2xlLmFwaS5MYWJlbERlc2NyaXB0b3ISLQoMbGF1bmNoX3N0YWdlGAcgASgOMhcuZ29vZ2xlLmFwaS5MYXVuY2hTdGFnZSKLAQoRTW9uaXRvcmVkUmVzb3VyY2USDAoEdHlwZRgBIAEoCRI5CgZsYWJlbHMYAiADKAsyKS5nb29nbGUuYXBpLk1vbml0b3JlZFJlc291cmNlLkxhYmVsc0VudHJ5Gi0KC0xhYmVsc0VudHJ5EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgCIAEoCToCOAEiygEKGU1vbml0b3JlZFJlc291cmNlTWV0YWRhdGESLgoNc3lzdGVtX2xhYmVscxgBIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3QSSgoLdXNlcl9sYWJlbHMYAiADKAsyNS5nb29nbGUuYXBpLk1vbml0b3JlZFJlc291cmNlTWV0YWRhdGEuVXNlckxhYmVsc0VudHJ5GjEKD1VzZXJMYWJlbHNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBQnkKDmNvbS5nb29nbGUuYXBpQhZNb25pdG9yZWRSZXNvdXJjZVByb3RvUAFaQ2dvb2dsZS5nb2xhbmcub3JnL2dlbnByb3RvL2dvb2dsZWFwaXMvYXBpL21vbml0b3JlZHJlczttb25pdG9yZWRyZXP4AQGiAgRHQVBJYgZwcm90bzM", [file_google_api_label, file_google_api_launch_stage, file_google_protobuf_struct]);
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Describes the message google.api.MonitoredResourceDescriptor.
|
|
32
|
+
* Use `create(MonitoredResourceDescriptorSchema)` to create a new message.
|
|
33
|
+
*/
|
|
34
|
+
export const MonitoredResourceDescriptorSchema = /*@__PURE__*/
|
|
35
|
+
messageDesc(file_google_api_monitored_resource, 0);
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Describes the message google.api.MonitoredResource.
|
|
39
|
+
* Use `create(MonitoredResourceSchema)` to create a new message.
|
|
40
|
+
*/
|
|
41
|
+
export const MonitoredResourceSchema = /*@__PURE__*/
|
|
42
|
+
messageDesc(file_google_api_monitored_resource, 1);
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Describes the message google.api.MonitoredResourceMetadata.
|
|
46
|
+
* Use `create(MonitoredResourceMetadataSchema)` to create a new message.
|
|
47
|
+
*/
|
|
48
|
+
export const MonitoredResourceMetadataSchema = /*@__PURE__*/
|
|
49
|
+
messageDesc(file_google_api_monitored_resource, 2);
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
// Copyright 2015 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
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts"
|
|
16
|
+
// @generated from file google/api/monitoring.proto (package google.api, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
|
|
19
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
20
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Describes the file google/api/monitoring.proto.
|
|
24
|
+
*/
|
|
25
|
+
export declare const file_google_api_monitoring: GenFile;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Monitoring configuration of the service.
|
|
29
|
+
*
|
|
30
|
+
* The example below shows how to configure monitored resources and metrics
|
|
31
|
+
* for monitoring. In the example, a monitored resource and two metrics are
|
|
32
|
+
* defined. The `library.googleapis.com/book/returned_count` metric is sent
|
|
33
|
+
* to both producer and consumer projects, whereas the
|
|
34
|
+
* `library.googleapis.com/book/num_overdue` metric is only sent to the
|
|
35
|
+
* consumer project.
|
|
36
|
+
*
|
|
37
|
+
* monitored_resources:
|
|
38
|
+
* - type: library.googleapis.com/Branch
|
|
39
|
+
* display_name: "Library Branch"
|
|
40
|
+
* description: "A branch of a library."
|
|
41
|
+
* launch_stage: GA
|
|
42
|
+
* labels:
|
|
43
|
+
* - key: resource_container
|
|
44
|
+
* description: "The Cloud container (ie. project id) for the Branch."
|
|
45
|
+
* - key: location
|
|
46
|
+
* description: "The location of the library branch."
|
|
47
|
+
* - key: branch_id
|
|
48
|
+
* description: "The id of the branch."
|
|
49
|
+
* metrics:
|
|
50
|
+
* - name: library.googleapis.com/book/returned_count
|
|
51
|
+
* display_name: "Books Returned"
|
|
52
|
+
* description: "The count of books that have been returned."
|
|
53
|
+
* launch_stage: GA
|
|
54
|
+
* metric_kind: DELTA
|
|
55
|
+
* value_type: INT64
|
|
56
|
+
* unit: "1"
|
|
57
|
+
* labels:
|
|
58
|
+
* - key: customer_id
|
|
59
|
+
* description: "The id of the customer."
|
|
60
|
+
* - name: library.googleapis.com/book/num_overdue
|
|
61
|
+
* display_name: "Books Overdue"
|
|
62
|
+
* description: "The current number of overdue books."
|
|
63
|
+
* launch_stage: GA
|
|
64
|
+
* metric_kind: GAUGE
|
|
65
|
+
* value_type: INT64
|
|
66
|
+
* unit: "1"
|
|
67
|
+
* labels:
|
|
68
|
+
* - key: customer_id
|
|
69
|
+
* description: "The id of the customer."
|
|
70
|
+
* monitoring:
|
|
71
|
+
* producer_destinations:
|
|
72
|
+
* - monitored_resource: library.googleapis.com/Branch
|
|
73
|
+
* metrics:
|
|
74
|
+
* - library.googleapis.com/book/returned_count
|
|
75
|
+
* consumer_destinations:
|
|
76
|
+
* - monitored_resource: library.googleapis.com/Branch
|
|
77
|
+
* metrics:
|
|
78
|
+
* - library.googleapis.com/book/returned_count
|
|
79
|
+
* - library.googleapis.com/book/num_overdue
|
|
80
|
+
*
|
|
81
|
+
* @generated from message google.api.Monitoring
|
|
82
|
+
*/
|
|
83
|
+
export declare type Monitoring = Message<"google.api.Monitoring"> & {
|
|
84
|
+
/**
|
|
85
|
+
* Monitoring configurations for sending metrics to the producer project.
|
|
86
|
+
* There can be multiple producer destinations. A monitored resource type may
|
|
87
|
+
* appear in multiple monitoring destinations if different aggregations are
|
|
88
|
+
* needed for different sets of metrics associated with that monitored
|
|
89
|
+
* resource type. A monitored resource and metric pair may only be used once
|
|
90
|
+
* in the Monitoring configuration.
|
|
91
|
+
*
|
|
92
|
+
* @generated from field: repeated google.api.Monitoring.MonitoringDestination producer_destinations = 1;
|
|
93
|
+
*/
|
|
94
|
+
producerDestinations: Monitoring_MonitoringDestination[];
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Monitoring configurations for sending metrics to the consumer project.
|
|
98
|
+
* There can be multiple consumer destinations. A monitored resource type may
|
|
99
|
+
* appear in multiple monitoring destinations if different aggregations are
|
|
100
|
+
* needed for different sets of metrics associated with that monitored
|
|
101
|
+
* resource type. A monitored resource and metric pair may only be used once
|
|
102
|
+
* in the Monitoring configuration.
|
|
103
|
+
*
|
|
104
|
+
* @generated from field: repeated google.api.Monitoring.MonitoringDestination consumer_destinations = 2;
|
|
105
|
+
*/
|
|
106
|
+
consumerDestinations: Monitoring_MonitoringDestination[];
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Describes the message google.api.Monitoring.
|
|
111
|
+
* Use `create(MonitoringSchema)` to create a new message.
|
|
112
|
+
*/
|
|
113
|
+
export declare const MonitoringSchema: GenMessage<Monitoring>;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Configuration of a specific monitoring destination (the producer project
|
|
117
|
+
* or the consumer project).
|
|
118
|
+
*
|
|
119
|
+
* @generated from message google.api.Monitoring.MonitoringDestination
|
|
120
|
+
*/
|
|
121
|
+
export declare type Monitoring_MonitoringDestination = Message<"google.api.Monitoring.MonitoringDestination"> & {
|
|
122
|
+
/**
|
|
123
|
+
* The monitored resource type. The type must be defined in
|
|
124
|
+
* [Service.monitored_resources][google.api.Service.monitored_resources] section.
|
|
125
|
+
*
|
|
126
|
+
* @generated from field: string monitored_resource = 1;
|
|
127
|
+
*/
|
|
128
|
+
monitoredResource: string;
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Types of the metrics to report to this monitoring destination.
|
|
132
|
+
* Each type must be defined in [Service.metrics][google.api.Service.metrics] section.
|
|
133
|
+
*
|
|
134
|
+
* @generated from field: repeated string metrics = 2;
|
|
135
|
+
*/
|
|
136
|
+
metrics: string[];
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Describes the message google.api.Monitoring.MonitoringDestination.
|
|
141
|
+
* Use `create(Monitoring_MonitoringDestinationSchema)` to create a new message.
|
|
142
|
+
*/
|
|
143
|
+
export declare const Monitoring_MonitoringDestinationSchema: GenMessage<Monitoring_MonitoringDestination>;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// Copyright 2015 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
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts"
|
|
16
|
+
// @generated from file google/api/monitoring.proto (package google.api, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
|
|
19
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Describes the file google/api/monitoring.proto.
|
|
23
|
+
*/
|
|
24
|
+
export const file_google_api_monitoring = /*@__PURE__*/
|
|
25
|
+
fileDesc("Chtnb29nbGUvYXBpL21vbml0b3JpbmcucHJvdG8SCmdvb2dsZS5hcGki7AEKCk1vbml0b3JpbmcSSwoVcHJvZHVjZXJfZGVzdGluYXRpb25zGAEgAygLMiwuZ29vZ2xlLmFwaS5Nb25pdG9yaW5nLk1vbml0b3JpbmdEZXN0aW5hdGlvbhJLChVjb25zdW1lcl9kZXN0aW5hdGlvbnMYAiADKAsyLC5nb29nbGUuYXBpLk1vbml0b3JpbmcuTW9uaXRvcmluZ0Rlc3RpbmF0aW9uGkQKFU1vbml0b3JpbmdEZXN0aW5hdGlvbhIaChJtb25pdG9yZWRfcmVzb3VyY2UYASABKAkSDwoHbWV0cmljcxgCIAMoCUJxCg5jb20uZ29vZ2xlLmFwaUIPTW9uaXRvcmluZ1Byb3RvUAFaRWdvb2dsZS5nb2xhbmcub3JnL2dlbnByb3RvL2dvb2dsZWFwaXMvYXBpL3NlcnZpY2Vjb25maWc7c2VydmljZWNvbmZpZ6ICBEdBUEliBnByb3RvMw");
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message google.api.Monitoring.
|
|
29
|
+
* Use `create(MonitoringSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
export const MonitoringSchema = /*@__PURE__*/
|
|
32
|
+
messageDesc(file_google_api_monitoring, 0);
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Describes the message google.api.Monitoring.MonitoringDestination.
|
|
36
|
+
* Use `create(Monitoring_MonitoringDestinationSchema)` to create a new message.
|
|
37
|
+
*/
|
|
38
|
+
export const Monitoring_MonitoringDestinationSchema = /*@__PURE__*/
|
|
39
|
+
messageDesc(file_google_api_monitoring, 0, 0);
|
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
// Copyright 2015 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
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts"
|
|
16
|
+
// @generated from file google/api/quota.proto (package google.api, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
|
|
19
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
20
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Describes the file google/api/quota.proto.
|
|
24
|
+
*/
|
|
25
|
+
export declare const file_google_api_quota: GenFile;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Quota configuration helps to achieve fairness and budgeting in service
|
|
29
|
+
* usage.
|
|
30
|
+
*
|
|
31
|
+
* The metric based quota configuration works this way:
|
|
32
|
+
* - The service configuration defines a set of metrics.
|
|
33
|
+
* - For API calls, the quota.metric_rules maps methods to metrics with
|
|
34
|
+
* corresponding costs.
|
|
35
|
+
* - The quota.limits defines limits on the metrics, which will be used for
|
|
36
|
+
* quota checks at runtime.
|
|
37
|
+
*
|
|
38
|
+
* An example quota configuration in yaml format:
|
|
39
|
+
*
|
|
40
|
+
* quota:
|
|
41
|
+
* limits:
|
|
42
|
+
*
|
|
43
|
+
* - name: apiWriteQpsPerProject
|
|
44
|
+
* metric: library.googleapis.com/write_calls
|
|
45
|
+
* unit: "1/min/{project}" # rate limit for consumer projects
|
|
46
|
+
* values:
|
|
47
|
+
* STANDARD: 10000
|
|
48
|
+
*
|
|
49
|
+
*
|
|
50
|
+
* (The metric rules bind all methods to the read_calls metric,
|
|
51
|
+
* except for the UpdateBook and DeleteBook methods. These two methods
|
|
52
|
+
* are mapped to the write_calls metric, with the UpdateBook method
|
|
53
|
+
* consuming at twice rate as the DeleteBook method.)
|
|
54
|
+
* metric_rules:
|
|
55
|
+
* - selector: "*"
|
|
56
|
+
* metric_costs:
|
|
57
|
+
* library.googleapis.com/read_calls: 1
|
|
58
|
+
* - selector: google.example.library.v1.LibraryService.UpdateBook
|
|
59
|
+
* metric_costs:
|
|
60
|
+
* library.googleapis.com/write_calls: 2
|
|
61
|
+
* - selector: google.example.library.v1.LibraryService.DeleteBook
|
|
62
|
+
* metric_costs:
|
|
63
|
+
* library.googleapis.com/write_calls: 1
|
|
64
|
+
*
|
|
65
|
+
* Corresponding Metric definition:
|
|
66
|
+
*
|
|
67
|
+
* metrics:
|
|
68
|
+
* - name: library.googleapis.com/read_calls
|
|
69
|
+
* display_name: Read requests
|
|
70
|
+
* metric_kind: DELTA
|
|
71
|
+
* value_type: INT64
|
|
72
|
+
*
|
|
73
|
+
* - name: library.googleapis.com/write_calls
|
|
74
|
+
* display_name: Write requests
|
|
75
|
+
* metric_kind: DELTA
|
|
76
|
+
* value_type: INT64
|
|
77
|
+
*
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* @generated from message google.api.Quota
|
|
81
|
+
*/
|
|
82
|
+
export declare type Quota = Message<"google.api.Quota"> & {
|
|
83
|
+
/**
|
|
84
|
+
* List of QuotaLimit definitions for the service.
|
|
85
|
+
*
|
|
86
|
+
* @generated from field: repeated google.api.QuotaLimit limits = 3;
|
|
87
|
+
*/
|
|
88
|
+
limits: QuotaLimit[];
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* List of MetricRule definitions, each one mapping a selected method to one
|
|
92
|
+
* or more metrics.
|
|
93
|
+
*
|
|
94
|
+
* @generated from field: repeated google.api.MetricRule metric_rules = 4;
|
|
95
|
+
*/
|
|
96
|
+
metricRules: MetricRule[];
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Describes the message google.api.Quota.
|
|
101
|
+
* Use `create(QuotaSchema)` to create a new message.
|
|
102
|
+
*/
|
|
103
|
+
export declare const QuotaSchema: GenMessage<Quota>;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Bind API methods to metrics. Binding a method to a metric causes that
|
|
107
|
+
* metric's configured quota behaviors to apply to the method call.
|
|
108
|
+
*
|
|
109
|
+
* @generated from message google.api.MetricRule
|
|
110
|
+
*/
|
|
111
|
+
export declare type MetricRule = Message<"google.api.MetricRule"> & {
|
|
112
|
+
/**
|
|
113
|
+
* Selects the methods to which this rule applies.
|
|
114
|
+
*
|
|
115
|
+
* Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
|
|
116
|
+
*
|
|
117
|
+
* @generated from field: string selector = 1;
|
|
118
|
+
*/
|
|
119
|
+
selector: string;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Metrics to update when the selected methods are called, and the associated
|
|
123
|
+
* cost applied to each metric.
|
|
124
|
+
*
|
|
125
|
+
* The key of the map is the metric name, and the values are the amount
|
|
126
|
+
* increased for the metric against which the quota limits are defined.
|
|
127
|
+
* The value must not be negative.
|
|
128
|
+
*
|
|
129
|
+
* @generated from field: map<string, int64> metric_costs = 2;
|
|
130
|
+
*/
|
|
131
|
+
metricCosts: { [key: string]: bigint };
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Describes the message google.api.MetricRule.
|
|
136
|
+
* Use `create(MetricRuleSchema)` to create a new message.
|
|
137
|
+
*/
|
|
138
|
+
export declare const MetricRuleSchema: GenMessage<MetricRule>;
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* `QuotaLimit` defines a specific limit that applies over a specified duration
|
|
142
|
+
* for a limit type. There can be at most one limit for a duration and limit
|
|
143
|
+
* type combination defined within a `QuotaGroup`.
|
|
144
|
+
*
|
|
145
|
+
* @generated from message google.api.QuotaLimit
|
|
146
|
+
*/
|
|
147
|
+
export declare type QuotaLimit = Message<"google.api.QuotaLimit"> & {
|
|
148
|
+
/**
|
|
149
|
+
* Name of the quota limit.
|
|
150
|
+
*
|
|
151
|
+
* The name must be provided, and it must be unique within the service. The
|
|
152
|
+
* name can only include alphanumeric characters as well as '-'.
|
|
153
|
+
*
|
|
154
|
+
* The maximum length of the limit name is 64 characters.
|
|
155
|
+
*
|
|
156
|
+
* @generated from field: string name = 6;
|
|
157
|
+
*/
|
|
158
|
+
name: string;
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* Optional. User-visible, extended description for this quota limit.
|
|
162
|
+
* Should be used only when more context is needed to understand this limit
|
|
163
|
+
* than provided by the limit's display name (see: `display_name`).
|
|
164
|
+
*
|
|
165
|
+
* @generated from field: string description = 2;
|
|
166
|
+
*/
|
|
167
|
+
description: string;
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* Default number of tokens that can be consumed during the specified
|
|
171
|
+
* duration. This is the number of tokens assigned when a client
|
|
172
|
+
* application developer activates the service for his/her project.
|
|
173
|
+
*
|
|
174
|
+
* Specifying a value of 0 will block all requests. This can be used if you
|
|
175
|
+
* are provisioning quota to selected consumers and blocking others.
|
|
176
|
+
* Similarly, a value of -1 will indicate an unlimited quota. No other
|
|
177
|
+
* negative values are allowed.
|
|
178
|
+
*
|
|
179
|
+
* Used by group-based quotas only.
|
|
180
|
+
*
|
|
181
|
+
* @generated from field: int64 default_limit = 3;
|
|
182
|
+
*/
|
|
183
|
+
defaultLimit: bigint;
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* Maximum number of tokens that can be consumed during the specified
|
|
187
|
+
* duration. Client application developers can override the default limit up
|
|
188
|
+
* to this maximum. If specified, this value cannot be set to a value less
|
|
189
|
+
* than the default limit. If not specified, it is set to the default limit.
|
|
190
|
+
*
|
|
191
|
+
* To allow clients to apply overrides with no upper bound, set this to -1,
|
|
192
|
+
* indicating unlimited maximum quota.
|
|
193
|
+
*
|
|
194
|
+
* Used by group-based quotas only.
|
|
195
|
+
*
|
|
196
|
+
* @generated from field: int64 max_limit = 4;
|
|
197
|
+
*/
|
|
198
|
+
maxLimit: bigint;
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Free tier value displayed in the Developers Console for this limit.
|
|
202
|
+
* The free tier is the number of tokens that will be subtracted from the
|
|
203
|
+
* billed amount when billing is enabled.
|
|
204
|
+
* This field can only be set on a limit with duration "1d", in a billable
|
|
205
|
+
* group; it is invalid on any other limit. If this field is not set, it
|
|
206
|
+
* defaults to 0, indicating that there is no free tier for this service.
|
|
207
|
+
*
|
|
208
|
+
* Used by group-based quotas only.
|
|
209
|
+
*
|
|
210
|
+
* @generated from field: int64 free_tier = 7;
|
|
211
|
+
*/
|
|
212
|
+
freeTier: bigint;
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* Duration of this limit in textual notation. Must be "100s" or "1d".
|
|
216
|
+
*
|
|
217
|
+
* Used by group-based quotas only.
|
|
218
|
+
*
|
|
219
|
+
* @generated from field: string duration = 5;
|
|
220
|
+
*/
|
|
221
|
+
duration: string;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* The name of the metric this quota limit applies to. The quota limits with
|
|
225
|
+
* the same metric will be checked together during runtime. The metric must be
|
|
226
|
+
* defined within the service config.
|
|
227
|
+
*
|
|
228
|
+
* @generated from field: string metric = 8;
|
|
229
|
+
*/
|
|
230
|
+
metric: string;
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* Specify the unit of the quota limit. It uses the same syntax as
|
|
234
|
+
* [Metric.unit][]. The supported unit kinds are determined by the quota
|
|
235
|
+
* backend system.
|
|
236
|
+
*
|
|
237
|
+
* Here are some examples:
|
|
238
|
+
* * "1/min/{project}" for quota per minute per project.
|
|
239
|
+
*
|
|
240
|
+
* Note: the order of unit components is insignificant.
|
|
241
|
+
* The "1" at the beginning is required to follow the metric unit syntax.
|
|
242
|
+
*
|
|
243
|
+
* @generated from field: string unit = 9;
|
|
244
|
+
*/
|
|
245
|
+
unit: string;
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* Tiered limit values. You must specify this as a key:value pair, with an
|
|
249
|
+
* integer value that is the maximum number of requests allowed for the
|
|
250
|
+
* specified unit. Currently only STANDARD is supported.
|
|
251
|
+
*
|
|
252
|
+
* @generated from field: map<string, int64> values = 10;
|
|
253
|
+
*/
|
|
254
|
+
values: { [key: string]: bigint };
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* User-visible display name for this limit.
|
|
258
|
+
* Optional. If not set, the UI will provide a default display name based on
|
|
259
|
+
* the quota configuration. This field can be used to override the default
|
|
260
|
+
* display name generated from the configuration.
|
|
261
|
+
*
|
|
262
|
+
* @generated from field: string display_name = 12;
|
|
263
|
+
*/
|
|
264
|
+
displayName: string;
|
|
265
|
+
};
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* Describes the message google.api.QuotaLimit.
|
|
269
|
+
* Use `create(QuotaLimitSchema)` to create a new message.
|
|
270
|
+
*/
|
|
271
|
+
export declare const QuotaLimitSchema: GenMessage<QuotaLimit>;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// Copyright 2015 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
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts"
|
|
16
|
+
// @generated from file google/api/quota.proto (package google.api, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
|
|
19
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Describes the file google/api/quota.proto.
|
|
23
|
+
*/
|
|
24
|
+
export const file_google_api_quota = /*@__PURE__*/
|
|
25
|
+
fileDesc("ChZnb29nbGUvYXBpL3F1b3RhLnByb3RvEgpnb29nbGUuYXBpIl0KBVF1b3RhEiYKBmxpbWl0cxgDIAMoCzIWLmdvb2dsZS5hcGkuUXVvdGFMaW1pdBIsCgxtZXRyaWNfcnVsZXMYBCADKAsyFi5nb29nbGUuYXBpLk1ldHJpY1J1bGUikQEKCk1ldHJpY1J1bGUSEAoIc2VsZWN0b3IYASABKAkSPQoMbWV0cmljX2Nvc3RzGAIgAygLMicuZ29vZ2xlLmFwaS5NZXRyaWNSdWxlLk1ldHJpY0Nvc3RzRW50cnkaMgoQTWV0cmljQ29zdHNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAM6AjgBIpUCCgpRdW90YUxpbWl0EgwKBG5hbWUYBiABKAkSEwoLZGVzY3JpcHRpb24YAiABKAkSFQoNZGVmYXVsdF9saW1pdBgDIAEoAxIRCgltYXhfbGltaXQYBCABKAMSEQoJZnJlZV90aWVyGAcgASgDEhAKCGR1cmF0aW9uGAUgASgJEg4KBm1ldHJpYxgIIAEoCRIMCgR1bml0GAkgASgJEjIKBnZhbHVlcxgKIAMoCzIiLmdvb2dsZS5hcGkuUXVvdGFMaW1pdC5WYWx1ZXNFbnRyeRIUCgxkaXNwbGF5X25hbWUYDCABKAkaLQoLVmFsdWVzRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgDOgI4AUJsCg5jb20uZ29vZ2xlLmFwaUIKUXVvdGFQcm90b1ABWkVnb29nbGUuZ29sYW5nLm9yZy9nZW5wcm90by9nb29nbGVhcGlzL2FwaS9zZXJ2aWNlY29uZmlnO3NlcnZpY2Vjb25maWeiAgRHQVBJYgZwcm90bzM");
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Describes the message google.api.Quota.
|
|
29
|
+
* Use `create(QuotaSchema)` to create a new message.
|
|
30
|
+
*/
|
|
31
|
+
export const QuotaSchema = /*@__PURE__*/
|
|
32
|
+
messageDesc(file_google_api_quota, 0);
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Describes the message google.api.MetricRule.
|
|
36
|
+
* Use `create(MetricRuleSchema)` to create a new message.
|
|
37
|
+
*/
|
|
38
|
+
export const MetricRuleSchema = /*@__PURE__*/
|
|
39
|
+
messageDesc(file_google_api_quota, 1);
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Describes the message google.api.QuotaLimit.
|
|
43
|
+
* Use `create(QuotaLimitSchema)` to create a new message.
|
|
44
|
+
*/
|
|
45
|
+
export const QuotaLimitSchema = /*@__PURE__*/
|
|
46
|
+
messageDesc(file_google_api_quota, 2);
|