@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,718 @@
|
|
|
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.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 { MonitoredResource, MonitoredResourceDescriptor } from "../../api/monitored_resource_pb";
|
|
22
|
+
import type { LogEntry } from "./log_entry_pb";
|
|
23
|
+
import type { Status } from "../../rpc/status_pb";
|
|
24
|
+
import type { Duration } from "../../protobuf/duration_pb";
|
|
25
|
+
import type { EmptySchema } from "../../protobuf/empty_pb";
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Describes the file google/logging/v2/logging.proto.
|
|
29
|
+
*/
|
|
30
|
+
export declare const file_google_logging_v2_logging: GenFile;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* The parameters to DeleteLog.
|
|
34
|
+
*
|
|
35
|
+
* @generated from message google.logging.v2.DeleteLogRequest
|
|
36
|
+
*/
|
|
37
|
+
export declare type DeleteLogRequest = Message<"google.logging.v2.DeleteLogRequest"> & {
|
|
38
|
+
/**
|
|
39
|
+
* Required. The resource name of the log to delete:
|
|
40
|
+
*
|
|
41
|
+
* * `projects/[PROJECT_ID]/logs/[LOG_ID]`
|
|
42
|
+
* * `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]`
|
|
43
|
+
* * `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]`
|
|
44
|
+
* * `folders/[FOLDER_ID]/logs/[LOG_ID]`
|
|
45
|
+
*
|
|
46
|
+
* `[LOG_ID]` must be URL-encoded. For example,
|
|
47
|
+
* `"projects/my-project-id/logs/syslog"`,
|
|
48
|
+
* `"organizations/123/logs/cloudaudit.googleapis.com%2Factivity"`.
|
|
49
|
+
*
|
|
50
|
+
* For more information about log names, see
|
|
51
|
+
* [LogEntry][google.logging.v2.LogEntry].
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: string log_name = 1;
|
|
54
|
+
*/
|
|
55
|
+
logName: string;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Describes the message google.logging.v2.DeleteLogRequest.
|
|
60
|
+
* Use `create(DeleteLogRequestSchema)` to create a new message.
|
|
61
|
+
*/
|
|
62
|
+
export declare const DeleteLogRequestSchema: GenMessage<DeleteLogRequest>;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* The parameters to WriteLogEntries.
|
|
66
|
+
*
|
|
67
|
+
* @generated from message google.logging.v2.WriteLogEntriesRequest
|
|
68
|
+
*/
|
|
69
|
+
export declare type WriteLogEntriesRequest = Message<"google.logging.v2.WriteLogEntriesRequest"> & {
|
|
70
|
+
/**
|
|
71
|
+
* Optional. A default log resource name that is assigned to all log entries
|
|
72
|
+
* in `entries` that do not specify a value for `log_name`:
|
|
73
|
+
*
|
|
74
|
+
* * `projects/[PROJECT_ID]/logs/[LOG_ID]`
|
|
75
|
+
* * `organizations/[ORGANIZATION_ID]/logs/[LOG_ID]`
|
|
76
|
+
* * `billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]`
|
|
77
|
+
* * `folders/[FOLDER_ID]/logs/[LOG_ID]`
|
|
78
|
+
*
|
|
79
|
+
* `[LOG_ID]` must be URL-encoded. For example:
|
|
80
|
+
*
|
|
81
|
+
* "projects/my-project-id/logs/syslog"
|
|
82
|
+
* "organizations/123/logs/cloudaudit.googleapis.com%2Factivity"
|
|
83
|
+
*
|
|
84
|
+
* The permission `logging.logEntries.create` is needed on each project,
|
|
85
|
+
* organization, billing account, or folder that is receiving new log
|
|
86
|
+
* entries, whether the resource is specified in `logName` or in an
|
|
87
|
+
* individual log entry.
|
|
88
|
+
*
|
|
89
|
+
* @generated from field: string log_name = 1;
|
|
90
|
+
*/
|
|
91
|
+
logName: string;
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Optional. A default monitored resource object that is assigned to all log
|
|
95
|
+
* entries in `entries` that do not specify a value for `resource`. Example:
|
|
96
|
+
*
|
|
97
|
+
* { "type": "gce_instance",
|
|
98
|
+
* "labels": {
|
|
99
|
+
* "zone": "us-central1-a", "instance_id": "00000000000000000000" }}
|
|
100
|
+
*
|
|
101
|
+
* See [LogEntry][google.logging.v2.LogEntry].
|
|
102
|
+
*
|
|
103
|
+
* @generated from field: google.api.MonitoredResource resource = 2;
|
|
104
|
+
*/
|
|
105
|
+
resource?: MonitoredResource;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* Optional. Default labels that are added to the `labels` field of all log
|
|
109
|
+
* entries in `entries`. If a log entry already has a label with the same key
|
|
110
|
+
* as a label in this parameter, then the log entry's label is not changed.
|
|
111
|
+
* See [LogEntry][google.logging.v2.LogEntry].
|
|
112
|
+
*
|
|
113
|
+
* @generated from field: map<string, string> labels = 3;
|
|
114
|
+
*/
|
|
115
|
+
labels: { [key: string]: string };
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Required. The log entries to send to Logging. The order of log
|
|
119
|
+
* entries in this list does not matter. Values supplied in this method's
|
|
120
|
+
* `log_name`, `resource`, and `labels` fields are copied into those log
|
|
121
|
+
* entries in this list that do not include values for their corresponding
|
|
122
|
+
* fields. For more information, see the
|
|
123
|
+
* [LogEntry][google.logging.v2.LogEntry] type.
|
|
124
|
+
*
|
|
125
|
+
* If the `timestamp` or `insert_id` fields are missing in log entries, then
|
|
126
|
+
* this method supplies the current time or a unique identifier, respectively.
|
|
127
|
+
* The supplied values are chosen so that, among the log entries that did not
|
|
128
|
+
* supply their own values, the entries earlier in the list will sort before
|
|
129
|
+
* the entries later in the list. See the `entries.list` method.
|
|
130
|
+
*
|
|
131
|
+
* Log entries with timestamps that are more than the
|
|
132
|
+
* [logs retention period](https://cloud.google.com/logging/quotas) in
|
|
133
|
+
* the past or more than 24 hours in the future will not be available when
|
|
134
|
+
* calling `entries.list`. However, those log entries can still be [exported
|
|
135
|
+
* with
|
|
136
|
+
* LogSinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
|
|
137
|
+
*
|
|
138
|
+
* To improve throughput and to avoid exceeding the
|
|
139
|
+
* [quota limit](https://cloud.google.com/logging/quotas) for calls to
|
|
140
|
+
* `entries.write`, you should try to include several log entries in this
|
|
141
|
+
* list, rather than calling this method for each individual log entry.
|
|
142
|
+
*
|
|
143
|
+
* @generated from field: repeated google.logging.v2.LogEntry entries = 4;
|
|
144
|
+
*/
|
|
145
|
+
entries: LogEntry[];
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* Optional. Whether valid entries should be written even if some other
|
|
149
|
+
* entries fail due to INVALID_ARGUMENT or PERMISSION_DENIED errors. If any
|
|
150
|
+
* entry is not written, then the response status is the error associated
|
|
151
|
+
* with one of the failed entries and the response includes error details
|
|
152
|
+
* keyed by the entries' zero-based index in the `entries.write` method.
|
|
153
|
+
*
|
|
154
|
+
* @generated from field: bool partial_success = 5;
|
|
155
|
+
*/
|
|
156
|
+
partialSuccess: boolean;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Optional. If true, the request should expect normal response, but the
|
|
160
|
+
* entries won't be persisted nor exported. Useful for checking whether the
|
|
161
|
+
* logging API endpoints are working properly before sending valuable data.
|
|
162
|
+
*
|
|
163
|
+
* @generated from field: bool dry_run = 6;
|
|
164
|
+
*/
|
|
165
|
+
dryRun: boolean;
|
|
166
|
+
};
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Describes the message google.logging.v2.WriteLogEntriesRequest.
|
|
170
|
+
* Use `create(WriteLogEntriesRequestSchema)` to create a new message.
|
|
171
|
+
*/
|
|
172
|
+
export declare const WriteLogEntriesRequestSchema: GenMessage<WriteLogEntriesRequest>;
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Result returned from WriteLogEntries.
|
|
176
|
+
*
|
|
177
|
+
* @generated from message google.logging.v2.WriteLogEntriesResponse
|
|
178
|
+
*/
|
|
179
|
+
export declare type WriteLogEntriesResponse = Message<"google.logging.v2.WriteLogEntriesResponse"> & {
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Describes the message google.logging.v2.WriteLogEntriesResponse.
|
|
184
|
+
* Use `create(WriteLogEntriesResponseSchema)` to create a new message.
|
|
185
|
+
*/
|
|
186
|
+
export declare const WriteLogEntriesResponseSchema: GenMessage<WriteLogEntriesResponse>;
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* Error details for WriteLogEntries with partial success.
|
|
190
|
+
*
|
|
191
|
+
* @generated from message google.logging.v2.WriteLogEntriesPartialErrors
|
|
192
|
+
*/
|
|
193
|
+
export declare type WriteLogEntriesPartialErrors = Message<"google.logging.v2.WriteLogEntriesPartialErrors"> & {
|
|
194
|
+
/**
|
|
195
|
+
* When `WriteLogEntriesRequest.partial_success` is true, records the error
|
|
196
|
+
* status for entries that were not written due to a permanent error, keyed
|
|
197
|
+
* by the entry's zero-based index in `WriteLogEntriesRequest.entries`.
|
|
198
|
+
*
|
|
199
|
+
* Failed requests for which no entries are written will not include
|
|
200
|
+
* per-entry errors.
|
|
201
|
+
*
|
|
202
|
+
* @generated from field: map<int32, google.rpc.Status> log_entry_errors = 1;
|
|
203
|
+
*/
|
|
204
|
+
logEntryErrors: { [key: number]: Status };
|
|
205
|
+
};
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* Describes the message google.logging.v2.WriteLogEntriesPartialErrors.
|
|
209
|
+
* Use `create(WriteLogEntriesPartialErrorsSchema)` to create a new message.
|
|
210
|
+
*/
|
|
211
|
+
export declare const WriteLogEntriesPartialErrorsSchema: GenMessage<WriteLogEntriesPartialErrors>;
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* The parameters to `ListLogEntries`.
|
|
215
|
+
*
|
|
216
|
+
* @generated from message google.logging.v2.ListLogEntriesRequest
|
|
217
|
+
*/
|
|
218
|
+
export declare type ListLogEntriesRequest = Message<"google.logging.v2.ListLogEntriesRequest"> & {
|
|
219
|
+
/**
|
|
220
|
+
* Required. Names of one or more parent resources from which to
|
|
221
|
+
* retrieve log entries:
|
|
222
|
+
*
|
|
223
|
+
* * `projects/[PROJECT_ID]`
|
|
224
|
+
* * `organizations/[ORGANIZATION_ID]`
|
|
225
|
+
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
|
|
226
|
+
* * `folders/[FOLDER_ID]`
|
|
227
|
+
*
|
|
228
|
+
* May alternatively be one or more views:
|
|
229
|
+
*
|
|
230
|
+
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
|
|
231
|
+
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
|
|
232
|
+
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
|
|
233
|
+
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
|
|
234
|
+
*
|
|
235
|
+
* Projects listed in the `project_ids` field are added to this list.
|
|
236
|
+
*
|
|
237
|
+
* @generated from field: repeated string resource_names = 8;
|
|
238
|
+
*/
|
|
239
|
+
resourceNames: string[];
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* Optional. A filter that chooses which log entries to return. See [Advanced
|
|
243
|
+
* Logs Queries](https://cloud.google.com/logging/docs/view/advanced-queries).
|
|
244
|
+
* Only log entries that match the filter are returned. An empty filter
|
|
245
|
+
* matches all log entries in the resources listed in `resource_names`.
|
|
246
|
+
* Referencing a parent resource that is not listed in `resource_names` will
|
|
247
|
+
* cause the filter to return no results. The maximum length of the filter is
|
|
248
|
+
* 20000 characters.
|
|
249
|
+
*
|
|
250
|
+
* @generated from field: string filter = 2;
|
|
251
|
+
*/
|
|
252
|
+
filter: string;
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* Optional. How the results should be sorted. Presently, the only permitted
|
|
256
|
+
* values are `"timestamp asc"` (default) and `"timestamp desc"`. The first
|
|
257
|
+
* option returns entries in order of increasing values of
|
|
258
|
+
* `LogEntry.timestamp` (oldest first), and the second option returns entries
|
|
259
|
+
* in order of decreasing timestamps (newest first). Entries with equal
|
|
260
|
+
* timestamps are returned in order of their `insert_id` values.
|
|
261
|
+
*
|
|
262
|
+
* @generated from field: string order_by = 3;
|
|
263
|
+
*/
|
|
264
|
+
orderBy: string;
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* Optional. The maximum number of results to return from this request. Default is 50.
|
|
268
|
+
* If the value is negative or exceeds 1000, the request is rejected. The
|
|
269
|
+
* presence of `next_page_token` in the response indicates that more results
|
|
270
|
+
* might be available.
|
|
271
|
+
*
|
|
272
|
+
* @generated from field: int32 page_size = 4;
|
|
273
|
+
*/
|
|
274
|
+
pageSize: number;
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* Optional. If present, then retrieve the next batch of results from the
|
|
278
|
+
* preceding call to this method. `page_token` must be the value of
|
|
279
|
+
* `next_page_token` from the previous response. The values of other method
|
|
280
|
+
* parameters should be identical to those in the previous call.
|
|
281
|
+
*
|
|
282
|
+
* @generated from field: string page_token = 5;
|
|
283
|
+
*/
|
|
284
|
+
pageToken: string;
|
|
285
|
+
};
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* Describes the message google.logging.v2.ListLogEntriesRequest.
|
|
289
|
+
* Use `create(ListLogEntriesRequestSchema)` to create a new message.
|
|
290
|
+
*/
|
|
291
|
+
export declare const ListLogEntriesRequestSchema: GenMessage<ListLogEntriesRequest>;
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* Result returned from `ListLogEntries`.
|
|
295
|
+
*
|
|
296
|
+
* @generated from message google.logging.v2.ListLogEntriesResponse
|
|
297
|
+
*/
|
|
298
|
+
export declare type ListLogEntriesResponse = Message<"google.logging.v2.ListLogEntriesResponse"> & {
|
|
299
|
+
/**
|
|
300
|
+
* A list of log entries. If `entries` is empty, `nextPageToken` may still be
|
|
301
|
+
* returned, indicating that more entries may exist. See `nextPageToken` for
|
|
302
|
+
* more information.
|
|
303
|
+
*
|
|
304
|
+
* @generated from field: repeated google.logging.v2.LogEntry entries = 1;
|
|
305
|
+
*/
|
|
306
|
+
entries: LogEntry[];
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* If there might be more results than those appearing in this response, then
|
|
310
|
+
* `nextPageToken` is included. To get the next set of results, call this
|
|
311
|
+
* method again using the value of `nextPageToken` as `pageToken`.
|
|
312
|
+
*
|
|
313
|
+
* If a value for `next_page_token` appears and the `entries` field is empty,
|
|
314
|
+
* it means that the search found no log entries so far but it did not have
|
|
315
|
+
* time to search all the possible log entries. Retry the method with this
|
|
316
|
+
* value for `page_token` to continue the search. Alternatively, consider
|
|
317
|
+
* speeding up the search by changing your filter to specify a single log name
|
|
318
|
+
* or resource type, or to narrow the time range of the search.
|
|
319
|
+
*
|
|
320
|
+
* @generated from field: string next_page_token = 2;
|
|
321
|
+
*/
|
|
322
|
+
nextPageToken: string;
|
|
323
|
+
};
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* Describes the message google.logging.v2.ListLogEntriesResponse.
|
|
327
|
+
* Use `create(ListLogEntriesResponseSchema)` to create a new message.
|
|
328
|
+
*/
|
|
329
|
+
export declare const ListLogEntriesResponseSchema: GenMessage<ListLogEntriesResponse>;
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* The parameters to ListMonitoredResourceDescriptors
|
|
333
|
+
*
|
|
334
|
+
* @generated from message google.logging.v2.ListMonitoredResourceDescriptorsRequest
|
|
335
|
+
*/
|
|
336
|
+
export declare type ListMonitoredResourceDescriptorsRequest = Message<"google.logging.v2.ListMonitoredResourceDescriptorsRequest"> & {
|
|
337
|
+
/**
|
|
338
|
+
* Optional. The maximum number of results to return from this request.
|
|
339
|
+
* Non-positive values are ignored. The presence of `nextPageToken` in the
|
|
340
|
+
* response indicates that more results might be available.
|
|
341
|
+
*
|
|
342
|
+
* @generated from field: int32 page_size = 1;
|
|
343
|
+
*/
|
|
344
|
+
pageSize: number;
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* Optional. If present, then retrieve the next batch of results from the
|
|
348
|
+
* preceding call to this method. `pageToken` must be the value of
|
|
349
|
+
* `nextPageToken` from the previous response. The values of other method
|
|
350
|
+
* parameters should be identical to those in the previous call.
|
|
351
|
+
*
|
|
352
|
+
* @generated from field: string page_token = 2;
|
|
353
|
+
*/
|
|
354
|
+
pageToken: string;
|
|
355
|
+
};
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* Describes the message google.logging.v2.ListMonitoredResourceDescriptorsRequest.
|
|
359
|
+
* Use `create(ListMonitoredResourceDescriptorsRequestSchema)` to create a new message.
|
|
360
|
+
*/
|
|
361
|
+
export declare const ListMonitoredResourceDescriptorsRequestSchema: GenMessage<ListMonitoredResourceDescriptorsRequest>;
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* Result returned from ListMonitoredResourceDescriptors.
|
|
365
|
+
*
|
|
366
|
+
* @generated from message google.logging.v2.ListMonitoredResourceDescriptorsResponse
|
|
367
|
+
*/
|
|
368
|
+
export declare type ListMonitoredResourceDescriptorsResponse = Message<"google.logging.v2.ListMonitoredResourceDescriptorsResponse"> & {
|
|
369
|
+
/**
|
|
370
|
+
* A list of resource descriptors.
|
|
371
|
+
*
|
|
372
|
+
* @generated from field: repeated google.api.MonitoredResourceDescriptor resource_descriptors = 1;
|
|
373
|
+
*/
|
|
374
|
+
resourceDescriptors: MonitoredResourceDescriptor[];
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* If there might be more results than those appearing in this response, then
|
|
378
|
+
* `nextPageToken` is included. To get the next set of results, call this
|
|
379
|
+
* method again using the value of `nextPageToken` as `pageToken`.
|
|
380
|
+
*
|
|
381
|
+
* @generated from field: string next_page_token = 2;
|
|
382
|
+
*/
|
|
383
|
+
nextPageToken: string;
|
|
384
|
+
};
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* Describes the message google.logging.v2.ListMonitoredResourceDescriptorsResponse.
|
|
388
|
+
* Use `create(ListMonitoredResourceDescriptorsResponseSchema)` to create a new message.
|
|
389
|
+
*/
|
|
390
|
+
export declare const ListMonitoredResourceDescriptorsResponseSchema: GenMessage<ListMonitoredResourceDescriptorsResponse>;
|
|
391
|
+
|
|
392
|
+
/**
|
|
393
|
+
* The parameters to ListLogs.
|
|
394
|
+
*
|
|
395
|
+
* @generated from message google.logging.v2.ListLogsRequest
|
|
396
|
+
*/
|
|
397
|
+
export declare type ListLogsRequest = Message<"google.logging.v2.ListLogsRequest"> & {
|
|
398
|
+
/**
|
|
399
|
+
* Required. The resource name that owns the logs:
|
|
400
|
+
*
|
|
401
|
+
* * `projects/[PROJECT_ID]`
|
|
402
|
+
* * `organizations/[ORGANIZATION_ID]`
|
|
403
|
+
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
|
|
404
|
+
* * `folders/[FOLDER_ID]`
|
|
405
|
+
*
|
|
406
|
+
* @generated from field: string parent = 1;
|
|
407
|
+
*/
|
|
408
|
+
parent: string;
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
* Optional. The maximum number of results to return from this request.
|
|
412
|
+
* Non-positive values are ignored. The presence of `nextPageToken` in the
|
|
413
|
+
* response indicates that more results might be available.
|
|
414
|
+
*
|
|
415
|
+
* @generated from field: int32 page_size = 2;
|
|
416
|
+
*/
|
|
417
|
+
pageSize: number;
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* Optional. If present, then retrieve the next batch of results from the
|
|
421
|
+
* preceding call to this method. `pageToken` must be the value of
|
|
422
|
+
* `nextPageToken` from the previous response. The values of other method
|
|
423
|
+
* parameters should be identical to those in the previous call.
|
|
424
|
+
*
|
|
425
|
+
* @generated from field: string page_token = 3;
|
|
426
|
+
*/
|
|
427
|
+
pageToken: string;
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* Optional. The resource name that owns the logs:
|
|
431
|
+
*
|
|
432
|
+
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
|
|
433
|
+
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
|
|
434
|
+
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
|
|
435
|
+
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
|
|
436
|
+
*
|
|
437
|
+
* To support legacy queries, it could also be:
|
|
438
|
+
*
|
|
439
|
+
* * `projects/[PROJECT_ID]`
|
|
440
|
+
* * `organizations/[ORGANIZATION_ID]`
|
|
441
|
+
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
|
|
442
|
+
* * `folders/[FOLDER_ID]`
|
|
443
|
+
*
|
|
444
|
+
* @generated from field: repeated string resource_names = 8;
|
|
445
|
+
*/
|
|
446
|
+
resourceNames: string[];
|
|
447
|
+
};
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* Describes the message google.logging.v2.ListLogsRequest.
|
|
451
|
+
* Use `create(ListLogsRequestSchema)` to create a new message.
|
|
452
|
+
*/
|
|
453
|
+
export declare const ListLogsRequestSchema: GenMessage<ListLogsRequest>;
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* Result returned from ListLogs.
|
|
457
|
+
*
|
|
458
|
+
* @generated from message google.logging.v2.ListLogsResponse
|
|
459
|
+
*/
|
|
460
|
+
export declare type ListLogsResponse = Message<"google.logging.v2.ListLogsResponse"> & {
|
|
461
|
+
/**
|
|
462
|
+
* A list of log names. For example,
|
|
463
|
+
* `"projects/my-project/logs/syslog"` or
|
|
464
|
+
* `"organizations/123/logs/cloudresourcemanager.googleapis.com%2Factivity"`.
|
|
465
|
+
*
|
|
466
|
+
* @generated from field: repeated string log_names = 3;
|
|
467
|
+
*/
|
|
468
|
+
logNames: string[];
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* If there might be more results than those appearing in this response, then
|
|
472
|
+
* `nextPageToken` is included. To get the next set of results, call this
|
|
473
|
+
* method again using the value of `nextPageToken` as `pageToken`.
|
|
474
|
+
*
|
|
475
|
+
* @generated from field: string next_page_token = 2;
|
|
476
|
+
*/
|
|
477
|
+
nextPageToken: string;
|
|
478
|
+
};
|
|
479
|
+
|
|
480
|
+
/**
|
|
481
|
+
* Describes the message google.logging.v2.ListLogsResponse.
|
|
482
|
+
* Use `create(ListLogsResponseSchema)` to create a new message.
|
|
483
|
+
*/
|
|
484
|
+
export declare const ListLogsResponseSchema: GenMessage<ListLogsResponse>;
|
|
485
|
+
|
|
486
|
+
/**
|
|
487
|
+
* The parameters to `TailLogEntries`.
|
|
488
|
+
*
|
|
489
|
+
* @generated from message google.logging.v2.TailLogEntriesRequest
|
|
490
|
+
*/
|
|
491
|
+
export declare type TailLogEntriesRequest = Message<"google.logging.v2.TailLogEntriesRequest"> & {
|
|
492
|
+
/**
|
|
493
|
+
* Required. Name of a parent resource from which to retrieve log entries:
|
|
494
|
+
*
|
|
495
|
+
* * `projects/[PROJECT_ID]`
|
|
496
|
+
* * `organizations/[ORGANIZATION_ID]`
|
|
497
|
+
* * `billingAccounts/[BILLING_ACCOUNT_ID]`
|
|
498
|
+
* * `folders/[FOLDER_ID]`
|
|
499
|
+
*
|
|
500
|
+
* May alternatively be one or more views:
|
|
501
|
+
*
|
|
502
|
+
* * `projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
|
|
503
|
+
* * `organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
|
|
504
|
+
* * `billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
|
|
505
|
+
* * `folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]`
|
|
506
|
+
*
|
|
507
|
+
* @generated from field: repeated string resource_names = 1;
|
|
508
|
+
*/
|
|
509
|
+
resourceNames: string[];
|
|
510
|
+
|
|
511
|
+
/**
|
|
512
|
+
* Optional. A filter that chooses which log entries to return. See [Advanced
|
|
513
|
+
* Logs Filters](https://cloud.google.com/logging/docs/view/advanced_filters).
|
|
514
|
+
* Only log entries that match the filter are returned. An empty filter
|
|
515
|
+
* matches all log entries in the resources listed in `resource_names`.
|
|
516
|
+
* Referencing a parent resource that is not in `resource_names` will cause
|
|
517
|
+
* the filter to return no results. The maximum length of the filter is 20000
|
|
518
|
+
* characters.
|
|
519
|
+
*
|
|
520
|
+
* @generated from field: string filter = 2;
|
|
521
|
+
*/
|
|
522
|
+
filter: string;
|
|
523
|
+
|
|
524
|
+
/**
|
|
525
|
+
* Optional. The amount of time to buffer log entries at the server before
|
|
526
|
+
* being returned to prevent out of order results due to late arriving log
|
|
527
|
+
* entries. Valid values are between 0-60000 milliseconds. Defaults to 2000
|
|
528
|
+
* milliseconds.
|
|
529
|
+
*
|
|
530
|
+
* @generated from field: google.protobuf.Duration buffer_window = 3;
|
|
531
|
+
*/
|
|
532
|
+
bufferWindow?: Duration;
|
|
533
|
+
};
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* Describes the message google.logging.v2.TailLogEntriesRequest.
|
|
537
|
+
* Use `create(TailLogEntriesRequestSchema)` to create a new message.
|
|
538
|
+
*/
|
|
539
|
+
export declare const TailLogEntriesRequestSchema: GenMessage<TailLogEntriesRequest>;
|
|
540
|
+
|
|
541
|
+
/**
|
|
542
|
+
* Result returned from `TailLogEntries`.
|
|
543
|
+
*
|
|
544
|
+
* @generated from message google.logging.v2.TailLogEntriesResponse
|
|
545
|
+
*/
|
|
546
|
+
export declare type TailLogEntriesResponse = Message<"google.logging.v2.TailLogEntriesResponse"> & {
|
|
547
|
+
/**
|
|
548
|
+
* A list of log entries. Each response in the stream will order entries with
|
|
549
|
+
* increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
|
|
550
|
+
* between separate responses.
|
|
551
|
+
*
|
|
552
|
+
* @generated from field: repeated google.logging.v2.LogEntry entries = 1;
|
|
553
|
+
*/
|
|
554
|
+
entries: LogEntry[];
|
|
555
|
+
|
|
556
|
+
/**
|
|
557
|
+
* If entries that otherwise would have been included in the session were not
|
|
558
|
+
* sent back to the client, counts of relevant entries omitted from the
|
|
559
|
+
* session with the reason that they were not included. There will be at most
|
|
560
|
+
* one of each reason per response. The counts represent the number of
|
|
561
|
+
* suppressed entries since the last streamed response.
|
|
562
|
+
*
|
|
563
|
+
* @generated from field: repeated google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;
|
|
564
|
+
*/
|
|
565
|
+
suppressionInfo: TailLogEntriesResponse_SuppressionInfo[];
|
|
566
|
+
};
|
|
567
|
+
|
|
568
|
+
/**
|
|
569
|
+
* Describes the message google.logging.v2.TailLogEntriesResponse.
|
|
570
|
+
* Use `create(TailLogEntriesResponseSchema)` to create a new message.
|
|
571
|
+
*/
|
|
572
|
+
export declare const TailLogEntriesResponseSchema: GenMessage<TailLogEntriesResponse>;
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* Information about entries that were omitted from the session.
|
|
576
|
+
*
|
|
577
|
+
* @generated from message google.logging.v2.TailLogEntriesResponse.SuppressionInfo
|
|
578
|
+
*/
|
|
579
|
+
export declare type TailLogEntriesResponse_SuppressionInfo = Message<"google.logging.v2.TailLogEntriesResponse.SuppressionInfo"> & {
|
|
580
|
+
/**
|
|
581
|
+
* The reason that entries were omitted from the session.
|
|
582
|
+
*
|
|
583
|
+
* @generated from field: google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason reason = 1;
|
|
584
|
+
*/
|
|
585
|
+
reason: TailLogEntriesResponse_SuppressionInfo_Reason;
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* A lower bound on the count of entries omitted due to `reason`.
|
|
589
|
+
*
|
|
590
|
+
* @generated from field: int32 suppressed_count = 2;
|
|
591
|
+
*/
|
|
592
|
+
suppressedCount: number;
|
|
593
|
+
};
|
|
594
|
+
|
|
595
|
+
/**
|
|
596
|
+
* Describes the message google.logging.v2.TailLogEntriesResponse.SuppressionInfo.
|
|
597
|
+
* Use `create(TailLogEntriesResponse_SuppressionInfoSchema)` to create a new message.
|
|
598
|
+
*/
|
|
599
|
+
export declare const TailLogEntriesResponse_SuppressionInfoSchema: GenMessage<TailLogEntriesResponse_SuppressionInfo>;
|
|
600
|
+
|
|
601
|
+
/**
|
|
602
|
+
* An indicator of why entries were omitted.
|
|
603
|
+
*
|
|
604
|
+
* @generated from enum google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason
|
|
605
|
+
*/
|
|
606
|
+
export enum TailLogEntriesResponse_SuppressionInfo_Reason {
|
|
607
|
+
/**
|
|
608
|
+
* Unexpected default.
|
|
609
|
+
*
|
|
610
|
+
* @generated from enum value: REASON_UNSPECIFIED = 0;
|
|
611
|
+
*/
|
|
612
|
+
REASON_UNSPECIFIED = 0,
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* Indicates suppression occurred due to relevant entries being
|
|
616
|
+
* received in excess of rate limits. For quotas and limits, see
|
|
617
|
+
* [Logging API quotas and
|
|
618
|
+
* limits](https://cloud.google.com/logging/quotas#api-limits).
|
|
619
|
+
*
|
|
620
|
+
* @generated from enum value: RATE_LIMIT = 1;
|
|
621
|
+
*/
|
|
622
|
+
RATE_LIMIT = 1,
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* Indicates suppression occurred due to the client not consuming
|
|
626
|
+
* responses quickly enough.
|
|
627
|
+
*
|
|
628
|
+
* @generated from enum value: NOT_CONSUMED = 2;
|
|
629
|
+
*/
|
|
630
|
+
NOT_CONSUMED = 2,
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
/**
|
|
634
|
+
* Describes the enum google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason.
|
|
635
|
+
*/
|
|
636
|
+
export declare const TailLogEntriesResponse_SuppressionInfo_ReasonSchema: GenEnum<TailLogEntriesResponse_SuppressionInfo_Reason>;
|
|
637
|
+
|
|
638
|
+
/**
|
|
639
|
+
* Service for ingesting and querying logs.
|
|
640
|
+
*
|
|
641
|
+
* @generated from service google.logging.v2.LoggingServiceV2
|
|
642
|
+
*/
|
|
643
|
+
export declare const LoggingServiceV2: GenService<{
|
|
644
|
+
/**
|
|
645
|
+
* Deletes all the log entries in a log for the _Default Log Bucket. The log
|
|
646
|
+
* reappears if it receives new entries. Log entries written shortly before
|
|
647
|
+
* the delete operation might not be deleted. Entries received after the
|
|
648
|
+
* delete operation with a timestamp before the operation will be deleted.
|
|
649
|
+
*
|
|
650
|
+
* @generated from rpc google.logging.v2.LoggingServiceV2.DeleteLog
|
|
651
|
+
*/
|
|
652
|
+
deleteLog: {
|
|
653
|
+
methodKind: "unary";
|
|
654
|
+
input: typeof DeleteLogRequestSchema;
|
|
655
|
+
output: typeof EmptySchema;
|
|
656
|
+
},
|
|
657
|
+
/**
|
|
658
|
+
* Writes log entries to Logging. This API method is the
|
|
659
|
+
* only way to send log entries to Logging. This method
|
|
660
|
+
* is used, directly or indirectly, by the Logging agent
|
|
661
|
+
* (fluentd) and all logging libraries configured to use Logging.
|
|
662
|
+
* A single request may contain log entries for a maximum of 1000
|
|
663
|
+
* different resources (projects, organizations, billing accounts or
|
|
664
|
+
* folders)
|
|
665
|
+
*
|
|
666
|
+
* @generated from rpc google.logging.v2.LoggingServiceV2.WriteLogEntries
|
|
667
|
+
*/
|
|
668
|
+
writeLogEntries: {
|
|
669
|
+
methodKind: "unary";
|
|
670
|
+
input: typeof WriteLogEntriesRequestSchema;
|
|
671
|
+
output: typeof WriteLogEntriesResponseSchema;
|
|
672
|
+
},
|
|
673
|
+
/**
|
|
674
|
+
* Lists log entries. Use this method to retrieve log entries that originated
|
|
675
|
+
* from a project/folder/organization/billing account. For ways to export log
|
|
676
|
+
* entries, see [Exporting
|
|
677
|
+
* Logs](https://cloud.google.com/logging/docs/export).
|
|
678
|
+
*
|
|
679
|
+
* @generated from rpc google.logging.v2.LoggingServiceV2.ListLogEntries
|
|
680
|
+
*/
|
|
681
|
+
listLogEntries: {
|
|
682
|
+
methodKind: "unary";
|
|
683
|
+
input: typeof ListLogEntriesRequestSchema;
|
|
684
|
+
output: typeof ListLogEntriesResponseSchema;
|
|
685
|
+
},
|
|
686
|
+
/**
|
|
687
|
+
* Lists the descriptors for monitored resource types used by Logging.
|
|
688
|
+
*
|
|
689
|
+
* @generated from rpc google.logging.v2.LoggingServiceV2.ListMonitoredResourceDescriptors
|
|
690
|
+
*/
|
|
691
|
+
listMonitoredResourceDescriptors: {
|
|
692
|
+
methodKind: "unary";
|
|
693
|
+
input: typeof ListMonitoredResourceDescriptorsRequestSchema;
|
|
694
|
+
output: typeof ListMonitoredResourceDescriptorsResponseSchema;
|
|
695
|
+
},
|
|
696
|
+
/**
|
|
697
|
+
* Lists the logs in projects, organizations, folders, or billing accounts.
|
|
698
|
+
* Only logs that have entries are listed.
|
|
699
|
+
*
|
|
700
|
+
* @generated from rpc google.logging.v2.LoggingServiceV2.ListLogs
|
|
701
|
+
*/
|
|
702
|
+
listLogs: {
|
|
703
|
+
methodKind: "unary";
|
|
704
|
+
input: typeof ListLogsRequestSchema;
|
|
705
|
+
output: typeof ListLogsResponseSchema;
|
|
706
|
+
},
|
|
707
|
+
/**
|
|
708
|
+
* Streaming read of log entries as they are ingested. Until the stream is
|
|
709
|
+
* terminated, it will continue reading logs.
|
|
710
|
+
*
|
|
711
|
+
* @generated from rpc google.logging.v2.LoggingServiceV2.TailLogEntries
|
|
712
|
+
*/
|
|
713
|
+
tailLogEntries: {
|
|
714
|
+
methodKind: "bidi_streaming";
|
|
715
|
+
input: typeof TailLogEntriesRequestSchema;
|
|
716
|
+
output: typeof TailLogEntriesResponseSchema;
|
|
717
|
+
},
|
|
718
|
+
}>;
|