@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,657 @@
|
|
|
1
|
+
// Copyright 2020 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/error_reason.proto (package google.api, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
|
|
19
|
+
import type { GenEnum, GenFile } from "@bufbuild/protobuf/codegenv2";
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Describes the file google/api/error_reason.proto.
|
|
23
|
+
*/
|
|
24
|
+
export declare const file_google_api_error_reason: GenFile;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Defines the supported values for `google.rpc.ErrorInfo.reason` for the
|
|
28
|
+
* `googleapis.com` error domain. This error domain is reserved for [Service
|
|
29
|
+
* Infrastructure](https://cloud.google.com/service-infrastructure/docs/overview).
|
|
30
|
+
* For each error info of this domain, the metadata key "service" refers to the
|
|
31
|
+
* logical identifier of an API service, such as "pubsub.googleapis.com". The
|
|
32
|
+
* "consumer" refers to the entity that consumes an API Service. It typically is
|
|
33
|
+
* a Google project that owns the client application or the server resource,
|
|
34
|
+
* such as "projects/123". Other metadata keys are specific to each error
|
|
35
|
+
* reason. For more information, see the definition of the specific error
|
|
36
|
+
* reason.
|
|
37
|
+
*
|
|
38
|
+
* @generated from enum google.api.ErrorReason
|
|
39
|
+
*/
|
|
40
|
+
export enum ErrorReason {
|
|
41
|
+
/**
|
|
42
|
+
* Do not use this default value.
|
|
43
|
+
*
|
|
44
|
+
* @generated from enum value: ERROR_REASON_UNSPECIFIED = 0;
|
|
45
|
+
*/
|
|
46
|
+
ERROR_REASON_UNSPECIFIED = 0,
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* The request is calling a disabled service for a consumer.
|
|
50
|
+
*
|
|
51
|
+
* Example of an ErrorInfo when the consumer "projects/123" contacting
|
|
52
|
+
* "pubsub.googleapis.com" service which is disabled:
|
|
53
|
+
*
|
|
54
|
+
* { "reason": "SERVICE_DISABLED",
|
|
55
|
+
* "domain": "googleapis.com",
|
|
56
|
+
* "metadata": {
|
|
57
|
+
* "consumer": "projects/123",
|
|
58
|
+
* "service": "pubsub.googleapis.com"
|
|
59
|
+
* }
|
|
60
|
+
* }
|
|
61
|
+
*
|
|
62
|
+
* This response indicates the "pubsub.googleapis.com" has been disabled in
|
|
63
|
+
* "projects/123".
|
|
64
|
+
*
|
|
65
|
+
* @generated from enum value: SERVICE_DISABLED = 1;
|
|
66
|
+
*/
|
|
67
|
+
SERVICE_DISABLED = 1,
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* The request whose associated billing account is disabled.
|
|
71
|
+
*
|
|
72
|
+
* Example of an ErrorInfo when the consumer "projects/123" fails to contact
|
|
73
|
+
* "pubsub.googleapis.com" service because the associated billing account is
|
|
74
|
+
* disabled:
|
|
75
|
+
*
|
|
76
|
+
* { "reason": "BILLING_DISABLED",
|
|
77
|
+
* "domain": "googleapis.com",
|
|
78
|
+
* "metadata": {
|
|
79
|
+
* "consumer": "projects/123",
|
|
80
|
+
* "service": "pubsub.googleapis.com"
|
|
81
|
+
* }
|
|
82
|
+
* }
|
|
83
|
+
*
|
|
84
|
+
* This response indicates the billing account associated has been disabled.
|
|
85
|
+
*
|
|
86
|
+
* @generated from enum value: BILLING_DISABLED = 2;
|
|
87
|
+
*/
|
|
88
|
+
BILLING_DISABLED = 2,
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* The request is denied because the provided [API
|
|
92
|
+
* key](https://cloud.google.com/docs/authentication/api-keys) is invalid. It
|
|
93
|
+
* may be in a bad format, cannot be found, or has been expired).
|
|
94
|
+
*
|
|
95
|
+
* Example of an ErrorInfo when the request is contacting
|
|
96
|
+
* "storage.googleapis.com" service with an invalid API key:
|
|
97
|
+
*
|
|
98
|
+
* { "reason": "API_KEY_INVALID",
|
|
99
|
+
* "domain": "googleapis.com",
|
|
100
|
+
* "metadata": {
|
|
101
|
+
* "service": "storage.googleapis.com",
|
|
102
|
+
* }
|
|
103
|
+
* }
|
|
104
|
+
*
|
|
105
|
+
* @generated from enum value: API_KEY_INVALID = 3;
|
|
106
|
+
*/
|
|
107
|
+
API_KEY_INVALID = 3,
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* The request is denied because it violates [API key API
|
|
111
|
+
* restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_api_restrictions).
|
|
112
|
+
*
|
|
113
|
+
* Example of an ErrorInfo when the consumer "projects/123" fails to call the
|
|
114
|
+
* "storage.googleapis.com" service because this service is restricted in the
|
|
115
|
+
* API key:
|
|
116
|
+
*
|
|
117
|
+
* { "reason": "API_KEY_SERVICE_BLOCKED",
|
|
118
|
+
* "domain": "googleapis.com",
|
|
119
|
+
* "metadata": {
|
|
120
|
+
* "consumer": "projects/123",
|
|
121
|
+
* "service": "storage.googleapis.com"
|
|
122
|
+
* }
|
|
123
|
+
* }
|
|
124
|
+
*
|
|
125
|
+
* @generated from enum value: API_KEY_SERVICE_BLOCKED = 4;
|
|
126
|
+
*/
|
|
127
|
+
API_KEY_SERVICE_BLOCKED = 4,
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* The request is denied because it violates [API key HTTP
|
|
131
|
+
* restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_http_restrictions).
|
|
132
|
+
*
|
|
133
|
+
* Example of an ErrorInfo when the consumer "projects/123" fails to call
|
|
134
|
+
* "storage.googleapis.com" service because the http referrer of the request
|
|
135
|
+
* violates API key HTTP restrictions:
|
|
136
|
+
*
|
|
137
|
+
* { "reason": "API_KEY_HTTP_REFERRER_BLOCKED",
|
|
138
|
+
* "domain": "googleapis.com",
|
|
139
|
+
* "metadata": {
|
|
140
|
+
* "consumer": "projects/123",
|
|
141
|
+
* "service": "storage.googleapis.com",
|
|
142
|
+
* }
|
|
143
|
+
* }
|
|
144
|
+
*
|
|
145
|
+
* @generated from enum value: API_KEY_HTTP_REFERRER_BLOCKED = 7;
|
|
146
|
+
*/
|
|
147
|
+
API_KEY_HTTP_REFERRER_BLOCKED = 7,
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* The request is denied because it violates [API key IP address
|
|
151
|
+
* restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_application_restrictions).
|
|
152
|
+
*
|
|
153
|
+
* Example of an ErrorInfo when the consumer "projects/123" fails to call
|
|
154
|
+
* "storage.googleapis.com" service because the caller IP of the request
|
|
155
|
+
* violates API key IP address restrictions:
|
|
156
|
+
*
|
|
157
|
+
* { "reason": "API_KEY_IP_ADDRESS_BLOCKED",
|
|
158
|
+
* "domain": "googleapis.com",
|
|
159
|
+
* "metadata": {
|
|
160
|
+
* "consumer": "projects/123",
|
|
161
|
+
* "service": "storage.googleapis.com",
|
|
162
|
+
* }
|
|
163
|
+
* }
|
|
164
|
+
*
|
|
165
|
+
* @generated from enum value: API_KEY_IP_ADDRESS_BLOCKED = 8;
|
|
166
|
+
*/
|
|
167
|
+
API_KEY_IP_ADDRESS_BLOCKED = 8,
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* The request is denied because it violates [API key Android application
|
|
171
|
+
* restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_application_restrictions).
|
|
172
|
+
*
|
|
173
|
+
* Example of an ErrorInfo when the consumer "projects/123" fails to call
|
|
174
|
+
* "storage.googleapis.com" service because the request from the Android apps
|
|
175
|
+
* violates the API key Android application restrictions:
|
|
176
|
+
*
|
|
177
|
+
* { "reason": "API_KEY_ANDROID_APP_BLOCKED",
|
|
178
|
+
* "domain": "googleapis.com",
|
|
179
|
+
* "metadata": {
|
|
180
|
+
* "consumer": "projects/123",
|
|
181
|
+
* "service": "storage.googleapis.com"
|
|
182
|
+
* }
|
|
183
|
+
* }
|
|
184
|
+
*
|
|
185
|
+
* @generated from enum value: API_KEY_ANDROID_APP_BLOCKED = 9;
|
|
186
|
+
*/
|
|
187
|
+
API_KEY_ANDROID_APP_BLOCKED = 9,
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* The request is denied because it violates [API key iOS application
|
|
191
|
+
* restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_application_restrictions).
|
|
192
|
+
*
|
|
193
|
+
* Example of an ErrorInfo when the consumer "projects/123" fails to call
|
|
194
|
+
* "storage.googleapis.com" service because the request from the iOS apps
|
|
195
|
+
* violates the API key iOS application restrictions:
|
|
196
|
+
*
|
|
197
|
+
* { "reason": "API_KEY_IOS_APP_BLOCKED",
|
|
198
|
+
* "domain": "googleapis.com",
|
|
199
|
+
* "metadata": {
|
|
200
|
+
* "consumer": "projects/123",
|
|
201
|
+
* "service": "storage.googleapis.com"
|
|
202
|
+
* }
|
|
203
|
+
* }
|
|
204
|
+
*
|
|
205
|
+
* @generated from enum value: API_KEY_IOS_APP_BLOCKED = 13;
|
|
206
|
+
*/
|
|
207
|
+
API_KEY_IOS_APP_BLOCKED = 13,
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* The request is denied because there is not enough rate quota for the
|
|
211
|
+
* consumer.
|
|
212
|
+
*
|
|
213
|
+
* Example of an ErrorInfo when the consumer "projects/123" fails to contact
|
|
214
|
+
* "pubsub.googleapis.com" service because consumer's rate quota usage has
|
|
215
|
+
* reached the maximum value set for the quota limit
|
|
216
|
+
* "ReadsPerMinutePerProject" on the quota metric
|
|
217
|
+
* "pubsub.googleapis.com/read_requests":
|
|
218
|
+
*
|
|
219
|
+
* { "reason": "RATE_LIMIT_EXCEEDED",
|
|
220
|
+
* "domain": "googleapis.com",
|
|
221
|
+
* "metadata": {
|
|
222
|
+
* "consumer": "projects/123",
|
|
223
|
+
* "service": "pubsub.googleapis.com",
|
|
224
|
+
* "quota_metric": "pubsub.googleapis.com/read_requests",
|
|
225
|
+
* "quota_limit": "ReadsPerMinutePerProject"
|
|
226
|
+
* }
|
|
227
|
+
* }
|
|
228
|
+
*
|
|
229
|
+
* Example of an ErrorInfo when the consumer "projects/123" checks quota on
|
|
230
|
+
* the service "dataflow.googleapis.com" and hits the organization quota
|
|
231
|
+
* limit "DefaultRequestsPerMinutePerOrganization" on the metric
|
|
232
|
+
* "dataflow.googleapis.com/default_requests".
|
|
233
|
+
*
|
|
234
|
+
* { "reason": "RATE_LIMIT_EXCEEDED",
|
|
235
|
+
* "domain": "googleapis.com",
|
|
236
|
+
* "metadata": {
|
|
237
|
+
* "consumer": "projects/123",
|
|
238
|
+
* "service": "dataflow.googleapis.com",
|
|
239
|
+
* "quota_metric": "dataflow.googleapis.com/default_requests",
|
|
240
|
+
* "quota_limit": "DefaultRequestsPerMinutePerOrganization"
|
|
241
|
+
* }
|
|
242
|
+
* }
|
|
243
|
+
*
|
|
244
|
+
* @generated from enum value: RATE_LIMIT_EXCEEDED = 5;
|
|
245
|
+
*/
|
|
246
|
+
RATE_LIMIT_EXCEEDED = 5,
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* The request is denied because there is not enough resource quota for the
|
|
250
|
+
* consumer.
|
|
251
|
+
*
|
|
252
|
+
* Example of an ErrorInfo when the consumer "projects/123" fails to contact
|
|
253
|
+
* "compute.googleapis.com" service because consumer's resource quota usage
|
|
254
|
+
* has reached the maximum value set for the quota limit "VMsPerProject"
|
|
255
|
+
* on the quota metric "compute.googleapis.com/vms":
|
|
256
|
+
*
|
|
257
|
+
* { "reason": "RESOURCE_QUOTA_EXCEEDED",
|
|
258
|
+
* "domain": "googleapis.com",
|
|
259
|
+
* "metadata": {
|
|
260
|
+
* "consumer": "projects/123",
|
|
261
|
+
* "service": "compute.googleapis.com",
|
|
262
|
+
* "quota_metric": "compute.googleapis.com/vms",
|
|
263
|
+
* "quota_limit": "VMsPerProject"
|
|
264
|
+
* }
|
|
265
|
+
* }
|
|
266
|
+
*
|
|
267
|
+
* Example of an ErrorInfo when the consumer "projects/123" checks resource
|
|
268
|
+
* quota on the service "dataflow.googleapis.com" and hits the organization
|
|
269
|
+
* quota limit "jobs-per-organization" on the metric
|
|
270
|
+
* "dataflow.googleapis.com/job_count".
|
|
271
|
+
*
|
|
272
|
+
* { "reason": "RESOURCE_QUOTA_EXCEEDED",
|
|
273
|
+
* "domain": "googleapis.com",
|
|
274
|
+
* "metadata": {
|
|
275
|
+
* "consumer": "projects/123",
|
|
276
|
+
* "service": "dataflow.googleapis.com",
|
|
277
|
+
* "quota_metric": "dataflow.googleapis.com/job_count",
|
|
278
|
+
* "quota_limit": "jobs-per-organization"
|
|
279
|
+
* }
|
|
280
|
+
* }
|
|
281
|
+
*
|
|
282
|
+
* @generated from enum value: RESOURCE_QUOTA_EXCEEDED = 6;
|
|
283
|
+
*/
|
|
284
|
+
RESOURCE_QUOTA_EXCEEDED = 6,
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* The request whose associated billing account address is in a tax restricted
|
|
288
|
+
* location, violates the local tax restrictions when creating resources in
|
|
289
|
+
* the restricted region.
|
|
290
|
+
*
|
|
291
|
+
* Example of an ErrorInfo when creating the Cloud Storage Bucket in the
|
|
292
|
+
* container "projects/123" under a tax restricted region
|
|
293
|
+
* "locations/asia-northeast3":
|
|
294
|
+
*
|
|
295
|
+
* { "reason": "LOCATION_TAX_POLICY_VIOLATED",
|
|
296
|
+
* "domain": "googleapis.com",
|
|
297
|
+
* "metadata": {
|
|
298
|
+
* "consumer": "projects/123",
|
|
299
|
+
* "service": "storage.googleapis.com",
|
|
300
|
+
* "location": "locations/asia-northeast3"
|
|
301
|
+
* }
|
|
302
|
+
* }
|
|
303
|
+
*
|
|
304
|
+
* This response indicates creating the Cloud Storage Bucket in
|
|
305
|
+
* "locations/asia-northeast3" violates the location tax restriction.
|
|
306
|
+
*
|
|
307
|
+
* @generated from enum value: LOCATION_TAX_POLICY_VIOLATED = 10;
|
|
308
|
+
*/
|
|
309
|
+
LOCATION_TAX_POLICY_VIOLATED = 10,
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* The request is denied because the caller does not have required permission
|
|
313
|
+
* on the user project "projects/123" or the user project is invalid. For more
|
|
314
|
+
* information, check the [userProject System
|
|
315
|
+
* Parameters](https://cloud.google.com/apis/docs/system-parameters).
|
|
316
|
+
*
|
|
317
|
+
* Example of an ErrorInfo when the caller is calling Cloud Storage service
|
|
318
|
+
* with insufficient permissions on the user project:
|
|
319
|
+
*
|
|
320
|
+
* { "reason": "USER_PROJECT_DENIED",
|
|
321
|
+
* "domain": "googleapis.com",
|
|
322
|
+
* "metadata": {
|
|
323
|
+
* "consumer": "projects/123",
|
|
324
|
+
* "service": "storage.googleapis.com"
|
|
325
|
+
* }
|
|
326
|
+
* }
|
|
327
|
+
*
|
|
328
|
+
* @generated from enum value: USER_PROJECT_DENIED = 11;
|
|
329
|
+
*/
|
|
330
|
+
USER_PROJECT_DENIED = 11,
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* The request is denied because the consumer "projects/123" is suspended due
|
|
334
|
+
* to Terms of Service(Tos) violations. Check [Project suspension
|
|
335
|
+
* guidelines](https://cloud.google.com/resource-manager/docs/project-suspension-guidelines)
|
|
336
|
+
* for more information.
|
|
337
|
+
*
|
|
338
|
+
* Example of an ErrorInfo when calling Cloud Storage service with the
|
|
339
|
+
* suspended consumer "projects/123":
|
|
340
|
+
*
|
|
341
|
+
* { "reason": "CONSUMER_SUSPENDED",
|
|
342
|
+
* "domain": "googleapis.com",
|
|
343
|
+
* "metadata": {
|
|
344
|
+
* "consumer": "projects/123",
|
|
345
|
+
* "service": "storage.googleapis.com"
|
|
346
|
+
* }
|
|
347
|
+
* }
|
|
348
|
+
*
|
|
349
|
+
* @generated from enum value: CONSUMER_SUSPENDED = 12;
|
|
350
|
+
*/
|
|
351
|
+
CONSUMER_SUSPENDED = 12,
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* The request is denied because the associated consumer is invalid. It may be
|
|
355
|
+
* in a bad format, cannot be found, or have been deleted.
|
|
356
|
+
*
|
|
357
|
+
* Example of an ErrorInfo when calling Cloud Storage service with the
|
|
358
|
+
* invalid consumer "projects/123":
|
|
359
|
+
*
|
|
360
|
+
* { "reason": "CONSUMER_INVALID",
|
|
361
|
+
* "domain": "googleapis.com",
|
|
362
|
+
* "metadata": {
|
|
363
|
+
* "consumer": "projects/123",
|
|
364
|
+
* "service": "storage.googleapis.com"
|
|
365
|
+
* }
|
|
366
|
+
* }
|
|
367
|
+
*
|
|
368
|
+
* @generated from enum value: CONSUMER_INVALID = 14;
|
|
369
|
+
*/
|
|
370
|
+
CONSUMER_INVALID = 14,
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
* The request is denied because it violates [VPC Service
|
|
374
|
+
* Controls](https://cloud.google.com/vpc-service-controls/docs/overview).
|
|
375
|
+
* The 'uid' field is a random generated identifier that customer can use it
|
|
376
|
+
* to search the audit log for a request rejected by VPC Service Controls. For
|
|
377
|
+
* more information, please refer [VPC Service Controls
|
|
378
|
+
* Troubleshooting](https://cloud.google.com/vpc-service-controls/docs/troubleshooting#unique-id)
|
|
379
|
+
*
|
|
380
|
+
* Example of an ErrorInfo when the consumer "projects/123" fails to call
|
|
381
|
+
* Cloud Storage service because the request is prohibited by the VPC Service
|
|
382
|
+
* Controls.
|
|
383
|
+
*
|
|
384
|
+
* { "reason": "SECURITY_POLICY_VIOLATED",
|
|
385
|
+
* "domain": "googleapis.com",
|
|
386
|
+
* "metadata": {
|
|
387
|
+
* "uid": "123456789abcde",
|
|
388
|
+
* "consumer": "projects/123",
|
|
389
|
+
* "service": "storage.googleapis.com"
|
|
390
|
+
* }
|
|
391
|
+
* }
|
|
392
|
+
*
|
|
393
|
+
* @generated from enum value: SECURITY_POLICY_VIOLATED = 15;
|
|
394
|
+
*/
|
|
395
|
+
SECURITY_POLICY_VIOLATED = 15,
|
|
396
|
+
|
|
397
|
+
/**
|
|
398
|
+
* The request is denied because the provided access token has expired.
|
|
399
|
+
*
|
|
400
|
+
* Example of an ErrorInfo when the request is calling Cloud Storage service
|
|
401
|
+
* with an expired access token:
|
|
402
|
+
*
|
|
403
|
+
* { "reason": "ACCESS_TOKEN_EXPIRED",
|
|
404
|
+
* "domain": "googleapis.com",
|
|
405
|
+
* "metadata": {
|
|
406
|
+
* "service": "storage.googleapis.com",
|
|
407
|
+
* "method": "google.storage.v1.Storage.GetObject"
|
|
408
|
+
* }
|
|
409
|
+
* }
|
|
410
|
+
*
|
|
411
|
+
* @generated from enum value: ACCESS_TOKEN_EXPIRED = 16;
|
|
412
|
+
*/
|
|
413
|
+
ACCESS_TOKEN_EXPIRED = 16,
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* The request is denied because the provided access token doesn't have at
|
|
417
|
+
* least one of the acceptable scopes required for the API. Please check
|
|
418
|
+
* [OAuth 2.0 Scopes for Google
|
|
419
|
+
* APIs](https://developers.google.com/identity/protocols/oauth2/scopes) for
|
|
420
|
+
* the list of the OAuth 2.0 scopes that you might need to request to access
|
|
421
|
+
* the API.
|
|
422
|
+
*
|
|
423
|
+
* Example of an ErrorInfo when the request is calling Cloud Storage service
|
|
424
|
+
* with an access token that is missing required scopes:
|
|
425
|
+
*
|
|
426
|
+
* { "reason": "ACCESS_TOKEN_SCOPE_INSUFFICIENT",
|
|
427
|
+
* "domain": "googleapis.com",
|
|
428
|
+
* "metadata": {
|
|
429
|
+
* "service": "storage.googleapis.com",
|
|
430
|
+
* "method": "google.storage.v1.Storage.GetObject"
|
|
431
|
+
* }
|
|
432
|
+
* }
|
|
433
|
+
*
|
|
434
|
+
* @generated from enum value: ACCESS_TOKEN_SCOPE_INSUFFICIENT = 17;
|
|
435
|
+
*/
|
|
436
|
+
ACCESS_TOKEN_SCOPE_INSUFFICIENT = 17,
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* The request is denied because the account associated with the provided
|
|
440
|
+
* access token is in an invalid state, such as disabled or deleted.
|
|
441
|
+
* For more information, see https://cloud.google.com/docs/authentication.
|
|
442
|
+
*
|
|
443
|
+
* Warning: For privacy reasons, the server may not be able to disclose the
|
|
444
|
+
* email address for some accounts. The client MUST NOT depend on the
|
|
445
|
+
* availability of the `email` attribute.
|
|
446
|
+
*
|
|
447
|
+
* Example of an ErrorInfo when the request is to the Cloud Storage API with
|
|
448
|
+
* an access token that is associated with a disabled or deleted [service
|
|
449
|
+
* account](http://cloud/iam/docs/service-accounts):
|
|
450
|
+
*
|
|
451
|
+
* { "reason": "ACCOUNT_STATE_INVALID",
|
|
452
|
+
* "domain": "googleapis.com",
|
|
453
|
+
* "metadata": {
|
|
454
|
+
* "service": "storage.googleapis.com",
|
|
455
|
+
* "method": "google.storage.v1.Storage.GetObject",
|
|
456
|
+
* "email": "user@123.iam.gserviceaccount.com"
|
|
457
|
+
* }
|
|
458
|
+
* }
|
|
459
|
+
*
|
|
460
|
+
* @generated from enum value: ACCOUNT_STATE_INVALID = 18;
|
|
461
|
+
*/
|
|
462
|
+
ACCOUNT_STATE_INVALID = 18,
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* The request is denied because the type of the provided access token is not
|
|
466
|
+
* supported by the API being called.
|
|
467
|
+
*
|
|
468
|
+
* Example of an ErrorInfo when the request is to the Cloud Storage API with
|
|
469
|
+
* an unsupported token type.
|
|
470
|
+
*
|
|
471
|
+
* { "reason": "ACCESS_TOKEN_TYPE_UNSUPPORTED",
|
|
472
|
+
* "domain": "googleapis.com",
|
|
473
|
+
* "metadata": {
|
|
474
|
+
* "service": "storage.googleapis.com",
|
|
475
|
+
* "method": "google.storage.v1.Storage.GetObject"
|
|
476
|
+
* }
|
|
477
|
+
* }
|
|
478
|
+
*
|
|
479
|
+
* @generated from enum value: ACCESS_TOKEN_TYPE_UNSUPPORTED = 19;
|
|
480
|
+
*/
|
|
481
|
+
ACCESS_TOKEN_TYPE_UNSUPPORTED = 19,
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* The request is denied because the request doesn't have any authentication
|
|
485
|
+
* credentials. For more information regarding the supported authentication
|
|
486
|
+
* strategies for Google Cloud APIs, see
|
|
487
|
+
* https://cloud.google.com/docs/authentication.
|
|
488
|
+
*
|
|
489
|
+
* Example of an ErrorInfo when the request is to the Cloud Storage API
|
|
490
|
+
* without any authentication credentials.
|
|
491
|
+
*
|
|
492
|
+
* { "reason": "CREDENTIALS_MISSING",
|
|
493
|
+
* "domain": "googleapis.com",
|
|
494
|
+
* "metadata": {
|
|
495
|
+
* "service": "storage.googleapis.com",
|
|
496
|
+
* "method": "google.storage.v1.Storage.GetObject"
|
|
497
|
+
* }
|
|
498
|
+
* }
|
|
499
|
+
*
|
|
500
|
+
* @generated from enum value: CREDENTIALS_MISSING = 20;
|
|
501
|
+
*/
|
|
502
|
+
CREDENTIALS_MISSING = 20,
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* The request is denied because the provided project owning the resource
|
|
506
|
+
* which acts as the [API
|
|
507
|
+
* consumer](https://cloud.google.com/apis/design/glossary#api_consumer) is
|
|
508
|
+
* invalid. It may be in a bad format or empty.
|
|
509
|
+
*
|
|
510
|
+
* Example of an ErrorInfo when the request is to the Cloud Functions API,
|
|
511
|
+
* but the offered resource project in the request in a bad format which can't
|
|
512
|
+
* perform the ListFunctions method.
|
|
513
|
+
*
|
|
514
|
+
* { "reason": "RESOURCE_PROJECT_INVALID",
|
|
515
|
+
* "domain": "googleapis.com",
|
|
516
|
+
* "metadata": {
|
|
517
|
+
* "service": "cloudfunctions.googleapis.com",
|
|
518
|
+
* "method":
|
|
519
|
+
* "google.cloud.functions.v1.CloudFunctionsService.ListFunctions"
|
|
520
|
+
* }
|
|
521
|
+
* }
|
|
522
|
+
*
|
|
523
|
+
* @generated from enum value: RESOURCE_PROJECT_INVALID = 21;
|
|
524
|
+
*/
|
|
525
|
+
RESOURCE_PROJECT_INVALID = 21,
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* The request is denied because the provided session cookie is missing,
|
|
529
|
+
* invalid or failed to decode.
|
|
530
|
+
*
|
|
531
|
+
* Example of an ErrorInfo when the request is calling Cloud Storage service
|
|
532
|
+
* with a SID cookie which can't be decoded.
|
|
533
|
+
*
|
|
534
|
+
* { "reason": "SESSION_COOKIE_INVALID",
|
|
535
|
+
* "domain": "googleapis.com",
|
|
536
|
+
* "metadata": {
|
|
537
|
+
* "service": "storage.googleapis.com",
|
|
538
|
+
* "method": "google.storage.v1.Storage.GetObject",
|
|
539
|
+
* "cookie": "SID"
|
|
540
|
+
* }
|
|
541
|
+
* }
|
|
542
|
+
*
|
|
543
|
+
* @generated from enum value: SESSION_COOKIE_INVALID = 23;
|
|
544
|
+
*/
|
|
545
|
+
SESSION_COOKIE_INVALID = 23,
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
* The request is denied because the user is from a Google Workspace customer
|
|
549
|
+
* that blocks their users from accessing a particular service.
|
|
550
|
+
*
|
|
551
|
+
* Example scenario: https://support.google.com/a/answer/9197205?hl=en
|
|
552
|
+
*
|
|
553
|
+
* Example of an ErrorInfo when access to Google Cloud Storage service is
|
|
554
|
+
* blocked by the Google Workspace administrator:
|
|
555
|
+
*
|
|
556
|
+
* { "reason": "USER_BLOCKED_BY_ADMIN",
|
|
557
|
+
* "domain": "googleapis.com",
|
|
558
|
+
* "metadata": {
|
|
559
|
+
* "service": "storage.googleapis.com",
|
|
560
|
+
* "method": "google.storage.v1.Storage.GetObject",
|
|
561
|
+
* }
|
|
562
|
+
* }
|
|
563
|
+
*
|
|
564
|
+
* @generated from enum value: USER_BLOCKED_BY_ADMIN = 24;
|
|
565
|
+
*/
|
|
566
|
+
USER_BLOCKED_BY_ADMIN = 24,
|
|
567
|
+
|
|
568
|
+
/**
|
|
569
|
+
* The request is denied because the resource service usage is restricted
|
|
570
|
+
* by administrators according to the organization policy constraint.
|
|
571
|
+
* For more information see
|
|
572
|
+
* https://cloud.google.com/resource-manager/docs/organization-policy/restricting-services.
|
|
573
|
+
*
|
|
574
|
+
* Example of an ErrorInfo when access to Google Cloud Storage service is
|
|
575
|
+
* restricted by Resource Usage Restriction policy:
|
|
576
|
+
*
|
|
577
|
+
* { "reason": "RESOURCE_USAGE_RESTRICTION_VIOLATED",
|
|
578
|
+
* "domain": "googleapis.com",
|
|
579
|
+
* "metadata": {
|
|
580
|
+
* "consumer": "projects/project-123",
|
|
581
|
+
* "service": "storage.googleapis.com"
|
|
582
|
+
* }
|
|
583
|
+
* }
|
|
584
|
+
*
|
|
585
|
+
* @generated from enum value: RESOURCE_USAGE_RESTRICTION_VIOLATED = 25;
|
|
586
|
+
*/
|
|
587
|
+
RESOURCE_USAGE_RESTRICTION_VIOLATED = 25,
|
|
588
|
+
|
|
589
|
+
/**
|
|
590
|
+
* Unimplemented. Do not use.
|
|
591
|
+
*
|
|
592
|
+
* The request is denied because it contains unsupported system parameters in
|
|
593
|
+
* URL query parameters or HTTP headers. For more information,
|
|
594
|
+
* see https://cloud.google.com/apis/docs/system-parameters
|
|
595
|
+
*
|
|
596
|
+
* Example of an ErrorInfo when access "pubsub.googleapis.com" service with
|
|
597
|
+
* a request header of "x-goog-user-ip":
|
|
598
|
+
*
|
|
599
|
+
* { "reason": "SYSTEM_PARAMETER_UNSUPPORTED",
|
|
600
|
+
* "domain": "googleapis.com",
|
|
601
|
+
* "metadata": {
|
|
602
|
+
* "service": "pubsub.googleapis.com"
|
|
603
|
+
* "parameter": "x-goog-user-ip"
|
|
604
|
+
* }
|
|
605
|
+
* }
|
|
606
|
+
*
|
|
607
|
+
* @generated from enum value: SYSTEM_PARAMETER_UNSUPPORTED = 26;
|
|
608
|
+
*/
|
|
609
|
+
SYSTEM_PARAMETER_UNSUPPORTED = 26,
|
|
610
|
+
|
|
611
|
+
/**
|
|
612
|
+
* The request is denied because it violates Org Restriction: the requested
|
|
613
|
+
* resource does not belong to allowed organizations specified in
|
|
614
|
+
* "X-Goog-Allowed-Resources" header.
|
|
615
|
+
*
|
|
616
|
+
* Example of an ErrorInfo when accessing a GCP resource that is restricted by
|
|
617
|
+
* Org Restriction for "pubsub.googleapis.com" service.
|
|
618
|
+
*
|
|
619
|
+
* {
|
|
620
|
+
* reason: "ORG_RESTRICTION_VIOLATION"
|
|
621
|
+
* domain: "googleapis.com"
|
|
622
|
+
* metadata {
|
|
623
|
+
* "consumer":"projects/123456"
|
|
624
|
+
* "service": "pubsub.googleapis.com"
|
|
625
|
+
* }
|
|
626
|
+
* }
|
|
627
|
+
*
|
|
628
|
+
* @generated from enum value: ORG_RESTRICTION_VIOLATION = 27;
|
|
629
|
+
*/
|
|
630
|
+
ORG_RESTRICTION_VIOLATION = 27,
|
|
631
|
+
|
|
632
|
+
/**
|
|
633
|
+
* The request is denied because "X-Goog-Allowed-Resources" header is in a bad
|
|
634
|
+
* format.
|
|
635
|
+
*
|
|
636
|
+
* Example of an ErrorInfo when
|
|
637
|
+
* accessing "pubsub.googleapis.com" service with an invalid
|
|
638
|
+
* "X-Goog-Allowed-Resources" request header.
|
|
639
|
+
*
|
|
640
|
+
* {
|
|
641
|
+
* reason: "ORG_RESTRICTION_HEADER_INVALID"
|
|
642
|
+
* domain: "googleapis.com"
|
|
643
|
+
* metadata {
|
|
644
|
+
* "consumer":"projects/123456"
|
|
645
|
+
* "service": "pubsub.googleapis.com"
|
|
646
|
+
* }
|
|
647
|
+
* }
|
|
648
|
+
*
|
|
649
|
+
* @generated from enum value: ORG_RESTRICTION_HEADER_INVALID = 28;
|
|
650
|
+
*/
|
|
651
|
+
ORG_RESTRICTION_HEADER_INVALID = 28,
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
/**
|
|
655
|
+
* Describes the enum google.api.ErrorReason.
|
|
656
|
+
*/
|
|
657
|
+
export declare const ErrorReasonSchema: GenEnum<ErrorReason>;
|