@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,87 @@
|
|
|
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/service_controller.proto (package google.api.servicecontrol.v1, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import { CheckRequest, CheckResponse, ReportRequest, ReportResponse } from "./service_controller_pb.js";
|
|
21
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* [Google Service Control API](/service-control/overview)
|
|
25
|
+
*
|
|
26
|
+
* Lets clients check and report operations 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.ServiceController
|
|
30
|
+
*/
|
|
31
|
+
export declare const ServiceController: {
|
|
32
|
+
readonly typeName: "google.api.servicecontrol.v1.ServiceController",
|
|
33
|
+
readonly methods: {
|
|
34
|
+
/**
|
|
35
|
+
* Checks whether an operation on a service should be allowed to proceed
|
|
36
|
+
* based on the configuration of the service and related policies. It must be
|
|
37
|
+
* called before the operation is executed.
|
|
38
|
+
*
|
|
39
|
+
* If feasible, the client should cache the check results and reuse them for
|
|
40
|
+
* 60 seconds. In case of any server errors, the client should rely on the
|
|
41
|
+
* cached results for much longer time to avoid outage.
|
|
42
|
+
* WARNING: There is general 60s delay for the configuration and policy
|
|
43
|
+
* propagation, therefore callers MUST NOT depend on the `Check` method having
|
|
44
|
+
* the latest policy information.
|
|
45
|
+
*
|
|
46
|
+
* NOTE: the [CheckRequest][google.api.servicecontrol.v1.CheckRequest] has
|
|
47
|
+
* the size limit (wire-format byte size) of 1MB.
|
|
48
|
+
*
|
|
49
|
+
* This method requires the `servicemanagement.services.check` permission
|
|
50
|
+
* on the specified service. For more information, see
|
|
51
|
+
* [Cloud IAM](https://cloud.google.com/iam).
|
|
52
|
+
*
|
|
53
|
+
* @generated from rpc google.api.servicecontrol.v1.ServiceController.Check
|
|
54
|
+
*/
|
|
55
|
+
readonly check: {
|
|
56
|
+
readonly name: "Check",
|
|
57
|
+
readonly I: typeof CheckRequest,
|
|
58
|
+
readonly O: typeof CheckResponse,
|
|
59
|
+
readonly kind: MethodKind.Unary,
|
|
60
|
+
},
|
|
61
|
+
/**
|
|
62
|
+
* Reports operation results to Google Service Control, such as logs and
|
|
63
|
+
* metrics. It should be called after an operation is completed.
|
|
64
|
+
*
|
|
65
|
+
* If feasible, the client should aggregate reporting data for up to 5
|
|
66
|
+
* seconds to reduce API traffic. Limiting aggregation to 5 seconds is to
|
|
67
|
+
* reduce data loss during client crashes. Clients should carefully choose
|
|
68
|
+
* the aggregation time window to avoid data loss risk more than 0.01%
|
|
69
|
+
* for business and compliance reasons.
|
|
70
|
+
*
|
|
71
|
+
* NOTE: the [ReportRequest][google.api.servicecontrol.v1.ReportRequest] has
|
|
72
|
+
* the size limit (wire-format byte size) of 1MB.
|
|
73
|
+
*
|
|
74
|
+
* This method requires the `servicemanagement.services.report` permission
|
|
75
|
+
* on the specified service. For more information, see
|
|
76
|
+
* [Google Cloud IAM](https://cloud.google.com/iam).
|
|
77
|
+
*
|
|
78
|
+
* @generated from rpc google.api.servicecontrol.v1.ServiceController.Report
|
|
79
|
+
*/
|
|
80
|
+
readonly report: {
|
|
81
|
+
readonly name: "Report",
|
|
82
|
+
readonly I: typeof ReportRequest,
|
|
83
|
+
readonly O: typeof ReportResponse,
|
|
84
|
+
readonly kind: MethodKind.Unary,
|
|
85
|
+
},
|
|
86
|
+
}
|
|
87
|
+
};
|
|
@@ -0,0 +1,87 @@
|
|
|
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/service_controller.proto (package google.api.servicecontrol.v1, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import { CheckRequest, CheckResponse, ReportRequest, ReportResponse } from "./service_controller_pb.js";
|
|
21
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* [Google Service Control API](/service-control/overview)
|
|
25
|
+
*
|
|
26
|
+
* Lets clients check and report operations 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.ServiceController
|
|
30
|
+
*/
|
|
31
|
+
export const ServiceController = {
|
|
32
|
+
typeName: "google.api.servicecontrol.v1.ServiceController",
|
|
33
|
+
methods: {
|
|
34
|
+
/**
|
|
35
|
+
* Checks whether an operation on a service should be allowed to proceed
|
|
36
|
+
* based on the configuration of the service and related policies. It must be
|
|
37
|
+
* called before the operation is executed.
|
|
38
|
+
*
|
|
39
|
+
* If feasible, the client should cache the check results and reuse them for
|
|
40
|
+
* 60 seconds. In case of any server errors, the client should rely on the
|
|
41
|
+
* cached results for much longer time to avoid outage.
|
|
42
|
+
* WARNING: There is general 60s delay for the configuration and policy
|
|
43
|
+
* propagation, therefore callers MUST NOT depend on the `Check` method having
|
|
44
|
+
* the latest policy information.
|
|
45
|
+
*
|
|
46
|
+
* NOTE: the [CheckRequest][google.api.servicecontrol.v1.CheckRequest] has
|
|
47
|
+
* the size limit (wire-format byte size) of 1MB.
|
|
48
|
+
*
|
|
49
|
+
* This method requires the `servicemanagement.services.check` permission
|
|
50
|
+
* on the specified service. For more information, see
|
|
51
|
+
* [Cloud IAM](https://cloud.google.com/iam).
|
|
52
|
+
*
|
|
53
|
+
* @generated from rpc google.api.servicecontrol.v1.ServiceController.Check
|
|
54
|
+
*/
|
|
55
|
+
check: {
|
|
56
|
+
name: "Check",
|
|
57
|
+
I: CheckRequest,
|
|
58
|
+
O: CheckResponse,
|
|
59
|
+
kind: MethodKind.Unary,
|
|
60
|
+
},
|
|
61
|
+
/**
|
|
62
|
+
* Reports operation results to Google Service Control, such as logs and
|
|
63
|
+
* metrics. It should be called after an operation is completed.
|
|
64
|
+
*
|
|
65
|
+
* If feasible, the client should aggregate reporting data for up to 5
|
|
66
|
+
* seconds to reduce API traffic. Limiting aggregation to 5 seconds is to
|
|
67
|
+
* reduce data loss during client crashes. Clients should carefully choose
|
|
68
|
+
* the aggregation time window to avoid data loss risk more than 0.01%
|
|
69
|
+
* for business and compliance reasons.
|
|
70
|
+
*
|
|
71
|
+
* NOTE: the [ReportRequest][google.api.servicecontrol.v1.ReportRequest] has
|
|
72
|
+
* the size limit (wire-format byte size) of 1MB.
|
|
73
|
+
*
|
|
74
|
+
* This method requires the `servicemanagement.services.report` permission
|
|
75
|
+
* on the specified service. For more information, see
|
|
76
|
+
* [Google Cloud IAM](https://cloud.google.com/iam).
|
|
77
|
+
*
|
|
78
|
+
* @generated from rpc google.api.servicecontrol.v1.ServiceController.Report
|
|
79
|
+
*/
|
|
80
|
+
report: {
|
|
81
|
+
name: "Report",
|
|
82
|
+
I: ReportRequest,
|
|
83
|
+
O: ReportResponse,
|
|
84
|
+
kind: MethodKind.Unary,
|
|
85
|
+
},
|
|
86
|
+
}
|
|
87
|
+
};
|
|
@@ -0,0 +1,437 @@
|
|
|
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/service_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 { Operation } from "./operation_pb";
|
|
22
|
+
import type { CheckError } from "./check_error_pb";
|
|
23
|
+
import type { Status } from "../../../rpc/status_pb";
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Describes the file google/api/servicecontrol/v1/service_controller.proto.
|
|
27
|
+
*/
|
|
28
|
+
export declare const file_google_api_servicecontrol_v1_service_controller: GenFile;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Request message for the Check method.
|
|
32
|
+
*
|
|
33
|
+
* @generated from message google.api.servicecontrol.v1.CheckRequest
|
|
34
|
+
*/
|
|
35
|
+
export declare type CheckRequest = Message<"google.api.servicecontrol.v1.CheckRequest"> & {
|
|
36
|
+
/**
|
|
37
|
+
* The service name as specified in its service configuration. For example,
|
|
38
|
+
* `"pubsub.googleapis.com"`.
|
|
39
|
+
*
|
|
40
|
+
* See
|
|
41
|
+
* [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service)
|
|
42
|
+
* for the definition of a service name.
|
|
43
|
+
*
|
|
44
|
+
* @generated from field: string service_name = 1;
|
|
45
|
+
*/
|
|
46
|
+
serviceName: string;
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* The operation to be checked.
|
|
50
|
+
*
|
|
51
|
+
* @generated from field: google.api.servicecontrol.v1.Operation operation = 2;
|
|
52
|
+
*/
|
|
53
|
+
operation?: Operation;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Specifies which version of service configuration should be used to process
|
|
57
|
+
* the request.
|
|
58
|
+
*
|
|
59
|
+
* If unspecified or no matching version can be found, the
|
|
60
|
+
* latest one will be used.
|
|
61
|
+
*
|
|
62
|
+
* @generated from field: string service_config_id = 4;
|
|
63
|
+
*/
|
|
64
|
+
serviceConfigId: string;
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Describes the message google.api.servicecontrol.v1.CheckRequest.
|
|
69
|
+
* Use `create(CheckRequestSchema)` to create a new message.
|
|
70
|
+
*/
|
|
71
|
+
export declare const CheckRequestSchema: GenMessage<CheckRequest>;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Response message for the Check method.
|
|
75
|
+
*
|
|
76
|
+
* @generated from message google.api.servicecontrol.v1.CheckResponse
|
|
77
|
+
*/
|
|
78
|
+
export declare type CheckResponse = Message<"google.api.servicecontrol.v1.CheckResponse"> & {
|
|
79
|
+
/**
|
|
80
|
+
* The same operation_id value used in the
|
|
81
|
+
* [CheckRequest][google.api.servicecontrol.v1.CheckRequest]. Used for logging
|
|
82
|
+
* and diagnostics purposes.
|
|
83
|
+
*
|
|
84
|
+
* @generated from field: string operation_id = 1;
|
|
85
|
+
*/
|
|
86
|
+
operationId: string;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Indicate the decision of the check.
|
|
90
|
+
*
|
|
91
|
+
* If no check errors are present, the service should process the operation.
|
|
92
|
+
* Otherwise the service should use the list of errors to determine the
|
|
93
|
+
* appropriate action.
|
|
94
|
+
*
|
|
95
|
+
* @generated from field: repeated google.api.servicecontrol.v1.CheckError check_errors = 2;
|
|
96
|
+
*/
|
|
97
|
+
checkErrors: CheckError[];
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* The actual config id used to process the request.
|
|
101
|
+
*
|
|
102
|
+
* @generated from field: string service_config_id = 5;
|
|
103
|
+
*/
|
|
104
|
+
serviceConfigId: string;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* The current service rollout id used to process the request.
|
|
108
|
+
*
|
|
109
|
+
* @generated from field: string service_rollout_id = 11;
|
|
110
|
+
*/
|
|
111
|
+
serviceRolloutId: string;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Feedback data returned from the server during processing a Check request.
|
|
115
|
+
*
|
|
116
|
+
* @generated from field: google.api.servicecontrol.v1.CheckResponse.CheckInfo check_info = 6;
|
|
117
|
+
*/
|
|
118
|
+
checkInfo?: CheckResponse_CheckInfo;
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Describes the message google.api.servicecontrol.v1.CheckResponse.
|
|
123
|
+
* Use `create(CheckResponseSchema)` to create a new message.
|
|
124
|
+
*/
|
|
125
|
+
export declare const CheckResponseSchema: GenMessage<CheckResponse>;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Contains additional information about the check operation.
|
|
129
|
+
*
|
|
130
|
+
* @generated from message google.api.servicecontrol.v1.CheckResponse.CheckInfo
|
|
131
|
+
*/
|
|
132
|
+
export declare type CheckResponse_CheckInfo = Message<"google.api.servicecontrol.v1.CheckResponse.CheckInfo"> & {
|
|
133
|
+
/**
|
|
134
|
+
* A list of fields and label keys that are ignored by the server.
|
|
135
|
+
* The client doesn't need to send them for following requests to improve
|
|
136
|
+
* performance and allow better aggregation.
|
|
137
|
+
*
|
|
138
|
+
* @generated from field: repeated string unused_arguments = 1;
|
|
139
|
+
*/
|
|
140
|
+
unusedArguments: string[];
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Consumer info of this check.
|
|
144
|
+
*
|
|
145
|
+
* @generated from field: google.api.servicecontrol.v1.CheckResponse.ConsumerInfo consumer_info = 2;
|
|
146
|
+
*/
|
|
147
|
+
consumerInfo?: CheckResponse_ConsumerInfo;
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* Describes the message google.api.servicecontrol.v1.CheckResponse.CheckInfo.
|
|
152
|
+
* Use `create(CheckResponse_CheckInfoSchema)` to create a new message.
|
|
153
|
+
*/
|
|
154
|
+
export declare const CheckResponse_CheckInfoSchema: GenMessage<CheckResponse_CheckInfo>;
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* `ConsumerInfo` provides information about the consumer.
|
|
158
|
+
*
|
|
159
|
+
* @generated from message google.api.servicecontrol.v1.CheckResponse.ConsumerInfo
|
|
160
|
+
*/
|
|
161
|
+
export declare type CheckResponse_ConsumerInfo = Message<"google.api.servicecontrol.v1.CheckResponse.ConsumerInfo"> & {
|
|
162
|
+
/**
|
|
163
|
+
* The Google cloud project number, e.g. 1234567890. A value of 0 indicates
|
|
164
|
+
* no project number is found.
|
|
165
|
+
*
|
|
166
|
+
* NOTE: This field is deprecated after we support flexible consumer
|
|
167
|
+
* id. New code should not depend on this field anymore.
|
|
168
|
+
*
|
|
169
|
+
* @generated from field: int64 project_number = 1;
|
|
170
|
+
*/
|
|
171
|
+
projectNumber: bigint;
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* The type of the consumer which should have been defined in
|
|
175
|
+
* [Google Resource Manager](https://cloud.google.com/resource-manager/).
|
|
176
|
+
*
|
|
177
|
+
* @generated from field: google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.ConsumerType type = 2;
|
|
178
|
+
*/
|
|
179
|
+
type: CheckResponse_ConsumerInfo_ConsumerType;
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* The consumer identity number, can be Google cloud project number, folder
|
|
183
|
+
* number or organization number e.g. 1234567890. A value of 0 indicates no
|
|
184
|
+
* consumer number is found.
|
|
185
|
+
*
|
|
186
|
+
* @generated from field: int64 consumer_number = 3;
|
|
187
|
+
*/
|
|
188
|
+
consumerNumber: bigint;
|
|
189
|
+
};
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Describes the message google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.
|
|
193
|
+
* Use `create(CheckResponse_ConsumerInfoSchema)` to create a new message.
|
|
194
|
+
*/
|
|
195
|
+
export declare const CheckResponse_ConsumerInfoSchema: GenMessage<CheckResponse_ConsumerInfo>;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* The type of the consumer as defined in
|
|
199
|
+
* [Google Resource Manager](https://cloud.google.com/resource-manager/).
|
|
200
|
+
*
|
|
201
|
+
* @generated from enum google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.ConsumerType
|
|
202
|
+
*/
|
|
203
|
+
export enum CheckResponse_ConsumerInfo_ConsumerType {
|
|
204
|
+
/**
|
|
205
|
+
* This is never used.
|
|
206
|
+
*
|
|
207
|
+
* @generated from enum value: CONSUMER_TYPE_UNSPECIFIED = 0;
|
|
208
|
+
*/
|
|
209
|
+
CONSUMER_TYPE_UNSPECIFIED = 0,
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* The consumer is a Google Cloud Project.
|
|
213
|
+
*
|
|
214
|
+
* @generated from enum value: PROJECT = 1;
|
|
215
|
+
*/
|
|
216
|
+
PROJECT = 1,
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* The consumer is a Google Cloud Folder.
|
|
220
|
+
*
|
|
221
|
+
* @generated from enum value: FOLDER = 2;
|
|
222
|
+
*/
|
|
223
|
+
FOLDER = 2,
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* The consumer is a Google Cloud Organization.
|
|
227
|
+
*
|
|
228
|
+
* @generated from enum value: ORGANIZATION = 3;
|
|
229
|
+
*/
|
|
230
|
+
ORGANIZATION = 3,
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* Service-specific resource container which is defined by the service
|
|
234
|
+
* producer to offer their users the ability to manage service control
|
|
235
|
+
* functionalities at a finer level of granularity than the PROJECT.
|
|
236
|
+
*
|
|
237
|
+
* @generated from enum value: SERVICE_SPECIFIC = 4;
|
|
238
|
+
*/
|
|
239
|
+
SERVICE_SPECIFIC = 4,
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* Describes the enum google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.ConsumerType.
|
|
244
|
+
*/
|
|
245
|
+
export declare const CheckResponse_ConsumerInfo_ConsumerTypeSchema: GenEnum<CheckResponse_ConsumerInfo_ConsumerType>;
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* Request message for the Report method.
|
|
249
|
+
*
|
|
250
|
+
* @generated from message google.api.servicecontrol.v1.ReportRequest
|
|
251
|
+
*/
|
|
252
|
+
export declare type ReportRequest = Message<"google.api.servicecontrol.v1.ReportRequest"> & {
|
|
253
|
+
/**
|
|
254
|
+
* The service name as specified in its service configuration. For example,
|
|
255
|
+
* `"pubsub.googleapis.com"`.
|
|
256
|
+
*
|
|
257
|
+
* See
|
|
258
|
+
* [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service)
|
|
259
|
+
* for the definition of a service name.
|
|
260
|
+
*
|
|
261
|
+
* @generated from field: string service_name = 1;
|
|
262
|
+
*/
|
|
263
|
+
serviceName: string;
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* Operations to be reported.
|
|
267
|
+
*
|
|
268
|
+
* Typically the service should report one operation per request.
|
|
269
|
+
* Putting multiple operations into a single request is allowed, but should
|
|
270
|
+
* be used only when multiple operations are natually available at the time
|
|
271
|
+
* of the report.
|
|
272
|
+
*
|
|
273
|
+
* There is no limit on the number of operations in the same ReportRequest,
|
|
274
|
+
* however the ReportRequest size should be no larger than 1MB. See
|
|
275
|
+
* [ReportResponse.report_errors][google.api.servicecontrol.v1.ReportResponse.report_errors]
|
|
276
|
+
* for partial failure behavior.
|
|
277
|
+
*
|
|
278
|
+
* @generated from field: repeated google.api.servicecontrol.v1.Operation operations = 2;
|
|
279
|
+
*/
|
|
280
|
+
operations: Operation[];
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* Specifies which version of service config should be used to process the
|
|
284
|
+
* request.
|
|
285
|
+
*
|
|
286
|
+
* If unspecified or no matching version can be found, the
|
|
287
|
+
* latest one will be used.
|
|
288
|
+
*
|
|
289
|
+
* @generated from field: string service_config_id = 3;
|
|
290
|
+
*/
|
|
291
|
+
serviceConfigId: string;
|
|
292
|
+
};
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* Describes the message google.api.servicecontrol.v1.ReportRequest.
|
|
296
|
+
* Use `create(ReportRequestSchema)` to create a new message.
|
|
297
|
+
*/
|
|
298
|
+
export declare const ReportRequestSchema: GenMessage<ReportRequest>;
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* Response message for the Report method.
|
|
302
|
+
*
|
|
303
|
+
* @generated from message google.api.servicecontrol.v1.ReportResponse
|
|
304
|
+
*/
|
|
305
|
+
export declare type ReportResponse = Message<"google.api.servicecontrol.v1.ReportResponse"> & {
|
|
306
|
+
/**
|
|
307
|
+
* Partial failures, one for each `Operation` in the request that failed
|
|
308
|
+
* processing. There are three possible combinations of the RPC status:
|
|
309
|
+
*
|
|
310
|
+
* 1. The combination of a successful RPC status and an empty `report_errors`
|
|
311
|
+
* list indicates a complete success where all `Operations` in the
|
|
312
|
+
* request are processed successfully.
|
|
313
|
+
* 2. The combination of a successful RPC status and a non-empty
|
|
314
|
+
* `report_errors` list indicates a partial success where some
|
|
315
|
+
* `Operations` in the request succeeded. Each
|
|
316
|
+
* `Operation` that failed processing has a corresponding item
|
|
317
|
+
* in this list.
|
|
318
|
+
* 3. A failed RPC status indicates a general non-deterministic failure.
|
|
319
|
+
* When this happens, it's impossible to know which of the
|
|
320
|
+
* 'Operations' in the request succeeded or failed.
|
|
321
|
+
*
|
|
322
|
+
* @generated from field: repeated google.api.servicecontrol.v1.ReportResponse.ReportError report_errors = 1;
|
|
323
|
+
*/
|
|
324
|
+
reportErrors: ReportResponse_ReportError[];
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* The actual config id used to process the request.
|
|
328
|
+
*
|
|
329
|
+
* @generated from field: string service_config_id = 2;
|
|
330
|
+
*/
|
|
331
|
+
serviceConfigId: string;
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* The current service rollout id used to process the request.
|
|
335
|
+
*
|
|
336
|
+
* @generated from field: string service_rollout_id = 4;
|
|
337
|
+
*/
|
|
338
|
+
serviceRolloutId: string;
|
|
339
|
+
};
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* Describes the message google.api.servicecontrol.v1.ReportResponse.
|
|
343
|
+
* Use `create(ReportResponseSchema)` to create a new message.
|
|
344
|
+
*/
|
|
345
|
+
export declare const ReportResponseSchema: GenMessage<ReportResponse>;
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* Represents the processing error of one
|
|
349
|
+
* [Operation][google.api.servicecontrol.v1.Operation] in the request.
|
|
350
|
+
*
|
|
351
|
+
* @generated from message google.api.servicecontrol.v1.ReportResponse.ReportError
|
|
352
|
+
*/
|
|
353
|
+
export declare type ReportResponse_ReportError = Message<"google.api.servicecontrol.v1.ReportResponse.ReportError"> & {
|
|
354
|
+
/**
|
|
355
|
+
* The
|
|
356
|
+
* [Operation.operation_id][google.api.servicecontrol.v1.Operation.operation_id]
|
|
357
|
+
* value from the request.
|
|
358
|
+
*
|
|
359
|
+
* @generated from field: string operation_id = 1;
|
|
360
|
+
*/
|
|
361
|
+
operationId: string;
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* Details of the error when processing the
|
|
365
|
+
* [Operation][google.api.servicecontrol.v1.Operation].
|
|
366
|
+
*
|
|
367
|
+
* @generated from field: google.rpc.Status status = 2;
|
|
368
|
+
*/
|
|
369
|
+
status?: Status;
|
|
370
|
+
};
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
* Describes the message google.api.servicecontrol.v1.ReportResponse.ReportError.
|
|
374
|
+
* Use `create(ReportResponse_ReportErrorSchema)` to create a new message.
|
|
375
|
+
*/
|
|
376
|
+
export declare const ReportResponse_ReportErrorSchema: GenMessage<ReportResponse_ReportError>;
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* [Google Service Control API](/service-control/overview)
|
|
380
|
+
*
|
|
381
|
+
* Lets clients check and report operations against a [managed
|
|
382
|
+
* service](https://cloud.google.com/service-management/reference/rpc/google.api/servicemanagement.v1#google.api.servicemanagement.v1.ManagedService).
|
|
383
|
+
*
|
|
384
|
+
* @generated from service google.api.servicecontrol.v1.ServiceController
|
|
385
|
+
*/
|
|
386
|
+
export declare const ServiceController: GenService<{
|
|
387
|
+
/**
|
|
388
|
+
* Checks whether an operation on a service should be allowed to proceed
|
|
389
|
+
* based on the configuration of the service and related policies. It must be
|
|
390
|
+
* called before the operation is executed.
|
|
391
|
+
*
|
|
392
|
+
* If feasible, the client should cache the check results and reuse them for
|
|
393
|
+
* 60 seconds. In case of any server errors, the client should rely on the
|
|
394
|
+
* cached results for much longer time to avoid outage.
|
|
395
|
+
* WARNING: There is general 60s delay for the configuration and policy
|
|
396
|
+
* propagation, therefore callers MUST NOT depend on the `Check` method having
|
|
397
|
+
* the latest policy information.
|
|
398
|
+
*
|
|
399
|
+
* NOTE: the [CheckRequest][google.api.servicecontrol.v1.CheckRequest] has
|
|
400
|
+
* the size limit (wire-format byte size) of 1MB.
|
|
401
|
+
*
|
|
402
|
+
* This method requires the `servicemanagement.services.check` permission
|
|
403
|
+
* on the specified service. For more information, see
|
|
404
|
+
* [Cloud IAM](https://cloud.google.com/iam).
|
|
405
|
+
*
|
|
406
|
+
* @generated from rpc google.api.servicecontrol.v1.ServiceController.Check
|
|
407
|
+
*/
|
|
408
|
+
check: {
|
|
409
|
+
methodKind: "unary";
|
|
410
|
+
input: typeof CheckRequestSchema;
|
|
411
|
+
output: typeof CheckResponseSchema;
|
|
412
|
+
},
|
|
413
|
+
/**
|
|
414
|
+
* Reports operation results to Google Service Control, such as logs and
|
|
415
|
+
* metrics. It should be called after an operation is completed.
|
|
416
|
+
*
|
|
417
|
+
* If feasible, the client should aggregate reporting data for up to 5
|
|
418
|
+
* seconds to reduce API traffic. Limiting aggregation to 5 seconds is to
|
|
419
|
+
* reduce data loss during client crashes. Clients should carefully choose
|
|
420
|
+
* the aggregation time window to avoid data loss risk more than 0.01%
|
|
421
|
+
* for business and compliance reasons.
|
|
422
|
+
*
|
|
423
|
+
* NOTE: the [ReportRequest][google.api.servicecontrol.v1.ReportRequest] has
|
|
424
|
+
* the size limit (wire-format byte size) of 1MB.
|
|
425
|
+
*
|
|
426
|
+
* This method requires the `servicemanagement.services.report` permission
|
|
427
|
+
* on the specified service. For more information, see
|
|
428
|
+
* [Google Cloud IAM](https://cloud.google.com/iam).
|
|
429
|
+
*
|
|
430
|
+
* @generated from rpc google.api.servicecontrol.v1.ServiceController.Report
|
|
431
|
+
*/
|
|
432
|
+
report: {
|
|
433
|
+
methodKind: "unary";
|
|
434
|
+
input: typeof ReportRequestSchema;
|
|
435
|
+
output: typeof ReportResponseSchema;
|
|
436
|
+
},
|
|
437
|
+
}>;
|