@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,237 @@
|
|
|
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/log_entry.proto (package google.api.servicecontrol.v1, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
|
|
19
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
20
|
+
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
21
|
+
import type { Timestamp } from "../../../protobuf/timestamp_pb";
|
|
22
|
+
import type { LogSeverity } from "../../../logging/type/log_severity_pb";
|
|
23
|
+
import type { HttpRequest } from "./http_request_pb";
|
|
24
|
+
import type { Any } from "../../../protobuf/any_pb";
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Describes the file google/api/servicecontrol/v1/log_entry.proto.
|
|
28
|
+
*/
|
|
29
|
+
export declare const file_google_api_servicecontrol_v1_log_entry: GenFile;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* An individual log entry.
|
|
33
|
+
*
|
|
34
|
+
* @generated from message google.api.servicecontrol.v1.LogEntry
|
|
35
|
+
*/
|
|
36
|
+
export declare type LogEntry = Message<"google.api.servicecontrol.v1.LogEntry"> & {
|
|
37
|
+
/**
|
|
38
|
+
* Required. The log to which this log entry belongs. Examples: `"syslog"`,
|
|
39
|
+
* `"book_log"`.
|
|
40
|
+
*
|
|
41
|
+
* @generated from field: string name = 10;
|
|
42
|
+
*/
|
|
43
|
+
name: string;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* The time the event described by the log entry occurred. If
|
|
47
|
+
* omitted, defaults to operation start time.
|
|
48
|
+
*
|
|
49
|
+
* @generated from field: google.protobuf.Timestamp timestamp = 11;
|
|
50
|
+
*/
|
|
51
|
+
timestamp?: Timestamp;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* The severity of the log entry. The default value is
|
|
55
|
+
* `LogSeverity.DEFAULT`.
|
|
56
|
+
*
|
|
57
|
+
* @generated from field: google.logging.type.LogSeverity severity = 12;
|
|
58
|
+
*/
|
|
59
|
+
severity: LogSeverity;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Optional. Information about the HTTP request associated with this
|
|
63
|
+
* log entry, if applicable.
|
|
64
|
+
*
|
|
65
|
+
* @generated from field: google.api.servicecontrol.v1.HttpRequest http_request = 14;
|
|
66
|
+
*/
|
|
67
|
+
httpRequest?: HttpRequest;
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Optional. Resource name of the trace associated with the log entry, if any.
|
|
71
|
+
* If this field contains a relative resource name, you can assume the name is
|
|
72
|
+
* relative to `//tracing.googleapis.com`. Example:
|
|
73
|
+
* `projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824`
|
|
74
|
+
*
|
|
75
|
+
* @generated from field: string trace = 15;
|
|
76
|
+
*/
|
|
77
|
+
trace: string;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* A unique ID for the log entry used for deduplication. If omitted,
|
|
81
|
+
* the implementation will generate one based on operation_id.
|
|
82
|
+
*
|
|
83
|
+
* @generated from field: string insert_id = 4;
|
|
84
|
+
*/
|
|
85
|
+
insertId: string;
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* A set of user-defined (key, value) data that provides additional
|
|
89
|
+
* information about the log entry.
|
|
90
|
+
*
|
|
91
|
+
* @generated from field: map<string, string> labels = 13;
|
|
92
|
+
*/
|
|
93
|
+
labels: { [key: string]: string };
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* The log entry payload, which can be one of multiple types.
|
|
97
|
+
*
|
|
98
|
+
* @generated from oneof google.api.servicecontrol.v1.LogEntry.payload
|
|
99
|
+
*/
|
|
100
|
+
payload: {
|
|
101
|
+
/**
|
|
102
|
+
* The log entry payload, represented as a protocol buffer that is
|
|
103
|
+
* expressed as a JSON object. The only accepted type currently is
|
|
104
|
+
* [AuditLog][google.cloud.audit.AuditLog].
|
|
105
|
+
*
|
|
106
|
+
* @generated from field: google.protobuf.Any proto_payload = 2;
|
|
107
|
+
*/
|
|
108
|
+
value: Any;
|
|
109
|
+
case: "protoPayload";
|
|
110
|
+
} | {
|
|
111
|
+
/**
|
|
112
|
+
* The log entry payload, represented as a Unicode string (UTF-8).
|
|
113
|
+
*
|
|
114
|
+
* @generated from field: string text_payload = 3;
|
|
115
|
+
*/
|
|
116
|
+
value: string;
|
|
117
|
+
case: "textPayload";
|
|
118
|
+
} | {
|
|
119
|
+
/**
|
|
120
|
+
* The log entry payload, represented as a structure that
|
|
121
|
+
* is expressed as a JSON object.
|
|
122
|
+
*
|
|
123
|
+
* @generated from field: google.protobuf.Struct struct_payload = 6;
|
|
124
|
+
*/
|
|
125
|
+
value: JsonObject;
|
|
126
|
+
case: "structPayload";
|
|
127
|
+
} | { case: undefined; value?: undefined };
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Optional. Information about an operation associated with the log entry, if
|
|
131
|
+
* applicable.
|
|
132
|
+
*
|
|
133
|
+
* @generated from field: google.api.servicecontrol.v1.LogEntryOperation operation = 16;
|
|
134
|
+
*/
|
|
135
|
+
operation?: LogEntryOperation;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* Optional. Source code location information associated with the log entry,
|
|
139
|
+
* if any.
|
|
140
|
+
*
|
|
141
|
+
* @generated from field: google.api.servicecontrol.v1.LogEntrySourceLocation source_location = 17;
|
|
142
|
+
*/
|
|
143
|
+
sourceLocation?: LogEntrySourceLocation;
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Describes the message google.api.servicecontrol.v1.LogEntry.
|
|
148
|
+
* Use `create(LogEntrySchema)` to create a new message.
|
|
149
|
+
*/
|
|
150
|
+
export declare const LogEntrySchema: GenMessage<LogEntry>;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Additional information about a potentially long-running operation with which
|
|
154
|
+
* a log entry is associated.
|
|
155
|
+
*
|
|
156
|
+
* @generated from message google.api.servicecontrol.v1.LogEntryOperation
|
|
157
|
+
*/
|
|
158
|
+
export declare type LogEntryOperation = Message<"google.api.servicecontrol.v1.LogEntryOperation"> & {
|
|
159
|
+
/**
|
|
160
|
+
* Optional. An arbitrary operation identifier. Log entries with the
|
|
161
|
+
* same identifier are assumed to be part of the same operation.
|
|
162
|
+
*
|
|
163
|
+
* @generated from field: string id = 1;
|
|
164
|
+
*/
|
|
165
|
+
id: string;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Optional. An arbitrary producer identifier. The combination of
|
|
169
|
+
* `id` and `producer` must be globally unique. Examples for `producer`:
|
|
170
|
+
* `"MyDivision.MyBigCompany.com"`, `"github.com/MyProject/MyApplication"`.
|
|
171
|
+
*
|
|
172
|
+
* @generated from field: string producer = 2;
|
|
173
|
+
*/
|
|
174
|
+
producer: string;
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* Optional. Set this to True if this is the first log entry in the operation.
|
|
178
|
+
*
|
|
179
|
+
* @generated from field: bool first = 3;
|
|
180
|
+
*/
|
|
181
|
+
first: boolean;
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* Optional. Set this to True if this is the last log entry in the operation.
|
|
185
|
+
*
|
|
186
|
+
* @generated from field: bool last = 4;
|
|
187
|
+
*/
|
|
188
|
+
last: boolean;
|
|
189
|
+
};
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Describes the message google.api.servicecontrol.v1.LogEntryOperation.
|
|
193
|
+
* Use `create(LogEntryOperationSchema)` to create a new message.
|
|
194
|
+
*/
|
|
195
|
+
export declare const LogEntryOperationSchema: GenMessage<LogEntryOperation>;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Additional information about the source code location that produced the log
|
|
199
|
+
* entry.
|
|
200
|
+
*
|
|
201
|
+
* @generated from message google.api.servicecontrol.v1.LogEntrySourceLocation
|
|
202
|
+
*/
|
|
203
|
+
export declare type LogEntrySourceLocation = Message<"google.api.servicecontrol.v1.LogEntrySourceLocation"> & {
|
|
204
|
+
/**
|
|
205
|
+
* Optional. Source file name. Depending on the runtime environment, this
|
|
206
|
+
* might be a simple name or a fully-qualified name.
|
|
207
|
+
*
|
|
208
|
+
* @generated from field: string file = 1;
|
|
209
|
+
*/
|
|
210
|
+
file: string;
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* Optional. Line within the source file. 1-based; 0 indicates no line number
|
|
214
|
+
* available.
|
|
215
|
+
*
|
|
216
|
+
* @generated from field: int64 line = 2;
|
|
217
|
+
*/
|
|
218
|
+
line: bigint;
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* Optional. Human-readable name of the function or method being invoked, with
|
|
222
|
+
* optional context such as the class or package name. This information may be
|
|
223
|
+
* used in contexts such as the logs viewer, where a file and line number are
|
|
224
|
+
* less meaningful. The format can vary by language. For example:
|
|
225
|
+
* `qual.if.ied.Class.method` (Java), `dir/package.func` (Go), `function`
|
|
226
|
+
* (Python).
|
|
227
|
+
*
|
|
228
|
+
* @generated from field: string function = 3;
|
|
229
|
+
*/
|
|
230
|
+
function: string;
|
|
231
|
+
};
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* Describes the message google.api.servicecontrol.v1.LogEntrySourceLocation.
|
|
235
|
+
* Use `create(LogEntrySourceLocationSchema)` to create a new message.
|
|
236
|
+
*/
|
|
237
|
+
export declare const LogEntrySourceLocationSchema: GenMessage<LogEntrySourceLocation>;
|
|
@@ -0,0 +1,51 @@
|
|
|
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/log_entry.proto (package google.api.servicecontrol.v1, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
|
|
19
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
20
|
+
import { file_google_api_servicecontrol_v1_http_request } from "./http_request_pb";
|
|
21
|
+
import { file_google_logging_type_log_severity } from "../../../logging/type/log_severity_pb";
|
|
22
|
+
import { file_google_protobuf_any } from "../../../protobuf/any_pb";
|
|
23
|
+
import { file_google_protobuf_struct } from "../../../protobuf/struct_pb";
|
|
24
|
+
import { file_google_protobuf_timestamp } from "../../../protobuf/timestamp_pb";
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Describes the file google/api/servicecontrol/v1/log_entry.proto.
|
|
28
|
+
*/
|
|
29
|
+
export const file_google_api_servicecontrol_v1_log_entry = /*@__PURE__*/
|
|
30
|
+
fileDesc("Cixnb29nbGUvYXBpL3NlcnZpY2Vjb250cm9sL3YxL2xvZ19lbnRyeS5wcm90bxIcZ29vZ2xlLmFwaS5zZXJ2aWNlY29udHJvbC52MSLpBAoITG9nRW50cnkSDAoEbmFtZRgKIAEoCRItCgl0aW1lc3RhbXAYCyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEjIKCHNldmVyaXR5GAwgASgOMiAuZ29vZ2xlLmxvZ2dpbmcudHlwZS5Mb2dTZXZlcml0eRI/CgxodHRwX3JlcXVlc3QYDiABKAsyKS5nb29nbGUuYXBpLnNlcnZpY2Vjb250cm9sLnYxLkh0dHBSZXF1ZXN0Eg0KBXRyYWNlGA8gASgJEhEKCWluc2VydF9pZBgEIAEoCRJCCgZsYWJlbHMYDSADKAsyMi5nb29nbGUuYXBpLnNlcnZpY2Vjb250cm9sLnYxLkxvZ0VudHJ5LkxhYmVsc0VudHJ5Ei0KDXByb3RvX3BheWxvYWQYAiABKAsyFC5nb29nbGUucHJvdG9idWYuQW55SAASFgoMdGV4dF9wYXlsb2FkGAMgASgJSAASMQoOc3RydWN0X3BheWxvYWQYBiABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0SAASQgoJb3BlcmF0aW9uGBAgASgLMi8uZ29vZ2xlLmFwaS5zZXJ2aWNlY29udHJvbC52MS5Mb2dFbnRyeU9wZXJhdGlvbhJNCg9zb3VyY2VfbG9jYXRpb24YESABKAsyNC5nb29nbGUuYXBpLnNlcnZpY2Vjb250cm9sLnYxLkxvZ0VudHJ5U291cmNlTG9jYXRpb24aLQoLTGFiZWxzRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4AUIJCgdwYXlsb2FkIk4KEUxvZ0VudHJ5T3BlcmF0aW9uEgoKAmlkGAEgASgJEhAKCHByb2R1Y2VyGAIgASgJEg0KBWZpcnN0GAMgASgIEgwKBGxhc3QYBCABKAgiRgoWTG9nRW50cnlTb3VyY2VMb2NhdGlvbhIMCgRmaWxlGAEgASgJEgwKBGxpbmUYAiABKAMSEAoIZnVuY3Rpb24YAyABKAlC5QEKIGNvbS5nb29nbGUuYXBpLnNlcnZpY2Vjb250cm9sLnYxQg1Mb2dFbnRyeVByb3RvUAFaSmdvb2dsZS5nb2xhbmcub3JnL2dlbnByb3RvL2dvb2dsZWFwaXMvYXBpL3NlcnZpY2Vjb250cm9sL3YxO3NlcnZpY2Vjb250cm9sqgIeR29vZ2xlLkNsb3VkLlNlcnZpY2VDb250cm9sLlYxygIeR29vZ2xlXENsb3VkXFNlcnZpY2VDb250cm9sXFYx6gIhR29vZ2xlOjpDbG91ZDo6U2VydmljZUNvbnRyb2w6OlYxYgZwcm90bzM", [file_google_api_servicecontrol_v1_http_request, file_google_logging_type_log_severity, file_google_protobuf_any, file_google_protobuf_struct, file_google_protobuf_timestamp]);
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Describes the message google.api.servicecontrol.v1.LogEntry.
|
|
34
|
+
* Use `create(LogEntrySchema)` to create a new message.
|
|
35
|
+
*/
|
|
36
|
+
export const LogEntrySchema = /*@__PURE__*/
|
|
37
|
+
messageDesc(file_google_api_servicecontrol_v1_log_entry, 0);
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Describes the message google.api.servicecontrol.v1.LogEntryOperation.
|
|
41
|
+
* Use `create(LogEntryOperationSchema)` to create a new message.
|
|
42
|
+
*/
|
|
43
|
+
export const LogEntryOperationSchema = /*@__PURE__*/
|
|
44
|
+
messageDesc(file_google_api_servicecontrol_v1_log_entry, 1);
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Describes the message google.api.servicecontrol.v1.LogEntrySourceLocation.
|
|
48
|
+
* Use `create(LogEntrySourceLocationSchema)` to create a new message.
|
|
49
|
+
*/
|
|
50
|
+
export const LogEntrySourceLocationSchema = /*@__PURE__*/
|
|
51
|
+
messageDesc(file_google_api_servicecontrol_v1_log_entry, 2);
|
|
@@ -0,0 +1,148 @@
|
|
|
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/metric_value.proto (package google.api.servicecontrol.v1, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
|
|
19
|
+
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
20
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
21
|
+
import type { Timestamp } from "../../../protobuf/timestamp_pb";
|
|
22
|
+
import type { Distribution } from "./distribution_pb";
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Describes the file google/api/servicecontrol/v1/metric_value.proto.
|
|
26
|
+
*/
|
|
27
|
+
export declare const file_google_api_servicecontrol_v1_metric_value: GenFile;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Represents a single metric value.
|
|
31
|
+
*
|
|
32
|
+
* @generated from message google.api.servicecontrol.v1.MetricValue
|
|
33
|
+
*/
|
|
34
|
+
export declare type MetricValue = Message<"google.api.servicecontrol.v1.MetricValue"> & {
|
|
35
|
+
/**
|
|
36
|
+
* The labels describing the metric value.
|
|
37
|
+
* See comments on [google.api.servicecontrol.v1.Operation.labels][google.api.servicecontrol.v1.Operation.labels] for
|
|
38
|
+
* the overriding relationship.
|
|
39
|
+
* Note that this map must not contain monitored resource labels.
|
|
40
|
+
*
|
|
41
|
+
* @generated from field: map<string, string> labels = 1;
|
|
42
|
+
*/
|
|
43
|
+
labels: { [key: string]: string };
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* The start of the time period over which this metric value's measurement
|
|
47
|
+
* applies. The time period has different semantics for different metric
|
|
48
|
+
* types (cumulative, delta, and gauge). See the metric definition
|
|
49
|
+
* documentation in the service configuration for details. If not specified,
|
|
50
|
+
* [google.api.servicecontrol.v1.Operation.start_time][google.api.servicecontrol.v1.Operation.start_time] will be used.
|
|
51
|
+
*
|
|
52
|
+
* @generated from field: google.protobuf.Timestamp start_time = 2;
|
|
53
|
+
*/
|
|
54
|
+
startTime?: Timestamp;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* The end of the time period over which this metric value's measurement
|
|
58
|
+
* applies. If not specified,
|
|
59
|
+
* [google.api.servicecontrol.v1.Operation.end_time][google.api.servicecontrol.v1.Operation.end_time] will be used.
|
|
60
|
+
*
|
|
61
|
+
* @generated from field: google.protobuf.Timestamp end_time = 3;
|
|
62
|
+
*/
|
|
63
|
+
endTime?: Timestamp;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* The value. The type of value used in the request must
|
|
67
|
+
* agree with the metric definition in the service configuration, otherwise
|
|
68
|
+
* the MetricValue is rejected.
|
|
69
|
+
*
|
|
70
|
+
* @generated from oneof google.api.servicecontrol.v1.MetricValue.value
|
|
71
|
+
*/
|
|
72
|
+
value: {
|
|
73
|
+
/**
|
|
74
|
+
* A boolean value.
|
|
75
|
+
*
|
|
76
|
+
* @generated from field: bool bool_value = 4;
|
|
77
|
+
*/
|
|
78
|
+
value: boolean;
|
|
79
|
+
case: "boolValue";
|
|
80
|
+
} | {
|
|
81
|
+
/**
|
|
82
|
+
* A signed 64-bit integer value.
|
|
83
|
+
*
|
|
84
|
+
* @generated from field: int64 int64_value = 5;
|
|
85
|
+
*/
|
|
86
|
+
value: bigint;
|
|
87
|
+
case: "int64Value";
|
|
88
|
+
} | {
|
|
89
|
+
/**
|
|
90
|
+
* A double precision floating point value.
|
|
91
|
+
*
|
|
92
|
+
* @generated from field: double double_value = 6;
|
|
93
|
+
*/
|
|
94
|
+
value: number;
|
|
95
|
+
case: "doubleValue";
|
|
96
|
+
} | {
|
|
97
|
+
/**
|
|
98
|
+
* A text string value.
|
|
99
|
+
*
|
|
100
|
+
* @generated from field: string string_value = 7;
|
|
101
|
+
*/
|
|
102
|
+
value: string;
|
|
103
|
+
case: "stringValue";
|
|
104
|
+
} | {
|
|
105
|
+
/**
|
|
106
|
+
* A distribution value.
|
|
107
|
+
*
|
|
108
|
+
* @generated from field: google.api.servicecontrol.v1.Distribution distribution_value = 8;
|
|
109
|
+
*/
|
|
110
|
+
value: Distribution;
|
|
111
|
+
case: "distributionValue";
|
|
112
|
+
} | { case: undefined; value?: undefined };
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Describes the message google.api.servicecontrol.v1.MetricValue.
|
|
117
|
+
* Use `create(MetricValueSchema)` to create a new message.
|
|
118
|
+
*/
|
|
119
|
+
export declare const MetricValueSchema: GenMessage<MetricValue>;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Represents a set of metric values in the same metric.
|
|
123
|
+
* Each metric value in the set should have a unique combination of start time,
|
|
124
|
+
* end time, and label values.
|
|
125
|
+
*
|
|
126
|
+
* @generated from message google.api.servicecontrol.v1.MetricValueSet
|
|
127
|
+
*/
|
|
128
|
+
export declare type MetricValueSet = Message<"google.api.servicecontrol.v1.MetricValueSet"> & {
|
|
129
|
+
/**
|
|
130
|
+
* The metric name defined in the service configuration.
|
|
131
|
+
*
|
|
132
|
+
* @generated from field: string metric_name = 1;
|
|
133
|
+
*/
|
|
134
|
+
metricName: string;
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* The values in this metric.
|
|
138
|
+
*
|
|
139
|
+
* @generated from field: repeated google.api.servicecontrol.v1.MetricValue metric_values = 2;
|
|
140
|
+
*/
|
|
141
|
+
metricValues: MetricValue[];
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Describes the message google.api.servicecontrol.v1.MetricValueSet.
|
|
146
|
+
* Use `create(MetricValueSetSchema)` to create a new message.
|
|
147
|
+
*/
|
|
148
|
+
export declare const MetricValueSetSchema: GenMessage<MetricValueSet>;
|
|
@@ -0,0 +1,41 @@
|
|
|
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/metric_value.proto (package google.api.servicecontrol.v1, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
|
|
19
|
+
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
20
|
+
import { file_google_api_servicecontrol_v1_distribution } from "./distribution_pb";
|
|
21
|
+
import { file_google_protobuf_timestamp } from "../../../protobuf/timestamp_pb";
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Describes the file google/api/servicecontrol/v1/metric_value.proto.
|
|
25
|
+
*/
|
|
26
|
+
export const file_google_api_servicecontrol_v1_metric_value = /*@__PURE__*/
|
|
27
|
+
fileDesc("Ci9nb29nbGUvYXBpL3NlcnZpY2Vjb250cm9sL3YxL21ldHJpY192YWx1ZS5wcm90bxIcZ29vZ2xlLmFwaS5zZXJ2aWNlY29udHJvbC52MSKRAwoLTWV0cmljVmFsdWUSRQoGbGFiZWxzGAEgAygLMjUuZ29vZ2xlLmFwaS5zZXJ2aWNlY29udHJvbC52MS5NZXRyaWNWYWx1ZS5MYWJlbHNFbnRyeRIuCgpzdGFydF90aW1lGAIgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBIsCghlbmRfdGltZRgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASFAoKYm9vbF92YWx1ZRgEIAEoCEgAEhUKC2ludDY0X3ZhbHVlGAUgASgDSAASFgoMZG91YmxlX3ZhbHVlGAYgASgBSAASFgoMc3RyaW5nX3ZhbHVlGAcgASgJSAASSAoSZGlzdHJpYnV0aW9uX3ZhbHVlGAggASgLMiouZ29vZ2xlLmFwaS5zZXJ2aWNlY29udHJvbC52MS5EaXN0cmlidXRpb25IABotCgtMYWJlbHNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBQgcKBXZhbHVlImcKDk1ldHJpY1ZhbHVlU2V0EhMKC21ldHJpY19uYW1lGAEgASgJEkAKDW1ldHJpY192YWx1ZXMYAiADKAsyKS5nb29nbGUuYXBpLnNlcnZpY2Vjb250cm9sLnYxLk1ldHJpY1ZhbHVlQu4BCiBjb20uZ29vZ2xlLmFwaS5zZXJ2aWNlY29udHJvbC52MUITTWV0cmljVmFsdWVTZXRQcm90b1ABWkpnb29nbGUuZ29sYW5nLm9yZy9nZW5wcm90by9nb29nbGVhcGlzL2FwaS9zZXJ2aWNlY29udHJvbC92MTtzZXJ2aWNlY29udHJvbPgBAaoCHkdvb2dsZS5DbG91ZC5TZXJ2aWNlQ29udHJvbC5WMcoCHkdvb2dsZVxDbG91ZFxTZXJ2aWNlQ29udHJvbFxWMeoCIUdvb2dsZTo6Q2xvdWQ6OlNlcnZpY2VDb250cm9sOjpWMWIGcHJvdG8z", [file_google_api_servicecontrol_v1_distribution, file_google_protobuf_timestamp]);
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Describes the message google.api.servicecontrol.v1.MetricValue.
|
|
31
|
+
* Use `create(MetricValueSchema)` to create a new message.
|
|
32
|
+
*/
|
|
33
|
+
export const MetricValueSchema = /*@__PURE__*/
|
|
34
|
+
messageDesc(file_google_api_servicecontrol_v1_metric_value, 0);
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Describes the message google.api.servicecontrol.v1.MetricValueSet.
|
|
38
|
+
* Use `create(MetricValueSetSchema)` to create a new message.
|
|
39
|
+
*/
|
|
40
|
+
export const MetricValueSetSchema = /*@__PURE__*/
|
|
41
|
+
messageDesc(file_google_api_servicecontrol_v1_metric_value, 1);
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
// Copyright 2021 Google LLC
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
// @generated by protoc-gen-es v2.11.0 with parameter "target=js+dts"
|
|
16
|
+
// @generated from file google/api/servicecontrol/v1/operation.proto (package google.api.servicecontrol.v1, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
|
|
19
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
20
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
21
|
+
import type { Timestamp } from "../../../protobuf/timestamp_pb";
|
|
22
|
+
import type { MetricValueSet } from "./metric_value_pb";
|
|
23
|
+
import type { LogEntry } from "./log_entry_pb";
|
|
24
|
+
import type { Any } from "../../../protobuf/any_pb";
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Describes the file google/api/servicecontrol/v1/operation.proto.
|
|
28
|
+
*/
|
|
29
|
+
export declare const file_google_api_servicecontrol_v1_operation: GenFile;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Represents information regarding an operation.
|
|
33
|
+
*
|
|
34
|
+
* @generated from message google.api.servicecontrol.v1.Operation
|
|
35
|
+
*/
|
|
36
|
+
export declare type Operation = Message<"google.api.servicecontrol.v1.Operation"> & {
|
|
37
|
+
/**
|
|
38
|
+
* Identity of the operation. This must be unique within the scope of the
|
|
39
|
+
* service that generated the operation. If the service calls
|
|
40
|
+
* Check() and Report() on the same operation, the two calls should carry
|
|
41
|
+
* the same id.
|
|
42
|
+
*
|
|
43
|
+
* UUID version 4 is recommended, though not required.
|
|
44
|
+
* In scenarios where an operation is computed from existing information
|
|
45
|
+
* and an idempotent id is desirable for deduplication purpose, UUID version 5
|
|
46
|
+
* is recommended. See RFC 4122 for details.
|
|
47
|
+
*
|
|
48
|
+
* @generated from field: string operation_id = 1;
|
|
49
|
+
*/
|
|
50
|
+
operationId: string;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Fully qualified name of the operation. Reserved for future use.
|
|
54
|
+
*
|
|
55
|
+
* @generated from field: string operation_name = 2;
|
|
56
|
+
*/
|
|
57
|
+
operationName: string;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Identity of the consumer who is using the service.
|
|
61
|
+
* This field should be filled in for the operations initiated by a
|
|
62
|
+
* consumer, but not for service-initiated operations that are
|
|
63
|
+
* not related to a specific consumer.
|
|
64
|
+
*
|
|
65
|
+
* - This can be in one of the following formats:
|
|
66
|
+
* - project:PROJECT_ID,
|
|
67
|
+
* - project`_`number:PROJECT_NUMBER,
|
|
68
|
+
* - projects/PROJECT_ID or PROJECT_NUMBER,
|
|
69
|
+
* - folders/FOLDER_NUMBER,
|
|
70
|
+
* - organizations/ORGANIZATION_NUMBER,
|
|
71
|
+
* - api`_`key:API_KEY.
|
|
72
|
+
*
|
|
73
|
+
* @generated from field: string consumer_id = 3;
|
|
74
|
+
*/
|
|
75
|
+
consumerId: string;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Required. Start time of the operation.
|
|
79
|
+
*
|
|
80
|
+
* @generated from field: google.protobuf.Timestamp start_time = 4;
|
|
81
|
+
*/
|
|
82
|
+
startTime?: Timestamp;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* End time of the operation.
|
|
86
|
+
* Required when the operation is used in
|
|
87
|
+
* [ServiceController.Report][google.api.servicecontrol.v1.ServiceController.Report],
|
|
88
|
+
* but optional when the operation is used in
|
|
89
|
+
* [ServiceController.Check][google.api.servicecontrol.v1.ServiceController.Check].
|
|
90
|
+
*
|
|
91
|
+
* @generated from field: google.protobuf.Timestamp end_time = 5;
|
|
92
|
+
*/
|
|
93
|
+
endTime?: Timestamp;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Labels describing the operation. Only the following labels are allowed:
|
|
97
|
+
*
|
|
98
|
+
* - Labels describing monitored resources as defined in
|
|
99
|
+
* the service configuration.
|
|
100
|
+
* - Default labels of metric values. When specified, labels defined in the
|
|
101
|
+
* metric value override these default.
|
|
102
|
+
* - The following labels defined by Google Cloud Platform:
|
|
103
|
+
* - `cloud.googleapis.com/location` describing the location where the
|
|
104
|
+
* operation happened,
|
|
105
|
+
* - `servicecontrol.googleapis.com/user_agent` describing the user agent
|
|
106
|
+
* of the API request,
|
|
107
|
+
* - `servicecontrol.googleapis.com/service_agent` describing the service
|
|
108
|
+
* used to handle the API request (e.g. ESP),
|
|
109
|
+
* - `servicecontrol.googleapis.com/platform` describing the platform
|
|
110
|
+
* where the API is served, such as App Engine, Compute Engine, or
|
|
111
|
+
* Kubernetes Engine.
|
|
112
|
+
*
|
|
113
|
+
* @generated from field: map<string, string> labels = 6;
|
|
114
|
+
*/
|
|
115
|
+
labels: { [key: string]: string };
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Represents information about this operation. Each MetricValueSet
|
|
119
|
+
* corresponds to a metric defined in the service configuration.
|
|
120
|
+
* The data type used in the MetricValueSet must agree with
|
|
121
|
+
* the data type specified in the metric definition.
|
|
122
|
+
*
|
|
123
|
+
* Within a single operation, it is not allowed to have more than one
|
|
124
|
+
* MetricValue instances that have the same metric names and identical
|
|
125
|
+
* label value combinations. If a request has such duplicated MetricValue
|
|
126
|
+
* instances, the entire request is rejected with
|
|
127
|
+
* an invalid argument error.
|
|
128
|
+
*
|
|
129
|
+
* @generated from field: repeated google.api.servicecontrol.v1.MetricValueSet metric_value_sets = 7;
|
|
130
|
+
*/
|
|
131
|
+
metricValueSets: MetricValueSet[];
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Represents information to be logged.
|
|
135
|
+
*
|
|
136
|
+
* @generated from field: repeated google.api.servicecontrol.v1.LogEntry log_entries = 8;
|
|
137
|
+
*/
|
|
138
|
+
logEntries: LogEntry[];
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* DO NOT USE. This is an experimental field.
|
|
142
|
+
*
|
|
143
|
+
* @generated from field: google.api.servicecontrol.v1.Operation.Importance importance = 11;
|
|
144
|
+
*/
|
|
145
|
+
importance: Operation_Importance;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Unimplemented.
|
|
149
|
+
*
|
|
150
|
+
* @generated from field: repeated google.protobuf.Any extensions = 16;
|
|
151
|
+
*/
|
|
152
|
+
extensions: Any[];
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Describes the message google.api.servicecontrol.v1.Operation.
|
|
157
|
+
* Use `create(OperationSchema)` to create a new message.
|
|
158
|
+
*/
|
|
159
|
+
export declare const OperationSchema: GenMessage<Operation>;
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Defines the importance of the data contained in the operation.
|
|
163
|
+
*
|
|
164
|
+
* @generated from enum google.api.servicecontrol.v1.Operation.Importance
|
|
165
|
+
*/
|
|
166
|
+
export enum Operation_Importance {
|
|
167
|
+
/**
|
|
168
|
+
* Allows data caching, batching, and aggregation. It provides
|
|
169
|
+
* higher performance with higher data loss risk.
|
|
170
|
+
*
|
|
171
|
+
* @generated from enum value: LOW = 0;
|
|
172
|
+
*/
|
|
173
|
+
LOW = 0,
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Disables data aggregation to minimize data loss. It is for operations
|
|
177
|
+
* that contains significant monetary value or audit trail. This feature
|
|
178
|
+
* only applies to the client libraries.
|
|
179
|
+
*
|
|
180
|
+
* @generated from enum value: HIGH = 1;
|
|
181
|
+
*/
|
|
182
|
+
HIGH = 1,
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* Describes the enum google.api.servicecontrol.v1.Operation.Importance.
|
|
187
|
+
*/
|
|
188
|
+
export declare const Operation_ImportanceSchema: GenEnum<Operation_Importance>;
|