Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,20 @@ message QueryDataContext {
// Required. The datasource references to use for the query.
DatasourceReferences datasource_references = 1
[(google.api.field_behavior) = REQUIRED];

// Optional. Parameters for Parameterized Secure Views (PSV).
ParameterizedSecureViewParameters parameterized_secure_view_parameters = 2
[(google.api.field_behavior) = OPTIONAL];
}

// Parameters for Parameterized Secure Views (PSV). These parameters are
// used to enforce row-level security during SQL generation and query
// execution.
message ParameterizedSecureViewParameters {
// Optional. Named parameters for Parameterized Secure Views (PSV).
// The map keys are parameter names (e.g., `"user_id"`), and values are the
// corresponding parameter values (e.g., `"123"`).
map<string, string> parameters = 1 [(google.api.field_behavior) = OPTIONAL];
}

// Response containing the generated query and related information.
Expand Down Expand Up @@ -283,6 +297,18 @@ message StorageMessage {

// Request for Chat.
message ChatRequest {
// Mode of thinking for the agent.
enum ThinkingMode {
// Unspecified thinking mode, agent will use THINKING mode by default.
THINKING_MODE_UNSPECIFIED = 0;

// Fast mode, answers quickly.
FAST = 1;

// Thinking mode, solves complex problems.
THINKING = 2;
}

// Context Provider for the chat request.
// It can either be -
// inline_context, which is a context provided inline in the request.
Expand Down Expand Up @@ -328,6 +354,10 @@ message ChatRequest {

// Required. Content of current conversation.
repeated Message messages = 2 [(google.api.field_behavior) = REQUIRED];

// Optional. The thinking mode to use for the agent loop.
// Defaults to THINKING_MODE_UNSPECIFIED if not specified.
ThinkingMode thinking_mode = 9 [(google.api.field_behavior) = OPTIONAL];
}

// Context for the chat request using a data agent.
Expand Down Expand Up @@ -542,7 +572,7 @@ message DataMessage {
DataResult result = 3;

// Looker Query generated by the system to retrieve data.
// DEPRECATED: generated looker query is now under DataQuery.looker.
// Deprecated: generated looker query is now under DataQuery.looker.
LookerQuery generated_looker_query = 4 [deprecated = true];

// A BigQuery job executed by the system to retrieve data.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,20 @@ message QueryDataContext {
// Required. The datasource references to use for the query.
DatasourceReferences datasource_references = 1
[(google.api.field_behavior) = REQUIRED];

// Optional. Parameters for Parameterized Secure Views (PSV).
ParameterizedSecureViewParameters parameterized_secure_view_parameters = 2
[(google.api.field_behavior) = OPTIONAL];
}

// Parameters for Parameterized Secure Views (PSV). These parameters are
// used to enforce row-level security during SQL generation and query
// execution.
message ParameterizedSecureViewParameters {
// Optional. Named parameters for Parameterized Secure Views (PSV).
// The map keys are parameter names (e.g., `"user_id"`), and values are the
// corresponding parameter values (e.g., `"123"`).
map<string, string> parameters = 1 [(google.api.field_behavior) = OPTIONAL];
}

// Response containing the generated query and related information.
Expand Down Expand Up @@ -283,6 +297,18 @@ message StorageMessage {

// Request for Chat.
message ChatRequest {
// Mode of thinking for the agent.
enum ThinkingMode {
// Unspecified thinking mode, agent will use THINKING mode by default.
THINKING_MODE_UNSPECIFIED = 0;

// Fast mode, answers quickly.
FAST = 1;

// Thinking mode, solves complex problems.
THINKING = 2;
}

// Context Provider for the chat request.
// It can either be -
// inline_context, which is a context provided inline in the request.
Expand Down Expand Up @@ -328,6 +354,10 @@ message ChatRequest {

// Required. Content of current conversation.
repeated Message messages = 2 [(google.api.field_behavior) = REQUIRED];

// Optional. The thinking mode to use for the agent loop.
// Defaults to THINKING_MODE_UNSPECIFIED if not specified.
ThinkingMode thinking_mode = 9 [(google.api.field_behavior) = OPTIONAL];
}

// Context for the chat request using a data agent.
Expand Down Expand Up @@ -542,7 +572,7 @@ message DataMessage {
DataResult result = 3;

// Looker Query generated by the system to retrieve data.
// DEPRECATED: generated looker query is now under DataQuery.looker.
// Deprecated: generated looker query is now under DataQuery.looker.
LookerQuery generated_looker_query = 4 [deprecated = true];

// A BigQuery job executed by the system to retrieve data.
Expand Down
Loading
Loading