// Copyright 2025 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.geminidataanalytics.v1beta;

import "google/api/field_behavior.proto";
import "google/cloud/geminidataanalytics/v1beta/context.proto";

option csharp_namespace = "Google.Cloud.GeminiDataAnalytics.V1Beta";
option go_package = "cloud.google.com/go/geminidataanalytics/apiv1beta/geminidataanalyticspb;geminidataanalyticspb";
option java_multiple_files = true;
option java_outer_classname = "DataAnalyticsAgentProto";
option java_package = "com.google.cloud.geminidataanalytics.v1beta";
option php_namespace = "Google\\Cloud\\GeminiDataAnalytics\\V1beta";
option ruby_package = "Google::Cloud::GeminiDataAnalytics::V1beta";

// Message describing a DataAnalyticsAgent object.
message DataAnalyticsAgent {
  // Optional. The staging context for the agent.
  // This context is used to test and validate changes before publishing.
  Context staging_context = 5 [(google.api.field_behavior) = OPTIONAL];

  // Optional. The published context for the agent.
  // This context is used by the Chat API in production.
  Context published_context = 6 [(google.api.field_behavior) = OPTIONAL];

  // Output only. The last published context for the agent.
  // This is an output-only field populated by the system when the
  // published context is updated. It is used to restore the agent to a
  // previous state.
  Context last_published_context = 7
      [(google.api.field_behavior) = OUTPUT_ONLY];
}
