@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,105 @@
|
|
|
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 { enumDesc, fileDesc, messageDesc, serviceDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
20
|
+
import { file_google_api_annotations } from "../../annotations_pb";
|
|
21
|
+
import { file_google_api_client } from "../../client_pb";
|
|
22
|
+
import { file_google_api_servicecontrol_v1_check_error } from "./check_error_pb";
|
|
23
|
+
import { file_google_api_servicecontrol_v1_operation } from "./operation_pb";
|
|
24
|
+
import { file_google_rpc_status } from "../../../rpc/status_pb";
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Describes the file google/api/servicecontrol/v1/service_controller.proto.
|
|
28
|
+
*/
|
|
29
|
+
export const file_google_api_servicecontrol_v1_service_controller = /*@__PURE__*/
|
|
30
|
+
fileDesc("CjVnb29nbGUvYXBpL3NlcnZpY2Vjb250cm9sL3YxL3NlcnZpY2VfY29udHJvbGxlci5wcm90bxIcZ29vZ2xlLmFwaS5zZXJ2aWNlY29udHJvbC52MSJ7CgxDaGVja1JlcXVlc3QSFAoMc2VydmljZV9uYW1lGAEgASgJEjoKCW9wZXJhdGlvbhgCIAEoCzInLmdvb2dsZS5hcGkuc2VydmljZWNvbnRyb2wudjEuT3BlcmF0aW9uEhkKEXNlcnZpY2VfY29uZmlnX2lkGAQgASgJIuYECg1DaGVja1Jlc3BvbnNlEhQKDG9wZXJhdGlvbl9pZBgBIAEoCRI+CgxjaGVja19lcnJvcnMYAiADKAsyKC5nb29nbGUuYXBpLnNlcnZpY2Vjb250cm9sLnYxLkNoZWNrRXJyb3ISGQoRc2VydmljZV9jb25maWdfaWQYBSABKAkSGgoSc2VydmljZV9yb2xsb3V0X2lkGAsgASgJEkkKCmNoZWNrX2luZm8YBiABKAsyNS5nb29nbGUuYXBpLnNlcnZpY2Vjb250cm9sLnYxLkNoZWNrUmVzcG9uc2UuQ2hlY2tJbmZvGnYKCUNoZWNrSW5mbxIYChB1bnVzZWRfYXJndW1lbnRzGAEgAygJEk8KDWNvbnN1bWVyX2luZm8YAiABKAsyOC5nb29nbGUuYXBpLnNlcnZpY2Vjb250cm9sLnYxLkNoZWNrUmVzcG9uc2UuQ29uc3VtZXJJbmZvGoQCCgxDb25zdW1lckluZm8SFgoOcHJvamVjdF9udW1iZXIYASABKAMSUwoEdHlwZRgCIAEoDjJFLmdvb2dsZS5hcGkuc2VydmljZWNvbnRyb2wudjEuQ2hlY2tSZXNwb25zZS5Db25zdW1lckluZm8uQ29uc3VtZXJUeXBlEhcKD2NvbnN1bWVyX251bWJlchgDIAEoAyJuCgxDb25zdW1lclR5cGUSHQoZQ09OU1VNRVJfVFlQRV9VTlNQRUNJRklFRBAAEgsKB1BST0pFQ1QQARIKCgZGT0xERVIQAhIQCgxPUkdBTklaQVRJT04QAxIUChBTRVJWSUNFX1NQRUNJRklDEAQifQoNUmVwb3J0UmVxdWVzdBIUCgxzZXJ2aWNlX25hbWUYASABKAkSOwoKb3BlcmF0aW9ucxgCIAMoCzInLmdvb2dsZS5hcGkuc2VydmljZWNvbnRyb2wudjEuT3BlcmF0aW9uEhkKEXNlcnZpY2VfY29uZmlnX2lkGAMgASgJIuEBCg5SZXBvcnRSZXNwb25zZRJPCg1yZXBvcnRfZXJyb3JzGAEgAygLMjguZ29vZ2xlLmFwaS5zZXJ2aWNlY29udHJvbC52MS5SZXBvcnRSZXNwb25zZS5SZXBvcnRFcnJvchIZChFzZXJ2aWNlX2NvbmZpZ19pZBgCIAEoCRIaChJzZXJ2aWNlX3JvbGxvdXRfaWQYBCABKAkaRwoLUmVwb3J0RXJyb3ISFAoMb3BlcmF0aW9uX2lkGAEgASgJEiIKBnN0YXR1cxgCIAEoCzISLmdvb2dsZS5ycGMuU3RhdHVzMrwDChFTZXJ2aWNlQ29udHJvbGxlchKOAQoFQ2hlY2sSKi5nb29nbGUuYXBpLnNlcnZpY2Vjb250cm9sLnYxLkNoZWNrUmVxdWVzdBorLmdvb2dsZS5hcGkuc2VydmljZWNvbnRyb2wudjEuQ2hlY2tSZXNwb25zZSIsgtPkkwImIiEvdjEvc2VydmljZXMve3NlcnZpY2VfbmFtZX06Y2hlY2s6ASoSkgEKBlJlcG9ydBIrLmdvb2dsZS5hcGkuc2VydmljZWNvbnRyb2wudjEuUmVwb3J0UmVxdWVzdBosLmdvb2dsZS5hcGkuc2VydmljZWNvbnRyb2wudjEuUmVwb3J0UmVzcG9uc2UiLYLT5JMCJyIiL3YxL3NlcnZpY2VzL3tzZXJ2aWNlX25hbWV9OnJlcG9ydDoBKhqAAcpBHXNlcnZpY2Vjb250cm9sLmdvb2dsZWFwaXMuY29t0kFdaHR0cHM6Ly93d3cuZ29vZ2xlYXBpcy5jb20vYXV0aC9jbG91ZC1wbGF0Zm9ybSxodHRwczovL3d3dy5nb29nbGVhcGlzLmNvbS9hdXRoL3NlcnZpY2Vjb250cm9sQvgBCiBjb20uZ29vZ2xlLmFwaS5zZXJ2aWNlY29udHJvbC52MUIWU2VydmljZUNvbnRyb2xsZXJQcm90b1ABWkpnb29nbGUuZ29sYW5nLm9yZy9nZW5wcm90by9nb29nbGVhcGlzL2FwaS9zZXJ2aWNlY29udHJvbC92MTtzZXJ2aWNlY29udHJvbPgBAaICBEdBU0OqAh5Hb29nbGUuQ2xvdWQuU2VydmljZUNvbnRyb2wuVjHKAh5Hb29nbGVcQ2xvdWRcU2VydmljZUNvbnRyb2xcVjHqAiFHb29nbGU6OkNsb3VkOjpTZXJ2aWNlQ29udHJvbDo6VjFiBnByb3RvMw", [file_google_api_annotations, file_google_api_client, file_google_api_servicecontrol_v1_check_error, file_google_api_servicecontrol_v1_operation, file_google_rpc_status]);
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Describes the message google.api.servicecontrol.v1.CheckRequest.
|
|
34
|
+
* Use `create(CheckRequestSchema)` to create a new message.
|
|
35
|
+
*/
|
|
36
|
+
export const CheckRequestSchema = /*@__PURE__*/
|
|
37
|
+
messageDesc(file_google_api_servicecontrol_v1_service_controller, 0);
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Describes the message google.api.servicecontrol.v1.CheckResponse.
|
|
41
|
+
* Use `create(CheckResponseSchema)` to create a new message.
|
|
42
|
+
*/
|
|
43
|
+
export const CheckResponseSchema = /*@__PURE__*/
|
|
44
|
+
messageDesc(file_google_api_servicecontrol_v1_service_controller, 1);
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Describes the message google.api.servicecontrol.v1.CheckResponse.CheckInfo.
|
|
48
|
+
* Use `create(CheckResponse_CheckInfoSchema)` to create a new message.
|
|
49
|
+
*/
|
|
50
|
+
export const CheckResponse_CheckInfoSchema = /*@__PURE__*/
|
|
51
|
+
messageDesc(file_google_api_servicecontrol_v1_service_controller, 1, 0);
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Describes the message google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.
|
|
55
|
+
* Use `create(CheckResponse_ConsumerInfoSchema)` to create a new message.
|
|
56
|
+
*/
|
|
57
|
+
export const CheckResponse_ConsumerInfoSchema = /*@__PURE__*/
|
|
58
|
+
messageDesc(file_google_api_servicecontrol_v1_service_controller, 1, 1);
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Describes the enum google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.ConsumerType.
|
|
62
|
+
*/
|
|
63
|
+
export const CheckResponse_ConsumerInfo_ConsumerTypeSchema = /*@__PURE__*/
|
|
64
|
+
enumDesc(file_google_api_servicecontrol_v1_service_controller, 1, 1, 0);
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* The type of the consumer as defined in
|
|
68
|
+
* [Google Resource Manager](https://cloud.google.com/resource-manager/).
|
|
69
|
+
*
|
|
70
|
+
* @generated from enum google.api.servicecontrol.v1.CheckResponse.ConsumerInfo.ConsumerType
|
|
71
|
+
*/
|
|
72
|
+
export const CheckResponse_ConsumerInfo_ConsumerType = /*@__PURE__*/
|
|
73
|
+
tsEnum(CheckResponse_ConsumerInfo_ConsumerTypeSchema);
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Describes the message google.api.servicecontrol.v1.ReportRequest.
|
|
77
|
+
* Use `create(ReportRequestSchema)` to create a new message.
|
|
78
|
+
*/
|
|
79
|
+
export const ReportRequestSchema = /*@__PURE__*/
|
|
80
|
+
messageDesc(file_google_api_servicecontrol_v1_service_controller, 2);
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Describes the message google.api.servicecontrol.v1.ReportResponse.
|
|
84
|
+
* Use `create(ReportResponseSchema)` to create a new message.
|
|
85
|
+
*/
|
|
86
|
+
export const ReportResponseSchema = /*@__PURE__*/
|
|
87
|
+
messageDesc(file_google_api_servicecontrol_v1_service_controller, 3);
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Describes the message google.api.servicecontrol.v1.ReportResponse.ReportError.
|
|
91
|
+
* Use `create(ReportResponse_ReportErrorSchema)` to create a new message.
|
|
92
|
+
*/
|
|
93
|
+
export const ReportResponse_ReportErrorSchema = /*@__PURE__*/
|
|
94
|
+
messageDesc(file_google_api_servicecontrol_v1_service_controller, 3, 0);
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* [Google Service Control API](/service-control/overview)
|
|
98
|
+
*
|
|
99
|
+
* Lets clients check and report operations against a [managed
|
|
100
|
+
* service](https://cloud.google.com/service-management/reference/rpc/google.api/servicemanagement.v1#google.api.servicemanagement.v1.ManagedService).
|
|
101
|
+
*
|
|
102
|
+
* @generated from service google.api.servicecontrol.v1.ServiceController
|
|
103
|
+
*/
|
|
104
|
+
export const ServiceController = /*@__PURE__*/
|
|
105
|
+
serviceDesc(file_google_api_servicecontrol_v1_service_controller, 0);
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
// Copyright 2022 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/v2/service_controller.proto (package google.api.servicecontrol.v2, 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
|
+
* [Service Control API
|
|
25
|
+
* v2](https://cloud.google.com/service-infrastructure/docs/service-control/access-control)
|
|
26
|
+
*
|
|
27
|
+
* Private Preview. This feature is only available for approved services.
|
|
28
|
+
*
|
|
29
|
+
* This API provides admission control and telemetry reporting for services
|
|
30
|
+
* that are integrated with [Service
|
|
31
|
+
* Infrastructure](https://cloud.google.com/service-infrastructure).
|
|
32
|
+
*
|
|
33
|
+
* @generated from service google.api.servicecontrol.v2.ServiceController
|
|
34
|
+
*/
|
|
35
|
+
export declare const ServiceController: {
|
|
36
|
+
readonly typeName: "google.api.servicecontrol.v2.ServiceController",
|
|
37
|
+
readonly methods: {
|
|
38
|
+
/**
|
|
39
|
+
* Private Preview. This feature is only available for approved services.
|
|
40
|
+
*
|
|
41
|
+
* This method provides admission control for services that are integrated
|
|
42
|
+
* with [Service
|
|
43
|
+
* Infrastructure](https://cloud.google.com/service-infrastructure). It checks
|
|
44
|
+
* whether an operation should be allowed based on the service configuration
|
|
45
|
+
* and relevant policies. It must be called before the operation is executed.
|
|
46
|
+
* For more information, see
|
|
47
|
+
* [Admission
|
|
48
|
+
* Control](https://cloud.google.com/service-infrastructure/docs/admission-control).
|
|
49
|
+
*
|
|
50
|
+
* NOTE: The admission control has an expected policy propagation delay of
|
|
51
|
+
* 60s. The caller **must** not depend on the most recent policy changes.
|
|
52
|
+
*
|
|
53
|
+
* NOTE: The admission control has a hard limit of 1 referenced resources
|
|
54
|
+
* per call. If an operation refers to more than 1 resources, the caller
|
|
55
|
+
* must call the Check method multiple times.
|
|
56
|
+
*
|
|
57
|
+
* This method requires the `servicemanagement.services.check` permission
|
|
58
|
+
* on the specified service. For more information, see
|
|
59
|
+
* [Service Control API Access
|
|
60
|
+
* Control](https://cloud.google.com/service-infrastructure/docs/service-control/access-control).
|
|
61
|
+
*
|
|
62
|
+
* @generated from rpc google.api.servicecontrol.v2.ServiceController.Check
|
|
63
|
+
*/
|
|
64
|
+
readonly check: {
|
|
65
|
+
readonly name: "Check",
|
|
66
|
+
readonly I: typeof CheckRequest,
|
|
67
|
+
readonly O: typeof CheckResponse,
|
|
68
|
+
readonly kind: MethodKind.Unary,
|
|
69
|
+
},
|
|
70
|
+
/**
|
|
71
|
+
* Private Preview. This feature is only available for approved services.
|
|
72
|
+
*
|
|
73
|
+
* This method provides telemetry reporting for services that are integrated
|
|
74
|
+
* with [Service
|
|
75
|
+
* Infrastructure](https://cloud.google.com/service-infrastructure). It
|
|
76
|
+
* reports a list of operations that have occurred on a service. It must be
|
|
77
|
+
* called after the operations have been executed. For more information, see
|
|
78
|
+
* [Telemetry
|
|
79
|
+
* Reporting](https://cloud.google.com/service-infrastructure/docs/telemetry-reporting).
|
|
80
|
+
*
|
|
81
|
+
* NOTE: The telemetry reporting has a hard limit of 1000 operations and 1MB
|
|
82
|
+
* per Report call. It is recommended to have no more than 100 operations per
|
|
83
|
+
* call.
|
|
84
|
+
*
|
|
85
|
+
* This method requires the `servicemanagement.services.report` permission
|
|
86
|
+
* on the specified service. For more information, see
|
|
87
|
+
* [Service Control API Access
|
|
88
|
+
* Control](https://cloud.google.com/service-infrastructure/docs/service-control/access-control).
|
|
89
|
+
*
|
|
90
|
+
* @generated from rpc google.api.servicecontrol.v2.ServiceController.Report
|
|
91
|
+
*/
|
|
92
|
+
readonly report: {
|
|
93
|
+
readonly name: "Report",
|
|
94
|
+
readonly I: typeof ReportRequest,
|
|
95
|
+
readonly O: typeof ReportResponse,
|
|
96
|
+
readonly kind: MethodKind.Unary,
|
|
97
|
+
},
|
|
98
|
+
}
|
|
99
|
+
};
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
// Copyright 2022 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/v2/service_controller.proto (package google.api.servicecontrol.v2, 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
|
+
* [Service Control API
|
|
25
|
+
* v2](https://cloud.google.com/service-infrastructure/docs/service-control/access-control)
|
|
26
|
+
*
|
|
27
|
+
* Private Preview. This feature is only available for approved services.
|
|
28
|
+
*
|
|
29
|
+
* This API provides admission control and telemetry reporting for services
|
|
30
|
+
* that are integrated with [Service
|
|
31
|
+
* Infrastructure](https://cloud.google.com/service-infrastructure).
|
|
32
|
+
*
|
|
33
|
+
* @generated from service google.api.servicecontrol.v2.ServiceController
|
|
34
|
+
*/
|
|
35
|
+
export const ServiceController = {
|
|
36
|
+
typeName: "google.api.servicecontrol.v2.ServiceController",
|
|
37
|
+
methods: {
|
|
38
|
+
/**
|
|
39
|
+
* Private Preview. This feature is only available for approved services.
|
|
40
|
+
*
|
|
41
|
+
* This method provides admission control for services that are integrated
|
|
42
|
+
* with [Service
|
|
43
|
+
* Infrastructure](https://cloud.google.com/service-infrastructure). It checks
|
|
44
|
+
* whether an operation should be allowed based on the service configuration
|
|
45
|
+
* and relevant policies. It must be called before the operation is executed.
|
|
46
|
+
* For more information, see
|
|
47
|
+
* [Admission
|
|
48
|
+
* Control](https://cloud.google.com/service-infrastructure/docs/admission-control).
|
|
49
|
+
*
|
|
50
|
+
* NOTE: The admission control has an expected policy propagation delay of
|
|
51
|
+
* 60s. The caller **must** not depend on the most recent policy changes.
|
|
52
|
+
*
|
|
53
|
+
* NOTE: The admission control has a hard limit of 1 referenced resources
|
|
54
|
+
* per call. If an operation refers to more than 1 resources, the caller
|
|
55
|
+
* must call the Check method multiple times.
|
|
56
|
+
*
|
|
57
|
+
* This method requires the `servicemanagement.services.check` permission
|
|
58
|
+
* on the specified service. For more information, see
|
|
59
|
+
* [Service Control API Access
|
|
60
|
+
* Control](https://cloud.google.com/service-infrastructure/docs/service-control/access-control).
|
|
61
|
+
*
|
|
62
|
+
* @generated from rpc google.api.servicecontrol.v2.ServiceController.Check
|
|
63
|
+
*/
|
|
64
|
+
check: {
|
|
65
|
+
name: "Check",
|
|
66
|
+
I: CheckRequest,
|
|
67
|
+
O: CheckResponse,
|
|
68
|
+
kind: MethodKind.Unary,
|
|
69
|
+
},
|
|
70
|
+
/**
|
|
71
|
+
* Private Preview. This feature is only available for approved services.
|
|
72
|
+
*
|
|
73
|
+
* This method provides telemetry reporting for services that are integrated
|
|
74
|
+
* with [Service
|
|
75
|
+
* Infrastructure](https://cloud.google.com/service-infrastructure). It
|
|
76
|
+
* reports a list of operations that have occurred on a service. It must be
|
|
77
|
+
* called after the operations have been executed. For more information, see
|
|
78
|
+
* [Telemetry
|
|
79
|
+
* Reporting](https://cloud.google.com/service-infrastructure/docs/telemetry-reporting).
|
|
80
|
+
*
|
|
81
|
+
* NOTE: The telemetry reporting has a hard limit of 1000 operations and 1MB
|
|
82
|
+
* per Report call. It is recommended to have no more than 100 operations per
|
|
83
|
+
* call.
|
|
84
|
+
*
|
|
85
|
+
* This method requires the `servicemanagement.services.report` permission
|
|
86
|
+
* on the specified service. For more information, see
|
|
87
|
+
* [Service Control API Access
|
|
88
|
+
* Control](https://cloud.google.com/service-infrastructure/docs/service-control/access-control).
|
|
89
|
+
*
|
|
90
|
+
* @generated from rpc google.api.servicecontrol.v2.ServiceController.Report
|
|
91
|
+
*/
|
|
92
|
+
report: {
|
|
93
|
+
name: "Report",
|
|
94
|
+
I: ReportRequest,
|
|
95
|
+
O: ReportResponse,
|
|
96
|
+
kind: MethodKind.Unary,
|
|
97
|
+
},
|
|
98
|
+
}
|
|
99
|
+
};
|
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
// Copyright 2022 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/v2/service_controller.proto (package google.api.servicecontrol.v2, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
|
|
19
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
20
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
21
|
+
import type { AttributeContext } from "../../../rpc/context/attribute_context_pb";
|
|
22
|
+
import type { Status } from "../../../rpc/status_pb";
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Describes the file google/api/servicecontrol/v2/service_controller.proto.
|
|
26
|
+
*/
|
|
27
|
+
export declare const file_google_api_servicecontrol_v2_service_controller: GenFile;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Request message for the Check method.
|
|
31
|
+
*
|
|
32
|
+
* @generated from message google.api.servicecontrol.v2.CheckRequest
|
|
33
|
+
*/
|
|
34
|
+
export declare type CheckRequest = Message<"google.api.servicecontrol.v2.CheckRequest"> & {
|
|
35
|
+
/**
|
|
36
|
+
* The service name as specified in its service configuration. For example,
|
|
37
|
+
* `"pubsub.googleapis.com"`.
|
|
38
|
+
*
|
|
39
|
+
* See
|
|
40
|
+
* [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service)
|
|
41
|
+
* for the definition of a service name.
|
|
42
|
+
*
|
|
43
|
+
* @generated from field: string service_name = 1;
|
|
44
|
+
*/
|
|
45
|
+
serviceName: string;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Specifies the version of the service configuration that should be used to
|
|
49
|
+
* process the request. Must not be empty. Set this field to 'latest' to
|
|
50
|
+
* specify using the latest configuration.
|
|
51
|
+
*
|
|
52
|
+
* @generated from field: string service_config_id = 2;
|
|
53
|
+
*/
|
|
54
|
+
serviceConfigId: string;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Describes attributes about the operation being executed by the service.
|
|
58
|
+
*
|
|
59
|
+
* @generated from field: google.rpc.context.AttributeContext attributes = 3;
|
|
60
|
+
*/
|
|
61
|
+
attributes?: AttributeContext;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Describes the resources and the policies applied to each resource.
|
|
65
|
+
*
|
|
66
|
+
* @generated from field: repeated google.api.servicecontrol.v2.ResourceInfo resources = 4;
|
|
67
|
+
*/
|
|
68
|
+
resources: ResourceInfo[];
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Optional. Contains a comma-separated list of flags.
|
|
72
|
+
*
|
|
73
|
+
* @generated from field: string flags = 5;
|
|
74
|
+
*/
|
|
75
|
+
flags: string;
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Describes the message google.api.servicecontrol.v2.CheckRequest.
|
|
80
|
+
* Use `create(CheckRequestSchema)` to create a new message.
|
|
81
|
+
*/
|
|
82
|
+
export declare const CheckRequestSchema: GenMessage<CheckRequest>;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Describes a resource referenced in the request.
|
|
86
|
+
*
|
|
87
|
+
* @generated from message google.api.servicecontrol.v2.ResourceInfo
|
|
88
|
+
*/
|
|
89
|
+
export declare type ResourceInfo = Message<"google.api.servicecontrol.v2.ResourceInfo"> & {
|
|
90
|
+
/**
|
|
91
|
+
* The name of the resource referenced in the request.
|
|
92
|
+
*
|
|
93
|
+
* @generated from field: string name = 1;
|
|
94
|
+
*/
|
|
95
|
+
name: string;
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* The resource type in the format of "{service}/{kind}".
|
|
99
|
+
*
|
|
100
|
+
* @generated from field: string type = 2;
|
|
101
|
+
*/
|
|
102
|
+
type: string;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* The resource permission needed for this request.
|
|
106
|
+
* The format must be "{service}/{plural}.{verb}".
|
|
107
|
+
*
|
|
108
|
+
* @generated from field: string permission = 3;
|
|
109
|
+
*/
|
|
110
|
+
permission: string;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Optional. The identifier of the container of this resource. For Google
|
|
114
|
+
* Cloud APIs, the resource container must be one of the following formats:
|
|
115
|
+
* - `projects/<project-id or project-number>`
|
|
116
|
+
* - `folders/<folder-id>`
|
|
117
|
+
* - `organizations/<organization-id>`
|
|
118
|
+
* For the policy enforcement on the container level (VPCSC and Location
|
|
119
|
+
* Policy check), this field takes precedence on the container extracted from
|
|
120
|
+
* name when presents.
|
|
121
|
+
*
|
|
122
|
+
* @generated from field: string container = 4;
|
|
123
|
+
*/
|
|
124
|
+
container: string;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Optional. The location of the resource. The value must be a valid zone,
|
|
128
|
+
* region or multiregion. For example: "europe-west4" or
|
|
129
|
+
* "northamerica-northeast1-a"
|
|
130
|
+
*
|
|
131
|
+
* @generated from field: string location = 5;
|
|
132
|
+
*/
|
|
133
|
+
location: string;
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Describes the message google.api.servicecontrol.v2.ResourceInfo.
|
|
138
|
+
* Use `create(ResourceInfoSchema)` to create a new message.
|
|
139
|
+
*/
|
|
140
|
+
export declare const ResourceInfoSchema: GenMessage<ResourceInfo>;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Response message for the Check method.
|
|
144
|
+
*
|
|
145
|
+
* @generated from message google.api.servicecontrol.v2.CheckResponse
|
|
146
|
+
*/
|
|
147
|
+
export declare type CheckResponse = Message<"google.api.servicecontrol.v2.CheckResponse"> & {
|
|
148
|
+
/**
|
|
149
|
+
* Operation is allowed when this field is not set. Any non-'OK' status
|
|
150
|
+
* indicates a denial; [google.rpc.Status.details][google.rpc.Status.details]
|
|
151
|
+
* would contain additional details about the denial.
|
|
152
|
+
*
|
|
153
|
+
* @generated from field: google.rpc.Status status = 1;
|
|
154
|
+
*/
|
|
155
|
+
status?: Status;
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Returns a set of request contexts generated from the `CheckRequest`.
|
|
159
|
+
*
|
|
160
|
+
* @generated from field: map<string, string> headers = 2;
|
|
161
|
+
*/
|
|
162
|
+
headers: { [key: string]: string };
|
|
163
|
+
};
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Describes the message google.api.servicecontrol.v2.CheckResponse.
|
|
167
|
+
* Use `create(CheckResponseSchema)` to create a new message.
|
|
168
|
+
*/
|
|
169
|
+
export declare const CheckResponseSchema: GenMessage<CheckResponse>;
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* Request message for the Report method.
|
|
173
|
+
*
|
|
174
|
+
* @generated from message google.api.servicecontrol.v2.ReportRequest
|
|
175
|
+
*/
|
|
176
|
+
export declare type ReportRequest = Message<"google.api.servicecontrol.v2.ReportRequest"> & {
|
|
177
|
+
/**
|
|
178
|
+
* The service name as specified in its service configuration. For example,
|
|
179
|
+
* `"pubsub.googleapis.com"`.
|
|
180
|
+
*
|
|
181
|
+
* See
|
|
182
|
+
* [google.api.Service](https://cloud.google.com/service-management/reference/rpc/google.api#google.api.Service)
|
|
183
|
+
* for the definition of a service name.
|
|
184
|
+
*
|
|
185
|
+
* @generated from field: string service_name = 1;
|
|
186
|
+
*/
|
|
187
|
+
serviceName: string;
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* Specifies the version of the service configuration that should be used to
|
|
191
|
+
* process the request. Must not be empty. Set this field to 'latest' to
|
|
192
|
+
* specify using the latest configuration.
|
|
193
|
+
*
|
|
194
|
+
* @generated from field: string service_config_id = 2;
|
|
195
|
+
*/
|
|
196
|
+
serviceConfigId: string;
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* Describes the list of operations to be reported. Each operation is
|
|
200
|
+
* represented as an AttributeContext, and contains all attributes around an
|
|
201
|
+
* API access.
|
|
202
|
+
*
|
|
203
|
+
* @generated from field: repeated google.rpc.context.AttributeContext operations = 3;
|
|
204
|
+
*/
|
|
205
|
+
operations: AttributeContext[];
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Describes the message google.api.servicecontrol.v2.ReportRequest.
|
|
210
|
+
* Use `create(ReportRequestSchema)` to create a new message.
|
|
211
|
+
*/
|
|
212
|
+
export declare const ReportRequestSchema: GenMessage<ReportRequest>;
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* Response message for the Report method.
|
|
216
|
+
* If the request contains any invalid data, the server returns an RPC error.
|
|
217
|
+
*
|
|
218
|
+
* @generated from message google.api.servicecontrol.v2.ReportResponse
|
|
219
|
+
*/
|
|
220
|
+
export declare type ReportResponse = Message<"google.api.servicecontrol.v2.ReportResponse"> & {
|
|
221
|
+
};
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* Describes the message google.api.servicecontrol.v2.ReportResponse.
|
|
225
|
+
* Use `create(ReportResponseSchema)` to create a new message.
|
|
226
|
+
*/
|
|
227
|
+
export declare const ReportResponseSchema: GenMessage<ReportResponse>;
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* [Service Control API
|
|
231
|
+
* v2](https://cloud.google.com/service-infrastructure/docs/service-control/access-control)
|
|
232
|
+
*
|
|
233
|
+
* Private Preview. This feature is only available for approved services.
|
|
234
|
+
*
|
|
235
|
+
* This API provides admission control and telemetry reporting for services
|
|
236
|
+
* that are integrated with [Service
|
|
237
|
+
* Infrastructure](https://cloud.google.com/service-infrastructure).
|
|
238
|
+
*
|
|
239
|
+
* @generated from service google.api.servicecontrol.v2.ServiceController
|
|
240
|
+
*/
|
|
241
|
+
export declare const ServiceController: GenService<{
|
|
242
|
+
/**
|
|
243
|
+
* Private Preview. This feature is only available for approved services.
|
|
244
|
+
*
|
|
245
|
+
* This method provides admission control for services that are integrated
|
|
246
|
+
* with [Service
|
|
247
|
+
* Infrastructure](https://cloud.google.com/service-infrastructure). It checks
|
|
248
|
+
* whether an operation should be allowed based on the service configuration
|
|
249
|
+
* and relevant policies. It must be called before the operation is executed.
|
|
250
|
+
* For more information, see
|
|
251
|
+
* [Admission
|
|
252
|
+
* Control](https://cloud.google.com/service-infrastructure/docs/admission-control).
|
|
253
|
+
*
|
|
254
|
+
* NOTE: The admission control has an expected policy propagation delay of
|
|
255
|
+
* 60s. The caller **must** not depend on the most recent policy changes.
|
|
256
|
+
*
|
|
257
|
+
* NOTE: The admission control has a hard limit of 1 referenced resources
|
|
258
|
+
* per call. If an operation refers to more than 1 resources, the caller
|
|
259
|
+
* must call the Check method multiple times.
|
|
260
|
+
*
|
|
261
|
+
* This method requires the `servicemanagement.services.check` permission
|
|
262
|
+
* on the specified service. For more information, see
|
|
263
|
+
* [Service Control API Access
|
|
264
|
+
* Control](https://cloud.google.com/service-infrastructure/docs/service-control/access-control).
|
|
265
|
+
*
|
|
266
|
+
* @generated from rpc google.api.servicecontrol.v2.ServiceController.Check
|
|
267
|
+
*/
|
|
268
|
+
check: {
|
|
269
|
+
methodKind: "unary";
|
|
270
|
+
input: typeof CheckRequestSchema;
|
|
271
|
+
output: typeof CheckResponseSchema;
|
|
272
|
+
},
|
|
273
|
+
/**
|
|
274
|
+
* Private Preview. This feature is only available for approved services.
|
|
275
|
+
*
|
|
276
|
+
* This method provides telemetry reporting for services that are integrated
|
|
277
|
+
* with [Service
|
|
278
|
+
* Infrastructure](https://cloud.google.com/service-infrastructure). It
|
|
279
|
+
* reports a list of operations that have occurred on a service. It must be
|
|
280
|
+
* called after the operations have been executed. For more information, see
|
|
281
|
+
* [Telemetry
|
|
282
|
+
* Reporting](https://cloud.google.com/service-infrastructure/docs/telemetry-reporting).
|
|
283
|
+
*
|
|
284
|
+
* NOTE: The telemetry reporting has a hard limit of 1000 operations and 1MB
|
|
285
|
+
* per Report call. It is recommended to have no more than 100 operations per
|
|
286
|
+
* call.
|
|
287
|
+
*
|
|
288
|
+
* This method requires the `servicemanagement.services.report` permission
|
|
289
|
+
* on the specified service. For more information, see
|
|
290
|
+
* [Service Control API Access
|
|
291
|
+
* Control](https://cloud.google.com/service-infrastructure/docs/service-control/access-control).
|
|
292
|
+
*
|
|
293
|
+
* @generated from rpc google.api.servicecontrol.v2.ServiceController.Report
|
|
294
|
+
*/
|
|
295
|
+
report: {
|
|
296
|
+
methodKind: "unary";
|
|
297
|
+
input: typeof ReportRequestSchema;
|
|
298
|
+
output: typeof ReportResponseSchema;
|
|
299
|
+
},
|
|
300
|
+
}>;
|