@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,88 @@
|
|
|
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/logging/v2/logging_metrics.proto (package google.logging.v2, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import { CreateLogMetricRequest, DeleteLogMetricRequest, GetLogMetricRequest, ListLogMetricsRequest, ListLogMetricsResponse, LogMetric, UpdateLogMetricRequest } from "./logging_metrics_pb.js";
|
|
21
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
22
|
+
import { Empty } from "../../protobuf/empty_pb.js";
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Service for configuring logs-based metrics.
|
|
26
|
+
*
|
|
27
|
+
* @generated from service google.logging.v2.MetricsServiceV2
|
|
28
|
+
*/
|
|
29
|
+
export declare const MetricsServiceV2: {
|
|
30
|
+
readonly typeName: "google.logging.v2.MetricsServiceV2",
|
|
31
|
+
readonly methods: {
|
|
32
|
+
/**
|
|
33
|
+
* Lists logs-based metrics.
|
|
34
|
+
*
|
|
35
|
+
* @generated from rpc google.logging.v2.MetricsServiceV2.ListLogMetrics
|
|
36
|
+
*/
|
|
37
|
+
readonly listLogMetrics: {
|
|
38
|
+
readonly name: "ListLogMetrics",
|
|
39
|
+
readonly I: typeof ListLogMetricsRequest,
|
|
40
|
+
readonly O: typeof ListLogMetricsResponse,
|
|
41
|
+
readonly kind: MethodKind.Unary,
|
|
42
|
+
},
|
|
43
|
+
/**
|
|
44
|
+
* Gets a logs-based metric.
|
|
45
|
+
*
|
|
46
|
+
* @generated from rpc google.logging.v2.MetricsServiceV2.GetLogMetric
|
|
47
|
+
*/
|
|
48
|
+
readonly getLogMetric: {
|
|
49
|
+
readonly name: "GetLogMetric",
|
|
50
|
+
readonly I: typeof GetLogMetricRequest,
|
|
51
|
+
readonly O: typeof LogMetric,
|
|
52
|
+
readonly kind: MethodKind.Unary,
|
|
53
|
+
},
|
|
54
|
+
/**
|
|
55
|
+
* Creates a logs-based metric.
|
|
56
|
+
*
|
|
57
|
+
* @generated from rpc google.logging.v2.MetricsServiceV2.CreateLogMetric
|
|
58
|
+
*/
|
|
59
|
+
readonly createLogMetric: {
|
|
60
|
+
readonly name: "CreateLogMetric",
|
|
61
|
+
readonly I: typeof CreateLogMetricRequest,
|
|
62
|
+
readonly O: typeof LogMetric,
|
|
63
|
+
readonly kind: MethodKind.Unary,
|
|
64
|
+
},
|
|
65
|
+
/**
|
|
66
|
+
* Creates or updates a logs-based metric.
|
|
67
|
+
*
|
|
68
|
+
* @generated from rpc google.logging.v2.MetricsServiceV2.UpdateLogMetric
|
|
69
|
+
*/
|
|
70
|
+
readonly updateLogMetric: {
|
|
71
|
+
readonly name: "UpdateLogMetric",
|
|
72
|
+
readonly I: typeof UpdateLogMetricRequest,
|
|
73
|
+
readonly O: typeof LogMetric,
|
|
74
|
+
readonly kind: MethodKind.Unary,
|
|
75
|
+
},
|
|
76
|
+
/**
|
|
77
|
+
* Deletes a logs-based metric.
|
|
78
|
+
*
|
|
79
|
+
* @generated from rpc google.logging.v2.MetricsServiceV2.DeleteLogMetric
|
|
80
|
+
*/
|
|
81
|
+
readonly deleteLogMetric: {
|
|
82
|
+
readonly name: "DeleteLogMetric",
|
|
83
|
+
readonly I: typeof DeleteLogMetricRequest,
|
|
84
|
+
readonly O: typeof Empty,
|
|
85
|
+
readonly kind: MethodKind.Unary,
|
|
86
|
+
},
|
|
87
|
+
}
|
|
88
|
+
};
|
|
@@ -0,0 +1,88 @@
|
|
|
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/logging/v2/logging_metrics.proto (package google.logging.v2, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
// @ts-nocheck
|
|
19
|
+
|
|
20
|
+
import { CreateLogMetricRequest, DeleteLogMetricRequest, GetLogMetricRequest, ListLogMetricsRequest, ListLogMetricsResponse, LogMetric, UpdateLogMetricRequest } from "./logging_metrics_pb.js";
|
|
21
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
22
|
+
import { Empty } from "../../protobuf/empty_pb.js";
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Service for configuring logs-based metrics.
|
|
26
|
+
*
|
|
27
|
+
* @generated from service google.logging.v2.MetricsServiceV2
|
|
28
|
+
*/
|
|
29
|
+
export const MetricsServiceV2 = {
|
|
30
|
+
typeName: "google.logging.v2.MetricsServiceV2",
|
|
31
|
+
methods: {
|
|
32
|
+
/**
|
|
33
|
+
* Lists logs-based metrics.
|
|
34
|
+
*
|
|
35
|
+
* @generated from rpc google.logging.v2.MetricsServiceV2.ListLogMetrics
|
|
36
|
+
*/
|
|
37
|
+
listLogMetrics: {
|
|
38
|
+
name: "ListLogMetrics",
|
|
39
|
+
I: ListLogMetricsRequest,
|
|
40
|
+
O: ListLogMetricsResponse,
|
|
41
|
+
kind: MethodKind.Unary,
|
|
42
|
+
},
|
|
43
|
+
/**
|
|
44
|
+
* Gets a logs-based metric.
|
|
45
|
+
*
|
|
46
|
+
* @generated from rpc google.logging.v2.MetricsServiceV2.GetLogMetric
|
|
47
|
+
*/
|
|
48
|
+
getLogMetric: {
|
|
49
|
+
name: "GetLogMetric",
|
|
50
|
+
I: GetLogMetricRequest,
|
|
51
|
+
O: LogMetric,
|
|
52
|
+
kind: MethodKind.Unary,
|
|
53
|
+
},
|
|
54
|
+
/**
|
|
55
|
+
* Creates a logs-based metric.
|
|
56
|
+
*
|
|
57
|
+
* @generated from rpc google.logging.v2.MetricsServiceV2.CreateLogMetric
|
|
58
|
+
*/
|
|
59
|
+
createLogMetric: {
|
|
60
|
+
name: "CreateLogMetric",
|
|
61
|
+
I: CreateLogMetricRequest,
|
|
62
|
+
O: LogMetric,
|
|
63
|
+
kind: MethodKind.Unary,
|
|
64
|
+
},
|
|
65
|
+
/**
|
|
66
|
+
* Creates or updates a logs-based metric.
|
|
67
|
+
*
|
|
68
|
+
* @generated from rpc google.logging.v2.MetricsServiceV2.UpdateLogMetric
|
|
69
|
+
*/
|
|
70
|
+
updateLogMetric: {
|
|
71
|
+
name: "UpdateLogMetric",
|
|
72
|
+
I: UpdateLogMetricRequest,
|
|
73
|
+
O: LogMetric,
|
|
74
|
+
kind: MethodKind.Unary,
|
|
75
|
+
},
|
|
76
|
+
/**
|
|
77
|
+
* Deletes a logs-based metric.
|
|
78
|
+
*
|
|
79
|
+
* @generated from rpc google.logging.v2.MetricsServiceV2.DeleteLogMetric
|
|
80
|
+
*/
|
|
81
|
+
deleteLogMetric: {
|
|
82
|
+
name: "DeleteLogMetric",
|
|
83
|
+
I: DeleteLogMetricRequest,
|
|
84
|
+
O: Empty,
|
|
85
|
+
kind: MethodKind.Unary,
|
|
86
|
+
},
|
|
87
|
+
}
|
|
88
|
+
};
|
|
@@ -0,0 +1,467 @@
|
|
|
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/logging/v2/logging_metrics.proto (package google.logging.v2, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
|
|
19
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
20
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
21
|
+
import type { MetricDescriptor } from "../../api/metric_pb";
|
|
22
|
+
import type { Distribution_BucketOptions } from "../../api/distribution_pb";
|
|
23
|
+
import type { Timestamp } from "../../protobuf/timestamp_pb";
|
|
24
|
+
import type { EmptySchema } from "../../protobuf/empty_pb";
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Describes the file google/logging/v2/logging_metrics.proto.
|
|
28
|
+
*/
|
|
29
|
+
export declare const file_google_logging_v2_logging_metrics: GenFile;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Describes a logs-based metric. The value of the metric is the number of log
|
|
33
|
+
* entries that match a logs filter in a given time interval.
|
|
34
|
+
*
|
|
35
|
+
* Logs-based metrics can also be used to extract values from logs and create a
|
|
36
|
+
* distribution of the values. The distribution records the statistics of the
|
|
37
|
+
* extracted values along with an optional histogram of the values as specified
|
|
38
|
+
* by the bucket options.
|
|
39
|
+
*
|
|
40
|
+
* @generated from message google.logging.v2.LogMetric
|
|
41
|
+
*/
|
|
42
|
+
export declare type LogMetric = Message<"google.logging.v2.LogMetric"> & {
|
|
43
|
+
/**
|
|
44
|
+
* Required. The client-assigned metric identifier.
|
|
45
|
+
* Examples: `"error_count"`, `"nginx/requests"`.
|
|
46
|
+
*
|
|
47
|
+
* Metric identifiers are limited to 100 characters and can include only the
|
|
48
|
+
* following characters: `A-Z`, `a-z`, `0-9`, and the special characters
|
|
49
|
+
* `_-.,+!*',()%/`. The forward-slash character (`/`) denotes a hierarchy of
|
|
50
|
+
* name pieces, and it cannot be the first character of the name.
|
|
51
|
+
*
|
|
52
|
+
* This field is the `[METRIC_ID]` part of a metric resource name in the
|
|
53
|
+
* format "projects/[PROJECT_ID]/metrics/[METRIC_ID]". Example: If the
|
|
54
|
+
* resource name of a metric is
|
|
55
|
+
* `"projects/my-project/metrics/nginx%2Frequests"`, this field's value is
|
|
56
|
+
* `"nginx/requests"`.
|
|
57
|
+
*
|
|
58
|
+
* @generated from field: string name = 1;
|
|
59
|
+
*/
|
|
60
|
+
name: string;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Optional. A description of this metric, which is used in documentation.
|
|
64
|
+
* The maximum length of the description is 8000 characters.
|
|
65
|
+
*
|
|
66
|
+
* @generated from field: string description = 2;
|
|
67
|
+
*/
|
|
68
|
+
description: string;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Required. An [advanced logs
|
|
72
|
+
* filter](https://cloud.google.com/logging/docs/view/advanced_filters) which
|
|
73
|
+
* is used to match log entries. Example:
|
|
74
|
+
*
|
|
75
|
+
* "resource.type=gae_app AND severity>=ERROR"
|
|
76
|
+
*
|
|
77
|
+
* The maximum length of the filter is 20000 characters.
|
|
78
|
+
*
|
|
79
|
+
* @generated from field: string filter = 3;
|
|
80
|
+
*/
|
|
81
|
+
filter: string;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Optional. If set to True, then this metric is disabled and it does not
|
|
85
|
+
* generate any points.
|
|
86
|
+
*
|
|
87
|
+
* @generated from field: bool disabled = 12;
|
|
88
|
+
*/
|
|
89
|
+
disabled: boolean;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Optional. The metric descriptor associated with the logs-based metric.
|
|
93
|
+
* If unspecified, it uses a default metric descriptor with a DELTA metric
|
|
94
|
+
* kind, INT64 value type, with no labels and a unit of "1". Such a metric
|
|
95
|
+
* counts the number of log entries matching the `filter` expression.
|
|
96
|
+
*
|
|
97
|
+
* The `name`, `type`, and `description` fields in the `metric_descriptor`
|
|
98
|
+
* are output only, and is constructed using the `name` and `description`
|
|
99
|
+
* field in the LogMetric.
|
|
100
|
+
*
|
|
101
|
+
* To create a logs-based metric that records a distribution of log values, a
|
|
102
|
+
* DELTA metric kind with a DISTRIBUTION value type must be used along with
|
|
103
|
+
* a `value_extractor` expression in the LogMetric.
|
|
104
|
+
*
|
|
105
|
+
* Each label in the metric descriptor must have a matching label
|
|
106
|
+
* name as the key and an extractor expression as the value in the
|
|
107
|
+
* `label_extractors` map.
|
|
108
|
+
*
|
|
109
|
+
* The `metric_kind` and `value_type` fields in the `metric_descriptor` cannot
|
|
110
|
+
* be updated once initially configured. New labels can be added in the
|
|
111
|
+
* `metric_descriptor`, but existing labels cannot be modified except for
|
|
112
|
+
* their description.
|
|
113
|
+
*
|
|
114
|
+
* @generated from field: google.api.MetricDescriptor metric_descriptor = 5;
|
|
115
|
+
*/
|
|
116
|
+
metricDescriptor?: MetricDescriptor;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Optional. A `value_extractor` is required when using a distribution
|
|
120
|
+
* logs-based metric to extract the values to record from a log entry.
|
|
121
|
+
* Two functions are supported for value extraction: `EXTRACT(field)` or
|
|
122
|
+
* `REGEXP_EXTRACT(field, regex)`. The argument are:
|
|
123
|
+
* 1. field: The name of the log entry field from which the value is to be
|
|
124
|
+
* extracted.
|
|
125
|
+
* 2. regex: A regular expression using the Google RE2 syntax
|
|
126
|
+
* (https://github.com/google/re2/wiki/Syntax) with a single capture
|
|
127
|
+
* group to extract data from the specified log entry field. The value
|
|
128
|
+
* of the field is converted to a string before applying the regex.
|
|
129
|
+
* It is an error to specify a regex that does not include exactly one
|
|
130
|
+
* capture group.
|
|
131
|
+
*
|
|
132
|
+
* The result of the extraction must be convertible to a double type, as the
|
|
133
|
+
* distribution always records double values. If either the extraction or
|
|
134
|
+
* the conversion to double fails, then those values are not recorded in the
|
|
135
|
+
* distribution.
|
|
136
|
+
*
|
|
137
|
+
* Example: `REGEXP_EXTRACT(jsonPayload.request, ".*quantity=(\d+).*")`
|
|
138
|
+
*
|
|
139
|
+
* @generated from field: string value_extractor = 6;
|
|
140
|
+
*/
|
|
141
|
+
valueExtractor: string;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Optional. A map from a label key string to an extractor expression which is
|
|
145
|
+
* used to extract data from a log entry field and assign as the label value.
|
|
146
|
+
* Each label key specified in the LabelDescriptor must have an associated
|
|
147
|
+
* extractor expression in this map. The syntax of the extractor expression
|
|
148
|
+
* is the same as for the `value_extractor` field.
|
|
149
|
+
*
|
|
150
|
+
* The extracted value is converted to the type defined in the label
|
|
151
|
+
* descriptor. If the either the extraction or the type conversion fails,
|
|
152
|
+
* the label will have a default value. The default value for a string
|
|
153
|
+
* label is an empty string, for an integer label its 0, and for a boolean
|
|
154
|
+
* label its `false`.
|
|
155
|
+
*
|
|
156
|
+
* Note that there are upper bounds on the maximum number of labels and the
|
|
157
|
+
* number of active time series that are allowed in a project.
|
|
158
|
+
*
|
|
159
|
+
* @generated from field: map<string, string> label_extractors = 7;
|
|
160
|
+
*/
|
|
161
|
+
labelExtractors: { [key: string]: string };
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Optional. The `bucket_options` are required when the logs-based metric is
|
|
165
|
+
* using a DISTRIBUTION value type and it describes the bucket boundaries
|
|
166
|
+
* used to create a histogram of the extracted values.
|
|
167
|
+
*
|
|
168
|
+
* @generated from field: google.api.Distribution.BucketOptions bucket_options = 8;
|
|
169
|
+
*/
|
|
170
|
+
bucketOptions?: Distribution_BucketOptions;
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* Output only. The creation timestamp of the metric.
|
|
174
|
+
*
|
|
175
|
+
* This field may not be present for older metrics.
|
|
176
|
+
*
|
|
177
|
+
* @generated from field: google.protobuf.Timestamp create_time = 9;
|
|
178
|
+
*/
|
|
179
|
+
createTime?: Timestamp;
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* Output only. The last update timestamp of the metric.
|
|
183
|
+
*
|
|
184
|
+
* This field may not be present for older metrics.
|
|
185
|
+
*
|
|
186
|
+
* @generated from field: google.protobuf.Timestamp update_time = 10;
|
|
187
|
+
*/
|
|
188
|
+
updateTime?: Timestamp;
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Deprecated. The API version that created or updated this metric.
|
|
192
|
+
* The v2 format is used by default and cannot be changed.
|
|
193
|
+
*
|
|
194
|
+
* @generated from field: google.logging.v2.LogMetric.ApiVersion version = 4 [deprecated = true];
|
|
195
|
+
* @deprecated
|
|
196
|
+
*/
|
|
197
|
+
version: LogMetric_ApiVersion;
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Describes the message google.logging.v2.LogMetric.
|
|
202
|
+
* Use `create(LogMetricSchema)` to create a new message.
|
|
203
|
+
*/
|
|
204
|
+
export declare const LogMetricSchema: GenMessage<LogMetric>;
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* Logging API version.
|
|
208
|
+
*
|
|
209
|
+
* @generated from enum google.logging.v2.LogMetric.ApiVersion
|
|
210
|
+
*/
|
|
211
|
+
export enum LogMetric_ApiVersion {
|
|
212
|
+
/**
|
|
213
|
+
* Logging API v2.
|
|
214
|
+
*
|
|
215
|
+
* @generated from enum value: V2 = 0;
|
|
216
|
+
*/
|
|
217
|
+
V2 = 0,
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Logging API v1.
|
|
221
|
+
*
|
|
222
|
+
* @generated from enum value: V1 = 1;
|
|
223
|
+
*/
|
|
224
|
+
V1 = 1,
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Describes the enum google.logging.v2.LogMetric.ApiVersion.
|
|
229
|
+
*/
|
|
230
|
+
export declare const LogMetric_ApiVersionSchema: GenEnum<LogMetric_ApiVersion>;
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* The parameters to ListLogMetrics.
|
|
234
|
+
*
|
|
235
|
+
* @generated from message google.logging.v2.ListLogMetricsRequest
|
|
236
|
+
*/
|
|
237
|
+
export declare type ListLogMetricsRequest = Message<"google.logging.v2.ListLogMetricsRequest"> & {
|
|
238
|
+
/**
|
|
239
|
+
* Required. The name of the project containing the metrics:
|
|
240
|
+
*
|
|
241
|
+
* "projects/[PROJECT_ID]"
|
|
242
|
+
*
|
|
243
|
+
* @generated from field: string parent = 1;
|
|
244
|
+
*/
|
|
245
|
+
parent: string;
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* Optional. If present, then retrieve the next batch of results from the
|
|
249
|
+
* preceding call to this method. `pageToken` must be the value of
|
|
250
|
+
* `nextPageToken` from the previous response. The values of other method
|
|
251
|
+
* parameters should be identical to those in the previous call.
|
|
252
|
+
*
|
|
253
|
+
* @generated from field: string page_token = 2;
|
|
254
|
+
*/
|
|
255
|
+
pageToken: string;
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* Optional. The maximum number of results to return from this request.
|
|
259
|
+
* Non-positive values are ignored. The presence of `nextPageToken` in the
|
|
260
|
+
* response indicates that more results might be available.
|
|
261
|
+
*
|
|
262
|
+
* @generated from field: int32 page_size = 3;
|
|
263
|
+
*/
|
|
264
|
+
pageSize: number;
|
|
265
|
+
};
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* Describes the message google.logging.v2.ListLogMetricsRequest.
|
|
269
|
+
* Use `create(ListLogMetricsRequestSchema)` to create a new message.
|
|
270
|
+
*/
|
|
271
|
+
export declare const ListLogMetricsRequestSchema: GenMessage<ListLogMetricsRequest>;
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* Result returned from ListLogMetrics.
|
|
275
|
+
*
|
|
276
|
+
* @generated from message google.logging.v2.ListLogMetricsResponse
|
|
277
|
+
*/
|
|
278
|
+
export declare type ListLogMetricsResponse = Message<"google.logging.v2.ListLogMetricsResponse"> & {
|
|
279
|
+
/**
|
|
280
|
+
* A list of logs-based metrics.
|
|
281
|
+
*
|
|
282
|
+
* @generated from field: repeated google.logging.v2.LogMetric metrics = 1;
|
|
283
|
+
*/
|
|
284
|
+
metrics: LogMetric[];
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* If there might be more results than appear in this response, then
|
|
288
|
+
* `nextPageToken` is included. To get the next set of results, call this
|
|
289
|
+
* method again using the value of `nextPageToken` as `pageToken`.
|
|
290
|
+
*
|
|
291
|
+
* @generated from field: string next_page_token = 2;
|
|
292
|
+
*/
|
|
293
|
+
nextPageToken: string;
|
|
294
|
+
};
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Describes the message google.logging.v2.ListLogMetricsResponse.
|
|
298
|
+
* Use `create(ListLogMetricsResponseSchema)` to create a new message.
|
|
299
|
+
*/
|
|
300
|
+
export declare const ListLogMetricsResponseSchema: GenMessage<ListLogMetricsResponse>;
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* The parameters to GetLogMetric.
|
|
304
|
+
*
|
|
305
|
+
* @generated from message google.logging.v2.GetLogMetricRequest
|
|
306
|
+
*/
|
|
307
|
+
export declare type GetLogMetricRequest = Message<"google.logging.v2.GetLogMetricRequest"> & {
|
|
308
|
+
/**
|
|
309
|
+
* Required. The resource name of the desired metric:
|
|
310
|
+
*
|
|
311
|
+
* "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
|
|
312
|
+
*
|
|
313
|
+
* @generated from field: string metric_name = 1;
|
|
314
|
+
*/
|
|
315
|
+
metricName: string;
|
|
316
|
+
};
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* Describes the message google.logging.v2.GetLogMetricRequest.
|
|
320
|
+
* Use `create(GetLogMetricRequestSchema)` to create a new message.
|
|
321
|
+
*/
|
|
322
|
+
export declare const GetLogMetricRequestSchema: GenMessage<GetLogMetricRequest>;
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* The parameters to CreateLogMetric.
|
|
326
|
+
*
|
|
327
|
+
* @generated from message google.logging.v2.CreateLogMetricRequest
|
|
328
|
+
*/
|
|
329
|
+
export declare type CreateLogMetricRequest = Message<"google.logging.v2.CreateLogMetricRequest"> & {
|
|
330
|
+
/**
|
|
331
|
+
* Required. The resource name of the project in which to create the metric:
|
|
332
|
+
*
|
|
333
|
+
* "projects/[PROJECT_ID]"
|
|
334
|
+
*
|
|
335
|
+
* The new metric must be provided in the request.
|
|
336
|
+
*
|
|
337
|
+
* @generated from field: string parent = 1;
|
|
338
|
+
*/
|
|
339
|
+
parent: string;
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* Required. The new logs-based metric, which must not have an identifier that
|
|
343
|
+
* already exists.
|
|
344
|
+
*
|
|
345
|
+
* @generated from field: google.logging.v2.LogMetric metric = 2;
|
|
346
|
+
*/
|
|
347
|
+
metric?: LogMetric;
|
|
348
|
+
};
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* Describes the message google.logging.v2.CreateLogMetricRequest.
|
|
352
|
+
* Use `create(CreateLogMetricRequestSchema)` to create a new message.
|
|
353
|
+
*/
|
|
354
|
+
export declare const CreateLogMetricRequestSchema: GenMessage<CreateLogMetricRequest>;
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* The parameters to UpdateLogMetric.
|
|
358
|
+
*
|
|
359
|
+
* @generated from message google.logging.v2.UpdateLogMetricRequest
|
|
360
|
+
*/
|
|
361
|
+
export declare type UpdateLogMetricRequest = Message<"google.logging.v2.UpdateLogMetricRequest"> & {
|
|
362
|
+
/**
|
|
363
|
+
* Required. The resource name of the metric to update:
|
|
364
|
+
*
|
|
365
|
+
* "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
|
|
366
|
+
*
|
|
367
|
+
* The updated metric must be provided in the request and it's
|
|
368
|
+
* `name` field must be the same as `[METRIC_ID]` If the metric
|
|
369
|
+
* does not exist in `[PROJECT_ID]`, then a new metric is created.
|
|
370
|
+
*
|
|
371
|
+
* @generated from field: string metric_name = 1;
|
|
372
|
+
*/
|
|
373
|
+
metricName: string;
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* Required. The updated metric.
|
|
377
|
+
*
|
|
378
|
+
* @generated from field: google.logging.v2.LogMetric metric = 2;
|
|
379
|
+
*/
|
|
380
|
+
metric?: LogMetric;
|
|
381
|
+
};
|
|
382
|
+
|
|
383
|
+
/**
|
|
384
|
+
* Describes the message google.logging.v2.UpdateLogMetricRequest.
|
|
385
|
+
* Use `create(UpdateLogMetricRequestSchema)` to create a new message.
|
|
386
|
+
*/
|
|
387
|
+
export declare const UpdateLogMetricRequestSchema: GenMessage<UpdateLogMetricRequest>;
|
|
388
|
+
|
|
389
|
+
/**
|
|
390
|
+
* The parameters to DeleteLogMetric.
|
|
391
|
+
*
|
|
392
|
+
* @generated from message google.logging.v2.DeleteLogMetricRequest
|
|
393
|
+
*/
|
|
394
|
+
export declare type DeleteLogMetricRequest = Message<"google.logging.v2.DeleteLogMetricRequest"> & {
|
|
395
|
+
/**
|
|
396
|
+
* Required. The resource name of the metric to delete:
|
|
397
|
+
*
|
|
398
|
+
* "projects/[PROJECT_ID]/metrics/[METRIC_ID]"
|
|
399
|
+
*
|
|
400
|
+
* @generated from field: string metric_name = 1;
|
|
401
|
+
*/
|
|
402
|
+
metricName: string;
|
|
403
|
+
};
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* Describes the message google.logging.v2.DeleteLogMetricRequest.
|
|
407
|
+
* Use `create(DeleteLogMetricRequestSchema)` to create a new message.
|
|
408
|
+
*/
|
|
409
|
+
export declare const DeleteLogMetricRequestSchema: GenMessage<DeleteLogMetricRequest>;
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* Service for configuring logs-based metrics.
|
|
413
|
+
*
|
|
414
|
+
* @generated from service google.logging.v2.MetricsServiceV2
|
|
415
|
+
*/
|
|
416
|
+
export declare const MetricsServiceV2: GenService<{
|
|
417
|
+
/**
|
|
418
|
+
* Lists logs-based metrics.
|
|
419
|
+
*
|
|
420
|
+
* @generated from rpc google.logging.v2.MetricsServiceV2.ListLogMetrics
|
|
421
|
+
*/
|
|
422
|
+
listLogMetrics: {
|
|
423
|
+
methodKind: "unary";
|
|
424
|
+
input: typeof ListLogMetricsRequestSchema;
|
|
425
|
+
output: typeof ListLogMetricsResponseSchema;
|
|
426
|
+
},
|
|
427
|
+
/**
|
|
428
|
+
* Gets a logs-based metric.
|
|
429
|
+
*
|
|
430
|
+
* @generated from rpc google.logging.v2.MetricsServiceV2.GetLogMetric
|
|
431
|
+
*/
|
|
432
|
+
getLogMetric: {
|
|
433
|
+
methodKind: "unary";
|
|
434
|
+
input: typeof GetLogMetricRequestSchema;
|
|
435
|
+
output: typeof LogMetricSchema;
|
|
436
|
+
},
|
|
437
|
+
/**
|
|
438
|
+
* Creates a logs-based metric.
|
|
439
|
+
*
|
|
440
|
+
* @generated from rpc google.logging.v2.MetricsServiceV2.CreateLogMetric
|
|
441
|
+
*/
|
|
442
|
+
createLogMetric: {
|
|
443
|
+
methodKind: "unary";
|
|
444
|
+
input: typeof CreateLogMetricRequestSchema;
|
|
445
|
+
output: typeof LogMetricSchema;
|
|
446
|
+
},
|
|
447
|
+
/**
|
|
448
|
+
* Creates or updates a logs-based metric.
|
|
449
|
+
*
|
|
450
|
+
* @generated from rpc google.logging.v2.MetricsServiceV2.UpdateLogMetric
|
|
451
|
+
*/
|
|
452
|
+
updateLogMetric: {
|
|
453
|
+
methodKind: "unary";
|
|
454
|
+
input: typeof UpdateLogMetricRequestSchema;
|
|
455
|
+
output: typeof LogMetricSchema;
|
|
456
|
+
},
|
|
457
|
+
/**
|
|
458
|
+
* Deletes a logs-based metric.
|
|
459
|
+
*
|
|
460
|
+
* @generated from rpc google.logging.v2.MetricsServiceV2.DeleteLogMetric
|
|
461
|
+
*/
|
|
462
|
+
deleteLogMetric: {
|
|
463
|
+
methodKind: "unary";
|
|
464
|
+
input: typeof DeleteLogMetricRequestSchema;
|
|
465
|
+
output: typeof EmptySchema;
|
|
466
|
+
},
|
|
467
|
+
}>;
|