@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,2422 @@
|
|
|
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_config.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 { Timestamp } from "../../protobuf/timestamp_pb";
|
|
22
|
+
import type { FieldMask } from "../../protobuf/field_mask_pb";
|
|
23
|
+
import type { EmptySchema } from "../../protobuf/empty_pb";
|
|
24
|
+
import type { OperationSchema } from "../../longrunning/operations_pb";
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Describes the file google/logging/v2/logging_config.proto.
|
|
28
|
+
*/
|
|
29
|
+
export declare const file_google_logging_v2_logging_config: GenFile;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Describes a repository in which log entries are stored.
|
|
33
|
+
*
|
|
34
|
+
* @generated from message google.logging.v2.LogBucket
|
|
35
|
+
*/
|
|
36
|
+
export declare type LogBucket = Message<"google.logging.v2.LogBucket"> & {
|
|
37
|
+
/**
|
|
38
|
+
* Output only. The resource name of the bucket.
|
|
39
|
+
*
|
|
40
|
+
* For example:
|
|
41
|
+
*
|
|
42
|
+
* `projects/my-project/locations/global/buckets/my-bucket`
|
|
43
|
+
*
|
|
44
|
+
* For a list of supported locations, see [Supported
|
|
45
|
+
* Regions](https://cloud.google.com/logging/docs/region-support)
|
|
46
|
+
*
|
|
47
|
+
* For the location of `global` it is unspecified where log entries are
|
|
48
|
+
* actually stored.
|
|
49
|
+
*
|
|
50
|
+
* After a bucket has been created, the location cannot be changed.
|
|
51
|
+
*
|
|
52
|
+
* @generated from field: string name = 1;
|
|
53
|
+
*/
|
|
54
|
+
name: string;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Describes this bucket.
|
|
58
|
+
*
|
|
59
|
+
* @generated from field: string description = 3;
|
|
60
|
+
*/
|
|
61
|
+
description: string;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Output only. The creation timestamp of the bucket. This is not set for any of the
|
|
65
|
+
* default buckets.
|
|
66
|
+
*
|
|
67
|
+
* @generated from field: google.protobuf.Timestamp create_time = 4;
|
|
68
|
+
*/
|
|
69
|
+
createTime?: Timestamp;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Output only. The last update timestamp of the bucket.
|
|
73
|
+
*
|
|
74
|
+
* @generated from field: google.protobuf.Timestamp update_time = 5;
|
|
75
|
+
*/
|
|
76
|
+
updateTime?: Timestamp;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Logs will be retained by default for this amount of time, after which they
|
|
80
|
+
* will automatically be deleted. The minimum retention period is 1 day. If
|
|
81
|
+
* this value is set to zero at bucket creation time, the default time of 30
|
|
82
|
+
* days will be used.
|
|
83
|
+
*
|
|
84
|
+
* @generated from field: int32 retention_days = 11;
|
|
85
|
+
*/
|
|
86
|
+
retentionDays: number;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Whether the bucket is locked.
|
|
90
|
+
*
|
|
91
|
+
* The retention period on a locked bucket cannot be changed. Locked buckets
|
|
92
|
+
* may only be deleted if they are empty.
|
|
93
|
+
*
|
|
94
|
+
* @generated from field: bool locked = 9;
|
|
95
|
+
*/
|
|
96
|
+
locked: boolean;
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Output only. The bucket lifecycle state.
|
|
100
|
+
*
|
|
101
|
+
* @generated from field: google.logging.v2.LifecycleState lifecycle_state = 12;
|
|
102
|
+
*/
|
|
103
|
+
lifecycleState: LifecycleState;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* Log entry field paths that are denied access in this bucket.
|
|
107
|
+
*
|
|
108
|
+
* The following fields and their children are eligible: `textPayload`,
|
|
109
|
+
* `jsonPayload`, `protoPayload`, `httpRequest`, `labels`, `sourceLocation`.
|
|
110
|
+
*
|
|
111
|
+
* Restricting a repeated field will restrict all values. Adding a parent will
|
|
112
|
+
* block all child fields. (e.g. `foo.bar` will block `foo.bar.baz`)
|
|
113
|
+
*
|
|
114
|
+
* @generated from field: repeated string restricted_fields = 15;
|
|
115
|
+
*/
|
|
116
|
+
restrictedFields: string[];
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* The CMEK settings of the log bucket. If present, new log entries written to
|
|
120
|
+
* this log bucket are encrypted using the CMEK key provided in this
|
|
121
|
+
* configuration. If a log bucket has CMEK settings, the CMEK settings cannot
|
|
122
|
+
* be disabled later by updating the log bucket. Changing the KMS key is
|
|
123
|
+
* allowed.
|
|
124
|
+
*
|
|
125
|
+
* @generated from field: google.logging.v2.CmekSettings cmek_settings = 19;
|
|
126
|
+
*/
|
|
127
|
+
cmekSettings?: CmekSettings;
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Describes the message google.logging.v2.LogBucket.
|
|
132
|
+
* Use `create(LogBucketSchema)` to create a new message.
|
|
133
|
+
*/
|
|
134
|
+
export declare const LogBucketSchema: GenMessage<LogBucket>;
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Describes a view over log entries in a bucket.
|
|
138
|
+
*
|
|
139
|
+
* @generated from message google.logging.v2.LogView
|
|
140
|
+
*/
|
|
141
|
+
export declare type LogView = Message<"google.logging.v2.LogView"> & {
|
|
142
|
+
/**
|
|
143
|
+
* The resource name of the view.
|
|
144
|
+
*
|
|
145
|
+
* For example:
|
|
146
|
+
*
|
|
147
|
+
* `projects/my-project/locations/global/buckets/my-bucket/views/my-view`
|
|
148
|
+
*
|
|
149
|
+
* @generated from field: string name = 1;
|
|
150
|
+
*/
|
|
151
|
+
name: string;
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* Describes this view.
|
|
155
|
+
*
|
|
156
|
+
* @generated from field: string description = 3;
|
|
157
|
+
*/
|
|
158
|
+
description: string;
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* Output only. The creation timestamp of the view.
|
|
162
|
+
*
|
|
163
|
+
* @generated from field: google.protobuf.Timestamp create_time = 4;
|
|
164
|
+
*/
|
|
165
|
+
createTime?: Timestamp;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Output only. The last update timestamp of the view.
|
|
169
|
+
*
|
|
170
|
+
* @generated from field: google.protobuf.Timestamp update_time = 5;
|
|
171
|
+
*/
|
|
172
|
+
updateTime?: Timestamp;
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Filter that restricts which log entries in a bucket are visible in this
|
|
176
|
+
* view.
|
|
177
|
+
*
|
|
178
|
+
* Filters are restricted to be a logical AND of ==/!= of any of the
|
|
179
|
+
* following:
|
|
180
|
+
*
|
|
181
|
+
* - originating project/folder/organization/billing account.
|
|
182
|
+
* - resource type
|
|
183
|
+
* - log id
|
|
184
|
+
*
|
|
185
|
+
* For example:
|
|
186
|
+
*
|
|
187
|
+
* SOURCE("projects/myproject") AND resource.type = "gce_instance"
|
|
188
|
+
* AND LOG_ID("stdout")
|
|
189
|
+
*
|
|
190
|
+
* @generated from field: string filter = 7;
|
|
191
|
+
*/
|
|
192
|
+
filter: string;
|
|
193
|
+
};
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* Describes the message google.logging.v2.LogView.
|
|
197
|
+
* Use `create(LogViewSchema)` to create a new message.
|
|
198
|
+
*/
|
|
199
|
+
export declare const LogViewSchema: GenMessage<LogView>;
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* Describes a sink used to export log entries to one of the following
|
|
203
|
+
* destinations in any project: a Cloud Storage bucket, a BigQuery dataset, a
|
|
204
|
+
* Pub/Sub topic or a Cloud Logging log bucket. A logs filter controls which log
|
|
205
|
+
* entries are exported. The sink must be created within a project,
|
|
206
|
+
* organization, billing account, or folder.
|
|
207
|
+
*
|
|
208
|
+
* @generated from message google.logging.v2.LogSink
|
|
209
|
+
*/
|
|
210
|
+
export declare type LogSink = Message<"google.logging.v2.LogSink"> & {
|
|
211
|
+
/**
|
|
212
|
+
* Required. The client-assigned sink identifier, unique within the project.
|
|
213
|
+
*
|
|
214
|
+
* For example: `"my-syslog-errors-to-pubsub"`. Sink identifiers are limited
|
|
215
|
+
* to 100 characters and can include only the following characters: upper and
|
|
216
|
+
* lower-case alphanumeric characters, underscores, hyphens, and periods.
|
|
217
|
+
* First character has to be alphanumeric.
|
|
218
|
+
*
|
|
219
|
+
* @generated from field: string name = 1;
|
|
220
|
+
*/
|
|
221
|
+
name: string;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* Required. The export destination:
|
|
225
|
+
*
|
|
226
|
+
* "storage.googleapis.com/[GCS_BUCKET]"
|
|
227
|
+
* "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET]"
|
|
228
|
+
* "pubsub.googleapis.com/projects/[PROJECT_ID]/topics/[TOPIC_ID]"
|
|
229
|
+
*
|
|
230
|
+
* The sink's `writer_identity`, set when the sink is created, must have
|
|
231
|
+
* permission to write to the destination or else the log entries are not
|
|
232
|
+
* exported. For more information, see
|
|
233
|
+
* [Exporting Logs with
|
|
234
|
+
* Sinks](https://cloud.google.com/logging/docs/api/tasks/exporting-logs).
|
|
235
|
+
*
|
|
236
|
+
* @generated from field: string destination = 3;
|
|
237
|
+
*/
|
|
238
|
+
destination: string;
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* Optional. An [advanced logs
|
|
242
|
+
* filter](https://cloud.google.com/logging/docs/view/advanced-queries). The
|
|
243
|
+
* only exported log entries are those that are in the resource owning the
|
|
244
|
+
* sink and that match the filter.
|
|
245
|
+
*
|
|
246
|
+
* For example:
|
|
247
|
+
*
|
|
248
|
+
* `logName="projects/[PROJECT_ID]/logs/[LOG_ID]" AND severity>=ERROR`
|
|
249
|
+
*
|
|
250
|
+
* @generated from field: string filter = 5;
|
|
251
|
+
*/
|
|
252
|
+
filter: string;
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* Optional. A description of this sink.
|
|
256
|
+
*
|
|
257
|
+
* The maximum length of the description is 8000 characters.
|
|
258
|
+
*
|
|
259
|
+
* @generated from field: string description = 18;
|
|
260
|
+
*/
|
|
261
|
+
description: string;
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* Optional. If set to true, then this sink is disabled and it does not export any log
|
|
265
|
+
* entries.
|
|
266
|
+
*
|
|
267
|
+
* @generated from field: bool disabled = 19;
|
|
268
|
+
*/
|
|
269
|
+
disabled: boolean;
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* Optional. Log entries that match any of these exclusion filters will not be exported.
|
|
273
|
+
*
|
|
274
|
+
* If a log entry is matched by both `filter` and one of `exclusion_filters`
|
|
275
|
+
* it will not be exported.
|
|
276
|
+
*
|
|
277
|
+
* @generated from field: repeated google.logging.v2.LogExclusion exclusions = 16;
|
|
278
|
+
*/
|
|
279
|
+
exclusions: LogExclusion[];
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* Deprecated. This field is unused.
|
|
283
|
+
*
|
|
284
|
+
* @generated from field: google.logging.v2.LogSink.VersionFormat output_version_format = 6 [deprecated = true];
|
|
285
|
+
* @deprecated
|
|
286
|
+
*/
|
|
287
|
+
outputVersionFormat: LogSink_VersionFormat;
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* Output only. An IAM identity—a service account or group—under which Cloud
|
|
291
|
+
* Logging writes the exported log entries to the sink's destination. This
|
|
292
|
+
* field is set by
|
|
293
|
+
* [sinks.create][google.logging.v2.ConfigServiceV2.CreateSink] and
|
|
294
|
+
* [sinks.update][google.logging.v2.ConfigServiceV2.UpdateSink] based on the
|
|
295
|
+
* value of `unique_writer_identity` in those methods.
|
|
296
|
+
*
|
|
297
|
+
* Until you grant this identity write-access to the destination, log entry
|
|
298
|
+
* exports from this sink will fail. For more information, see [Granting
|
|
299
|
+
* Access for a
|
|
300
|
+
* Resource](https://cloud.google.com/iam/docs/granting-roles-to-service-accounts#granting_access_to_a_service_account_for_a_resource).
|
|
301
|
+
* Consult the destination service's documentation to determine the
|
|
302
|
+
* appropriate IAM roles to assign to the identity.
|
|
303
|
+
*
|
|
304
|
+
* Sinks that have a destination that is a log bucket in the same project as
|
|
305
|
+
* the sink do not have a writer_identity and no additional permissions are
|
|
306
|
+
* required.
|
|
307
|
+
*
|
|
308
|
+
* @generated from field: string writer_identity = 8;
|
|
309
|
+
*/
|
|
310
|
+
writerIdentity: string;
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* Optional. This field applies only to sinks owned by organizations and folders. If the
|
|
314
|
+
* field is false, the default, only the logs owned by the sink's parent
|
|
315
|
+
* resource are available for export. If the field is true, then log entries
|
|
316
|
+
* from all the projects, folders, and billing accounts contained in the
|
|
317
|
+
* sink's parent resource are also available for export. Whether a particular
|
|
318
|
+
* log entry from the children is exported depends on the sink's filter
|
|
319
|
+
* expression.
|
|
320
|
+
*
|
|
321
|
+
* For example, if this field is true, then the filter
|
|
322
|
+
* `resource.type=gce_instance` would export all Compute Engine VM instance
|
|
323
|
+
* log entries from all projects in the sink's parent.
|
|
324
|
+
*
|
|
325
|
+
* To only export entries from certain child projects, filter on the project
|
|
326
|
+
* part of the log name:
|
|
327
|
+
*
|
|
328
|
+
* logName:("projects/test-project1/" OR "projects/test-project2/") AND
|
|
329
|
+
* resource.type=gce_instance
|
|
330
|
+
*
|
|
331
|
+
* @generated from field: bool include_children = 9;
|
|
332
|
+
*/
|
|
333
|
+
includeChildren: boolean;
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* Destination dependent options.
|
|
337
|
+
*
|
|
338
|
+
* @generated from oneof google.logging.v2.LogSink.options
|
|
339
|
+
*/
|
|
340
|
+
options: {
|
|
341
|
+
/**
|
|
342
|
+
* Optional. Options that affect sinks exporting data to BigQuery.
|
|
343
|
+
*
|
|
344
|
+
* @generated from field: google.logging.v2.BigQueryOptions bigquery_options = 12;
|
|
345
|
+
*/
|
|
346
|
+
value: BigQueryOptions;
|
|
347
|
+
case: "bigqueryOptions";
|
|
348
|
+
} | { case: undefined; value?: undefined };
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* Output only. The creation timestamp of the sink.
|
|
352
|
+
*
|
|
353
|
+
* This field may not be present for older sinks.
|
|
354
|
+
*
|
|
355
|
+
* @generated from field: google.protobuf.Timestamp create_time = 13;
|
|
356
|
+
*/
|
|
357
|
+
createTime?: Timestamp;
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* Output only. The last update timestamp of the sink.
|
|
361
|
+
*
|
|
362
|
+
* This field may not be present for older sinks.
|
|
363
|
+
*
|
|
364
|
+
* @generated from field: google.protobuf.Timestamp update_time = 14;
|
|
365
|
+
*/
|
|
366
|
+
updateTime?: Timestamp;
|
|
367
|
+
};
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* Describes the message google.logging.v2.LogSink.
|
|
371
|
+
* Use `create(LogSinkSchema)` to create a new message.
|
|
372
|
+
*/
|
|
373
|
+
export declare const LogSinkSchema: GenMessage<LogSink>;
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* Deprecated. This is unused.
|
|
377
|
+
*
|
|
378
|
+
* @generated from enum google.logging.v2.LogSink.VersionFormat
|
|
379
|
+
*/
|
|
380
|
+
export enum LogSink_VersionFormat {
|
|
381
|
+
/**
|
|
382
|
+
* An unspecified format version that will default to V2.
|
|
383
|
+
*
|
|
384
|
+
* @generated from enum value: VERSION_FORMAT_UNSPECIFIED = 0;
|
|
385
|
+
*/
|
|
386
|
+
VERSION_FORMAT_UNSPECIFIED = 0,
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* `LogEntry` version 2 format.
|
|
390
|
+
*
|
|
391
|
+
* @generated from enum value: V2 = 1;
|
|
392
|
+
*/
|
|
393
|
+
V2 = 1,
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* `LogEntry` version 1 format.
|
|
397
|
+
*
|
|
398
|
+
* @generated from enum value: V1 = 2;
|
|
399
|
+
*/
|
|
400
|
+
V1 = 2,
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
/**
|
|
404
|
+
* Describes the enum google.logging.v2.LogSink.VersionFormat.
|
|
405
|
+
*/
|
|
406
|
+
export declare const LogSink_VersionFormatSchema: GenEnum<LogSink_VersionFormat>;
|
|
407
|
+
|
|
408
|
+
/**
|
|
409
|
+
* Options that change functionality of a sink exporting data to BigQuery.
|
|
410
|
+
*
|
|
411
|
+
* @generated from message google.logging.v2.BigQueryOptions
|
|
412
|
+
*/
|
|
413
|
+
export declare type BigQueryOptions = Message<"google.logging.v2.BigQueryOptions"> & {
|
|
414
|
+
/**
|
|
415
|
+
* Optional. Whether to use [BigQuery's partition
|
|
416
|
+
* tables](https://cloud.google.com/bigquery/docs/partitioned-tables). By
|
|
417
|
+
* default, Cloud Logging creates dated tables based on the log entries'
|
|
418
|
+
* timestamps, e.g. syslog_20170523. With partitioned tables the date suffix
|
|
419
|
+
* is no longer present and [special query
|
|
420
|
+
* syntax](https://cloud.google.com/bigquery/docs/querying-partitioned-tables)
|
|
421
|
+
* has to be used instead. In both cases, tables are sharded based on UTC
|
|
422
|
+
* timezone.
|
|
423
|
+
*
|
|
424
|
+
* @generated from field: bool use_partitioned_tables = 1;
|
|
425
|
+
*/
|
|
426
|
+
usePartitionedTables: boolean;
|
|
427
|
+
|
|
428
|
+
/**
|
|
429
|
+
* Output only. True if new timestamp column based partitioning is in use, false if legacy
|
|
430
|
+
* ingestion-time partitioning is in use.
|
|
431
|
+
*
|
|
432
|
+
* All new sinks will have this field set true and will use timestamp column
|
|
433
|
+
* based partitioning. If use_partitioned_tables is false, this value has no
|
|
434
|
+
* meaning and will be false. Legacy sinks using partitioned tables will have
|
|
435
|
+
* this field set to false.
|
|
436
|
+
*
|
|
437
|
+
* @generated from field: bool uses_timestamp_column_partitioning = 3;
|
|
438
|
+
*/
|
|
439
|
+
usesTimestampColumnPartitioning: boolean;
|
|
440
|
+
};
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* Describes the message google.logging.v2.BigQueryOptions.
|
|
444
|
+
* Use `create(BigQueryOptionsSchema)` to create a new message.
|
|
445
|
+
*/
|
|
446
|
+
export declare const BigQueryOptionsSchema: GenMessage<BigQueryOptions>;
|
|
447
|
+
|
|
448
|
+
/**
|
|
449
|
+
* The parameters to `ListBuckets`.
|
|
450
|
+
*
|
|
451
|
+
* @generated from message google.logging.v2.ListBucketsRequest
|
|
452
|
+
*/
|
|
453
|
+
export declare type ListBucketsRequest = Message<"google.logging.v2.ListBucketsRequest"> & {
|
|
454
|
+
/**
|
|
455
|
+
* Required. The parent resource whose buckets are to be listed:
|
|
456
|
+
*
|
|
457
|
+
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
|
|
458
|
+
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]"
|
|
459
|
+
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]"
|
|
460
|
+
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]"
|
|
461
|
+
*
|
|
462
|
+
* Note: The locations portion of the resource must be specified, but
|
|
463
|
+
* supplying the character `-` in place of [LOCATION_ID] will return all
|
|
464
|
+
* buckets.
|
|
465
|
+
*
|
|
466
|
+
* @generated from field: string parent = 1;
|
|
467
|
+
*/
|
|
468
|
+
parent: string;
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* Optional. If present, then retrieve the next batch of results from the preceding call
|
|
472
|
+
* to this method. `pageToken` must be the value of `nextPageToken` from the
|
|
473
|
+
* previous response. The values of other method parameters should be
|
|
474
|
+
* identical to those in the previous call.
|
|
475
|
+
*
|
|
476
|
+
* @generated from field: string page_token = 2;
|
|
477
|
+
*/
|
|
478
|
+
pageToken: string;
|
|
479
|
+
|
|
480
|
+
/**
|
|
481
|
+
* Optional. The maximum number of results to return from this request. Non-positive
|
|
482
|
+
* values are ignored. The presence of `nextPageToken` in the response
|
|
483
|
+
* indicates that more results might be available.
|
|
484
|
+
*
|
|
485
|
+
* @generated from field: int32 page_size = 3;
|
|
486
|
+
*/
|
|
487
|
+
pageSize: number;
|
|
488
|
+
};
|
|
489
|
+
|
|
490
|
+
/**
|
|
491
|
+
* Describes the message google.logging.v2.ListBucketsRequest.
|
|
492
|
+
* Use `create(ListBucketsRequestSchema)` to create a new message.
|
|
493
|
+
*/
|
|
494
|
+
export declare const ListBucketsRequestSchema: GenMessage<ListBucketsRequest>;
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* The response from ListBuckets.
|
|
498
|
+
*
|
|
499
|
+
* @generated from message google.logging.v2.ListBucketsResponse
|
|
500
|
+
*/
|
|
501
|
+
export declare type ListBucketsResponse = Message<"google.logging.v2.ListBucketsResponse"> & {
|
|
502
|
+
/**
|
|
503
|
+
* A list of buckets.
|
|
504
|
+
*
|
|
505
|
+
* @generated from field: repeated google.logging.v2.LogBucket buckets = 1;
|
|
506
|
+
*/
|
|
507
|
+
buckets: LogBucket[];
|
|
508
|
+
|
|
509
|
+
/**
|
|
510
|
+
* If there might be more results than appear in this response, then
|
|
511
|
+
* `nextPageToken` is included. To get the next set of results, call the same
|
|
512
|
+
* method again using the value of `nextPageToken` as `pageToken`.
|
|
513
|
+
*
|
|
514
|
+
* @generated from field: string next_page_token = 2;
|
|
515
|
+
*/
|
|
516
|
+
nextPageToken: string;
|
|
517
|
+
};
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* Describes the message google.logging.v2.ListBucketsResponse.
|
|
521
|
+
* Use `create(ListBucketsResponseSchema)` to create a new message.
|
|
522
|
+
*/
|
|
523
|
+
export declare const ListBucketsResponseSchema: GenMessage<ListBucketsResponse>;
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* The parameters to `CreateBucket`.
|
|
527
|
+
*
|
|
528
|
+
* @generated from message google.logging.v2.CreateBucketRequest
|
|
529
|
+
*/
|
|
530
|
+
export declare type CreateBucketRequest = Message<"google.logging.v2.CreateBucketRequest"> & {
|
|
531
|
+
/**
|
|
532
|
+
* Required. The resource in which to create the log bucket:
|
|
533
|
+
*
|
|
534
|
+
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]"
|
|
535
|
+
*
|
|
536
|
+
* For example:
|
|
537
|
+
*
|
|
538
|
+
* `"projects/my-project/locations/global"`
|
|
539
|
+
*
|
|
540
|
+
* @generated from field: string parent = 1;
|
|
541
|
+
*/
|
|
542
|
+
parent: string;
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* Required. A client-assigned identifier such as `"my-bucket"`. Identifiers are limited
|
|
546
|
+
* to 100 characters and can include only letters, digits, underscores,
|
|
547
|
+
* hyphens, and periods.
|
|
548
|
+
*
|
|
549
|
+
* @generated from field: string bucket_id = 2;
|
|
550
|
+
*/
|
|
551
|
+
bucketId: string;
|
|
552
|
+
|
|
553
|
+
/**
|
|
554
|
+
* Required. The new bucket. The region specified in the new bucket must be compliant
|
|
555
|
+
* with any Location Restriction Org Policy. The name field in the bucket is
|
|
556
|
+
* ignored.
|
|
557
|
+
*
|
|
558
|
+
* @generated from field: google.logging.v2.LogBucket bucket = 3;
|
|
559
|
+
*/
|
|
560
|
+
bucket?: LogBucket;
|
|
561
|
+
};
|
|
562
|
+
|
|
563
|
+
/**
|
|
564
|
+
* Describes the message google.logging.v2.CreateBucketRequest.
|
|
565
|
+
* Use `create(CreateBucketRequestSchema)` to create a new message.
|
|
566
|
+
*/
|
|
567
|
+
export declare const CreateBucketRequestSchema: GenMessage<CreateBucketRequest>;
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* The parameters to `UpdateBucket`.
|
|
571
|
+
*
|
|
572
|
+
* @generated from message google.logging.v2.UpdateBucketRequest
|
|
573
|
+
*/
|
|
574
|
+
export declare type UpdateBucketRequest = Message<"google.logging.v2.UpdateBucketRequest"> & {
|
|
575
|
+
/**
|
|
576
|
+
* Required. The full resource name of the bucket to update.
|
|
577
|
+
*
|
|
578
|
+
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
579
|
+
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
580
|
+
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
581
|
+
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
582
|
+
*
|
|
583
|
+
* For example:
|
|
584
|
+
*
|
|
585
|
+
* `"projects/my-project/locations/global/buckets/my-bucket"`
|
|
586
|
+
*
|
|
587
|
+
* @generated from field: string name = 1;
|
|
588
|
+
*/
|
|
589
|
+
name: string;
|
|
590
|
+
|
|
591
|
+
/**
|
|
592
|
+
* Required. The updated bucket.
|
|
593
|
+
*
|
|
594
|
+
* @generated from field: google.logging.v2.LogBucket bucket = 2;
|
|
595
|
+
*/
|
|
596
|
+
bucket?: LogBucket;
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* Required. Field mask that specifies the fields in `bucket` that need an update. A
|
|
600
|
+
* bucket field will be overwritten if, and only if, it is in the update mask.
|
|
601
|
+
* `name` and output only fields cannot be updated.
|
|
602
|
+
*
|
|
603
|
+
* For a detailed `FieldMask` definition, see:
|
|
604
|
+
* https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask
|
|
605
|
+
*
|
|
606
|
+
* For example: `updateMask=retention_days`
|
|
607
|
+
*
|
|
608
|
+
* @generated from field: google.protobuf.FieldMask update_mask = 4;
|
|
609
|
+
*/
|
|
610
|
+
updateMask?: FieldMask;
|
|
611
|
+
};
|
|
612
|
+
|
|
613
|
+
/**
|
|
614
|
+
* Describes the message google.logging.v2.UpdateBucketRequest.
|
|
615
|
+
* Use `create(UpdateBucketRequestSchema)` to create a new message.
|
|
616
|
+
*/
|
|
617
|
+
export declare const UpdateBucketRequestSchema: GenMessage<UpdateBucketRequest>;
|
|
618
|
+
|
|
619
|
+
/**
|
|
620
|
+
* The parameters to `GetBucket`.
|
|
621
|
+
*
|
|
622
|
+
* @generated from message google.logging.v2.GetBucketRequest
|
|
623
|
+
*/
|
|
624
|
+
export declare type GetBucketRequest = Message<"google.logging.v2.GetBucketRequest"> & {
|
|
625
|
+
/**
|
|
626
|
+
* Required. The resource name of the bucket:
|
|
627
|
+
*
|
|
628
|
+
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
629
|
+
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
630
|
+
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
631
|
+
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
632
|
+
*
|
|
633
|
+
* For example:
|
|
634
|
+
*
|
|
635
|
+
* `"projects/my-project/locations/global/buckets/my-bucket"`
|
|
636
|
+
*
|
|
637
|
+
* @generated from field: string name = 1;
|
|
638
|
+
*/
|
|
639
|
+
name: string;
|
|
640
|
+
};
|
|
641
|
+
|
|
642
|
+
/**
|
|
643
|
+
* Describes the message google.logging.v2.GetBucketRequest.
|
|
644
|
+
* Use `create(GetBucketRequestSchema)` to create a new message.
|
|
645
|
+
*/
|
|
646
|
+
export declare const GetBucketRequestSchema: GenMessage<GetBucketRequest>;
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
* The parameters to `DeleteBucket`.
|
|
650
|
+
*
|
|
651
|
+
* @generated from message google.logging.v2.DeleteBucketRequest
|
|
652
|
+
*/
|
|
653
|
+
export declare type DeleteBucketRequest = Message<"google.logging.v2.DeleteBucketRequest"> & {
|
|
654
|
+
/**
|
|
655
|
+
* Required. The full resource name of the bucket to delete.
|
|
656
|
+
*
|
|
657
|
+
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
658
|
+
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
659
|
+
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
660
|
+
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
661
|
+
*
|
|
662
|
+
* For example:
|
|
663
|
+
*
|
|
664
|
+
* `"projects/my-project/locations/global/buckets/my-bucket"`
|
|
665
|
+
*
|
|
666
|
+
* @generated from field: string name = 1;
|
|
667
|
+
*/
|
|
668
|
+
name: string;
|
|
669
|
+
};
|
|
670
|
+
|
|
671
|
+
/**
|
|
672
|
+
* Describes the message google.logging.v2.DeleteBucketRequest.
|
|
673
|
+
* Use `create(DeleteBucketRequestSchema)` to create a new message.
|
|
674
|
+
*/
|
|
675
|
+
export declare const DeleteBucketRequestSchema: GenMessage<DeleteBucketRequest>;
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* The parameters to `UndeleteBucket`.
|
|
679
|
+
*
|
|
680
|
+
* @generated from message google.logging.v2.UndeleteBucketRequest
|
|
681
|
+
*/
|
|
682
|
+
export declare type UndeleteBucketRequest = Message<"google.logging.v2.UndeleteBucketRequest"> & {
|
|
683
|
+
/**
|
|
684
|
+
* Required. The full resource name of the bucket to undelete.
|
|
685
|
+
*
|
|
686
|
+
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
687
|
+
* "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
688
|
+
* "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
689
|
+
* "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
690
|
+
*
|
|
691
|
+
* For example:
|
|
692
|
+
*
|
|
693
|
+
* `"projects/my-project/locations/global/buckets/my-bucket"`
|
|
694
|
+
*
|
|
695
|
+
* @generated from field: string name = 1;
|
|
696
|
+
*/
|
|
697
|
+
name: string;
|
|
698
|
+
};
|
|
699
|
+
|
|
700
|
+
/**
|
|
701
|
+
* Describes the message google.logging.v2.UndeleteBucketRequest.
|
|
702
|
+
* Use `create(UndeleteBucketRequestSchema)` to create a new message.
|
|
703
|
+
*/
|
|
704
|
+
export declare const UndeleteBucketRequestSchema: GenMessage<UndeleteBucketRequest>;
|
|
705
|
+
|
|
706
|
+
/**
|
|
707
|
+
* The parameters to `ListViews`.
|
|
708
|
+
*
|
|
709
|
+
* @generated from message google.logging.v2.ListViewsRequest
|
|
710
|
+
*/
|
|
711
|
+
export declare type ListViewsRequest = Message<"google.logging.v2.ListViewsRequest"> & {
|
|
712
|
+
/**
|
|
713
|
+
* Required. The bucket whose views are to be listed:
|
|
714
|
+
*
|
|
715
|
+
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
|
716
|
+
*
|
|
717
|
+
* @generated from field: string parent = 1;
|
|
718
|
+
*/
|
|
719
|
+
parent: string;
|
|
720
|
+
|
|
721
|
+
/**
|
|
722
|
+
* Optional. If present, then retrieve the next batch of results from the preceding call
|
|
723
|
+
* to this method. `pageToken` must be the value of `nextPageToken` from the
|
|
724
|
+
* previous response. The values of other method parameters should be
|
|
725
|
+
* identical to those in the previous call.
|
|
726
|
+
*
|
|
727
|
+
* @generated from field: string page_token = 2;
|
|
728
|
+
*/
|
|
729
|
+
pageToken: string;
|
|
730
|
+
|
|
731
|
+
/**
|
|
732
|
+
* Optional. The maximum number of results to return from this request.
|
|
733
|
+
*
|
|
734
|
+
* Non-positive values are ignored. The presence of `nextPageToken` in the
|
|
735
|
+
* response indicates that more results might be available.
|
|
736
|
+
*
|
|
737
|
+
* @generated from field: int32 page_size = 3;
|
|
738
|
+
*/
|
|
739
|
+
pageSize: number;
|
|
740
|
+
};
|
|
741
|
+
|
|
742
|
+
/**
|
|
743
|
+
* Describes the message google.logging.v2.ListViewsRequest.
|
|
744
|
+
* Use `create(ListViewsRequestSchema)` to create a new message.
|
|
745
|
+
*/
|
|
746
|
+
export declare const ListViewsRequestSchema: GenMessage<ListViewsRequest>;
|
|
747
|
+
|
|
748
|
+
/**
|
|
749
|
+
* The response from ListViews.
|
|
750
|
+
*
|
|
751
|
+
* @generated from message google.logging.v2.ListViewsResponse
|
|
752
|
+
*/
|
|
753
|
+
export declare type ListViewsResponse = Message<"google.logging.v2.ListViewsResponse"> & {
|
|
754
|
+
/**
|
|
755
|
+
* A list of views.
|
|
756
|
+
*
|
|
757
|
+
* @generated from field: repeated google.logging.v2.LogView views = 1;
|
|
758
|
+
*/
|
|
759
|
+
views: LogView[];
|
|
760
|
+
|
|
761
|
+
/**
|
|
762
|
+
* If there might be more results than appear in this response, then
|
|
763
|
+
* `nextPageToken` is included. To get the next set of results, call the same
|
|
764
|
+
* method again using the value of `nextPageToken` as `pageToken`.
|
|
765
|
+
*
|
|
766
|
+
* @generated from field: string next_page_token = 2;
|
|
767
|
+
*/
|
|
768
|
+
nextPageToken: string;
|
|
769
|
+
};
|
|
770
|
+
|
|
771
|
+
/**
|
|
772
|
+
* Describes the message google.logging.v2.ListViewsResponse.
|
|
773
|
+
* Use `create(ListViewsResponseSchema)` to create a new message.
|
|
774
|
+
*/
|
|
775
|
+
export declare const ListViewsResponseSchema: GenMessage<ListViewsResponse>;
|
|
776
|
+
|
|
777
|
+
/**
|
|
778
|
+
* The parameters to `CreateView`.
|
|
779
|
+
*
|
|
780
|
+
* @generated from message google.logging.v2.CreateViewRequest
|
|
781
|
+
*/
|
|
782
|
+
export declare type CreateViewRequest = Message<"google.logging.v2.CreateViewRequest"> & {
|
|
783
|
+
/**
|
|
784
|
+
* Required. The bucket in which to create the view
|
|
785
|
+
*
|
|
786
|
+
* `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"`
|
|
787
|
+
*
|
|
788
|
+
* For example:
|
|
789
|
+
*
|
|
790
|
+
* `"projects/my-project/locations/global/buckets/my-bucket"`
|
|
791
|
+
*
|
|
792
|
+
* @generated from field: string parent = 1;
|
|
793
|
+
*/
|
|
794
|
+
parent: string;
|
|
795
|
+
|
|
796
|
+
/**
|
|
797
|
+
* Required. The id to use for this view.
|
|
798
|
+
*
|
|
799
|
+
* @generated from field: string view_id = 2;
|
|
800
|
+
*/
|
|
801
|
+
viewId: string;
|
|
802
|
+
|
|
803
|
+
/**
|
|
804
|
+
* Required. The new view.
|
|
805
|
+
*
|
|
806
|
+
* @generated from field: google.logging.v2.LogView view = 3;
|
|
807
|
+
*/
|
|
808
|
+
view?: LogView;
|
|
809
|
+
};
|
|
810
|
+
|
|
811
|
+
/**
|
|
812
|
+
* Describes the message google.logging.v2.CreateViewRequest.
|
|
813
|
+
* Use `create(CreateViewRequestSchema)` to create a new message.
|
|
814
|
+
*/
|
|
815
|
+
export declare const CreateViewRequestSchema: GenMessage<CreateViewRequest>;
|
|
816
|
+
|
|
817
|
+
/**
|
|
818
|
+
* The parameters to `UpdateView`.
|
|
819
|
+
*
|
|
820
|
+
* @generated from message google.logging.v2.UpdateViewRequest
|
|
821
|
+
*/
|
|
822
|
+
export declare type UpdateViewRequest = Message<"google.logging.v2.UpdateViewRequest"> & {
|
|
823
|
+
/**
|
|
824
|
+
* Required. The full resource name of the view to update
|
|
825
|
+
*
|
|
826
|
+
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
|
|
827
|
+
*
|
|
828
|
+
* For example:
|
|
829
|
+
*
|
|
830
|
+
* `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
|
|
831
|
+
*
|
|
832
|
+
* @generated from field: string name = 1;
|
|
833
|
+
*/
|
|
834
|
+
name: string;
|
|
835
|
+
|
|
836
|
+
/**
|
|
837
|
+
* Required. The updated view.
|
|
838
|
+
*
|
|
839
|
+
* @generated from field: google.logging.v2.LogView view = 2;
|
|
840
|
+
*/
|
|
841
|
+
view?: LogView;
|
|
842
|
+
|
|
843
|
+
/**
|
|
844
|
+
* Optional. Field mask that specifies the fields in `view` that need
|
|
845
|
+
* an update. A field will be overwritten if, and only if, it is
|
|
846
|
+
* in the update mask. `name` and output only fields cannot be updated.
|
|
847
|
+
*
|
|
848
|
+
* For a detailed `FieldMask` definition, see
|
|
849
|
+
* https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask
|
|
850
|
+
*
|
|
851
|
+
* For example: `updateMask=filter`
|
|
852
|
+
*
|
|
853
|
+
* @generated from field: google.protobuf.FieldMask update_mask = 4;
|
|
854
|
+
*/
|
|
855
|
+
updateMask?: FieldMask;
|
|
856
|
+
};
|
|
857
|
+
|
|
858
|
+
/**
|
|
859
|
+
* Describes the message google.logging.v2.UpdateViewRequest.
|
|
860
|
+
* Use `create(UpdateViewRequestSchema)` to create a new message.
|
|
861
|
+
*/
|
|
862
|
+
export declare const UpdateViewRequestSchema: GenMessage<UpdateViewRequest>;
|
|
863
|
+
|
|
864
|
+
/**
|
|
865
|
+
* The parameters to `GetView`.
|
|
866
|
+
*
|
|
867
|
+
* @generated from message google.logging.v2.GetViewRequest
|
|
868
|
+
*/
|
|
869
|
+
export declare type GetViewRequest = Message<"google.logging.v2.GetViewRequest"> & {
|
|
870
|
+
/**
|
|
871
|
+
* Required. The resource name of the policy:
|
|
872
|
+
*
|
|
873
|
+
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
|
|
874
|
+
*
|
|
875
|
+
* For example:
|
|
876
|
+
*
|
|
877
|
+
* `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
|
|
878
|
+
*
|
|
879
|
+
* @generated from field: string name = 1;
|
|
880
|
+
*/
|
|
881
|
+
name: string;
|
|
882
|
+
};
|
|
883
|
+
|
|
884
|
+
/**
|
|
885
|
+
* Describes the message google.logging.v2.GetViewRequest.
|
|
886
|
+
* Use `create(GetViewRequestSchema)` to create a new message.
|
|
887
|
+
*/
|
|
888
|
+
export declare const GetViewRequestSchema: GenMessage<GetViewRequest>;
|
|
889
|
+
|
|
890
|
+
/**
|
|
891
|
+
* The parameters to `DeleteView`.
|
|
892
|
+
*
|
|
893
|
+
* @generated from message google.logging.v2.DeleteViewRequest
|
|
894
|
+
*/
|
|
895
|
+
export declare type DeleteViewRequest = Message<"google.logging.v2.DeleteViewRequest"> & {
|
|
896
|
+
/**
|
|
897
|
+
* Required. The full resource name of the view to delete:
|
|
898
|
+
*
|
|
899
|
+
* "projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]"
|
|
900
|
+
*
|
|
901
|
+
* For example:
|
|
902
|
+
*
|
|
903
|
+
* `"projects/my-project/locations/global/buckets/my-bucket/views/my-view"`
|
|
904
|
+
*
|
|
905
|
+
* @generated from field: string name = 1;
|
|
906
|
+
*/
|
|
907
|
+
name: string;
|
|
908
|
+
};
|
|
909
|
+
|
|
910
|
+
/**
|
|
911
|
+
* Describes the message google.logging.v2.DeleteViewRequest.
|
|
912
|
+
* Use `create(DeleteViewRequestSchema)` to create a new message.
|
|
913
|
+
*/
|
|
914
|
+
export declare const DeleteViewRequestSchema: GenMessage<DeleteViewRequest>;
|
|
915
|
+
|
|
916
|
+
/**
|
|
917
|
+
* The parameters to `ListSinks`.
|
|
918
|
+
*
|
|
919
|
+
* @generated from message google.logging.v2.ListSinksRequest
|
|
920
|
+
*/
|
|
921
|
+
export declare type ListSinksRequest = Message<"google.logging.v2.ListSinksRequest"> & {
|
|
922
|
+
/**
|
|
923
|
+
* Required. The parent resource whose sinks are to be listed:
|
|
924
|
+
*
|
|
925
|
+
* "projects/[PROJECT_ID]"
|
|
926
|
+
* "organizations/[ORGANIZATION_ID]"
|
|
927
|
+
* "billingAccounts/[BILLING_ACCOUNT_ID]"
|
|
928
|
+
* "folders/[FOLDER_ID]"
|
|
929
|
+
*
|
|
930
|
+
* @generated from field: string parent = 1;
|
|
931
|
+
*/
|
|
932
|
+
parent: string;
|
|
933
|
+
|
|
934
|
+
/**
|
|
935
|
+
* Optional. If present, then retrieve the next batch of results from the
|
|
936
|
+
* preceding call to this method. `pageToken` must be the value of
|
|
937
|
+
* `nextPageToken` from the previous response. The values of other method
|
|
938
|
+
* parameters should be identical to those in the previous call.
|
|
939
|
+
*
|
|
940
|
+
* @generated from field: string page_token = 2;
|
|
941
|
+
*/
|
|
942
|
+
pageToken: string;
|
|
943
|
+
|
|
944
|
+
/**
|
|
945
|
+
* Optional. The maximum number of results to return from this request.
|
|
946
|
+
* Non-positive values are ignored. The presence of `nextPageToken` in the
|
|
947
|
+
* response indicates that more results might be available.
|
|
948
|
+
*
|
|
949
|
+
* @generated from field: int32 page_size = 3;
|
|
950
|
+
*/
|
|
951
|
+
pageSize: number;
|
|
952
|
+
};
|
|
953
|
+
|
|
954
|
+
/**
|
|
955
|
+
* Describes the message google.logging.v2.ListSinksRequest.
|
|
956
|
+
* Use `create(ListSinksRequestSchema)` to create a new message.
|
|
957
|
+
*/
|
|
958
|
+
export declare const ListSinksRequestSchema: GenMessage<ListSinksRequest>;
|
|
959
|
+
|
|
960
|
+
/**
|
|
961
|
+
* Result returned from `ListSinks`.
|
|
962
|
+
*
|
|
963
|
+
* @generated from message google.logging.v2.ListSinksResponse
|
|
964
|
+
*/
|
|
965
|
+
export declare type ListSinksResponse = Message<"google.logging.v2.ListSinksResponse"> & {
|
|
966
|
+
/**
|
|
967
|
+
* A list of sinks.
|
|
968
|
+
*
|
|
969
|
+
* @generated from field: repeated google.logging.v2.LogSink sinks = 1;
|
|
970
|
+
*/
|
|
971
|
+
sinks: LogSink[];
|
|
972
|
+
|
|
973
|
+
/**
|
|
974
|
+
* If there might be more results than appear in this response, then
|
|
975
|
+
* `nextPageToken` is included. To get the next set of results, call the same
|
|
976
|
+
* method again using the value of `nextPageToken` as `pageToken`.
|
|
977
|
+
*
|
|
978
|
+
* @generated from field: string next_page_token = 2;
|
|
979
|
+
*/
|
|
980
|
+
nextPageToken: string;
|
|
981
|
+
};
|
|
982
|
+
|
|
983
|
+
/**
|
|
984
|
+
* Describes the message google.logging.v2.ListSinksResponse.
|
|
985
|
+
* Use `create(ListSinksResponseSchema)` to create a new message.
|
|
986
|
+
*/
|
|
987
|
+
export declare const ListSinksResponseSchema: GenMessage<ListSinksResponse>;
|
|
988
|
+
|
|
989
|
+
/**
|
|
990
|
+
* The parameters to `GetSink`.
|
|
991
|
+
*
|
|
992
|
+
* @generated from message google.logging.v2.GetSinkRequest
|
|
993
|
+
*/
|
|
994
|
+
export declare type GetSinkRequest = Message<"google.logging.v2.GetSinkRequest"> & {
|
|
995
|
+
/**
|
|
996
|
+
* Required. The resource name of the sink:
|
|
997
|
+
*
|
|
998
|
+
* "projects/[PROJECT_ID]/sinks/[SINK_ID]"
|
|
999
|
+
* "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
|
|
1000
|
+
* "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
|
|
1001
|
+
* "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
|
1002
|
+
*
|
|
1003
|
+
* For example:
|
|
1004
|
+
*
|
|
1005
|
+
* `"projects/my-project/sinks/my-sink"`
|
|
1006
|
+
*
|
|
1007
|
+
* @generated from field: string sink_name = 1;
|
|
1008
|
+
*/
|
|
1009
|
+
sinkName: string;
|
|
1010
|
+
};
|
|
1011
|
+
|
|
1012
|
+
/**
|
|
1013
|
+
* Describes the message google.logging.v2.GetSinkRequest.
|
|
1014
|
+
* Use `create(GetSinkRequestSchema)` to create a new message.
|
|
1015
|
+
*/
|
|
1016
|
+
export declare const GetSinkRequestSchema: GenMessage<GetSinkRequest>;
|
|
1017
|
+
|
|
1018
|
+
/**
|
|
1019
|
+
* The parameters to `CreateSink`.
|
|
1020
|
+
*
|
|
1021
|
+
* @generated from message google.logging.v2.CreateSinkRequest
|
|
1022
|
+
*/
|
|
1023
|
+
export declare type CreateSinkRequest = Message<"google.logging.v2.CreateSinkRequest"> & {
|
|
1024
|
+
/**
|
|
1025
|
+
* Required. The resource in which to create the sink:
|
|
1026
|
+
*
|
|
1027
|
+
* "projects/[PROJECT_ID]"
|
|
1028
|
+
* "organizations/[ORGANIZATION_ID]"
|
|
1029
|
+
* "billingAccounts/[BILLING_ACCOUNT_ID]"
|
|
1030
|
+
* "folders/[FOLDER_ID]"
|
|
1031
|
+
*
|
|
1032
|
+
* For examples:
|
|
1033
|
+
*
|
|
1034
|
+
* `"projects/my-project"`
|
|
1035
|
+
* `"organizations/123456789"`
|
|
1036
|
+
*
|
|
1037
|
+
* @generated from field: string parent = 1;
|
|
1038
|
+
*/
|
|
1039
|
+
parent: string;
|
|
1040
|
+
|
|
1041
|
+
/**
|
|
1042
|
+
* Required. The new sink, whose `name` parameter is a sink identifier that
|
|
1043
|
+
* is not already in use.
|
|
1044
|
+
*
|
|
1045
|
+
* @generated from field: google.logging.v2.LogSink sink = 2;
|
|
1046
|
+
*/
|
|
1047
|
+
sink?: LogSink;
|
|
1048
|
+
|
|
1049
|
+
/**
|
|
1050
|
+
* Optional. Determines the kind of IAM identity returned as `writer_identity`
|
|
1051
|
+
* in the new sink. If this value is omitted or set to false, and if the
|
|
1052
|
+
* sink's parent is a project, then the value returned as `writer_identity` is
|
|
1053
|
+
* the same group or service account used by Cloud Logging before the addition
|
|
1054
|
+
* of writer identities to this API. The sink's destination must be in the
|
|
1055
|
+
* same project as the sink itself.
|
|
1056
|
+
*
|
|
1057
|
+
* If this field is set to true, or if the sink is owned by a non-project
|
|
1058
|
+
* resource such as an organization, then the value of `writer_identity` will
|
|
1059
|
+
* be a unique service account used only for exports from the new sink. For
|
|
1060
|
+
* more information, see `writer_identity` in [LogSink][google.logging.v2.LogSink].
|
|
1061
|
+
*
|
|
1062
|
+
* @generated from field: bool unique_writer_identity = 3;
|
|
1063
|
+
*/
|
|
1064
|
+
uniqueWriterIdentity: boolean;
|
|
1065
|
+
};
|
|
1066
|
+
|
|
1067
|
+
/**
|
|
1068
|
+
* Describes the message google.logging.v2.CreateSinkRequest.
|
|
1069
|
+
* Use `create(CreateSinkRequestSchema)` to create a new message.
|
|
1070
|
+
*/
|
|
1071
|
+
export declare const CreateSinkRequestSchema: GenMessage<CreateSinkRequest>;
|
|
1072
|
+
|
|
1073
|
+
/**
|
|
1074
|
+
* The parameters to `UpdateSink`.
|
|
1075
|
+
*
|
|
1076
|
+
* @generated from message google.logging.v2.UpdateSinkRequest
|
|
1077
|
+
*/
|
|
1078
|
+
export declare type UpdateSinkRequest = Message<"google.logging.v2.UpdateSinkRequest"> & {
|
|
1079
|
+
/**
|
|
1080
|
+
* Required. The full resource name of the sink to update, including the parent
|
|
1081
|
+
* resource and the sink identifier:
|
|
1082
|
+
*
|
|
1083
|
+
* "projects/[PROJECT_ID]/sinks/[SINK_ID]"
|
|
1084
|
+
* "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
|
|
1085
|
+
* "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
|
|
1086
|
+
* "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
|
1087
|
+
*
|
|
1088
|
+
* For example:
|
|
1089
|
+
*
|
|
1090
|
+
* `"projects/my-project/sinks/my-sink"`
|
|
1091
|
+
*
|
|
1092
|
+
* @generated from field: string sink_name = 1;
|
|
1093
|
+
*/
|
|
1094
|
+
sinkName: string;
|
|
1095
|
+
|
|
1096
|
+
/**
|
|
1097
|
+
* Required. The updated sink, whose name is the same identifier that appears as part
|
|
1098
|
+
* of `sink_name`.
|
|
1099
|
+
*
|
|
1100
|
+
* @generated from field: google.logging.v2.LogSink sink = 2;
|
|
1101
|
+
*/
|
|
1102
|
+
sink?: LogSink;
|
|
1103
|
+
|
|
1104
|
+
/**
|
|
1105
|
+
* Optional. See [sinks.create][google.logging.v2.ConfigServiceV2.CreateSink]
|
|
1106
|
+
* for a description of this field. When updating a sink, the effect of this
|
|
1107
|
+
* field on the value of `writer_identity` in the updated sink depends on both
|
|
1108
|
+
* the old and new values of this field:
|
|
1109
|
+
*
|
|
1110
|
+
* + If the old and new values of this field are both false or both true,
|
|
1111
|
+
* then there is no change to the sink's `writer_identity`.
|
|
1112
|
+
* + If the old value is false and the new value is true, then
|
|
1113
|
+
* `writer_identity` is changed to a unique service account.
|
|
1114
|
+
* + It is an error if the old value is true and the new value is
|
|
1115
|
+
* set to false or defaulted to false.
|
|
1116
|
+
*
|
|
1117
|
+
* @generated from field: bool unique_writer_identity = 3;
|
|
1118
|
+
*/
|
|
1119
|
+
uniqueWriterIdentity: boolean;
|
|
1120
|
+
|
|
1121
|
+
/**
|
|
1122
|
+
* Optional. Field mask that specifies the fields in `sink` that need
|
|
1123
|
+
* an update. A sink field will be overwritten if, and only if, it is
|
|
1124
|
+
* in the update mask. `name` and output only fields cannot be updated.
|
|
1125
|
+
*
|
|
1126
|
+
* An empty `updateMask` is temporarily treated as using the following mask
|
|
1127
|
+
* for backwards compatibility purposes:
|
|
1128
|
+
*
|
|
1129
|
+
* `destination,filter,includeChildren`
|
|
1130
|
+
*
|
|
1131
|
+
* At some point in the future, behavior will be removed and specifying an
|
|
1132
|
+
* empty `updateMask` will be an error.
|
|
1133
|
+
*
|
|
1134
|
+
* For a detailed `FieldMask` definition, see
|
|
1135
|
+
* https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.FieldMask
|
|
1136
|
+
*
|
|
1137
|
+
* For example: `updateMask=filter`
|
|
1138
|
+
*
|
|
1139
|
+
* @generated from field: google.protobuf.FieldMask update_mask = 4;
|
|
1140
|
+
*/
|
|
1141
|
+
updateMask?: FieldMask;
|
|
1142
|
+
};
|
|
1143
|
+
|
|
1144
|
+
/**
|
|
1145
|
+
* Describes the message google.logging.v2.UpdateSinkRequest.
|
|
1146
|
+
* Use `create(UpdateSinkRequestSchema)` to create a new message.
|
|
1147
|
+
*/
|
|
1148
|
+
export declare const UpdateSinkRequestSchema: GenMessage<UpdateSinkRequest>;
|
|
1149
|
+
|
|
1150
|
+
/**
|
|
1151
|
+
* The parameters to `DeleteSink`.
|
|
1152
|
+
*
|
|
1153
|
+
* @generated from message google.logging.v2.DeleteSinkRequest
|
|
1154
|
+
*/
|
|
1155
|
+
export declare type DeleteSinkRequest = Message<"google.logging.v2.DeleteSinkRequest"> & {
|
|
1156
|
+
/**
|
|
1157
|
+
* Required. The full resource name of the sink to delete, including the parent
|
|
1158
|
+
* resource and the sink identifier:
|
|
1159
|
+
*
|
|
1160
|
+
* "projects/[PROJECT_ID]/sinks/[SINK_ID]"
|
|
1161
|
+
* "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]"
|
|
1162
|
+
* "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
|
|
1163
|
+
* "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
|
1164
|
+
*
|
|
1165
|
+
* For example:
|
|
1166
|
+
*
|
|
1167
|
+
* `"projects/my-project/sinks/my-sink"`
|
|
1168
|
+
*
|
|
1169
|
+
* @generated from field: string sink_name = 1;
|
|
1170
|
+
*/
|
|
1171
|
+
sinkName: string;
|
|
1172
|
+
};
|
|
1173
|
+
|
|
1174
|
+
/**
|
|
1175
|
+
* Describes the message google.logging.v2.DeleteSinkRequest.
|
|
1176
|
+
* Use `create(DeleteSinkRequestSchema)` to create a new message.
|
|
1177
|
+
*/
|
|
1178
|
+
export declare const DeleteSinkRequestSchema: GenMessage<DeleteSinkRequest>;
|
|
1179
|
+
|
|
1180
|
+
/**
|
|
1181
|
+
* Specifies a set of log entries that are filtered out by a sink. If
|
|
1182
|
+
* your Google Cloud resource receives a large volume of log entries, you can
|
|
1183
|
+
* use exclusions to reduce your chargeable logs. Note that exclusions on
|
|
1184
|
+
* organization-level and folder-level sinks don't apply to child resources.
|
|
1185
|
+
* Note also that you cannot modify the _Required sink or exclude logs from it.
|
|
1186
|
+
*
|
|
1187
|
+
* @generated from message google.logging.v2.LogExclusion
|
|
1188
|
+
*/
|
|
1189
|
+
export declare type LogExclusion = Message<"google.logging.v2.LogExclusion"> & {
|
|
1190
|
+
/**
|
|
1191
|
+
* Required. A client-assigned identifier, such as `"load-balancer-exclusion"`.
|
|
1192
|
+
* Identifiers are limited to 100 characters and can include only letters,
|
|
1193
|
+
* digits, underscores, hyphens, and periods. First character has to be
|
|
1194
|
+
* alphanumeric.
|
|
1195
|
+
*
|
|
1196
|
+
* @generated from field: string name = 1;
|
|
1197
|
+
*/
|
|
1198
|
+
name: string;
|
|
1199
|
+
|
|
1200
|
+
/**
|
|
1201
|
+
* Optional. A description of this exclusion.
|
|
1202
|
+
*
|
|
1203
|
+
* @generated from field: string description = 2;
|
|
1204
|
+
*/
|
|
1205
|
+
description: string;
|
|
1206
|
+
|
|
1207
|
+
/**
|
|
1208
|
+
* Required. An [advanced logs
|
|
1209
|
+
* filter](https://cloud.google.com/logging/docs/view/advanced-queries) that
|
|
1210
|
+
* matches the log entries to be excluded. By using the [sample
|
|
1211
|
+
* function](https://cloud.google.com/logging/docs/view/advanced-queries#sample),
|
|
1212
|
+
* you can exclude less than 100% of the matching log entries.
|
|
1213
|
+
*
|
|
1214
|
+
* For example, the following query matches 99% of low-severity log entries
|
|
1215
|
+
* from Google Cloud Storage buckets:
|
|
1216
|
+
*
|
|
1217
|
+
* `resource.type=gcs_bucket severity<ERROR sample(insertId, 0.99)`
|
|
1218
|
+
*
|
|
1219
|
+
* @generated from field: string filter = 3;
|
|
1220
|
+
*/
|
|
1221
|
+
filter: string;
|
|
1222
|
+
|
|
1223
|
+
/**
|
|
1224
|
+
* Optional. If set to True, then this exclusion is disabled and it does not
|
|
1225
|
+
* exclude any log entries. You can [update an
|
|
1226
|
+
* exclusion][google.logging.v2.ConfigServiceV2.UpdateExclusion] to change the
|
|
1227
|
+
* value of this field.
|
|
1228
|
+
*
|
|
1229
|
+
* @generated from field: bool disabled = 4;
|
|
1230
|
+
*/
|
|
1231
|
+
disabled: boolean;
|
|
1232
|
+
|
|
1233
|
+
/**
|
|
1234
|
+
* Output only. The creation timestamp of the exclusion.
|
|
1235
|
+
*
|
|
1236
|
+
* This field may not be present for older exclusions.
|
|
1237
|
+
*
|
|
1238
|
+
* @generated from field: google.protobuf.Timestamp create_time = 5;
|
|
1239
|
+
*/
|
|
1240
|
+
createTime?: Timestamp;
|
|
1241
|
+
|
|
1242
|
+
/**
|
|
1243
|
+
* Output only. The last update timestamp of the exclusion.
|
|
1244
|
+
*
|
|
1245
|
+
* This field may not be present for older exclusions.
|
|
1246
|
+
*
|
|
1247
|
+
* @generated from field: google.protobuf.Timestamp update_time = 6;
|
|
1248
|
+
*/
|
|
1249
|
+
updateTime?: Timestamp;
|
|
1250
|
+
};
|
|
1251
|
+
|
|
1252
|
+
/**
|
|
1253
|
+
* Describes the message google.logging.v2.LogExclusion.
|
|
1254
|
+
* Use `create(LogExclusionSchema)` to create a new message.
|
|
1255
|
+
*/
|
|
1256
|
+
export declare const LogExclusionSchema: GenMessage<LogExclusion>;
|
|
1257
|
+
|
|
1258
|
+
/**
|
|
1259
|
+
* The parameters to `ListExclusions`.
|
|
1260
|
+
*
|
|
1261
|
+
* @generated from message google.logging.v2.ListExclusionsRequest
|
|
1262
|
+
*/
|
|
1263
|
+
export declare type ListExclusionsRequest = Message<"google.logging.v2.ListExclusionsRequest"> & {
|
|
1264
|
+
/**
|
|
1265
|
+
* Required. The parent resource whose exclusions are to be listed.
|
|
1266
|
+
*
|
|
1267
|
+
* "projects/[PROJECT_ID]"
|
|
1268
|
+
* "organizations/[ORGANIZATION_ID]"
|
|
1269
|
+
* "billingAccounts/[BILLING_ACCOUNT_ID]"
|
|
1270
|
+
* "folders/[FOLDER_ID]"
|
|
1271
|
+
*
|
|
1272
|
+
* @generated from field: string parent = 1;
|
|
1273
|
+
*/
|
|
1274
|
+
parent: string;
|
|
1275
|
+
|
|
1276
|
+
/**
|
|
1277
|
+
* Optional. If present, then retrieve the next batch of results from the
|
|
1278
|
+
* preceding call to this method. `pageToken` must be the value of
|
|
1279
|
+
* `nextPageToken` from the previous response. The values of other method
|
|
1280
|
+
* parameters should be identical to those in the previous call.
|
|
1281
|
+
*
|
|
1282
|
+
* @generated from field: string page_token = 2;
|
|
1283
|
+
*/
|
|
1284
|
+
pageToken: string;
|
|
1285
|
+
|
|
1286
|
+
/**
|
|
1287
|
+
* Optional. The maximum number of results to return from this request.
|
|
1288
|
+
* Non-positive values are ignored. The presence of `nextPageToken` in the
|
|
1289
|
+
* response indicates that more results might be available.
|
|
1290
|
+
*
|
|
1291
|
+
* @generated from field: int32 page_size = 3;
|
|
1292
|
+
*/
|
|
1293
|
+
pageSize: number;
|
|
1294
|
+
};
|
|
1295
|
+
|
|
1296
|
+
/**
|
|
1297
|
+
* Describes the message google.logging.v2.ListExclusionsRequest.
|
|
1298
|
+
* Use `create(ListExclusionsRequestSchema)` to create a new message.
|
|
1299
|
+
*/
|
|
1300
|
+
export declare const ListExclusionsRequestSchema: GenMessage<ListExclusionsRequest>;
|
|
1301
|
+
|
|
1302
|
+
/**
|
|
1303
|
+
* Result returned from `ListExclusions`.
|
|
1304
|
+
*
|
|
1305
|
+
* @generated from message google.logging.v2.ListExclusionsResponse
|
|
1306
|
+
*/
|
|
1307
|
+
export declare type ListExclusionsResponse = Message<"google.logging.v2.ListExclusionsResponse"> & {
|
|
1308
|
+
/**
|
|
1309
|
+
* A list of exclusions.
|
|
1310
|
+
*
|
|
1311
|
+
* @generated from field: repeated google.logging.v2.LogExclusion exclusions = 1;
|
|
1312
|
+
*/
|
|
1313
|
+
exclusions: LogExclusion[];
|
|
1314
|
+
|
|
1315
|
+
/**
|
|
1316
|
+
* If there might be more results than appear in this response, then
|
|
1317
|
+
* `nextPageToken` is included. To get the next set of results, call the same
|
|
1318
|
+
* method again using the value of `nextPageToken` as `pageToken`.
|
|
1319
|
+
*
|
|
1320
|
+
* @generated from field: string next_page_token = 2;
|
|
1321
|
+
*/
|
|
1322
|
+
nextPageToken: string;
|
|
1323
|
+
};
|
|
1324
|
+
|
|
1325
|
+
/**
|
|
1326
|
+
* Describes the message google.logging.v2.ListExclusionsResponse.
|
|
1327
|
+
* Use `create(ListExclusionsResponseSchema)` to create a new message.
|
|
1328
|
+
*/
|
|
1329
|
+
export declare const ListExclusionsResponseSchema: GenMessage<ListExclusionsResponse>;
|
|
1330
|
+
|
|
1331
|
+
/**
|
|
1332
|
+
* The parameters to `GetExclusion`.
|
|
1333
|
+
*
|
|
1334
|
+
* @generated from message google.logging.v2.GetExclusionRequest
|
|
1335
|
+
*/
|
|
1336
|
+
export declare type GetExclusionRequest = Message<"google.logging.v2.GetExclusionRequest"> & {
|
|
1337
|
+
/**
|
|
1338
|
+
* Required. The resource name of an existing exclusion:
|
|
1339
|
+
*
|
|
1340
|
+
* "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
|
|
1341
|
+
* "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
|
|
1342
|
+
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
|
|
1343
|
+
* "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
|
|
1344
|
+
*
|
|
1345
|
+
* For example:
|
|
1346
|
+
*
|
|
1347
|
+
* `"projects/my-project/exclusions/my-exclusion"`
|
|
1348
|
+
*
|
|
1349
|
+
* @generated from field: string name = 1;
|
|
1350
|
+
*/
|
|
1351
|
+
name: string;
|
|
1352
|
+
};
|
|
1353
|
+
|
|
1354
|
+
/**
|
|
1355
|
+
* Describes the message google.logging.v2.GetExclusionRequest.
|
|
1356
|
+
* Use `create(GetExclusionRequestSchema)` to create a new message.
|
|
1357
|
+
*/
|
|
1358
|
+
export declare const GetExclusionRequestSchema: GenMessage<GetExclusionRequest>;
|
|
1359
|
+
|
|
1360
|
+
/**
|
|
1361
|
+
* The parameters to `CreateExclusion`.
|
|
1362
|
+
*
|
|
1363
|
+
* @generated from message google.logging.v2.CreateExclusionRequest
|
|
1364
|
+
*/
|
|
1365
|
+
export declare type CreateExclusionRequest = Message<"google.logging.v2.CreateExclusionRequest"> & {
|
|
1366
|
+
/**
|
|
1367
|
+
* Required. The parent resource in which to create the exclusion:
|
|
1368
|
+
*
|
|
1369
|
+
* "projects/[PROJECT_ID]"
|
|
1370
|
+
* "organizations/[ORGANIZATION_ID]"
|
|
1371
|
+
* "billingAccounts/[BILLING_ACCOUNT_ID]"
|
|
1372
|
+
* "folders/[FOLDER_ID]"
|
|
1373
|
+
*
|
|
1374
|
+
* For examples:
|
|
1375
|
+
*
|
|
1376
|
+
* `"projects/my-logging-project"`
|
|
1377
|
+
* `"organizations/123456789"`
|
|
1378
|
+
*
|
|
1379
|
+
* @generated from field: string parent = 1;
|
|
1380
|
+
*/
|
|
1381
|
+
parent: string;
|
|
1382
|
+
|
|
1383
|
+
/**
|
|
1384
|
+
* Required. The new exclusion, whose `name` parameter is an exclusion name
|
|
1385
|
+
* that is not already used in the parent resource.
|
|
1386
|
+
*
|
|
1387
|
+
* @generated from field: google.logging.v2.LogExclusion exclusion = 2;
|
|
1388
|
+
*/
|
|
1389
|
+
exclusion?: LogExclusion;
|
|
1390
|
+
};
|
|
1391
|
+
|
|
1392
|
+
/**
|
|
1393
|
+
* Describes the message google.logging.v2.CreateExclusionRequest.
|
|
1394
|
+
* Use `create(CreateExclusionRequestSchema)` to create a new message.
|
|
1395
|
+
*/
|
|
1396
|
+
export declare const CreateExclusionRequestSchema: GenMessage<CreateExclusionRequest>;
|
|
1397
|
+
|
|
1398
|
+
/**
|
|
1399
|
+
* The parameters to `UpdateExclusion`.
|
|
1400
|
+
*
|
|
1401
|
+
* @generated from message google.logging.v2.UpdateExclusionRequest
|
|
1402
|
+
*/
|
|
1403
|
+
export declare type UpdateExclusionRequest = Message<"google.logging.v2.UpdateExclusionRequest"> & {
|
|
1404
|
+
/**
|
|
1405
|
+
* Required. The resource name of the exclusion to update:
|
|
1406
|
+
*
|
|
1407
|
+
* "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
|
|
1408
|
+
* "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
|
|
1409
|
+
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
|
|
1410
|
+
* "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
|
|
1411
|
+
*
|
|
1412
|
+
* For example:
|
|
1413
|
+
*
|
|
1414
|
+
* `"projects/my-project/exclusions/my-exclusion"`
|
|
1415
|
+
*
|
|
1416
|
+
* @generated from field: string name = 1;
|
|
1417
|
+
*/
|
|
1418
|
+
name: string;
|
|
1419
|
+
|
|
1420
|
+
/**
|
|
1421
|
+
* Required. New values for the existing exclusion. Only the fields specified in
|
|
1422
|
+
* `update_mask` are relevant.
|
|
1423
|
+
*
|
|
1424
|
+
* @generated from field: google.logging.v2.LogExclusion exclusion = 2;
|
|
1425
|
+
*/
|
|
1426
|
+
exclusion?: LogExclusion;
|
|
1427
|
+
|
|
1428
|
+
/**
|
|
1429
|
+
* Required. A non-empty list of fields to change in the existing exclusion. New values
|
|
1430
|
+
* for the fields are taken from the corresponding fields in the
|
|
1431
|
+
* [LogExclusion][google.logging.v2.LogExclusion] included in this request. Fields not mentioned in
|
|
1432
|
+
* `update_mask` are not changed and are ignored in the request.
|
|
1433
|
+
*
|
|
1434
|
+
* For example, to change the filter and description of an exclusion,
|
|
1435
|
+
* specify an `update_mask` of `"filter,description"`.
|
|
1436
|
+
*
|
|
1437
|
+
* @generated from field: google.protobuf.FieldMask update_mask = 3;
|
|
1438
|
+
*/
|
|
1439
|
+
updateMask?: FieldMask;
|
|
1440
|
+
};
|
|
1441
|
+
|
|
1442
|
+
/**
|
|
1443
|
+
* Describes the message google.logging.v2.UpdateExclusionRequest.
|
|
1444
|
+
* Use `create(UpdateExclusionRequestSchema)` to create a new message.
|
|
1445
|
+
*/
|
|
1446
|
+
export declare const UpdateExclusionRequestSchema: GenMessage<UpdateExclusionRequest>;
|
|
1447
|
+
|
|
1448
|
+
/**
|
|
1449
|
+
* The parameters to `DeleteExclusion`.
|
|
1450
|
+
*
|
|
1451
|
+
* @generated from message google.logging.v2.DeleteExclusionRequest
|
|
1452
|
+
*/
|
|
1453
|
+
export declare type DeleteExclusionRequest = Message<"google.logging.v2.DeleteExclusionRequest"> & {
|
|
1454
|
+
/**
|
|
1455
|
+
* Required. The resource name of an existing exclusion to delete:
|
|
1456
|
+
*
|
|
1457
|
+
* "projects/[PROJECT_ID]/exclusions/[EXCLUSION_ID]"
|
|
1458
|
+
* "organizations/[ORGANIZATION_ID]/exclusions/[EXCLUSION_ID]"
|
|
1459
|
+
* "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
|
|
1460
|
+
* "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]"
|
|
1461
|
+
*
|
|
1462
|
+
* For example:
|
|
1463
|
+
*
|
|
1464
|
+
* `"projects/my-project/exclusions/my-exclusion"`
|
|
1465
|
+
*
|
|
1466
|
+
* @generated from field: string name = 1;
|
|
1467
|
+
*/
|
|
1468
|
+
name: string;
|
|
1469
|
+
};
|
|
1470
|
+
|
|
1471
|
+
/**
|
|
1472
|
+
* Describes the message google.logging.v2.DeleteExclusionRequest.
|
|
1473
|
+
* Use `create(DeleteExclusionRequestSchema)` to create a new message.
|
|
1474
|
+
*/
|
|
1475
|
+
export declare const DeleteExclusionRequestSchema: GenMessage<DeleteExclusionRequest>;
|
|
1476
|
+
|
|
1477
|
+
/**
|
|
1478
|
+
* The parameters to
|
|
1479
|
+
* [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings].
|
|
1480
|
+
*
|
|
1481
|
+
* See [Enabling CMEK for Log
|
|
1482
|
+
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for
|
|
1483
|
+
* more information.
|
|
1484
|
+
*
|
|
1485
|
+
* @generated from message google.logging.v2.GetCmekSettingsRequest
|
|
1486
|
+
*/
|
|
1487
|
+
export declare type GetCmekSettingsRequest = Message<"google.logging.v2.GetCmekSettingsRequest"> & {
|
|
1488
|
+
/**
|
|
1489
|
+
* Required. The resource for which to retrieve CMEK settings.
|
|
1490
|
+
*
|
|
1491
|
+
* "projects/[PROJECT_ID]/cmekSettings"
|
|
1492
|
+
* "organizations/[ORGANIZATION_ID]/cmekSettings"
|
|
1493
|
+
* "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
|
|
1494
|
+
* "folders/[FOLDER_ID]/cmekSettings"
|
|
1495
|
+
*
|
|
1496
|
+
* For example:
|
|
1497
|
+
*
|
|
1498
|
+
* `"organizations/12345/cmekSettings"`
|
|
1499
|
+
*
|
|
1500
|
+
* Note: CMEK for the Log Router can be configured for Google Cloud projects,
|
|
1501
|
+
* folders, organizations and billing accounts. Once configured for an
|
|
1502
|
+
* organization, it applies to all projects and folders in the Google Cloud
|
|
1503
|
+
* organization.
|
|
1504
|
+
*
|
|
1505
|
+
* @generated from field: string name = 1;
|
|
1506
|
+
*/
|
|
1507
|
+
name: string;
|
|
1508
|
+
};
|
|
1509
|
+
|
|
1510
|
+
/**
|
|
1511
|
+
* Describes the message google.logging.v2.GetCmekSettingsRequest.
|
|
1512
|
+
* Use `create(GetCmekSettingsRequestSchema)` to create a new message.
|
|
1513
|
+
*/
|
|
1514
|
+
export declare const GetCmekSettingsRequestSchema: GenMessage<GetCmekSettingsRequest>;
|
|
1515
|
+
|
|
1516
|
+
/**
|
|
1517
|
+
* The parameters to
|
|
1518
|
+
* [UpdateCmekSettings][google.logging.v2.ConfigServiceV2.UpdateCmekSettings].
|
|
1519
|
+
*
|
|
1520
|
+
* See [Enabling CMEK for Log
|
|
1521
|
+
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for
|
|
1522
|
+
* more information.
|
|
1523
|
+
*
|
|
1524
|
+
* @generated from message google.logging.v2.UpdateCmekSettingsRequest
|
|
1525
|
+
*/
|
|
1526
|
+
export declare type UpdateCmekSettingsRequest = Message<"google.logging.v2.UpdateCmekSettingsRequest"> & {
|
|
1527
|
+
/**
|
|
1528
|
+
* Required. The resource name for the CMEK settings to update.
|
|
1529
|
+
*
|
|
1530
|
+
* "projects/[PROJECT_ID]/cmekSettings"
|
|
1531
|
+
* "organizations/[ORGANIZATION_ID]/cmekSettings"
|
|
1532
|
+
* "billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings"
|
|
1533
|
+
* "folders/[FOLDER_ID]/cmekSettings"
|
|
1534
|
+
*
|
|
1535
|
+
* For example:
|
|
1536
|
+
*
|
|
1537
|
+
* `"organizations/12345/cmekSettings"`
|
|
1538
|
+
*
|
|
1539
|
+
* Note: CMEK for the Log Router can currently only be configured for Google
|
|
1540
|
+
* Cloud organizations. Once configured, it applies to all projects and
|
|
1541
|
+
* folders in the Google Cloud organization.
|
|
1542
|
+
*
|
|
1543
|
+
* @generated from field: string name = 1;
|
|
1544
|
+
*/
|
|
1545
|
+
name: string;
|
|
1546
|
+
|
|
1547
|
+
/**
|
|
1548
|
+
* Required. The CMEK settings to update.
|
|
1549
|
+
*
|
|
1550
|
+
* See [Enabling CMEK for Log
|
|
1551
|
+
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
|
|
1552
|
+
* for more information.
|
|
1553
|
+
*
|
|
1554
|
+
* @generated from field: google.logging.v2.CmekSettings cmek_settings = 2;
|
|
1555
|
+
*/
|
|
1556
|
+
cmekSettings?: CmekSettings;
|
|
1557
|
+
|
|
1558
|
+
/**
|
|
1559
|
+
* Optional. Field mask identifying which fields from `cmek_settings` should
|
|
1560
|
+
* be updated. A field will be overwritten if and only if it is in the update
|
|
1561
|
+
* mask. Output only fields cannot be updated.
|
|
1562
|
+
*
|
|
1563
|
+
* See [FieldMask][google.protobuf.FieldMask] for more information.
|
|
1564
|
+
*
|
|
1565
|
+
* For example: `"updateMask=kmsKeyName"`
|
|
1566
|
+
*
|
|
1567
|
+
* @generated from field: google.protobuf.FieldMask update_mask = 3;
|
|
1568
|
+
*/
|
|
1569
|
+
updateMask?: FieldMask;
|
|
1570
|
+
};
|
|
1571
|
+
|
|
1572
|
+
/**
|
|
1573
|
+
* Describes the message google.logging.v2.UpdateCmekSettingsRequest.
|
|
1574
|
+
* Use `create(UpdateCmekSettingsRequestSchema)` to create a new message.
|
|
1575
|
+
*/
|
|
1576
|
+
export declare const UpdateCmekSettingsRequestSchema: GenMessage<UpdateCmekSettingsRequest>;
|
|
1577
|
+
|
|
1578
|
+
/**
|
|
1579
|
+
* Describes the customer-managed encryption key (CMEK) settings associated with
|
|
1580
|
+
* a project, folder, organization, billing account, or flexible resource.
|
|
1581
|
+
*
|
|
1582
|
+
* Note: CMEK for the Log Router can currently only be configured for Google
|
|
1583
|
+
* Cloud organizations. Once configured, it applies to all projects and folders
|
|
1584
|
+
* in the Google Cloud organization.
|
|
1585
|
+
*
|
|
1586
|
+
* See [Enabling CMEK for Log
|
|
1587
|
+
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for
|
|
1588
|
+
* more information.
|
|
1589
|
+
*
|
|
1590
|
+
* @generated from message google.logging.v2.CmekSettings
|
|
1591
|
+
*/
|
|
1592
|
+
export declare type CmekSettings = Message<"google.logging.v2.CmekSettings"> & {
|
|
1593
|
+
/**
|
|
1594
|
+
* Output only. The resource name of the CMEK settings.
|
|
1595
|
+
*
|
|
1596
|
+
* @generated from field: string name = 1;
|
|
1597
|
+
*/
|
|
1598
|
+
name: string;
|
|
1599
|
+
|
|
1600
|
+
/**
|
|
1601
|
+
* The resource name for the configured Cloud KMS key.
|
|
1602
|
+
*
|
|
1603
|
+
* KMS key name format:
|
|
1604
|
+
*
|
|
1605
|
+
* "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]"
|
|
1606
|
+
*
|
|
1607
|
+
* For example:
|
|
1608
|
+
*
|
|
1609
|
+
* `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"`
|
|
1610
|
+
*
|
|
1611
|
+
*
|
|
1612
|
+
*
|
|
1613
|
+
* To enable CMEK for the Log Router, set this field to a valid
|
|
1614
|
+
* `kms_key_name` for which the associated service account has the required
|
|
1615
|
+
* cloudkms.cryptoKeyEncrypterDecrypter roles assigned for the key.
|
|
1616
|
+
*
|
|
1617
|
+
* The Cloud KMS key used by the Log Router can be updated by changing the
|
|
1618
|
+
* `kms_key_name` to a new valid key name or disabled by setting the key name
|
|
1619
|
+
* to an empty string. Encryption operations that are in progress will be
|
|
1620
|
+
* completed with the key that was in use when they started. Decryption
|
|
1621
|
+
* operations will be completed using the key that was used at the time of
|
|
1622
|
+
* encryption unless access to that key has been revoked.
|
|
1623
|
+
*
|
|
1624
|
+
* To disable CMEK for the Log Router, set this field to an empty string.
|
|
1625
|
+
*
|
|
1626
|
+
* See [Enabling CMEK for Log
|
|
1627
|
+
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
|
|
1628
|
+
* for more information.
|
|
1629
|
+
*
|
|
1630
|
+
* @generated from field: string kms_key_name = 2;
|
|
1631
|
+
*/
|
|
1632
|
+
kmsKeyName: string;
|
|
1633
|
+
|
|
1634
|
+
/**
|
|
1635
|
+
* Output only. The service account that will be used by the Log Router to access your
|
|
1636
|
+
* Cloud KMS key.
|
|
1637
|
+
*
|
|
1638
|
+
* Before enabling CMEK for Log Router, you must first assign the
|
|
1639
|
+
* cloudkms.cryptoKeyEncrypterDecrypter role to the service account that
|
|
1640
|
+
* the Log Router will use to access your Cloud KMS key. Use
|
|
1641
|
+
* [GetCmekSettings][google.logging.v2.ConfigServiceV2.GetCmekSettings] to
|
|
1642
|
+
* obtain the service account ID.
|
|
1643
|
+
*
|
|
1644
|
+
* See [Enabling CMEK for Log
|
|
1645
|
+
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
|
|
1646
|
+
* for more information.
|
|
1647
|
+
*
|
|
1648
|
+
* @generated from field: string service_account_id = 3;
|
|
1649
|
+
*/
|
|
1650
|
+
serviceAccountId: string;
|
|
1651
|
+
};
|
|
1652
|
+
|
|
1653
|
+
/**
|
|
1654
|
+
* Describes the message google.logging.v2.CmekSettings.
|
|
1655
|
+
* Use `create(CmekSettingsSchema)` to create a new message.
|
|
1656
|
+
*/
|
|
1657
|
+
export declare const CmekSettingsSchema: GenMessage<CmekSettings>;
|
|
1658
|
+
|
|
1659
|
+
/**
|
|
1660
|
+
* The parameters to
|
|
1661
|
+
* [GetSettings][google.logging.v2.ConfigServiceV2.GetSettings].
|
|
1662
|
+
*
|
|
1663
|
+
* See [Enabling CMEK for Log
|
|
1664
|
+
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for
|
|
1665
|
+
* more information.
|
|
1666
|
+
*
|
|
1667
|
+
* @generated from message google.logging.v2.GetSettingsRequest
|
|
1668
|
+
*/
|
|
1669
|
+
export declare type GetSettingsRequest = Message<"google.logging.v2.GetSettingsRequest"> & {
|
|
1670
|
+
/**
|
|
1671
|
+
* Required. The resource for which to retrieve settings.
|
|
1672
|
+
*
|
|
1673
|
+
* "projects/[PROJECT_ID]/settings"
|
|
1674
|
+
* "organizations/[ORGANIZATION_ID]/settings"
|
|
1675
|
+
* "billingAccounts/[BILLING_ACCOUNT_ID]/settings"
|
|
1676
|
+
* "folders/[FOLDER_ID]/settings"
|
|
1677
|
+
*
|
|
1678
|
+
* For example:
|
|
1679
|
+
*
|
|
1680
|
+
* `"organizations/12345/settings"`
|
|
1681
|
+
*
|
|
1682
|
+
* Note: Settings for the Log Router can be get for Google Cloud projects,
|
|
1683
|
+
* folders, organizations and billing accounts. Currently it can only be
|
|
1684
|
+
* configured for organizations. Once configured for an organization, it
|
|
1685
|
+
* applies to all projects and folders in the Google Cloud organization.
|
|
1686
|
+
*
|
|
1687
|
+
* @generated from field: string name = 1;
|
|
1688
|
+
*/
|
|
1689
|
+
name: string;
|
|
1690
|
+
};
|
|
1691
|
+
|
|
1692
|
+
/**
|
|
1693
|
+
* Describes the message google.logging.v2.GetSettingsRequest.
|
|
1694
|
+
* Use `create(GetSettingsRequestSchema)` to create a new message.
|
|
1695
|
+
*/
|
|
1696
|
+
export declare const GetSettingsRequestSchema: GenMessage<GetSettingsRequest>;
|
|
1697
|
+
|
|
1698
|
+
/**
|
|
1699
|
+
* The parameters to
|
|
1700
|
+
* [UpdateSettings][google.logging.v2.ConfigServiceV2.UpdateSettings].
|
|
1701
|
+
*
|
|
1702
|
+
* See [Enabling CMEK for Log
|
|
1703
|
+
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption) for
|
|
1704
|
+
* more information.
|
|
1705
|
+
*
|
|
1706
|
+
* @generated from message google.logging.v2.UpdateSettingsRequest
|
|
1707
|
+
*/
|
|
1708
|
+
export declare type UpdateSettingsRequest = Message<"google.logging.v2.UpdateSettingsRequest"> & {
|
|
1709
|
+
/**
|
|
1710
|
+
* Required. The resource name for the settings to update.
|
|
1711
|
+
*
|
|
1712
|
+
* "organizations/[ORGANIZATION_ID]/settings"
|
|
1713
|
+
*
|
|
1714
|
+
* For example:
|
|
1715
|
+
*
|
|
1716
|
+
* `"organizations/12345/settings"`
|
|
1717
|
+
*
|
|
1718
|
+
* Note: Settings for the Log Router can currently only be configured for
|
|
1719
|
+
* Google Cloud organizations. Once configured, it applies to all projects and
|
|
1720
|
+
* folders in the Google Cloud organization.
|
|
1721
|
+
*
|
|
1722
|
+
* @generated from field: string name = 1;
|
|
1723
|
+
*/
|
|
1724
|
+
name: string;
|
|
1725
|
+
|
|
1726
|
+
/**
|
|
1727
|
+
* Required. The settings to update.
|
|
1728
|
+
*
|
|
1729
|
+
* See [Enabling CMEK for Log
|
|
1730
|
+
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
|
|
1731
|
+
* for more information.
|
|
1732
|
+
*
|
|
1733
|
+
* @generated from field: google.logging.v2.Settings settings = 2;
|
|
1734
|
+
*/
|
|
1735
|
+
settings?: Settings;
|
|
1736
|
+
|
|
1737
|
+
/**
|
|
1738
|
+
* Optional. Field mask identifying which fields from `settings` should
|
|
1739
|
+
* be updated. A field will be overwritten if and only if it is in the update
|
|
1740
|
+
* mask. Output only fields cannot be updated.
|
|
1741
|
+
*
|
|
1742
|
+
* See [FieldMask][google.protobuf.FieldMask] for more information.
|
|
1743
|
+
*
|
|
1744
|
+
* For example: `"updateMask=kmsKeyName"`
|
|
1745
|
+
*
|
|
1746
|
+
* @generated from field: google.protobuf.FieldMask update_mask = 3;
|
|
1747
|
+
*/
|
|
1748
|
+
updateMask?: FieldMask;
|
|
1749
|
+
};
|
|
1750
|
+
|
|
1751
|
+
/**
|
|
1752
|
+
* Describes the message google.logging.v2.UpdateSettingsRequest.
|
|
1753
|
+
* Use `create(UpdateSettingsRequestSchema)` to create a new message.
|
|
1754
|
+
*/
|
|
1755
|
+
export declare const UpdateSettingsRequestSchema: GenMessage<UpdateSettingsRequest>;
|
|
1756
|
+
|
|
1757
|
+
/**
|
|
1758
|
+
* Describes the settings associated with a project, folder, organization,
|
|
1759
|
+
* billing account, or flexible resource.
|
|
1760
|
+
*
|
|
1761
|
+
* @generated from message google.logging.v2.Settings
|
|
1762
|
+
*/
|
|
1763
|
+
export declare type Settings = Message<"google.logging.v2.Settings"> & {
|
|
1764
|
+
/**
|
|
1765
|
+
* Output only. The resource name of the settings.
|
|
1766
|
+
*
|
|
1767
|
+
* @generated from field: string name = 1;
|
|
1768
|
+
*/
|
|
1769
|
+
name: string;
|
|
1770
|
+
|
|
1771
|
+
/**
|
|
1772
|
+
* Optional. The resource name for the configured Cloud KMS key.
|
|
1773
|
+
*
|
|
1774
|
+
* KMS key name format:
|
|
1775
|
+
*
|
|
1776
|
+
* "projects/[PROJECT_ID]/locations/[LOCATION]/keyRings/[KEYRING]/cryptoKeys/[KEY]"
|
|
1777
|
+
*
|
|
1778
|
+
* For example:
|
|
1779
|
+
*
|
|
1780
|
+
* `"projects/my-project/locations/us-central1/keyRings/my-ring/cryptoKeys/my-key"`
|
|
1781
|
+
*
|
|
1782
|
+
*
|
|
1783
|
+
*
|
|
1784
|
+
* To enable CMEK for the Log Router, set this field to a valid
|
|
1785
|
+
* `kms_key_name` for which the associated service account has the required
|
|
1786
|
+
* `roles/cloudkms.cryptoKeyEncrypterDecrypter` role assigned for the key.
|
|
1787
|
+
*
|
|
1788
|
+
* The Cloud KMS key used by the Log Router can be updated by changing the
|
|
1789
|
+
* `kms_key_name` to a new valid key name. Encryption operations that are in
|
|
1790
|
+
* progress will be completed with the key that was in use when they started.
|
|
1791
|
+
* Decryption operations will be completed using the key that was used at the
|
|
1792
|
+
* time of encryption unless access to that key has been revoked.
|
|
1793
|
+
*
|
|
1794
|
+
* To disable CMEK for the Log Router, set this field to an empty string.
|
|
1795
|
+
*
|
|
1796
|
+
* See [Enabling CMEK for Log
|
|
1797
|
+
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
|
|
1798
|
+
* for more information.
|
|
1799
|
+
*
|
|
1800
|
+
* @generated from field: string kms_key_name = 2;
|
|
1801
|
+
*/
|
|
1802
|
+
kmsKeyName: string;
|
|
1803
|
+
|
|
1804
|
+
/**
|
|
1805
|
+
* Output only. The service account that will be used by the Log Router to access your
|
|
1806
|
+
* Cloud KMS key.
|
|
1807
|
+
*
|
|
1808
|
+
* Before enabling CMEK for Log Router, you must first assign the role
|
|
1809
|
+
* `roles/cloudkms.cryptoKeyEncrypterDecrypter` to the service account that
|
|
1810
|
+
* the Log Router will use to access your Cloud KMS key. Use
|
|
1811
|
+
* [GetSettings][google.logging.v2.ConfigServiceV2.GetSettings] to
|
|
1812
|
+
* obtain the service account ID.
|
|
1813
|
+
*
|
|
1814
|
+
* See [Enabling CMEK for Log
|
|
1815
|
+
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
|
|
1816
|
+
* for more information.
|
|
1817
|
+
*
|
|
1818
|
+
* @generated from field: string kms_service_account_id = 3;
|
|
1819
|
+
*/
|
|
1820
|
+
kmsServiceAccountId: string;
|
|
1821
|
+
|
|
1822
|
+
/**
|
|
1823
|
+
* Optional. The Cloud region that will be used for _Default and _Required log buckets
|
|
1824
|
+
* for newly created projects and folders. For example `europe-west1`.
|
|
1825
|
+
* This setting does not affect the location of custom log buckets.
|
|
1826
|
+
*
|
|
1827
|
+
* @generated from field: string storage_location = 4;
|
|
1828
|
+
*/
|
|
1829
|
+
storageLocation: string;
|
|
1830
|
+
|
|
1831
|
+
/**
|
|
1832
|
+
* Optional. If set to true, the _Default sink in newly created projects and folders
|
|
1833
|
+
* will created in a disabled state. This can be used to automatically disable
|
|
1834
|
+
* log ingestion if there is already an aggregated sink configured in the
|
|
1835
|
+
* hierarchy. The _Default sink can be re-enabled manually if needed.
|
|
1836
|
+
*
|
|
1837
|
+
* @generated from field: bool disable_default_sink = 5;
|
|
1838
|
+
*/
|
|
1839
|
+
disableDefaultSink: boolean;
|
|
1840
|
+
};
|
|
1841
|
+
|
|
1842
|
+
/**
|
|
1843
|
+
* Describes the message google.logging.v2.Settings.
|
|
1844
|
+
* Use `create(SettingsSchema)` to create a new message.
|
|
1845
|
+
*/
|
|
1846
|
+
export declare const SettingsSchema: GenMessage<Settings>;
|
|
1847
|
+
|
|
1848
|
+
/**
|
|
1849
|
+
* The parameters to CopyLogEntries.
|
|
1850
|
+
*
|
|
1851
|
+
* @generated from message google.logging.v2.CopyLogEntriesRequest
|
|
1852
|
+
*/
|
|
1853
|
+
export declare type CopyLogEntriesRequest = Message<"google.logging.v2.CopyLogEntriesRequest"> & {
|
|
1854
|
+
/**
|
|
1855
|
+
* Required. Log bucket from which to copy log entries.
|
|
1856
|
+
*
|
|
1857
|
+
* For example:
|
|
1858
|
+
*
|
|
1859
|
+
* `"projects/my-project/locations/global/buckets/my-source-bucket"`
|
|
1860
|
+
*
|
|
1861
|
+
* @generated from field: string name = 1;
|
|
1862
|
+
*/
|
|
1863
|
+
name: string;
|
|
1864
|
+
|
|
1865
|
+
/**
|
|
1866
|
+
* Optional. A filter specifying which log entries to copy. The filter must be no more
|
|
1867
|
+
* than 20k characters. An empty filter matches all log entries.
|
|
1868
|
+
*
|
|
1869
|
+
* @generated from field: string filter = 3;
|
|
1870
|
+
*/
|
|
1871
|
+
filter: string;
|
|
1872
|
+
|
|
1873
|
+
/**
|
|
1874
|
+
* Required. Destination to which to copy log entries.
|
|
1875
|
+
*
|
|
1876
|
+
* @generated from field: string destination = 4;
|
|
1877
|
+
*/
|
|
1878
|
+
destination: string;
|
|
1879
|
+
};
|
|
1880
|
+
|
|
1881
|
+
/**
|
|
1882
|
+
* Describes the message google.logging.v2.CopyLogEntriesRequest.
|
|
1883
|
+
* Use `create(CopyLogEntriesRequestSchema)` to create a new message.
|
|
1884
|
+
*/
|
|
1885
|
+
export declare const CopyLogEntriesRequestSchema: GenMessage<CopyLogEntriesRequest>;
|
|
1886
|
+
|
|
1887
|
+
/**
|
|
1888
|
+
* Metadata for CopyLogEntries long running operations.
|
|
1889
|
+
*
|
|
1890
|
+
* @generated from message google.logging.v2.CopyLogEntriesMetadata
|
|
1891
|
+
*/
|
|
1892
|
+
export declare type CopyLogEntriesMetadata = Message<"google.logging.v2.CopyLogEntriesMetadata"> & {
|
|
1893
|
+
/**
|
|
1894
|
+
* The create time of an operation.
|
|
1895
|
+
*
|
|
1896
|
+
* @generated from field: google.protobuf.Timestamp start_time = 1;
|
|
1897
|
+
*/
|
|
1898
|
+
startTime?: Timestamp;
|
|
1899
|
+
|
|
1900
|
+
/**
|
|
1901
|
+
* The end time of an operation.
|
|
1902
|
+
*
|
|
1903
|
+
* @generated from field: google.protobuf.Timestamp end_time = 2;
|
|
1904
|
+
*/
|
|
1905
|
+
endTime?: Timestamp;
|
|
1906
|
+
|
|
1907
|
+
/**
|
|
1908
|
+
* State of an operation.
|
|
1909
|
+
*
|
|
1910
|
+
* @generated from field: google.logging.v2.OperationState state = 3;
|
|
1911
|
+
*/
|
|
1912
|
+
state: OperationState;
|
|
1913
|
+
|
|
1914
|
+
/**
|
|
1915
|
+
* Identifies whether the user has requested cancellation of the operation.
|
|
1916
|
+
*
|
|
1917
|
+
* @generated from field: bool cancellation_requested = 4;
|
|
1918
|
+
*/
|
|
1919
|
+
cancellationRequested: boolean;
|
|
1920
|
+
|
|
1921
|
+
/**
|
|
1922
|
+
* CopyLogEntries RPC request.
|
|
1923
|
+
*
|
|
1924
|
+
* @generated from field: google.logging.v2.CopyLogEntriesRequest request = 5;
|
|
1925
|
+
*/
|
|
1926
|
+
request?: CopyLogEntriesRequest;
|
|
1927
|
+
|
|
1928
|
+
/**
|
|
1929
|
+
* Estimated progress of the operation (0 - 100%).
|
|
1930
|
+
*
|
|
1931
|
+
* @generated from field: int32 progress = 6;
|
|
1932
|
+
*/
|
|
1933
|
+
progress: number;
|
|
1934
|
+
|
|
1935
|
+
/**
|
|
1936
|
+
* The IAM identity of a service account that must be granted access to the
|
|
1937
|
+
* destination.
|
|
1938
|
+
*
|
|
1939
|
+
* If the service account is not granted permission to the destination within
|
|
1940
|
+
* an hour, the operation will be cancelled.
|
|
1941
|
+
*
|
|
1942
|
+
* For example: `"serviceAccount:foo@bar.com"`
|
|
1943
|
+
*
|
|
1944
|
+
* @generated from field: string writer_identity = 7;
|
|
1945
|
+
*/
|
|
1946
|
+
writerIdentity: string;
|
|
1947
|
+
};
|
|
1948
|
+
|
|
1949
|
+
/**
|
|
1950
|
+
* Describes the message google.logging.v2.CopyLogEntriesMetadata.
|
|
1951
|
+
* Use `create(CopyLogEntriesMetadataSchema)` to create a new message.
|
|
1952
|
+
*/
|
|
1953
|
+
export declare const CopyLogEntriesMetadataSchema: GenMessage<CopyLogEntriesMetadata>;
|
|
1954
|
+
|
|
1955
|
+
/**
|
|
1956
|
+
* Response type for CopyLogEntries long running operations.
|
|
1957
|
+
*
|
|
1958
|
+
* @generated from message google.logging.v2.CopyLogEntriesResponse
|
|
1959
|
+
*/
|
|
1960
|
+
export declare type CopyLogEntriesResponse = Message<"google.logging.v2.CopyLogEntriesResponse"> & {
|
|
1961
|
+
/**
|
|
1962
|
+
* Number of log entries copied.
|
|
1963
|
+
*
|
|
1964
|
+
* @generated from field: int64 log_entries_copied_count = 1;
|
|
1965
|
+
*/
|
|
1966
|
+
logEntriesCopiedCount: bigint;
|
|
1967
|
+
};
|
|
1968
|
+
|
|
1969
|
+
/**
|
|
1970
|
+
* Describes the message google.logging.v2.CopyLogEntriesResponse.
|
|
1971
|
+
* Use `create(CopyLogEntriesResponseSchema)` to create a new message.
|
|
1972
|
+
*/
|
|
1973
|
+
export declare const CopyLogEntriesResponseSchema: GenMessage<CopyLogEntriesResponse>;
|
|
1974
|
+
|
|
1975
|
+
/**
|
|
1976
|
+
* LogBucket lifecycle states.
|
|
1977
|
+
*
|
|
1978
|
+
* @generated from enum google.logging.v2.LifecycleState
|
|
1979
|
+
*/
|
|
1980
|
+
export enum LifecycleState {
|
|
1981
|
+
/**
|
|
1982
|
+
* Unspecified state. This is only used/useful for distinguishing unset
|
|
1983
|
+
* values.
|
|
1984
|
+
*
|
|
1985
|
+
* @generated from enum value: LIFECYCLE_STATE_UNSPECIFIED = 0;
|
|
1986
|
+
*/
|
|
1987
|
+
LIFECYCLE_STATE_UNSPECIFIED = 0,
|
|
1988
|
+
|
|
1989
|
+
/**
|
|
1990
|
+
* The normal and active state.
|
|
1991
|
+
*
|
|
1992
|
+
* @generated from enum value: ACTIVE = 1;
|
|
1993
|
+
*/
|
|
1994
|
+
ACTIVE = 1,
|
|
1995
|
+
|
|
1996
|
+
/**
|
|
1997
|
+
* The resource has been marked for deletion by the user. For some resources
|
|
1998
|
+
* (e.g. buckets), this can be reversed by an un-delete operation.
|
|
1999
|
+
*
|
|
2000
|
+
* @generated from enum value: DELETE_REQUESTED = 2;
|
|
2001
|
+
*/
|
|
2002
|
+
DELETE_REQUESTED = 2,
|
|
2003
|
+
}
|
|
2004
|
+
|
|
2005
|
+
/**
|
|
2006
|
+
* Describes the enum google.logging.v2.LifecycleState.
|
|
2007
|
+
*/
|
|
2008
|
+
export declare const LifecycleStateSchema: GenEnum<LifecycleState>;
|
|
2009
|
+
|
|
2010
|
+
/**
|
|
2011
|
+
* List of different operation states.
|
|
2012
|
+
* High level state of the operation. This is used to report the job's
|
|
2013
|
+
* current state to the user. Once a long running operation is created,
|
|
2014
|
+
* the current state of the operation can be queried even before the
|
|
2015
|
+
* operation is finished and the final result is available.
|
|
2016
|
+
*
|
|
2017
|
+
* @generated from enum google.logging.v2.OperationState
|
|
2018
|
+
*/
|
|
2019
|
+
export enum OperationState {
|
|
2020
|
+
/**
|
|
2021
|
+
* Should not be used.
|
|
2022
|
+
*
|
|
2023
|
+
* @generated from enum value: OPERATION_STATE_UNSPECIFIED = 0;
|
|
2024
|
+
*/
|
|
2025
|
+
UNSPECIFIED = 0,
|
|
2026
|
+
|
|
2027
|
+
/**
|
|
2028
|
+
* The operation is scheduled.
|
|
2029
|
+
*
|
|
2030
|
+
* @generated from enum value: OPERATION_STATE_SCHEDULED = 1;
|
|
2031
|
+
*/
|
|
2032
|
+
SCHEDULED = 1,
|
|
2033
|
+
|
|
2034
|
+
/**
|
|
2035
|
+
* Waiting for necessary permissions.
|
|
2036
|
+
*
|
|
2037
|
+
* @generated from enum value: OPERATION_STATE_WAITING_FOR_PERMISSIONS = 2;
|
|
2038
|
+
*/
|
|
2039
|
+
WAITING_FOR_PERMISSIONS = 2,
|
|
2040
|
+
|
|
2041
|
+
/**
|
|
2042
|
+
* The operation is running.
|
|
2043
|
+
*
|
|
2044
|
+
* @generated from enum value: OPERATION_STATE_RUNNING = 3;
|
|
2045
|
+
*/
|
|
2046
|
+
RUNNING = 3,
|
|
2047
|
+
|
|
2048
|
+
/**
|
|
2049
|
+
* The operation was completed successfully.
|
|
2050
|
+
*
|
|
2051
|
+
* @generated from enum value: OPERATION_STATE_SUCCEEDED = 4;
|
|
2052
|
+
*/
|
|
2053
|
+
SUCCEEDED = 4,
|
|
2054
|
+
|
|
2055
|
+
/**
|
|
2056
|
+
* The operation failed.
|
|
2057
|
+
*
|
|
2058
|
+
* @generated from enum value: OPERATION_STATE_FAILED = 5;
|
|
2059
|
+
*/
|
|
2060
|
+
FAILED = 5,
|
|
2061
|
+
|
|
2062
|
+
/**
|
|
2063
|
+
* The operation was cancelled by the user.
|
|
2064
|
+
*
|
|
2065
|
+
* @generated from enum value: OPERATION_STATE_CANCELLED = 6;
|
|
2066
|
+
*/
|
|
2067
|
+
CANCELLED = 6,
|
|
2068
|
+
}
|
|
2069
|
+
|
|
2070
|
+
/**
|
|
2071
|
+
* Describes the enum google.logging.v2.OperationState.
|
|
2072
|
+
*/
|
|
2073
|
+
export declare const OperationStateSchema: GenEnum<OperationState>;
|
|
2074
|
+
|
|
2075
|
+
/**
|
|
2076
|
+
* Service for configuring sinks used to route log entries.
|
|
2077
|
+
*
|
|
2078
|
+
* @generated from service google.logging.v2.ConfigServiceV2
|
|
2079
|
+
*/
|
|
2080
|
+
export declare const ConfigServiceV2: GenService<{
|
|
2081
|
+
/**
|
|
2082
|
+
* Lists log buckets.
|
|
2083
|
+
*
|
|
2084
|
+
* @generated from rpc google.logging.v2.ConfigServiceV2.ListBuckets
|
|
2085
|
+
*/
|
|
2086
|
+
listBuckets: {
|
|
2087
|
+
methodKind: "unary";
|
|
2088
|
+
input: typeof ListBucketsRequestSchema;
|
|
2089
|
+
output: typeof ListBucketsResponseSchema;
|
|
2090
|
+
},
|
|
2091
|
+
/**
|
|
2092
|
+
* Gets a log bucket.
|
|
2093
|
+
*
|
|
2094
|
+
* @generated from rpc google.logging.v2.ConfigServiceV2.GetBucket
|
|
2095
|
+
*/
|
|
2096
|
+
getBucket: {
|
|
2097
|
+
methodKind: "unary";
|
|
2098
|
+
input: typeof GetBucketRequestSchema;
|
|
2099
|
+
output: typeof LogBucketSchema;
|
|
2100
|
+
},
|
|
2101
|
+
/**
|
|
2102
|
+
* Creates a log bucket that can be used to store log entries. After a bucket
|
|
2103
|
+
* has been created, the bucket's location cannot be changed.
|
|
2104
|
+
*
|
|
2105
|
+
* @generated from rpc google.logging.v2.ConfigServiceV2.CreateBucket
|
|
2106
|
+
*/
|
|
2107
|
+
createBucket: {
|
|
2108
|
+
methodKind: "unary";
|
|
2109
|
+
input: typeof CreateBucketRequestSchema;
|
|
2110
|
+
output: typeof LogBucketSchema;
|
|
2111
|
+
},
|
|
2112
|
+
/**
|
|
2113
|
+
* Updates a log bucket. This method replaces the following fields in the
|
|
2114
|
+
* existing bucket with values from the new bucket: `retention_period`
|
|
2115
|
+
*
|
|
2116
|
+
* If the retention period is decreased and the bucket is locked,
|
|
2117
|
+
* `FAILED_PRECONDITION` will be returned.
|
|
2118
|
+
*
|
|
2119
|
+
* If the bucket has a `lifecycle_state` of `DELETE_REQUESTED`, then
|
|
2120
|
+
* `FAILED_PRECONDITION` will be returned.
|
|
2121
|
+
*
|
|
2122
|
+
* After a bucket has been created, the bucket's location cannot be changed.
|
|
2123
|
+
*
|
|
2124
|
+
* @generated from rpc google.logging.v2.ConfigServiceV2.UpdateBucket
|
|
2125
|
+
*/
|
|
2126
|
+
updateBucket: {
|
|
2127
|
+
methodKind: "unary";
|
|
2128
|
+
input: typeof UpdateBucketRequestSchema;
|
|
2129
|
+
output: typeof LogBucketSchema;
|
|
2130
|
+
},
|
|
2131
|
+
/**
|
|
2132
|
+
* Deletes a log bucket.
|
|
2133
|
+
*
|
|
2134
|
+
* Changes the bucket's `lifecycle_state` to the `DELETE_REQUESTED` state.
|
|
2135
|
+
* After 7 days, the bucket will be purged and all log entries in the bucket
|
|
2136
|
+
* will be permanently deleted.
|
|
2137
|
+
*
|
|
2138
|
+
* @generated from rpc google.logging.v2.ConfigServiceV2.DeleteBucket
|
|
2139
|
+
*/
|
|
2140
|
+
deleteBucket: {
|
|
2141
|
+
methodKind: "unary";
|
|
2142
|
+
input: typeof DeleteBucketRequestSchema;
|
|
2143
|
+
output: typeof EmptySchema;
|
|
2144
|
+
},
|
|
2145
|
+
/**
|
|
2146
|
+
* Undeletes a log bucket. A bucket that has been deleted can be undeleted
|
|
2147
|
+
* within the grace period of 7 days.
|
|
2148
|
+
*
|
|
2149
|
+
* @generated from rpc google.logging.v2.ConfigServiceV2.UndeleteBucket
|
|
2150
|
+
*/
|
|
2151
|
+
undeleteBucket: {
|
|
2152
|
+
methodKind: "unary";
|
|
2153
|
+
input: typeof UndeleteBucketRequestSchema;
|
|
2154
|
+
output: typeof EmptySchema;
|
|
2155
|
+
},
|
|
2156
|
+
/**
|
|
2157
|
+
* Lists views on a log bucket.
|
|
2158
|
+
*
|
|
2159
|
+
* @generated from rpc google.logging.v2.ConfigServiceV2.ListViews
|
|
2160
|
+
*/
|
|
2161
|
+
listViews: {
|
|
2162
|
+
methodKind: "unary";
|
|
2163
|
+
input: typeof ListViewsRequestSchema;
|
|
2164
|
+
output: typeof ListViewsResponseSchema;
|
|
2165
|
+
},
|
|
2166
|
+
/**
|
|
2167
|
+
* Gets a view on a log bucket..
|
|
2168
|
+
*
|
|
2169
|
+
* @generated from rpc google.logging.v2.ConfigServiceV2.GetView
|
|
2170
|
+
*/
|
|
2171
|
+
getView: {
|
|
2172
|
+
methodKind: "unary";
|
|
2173
|
+
input: typeof GetViewRequestSchema;
|
|
2174
|
+
output: typeof LogViewSchema;
|
|
2175
|
+
},
|
|
2176
|
+
/**
|
|
2177
|
+
* Creates a view over log entries in a log bucket. A bucket may contain a
|
|
2178
|
+
* maximum of 30 views.
|
|
2179
|
+
*
|
|
2180
|
+
* @generated from rpc google.logging.v2.ConfigServiceV2.CreateView
|
|
2181
|
+
*/
|
|
2182
|
+
createView: {
|
|
2183
|
+
methodKind: "unary";
|
|
2184
|
+
input: typeof CreateViewRequestSchema;
|
|
2185
|
+
output: typeof LogViewSchema;
|
|
2186
|
+
},
|
|
2187
|
+
/**
|
|
2188
|
+
* Updates a view on a log bucket. This method replaces the following fields
|
|
2189
|
+
* in the existing view with values from the new view: `filter`.
|
|
2190
|
+
* If an `UNAVAILABLE` error is returned, this indicates that system is not in
|
|
2191
|
+
* a state where it can update the view. If this occurs, please try again in a
|
|
2192
|
+
* few minutes.
|
|
2193
|
+
*
|
|
2194
|
+
* @generated from rpc google.logging.v2.ConfigServiceV2.UpdateView
|
|
2195
|
+
*/
|
|
2196
|
+
updateView: {
|
|
2197
|
+
methodKind: "unary";
|
|
2198
|
+
input: typeof UpdateViewRequestSchema;
|
|
2199
|
+
output: typeof LogViewSchema;
|
|
2200
|
+
},
|
|
2201
|
+
/**
|
|
2202
|
+
* Deletes a view on a log bucket.
|
|
2203
|
+
* If an `UNAVAILABLE` error is returned, this indicates that system is not in
|
|
2204
|
+
* a state where it can delete the view. If this occurs, please try again in a
|
|
2205
|
+
* few minutes.
|
|
2206
|
+
*
|
|
2207
|
+
* @generated from rpc google.logging.v2.ConfigServiceV2.DeleteView
|
|
2208
|
+
*/
|
|
2209
|
+
deleteView: {
|
|
2210
|
+
methodKind: "unary";
|
|
2211
|
+
input: typeof DeleteViewRequestSchema;
|
|
2212
|
+
output: typeof EmptySchema;
|
|
2213
|
+
},
|
|
2214
|
+
/**
|
|
2215
|
+
* Lists sinks.
|
|
2216
|
+
*
|
|
2217
|
+
* @generated from rpc google.logging.v2.ConfigServiceV2.ListSinks
|
|
2218
|
+
*/
|
|
2219
|
+
listSinks: {
|
|
2220
|
+
methodKind: "unary";
|
|
2221
|
+
input: typeof ListSinksRequestSchema;
|
|
2222
|
+
output: typeof ListSinksResponseSchema;
|
|
2223
|
+
},
|
|
2224
|
+
/**
|
|
2225
|
+
* Gets a sink.
|
|
2226
|
+
*
|
|
2227
|
+
* @generated from rpc google.logging.v2.ConfigServiceV2.GetSink
|
|
2228
|
+
*/
|
|
2229
|
+
getSink: {
|
|
2230
|
+
methodKind: "unary";
|
|
2231
|
+
input: typeof GetSinkRequestSchema;
|
|
2232
|
+
output: typeof LogSinkSchema;
|
|
2233
|
+
},
|
|
2234
|
+
/**
|
|
2235
|
+
* Creates a sink that exports specified log entries to a destination. The
|
|
2236
|
+
* export of newly-ingested log entries begins immediately, unless the sink's
|
|
2237
|
+
* `writer_identity` is not permitted to write to the destination. A sink can
|
|
2238
|
+
* export log entries only from the resource owning the sink.
|
|
2239
|
+
*
|
|
2240
|
+
* @generated from rpc google.logging.v2.ConfigServiceV2.CreateSink
|
|
2241
|
+
*/
|
|
2242
|
+
createSink: {
|
|
2243
|
+
methodKind: "unary";
|
|
2244
|
+
input: typeof CreateSinkRequestSchema;
|
|
2245
|
+
output: typeof LogSinkSchema;
|
|
2246
|
+
},
|
|
2247
|
+
/**
|
|
2248
|
+
* Updates a sink. This method replaces the following fields in the existing
|
|
2249
|
+
* sink with values from the new sink: `destination`, and `filter`.
|
|
2250
|
+
*
|
|
2251
|
+
* The updated sink might also have a new `writer_identity`; see the
|
|
2252
|
+
* `unique_writer_identity` field.
|
|
2253
|
+
*
|
|
2254
|
+
* @generated from rpc google.logging.v2.ConfigServiceV2.UpdateSink
|
|
2255
|
+
*/
|
|
2256
|
+
updateSink: {
|
|
2257
|
+
methodKind: "unary";
|
|
2258
|
+
input: typeof UpdateSinkRequestSchema;
|
|
2259
|
+
output: typeof LogSinkSchema;
|
|
2260
|
+
},
|
|
2261
|
+
/**
|
|
2262
|
+
* Deletes a sink. If the sink has a unique `writer_identity`, then that
|
|
2263
|
+
* service account is also deleted.
|
|
2264
|
+
*
|
|
2265
|
+
* @generated from rpc google.logging.v2.ConfigServiceV2.DeleteSink
|
|
2266
|
+
*/
|
|
2267
|
+
deleteSink: {
|
|
2268
|
+
methodKind: "unary";
|
|
2269
|
+
input: typeof DeleteSinkRequestSchema;
|
|
2270
|
+
output: typeof EmptySchema;
|
|
2271
|
+
},
|
|
2272
|
+
/**
|
|
2273
|
+
* Lists all the exclusions on the _Default sink in a parent resource.
|
|
2274
|
+
*
|
|
2275
|
+
* @generated from rpc google.logging.v2.ConfigServiceV2.ListExclusions
|
|
2276
|
+
*/
|
|
2277
|
+
listExclusions: {
|
|
2278
|
+
methodKind: "unary";
|
|
2279
|
+
input: typeof ListExclusionsRequestSchema;
|
|
2280
|
+
output: typeof ListExclusionsResponseSchema;
|
|
2281
|
+
},
|
|
2282
|
+
/**
|
|
2283
|
+
* Gets the description of an exclusion in the _Default sink.
|
|
2284
|
+
*
|
|
2285
|
+
* @generated from rpc google.logging.v2.ConfigServiceV2.GetExclusion
|
|
2286
|
+
*/
|
|
2287
|
+
getExclusion: {
|
|
2288
|
+
methodKind: "unary";
|
|
2289
|
+
input: typeof GetExclusionRequestSchema;
|
|
2290
|
+
output: typeof LogExclusionSchema;
|
|
2291
|
+
},
|
|
2292
|
+
/**
|
|
2293
|
+
* Creates a new exclusion in the _Default sink in a specified parent
|
|
2294
|
+
* resource. Only log entries belonging to that resource can be excluded. You
|
|
2295
|
+
* can have up to 10 exclusions in a resource.
|
|
2296
|
+
*
|
|
2297
|
+
* @generated from rpc google.logging.v2.ConfigServiceV2.CreateExclusion
|
|
2298
|
+
*/
|
|
2299
|
+
createExclusion: {
|
|
2300
|
+
methodKind: "unary";
|
|
2301
|
+
input: typeof CreateExclusionRequestSchema;
|
|
2302
|
+
output: typeof LogExclusionSchema;
|
|
2303
|
+
},
|
|
2304
|
+
/**
|
|
2305
|
+
* Changes one or more properties of an existing exclusion in the _Default
|
|
2306
|
+
* sink.
|
|
2307
|
+
*
|
|
2308
|
+
* @generated from rpc google.logging.v2.ConfigServiceV2.UpdateExclusion
|
|
2309
|
+
*/
|
|
2310
|
+
updateExclusion: {
|
|
2311
|
+
methodKind: "unary";
|
|
2312
|
+
input: typeof UpdateExclusionRequestSchema;
|
|
2313
|
+
output: typeof LogExclusionSchema;
|
|
2314
|
+
},
|
|
2315
|
+
/**
|
|
2316
|
+
* Deletes an exclusion in the _Default sink.
|
|
2317
|
+
*
|
|
2318
|
+
* @generated from rpc google.logging.v2.ConfigServiceV2.DeleteExclusion
|
|
2319
|
+
*/
|
|
2320
|
+
deleteExclusion: {
|
|
2321
|
+
methodKind: "unary";
|
|
2322
|
+
input: typeof DeleteExclusionRequestSchema;
|
|
2323
|
+
output: typeof EmptySchema;
|
|
2324
|
+
},
|
|
2325
|
+
/**
|
|
2326
|
+
* Gets the Logging CMEK settings for the given resource.
|
|
2327
|
+
*
|
|
2328
|
+
* Note: CMEK for the Log Router can be configured for Google Cloud projects,
|
|
2329
|
+
* folders, organizations and billing accounts. Once configured for an
|
|
2330
|
+
* organization, it applies to all projects and folders in the Google Cloud
|
|
2331
|
+
* organization.
|
|
2332
|
+
*
|
|
2333
|
+
* See [Enabling CMEK for Log
|
|
2334
|
+
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
|
|
2335
|
+
* for more information.
|
|
2336
|
+
*
|
|
2337
|
+
* @generated from rpc google.logging.v2.ConfigServiceV2.GetCmekSettings
|
|
2338
|
+
*/
|
|
2339
|
+
getCmekSettings: {
|
|
2340
|
+
methodKind: "unary";
|
|
2341
|
+
input: typeof GetCmekSettingsRequestSchema;
|
|
2342
|
+
output: typeof CmekSettingsSchema;
|
|
2343
|
+
},
|
|
2344
|
+
/**
|
|
2345
|
+
* Updates the Log Router CMEK settings for the given resource.
|
|
2346
|
+
*
|
|
2347
|
+
* Note: CMEK for the Log Router can currently only be configured for Google
|
|
2348
|
+
* Cloud organizations. Once configured, it applies to all projects and
|
|
2349
|
+
* folders in the Google Cloud organization.
|
|
2350
|
+
*
|
|
2351
|
+
* [UpdateCmekSettings][google.logging.v2.ConfigServiceV2.UpdateCmekSettings]
|
|
2352
|
+
* will fail if 1) `kms_key_name` is invalid, or 2) the associated service
|
|
2353
|
+
* account does not have the required
|
|
2354
|
+
* `roles/cloudkms.cryptoKeyEncrypterDecrypter` role assigned for the key, or
|
|
2355
|
+
* 3) access to the key is disabled.
|
|
2356
|
+
*
|
|
2357
|
+
* See [Enabling CMEK for Log
|
|
2358
|
+
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
|
|
2359
|
+
* for more information.
|
|
2360
|
+
*
|
|
2361
|
+
* @generated from rpc google.logging.v2.ConfigServiceV2.UpdateCmekSettings
|
|
2362
|
+
*/
|
|
2363
|
+
updateCmekSettings: {
|
|
2364
|
+
methodKind: "unary";
|
|
2365
|
+
input: typeof UpdateCmekSettingsRequestSchema;
|
|
2366
|
+
output: typeof CmekSettingsSchema;
|
|
2367
|
+
},
|
|
2368
|
+
/**
|
|
2369
|
+
* Gets the Log Router settings for the given resource.
|
|
2370
|
+
*
|
|
2371
|
+
* Note: Settings for the Log Router can be get for Google Cloud projects,
|
|
2372
|
+
* folders, organizations and billing accounts. Currently it can only be
|
|
2373
|
+
* configured for organizations. Once configured for an organization, it
|
|
2374
|
+
* applies to all projects and folders in the Google Cloud organization.
|
|
2375
|
+
*
|
|
2376
|
+
* See [Enabling CMEK for Log
|
|
2377
|
+
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
|
|
2378
|
+
* for more information.
|
|
2379
|
+
*
|
|
2380
|
+
* @generated from rpc google.logging.v2.ConfigServiceV2.GetSettings
|
|
2381
|
+
*/
|
|
2382
|
+
getSettings: {
|
|
2383
|
+
methodKind: "unary";
|
|
2384
|
+
input: typeof GetSettingsRequestSchema;
|
|
2385
|
+
output: typeof SettingsSchema;
|
|
2386
|
+
},
|
|
2387
|
+
/**
|
|
2388
|
+
* Updates the Log Router settings for the given resource.
|
|
2389
|
+
*
|
|
2390
|
+
* Note: Settings for the Log Router can currently only be configured for
|
|
2391
|
+
* Google Cloud organizations. Once configured, it applies to all projects and
|
|
2392
|
+
* folders in the Google Cloud organization.
|
|
2393
|
+
*
|
|
2394
|
+
* [UpdateSettings][google.logging.v2.ConfigServiceV2.UpdateSettings]
|
|
2395
|
+
* will fail if 1) `kms_key_name` is invalid, or 2) the associated service
|
|
2396
|
+
* account does not have the required
|
|
2397
|
+
* `roles/cloudkms.cryptoKeyEncrypterDecrypter` role assigned for the key, or
|
|
2398
|
+
* 3) access to the key is disabled. 4) `location_id` is not supported by
|
|
2399
|
+
* Logging. 5) `location_id` violate OrgPolicy.
|
|
2400
|
+
*
|
|
2401
|
+
* See [Enabling CMEK for Log
|
|
2402
|
+
* Router](https://cloud.google.com/logging/docs/routing/managed-encryption)
|
|
2403
|
+
* for more information.
|
|
2404
|
+
*
|
|
2405
|
+
* @generated from rpc google.logging.v2.ConfigServiceV2.UpdateSettings
|
|
2406
|
+
*/
|
|
2407
|
+
updateSettings: {
|
|
2408
|
+
methodKind: "unary";
|
|
2409
|
+
input: typeof UpdateSettingsRequestSchema;
|
|
2410
|
+
output: typeof SettingsSchema;
|
|
2411
|
+
},
|
|
2412
|
+
/**
|
|
2413
|
+
* Copies a set of log entries from a log bucket to a Cloud Storage bucket.
|
|
2414
|
+
*
|
|
2415
|
+
* @generated from rpc google.logging.v2.ConfigServiceV2.CopyLogEntries
|
|
2416
|
+
*/
|
|
2417
|
+
copyLogEntries: {
|
|
2418
|
+
methodKind: "unary";
|
|
2419
|
+
input: typeof CopyLogEntriesRequestSchema;
|
|
2420
|
+
output: typeof OperationSchema;
|
|
2421
|
+
},
|
|
2422
|
+
}>;
|