@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,50 @@
|
|
|
1
|
+
// Copyright 2021 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/servicecontrol/v1/operation.proto (package google.api.servicecontrol.v1, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
|
|
19
|
+
import { enumDesc, fileDesc, messageDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
20
|
+
import { file_google_api_servicecontrol_v1_log_entry } from "./log_entry_pb";
|
|
21
|
+
import { file_google_api_servicecontrol_v1_metric_value } from "./metric_value_pb";
|
|
22
|
+
import { file_google_protobuf_any } from "../../../protobuf/any_pb";
|
|
23
|
+
import { file_google_protobuf_timestamp } from "../../../protobuf/timestamp_pb";
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Describes the file google/api/servicecontrol/v1/operation.proto.
|
|
27
|
+
*/
|
|
28
|
+
export const file_google_api_servicecontrol_v1_operation = /*@__PURE__*/
|
|
29
|
+
fileDesc("Cixnb29nbGUvYXBpL3NlcnZpY2Vjb250cm9sL3YxL29wZXJhdGlvbi5wcm90bxIcZ29vZ2xlLmFwaS5zZXJ2aWNlY29udHJvbC52MSK5BAoJT3BlcmF0aW9uEhQKDG9wZXJhdGlvbl9pZBgBIAEoCRIWCg5vcGVyYXRpb25fbmFtZRgCIAEoCRITCgtjb25zdW1lcl9pZBgDIAEoCRIuCgpzdGFydF90aW1lGAQgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIsCghlbmRfdGltZRgFIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASQwoGbGFiZWxzGAYgAygLMjMuZ29vZ2xlLmFwaS5zZXJ2aWNlY29udHJvbC52MS5PcGVyYXRpb24uTGFiZWxzRW50cnkSRwoRbWV0cmljX3ZhbHVlX3NldHMYByADKAsyLC5nb29nbGUuYXBpLnNlcnZpY2Vjb250cm9sLnYxLk1ldHJpY1ZhbHVlU2V0EjsKC2xvZ19lbnRyaWVzGAggAygLMiYuZ29vZ2xlLmFwaS5zZXJ2aWNlY29udHJvbC52MS5Mb2dFbnRyeRJGCgppbXBvcnRhbmNlGAsgASgOMjIuZ29vZ2xlLmFwaS5zZXJ2aWNlY29udHJvbC52MS5PcGVyYXRpb24uSW1wb3J0YW5jZRIoCgpleHRlbnNpb25zGBAgAygLMhQuZ29vZ2xlLnByb3RvYnVmLkFueRotCgtMYWJlbHNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIh8KCkltcG9ydGFuY2USBwoDTE9XEAASCAoESElHSBABQukBCiBjb20uZ29vZ2xlLmFwaS5zZXJ2aWNlY29udHJvbC52MUIOT3BlcmF0aW9uUHJvdG9QAVpKZ29vZ2xlLmdvbGFuZy5vcmcvZ2VucHJvdG8vZ29vZ2xlYXBpcy9hcGkvc2VydmljZWNvbnRyb2wvdjE7c2VydmljZWNvbnRyb2z4AQGqAh5Hb29nbGUuQ2xvdWQuU2VydmljZUNvbnRyb2wuVjHKAh5Hb29nbGVcQ2xvdWRcU2VydmljZUNvbnRyb2xcVjHqAiFHb29nbGU6OkNsb3VkOjpTZXJ2aWNlQ29udHJvbDo6VjFiBnByb3RvMw", [file_google_api_servicecontrol_v1_log_entry, file_google_api_servicecontrol_v1_metric_value, file_google_protobuf_any, file_google_protobuf_timestamp]);
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Describes the message google.api.servicecontrol.v1.Operation.
|
|
33
|
+
* Use `create(OperationSchema)` to create a new message.
|
|
34
|
+
*/
|
|
35
|
+
export const OperationSchema = /*@__PURE__*/
|
|
36
|
+
messageDesc(file_google_api_servicecontrol_v1_operation, 0);
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Describes the enum google.api.servicecontrol.v1.Operation.Importance.
|
|
40
|
+
*/
|
|
41
|
+
export const Operation_ImportanceSchema = /*@__PURE__*/
|
|
42
|
+
enumDesc(file_google_api_servicecontrol_v1_operation, 0, 0);
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Defines the importance of the data contained in the operation.
|
|
46
|
+
*
|
|
47
|
+
* @generated from enum google.api.servicecontrol.v1.Operation.Importance
|
|
48
|
+
*/
|
|
49
|
+
export const Operation_Importance = /*@__PURE__*/
|
|
50
|
+
tsEnum(Operation_ImportanceSchema);
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// Copyright 2021 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-connect-es v1.7.0 with parameter "target=js+dts"
|
|
16
|
+
// @generated from file google/api/servicecontrol/v1/quota_controller.proto (package google.api.servicecontrol.v1, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import { AllocateQuotaRequest, AllocateQuotaResponse } from "./quota_controller_pb.js";
|
|
21
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* [Google Quota Control API](/service-control/overview)
|
|
25
|
+
*
|
|
26
|
+
* Allows clients to allocate and release quota against a [managed
|
|
27
|
+
* service](https://cloud.google.com/service-management/reference/rpc/google.api/servicemanagement.v1#google.api.servicemanagement.v1.ManagedService).
|
|
28
|
+
*
|
|
29
|
+
* @generated from service google.api.servicecontrol.v1.QuotaController
|
|
30
|
+
*/
|
|
31
|
+
export declare const QuotaController: {
|
|
32
|
+
readonly typeName: "google.api.servicecontrol.v1.QuotaController",
|
|
33
|
+
readonly methods: {
|
|
34
|
+
/**
|
|
35
|
+
* Attempts to allocate quota for the specified consumer. It should be called
|
|
36
|
+
* before the operation is executed.
|
|
37
|
+
*
|
|
38
|
+
* This method requires the `servicemanagement.services.quota`
|
|
39
|
+
* permission on the specified service. For more information, see
|
|
40
|
+
* [Cloud IAM](https://cloud.google.com/iam).
|
|
41
|
+
*
|
|
42
|
+
* **NOTE:** The client **must** fail-open on server errors `INTERNAL`,
|
|
43
|
+
* `UNKNOWN`, `DEADLINE_EXCEEDED`, and `UNAVAILABLE`. To ensure system
|
|
44
|
+
* reliability, the server may inject these errors to prohibit any hard
|
|
45
|
+
* dependency on the quota functionality.
|
|
46
|
+
*
|
|
47
|
+
* @generated from rpc google.api.servicecontrol.v1.QuotaController.AllocateQuota
|
|
48
|
+
*/
|
|
49
|
+
readonly allocateQuota: {
|
|
50
|
+
readonly name: "AllocateQuota",
|
|
51
|
+
readonly I: typeof AllocateQuotaRequest,
|
|
52
|
+
readonly O: typeof AllocateQuotaResponse,
|
|
53
|
+
readonly kind: MethodKind.Unary,
|
|
54
|
+
},
|
|
55
|
+
}
|
|
56
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
// Copyright 2021 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-connect-es v1.7.0 with parameter "target=js+dts"
|
|
16
|
+
// @generated from file google/api/servicecontrol/v1/quota_controller.proto (package google.api.servicecontrol.v1, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import { AllocateQuotaRequest, AllocateQuotaResponse } from "./quota_controller_pb.js";
|
|
21
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* [Google Quota Control API](/service-control/overview)
|
|
25
|
+
*
|
|
26
|
+
* Allows clients to allocate and release quota against a [managed
|
|
27
|
+
* service](https://cloud.google.com/service-management/reference/rpc/google.api/servicemanagement.v1#google.api.servicemanagement.v1.ManagedService).
|
|
28
|
+
*
|
|
29
|
+
* @generated from service google.api.servicecontrol.v1.QuotaController
|
|
30
|
+
*/
|
|
31
|
+
export const QuotaController = {
|
|
32
|
+
typeName: "google.api.servicecontrol.v1.QuotaController",
|
|
33
|
+
methods: {
|
|
34
|
+
/**
|
|
35
|
+
* Attempts to allocate quota for the specified consumer. It should be called
|
|
36
|
+
* before the operation is executed.
|
|
37
|
+
*
|
|
38
|
+
* This method requires the `servicemanagement.services.quota`
|
|
39
|
+
* permission on the specified service. For more information, see
|
|
40
|
+
* [Cloud IAM](https://cloud.google.com/iam).
|
|
41
|
+
*
|
|
42
|
+
* **NOTE:** The client **must** fail-open on server errors `INTERNAL`,
|
|
43
|
+
* `UNKNOWN`, `DEADLINE_EXCEEDED`, and `UNAVAILABLE`. To ensure system
|
|
44
|
+
* reliability, the server may inject these errors to prohibit any hard
|
|
45
|
+
* dependency on the quota functionality.
|
|
46
|
+
*
|
|
47
|
+
* @generated from rpc google.api.servicecontrol.v1.QuotaController.AllocateQuota
|
|
48
|
+
*/
|
|
49
|
+
allocateQuota: {
|
|
50
|
+
name: "AllocateQuota",
|
|
51
|
+
I: AllocateQuotaRequest,
|
|
52
|
+
O: AllocateQuotaResponse,
|
|
53
|
+
kind: MethodKind.Unary,
|
|
54
|
+
},
|
|
55
|
+
}
|
|
56
|
+
};
|
|
@@ -0,0 +1,417 @@
|
|
|
1
|
+
// Copyright 2021 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/servicecontrol/v1/quota_controller.proto (package google.api.servicecontrol.v1, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
|
|
19
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
20
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
21
|
+
import type { MetricValueSet } from "./metric_value_pb";
|
|
22
|
+
import type { Status } from "../../../rpc/status_pb";
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Describes the file google/api/servicecontrol/v1/quota_controller.proto.
|
|
26
|
+
*/
|
|
27
|
+
export declare const file_google_api_servicecontrol_v1_quota_controller: GenFile;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Request message for the AllocateQuota method.
|
|
31
|
+
*
|
|
32
|
+
* @generated from message google.api.servicecontrol.v1.AllocateQuotaRequest
|
|
33
|
+
*/
|
|
34
|
+
export declare type AllocateQuotaRequest = Message<"google.api.servicecontrol.v1.AllocateQuotaRequest"> & {
|
|
35
|
+
/**
|
|
36
|
+
* Name of the service as specified in the service configuration. For example,
|
|
37
|
+
* `"pubsub.googleapis.com"`.
|
|
38
|
+
*
|
|
39
|
+
* See [google.api.Service][google.api.Service] for the definition of a service name.
|
|
40
|
+
*
|
|
41
|
+
* @generated from field: string service_name = 1;
|
|
42
|
+
*/
|
|
43
|
+
serviceName: string;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Operation that describes the quota allocation.
|
|
47
|
+
*
|
|
48
|
+
* @generated from field: google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;
|
|
49
|
+
*/
|
|
50
|
+
allocateOperation?: QuotaOperation;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Specifies which version of service configuration should be used to process
|
|
54
|
+
* the request. If unspecified or no matching version can be found, the latest
|
|
55
|
+
* one will be used.
|
|
56
|
+
*
|
|
57
|
+
* @generated from field: string service_config_id = 4;
|
|
58
|
+
*/
|
|
59
|
+
serviceConfigId: string;
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Describes the message google.api.servicecontrol.v1.AllocateQuotaRequest.
|
|
64
|
+
* Use `create(AllocateQuotaRequestSchema)` to create a new message.
|
|
65
|
+
*/
|
|
66
|
+
export declare const AllocateQuotaRequestSchema: GenMessage<AllocateQuotaRequest>;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Represents information regarding a quota operation.
|
|
70
|
+
*
|
|
71
|
+
* @generated from message google.api.servicecontrol.v1.QuotaOperation
|
|
72
|
+
*/
|
|
73
|
+
export declare type QuotaOperation = Message<"google.api.servicecontrol.v1.QuotaOperation"> & {
|
|
74
|
+
/**
|
|
75
|
+
* Identity of the operation. This is expected to be unique within the scope
|
|
76
|
+
* of the service that generated the operation, and guarantees idempotency in
|
|
77
|
+
* case of retries.
|
|
78
|
+
*
|
|
79
|
+
* In order to ensure best performance and latency in the Quota backends,
|
|
80
|
+
* operation_ids are optimally associated with time, so that related
|
|
81
|
+
* operations can be accessed fast in storage. For this reason, the
|
|
82
|
+
* recommended token for services that intend to operate at a high QPS is
|
|
83
|
+
* Unix time in nanos + UUID
|
|
84
|
+
*
|
|
85
|
+
* @generated from field: string operation_id = 1;
|
|
86
|
+
*/
|
|
87
|
+
operationId: string;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Fully qualified name of the API method for which this quota operation is
|
|
91
|
+
* requested. This name is used for matching quota rules or metric rules and
|
|
92
|
+
* billing status rules defined in service configuration.
|
|
93
|
+
*
|
|
94
|
+
* This field should not be set if any of the following is true:
|
|
95
|
+
* (1) the quota operation is performed on non-API resources.
|
|
96
|
+
* (2) quota_metrics is set because the caller is doing quota override.
|
|
97
|
+
*
|
|
98
|
+
*
|
|
99
|
+
* Example of an RPC method name:
|
|
100
|
+
* google.example.library.v1.LibraryService.CreateShelf
|
|
101
|
+
*
|
|
102
|
+
* @generated from field: string method_name = 2;
|
|
103
|
+
*/
|
|
104
|
+
methodName: string;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Identity of the consumer for whom this quota operation is being performed.
|
|
108
|
+
*
|
|
109
|
+
* This can be in one of the following formats:
|
|
110
|
+
* project:<project_id>,
|
|
111
|
+
* project_number:<project_number>,
|
|
112
|
+
* api_key:<api_key>.
|
|
113
|
+
*
|
|
114
|
+
* @generated from field: string consumer_id = 3;
|
|
115
|
+
*/
|
|
116
|
+
consumerId: string;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Labels describing the operation.
|
|
120
|
+
*
|
|
121
|
+
* @generated from field: map<string, string> labels = 4;
|
|
122
|
+
*/
|
|
123
|
+
labels: { [key: string]: string };
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* Represents information about this operation. Each MetricValueSet
|
|
127
|
+
* corresponds to a metric defined in the service configuration.
|
|
128
|
+
* The data type used in the MetricValueSet must agree with
|
|
129
|
+
* the data type specified in the metric definition.
|
|
130
|
+
*
|
|
131
|
+
* Within a single operation, it is not allowed to have more than one
|
|
132
|
+
* MetricValue instances that have the same metric names and identical
|
|
133
|
+
* label value combinations. If a request has such duplicated MetricValue
|
|
134
|
+
* instances, the entire request is rejected with
|
|
135
|
+
* an invalid argument error.
|
|
136
|
+
*
|
|
137
|
+
* This field is mutually exclusive with method_name.
|
|
138
|
+
*
|
|
139
|
+
* @generated from field: repeated google.api.servicecontrol.v1.MetricValueSet quota_metrics = 5;
|
|
140
|
+
*/
|
|
141
|
+
quotaMetrics: MetricValueSet[];
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Quota mode for this operation.
|
|
145
|
+
*
|
|
146
|
+
* @generated from field: google.api.servicecontrol.v1.QuotaOperation.QuotaMode quota_mode = 6;
|
|
147
|
+
*/
|
|
148
|
+
quotaMode: QuotaOperation_QuotaMode;
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Describes the message google.api.servicecontrol.v1.QuotaOperation.
|
|
153
|
+
* Use `create(QuotaOperationSchema)` to create a new message.
|
|
154
|
+
*/
|
|
155
|
+
export declare const QuotaOperationSchema: GenMessage<QuotaOperation>;
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Supported quota modes.
|
|
159
|
+
*
|
|
160
|
+
* @generated from enum google.api.servicecontrol.v1.QuotaOperation.QuotaMode
|
|
161
|
+
*/
|
|
162
|
+
export enum QuotaOperation_QuotaMode {
|
|
163
|
+
/**
|
|
164
|
+
* Guard against implicit default. Must not be used.
|
|
165
|
+
*
|
|
166
|
+
* @generated from enum value: UNSPECIFIED = 0;
|
|
167
|
+
*/
|
|
168
|
+
UNSPECIFIED = 0,
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* For AllocateQuota request, allocates quota for the amount specified in
|
|
172
|
+
* the service configuration or specified using the quota metrics. If the
|
|
173
|
+
* amount is higher than the available quota, allocation error will be
|
|
174
|
+
* returned and no quota will be allocated.
|
|
175
|
+
* If multiple quotas are part of the request, and one fails, none of the
|
|
176
|
+
* quotas are allocated or released.
|
|
177
|
+
*
|
|
178
|
+
* @generated from enum value: NORMAL = 1;
|
|
179
|
+
*/
|
|
180
|
+
NORMAL = 1,
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* The operation allocates quota for the amount specified in the service
|
|
184
|
+
* configuration or specified using the quota metrics. If the amount is
|
|
185
|
+
* higher than the available quota, request does not fail but all available
|
|
186
|
+
* quota will be allocated.
|
|
187
|
+
* For rate quota, BEST_EFFORT will continue to deduct from other groups
|
|
188
|
+
* even if one does not have enough quota. For allocation, it will find the
|
|
189
|
+
* minimum available amount across all groups and deduct that amount from
|
|
190
|
+
* all the affected groups.
|
|
191
|
+
*
|
|
192
|
+
* @generated from enum value: BEST_EFFORT = 2;
|
|
193
|
+
*/
|
|
194
|
+
BEST_EFFORT = 2,
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* For AllocateQuota request, only checks if there is enough quota
|
|
198
|
+
* available and does not change the available quota. No lock is placed on
|
|
199
|
+
* the available quota either.
|
|
200
|
+
*
|
|
201
|
+
* @generated from enum value: CHECK_ONLY = 3;
|
|
202
|
+
*/
|
|
203
|
+
CHECK_ONLY = 3,
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Unimplemented. When used in AllocateQuotaRequest, this returns the
|
|
207
|
+
* effective quota limit(s) in the response, and no quota check will be
|
|
208
|
+
* performed. Not supported for other requests, and even for
|
|
209
|
+
* AllocateQuotaRequest, this is currently supported only for allowlisted
|
|
210
|
+
* services.
|
|
211
|
+
*
|
|
212
|
+
* @generated from enum value: QUERY_ONLY = 4;
|
|
213
|
+
*/
|
|
214
|
+
QUERY_ONLY = 4,
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* The operation allocates quota for the amount specified in the service
|
|
218
|
+
* configuration or specified using the quota metrics. If the requested
|
|
219
|
+
* amount is higher than the available quota, request does not fail and
|
|
220
|
+
* remaining quota would become negative (going over the limit).
|
|
221
|
+
* Not supported for Rate Quota.
|
|
222
|
+
*
|
|
223
|
+
* @generated from enum value: ADJUST_ONLY = 5;
|
|
224
|
+
*/
|
|
225
|
+
ADJUST_ONLY = 5,
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* Describes the enum google.api.servicecontrol.v1.QuotaOperation.QuotaMode.
|
|
230
|
+
*/
|
|
231
|
+
export declare const QuotaOperation_QuotaModeSchema: GenEnum<QuotaOperation_QuotaMode>;
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* Response message for the AllocateQuota method.
|
|
235
|
+
*
|
|
236
|
+
* @generated from message google.api.servicecontrol.v1.AllocateQuotaResponse
|
|
237
|
+
*/
|
|
238
|
+
export declare type AllocateQuotaResponse = Message<"google.api.servicecontrol.v1.AllocateQuotaResponse"> & {
|
|
239
|
+
/**
|
|
240
|
+
* The same operation_id value used in the AllocateQuotaRequest. Used for
|
|
241
|
+
* logging and diagnostics purposes.
|
|
242
|
+
*
|
|
243
|
+
* @generated from field: string operation_id = 1;
|
|
244
|
+
*/
|
|
245
|
+
operationId: string;
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* Indicates the decision of the allocate.
|
|
249
|
+
*
|
|
250
|
+
* @generated from field: repeated google.api.servicecontrol.v1.QuotaError allocate_errors = 2;
|
|
251
|
+
*/
|
|
252
|
+
allocateErrors: QuotaError[];
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* Quota metrics to indicate the result of allocation. Depending on the
|
|
256
|
+
* request, one or more of the following metrics will be included:
|
|
257
|
+
*
|
|
258
|
+
* 1. Per quota group or per quota metric incremental usage will be specified
|
|
259
|
+
* using the following delta metric :
|
|
260
|
+
* "serviceruntime.googleapis.com/api/consumer/quota_used_count"
|
|
261
|
+
*
|
|
262
|
+
* 2. The quota limit reached condition will be specified using the following
|
|
263
|
+
* boolean metric :
|
|
264
|
+
* "serviceruntime.googleapis.com/quota/exceeded"
|
|
265
|
+
*
|
|
266
|
+
* @generated from field: repeated google.api.servicecontrol.v1.MetricValueSet quota_metrics = 3;
|
|
267
|
+
*/
|
|
268
|
+
quotaMetrics: MetricValueSet[];
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* ID of the actual config used to process the request.
|
|
272
|
+
*
|
|
273
|
+
* @generated from field: string service_config_id = 4;
|
|
274
|
+
*/
|
|
275
|
+
serviceConfigId: string;
|
|
276
|
+
};
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* Describes the message google.api.servicecontrol.v1.AllocateQuotaResponse.
|
|
280
|
+
* Use `create(AllocateQuotaResponseSchema)` to create a new message.
|
|
281
|
+
*/
|
|
282
|
+
export declare const AllocateQuotaResponseSchema: GenMessage<AllocateQuotaResponse>;
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* Represents error information for [QuotaOperation][google.api.servicecontrol.v1.QuotaOperation].
|
|
286
|
+
*
|
|
287
|
+
* @generated from message google.api.servicecontrol.v1.QuotaError
|
|
288
|
+
*/
|
|
289
|
+
export declare type QuotaError = Message<"google.api.servicecontrol.v1.QuotaError"> & {
|
|
290
|
+
/**
|
|
291
|
+
* Error code.
|
|
292
|
+
*
|
|
293
|
+
* @generated from field: google.api.servicecontrol.v1.QuotaError.Code code = 1;
|
|
294
|
+
*/
|
|
295
|
+
code: QuotaError_Code;
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* Subject to whom this error applies. See the specific enum for more details
|
|
299
|
+
* on this field. For example, "clientip:<ip address of client>" or
|
|
300
|
+
* "project:<Google developer project id>".
|
|
301
|
+
*
|
|
302
|
+
* @generated from field: string subject = 2;
|
|
303
|
+
*/
|
|
304
|
+
subject: string;
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* Free-form text that provides details on the cause of the error.
|
|
308
|
+
*
|
|
309
|
+
* @generated from field: string description = 3;
|
|
310
|
+
*/
|
|
311
|
+
description: string;
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* Contains additional information about the quota error.
|
|
315
|
+
* If available, `status.code` will be non zero.
|
|
316
|
+
*
|
|
317
|
+
* @generated from field: google.rpc.Status status = 4;
|
|
318
|
+
*/
|
|
319
|
+
status?: Status;
|
|
320
|
+
};
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* Describes the message google.api.servicecontrol.v1.QuotaError.
|
|
324
|
+
* Use `create(QuotaErrorSchema)` to create a new message.
|
|
325
|
+
*/
|
|
326
|
+
export declare const QuotaErrorSchema: GenMessage<QuotaError>;
|
|
327
|
+
|
|
328
|
+
/**
|
|
329
|
+
* Error codes related to project config validations are deprecated since the
|
|
330
|
+
* quota controller methods do not perform these validations. Instead services
|
|
331
|
+
* have to call the Check method, without quota_properties field, to perform
|
|
332
|
+
* these validations before calling the quota controller methods. These
|
|
333
|
+
* methods check only for project deletion to be wipe out compliant.
|
|
334
|
+
*
|
|
335
|
+
* @generated from enum google.api.servicecontrol.v1.QuotaError.Code
|
|
336
|
+
*/
|
|
337
|
+
export enum QuotaError_Code {
|
|
338
|
+
/**
|
|
339
|
+
* This is never used.
|
|
340
|
+
*
|
|
341
|
+
* @generated from enum value: UNSPECIFIED = 0;
|
|
342
|
+
*/
|
|
343
|
+
UNSPECIFIED = 0,
|
|
344
|
+
|
|
345
|
+
/**
|
|
346
|
+
* Quota allocation failed.
|
|
347
|
+
* Same as [google.rpc.Code.RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED].
|
|
348
|
+
*
|
|
349
|
+
* @generated from enum value: RESOURCE_EXHAUSTED = 8;
|
|
350
|
+
*/
|
|
351
|
+
RESOURCE_EXHAUSTED = 8,
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* Consumer cannot access the service because the service requires active
|
|
355
|
+
* billing.
|
|
356
|
+
*
|
|
357
|
+
* @generated from enum value: BILLING_NOT_ACTIVE = 107;
|
|
358
|
+
*/
|
|
359
|
+
BILLING_NOT_ACTIVE = 107,
|
|
360
|
+
|
|
361
|
+
/**
|
|
362
|
+
* Consumer's project has been marked as deleted (soft deletion).
|
|
363
|
+
*
|
|
364
|
+
* @generated from enum value: PROJECT_DELETED = 108;
|
|
365
|
+
*/
|
|
366
|
+
PROJECT_DELETED = 108,
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* Specified API key is invalid.
|
|
370
|
+
*
|
|
371
|
+
* @generated from enum value: API_KEY_INVALID = 105;
|
|
372
|
+
*/
|
|
373
|
+
API_KEY_INVALID = 105,
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* Specified API Key has expired.
|
|
377
|
+
*
|
|
378
|
+
* @generated from enum value: API_KEY_EXPIRED = 112;
|
|
379
|
+
*/
|
|
380
|
+
API_KEY_EXPIRED = 112,
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
/**
|
|
384
|
+
* Describes the enum google.api.servicecontrol.v1.QuotaError.Code.
|
|
385
|
+
*/
|
|
386
|
+
export declare const QuotaError_CodeSchema: GenEnum<QuotaError_Code>;
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* [Google Quota Control API](/service-control/overview)
|
|
390
|
+
*
|
|
391
|
+
* Allows clients to allocate and release quota against a [managed
|
|
392
|
+
* service](https://cloud.google.com/service-management/reference/rpc/google.api/servicemanagement.v1#google.api.servicemanagement.v1.ManagedService).
|
|
393
|
+
*
|
|
394
|
+
* @generated from service google.api.servicecontrol.v1.QuotaController
|
|
395
|
+
*/
|
|
396
|
+
export declare const QuotaController: GenService<{
|
|
397
|
+
/**
|
|
398
|
+
* Attempts to allocate quota for the specified consumer. It should be called
|
|
399
|
+
* before the operation is executed.
|
|
400
|
+
*
|
|
401
|
+
* This method requires the `servicemanagement.services.quota`
|
|
402
|
+
* permission on the specified service. For more information, see
|
|
403
|
+
* [Cloud IAM](https://cloud.google.com/iam).
|
|
404
|
+
*
|
|
405
|
+
* **NOTE:** The client **must** fail-open on server errors `INTERNAL`,
|
|
406
|
+
* `UNKNOWN`, `DEADLINE_EXCEEDED`, and `UNAVAILABLE`. To ensure system
|
|
407
|
+
* reliability, the server may inject these errors to prohibit any hard
|
|
408
|
+
* dependency on the quota functionality.
|
|
409
|
+
*
|
|
410
|
+
* @generated from rpc google.api.servicecontrol.v1.QuotaController.AllocateQuota
|
|
411
|
+
*/
|
|
412
|
+
allocateQuota: {
|
|
413
|
+
methodKind: "unary";
|
|
414
|
+
input: typeof AllocateQuotaRequestSchema;
|
|
415
|
+
output: typeof AllocateQuotaResponseSchema;
|
|
416
|
+
},
|
|
417
|
+
}>;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
// Copyright 2021 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/servicecontrol/v1/quota_controller.proto (package google.api.servicecontrol.v1, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
|
|
19
|
+
import { enumDesc, fileDesc, messageDesc, serviceDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
20
|
+
import { file_google_api_annotations } from "../../annotations_pb";
|
|
21
|
+
import { file_google_api_servicecontrol_v1_metric_value } from "./metric_value_pb";
|
|
22
|
+
import { file_google_rpc_status } from "../../../rpc/status_pb";
|
|
23
|
+
import { file_google_api_client } from "../../client_pb";
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Describes the file google/api/servicecontrol/v1/quota_controller.proto.
|
|
27
|
+
*/
|
|
28
|
+
export const file_google_api_servicecontrol_v1_quota_controller = /*@__PURE__*/
|
|
29
|
+
fileDesc("CjNnb29nbGUvYXBpL3NlcnZpY2Vjb250cm9sL3YxL3F1b3RhX2NvbnRyb2xsZXIucHJvdG8SHGdvb2dsZS5hcGkuc2VydmljZWNvbnRyb2wudjEikQEKFEFsbG9jYXRlUXVvdGFSZXF1ZXN0EhQKDHNlcnZpY2VfbmFtZRgBIAEoCRJIChJhbGxvY2F0ZV9vcGVyYXRpb24YAiABKAsyLC5nb29nbGUuYXBpLnNlcnZpY2Vjb250cm9sLnYxLlF1b3RhT3BlcmF0aW9uEhkKEXNlcnZpY2VfY29uZmlnX2lkGAQgASgJIsYDCg5RdW90YU9wZXJhdGlvbhIUCgxvcGVyYXRpb25faWQYASABKAkSEwoLbWV0aG9kX25hbWUYAiABKAkSEwoLY29uc3VtZXJfaWQYAyABKAkSSAoGbGFiZWxzGAQgAygLMjguZ29vZ2xlLmFwaS5zZXJ2aWNlY29udHJvbC52MS5RdW90YU9wZXJhdGlvbi5MYWJlbHNFbnRyeRJDCg1xdW90YV9tZXRyaWNzGAUgAygLMiwuZ29vZ2xlLmFwaS5zZXJ2aWNlY29udHJvbC52MS5NZXRyaWNWYWx1ZVNldBJKCgpxdW90YV9tb2RlGAYgASgOMjYuZ29vZ2xlLmFwaS5zZXJ2aWNlY29udHJvbC52MS5RdW90YU9wZXJhdGlvbi5RdW90YU1vZGUaLQoLTGFiZWxzRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4ASJqCglRdW90YU1vZGUSDwoLVU5TUEVDSUZJRUQQABIKCgZOT1JNQUwQARIPCgtCRVNUX0VGRk9SVBACEg4KCkNIRUNLX09OTFkQAxIOCgpRVUVSWV9PTkxZEAQSDwoLQURKVVNUX09OTFkQBSLQAQoVQWxsb2NhdGVRdW90YVJlc3BvbnNlEhQKDG9wZXJhdGlvbl9pZBgBIAEoCRJBCg9hbGxvY2F0ZV9lcnJvcnMYAiADKAsyKC5nb29nbGUuYXBpLnNlcnZpY2Vjb250cm9sLnYxLlF1b3RhRXJyb3ISQwoNcXVvdGFfbWV0cmljcxgDIAMoCzIsLmdvb2dsZS5hcGkuc2VydmljZWNvbnRyb2wudjEuTWV0cmljVmFsdWVTZXQSGQoRc2VydmljZV9jb25maWdfaWQYBCABKAkinAIKClF1b3RhRXJyb3ISOwoEY29kZRgBIAEoDjItLmdvb2dsZS5hcGkuc2VydmljZWNvbnRyb2wudjEuUXVvdGFFcnJvci5Db2RlEg8KB3N1YmplY3QYAiABKAkSEwoLZGVzY3JpcHRpb24YAyABKAkSIgoGc3RhdHVzGAQgASgLMhIuZ29vZ2xlLnJwYy5TdGF0dXMihgEKBENvZGUSDwoLVU5TUEVDSUZJRUQQABIWChJSRVNPVVJDRV9FWEhBVVNURUQQCBIWChJCSUxMSU5HX05PVF9BQ1RJVkUQaxITCg9QUk9KRUNUX0RFTEVURUQQbBITCg9BUElfS0VZX0lOVkFMSUQQaRITCg9BUElfS0VZX0VYUElSRUQQcDLFAgoPUXVvdGFDb250cm9sbGVyEq4BCg1BbGxvY2F0ZVF1b3RhEjIuZ29vZ2xlLmFwaS5zZXJ2aWNlY29udHJvbC52MS5BbGxvY2F0ZVF1b3RhUmVxdWVzdBozLmdvb2dsZS5hcGkuc2VydmljZWNvbnRyb2wudjEuQWxsb2NhdGVRdW90YVJlc3BvbnNlIjSC0+STAi4iKS92MS9zZXJ2aWNlcy97c2VydmljZV9uYW1lfTphbGxvY2F0ZVF1b3RhOgEqGoABykEdc2VydmljZWNvbnRyb2wuZ29vZ2xlYXBpcy5jb23SQV1odHRwczovL3d3dy5nb29nbGVhcGlzLmNvbS9hdXRoL2Nsb3VkLXBsYXRmb3JtLGh0dHBzOi8vd3d3Lmdvb2dsZWFwaXMuY29tL2F1dGgvc2VydmljZWNvbnRyb2xC7wEKIGNvbS5nb29nbGUuYXBpLnNlcnZpY2Vjb250cm9sLnYxQhRRdW90YUNvbnRyb2xsZXJQcm90b1ABWkpnb29nbGUuZ29sYW5nLm9yZy9nZW5wcm90by9nb29nbGVhcGlzL2FwaS9zZXJ2aWNlY29udHJvbC92MTtzZXJ2aWNlY29udHJvbPgBAaoCHkdvb2dsZS5DbG91ZC5TZXJ2aWNlQ29udHJvbC5WMcoCHkdvb2dsZVxDbG91ZFxTZXJ2aWNlQ29udHJvbFxWMeoCIUdvb2dsZTo6Q2xvdWQ6OlNlcnZpY2VDb250cm9sOjpWMWIGcHJvdG8z", [file_google_api_annotations, file_google_api_servicecontrol_v1_metric_value, file_google_rpc_status, file_google_api_client]);
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Describes the message google.api.servicecontrol.v1.AllocateQuotaRequest.
|
|
33
|
+
* Use `create(AllocateQuotaRequestSchema)` to create a new message.
|
|
34
|
+
*/
|
|
35
|
+
export const AllocateQuotaRequestSchema = /*@__PURE__*/
|
|
36
|
+
messageDesc(file_google_api_servicecontrol_v1_quota_controller, 0);
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Describes the message google.api.servicecontrol.v1.QuotaOperation.
|
|
40
|
+
* Use `create(QuotaOperationSchema)` to create a new message.
|
|
41
|
+
*/
|
|
42
|
+
export const QuotaOperationSchema = /*@__PURE__*/
|
|
43
|
+
messageDesc(file_google_api_servicecontrol_v1_quota_controller, 1);
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Describes the enum google.api.servicecontrol.v1.QuotaOperation.QuotaMode.
|
|
47
|
+
*/
|
|
48
|
+
export const QuotaOperation_QuotaModeSchema = /*@__PURE__*/
|
|
49
|
+
enumDesc(file_google_api_servicecontrol_v1_quota_controller, 1, 0);
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Supported quota modes.
|
|
53
|
+
*
|
|
54
|
+
* @generated from enum google.api.servicecontrol.v1.QuotaOperation.QuotaMode
|
|
55
|
+
*/
|
|
56
|
+
export const QuotaOperation_QuotaMode = /*@__PURE__*/
|
|
57
|
+
tsEnum(QuotaOperation_QuotaModeSchema);
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Describes the message google.api.servicecontrol.v1.AllocateQuotaResponse.
|
|
61
|
+
* Use `create(AllocateQuotaResponseSchema)` to create a new message.
|
|
62
|
+
*/
|
|
63
|
+
export const AllocateQuotaResponseSchema = /*@__PURE__*/
|
|
64
|
+
messageDesc(file_google_api_servicecontrol_v1_quota_controller, 2);
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Describes the message google.api.servicecontrol.v1.QuotaError.
|
|
68
|
+
* Use `create(QuotaErrorSchema)` to create a new message.
|
|
69
|
+
*/
|
|
70
|
+
export const QuotaErrorSchema = /*@__PURE__*/
|
|
71
|
+
messageDesc(file_google_api_servicecontrol_v1_quota_controller, 3);
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Describes the enum google.api.servicecontrol.v1.QuotaError.Code.
|
|
75
|
+
*/
|
|
76
|
+
export const QuotaError_CodeSchema = /*@__PURE__*/
|
|
77
|
+
enumDesc(file_google_api_servicecontrol_v1_quota_controller, 3, 0);
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Error codes related to project config validations are deprecated since the
|
|
81
|
+
* quota controller methods do not perform these validations. Instead services
|
|
82
|
+
* have to call the Check method, without quota_properties field, to perform
|
|
83
|
+
* these validations before calling the quota controller methods. These
|
|
84
|
+
* methods check only for project deletion to be wipe out compliant.
|
|
85
|
+
*
|
|
86
|
+
* @generated from enum google.api.servicecontrol.v1.QuotaError.Code
|
|
87
|
+
*/
|
|
88
|
+
export const QuotaError_Code = /*@__PURE__*/
|
|
89
|
+
tsEnum(QuotaError_CodeSchema);
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* [Google Quota Control API](/service-control/overview)
|
|
93
|
+
*
|
|
94
|
+
* Allows clients to allocate and release quota against a [managed
|
|
95
|
+
* service](https://cloud.google.com/service-management/reference/rpc/google.api/servicemanagement.v1#google.api.servicemanagement.v1.ManagedService).
|
|
96
|
+
*
|
|
97
|
+
* @generated from service google.api.servicecontrol.v1.QuotaController
|
|
98
|
+
*/
|
|
99
|
+
export const QuotaController = /*@__PURE__*/
|
|
100
|
+
serviceDesc(file_google_api_servicecontrol_v1_quota_controller, 0);
|