@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,422 @@
|
|
|
1
|
+
// Copyright 2015 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/metric.proto (package google.api, 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 { LabelDescriptor } from "./label_pb";
|
|
22
|
+
import type { LaunchStage } from "./launch_stage_pb";
|
|
23
|
+
import type { Duration } from "../protobuf/duration_pb";
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Describes the file google/api/metric.proto.
|
|
27
|
+
*/
|
|
28
|
+
export declare const file_google_api_metric: GenFile;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Defines a metric type and its schema. Once a metric descriptor is created,
|
|
32
|
+
* deleting or altering it stops data collection and makes the metric type's
|
|
33
|
+
* existing data unusable.
|
|
34
|
+
*
|
|
35
|
+
*
|
|
36
|
+
* @generated from message google.api.MetricDescriptor
|
|
37
|
+
*/
|
|
38
|
+
export declare type MetricDescriptor = Message<"google.api.MetricDescriptor"> & {
|
|
39
|
+
/**
|
|
40
|
+
* The resource name of the metric descriptor.
|
|
41
|
+
*
|
|
42
|
+
* @generated from field: string name = 1;
|
|
43
|
+
*/
|
|
44
|
+
name: string;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* The metric type, including its DNS name prefix. The type is not
|
|
48
|
+
* URL-encoded. All user-defined metric types have the DNS name
|
|
49
|
+
* `custom.googleapis.com` or `external.googleapis.com`. Metric types should
|
|
50
|
+
* use a natural hierarchical grouping. For example:
|
|
51
|
+
*
|
|
52
|
+
* "custom.googleapis.com/invoice/paid/amount"
|
|
53
|
+
* "external.googleapis.com/prometheus/up"
|
|
54
|
+
* "appengine.googleapis.com/http/server/response_latencies"
|
|
55
|
+
*
|
|
56
|
+
* @generated from field: string type = 8;
|
|
57
|
+
*/
|
|
58
|
+
type: string;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* The set of labels that can be used to describe a specific
|
|
62
|
+
* instance of this metric type. For example, the
|
|
63
|
+
* `appengine.googleapis.com/http/server/response_latencies` metric
|
|
64
|
+
* type has a label for the HTTP response code, `response_code`, so
|
|
65
|
+
* you can look at latencies for successful responses or just
|
|
66
|
+
* for responses that failed.
|
|
67
|
+
*
|
|
68
|
+
* @generated from field: repeated google.api.LabelDescriptor labels = 2;
|
|
69
|
+
*/
|
|
70
|
+
labels: LabelDescriptor[];
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Whether the metric records instantaneous values, changes to a value, etc.
|
|
74
|
+
* Some combinations of `metric_kind` and `value_type` might not be supported.
|
|
75
|
+
*
|
|
76
|
+
* @generated from field: google.api.MetricDescriptor.MetricKind metric_kind = 3;
|
|
77
|
+
*/
|
|
78
|
+
metricKind: MetricDescriptor_MetricKind;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Whether the measurement is an integer, a floating-point number, etc.
|
|
82
|
+
* Some combinations of `metric_kind` and `value_type` might not be supported.
|
|
83
|
+
*
|
|
84
|
+
* @generated from field: google.api.MetricDescriptor.ValueType value_type = 4;
|
|
85
|
+
*/
|
|
86
|
+
valueType: MetricDescriptor_ValueType;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* The units in which the metric value is reported. It is only applicable
|
|
90
|
+
* if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit`
|
|
91
|
+
* defines the representation of the stored metric values.
|
|
92
|
+
*
|
|
93
|
+
* Different systems might scale the values to be more easily displayed (so a
|
|
94
|
+
* value of `0.02kBy` _might_ be displayed as `20By`, and a value of
|
|
95
|
+
* `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is
|
|
96
|
+
* `kBy`, then the value of the metric is always in thousands of bytes, no
|
|
97
|
+
* matter how it might be displayed.
|
|
98
|
+
*
|
|
99
|
+
* If you want a custom metric to record the exact number of CPU-seconds used
|
|
100
|
+
* by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is
|
|
101
|
+
* `s{CPU}` (or equivalently `1s{CPU}` or just `s`). If the job uses 12,005
|
|
102
|
+
* CPU-seconds, then the value is written as `12005`.
|
|
103
|
+
*
|
|
104
|
+
* Alternatively, if you want a custom metric to record data in a more
|
|
105
|
+
* granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is
|
|
106
|
+
* `ks{CPU}`, and then write the value `12.005` (which is `12005/1000`),
|
|
107
|
+
* or use `Kis{CPU}` and write `11.723` (which is `12005/1024`).
|
|
108
|
+
*
|
|
109
|
+
* The supported units are a subset of [The Unified Code for Units of
|
|
110
|
+
* Measure](https://unitsofmeasure.org/ucum.html) standard:
|
|
111
|
+
*
|
|
112
|
+
* **Basic units (UNIT)**
|
|
113
|
+
*
|
|
114
|
+
* * `bit` bit
|
|
115
|
+
* * `By` byte
|
|
116
|
+
* * `s` second
|
|
117
|
+
* * `min` minute
|
|
118
|
+
* * `h` hour
|
|
119
|
+
* * `d` day
|
|
120
|
+
* * `1` dimensionless
|
|
121
|
+
*
|
|
122
|
+
* **Prefixes (PREFIX)**
|
|
123
|
+
*
|
|
124
|
+
* * `k` kilo (10^3)
|
|
125
|
+
* * `M` mega (10^6)
|
|
126
|
+
* * `G` giga (10^9)
|
|
127
|
+
* * `T` tera (10^12)
|
|
128
|
+
* * `P` peta (10^15)
|
|
129
|
+
* * `E` exa (10^18)
|
|
130
|
+
* * `Z` zetta (10^21)
|
|
131
|
+
* * `Y` yotta (10^24)
|
|
132
|
+
*
|
|
133
|
+
* * `m` milli (10^-3)
|
|
134
|
+
* * `u` micro (10^-6)
|
|
135
|
+
* * `n` nano (10^-9)
|
|
136
|
+
* * `p` pico (10^-12)
|
|
137
|
+
* * `f` femto (10^-15)
|
|
138
|
+
* * `a` atto (10^-18)
|
|
139
|
+
* * `z` zepto (10^-21)
|
|
140
|
+
* * `y` yocto (10^-24)
|
|
141
|
+
*
|
|
142
|
+
* * `Ki` kibi (2^10)
|
|
143
|
+
* * `Mi` mebi (2^20)
|
|
144
|
+
* * `Gi` gibi (2^30)
|
|
145
|
+
* * `Ti` tebi (2^40)
|
|
146
|
+
* * `Pi` pebi (2^50)
|
|
147
|
+
*
|
|
148
|
+
* **Grammar**
|
|
149
|
+
*
|
|
150
|
+
* The grammar also includes these connectors:
|
|
151
|
+
*
|
|
152
|
+
* * `/` division or ratio (as an infix operator). For examples,
|
|
153
|
+
* `kBy/{email}` or `MiBy/10ms` (although you should almost never
|
|
154
|
+
* have `/s` in a metric `unit`; rates should always be computed at
|
|
155
|
+
* query time from the underlying cumulative or delta value).
|
|
156
|
+
* * `.` multiplication or composition (as an infix operator). For
|
|
157
|
+
* examples, `GBy.d` or `k{watt}.h`.
|
|
158
|
+
*
|
|
159
|
+
* The grammar for a unit is as follows:
|
|
160
|
+
*
|
|
161
|
+
* Expression = Component { "." Component } { "/" Component } ;
|
|
162
|
+
*
|
|
163
|
+
* Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ]
|
|
164
|
+
* | Annotation
|
|
165
|
+
* | "1"
|
|
166
|
+
* ;
|
|
167
|
+
*
|
|
168
|
+
* Annotation = "{" NAME "}" ;
|
|
169
|
+
*
|
|
170
|
+
* Notes:
|
|
171
|
+
*
|
|
172
|
+
* * `Annotation` is just a comment if it follows a `UNIT`. If the annotation
|
|
173
|
+
* is used alone, then the unit is equivalent to `1`. For examples,
|
|
174
|
+
* `{request}/s == 1/s`, `By{transmitted}/s == By/s`.
|
|
175
|
+
* * `NAME` is a sequence of non-blank printable ASCII characters not
|
|
176
|
+
* containing `{` or `}`.
|
|
177
|
+
* * `1` represents a unitary [dimensionless
|
|
178
|
+
* unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such
|
|
179
|
+
* as in `1/s`. It is typically used when none of the basic units are
|
|
180
|
+
* appropriate. For example, "new users per day" can be represented as
|
|
181
|
+
* `1/d` or `{new-users}/d` (and a metric value `5` would mean "5 new
|
|
182
|
+
* users). Alternatively, "thousands of page views per day" would be
|
|
183
|
+
* represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric
|
|
184
|
+
* value of `5.3` would mean "5300 page views per day").
|
|
185
|
+
* * `%` represents dimensionless value of 1/100, and annotates values giving
|
|
186
|
+
* a percentage (so the metric values are typically in the range of 0..100,
|
|
187
|
+
* and a metric value `3` means "3 percent").
|
|
188
|
+
* * `10^2.%` indicates a metric contains a ratio, typically in the range
|
|
189
|
+
* 0..1, that will be multiplied by 100 and displayed as a percentage
|
|
190
|
+
* (so a metric value `0.03` means "3 percent").
|
|
191
|
+
*
|
|
192
|
+
* @generated from field: string unit = 5;
|
|
193
|
+
*/
|
|
194
|
+
unit: string;
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* A detailed description of the metric, which can be used in documentation.
|
|
198
|
+
*
|
|
199
|
+
* @generated from field: string description = 6;
|
|
200
|
+
*/
|
|
201
|
+
description: string;
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* A concise name for the metric, which can be displayed in user interfaces.
|
|
205
|
+
* Use sentence case without an ending period, for example "Request count".
|
|
206
|
+
* This field is optional but it is recommended to be set for any metrics
|
|
207
|
+
* associated with user-visible concepts, such as Quota.
|
|
208
|
+
*
|
|
209
|
+
* @generated from field: string display_name = 7;
|
|
210
|
+
*/
|
|
211
|
+
displayName: string;
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* Optional. Metadata which can be used to guide usage of the metric.
|
|
215
|
+
*
|
|
216
|
+
* @generated from field: google.api.MetricDescriptor.MetricDescriptorMetadata metadata = 10;
|
|
217
|
+
*/
|
|
218
|
+
metadata?: MetricDescriptor_MetricDescriptorMetadata;
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* Optional. The launch stage of the metric definition.
|
|
222
|
+
*
|
|
223
|
+
* @generated from field: google.api.LaunchStage launch_stage = 12;
|
|
224
|
+
*/
|
|
225
|
+
launchStage: LaunchStage;
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Read-only. If present, then a [time
|
|
229
|
+
* series][google.monitoring.v3.TimeSeries], which is identified partially by
|
|
230
|
+
* a metric type and a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor], that is associated
|
|
231
|
+
* with this metric type can only be associated with one of the monitored
|
|
232
|
+
* resource types listed here.
|
|
233
|
+
*
|
|
234
|
+
* @generated from field: repeated string monitored_resource_types = 13;
|
|
235
|
+
*/
|
|
236
|
+
monitoredResourceTypes: string[];
|
|
237
|
+
};
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Describes the message google.api.MetricDescriptor.
|
|
241
|
+
* Use `create(MetricDescriptorSchema)` to create a new message.
|
|
242
|
+
*/
|
|
243
|
+
export declare const MetricDescriptorSchema: GenMessage<MetricDescriptor>;
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* Additional annotations that can be used to guide the usage of a metric.
|
|
247
|
+
*
|
|
248
|
+
* @generated from message google.api.MetricDescriptor.MetricDescriptorMetadata
|
|
249
|
+
*/
|
|
250
|
+
export declare type MetricDescriptor_MetricDescriptorMetadata = Message<"google.api.MetricDescriptor.MetricDescriptorMetadata"> & {
|
|
251
|
+
/**
|
|
252
|
+
* Deprecated. Must use the [MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage] instead.
|
|
253
|
+
*
|
|
254
|
+
* @generated from field: google.api.LaunchStage launch_stage = 1 [deprecated = true];
|
|
255
|
+
* @deprecated
|
|
256
|
+
*/
|
|
257
|
+
launchStage: LaunchStage;
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* The sampling period of metric data points. For metrics which are written
|
|
261
|
+
* periodically, consecutive data points are stored at this time interval,
|
|
262
|
+
* excluding data loss due to errors. Metrics with a higher granularity have
|
|
263
|
+
* a smaller sampling period.
|
|
264
|
+
*
|
|
265
|
+
* @generated from field: google.protobuf.Duration sample_period = 2;
|
|
266
|
+
*/
|
|
267
|
+
samplePeriod?: Duration;
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* The delay of data points caused by ingestion. Data points older than this
|
|
271
|
+
* age are guaranteed to be ingested and available to be read, excluding
|
|
272
|
+
* data loss due to errors.
|
|
273
|
+
*
|
|
274
|
+
* @generated from field: google.protobuf.Duration ingest_delay = 3;
|
|
275
|
+
*/
|
|
276
|
+
ingestDelay?: Duration;
|
|
277
|
+
};
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* Describes the message google.api.MetricDescriptor.MetricDescriptorMetadata.
|
|
281
|
+
* Use `create(MetricDescriptor_MetricDescriptorMetadataSchema)` to create a new message.
|
|
282
|
+
*/
|
|
283
|
+
export declare const MetricDescriptor_MetricDescriptorMetadataSchema: GenMessage<MetricDescriptor_MetricDescriptorMetadata>;
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* The kind of measurement. It describes how the data is reported.
|
|
287
|
+
* For information on setting the start time and end time based on
|
|
288
|
+
* the MetricKind, see [TimeInterval][google.monitoring.v3.TimeInterval].
|
|
289
|
+
*
|
|
290
|
+
* @generated from enum google.api.MetricDescriptor.MetricKind
|
|
291
|
+
*/
|
|
292
|
+
export enum MetricDescriptor_MetricKind {
|
|
293
|
+
/**
|
|
294
|
+
* Do not use this default value.
|
|
295
|
+
*
|
|
296
|
+
* @generated from enum value: METRIC_KIND_UNSPECIFIED = 0;
|
|
297
|
+
*/
|
|
298
|
+
METRIC_KIND_UNSPECIFIED = 0,
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* An instantaneous measurement of a value.
|
|
302
|
+
*
|
|
303
|
+
* @generated from enum value: GAUGE = 1;
|
|
304
|
+
*/
|
|
305
|
+
GAUGE = 1,
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* The change in a value during a time interval.
|
|
309
|
+
*
|
|
310
|
+
* @generated from enum value: DELTA = 2;
|
|
311
|
+
*/
|
|
312
|
+
DELTA = 2,
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* A value accumulated over a time interval. Cumulative
|
|
316
|
+
* measurements in a time series should have the same start time
|
|
317
|
+
* and increasing end times, until an event resets the cumulative
|
|
318
|
+
* value to zero and sets a new start time for the following
|
|
319
|
+
* points.
|
|
320
|
+
*
|
|
321
|
+
* @generated from enum value: CUMULATIVE = 3;
|
|
322
|
+
*/
|
|
323
|
+
CUMULATIVE = 3,
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* Describes the enum google.api.MetricDescriptor.MetricKind.
|
|
328
|
+
*/
|
|
329
|
+
export declare const MetricDescriptor_MetricKindSchema: GenEnum<MetricDescriptor_MetricKind>;
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* The value type of a metric.
|
|
333
|
+
*
|
|
334
|
+
* @generated from enum google.api.MetricDescriptor.ValueType
|
|
335
|
+
*/
|
|
336
|
+
export enum MetricDescriptor_ValueType {
|
|
337
|
+
/**
|
|
338
|
+
* Do not use this default value.
|
|
339
|
+
*
|
|
340
|
+
* @generated from enum value: VALUE_TYPE_UNSPECIFIED = 0;
|
|
341
|
+
*/
|
|
342
|
+
VALUE_TYPE_UNSPECIFIED = 0,
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* The value is a boolean.
|
|
346
|
+
* This value type can be used only if the metric kind is `GAUGE`.
|
|
347
|
+
*
|
|
348
|
+
* @generated from enum value: BOOL = 1;
|
|
349
|
+
*/
|
|
350
|
+
BOOL = 1,
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* The value is a signed 64-bit integer.
|
|
354
|
+
*
|
|
355
|
+
* @generated from enum value: INT64 = 2;
|
|
356
|
+
*/
|
|
357
|
+
INT64 = 2,
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* The value is a double precision floating point number.
|
|
361
|
+
*
|
|
362
|
+
* @generated from enum value: DOUBLE = 3;
|
|
363
|
+
*/
|
|
364
|
+
DOUBLE = 3,
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* The value is a text string.
|
|
368
|
+
* This value type can be used only if the metric kind is `GAUGE`.
|
|
369
|
+
*
|
|
370
|
+
* @generated from enum value: STRING = 4;
|
|
371
|
+
*/
|
|
372
|
+
STRING = 4,
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* The value is a [`Distribution`][google.api.Distribution].
|
|
376
|
+
*
|
|
377
|
+
* @generated from enum value: DISTRIBUTION = 5;
|
|
378
|
+
*/
|
|
379
|
+
DISTRIBUTION = 5,
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* The value is money.
|
|
383
|
+
*
|
|
384
|
+
* @generated from enum value: MONEY = 6;
|
|
385
|
+
*/
|
|
386
|
+
MONEY = 6,
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
/**
|
|
390
|
+
* Describes the enum google.api.MetricDescriptor.ValueType.
|
|
391
|
+
*/
|
|
392
|
+
export declare const MetricDescriptor_ValueTypeSchema: GenEnum<MetricDescriptor_ValueType>;
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* A specific metric, identified by specifying values for all of the
|
|
396
|
+
* labels of a [`MetricDescriptor`][google.api.MetricDescriptor].
|
|
397
|
+
*
|
|
398
|
+
* @generated from message google.api.Metric
|
|
399
|
+
*/
|
|
400
|
+
export declare type Metric = Message<"google.api.Metric"> & {
|
|
401
|
+
/**
|
|
402
|
+
* An existing metric type, see [google.api.MetricDescriptor][google.api.MetricDescriptor].
|
|
403
|
+
* For example, `custom.googleapis.com/invoice/paid/amount`.
|
|
404
|
+
*
|
|
405
|
+
* @generated from field: string type = 3;
|
|
406
|
+
*/
|
|
407
|
+
type: string;
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* The set of label values that uniquely identify this metric. All
|
|
411
|
+
* labels listed in the `MetricDescriptor` must be assigned values.
|
|
412
|
+
*
|
|
413
|
+
* @generated from field: map<string, string> labels = 2;
|
|
414
|
+
*/
|
|
415
|
+
labels: { [key: string]: string };
|
|
416
|
+
};
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* Describes the message google.api.Metric.
|
|
420
|
+
* Use `create(MetricSchema)` to create a new message.
|
|
421
|
+
*/
|
|
422
|
+
export declare const MetricSchema: GenMessage<Metric>;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
// Copyright 2015 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/metric.proto (package google.api, syntax proto3)
|
|
17
|
+
/* eslint-disable */
|
|
18
|
+
|
|
19
|
+
import { enumDesc, fileDesc, messageDesc, tsEnum } from "@bufbuild/protobuf/codegenv2";
|
|
20
|
+
import { file_google_api_label } from "./label_pb";
|
|
21
|
+
import { file_google_api_launch_stage } from "./launch_stage_pb";
|
|
22
|
+
import { file_google_protobuf_duration } from "../protobuf/duration_pb";
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Describes the file google/api/metric.proto.
|
|
26
|
+
*/
|
|
27
|
+
export const file_google_api_metric = /*@__PURE__*/
|
|
28
|
+
fileDesc("Chdnb29nbGUvYXBpL21ldHJpYy5wcm90bxIKZ29vZ2xlLmFwaSKfBgoQTWV0cmljRGVzY3JpcHRvchIMCgRuYW1lGAEgASgJEgwKBHR5cGUYCCABKAkSKwoGbGFiZWxzGAIgAygLMhsuZ29vZ2xlLmFwaS5MYWJlbERlc2NyaXB0b3ISPAoLbWV0cmljX2tpbmQYAyABKA4yJy5nb29nbGUuYXBpLk1ldHJpY0Rlc2NyaXB0b3IuTWV0cmljS2luZBI6Cgp2YWx1ZV90eXBlGAQgASgOMiYuZ29vZ2xlLmFwaS5NZXRyaWNEZXNjcmlwdG9yLlZhbHVlVHlwZRIMCgR1bml0GAUgASgJEhMKC2Rlc2NyaXB0aW9uGAYgASgJEhQKDGRpc3BsYXlfbmFtZRgHIAEoCRJHCghtZXRhZGF0YRgKIAEoCzI1Lmdvb2dsZS5hcGkuTWV0cmljRGVzY3JpcHRvci5NZXRyaWNEZXNjcmlwdG9yTWV0YWRhdGESLQoMbGF1bmNoX3N0YWdlGAwgASgOMhcuZ29vZ2xlLmFwaS5MYXVuY2hTdGFnZRIgChhtb25pdG9yZWRfcmVzb3VyY2VfdHlwZXMYDSADKAkasAEKGE1ldHJpY0Rlc2NyaXB0b3JNZXRhZGF0YRIxCgxsYXVuY2hfc3RhZ2UYASABKA4yFy5nb29nbGUuYXBpLkxhdW5jaFN0YWdlQgIYARIwCg1zYW1wbGVfcGVyaW9kGAIgASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uEi8KDGluZ2VzdF9kZWxheRgDIAEoCzIZLmdvb2dsZS5wcm90b2J1Zi5EdXJhdGlvbiJPCgpNZXRyaWNLaW5kEhsKF01FVFJJQ19LSU5EX1VOU1BFQ0lGSUVEEAASCQoFR0FVR0UQARIJCgVERUxUQRACEg4KCkNVTVVMQVRJVkUQAyJxCglWYWx1ZVR5cGUSGgoWVkFMVUVfVFlQRV9VTlNQRUNJRklFRBAAEggKBEJPT0wQARIJCgVJTlQ2NBACEgoKBkRPVUJMRRADEgoKBlNUUklORxAEEhAKDERJU1RSSUJVVElPThAFEgkKBU1PTkVZEAYidQoGTWV0cmljEgwKBHR5cGUYAyABKAkSLgoGbGFiZWxzGAIgAygLMh4uZ29vZ2xlLmFwaS5NZXRyaWMuTGFiZWxzRW50cnkaLQoLTGFiZWxzRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4AUJfCg5jb20uZ29vZ2xlLmFwaUILTWV0cmljUHJvdG9QAVo3Z29vZ2xlLmdvbGFuZy5vcmcvZ2VucHJvdG8vZ29vZ2xlYXBpcy9hcGkvbWV0cmljO21ldHJpY6ICBEdBUEliBnByb3RvMw", [file_google_api_label, file_google_api_launch_stage, file_google_protobuf_duration]);
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Describes the message google.api.MetricDescriptor.
|
|
32
|
+
* Use `create(MetricDescriptorSchema)` to create a new message.
|
|
33
|
+
*/
|
|
34
|
+
export const MetricDescriptorSchema = /*@__PURE__*/
|
|
35
|
+
messageDesc(file_google_api_metric, 0);
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Describes the message google.api.MetricDescriptor.MetricDescriptorMetadata.
|
|
39
|
+
* Use `create(MetricDescriptor_MetricDescriptorMetadataSchema)` to create a new message.
|
|
40
|
+
*/
|
|
41
|
+
export const MetricDescriptor_MetricDescriptorMetadataSchema = /*@__PURE__*/
|
|
42
|
+
messageDesc(file_google_api_metric, 0, 0);
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Describes the enum google.api.MetricDescriptor.MetricKind.
|
|
46
|
+
*/
|
|
47
|
+
export const MetricDescriptor_MetricKindSchema = /*@__PURE__*/
|
|
48
|
+
enumDesc(file_google_api_metric, 0, 0);
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* The kind of measurement. It describes how the data is reported.
|
|
52
|
+
* For information on setting the start time and end time based on
|
|
53
|
+
* the MetricKind, see [TimeInterval][google.monitoring.v3.TimeInterval].
|
|
54
|
+
*
|
|
55
|
+
* @generated from enum google.api.MetricDescriptor.MetricKind
|
|
56
|
+
*/
|
|
57
|
+
export const MetricDescriptor_MetricKind = /*@__PURE__*/
|
|
58
|
+
tsEnum(MetricDescriptor_MetricKindSchema);
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Describes the enum google.api.MetricDescriptor.ValueType.
|
|
62
|
+
*/
|
|
63
|
+
export const MetricDescriptor_ValueTypeSchema = /*@__PURE__*/
|
|
64
|
+
enumDesc(file_google_api_metric, 0, 1);
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* The value type of a metric.
|
|
68
|
+
*
|
|
69
|
+
* @generated from enum google.api.MetricDescriptor.ValueType
|
|
70
|
+
*/
|
|
71
|
+
export const MetricDescriptor_ValueType = /*@__PURE__*/
|
|
72
|
+
tsEnum(MetricDescriptor_ValueTypeSchema);
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Describes the message google.api.Metric.
|
|
76
|
+
* Use `create(MetricSchema)` to create a new message.
|
|
77
|
+
*/
|
|
78
|
+
export const MetricSchema = /*@__PURE__*/
|
|
79
|
+
messageDesc(file_google_api_metric, 1);
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
// Copyright 2015 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/monitored_resource.proto (package google.api, 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 { LabelDescriptor } from "./label_pb";
|
|
22
|
+
import type { LaunchStage } from "./launch_stage_pb";
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Describes the file google/api/monitored_resource.proto.
|
|
26
|
+
*/
|
|
27
|
+
export declare const file_google_api_monitored_resource: GenFile;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* An object that describes the schema of a [MonitoredResource][google.api.MonitoredResource] object using a
|
|
31
|
+
* type name and a set of labels. For example, the monitored resource
|
|
32
|
+
* descriptor for Google Compute Engine VM instances has a type of
|
|
33
|
+
* `"gce_instance"` and specifies the use of the labels `"instance_id"` and
|
|
34
|
+
* `"zone"` to identify particular VM instances.
|
|
35
|
+
*
|
|
36
|
+
* Different APIs can support different monitored resource types. APIs generally
|
|
37
|
+
* provide a `list` method that returns the monitored resource descriptors used
|
|
38
|
+
* by the API.
|
|
39
|
+
*
|
|
40
|
+
*
|
|
41
|
+
* @generated from message google.api.MonitoredResourceDescriptor
|
|
42
|
+
*/
|
|
43
|
+
export declare type MonitoredResourceDescriptor = Message<"google.api.MonitoredResourceDescriptor"> & {
|
|
44
|
+
/**
|
|
45
|
+
* Optional. The resource name of the monitored resource descriptor:
|
|
46
|
+
* `"projects/{project_id}/monitoredResourceDescriptors/{type}"` where
|
|
47
|
+
* {type} is the value of the `type` field in this object and
|
|
48
|
+
* {project_id} is a project ID that provides API-specific context for
|
|
49
|
+
* accessing the type. APIs that do not use project information can use the
|
|
50
|
+
* resource name format `"monitoredResourceDescriptors/{type}"`.
|
|
51
|
+
*
|
|
52
|
+
* @generated from field: string name = 5;
|
|
53
|
+
*/
|
|
54
|
+
name: string;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Required. The monitored resource type. For example, the type
|
|
58
|
+
* `"cloudsql_database"` represents databases in Google Cloud SQL.
|
|
59
|
+
* For a list of types, see [Monitoring resource
|
|
60
|
+
* types](https://cloud.google.com/monitoring/api/resources)
|
|
61
|
+
* and [Logging resource
|
|
62
|
+
* types](https://cloud.google.com/logging/docs/api/v2/resource-list).
|
|
63
|
+
*
|
|
64
|
+
* @generated from field: string type = 1;
|
|
65
|
+
*/
|
|
66
|
+
type: string;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Optional. A concise name for the monitored resource type that might be
|
|
70
|
+
* displayed in user interfaces. It should be a Title Cased Noun Phrase,
|
|
71
|
+
* without any article or other determiners. For example,
|
|
72
|
+
* `"Google Cloud SQL Database"`.
|
|
73
|
+
*
|
|
74
|
+
* @generated from field: string display_name = 2;
|
|
75
|
+
*/
|
|
76
|
+
displayName: string;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Optional. A detailed description of the monitored resource type that might
|
|
80
|
+
* be used in documentation.
|
|
81
|
+
*
|
|
82
|
+
* @generated from field: string description = 3;
|
|
83
|
+
*/
|
|
84
|
+
description: string;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Required. A set of labels used to describe instances of this monitored
|
|
88
|
+
* resource type. For example, an individual Google Cloud SQL database is
|
|
89
|
+
* identified by values for the labels `"database_id"` and `"zone"`.
|
|
90
|
+
*
|
|
91
|
+
* @generated from field: repeated google.api.LabelDescriptor labels = 4;
|
|
92
|
+
*/
|
|
93
|
+
labels: LabelDescriptor[];
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Optional. The launch stage of the monitored resource definition.
|
|
97
|
+
*
|
|
98
|
+
* @generated from field: google.api.LaunchStage launch_stage = 7;
|
|
99
|
+
*/
|
|
100
|
+
launchStage: LaunchStage;
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* Describes the message google.api.MonitoredResourceDescriptor.
|
|
105
|
+
* Use `create(MonitoredResourceDescriptorSchema)` to create a new message.
|
|
106
|
+
*/
|
|
107
|
+
export declare const MonitoredResourceDescriptorSchema: GenMessage<MonitoredResourceDescriptor>;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* An object representing a resource that can be used for monitoring, logging,
|
|
111
|
+
* billing, or other purposes. Examples include virtual machine instances,
|
|
112
|
+
* databases, and storage devices such as disks. The `type` field identifies a
|
|
113
|
+
* [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object that describes the resource's
|
|
114
|
+
* schema. Information in the `labels` field identifies the actual resource and
|
|
115
|
+
* its attributes according to the schema. For example, a particular Compute
|
|
116
|
+
* Engine VM instance could be represented by the following object, because the
|
|
117
|
+
* [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] for `"gce_instance"` has labels
|
|
118
|
+
* `"project_id"`, `"instance_id"` and `"zone"`:
|
|
119
|
+
*
|
|
120
|
+
* { "type": "gce_instance",
|
|
121
|
+
* "labels": { "project_id": "my-project",
|
|
122
|
+
* "instance_id": "12345678901234",
|
|
123
|
+
* "zone": "us-central1-a" }}
|
|
124
|
+
*
|
|
125
|
+
* @generated from message google.api.MonitoredResource
|
|
126
|
+
*/
|
|
127
|
+
export declare type MonitoredResource = Message<"google.api.MonitoredResource"> & {
|
|
128
|
+
/**
|
|
129
|
+
* Required. The monitored resource type. This field must match
|
|
130
|
+
* the `type` field of a [MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor] object. For
|
|
131
|
+
* example, the type of a Compute Engine VM instance is `gce_instance`.
|
|
132
|
+
* Some descriptors include the service name in the type; for example,
|
|
133
|
+
* the type of a Datastream stream is `datastream.googleapis.com/Stream`.
|
|
134
|
+
*
|
|
135
|
+
* @generated from field: string type = 1;
|
|
136
|
+
*/
|
|
137
|
+
type: string;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* Required. Values for all of the labels listed in the associated monitored
|
|
141
|
+
* resource descriptor. For example, Compute Engine VM instances use the
|
|
142
|
+
* labels `"project_id"`, `"instance_id"`, and `"zone"`.
|
|
143
|
+
*
|
|
144
|
+
* @generated from field: map<string, string> labels = 2;
|
|
145
|
+
*/
|
|
146
|
+
labels: { [key: string]: string };
|
|
147
|
+
};
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Describes the message google.api.MonitoredResource.
|
|
151
|
+
* Use `create(MonitoredResourceSchema)` to create a new message.
|
|
152
|
+
*/
|
|
153
|
+
export declare const MonitoredResourceSchema: GenMessage<MonitoredResource>;
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* Auxiliary metadata for a [MonitoredResource][google.api.MonitoredResource] object.
|
|
157
|
+
* [MonitoredResource][google.api.MonitoredResource] objects contain the minimum set of information to
|
|
158
|
+
* uniquely identify a monitored resource instance. There is some other useful
|
|
159
|
+
* auxiliary metadata. Monitoring and Logging use an ingestion
|
|
160
|
+
* pipeline to extract metadata for cloud resources of all types, and store
|
|
161
|
+
* the metadata in this message.
|
|
162
|
+
*
|
|
163
|
+
* @generated from message google.api.MonitoredResourceMetadata
|
|
164
|
+
*/
|
|
165
|
+
export declare type MonitoredResourceMetadata = Message<"google.api.MonitoredResourceMetadata"> & {
|
|
166
|
+
/**
|
|
167
|
+
* Output only. Values for predefined system metadata labels.
|
|
168
|
+
* System labels are a kind of metadata extracted by Google, including
|
|
169
|
+
* "machine_image", "vpc", "subnet_id",
|
|
170
|
+
* "security_group", "name", etc.
|
|
171
|
+
* System label values can be only strings, Boolean values, or a list of
|
|
172
|
+
* strings. For example:
|
|
173
|
+
*
|
|
174
|
+
* { "name": "my-test-instance",
|
|
175
|
+
* "security_group": ["a", "b", "c"],
|
|
176
|
+
* "spot_instance": false }
|
|
177
|
+
*
|
|
178
|
+
* @generated from field: google.protobuf.Struct system_labels = 1;
|
|
179
|
+
*/
|
|
180
|
+
systemLabels?: JsonObject;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Output only. A map of user-defined metadata labels.
|
|
184
|
+
*
|
|
185
|
+
* @generated from field: map<string, string> user_labels = 2;
|
|
186
|
+
*/
|
|
187
|
+
userLabels: { [key: string]: string };
|
|
188
|
+
};
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Describes the message google.api.MonitoredResourceMetadata.
|
|
192
|
+
* Use `create(MonitoredResourceMetadataSchema)` to create a new message.
|
|
193
|
+
*/
|
|
194
|
+
export declare const MonitoredResourceMetadataSchema: GenMessage<MonitoredResourceMetadata>;
|