googleapis/google/cloud/discoveryengine/v1beta/logging.proto
Google APIs f054d2af61 feat(discoveryengine): regenerate v1beta proto snapshot for feature parity with v1
Publishes the full v1beta API surface including services and methods present
in v1main but missing from the stale v1beta snapshot (engine_service,
control_service, data_store_service, project_service, site_search_engine_service,
rank_service, grounded_generation_service, search_tuning_service, etc.),
plus v1beta-specific fields like region_code on SearchRequest.

PiperOrigin-RevId: 932931724
2026-06-16 00:57:55 -07:00

40 lines
1.7 KiB
Protocol Buffer

// Copyright 2026 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
syntax = "proto3";
package google.cloud.discoveryengine.v1beta;
import "google/api/field_behavior.proto";
import "google/api/resource.proto";
option csharp_namespace = "Google.Cloud.DiscoveryEngine.V1Beta";
option go_package = "cloud.google.com/go/discoveryengine/apiv1beta/discoveryenginepb;discoveryenginepb";
option java_multiple_files = true;
option java_outer_classname = "LoggingProto";
option java_package = "com.google.cloud.discoveryengine.v1beta";
option objc_class_prefix = "DISCOVERYENGINE";
option php_namespace = "Google\\Cloud\\DiscoveryEngine\\V1beta";
option ruby_package = "Google::Cloud::DiscoveryEngine::V1beta";
// Observability config for a resource.
message ObservabilityConfig {
// Optional. Enables observability. If `false`, all other flags are ignored.
bool observability_enabled = 1 [(google.api.field_behavior) = OPTIONAL];
// Optional. Enables sensitive logging. Sensitive logging includes customer
// core content (e.g. prompts, responses). If `false`, will sanitize all
// sensitive fields.
bool sensitive_logging_enabled = 2 [(google.api.field_behavior) = OPTIONAL];
}