Constants
DataA2AService_SendMessage_FullMethodName, DataA2AService_SendStreamingMessage_FullMethodName, DataA2AService_GetAgentCard_FullMethodName
const (
DataA2AService_SendMessage_FullMethodName = "/google.cloud.geminidataanalytics.v1beta.DataA2AService/SendMessage"
DataA2AService_SendStreamingMessage_FullMethodName = "/google.cloud.geminidataanalytics.v1beta.DataA2AService/SendStreamingMessage"
DataA2AService_GetAgentCard_FullMethodName = "/google.cloud.geminidataanalytics.v1beta.DataA2AService/GetAgentCard"
)DataAgentService_ListDataAgents_FullMethodName, DataAgentService_ListAccessibleDataAgents_FullMethodName, DataAgentService_GetDataAgent_FullMethodName, DataAgentService_CreateDataAgent_FullMethodName, DataAgentService_CreateDataAgentSync_FullMethodName, DataAgentService_UpdateDataAgent_FullMethodName, DataAgentService_UpdateDataAgentSync_FullMethodName, DataAgentService_DeleteDataAgent_FullMethodName, DataAgentService_DeleteDataAgentSync_FullMethodName, DataAgentService_GetIamPolicy_FullMethodName, DataAgentService_SetIamPolicy_FullMethodName, DataAgentService_SetAgentOpsObservability_FullMethodName, DataAgentService_RetrieveAgentOpsObservability_FullMethodName
const (
DataAgentService_ListDataAgents_FullMethodName = "/google.cloud.geminidataanalytics.v1beta.DataAgentService/ListDataAgents"
DataAgentService_ListAccessibleDataAgents_FullMethodName = "/google.cloud.geminidataanalytics.v1beta.DataAgentService/ListAccessibleDataAgents"
DataAgentService_GetDataAgent_FullMethodName = "/google.cloud.geminidataanalytics.v1beta.DataAgentService/GetDataAgent"
DataAgentService_CreateDataAgent_FullMethodName = "/google.cloud.geminidataanalytics.v1beta.DataAgentService/CreateDataAgent"
DataAgentService_CreateDataAgentSync_FullMethodName = "/google.cloud.geminidataanalytics.v1beta.DataAgentService/CreateDataAgentSync"
DataAgentService_UpdateDataAgent_FullMethodName = "/google.cloud.geminidataanalytics.v1beta.DataAgentService/UpdateDataAgent"
DataAgentService_UpdateDataAgentSync_FullMethodName = "/google.cloud.geminidataanalytics.v1beta.DataAgentService/UpdateDataAgentSync"
DataAgentService_DeleteDataAgent_FullMethodName = "/google.cloud.geminidataanalytics.v1beta.DataAgentService/DeleteDataAgent"
DataAgentService_DeleteDataAgentSync_FullMethodName = "/google.cloud.geminidataanalytics.v1beta.DataAgentService/DeleteDataAgentSync"
DataAgentService_GetIamPolicy_FullMethodName = "/google.cloud.geminidataanalytics.v1beta.DataAgentService/GetIamPolicy"
DataAgentService_SetIamPolicy_FullMethodName = "/google.cloud.geminidataanalytics.v1beta.DataAgentService/SetIamPolicy"
DataAgentService_SetAgentOpsObservability_FullMethodName = "/google.cloud.geminidataanalytics.v1beta.DataAgentService/SetAgentOpsObservability"
DataAgentService_RetrieveAgentOpsObservability_FullMethodName = "/google.cloud.geminidataanalytics.v1beta.DataAgentService/RetrieveAgentOpsObservability"
)DataChatService_Chat_FullMethodName, DataChatService_CreateConversation_FullMethodName, DataChatService_DeleteConversation_FullMethodName, DataChatService_UpdateConversation_FullMethodName, DataChatService_GetConversation_FullMethodName, DataChatService_ListConversations_FullMethodName, DataChatService_ListMessages_FullMethodName, DataChatService_QueryData_FullMethodName
const (
DataChatService_Chat_FullMethodName = "/google.cloud.geminidataanalytics.v1beta.DataChatService/Chat"
DataChatService_CreateConversation_FullMethodName = "/google.cloud.geminidataanalytics.v1beta.DataChatService/CreateConversation"
DataChatService_DeleteConversation_FullMethodName = "/google.cloud.geminidataanalytics.v1beta.DataChatService/DeleteConversation"
DataChatService_UpdateConversation_FullMethodName = "/google.cloud.geminidataanalytics.v1beta.DataChatService/UpdateConversation"
DataChatService_GetConversation_FullMethodName = "/google.cloud.geminidataanalytics.v1beta.DataChatService/GetConversation"
DataChatService_ListConversations_FullMethodName = "/google.cloud.geminidataanalytics.v1beta.DataChatService/ListConversations"
DataChatService_ListMessages_FullMethodName = "/google.cloud.geminidataanalytics.v1beta.DataChatService/ListMessages"
DataChatService_QueryData_FullMethodName = "/google.cloud.geminidataanalytics.v1beta.DataChatService/QueryData"
)Variables
Context_SchemaRelationship_Source_name, Context_SchemaRelationship_Source_value
var (
Context_SchemaRelationship_Source_name = map[int32]string{
0: "SOURCE_UNSPECIFIED",
1: "BIGQUERY_JOB_HISTORY",
2: "LLM_SUGGESTED",
3: "BIGQUERY_TABLE_CONSTRAINTS",
}
Context_SchemaRelationship_Source_value = map[string]int32{
"SOURCE_UNSPECIFIED": 0,
"BIGQUERY_JOB_HISTORY": 1,
"LLM_SUGGESTED": 2,
"BIGQUERY_TABLE_CONSTRAINTS": 3,
}
)Enum value maps for Context_SchemaRelationship_Source.
ConversationOptions_Model_name, ConversationOptions_Model_value
var (
ConversationOptions_Model_name = map[int32]string{
0: "MODEL_UNSPECIFIED",
1: "LATEST_GA_MODEL",
}
ConversationOptions_Model_value = map[string]int32{
"MODEL_UNSPECIFIED": 0,
"LATEST_GA_MODEL": 1,
}
)Enum value maps for ConversationOptions_Model.
TaskState_name, TaskState_value
var (
TaskState_name = map[int32]string{
0: "TASK_STATE_UNSPECIFIED",
1: "TASK_STATE_SUBMITTED",
2: "TASK_STATE_WORKING",
3: "TASK_STATE_COMPLETED",
4: "TASK_STATE_FAILED",
5: "TASK_STATE_CANCELLED",
6: "TASK_STATE_INPUT_REQUIRED",
7: "TASK_STATE_REJECTED",
8: "TASK_STATE_AUTH_REQUIRED",
}
TaskState_value = map[string]int32{
"TASK_STATE_UNSPECIFIED": 0,
"TASK_STATE_SUBMITTED": 1,
"TASK_STATE_WORKING": 2,
"TASK_STATE_COMPLETED": 3,
"TASK_STATE_FAILED": 4,
"TASK_STATE_CANCELLED": 5,
"TASK_STATE_INPUT_REQUIRED": 6,
"TASK_STATE_REJECTED": 7,
"TASK_STATE_AUTH_REQUIRED": 8,
}
)Enum value maps for TaskState.
Role_name, Role_value
var (
Role_name = map[int32]string{
0: "ROLE_UNSPECIFIED",
1: "ROLE_USER",
2: "ROLE_AGENT",
}
Role_value = map[string]int32{
"ROLE_UNSPECIFIED": 0,
"ROLE_USER": 1,
"ROLE_AGENT": 2,
}
)Enum value maps for Role.
ListAccessibleDataAgentsRequest_CreatorFilter_name, ListAccessibleDataAgentsRequest_CreatorFilter_value
var (
ListAccessibleDataAgentsRequest_CreatorFilter_name = map[int32]string{
0: "CREATOR_FILTER_UNSPECIFIED",
1: "NONE",
2: "CREATOR_ONLY",
3: "NOT_CREATOR_ONLY",
}
ListAccessibleDataAgentsRequest_CreatorFilter_value = map[string]int32{
"CREATOR_FILTER_UNSPECIFIED": 0,
"NONE": 1,
"CREATOR_ONLY": 2,
"NOT_CREATOR_ONLY": 3,
}
)Enum value maps for ListAccessibleDataAgentsRequest_CreatorFilter.
ChatRequest_ThinkingMode_name, ChatRequest_ThinkingMode_value
var (
ChatRequest_ThinkingMode_name = map[int32]string{
0: "THINKING_MODE_UNSPECIFIED",
1: "FAST",
2: "THINKING",
}
ChatRequest_ThinkingMode_value = map[string]int32{
"THINKING_MODE_UNSPECIFIED": 0,
"FAST": 1,
"THINKING": 2,
}
)Enum value maps for ChatRequest_ThinkingMode.
ChatRequest_Model_name, ChatRequest_Model_value
var (
ChatRequest_Model_name = map[int32]string{
0: "MODEL_UNSPECIFIED",
1: "LATEST_GA_MODEL",
}
ChatRequest_Model_value = map[string]int32{
"MODEL_UNSPECIFIED": 0,
"LATEST_GA_MODEL": 1,
}
)Enum value maps for ChatRequest_Model.
DataAgentContext_ContextVersion_name, DataAgentContext_ContextVersion_value
var (
DataAgentContext_ContextVersion_name = map[int32]string{
0: "CONTEXT_VERSION_UNSPECIFIED",
1: "STAGING",
2: "PUBLISHED",
}
DataAgentContext_ContextVersion_value = map[string]int32{
"CONTEXT_VERSION_UNSPECIFIED": 0,
"STAGING": 1,
"PUBLISHED": 2,
}
)Enum value maps for DataAgentContext_ContextVersion.
TextMessage_TextType_name, TextMessage_TextType_value
var (
TextMessage_TextType_name = map[int32]string{
0: "TEXT_TYPE_UNSPECIFIED",
1: "FINAL_RESPONSE",
2: "THOUGHT",
3: "PROGRESS",
4: "FOLLOWUP_QUESTIONS",
}
TextMessage_TextType_value = map[string]int32{
"TEXT_TYPE_UNSPECIFIED": 0,
"FINAL_RESPONSE": 1,
"THOUGHT": 2,
"PROGRESS": 3,
"FOLLOWUP_QUESTIONS": 4,
}
)Enum value maps for TextMessage_TextType.
ClarificationQuestion_SelectionMode_name, ClarificationQuestion_SelectionMode_value
var (
ClarificationQuestion_SelectionMode_name = map[int32]string{
0: "SELECTION_MODE_UNSPECIFIED",
1: "SINGLE_SELECT",
2: "MULTI_SELECT",
}
ClarificationQuestion_SelectionMode_value = map[string]int32{
"SELECTION_MODE_UNSPECIFIED": 0,
"SINGLE_SELECT": 1,
"MULTI_SELECT": 2,
}
)Enum value maps for ClarificationQuestion_SelectionMode.
ClarificationQuestion_ClarificationQuestionType_name, ClarificationQuestion_ClarificationQuestionType_value
var (
ClarificationQuestion_ClarificationQuestionType_name = map[int32]string{
0: "CLARIFICATION_QUESTION_TYPE_UNSPECIFIED",
1: "FILTER_VALUES",
2: "FIELDS",
}
ClarificationQuestion_ClarificationQuestionType_value = map[string]int32{
"CLARIFICATION_QUESTION_TYPE_UNSPECIFIED": 0,
"FILTER_VALUES": 1,
"FIELDS": 2,
}
)Enum value maps for ClarificationQuestion_ClarificationQuestionType.
DataFilterType_name, DataFilterType_value
var (
DataFilterType_name = map[int32]string{
0: "DATA_FILTER_TYPE_UNSPECIFIED",
1: "ALWAYS_FILTER",
}
DataFilterType_value = map[string]int32{
"DATA_FILTER_TYPE_UNSPECIFIED": 0,
"ALWAYS_FILTER": 1,
}
)Enum value maps for DataFilterType.
SpannerDatabaseReference_Engine_name, SpannerDatabaseReference_Engine_value
var (
SpannerDatabaseReference_Engine_name = map[int32]string{
0: "ENGINE_UNSPECIFIED",
1: "GOOGLE_SQL",
2: "POSTGRESQL",
}
SpannerDatabaseReference_Engine_value = map[string]int32{
"ENGINE_UNSPECIFIED": 0,
"GOOGLE_SQL": 1,
"POSTGRESQL": 2,
}
)Enum value maps for SpannerDatabaseReference_Engine.
CloudSqlDatabaseReference_Engine_name, CloudSqlDatabaseReference_Engine_value
var (
CloudSqlDatabaseReference_Engine_name = map[int32]string{
0: "ENGINE_UNSPECIFIED",
1: "POSTGRESQL",
2: "MYSQL",
}
CloudSqlDatabaseReference_Engine_value = map[string]int32{
"ENGINE_UNSPECIFIED": 0,
"POSTGRESQL": 1,
"MYSQL": 2,
}
)Enum value maps for CloudSqlDatabaseReference_Engine.
DataA2AService_ServiceDesc
var DataA2AService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.geminidataanalytics.v1beta.DataA2AService",
HandlerType: (*DataA2AServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "SendMessage",
Handler: _DataA2AService_SendMessage_Handler,
},
{
MethodName: "GetAgentCard",
Handler: _DataA2AService_GetAgentCard_Handler,
},
},
Streams: []grpc.StreamDesc{
{
StreamName: "SendStreamingMessage",
Handler: _DataA2AService_SendStreamingMessage_Handler,
ServerStreams: true,
},
},
Metadata: "google/cloud/geminidataanalytics/v1beta/data_a2a_service.proto",
}DataA2AService_ServiceDesc is the grpc.ServiceDesc for DataA2AService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
DataAgentService_ServiceDesc
var DataAgentService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.geminidataanalytics.v1beta.DataAgentService",
HandlerType: (*DataAgentServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListDataAgents",
Handler: _DataAgentService_ListDataAgents_Handler,
},
{
MethodName: "ListAccessibleDataAgents",
Handler: _DataAgentService_ListAccessibleDataAgents_Handler,
},
{
MethodName: "GetDataAgent",
Handler: _DataAgentService_GetDataAgent_Handler,
},
{
MethodName: "CreateDataAgent",
Handler: _DataAgentService_CreateDataAgent_Handler,
},
{
MethodName: "CreateDataAgentSync",
Handler: _DataAgentService_CreateDataAgentSync_Handler,
},
{
MethodName: "UpdateDataAgent",
Handler: _DataAgentService_UpdateDataAgent_Handler,
},
{
MethodName: "UpdateDataAgentSync",
Handler: _DataAgentService_UpdateDataAgentSync_Handler,
},
{
MethodName: "DeleteDataAgent",
Handler: _DataAgentService_DeleteDataAgent_Handler,
},
{
MethodName: "DeleteDataAgentSync",
Handler: _DataAgentService_DeleteDataAgentSync_Handler,
},
{
MethodName: "GetIamPolicy",
Handler: _DataAgentService_GetIamPolicy_Handler,
},
{
MethodName: "SetIamPolicy",
Handler: _DataAgentService_SetIamPolicy_Handler,
},
{
MethodName: "SetAgentOpsObservability",
Handler: _DataAgentService_SetAgentOpsObservability_Handler,
},
{
MethodName: "RetrieveAgentOpsObservability",
Handler: _DataAgentService_RetrieveAgentOpsObservability_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "google/cloud/geminidataanalytics/v1beta/data_agent_service.proto",
}DataAgentService_ServiceDesc is the grpc.ServiceDesc for DataAgentService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
DataChatService_ServiceDesc
var DataChatService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "google.cloud.geminidataanalytics.v1beta.DataChatService",
HandlerType: (*DataChatServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "CreateConversation",
Handler: _DataChatService_CreateConversation_Handler,
},
{
MethodName: "DeleteConversation",
Handler: _DataChatService_DeleteConversation_Handler,
},
{
MethodName: "UpdateConversation",
Handler: _DataChatService_UpdateConversation_Handler,
},
{
MethodName: "GetConversation",
Handler: _DataChatService_GetConversation_Handler,
},
{
MethodName: "ListConversations",
Handler: _DataChatService_ListConversations_Handler,
},
{
MethodName: "ListMessages",
Handler: _DataChatService_ListMessages_Handler,
},
{
MethodName: "QueryData",
Handler: _DataChatService_QueryData_Handler,
},
},
Streams: []grpc.StreamDesc{
{
StreamName: "Chat",
Handler: _DataChatService_Chat_Handler,
ServerStreams: true,
},
},
Metadata: "google/cloud/geminidataanalytics/v1beta/data_chat_service.proto",
}DataChatService_ServiceDesc is the grpc.ServiceDesc for DataChatService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
File_google_cloud_geminidataanalytics_v1beta_agent_context_proto
var File_google_cloud_geminidataanalytics_v1beta_agent_context_proto protoreflect.FileDescriptorFile_google_cloud_geminidataanalytics_v1beta_context_proto
var File_google_cloud_geminidataanalytics_v1beta_context_proto protoreflect.FileDescriptorFile_google_cloud_geminidataanalytics_v1beta_conversation_proto
var File_google_cloud_geminidataanalytics_v1beta_conversation_proto protoreflect.FileDescriptorFile_google_cloud_geminidataanalytics_v1beta_credentials_proto
var File_google_cloud_geminidataanalytics_v1beta_credentials_proto protoreflect.FileDescriptorFile_google_cloud_geminidataanalytics_v1beta_data_a2a_service_proto
var File_google_cloud_geminidataanalytics_v1beta_data_a2a_service_proto protoreflect.FileDescriptorFile_google_cloud_geminidataanalytics_v1beta_data_agent_proto
var File_google_cloud_geminidataanalytics_v1beta_data_agent_proto protoreflect.FileDescriptorFile_google_cloud_geminidataanalytics_v1beta_data_agent_service_proto
var File_google_cloud_geminidataanalytics_v1beta_data_agent_service_proto protoreflect.FileDescriptorFile_google_cloud_geminidataanalytics_v1beta_data_analytics_agent_proto
var File_google_cloud_geminidataanalytics_v1beta_data_analytics_agent_proto protoreflect.FileDescriptorFile_google_cloud_geminidataanalytics_v1beta_data_chat_service_proto
var File_google_cloud_geminidataanalytics_v1beta_data_chat_service_proto protoreflect.FileDescriptorFile_google_cloud_geminidataanalytics_v1beta_datasource_proto
var File_google_cloud_geminidataanalytics_v1beta_datasource_proto protoreflect.FileDescriptorFile_google_cloud_geminidataanalytics_v1beta_usage_proto
var File_google_cloud_geminidataanalytics_v1beta_usage_proto protoreflect.FileDescriptorFunctions
func RegisterDataA2AServiceServer
func RegisterDataA2AServiceServer(s grpc.ServiceRegistrar, srv DataA2AServiceServer)func RegisterDataAgentServiceServer
func RegisterDataAgentServiceServer(s grpc.ServiceRegistrar, srv DataAgentServiceServer)func RegisterDataChatServiceServer
func RegisterDataChatServiceServer(s grpc.ServiceRegistrar, srv DataChatServiceServer)A2AArtifact
type A2AArtifact struct {
// Optional. Unique identifier (e.g. UUID) for the artifact.
ArtifactId string `protobuf:"bytes,1,opt,name=artifact_id,json=artifactId,proto3" json:"artifact_id,omitempty"`
// Optional. A human readable name for the artifact.
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// Optional. A human readable description of the artifact, optional.
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
// Optional. The content of the artifact.
Parts []*Part `protobuf:"bytes,5,rep,name=parts,proto3" json:"parts,omitempty"`
// Optional. Optional metadata included with the artifact.
Metadata *structpb.Struct `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
// Optional. The URIs of extensions that are present or contributed to this
// Artifact.
Extensions []string `protobuf:"bytes,7,rep,name=extensions,proto3" json:"extensions,omitempty"`
// contains filtered or unexported fields
}A2AArtifact is the container for task completed results.
func (*A2AArtifact) Descriptor
func (*A2AArtifact) Descriptor() ([]byte, []int)Deprecated: Use A2AArtifact.ProtoReflect.Descriptor instead.
func (*A2AArtifact) GetArtifactId
func (x *A2AArtifact) GetArtifactId() stringfunc (*A2AArtifact) GetDescription
func (x *A2AArtifact) GetDescription() stringfunc (*A2AArtifact) GetExtensions
func (x *A2AArtifact) GetExtensions() []stringfunc (*A2AArtifact) GetMetadata
func (x *A2AArtifact) GetMetadata() *structpb.Structfunc (*A2AArtifact) GetName
func (x *A2AArtifact) GetName() stringfunc (*A2AArtifact) GetParts
func (x *A2AArtifact) GetParts() []*Partfunc (*A2AArtifact) ProtoMessage
func (*A2AArtifact) ProtoMessage()func (*A2AArtifact) ProtoReflect
func (x *A2AArtifact) ProtoReflect() protoreflect.Messagefunc (*A2AArtifact) Reset
func (x *A2AArtifact) Reset()func (*A2AArtifact) String
func (x *A2AArtifact) String() stringA2AMessage
type A2AMessage struct {
// Optional. The unique identifier (e.g. UUID) of the message.
MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
// Optional. The context id of the message.
ContextId string `protobuf:"bytes,2,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"`
// Optional. The task id of the message.
TaskId string `protobuf:"bytes,3,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
// Optional. A role for the message.
Role Role `protobuf:"varint,4,opt,name=role,proto3,enum=google.cloud.geminidataanalytics.v1beta.Role" json:"role,omitempty"`
// Optional. Content is the container of the message content.
Content []*Part `protobuf:"bytes,5,rep,name=content,proto3" json:"content,omitempty"`
// Optional. Any optional metadata to provide along with the message.
Metadata *structpb.Struct `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
// Optional. The URIs of extensions that are present or contributed to this
// Message.
Extensions []string `protobuf:"bytes,7,rep,name=extensions,proto3" json:"extensions,omitempty"`
// contains filtered or unexported fields
}A2AMessage is one unit of communication between client and server.
func (*A2AMessage) Descriptor
func (*A2AMessage) Descriptor() ([]byte, []int)Deprecated: Use A2AMessage.ProtoReflect.Descriptor instead.
func (*A2AMessage) GetContent
func (x *A2AMessage) GetContent() []*Partfunc (*A2AMessage) GetContextId
func (x *A2AMessage) GetContextId() stringfunc (*A2AMessage) GetExtensions
func (x *A2AMessage) GetExtensions() []stringfunc (*A2AMessage) GetMessageId
func (x *A2AMessage) GetMessageId() stringfunc (*A2AMessage) GetMetadata
func (x *A2AMessage) GetMetadata() *structpb.Structfunc (*A2AMessage) GetRole
func (x *A2AMessage) GetRole() Rolefunc (*A2AMessage) GetTaskId
func (x *A2AMessage) GetTaskId() stringfunc (*A2AMessage) ProtoMessage
func (*A2AMessage) ProtoMessage()func (*A2AMessage) ProtoReflect
func (x *A2AMessage) ProtoReflect() protoreflect.Messagefunc (*A2AMessage) Reset
func (x *A2AMessage) Reset()func (*A2AMessage) String
func (x *A2AMessage) String() stringA2ATask
type A2ATask struct {
// Optional. Unique identifier (e.g. UUID) for the task, generated by the
// server for a new task.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Optional. Unique identifier (e.g. UUID) for the contextual collection of
// interactions (tasks and messages). Created by the A2A server.
ContextId string `protobuf:"bytes,2,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"`
// Optional. The current status of a Task, including state and a message.
Status *TaskStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
// Optional. A set of output artifacts for a Task.
Artifacts []*A2AArtifact `protobuf:"bytes,4,rep,name=artifacts,proto3" json:"artifacts,omitempty"`
// Optional. The history of interactions from a task.
History []*A2AMessage `protobuf:"bytes,5,rep,name=history,proto3" json:"history,omitempty"`
// Optional. A key/value object to store custom metadata about a task.
Metadata *structpb.Struct `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
// contains filtered or unexported fields
}A2ATask is the core unit of action for A2A. It has a current status and when results are created for the task they are stored in the artifact. If there are multiple turns for a task, these are stored in history.
func (*A2ATask) Descriptor
Deprecated: Use A2ATask.ProtoReflect.Descriptor instead.
func (*A2ATask) GetArtifacts
func (x *A2ATask) GetArtifacts() []*A2AArtifactfunc (*A2ATask) GetContextId
func (*A2ATask) GetHistory
func (x *A2ATask) GetHistory() []*A2AMessagefunc (*A2ATask) GetId
func (*A2ATask) GetMetadata
func (*A2ATask) GetStatus
func (x *A2ATask) GetStatus() *TaskStatusfunc (*A2ATask) ProtoMessage
func (*A2ATask) ProtoMessage()func (*A2ATask) ProtoReflect
func (x *A2ATask) ProtoReflect() protoreflect.Messagefunc (*A2ATask) Reset
func (x *A2ATask) Reset()func (*A2ATask) String
APIKeySecurityScheme
type APIKeySecurityScheme struct {
// Optional. Description of this security scheme.
Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
// Optional. Location of the API key, valid values are "query", "header", or
// "cookie".
Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
// Optional. Name of the header, query or cookie parameter to be used.
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}APIKeySecurityScheme defines an API key security scheme.
func (*APIKeySecurityScheme) Descriptor
func (*APIKeySecurityScheme) Descriptor() ([]byte, []int)Deprecated: Use APIKeySecurityScheme.ProtoReflect.Descriptor instead.
func (*APIKeySecurityScheme) GetDescription
func (x *APIKeySecurityScheme) GetDescription() stringfunc (*APIKeySecurityScheme) GetLocation
func (x *APIKeySecurityScheme) GetLocation() stringfunc (*APIKeySecurityScheme) GetName
func (x *APIKeySecurityScheme) GetName() stringfunc (*APIKeySecurityScheme) ProtoMessage
func (*APIKeySecurityScheme) ProtoMessage()func (*APIKeySecurityScheme) ProtoReflect
func (x *APIKeySecurityScheme) ProtoReflect() protoreflect.Messagefunc (*APIKeySecurityScheme) Reset
func (x *APIKeySecurityScheme) Reset()func (*APIKeySecurityScheme) String
func (x *APIKeySecurityScheme) String() stringAgentCapabilities
type AgentCapabilities struct {
// Optional. If the agent will support streaming responses.
Streaming bool `protobuf:"varint,1,opt,name=streaming,proto3" json:"streaming,omitempty"`
// Optional. If the agent can send push notifications to the client's webhook.
PushNotifications bool `protobuf:"varint,2,opt,name=push_notifications,json=pushNotifications,proto3" json:"push_notifications,omitempty"`
// Optional. Extensions supported by this agent.
Extensions []*AgentExtension `protobuf:"bytes,3,rep,name=extensions,proto3" json:"extensions,omitempty"`
// contains filtered or unexported fields
}Defines the A2A feature set supported by the agent.
func (*AgentCapabilities) Descriptor
func (*AgentCapabilities) Descriptor() ([]byte, []int)Deprecated: Use AgentCapabilities.ProtoReflect.Descriptor instead.
func (*AgentCapabilities) GetExtensions
func (x *AgentCapabilities) GetExtensions() []*AgentExtensionfunc (*AgentCapabilities) GetPushNotifications
func (x *AgentCapabilities) GetPushNotifications() boolfunc (*AgentCapabilities) GetStreaming
func (x *AgentCapabilities) GetStreaming() boolfunc (*AgentCapabilities) ProtoMessage
func (*AgentCapabilities) ProtoMessage()func (*AgentCapabilities) ProtoReflect
func (x *AgentCapabilities) ProtoReflect() protoreflect.Messagefunc (*AgentCapabilities) Reset
func (x *AgentCapabilities) Reset()func (*AgentCapabilities) String
func (x *AgentCapabilities) String() stringAgentCard
type AgentCard struct {
// Optional. The version of the A2A protocol this agent supports.
ProtocolVersion string `protobuf:"bytes,16,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"`
// Optional. A human readable name for the agent.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. A description of the agent's domain of action/solution space.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// Optional. A URL to the address the agent is hosted at.
Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
// Optional. The transport of the preferred endpoint. If empty, defaults to
// JSONRPC.
PreferredTransport string `protobuf:"bytes,14,opt,name=preferred_transport,json=preferredTransport,proto3" json:"preferred_transport,omitempty"`
// Optional. Announcement of additional supported transports.
AdditionalInterfaces []*AgentInterface `protobuf:"bytes,15,rep,name=additional_interfaces,json=additionalInterfaces,proto3" json:"additional_interfaces,omitempty"`
// Optional. The service provider of the agent.
Provider *AgentProvider `protobuf:"bytes,4,opt,name=provider,proto3" json:"provider,omitempty"`
// Optional. The version of the agent.
Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
// Optional. A url to provide additional documentation about the agent.
DocumentationUrl string `protobuf:"bytes,6,opt,name=documentation_url,json=documentationUrl,proto3" json:"documentation_url,omitempty"`
// Optional. A2A Capability set supported by the agent.
Capabilities *AgentCapabilities `protobuf:"bytes,7,opt,name=capabilities,proto3" json:"capabilities,omitempty"`
// The security scheme details used for authenticating with this agent.
SecuritySchemes map[string]*SecurityScheme `protobuf:"bytes,8,rep,name=security_schemes,json=securitySchemes,proto3" json:"security_schemes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Security requirements for contacting the agent.
Security []*Security `protobuf:"bytes,9,rep,name=security,proto3" json:"security,omitempty"`
// Optional. The set of interaction modes that the agent supports across all
// skills.
DefaultInputModes []string `protobuf:"bytes,10,rep,name=default_input_modes,json=defaultInputModes,proto3" json:"default_input_modes,omitempty"`
// Optional. The mime types supported as outputs from this agent.
DefaultOutputModes []string `protobuf:"bytes,11,rep,name=default_output_modes,json=defaultOutputModes,proto3" json:"default_output_modes,omitempty"`
// Optional. Skills represent a unit of ability an agent can perform.
Skills []*AgentSkill `protobuf:"bytes,12,rep,name=skills,proto3" json:"skills,omitempty"`
// Optional. Whether the agent supports providing an extended agent card when
// the user is authenticated.
SupportsAuthenticatedExtendedCard bool `protobuf:"varint,13,opt,name=supports_authenticated_extended_card,json=supportsAuthenticatedExtendedCard,proto3" json:"supports_authenticated_extended_card,omitempty"`
// Optional. JSON Web Signatures computed for this AgentCard.
Signatures []*AgentCardSignature `protobuf:"bytes,17,rep,name=signatures,proto3" json:"signatures,omitempty"`
// Optional. An optional URL to an icon for the agent.
IconUrl string `protobuf:"bytes,18,opt,name=icon_url,json=iconUrl,proto3" json:"icon_url,omitempty"`
// contains filtered or unexported fields
}AgentCard conveys key information about an agent.
func (*AgentCard) Descriptor
Deprecated: Use AgentCard.ProtoReflect.Descriptor instead.
func (*AgentCard) GetAdditionalInterfaces
func (x *AgentCard) GetAdditionalInterfaces() []*AgentInterfacefunc (*AgentCard) GetCapabilities
func (x *AgentCard) GetCapabilities() *AgentCapabilitiesfunc (*AgentCard) GetDefaultInputModes
func (*AgentCard) GetDefaultOutputModes
func (*AgentCard) GetDescription
func (*AgentCard) GetDocumentationUrl
func (*AgentCard) GetIconUrl
func (*AgentCard) GetName
func (*AgentCard) GetPreferredTransport
func (*AgentCard) GetProtocolVersion
func (*AgentCard) GetProvider
func (x *AgentCard) GetProvider() *AgentProviderfunc (*AgentCard) GetSecurity
func (*AgentCard) GetSecuritySchemes
func (x *AgentCard) GetSecuritySchemes() map[string]*SecuritySchemefunc (*AgentCard) GetSignatures
func (x *AgentCard) GetSignatures() []*AgentCardSignaturefunc (*AgentCard) GetSkills
func (x *AgentCard) GetSkills() []*AgentSkillfunc (*AgentCard) GetSupportsAuthenticatedExtendedCard
func (*AgentCard) GetUrl
func (*AgentCard) GetVersion
func (*AgentCard) ProtoMessage
func (*AgentCard) ProtoMessage()func (*AgentCard) ProtoReflect
func (x *AgentCard) ProtoReflect() protoreflect.Messagefunc (*AgentCard) Reset
func (x *AgentCard) Reset()func (*AgentCard) String
AgentCardSignature
type AgentCardSignature struct {
// Required. The protected JWS header for the signature. Base64url-encoded.
Protected string `protobuf:"bytes,1,opt,name=protected,proto3" json:"protected,omitempty"`
// Required. The computed signature, base64url-encoded.
Signature string `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
// Optional. The unprotected JWS header values.
Header *structpb.Struct `protobuf:"bytes,3,opt,name=header,proto3" json:"header,omitempty"`
// contains filtered or unexported fields
}AgentCardSignature represents a JWS signature of an AgentCard.
func (*AgentCardSignature) Descriptor
func (*AgentCardSignature) Descriptor() ([]byte, []int)Deprecated: Use AgentCardSignature.ProtoReflect.Descriptor instead.
func (*AgentCardSignature) GetHeader
func (x *AgentCardSignature) GetHeader() *structpb.Structfunc (*AgentCardSignature) GetProtected
func (x *AgentCardSignature) GetProtected() stringfunc (*AgentCardSignature) GetSignature
func (x *AgentCardSignature) GetSignature() stringfunc (*AgentCardSignature) ProtoMessage
func (*AgentCardSignature) ProtoMessage()func (*AgentCardSignature) ProtoReflect
func (x *AgentCardSignature) ProtoReflect() protoreflect.Messagefunc (*AgentCardSignature) Reset
func (x *AgentCardSignature) Reset()func (*AgentCardSignature) String
func (x *AgentCardSignature) String() stringAgentContextReference
type AgentContextReference struct {
// Required. Context set ID to retrieve.
ContextSetId string `protobuf:"bytes,1,opt,name=context_set_id,json=contextSetId,proto3" json:"context_set_id,omitempty"`
// contains filtered or unexported fields
}Message representing a reference to Agent Context.
func (*AgentContextReference) Descriptor
func (*AgentContextReference) Descriptor() ([]byte, []int)Deprecated: Use AgentContextReference.ProtoReflect.Descriptor instead.
func (*AgentContextReference) GetContextSetId
func (x *AgentContextReference) GetContextSetId() stringfunc (*AgentContextReference) ProtoMessage
func (*AgentContextReference) ProtoMessage()func (*AgentContextReference) ProtoReflect
func (x *AgentContextReference) ProtoReflect() protoreflect.Messagefunc (*AgentContextReference) Reset
func (x *AgentContextReference) Reset()func (*AgentContextReference) String
func (x *AgentContextReference) String() stringAgentExtension
type AgentExtension struct {
// Optional. The URI of the extension.
Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
// Optional. A description of how this agent uses this extension.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// Optional. Whether the client must follow specific requirements of the
// extension.
Required bool `protobuf:"varint,3,opt,name=required,proto3" json:"required,omitempty"`
// Optional. Optional configuration for the extension.
Params *structpb.Struct `protobuf:"bytes,4,opt,name=params,proto3" json:"params,omitempty"`
// contains filtered or unexported fields
}A declaration of an extension supported by an Agent.
func (*AgentExtension) Descriptor
func (*AgentExtension) Descriptor() ([]byte, []int)Deprecated: Use AgentExtension.ProtoReflect.Descriptor instead.
func (*AgentExtension) GetDescription
func (x *AgentExtension) GetDescription() stringfunc (*AgentExtension) GetParams
func (x *AgentExtension) GetParams() *structpb.Structfunc (*AgentExtension) GetRequired
func (x *AgentExtension) GetRequired() boolfunc (*AgentExtension) GetUri
func (x *AgentExtension) GetUri() stringfunc (*AgentExtension) ProtoMessage
func (*AgentExtension) ProtoMessage()func (*AgentExtension) ProtoReflect
func (x *AgentExtension) ProtoReflect() protoreflect.Messagefunc (*AgentExtension) Reset
func (x *AgentExtension) Reset()func (*AgentExtension) String
func (x *AgentExtension) String() stringAgentInterface
type AgentInterface struct {
// Optional. The url this interface is found at.
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
// Optional. The transport supported at this url.
Transport string `protobuf:"bytes,2,opt,name=transport,proto3" json:"transport,omitempty"`
// Optional. Tenant to be set in the request when calling the agent.
Tenant string `protobuf:"bytes,3,opt,name=tenant,proto3" json:"tenant,omitempty"`
// contains filtered or unexported fields
}Defines additional transport information for the agent.
func (*AgentInterface) Descriptor
func (*AgentInterface) Descriptor() ([]byte, []int)Deprecated: Use AgentInterface.ProtoReflect.Descriptor instead.
func (*AgentInterface) GetTenant
func (x *AgentInterface) GetTenant() stringfunc (*AgentInterface) GetTransport
func (x *AgentInterface) GetTransport() stringfunc (*AgentInterface) GetUrl
func (x *AgentInterface) GetUrl() stringfunc (*AgentInterface) ProtoMessage
func (*AgentInterface) ProtoMessage()func (*AgentInterface) ProtoReflect
func (x *AgentInterface) ProtoReflect() protoreflect.Messagefunc (*AgentInterface) Reset
func (x *AgentInterface) Reset()func (*AgentInterface) String
func (x *AgentInterface) String() stringAgentProvider
type AgentProvider struct {
// Optional. The provider's reference url.
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
// Optional. The provider's organization name.
Organization string `protobuf:"bytes,2,opt,name=organization,proto3" json:"organization,omitempty"`
// contains filtered or unexported fields
}Represents information about the service provider of an agent.
func (*AgentProvider) Descriptor
func (*AgentProvider) Descriptor() ([]byte, []int)Deprecated: Use AgentProvider.ProtoReflect.Descriptor instead.
func (*AgentProvider) GetOrganization
func (x *AgentProvider) GetOrganization() stringfunc (*AgentProvider) GetUrl
func (x *AgentProvider) GetUrl() stringfunc (*AgentProvider) ProtoMessage
func (*AgentProvider) ProtoMessage()func (*AgentProvider) ProtoReflect
func (x *AgentProvider) ProtoReflect() protoreflect.Messagefunc (*AgentProvider) Reset
func (x *AgentProvider) Reset()func (*AgentProvider) String
func (x *AgentProvider) String() stringAgentSkill
type AgentSkill struct {
// Optional. Unique identifier of the skill within this agent.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Optional. A human readable name for the skill.
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Optional. A human readable description of the skill details and behaviors.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Optional. A set of tags for the skill to enhance
// categorization/utilization.
Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"`
// Optional. A set of example queries that this skill is designed to address.
Examples []string `protobuf:"bytes,5,rep,name=examples,proto3" json:"examples,omitempty"`
// Optional. Possible input modalities supported.
InputModes []string `protobuf:"bytes,6,rep,name=input_modes,json=inputModes,proto3" json:"input_modes,omitempty"`
// Optional. Possible output modalities produced.
OutputModes []string `protobuf:"bytes,7,rep,name=output_modes,json=outputModes,proto3" json:"output_modes,omitempty"`
// Security schemes necessary for the agent to leverage this skill.
Security []*Security `protobuf:"bytes,8,rep,name=security,proto3" json:"security,omitempty"`
// contains filtered or unexported fields
}AgentSkill represents a unit of action/solution that the agent can perform.
func (*AgentSkill) Descriptor
func (*AgentSkill) Descriptor() ([]byte, []int)Deprecated: Use AgentSkill.ProtoReflect.Descriptor instead.
func (*AgentSkill) GetDescription
func (x *AgentSkill) GetDescription() stringfunc (*AgentSkill) GetExamples
func (x *AgentSkill) GetExamples() []stringfunc (*AgentSkill) GetId
func (x *AgentSkill) GetId() stringfunc (*AgentSkill) GetInputModes
func (x *AgentSkill) GetInputModes() []stringfunc (*AgentSkill) GetName
func (x *AgentSkill) GetName() stringfunc (*AgentSkill) GetOutputModes
func (x *AgentSkill) GetOutputModes() []stringfunc (*AgentSkill) GetSecurity
func (x *AgentSkill) GetSecurity() []*Securityfunc (*AgentSkill) GetTags
func (x *AgentSkill) GetTags() []stringfunc (*AgentSkill) ProtoMessage
func (*AgentSkill) ProtoMessage()func (*AgentSkill) ProtoReflect
func (x *AgentSkill) ProtoReflect() protoreflect.Messagefunc (*AgentSkill) Reset
func (x *AgentSkill) Reset()func (*AgentSkill) String
func (x *AgentSkill) String() stringAlloyDbDatabaseReference
type AlloyDbDatabaseReference struct {
// Required. The project the instance belongs to.
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
// Required. The region of the instance.
Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"`
// Required. The cluster id.
ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
// Required. The instance id.
InstanceId string `protobuf:"bytes,4,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
// Required. The database id.
DatabaseId string `protobuf:"bytes,5,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
// Optional. The table ids. Denotes all tables if unset.
TableIds []string `protobuf:"bytes,6,rep,name=table_ids,json=tableIds,proto3" json:"table_ids,omitempty"`
// Optional. References to tables within the database. Each reference
// specifies a table and can optionally include the table's schema to provide
// context for the query.
DatabaseTableReferences []*DatabaseTableReference `protobuf:"bytes,7,rep,name=database_table_references,json=databaseTableReferences,proto3" json:"database_table_references,omitempty"`
// contains filtered or unexported fields
}Message representing a reference to a single AlloyDB database.
func (*AlloyDbDatabaseReference) Descriptor
func (*AlloyDbDatabaseReference) Descriptor() ([]byte, []int)Deprecated: Use AlloyDbDatabaseReference.ProtoReflect.Descriptor instead.
func (*AlloyDbDatabaseReference) GetClusterId
func (x *AlloyDbDatabaseReference) GetClusterId() stringfunc (*AlloyDbDatabaseReference) GetDatabaseId
func (x *AlloyDbDatabaseReference) GetDatabaseId() stringfunc (*AlloyDbDatabaseReference) GetDatabaseTableReferences
func (x *AlloyDbDatabaseReference) GetDatabaseTableReferences() []*DatabaseTableReferencefunc (*AlloyDbDatabaseReference) GetInstanceId
func (x *AlloyDbDatabaseReference) GetInstanceId() stringfunc (*AlloyDbDatabaseReference) GetProjectId
func (x *AlloyDbDatabaseReference) GetProjectId() stringfunc (*AlloyDbDatabaseReference) GetRegion
func (x *AlloyDbDatabaseReference) GetRegion() stringfunc (*AlloyDbDatabaseReference) GetTableIds
func (x *AlloyDbDatabaseReference) GetTableIds() []stringfunc (*AlloyDbDatabaseReference) ProtoMessage
func (*AlloyDbDatabaseReference) ProtoMessage()func (*AlloyDbDatabaseReference) ProtoReflect
func (x *AlloyDbDatabaseReference) ProtoReflect() protoreflect.Messagefunc (*AlloyDbDatabaseReference) Reset
func (x *AlloyDbDatabaseReference) Reset()func (*AlloyDbDatabaseReference) String
func (x *AlloyDbDatabaseReference) String() stringAlloyDbReference
type AlloyDbReference struct {
// Required. Singular proto that supports specifying which database and tables
// to include.
DatabaseReference *AlloyDbDatabaseReference `protobuf:"bytes,1,opt,name=database_reference,json=databaseReference,proto3" json:"database_reference,omitempty"`
// Optional. Parameters for retrieving data from Agent Context.
AgentContextReference *AgentContextReference `protobuf:"bytes,3,opt,name=agent_context_reference,json=agentContextReference,proto3" json:"agent_context_reference,omitempty"`
// contains filtered or unexported fields
}Message representing reference to an AlloyDB database and agent context.
Only supported for the QueryData method.
func (*AlloyDbReference) Descriptor
func (*AlloyDbReference) Descriptor() ([]byte, []int)Deprecated: Use AlloyDbReference.ProtoReflect.Descriptor instead.
func (*AlloyDbReference) GetAgentContextReference
func (x *AlloyDbReference) GetAgentContextReference() *AgentContextReferencefunc (*AlloyDbReference) GetDatabaseReference
func (x *AlloyDbReference) GetDatabaseReference() *AlloyDbDatabaseReferencefunc (*AlloyDbReference) ProtoMessage
func (*AlloyDbReference) ProtoMessage()func (*AlloyDbReference) ProtoReflect
func (x *AlloyDbReference) ProtoReflect() protoreflect.Messagefunc (*AlloyDbReference) Reset
func (x *AlloyDbReference) Reset()func (*AlloyDbReference) String
func (x *AlloyDbReference) String() stringAnalysisEvent
type AnalysisEvent struct {
// The kind of event that occurred during the analysis.
//
// Types that are valid to be assigned to Kind:
//
// *AnalysisEvent_PlannerReasoning
// *AnalysisEvent_CoderInstruction
// *AnalysisEvent_Code
// *AnalysisEvent_ExecutionOutput
// *AnalysisEvent_ExecutionError
// *AnalysisEvent_ResultVegaChartJson
// *AnalysisEvent_ResultNaturalLanguage
// *AnalysisEvent_ResultCsvData
// *AnalysisEvent_ResultReferenceData
// *AnalysisEvent_Error
Kind isAnalysisEvent_Kind `protobuf_oneof:"kind"`
// contains filtered or unexported fields
}An event indicating the progress of an analysis.
func (*AnalysisEvent) Descriptor
func (*AnalysisEvent) Descriptor() ([]byte, []int)Deprecated: Use AnalysisEvent.ProtoReflect.Descriptor instead.
func (*AnalysisEvent) GetCode
func (x *AnalysisEvent) GetCode() stringfunc (*AnalysisEvent) GetCoderInstruction
func (x *AnalysisEvent) GetCoderInstruction() stringfunc (*AnalysisEvent) GetError
func (x *AnalysisEvent) GetError() stringfunc (*AnalysisEvent) GetExecutionError
func (x *AnalysisEvent) GetExecutionError() stringfunc (*AnalysisEvent) GetExecutionOutput
func (x *AnalysisEvent) GetExecutionOutput() stringfunc (*AnalysisEvent) GetKind
func (x *AnalysisEvent) GetKind() isAnalysisEvent_Kindfunc (*AnalysisEvent) GetPlannerReasoning
func (x *AnalysisEvent) GetPlannerReasoning() stringfunc (*AnalysisEvent) GetResultCsvData
func (x *AnalysisEvent) GetResultCsvData() stringfunc (*AnalysisEvent) GetResultNaturalLanguage
func (x *AnalysisEvent) GetResultNaturalLanguage() stringfunc (*AnalysisEvent) GetResultReferenceData
func (x *AnalysisEvent) GetResultReferenceData() stringfunc (*AnalysisEvent) GetResultVegaChartJson
func (x *AnalysisEvent) GetResultVegaChartJson() stringfunc (*AnalysisEvent) ProtoMessage
func (*AnalysisEvent) ProtoMessage()func (*AnalysisEvent) ProtoReflect
func (x *AnalysisEvent) ProtoReflect() protoreflect.Messagefunc (*AnalysisEvent) Reset
func (x *AnalysisEvent) Reset()func (*AnalysisEvent) String
func (x *AnalysisEvent) String() stringAnalysisEvent_Code
type AnalysisEvent_Code struct {
// Generated code.
Code string `protobuf:"bytes,4,opt,name=code,proto3,oneof"`
}AnalysisEvent_CoderInstruction
type AnalysisEvent_CoderInstruction struct {
// Instructions issued for code generation.
CoderInstruction string `protobuf:"bytes,3,opt,name=coder_instruction,json=coderInstruction,proto3,oneof"`
}AnalysisEvent_Error
type AnalysisEvent_Error struct {
// A generic error message.
Error string `protobuf:"bytes,11,opt,name=error,proto3,oneof"`
}AnalysisEvent_ExecutionError
type AnalysisEvent_ExecutionError struct {
// An error from code execution.
ExecutionError string `protobuf:"bytes,6,opt,name=execution_error,json=executionError,proto3,oneof"`
}AnalysisEvent_ExecutionOutput
type AnalysisEvent_ExecutionOutput struct {
// Output from code execution.
ExecutionOutput string `protobuf:"bytes,5,opt,name=execution_output,json=executionOutput,proto3,oneof"`
}AnalysisEvent_PlannerReasoning
type AnalysisEvent_PlannerReasoning struct {
// Python codegen planner's reasoning.
PlannerReasoning string `protobuf:"bytes,2,opt,name=planner_reasoning,json=plannerReasoning,proto3,oneof"`
}AnalysisEvent_ResultCsvData
type AnalysisEvent_ResultCsvData struct {
// Result as CSV string.
ResultCsvData string `protobuf:"bytes,9,opt,name=result_csv_data,json=resultCsvData,proto3,oneof"`
}AnalysisEvent_ResultNaturalLanguage
type AnalysisEvent_ResultNaturalLanguage struct {
// Result as NL string.
ResultNaturalLanguage string `protobuf:"bytes,8,opt,name=result_natural_language,json=resultNaturalLanguage,proto3,oneof"`
}AnalysisEvent_ResultReferenceData
type AnalysisEvent_ResultReferenceData struct {
// Result as a reference to a data source.
ResultReferenceData string `protobuf:"bytes,10,opt,name=result_reference_data,json=resultReferenceData,proto3,oneof"`
}AnalysisEvent_ResultVegaChartJson
type AnalysisEvent_ResultVegaChartJson struct {
// Result as Vega chart JSON string.
ResultVegaChartJson string `protobuf:"bytes,7,opt,name=result_vega_chart_json,json=resultVegaChartJson,proto3,oneof"`
}AnalysisMessage
type AnalysisMessage struct {
// Whether this message contains the query or one of the events from the
// analysis.
//
// Types that are valid to be assigned to Kind:
//
// *AnalysisMessage_Query
// *AnalysisMessage_ProgressEvent
Kind isAnalysisMessage_Kind `protobuf_oneof:"kind"`
// contains filtered or unexported fields
}A message produced during analysis.
func (*AnalysisMessage) Descriptor
func (*AnalysisMessage) Descriptor() ([]byte, []int)Deprecated: Use AnalysisMessage.ProtoReflect.Descriptor instead.
func (*AnalysisMessage) GetKind
func (x *AnalysisMessage) GetKind() isAnalysisMessage_Kindfunc (*AnalysisMessage) GetProgressEvent
func (x *AnalysisMessage) GetProgressEvent() *AnalysisEventfunc (*AnalysisMessage) GetQuery
func (x *AnalysisMessage) GetQuery() *AnalysisQueryfunc (*AnalysisMessage) ProtoMessage
func (*AnalysisMessage) ProtoMessage()func (*AnalysisMessage) ProtoReflect
func (x *AnalysisMessage) ProtoReflect() protoreflect.Messagefunc (*AnalysisMessage) Reset
func (x *AnalysisMessage) Reset()func (*AnalysisMessage) String
func (x *AnalysisMessage) String() stringAnalysisMessage_ProgressEvent
type AnalysisMessage_ProgressEvent struct {
// An event indicating the progress of the analysis.
ProgressEvent *AnalysisEvent `protobuf:"bytes,2,opt,name=progress_event,json=progressEvent,proto3,oneof"`
}AnalysisMessage_Query
type AnalysisMessage_Query struct {
// An analysis query.
Query *AnalysisQuery `protobuf:"bytes,1,opt,name=query,proto3,oneof"`
}AnalysisOptions
type AnalysisOptions struct {
// Optional. Options for Python analysis.
Python *AnalysisOptions_Python `protobuf:"bytes,1,opt,name=python,proto3" json:"python,omitempty"`
// contains filtered or unexported fields
}Options for analysis.
func (*AnalysisOptions) Descriptor
func (*AnalysisOptions) Descriptor() ([]byte, []int)Deprecated: Use AnalysisOptions.ProtoReflect.Descriptor instead.
func (*AnalysisOptions) GetPython
func (x *AnalysisOptions) GetPython() *AnalysisOptions_Pythonfunc (*AnalysisOptions) ProtoMessage
func (*AnalysisOptions) ProtoMessage()func (*AnalysisOptions) ProtoReflect
func (x *AnalysisOptions) ProtoReflect() protoreflect.Messagefunc (*AnalysisOptions) Reset
func (x *AnalysisOptions) Reset()func (*AnalysisOptions) String
func (x *AnalysisOptions) String() stringAnalysisOptions_Python
type AnalysisOptions_Python struct {
// Optional. Whether to enable Python analysis.
// Defaults to false.
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
// contains filtered or unexported fields
}Options for Python analysis.
func (*AnalysisOptions_Python) Descriptor
func (*AnalysisOptions_Python) Descriptor() ([]byte, []int)Deprecated: Use AnalysisOptions_Python.ProtoReflect.Descriptor instead.
func (*AnalysisOptions_Python) GetEnabled
func (x *AnalysisOptions_Python) GetEnabled() boolfunc (*AnalysisOptions_Python) ProtoMessage
func (*AnalysisOptions_Python) ProtoMessage()func (*AnalysisOptions_Python) ProtoReflect
func (x *AnalysisOptions_Python) ProtoReflect() protoreflect.Messagefunc (*AnalysisOptions_Python) Reset
func (x *AnalysisOptions_Python) Reset()func (*AnalysisOptions_Python) String
func (x *AnalysisOptions_Python) String() stringAnalysisQuery
type AnalysisQuery struct {
// Optional. An analysis question to help answer the user's original question.
Question string `protobuf:"bytes,1,opt,name=question,proto3" json:"question,omitempty"`
// Optional. The names of previously retrieved data results to analyze.
DataResultNames []string `protobuf:"bytes,2,rep,name=data_result_names,json=dataResultNames,proto3" json:"data_result_names,omitempty"`
// contains filtered or unexported fields
}A query for performing an analysis.
func (*AnalysisQuery) Descriptor
func (*AnalysisQuery) Descriptor() ([]byte, []int)Deprecated: Use AnalysisQuery.ProtoReflect.Descriptor instead.
func (*AnalysisQuery) GetDataResultNames
func (x *AnalysisQuery) GetDataResultNames() []stringfunc (*AnalysisQuery) GetQuestion
func (x *AnalysisQuery) GetQuestion() stringfunc (*AnalysisQuery) ProtoMessage
func (*AnalysisQuery) ProtoMessage()func (*AnalysisQuery) ProtoReflect
func (x *AnalysisQuery) ProtoReflect() protoreflect.Messagefunc (*AnalysisQuery) Reset
func (x *AnalysisQuery) Reset()func (*AnalysisQuery) String
func (x *AnalysisQuery) String() stringAuthenticationInfo
type AuthenticationInfo struct {
// Optional. Supported authentication schemes - e.g. Basic, Bearer, etc.
Schemes []string `protobuf:"bytes,1,rep,name=schemes,proto3" json:"schemes,omitempty"`
// Optional. Optional credentials.
Credentials string `protobuf:"bytes,2,opt,name=credentials,proto3" json:"credentials,omitempty"`
// contains filtered or unexported fields
}Defines authentication details, used for push notifications.
func (*AuthenticationInfo) Descriptor
func (*AuthenticationInfo) Descriptor() ([]byte, []int)Deprecated: Use AuthenticationInfo.ProtoReflect.Descriptor instead.
func (*AuthenticationInfo) GetCredentials
func (x *AuthenticationInfo) GetCredentials() stringfunc (*AuthenticationInfo) GetSchemes
func (x *AuthenticationInfo) GetSchemes() []stringfunc (*AuthenticationInfo) ProtoMessage
func (*AuthenticationInfo) ProtoMessage()func (*AuthenticationInfo) ProtoReflect
func (x *AuthenticationInfo) ProtoReflect() protoreflect.Messagefunc (*AuthenticationInfo) Reset
func (x *AuthenticationInfo) Reset()func (*AuthenticationInfo) String
func (x *AuthenticationInfo) String() stringAuthorizationCodeOAuthFlow
type AuthorizationCodeOAuthFlow struct {
// Optional. The authorization URL to be used for this flow.
AuthorizationUrl string `protobuf:"bytes,1,opt,name=authorization_url,json=authorizationUrl,proto3" json:"authorization_url,omitempty"`
// Optional. The token URL to be used for this flow.
TokenUrl string `protobuf:"bytes,2,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"`
// Optional. The URL to be used for obtaining refresh tokens.
RefreshUrl string `protobuf:"bytes,3,opt,name=refresh_url,json=refreshUrl,proto3" json:"refresh_url,omitempty"`
// The available scopes for the OAuth2 security scheme.
Scopes map[string]string `protobuf:"bytes,4,rep,name=scopes,proto3" json:"scopes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// contains filtered or unexported fields
}AuthorizationCodeOAuthFlow defines an authorization code OAuth flow.
func (*AuthorizationCodeOAuthFlow) Descriptor
func (*AuthorizationCodeOAuthFlow) Descriptor() ([]byte, []int)Deprecated: Use AuthorizationCodeOAuthFlow.ProtoReflect.Descriptor instead.
func (*AuthorizationCodeOAuthFlow) GetAuthorizationUrl
func (x *AuthorizationCodeOAuthFlow) GetAuthorizationUrl() stringfunc (*AuthorizationCodeOAuthFlow) GetRefreshUrl
func (x *AuthorizationCodeOAuthFlow) GetRefreshUrl() stringfunc (*AuthorizationCodeOAuthFlow) GetScopes
func (x *AuthorizationCodeOAuthFlow) GetScopes() map[string]stringfunc (*AuthorizationCodeOAuthFlow) GetTokenUrl
func (x *AuthorizationCodeOAuthFlow) GetTokenUrl() stringfunc (*AuthorizationCodeOAuthFlow) ProtoMessage
func (*AuthorizationCodeOAuthFlow) ProtoMessage()func (*AuthorizationCodeOAuthFlow) ProtoReflect
func (x *AuthorizationCodeOAuthFlow) ProtoReflect() protoreflect.Messagefunc (*AuthorizationCodeOAuthFlow) Reset
func (x *AuthorizationCodeOAuthFlow) Reset()func (*AuthorizationCodeOAuthFlow) String
func (x *AuthorizationCodeOAuthFlow) String() stringBigQueryJob
type BigQueryJob struct {
// Required. The project that the job belongs to.
//
// See
// [JobReference](https://cloud.google.com/bigquery/docs/reference/rest/v2/JobReference).
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
// Required. The ID of the job.
//
// See
// [JobReference](https://cloud.google.com/bigquery/docs/reference/rest/v2/JobReference).
JobId string `protobuf:"bytes,2,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
// Optional. The location of the job.
//
// See
// [JobReference](https://cloud.google.com/bigquery/docs/reference/rest/v2/JobReference).
Location string `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"`
// Optional. A reference to the destination table of the job's query results.
//
// See
// [JobConfigurationQuery](https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#jobconfigurationquery).
DestinationTable *BigQueryTableReference `protobuf:"bytes,3,opt,name=destination_table,json=destinationTable,proto3" json:"destination_table,omitempty"`
// Optional. The schema of the job's query results.
//
// See
// [JobStatistics2](https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#jobstatistics2).
Schema *Schema `protobuf:"bytes,7,opt,name=schema,proto3" json:"schema,omitempty"`
// contains filtered or unexported fields
}A BigQuery job executed by the system.
func (*BigQueryJob) Descriptor
func (*BigQueryJob) Descriptor() ([]byte, []int)Deprecated: Use BigQueryJob.ProtoReflect.Descriptor instead.
func (*BigQueryJob) GetDestinationTable
func (x *BigQueryJob) GetDestinationTable() *BigQueryTableReferencefunc (*BigQueryJob) GetJobId
func (x *BigQueryJob) GetJobId() stringfunc (*BigQueryJob) GetLocation
func (x *BigQueryJob) GetLocation() stringfunc (*BigQueryJob) GetProjectId
func (x *BigQueryJob) GetProjectId() stringfunc (*BigQueryJob) GetSchema
func (x *BigQueryJob) GetSchema() *Schemafunc (*BigQueryJob) ProtoMessage
func (*BigQueryJob) ProtoMessage()func (*BigQueryJob) ProtoReflect
func (x *BigQueryJob) ProtoReflect() protoreflect.Messagefunc (*BigQueryJob) Reset
func (x *BigQueryJob) Reset()func (*BigQueryJob) String
func (x *BigQueryJob) String() stringBigQueryPropertyGraphReference
type BigQueryPropertyGraphReference struct {
// Required. The project that the property graph belongs to.
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
// Required. The dataset that the property graph belongs to.
DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
// Required. The property graph id.
PropertyGraphId string `protobuf:"bytes,3,opt,name=property_graph_id,json=propertyGraphId,proto3" json:"property_graph_id,omitempty"`
// contains filtered or unexported fields
}Message representing a reference to a single BigQuery property graph.
func (*BigQueryPropertyGraphReference) Descriptor
func (*BigQueryPropertyGraphReference) Descriptor() ([]byte, []int)Deprecated: Use BigQueryPropertyGraphReference.ProtoReflect.Descriptor instead.
func (*BigQueryPropertyGraphReference) GetDatasetId
func (x *BigQueryPropertyGraphReference) GetDatasetId() stringfunc (*BigQueryPropertyGraphReference) GetProjectId
func (x *BigQueryPropertyGraphReference) GetProjectId() stringfunc (*BigQueryPropertyGraphReference) GetPropertyGraphId
func (x *BigQueryPropertyGraphReference) GetPropertyGraphId() stringfunc (*BigQueryPropertyGraphReference) ProtoMessage
func (*BigQueryPropertyGraphReference) ProtoMessage()func (*BigQueryPropertyGraphReference) ProtoReflect
func (x *BigQueryPropertyGraphReference) ProtoReflect() protoreflect.Messagefunc (*BigQueryPropertyGraphReference) Reset
func (x *BigQueryPropertyGraphReference) Reset()func (*BigQueryPropertyGraphReference) String
func (x *BigQueryPropertyGraphReference) String() stringBigQueryRoutine
type BigQueryRoutine struct {
// The reference to the BigQuery routine.
RoutineReference *BigQueryRoutineReference `protobuf:"bytes,1,opt,name=routine_reference,json=routineReference,proto3" json:"routine_reference,omitempty"`
// User override or addition to description, to tell the agent when to use the
// UDF.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// contains filtered or unexported fields
}A reference to a BigQuery routine.
func (*BigQueryRoutine) Descriptor
func (*BigQueryRoutine) Descriptor() ([]byte, []int)Deprecated: Use BigQueryRoutine.ProtoReflect.Descriptor instead.
func (*BigQueryRoutine) GetDescription
func (x *BigQueryRoutine) GetDescription() stringfunc (*BigQueryRoutine) GetRoutineReference
func (x *BigQueryRoutine) GetRoutineReference() *BigQueryRoutineReferencefunc (*BigQueryRoutine) ProtoMessage
func (*BigQueryRoutine) ProtoMessage()func (*BigQueryRoutine) ProtoReflect
func (x *BigQueryRoutine) ProtoReflect() protoreflect.Messagefunc (*BigQueryRoutine) Reset
func (x *BigQueryRoutine) Reset()func (*BigQueryRoutine) String
func (x *BigQueryRoutine) String() stringBigQueryRoutineReference
type BigQueryRoutineReference struct {
// The project ID of the routine.
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
// The dataset ID of the routine.
DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
// The routine ID of the routine.
RoutineId string `protobuf:"bytes,3,opt,name=routine_id,json=routineId,proto3" json:"routine_id,omitempty"`
// contains filtered or unexported fields
}A reference to a BigQuery routine.
func (*BigQueryRoutineReference) Descriptor
func (*BigQueryRoutineReference) Descriptor() ([]byte, []int)Deprecated: Use BigQueryRoutineReference.ProtoReflect.Descriptor instead.
func (*BigQueryRoutineReference) GetDatasetId
func (x *BigQueryRoutineReference) GetDatasetId() stringfunc (*BigQueryRoutineReference) GetProjectId
func (x *BigQueryRoutineReference) GetProjectId() stringfunc (*BigQueryRoutineReference) GetRoutineId
func (x *BigQueryRoutineReference) GetRoutineId() stringfunc (*BigQueryRoutineReference) ProtoMessage
func (*BigQueryRoutineReference) ProtoMessage()func (*BigQueryRoutineReference) ProtoReflect
func (x *BigQueryRoutineReference) ProtoReflect() protoreflect.Messagefunc (*BigQueryRoutineReference) Reset
func (x *BigQueryRoutineReference) Reset()func (*BigQueryRoutineReference) String
func (x *BigQueryRoutineReference) String() stringBigQueryTableReference
type BigQueryTableReference struct {
// Required. The project that the table belongs to.
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
// Required. The dataset that the table belongs to.
DatasetId string `protobuf:"bytes,3,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
// Required. The table id.
TableId string `protobuf:"bytes,4,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
// Optional. The schema of the datasource.
Schema *Schema `protobuf:"bytes,6,opt,name=schema,proto3" json:"schema,omitempty"`
// contains filtered or unexported fields
}Message representing a reference to a single BigQuery table.
func (*BigQueryTableReference) Descriptor
func (*BigQueryTableReference) Descriptor() ([]byte, []int)Deprecated: Use BigQueryTableReference.ProtoReflect.Descriptor instead.
func (*BigQueryTableReference) GetDatasetId
func (x *BigQueryTableReference) GetDatasetId() stringfunc (*BigQueryTableReference) GetProjectId
func (x *BigQueryTableReference) GetProjectId() stringfunc (*BigQueryTableReference) GetSchema
func (x *BigQueryTableReference) GetSchema() *Schemafunc (*BigQueryTableReference) GetTableId
func (x *BigQueryTableReference) GetTableId() stringfunc (*BigQueryTableReference) ProtoMessage
func (*BigQueryTableReference) ProtoMessage()func (*BigQueryTableReference) ProtoReflect
func (x *BigQueryTableReference) ProtoReflect() protoreflect.Messagefunc (*BigQueryTableReference) Reset
func (x *BigQueryTableReference) Reset()func (*BigQueryTableReference) String
func (x *BigQueryTableReference) String() stringBigQueryTableReferences
type BigQueryTableReferences struct {
// Optional. References to BigQuery tables.
TableReferences []*BigQueryTableReference `protobuf:"bytes,1,rep,name=table_references,json=tableReferences,proto3" json:"table_references,omitempty"`
// Optional. References to BigQuery graphs.
//
// Note: "property graph" is the former name for BigQuery Graph. The field and
// message names retain the original term for backward compatibility; both
// refer to the same resource.
PropertyGraphReferences []*BigQueryPropertyGraphReference `protobuf:"bytes,2,rep,name=property_graph_references,json=propertyGraphReferences,proto3" json:"property_graph_references,omitempty"`
// Optional. Parameters for retrieving data from Agent Context.
AgentContextReference *AgentContextReference `protobuf:"bytes,4,opt,name=agent_context_reference,json=agentContextReference,proto3" json:"agent_context_reference,omitempty"`
// contains filtered or unexported fields
}Message representing references to BigQuery tables and property graphs.
At least one of table_references, property_graph_references, or
search_scope must be populated.
func (*BigQueryTableReferences) Descriptor
func (*BigQueryTableReferences) Descriptor() ([]byte, []int)Deprecated: Use BigQueryTableReferences.ProtoReflect.Descriptor instead.
func (*BigQueryTableReferences) GetAgentContextReference
func (x *BigQueryTableReferences) GetAgentContextReference() *AgentContextReferencefunc (*BigQueryTableReferences) GetPropertyGraphReferences
func (x *BigQueryTableReferences) GetPropertyGraphReferences() []*BigQueryPropertyGraphReferencefunc (*BigQueryTableReferences) GetTableReferences
func (x *BigQueryTableReferences) GetTableReferences() []*BigQueryTableReferencefunc (*BigQueryTableReferences) ProtoMessage
func (*BigQueryTableReferences) ProtoMessage()func (*BigQueryTableReferences) ProtoReflect
func (x *BigQueryTableReferences) ProtoReflect() protoreflect.Messagefunc (*BigQueryTableReferences) Reset
func (x *BigQueryTableReferences) Reset()func (*BigQueryTableReferences) String
func (x *BigQueryTableReferences) String() stringBigtableDatabaseReference
type BigtableDatabaseReference struct {
// Required. The project the instance belongs to.
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
// Required. The instance id.
InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
// Optional. The table ids. Denotes all tables if unset.
TableIds []string `protobuf:"bytes,3,rep,name=table_ids,json=tableIds,proto3" json:"table_ids,omitempty"`
// Optional. References to tables within the database. Each reference
// specifies a table and can optionally include the table's schema to provide
// context for the query.
DatabaseTableReferences []*DatabaseTableReference `protobuf:"bytes,4,rep,name=database_table_references,json=databaseTableReferences,proto3" json:"database_table_references,omitempty"`
// contains filtered or unexported fields
}Message representing reference to Bigtable database.
func (*BigtableDatabaseReference) Descriptor
func (*BigtableDatabaseReference) Descriptor() ([]byte, []int)Deprecated: Use BigtableDatabaseReference.ProtoReflect.Descriptor instead.
func (*BigtableDatabaseReference) GetDatabaseTableReferences
func (x *BigtableDatabaseReference) GetDatabaseTableReferences() []*DatabaseTableReferencefunc (*BigtableDatabaseReference) GetInstanceId
func (x *BigtableDatabaseReference) GetInstanceId() stringfunc (*BigtableDatabaseReference) GetProjectId
func (x *BigtableDatabaseReference) GetProjectId() stringfunc (*BigtableDatabaseReference) GetTableIds
func (x *BigtableDatabaseReference) GetTableIds() []stringfunc (*BigtableDatabaseReference) ProtoMessage
func (*BigtableDatabaseReference) ProtoMessage()func (*BigtableDatabaseReference) ProtoReflect
func (x *BigtableDatabaseReference) ProtoReflect() protoreflect.Messagefunc (*BigtableDatabaseReference) Reset
func (x *BigtableDatabaseReference) Reset()func (*BigtableDatabaseReference) String
func (x *BigtableDatabaseReference) String() stringBigtableReference
type BigtableReference struct {
// Required. Singular proto that supports specifying which database and tables
// to include.
DatabaseReference *BigtableDatabaseReference `protobuf:"bytes,1,opt,name=database_reference,json=databaseReference,proto3" json:"database_reference,omitempty"`
// Optional. Parameters for retrieving data from Agent Context.
AgentContextReference *AgentContextReference `protobuf:"bytes,2,opt,name=agent_context_reference,json=agentContextReference,proto3" json:"agent_context_reference,omitempty"`
// contains filtered or unexported fields
}Message representing reference to a Bigtable instance and agent context.
func (*BigtableReference) Descriptor
func (*BigtableReference) Descriptor() ([]byte, []int)Deprecated: Use BigtableReference.ProtoReflect.Descriptor instead.
func (*BigtableReference) GetAgentContextReference
func (x *BigtableReference) GetAgentContextReference() *AgentContextReferencefunc (*BigtableReference) GetDatabaseReference
func (x *BigtableReference) GetDatabaseReference() *BigtableDatabaseReferencefunc (*BigtableReference) ProtoMessage
func (*BigtableReference) ProtoMessage()func (*BigtableReference) ProtoReflect
func (x *BigtableReference) ProtoReflect() protoreflect.Messagefunc (*BigtableReference) Reset
func (x *BigtableReference) Reset()func (*BigtableReference) String
func (x *BigtableReference) String() stringBlob
type Blob struct {
// Required. The IANA standard MIME type of the message data.
MimeType string `protobuf:"bytes,1,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
// Required. The data represented as bytes.
Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}A blob of data with a MIME type.
func (*Blob) Descriptor
Deprecated: Use Blob.ProtoReflect.Descriptor instead.
func (*Blob) GetData
func (*Blob) GetMimeType
func (*Blob) ProtoMessage
func (*Blob) ProtoMessage()func (*Blob) ProtoReflect
func (x *Blob) ProtoReflect() protoreflect.Messagefunc (*Blob) Reset
func (x *Blob) Reset()func (*Blob) String
ChartMessage
type ChartMessage struct {
// Whether this message contains the query or the result of the chart
// generation.
//
// Types that are valid to be assigned to Kind:
//
// *ChartMessage_Query
// *ChartMessage_Result
Kind isChartMessage_Kind `protobuf_oneof:"kind"`
// contains filtered or unexported fields
}A message produced during chart generation.
func (*ChartMessage) Descriptor
func (*ChartMessage) Descriptor() ([]byte, []int)Deprecated: Use ChartMessage.ProtoReflect.Descriptor instead.
func (*ChartMessage) GetKind
func (x *ChartMessage) GetKind() isChartMessage_Kindfunc (*ChartMessage) GetQuery
func (x *ChartMessage) GetQuery() *ChartQueryfunc (*ChartMessage) GetResult
func (x *ChartMessage) GetResult() *ChartResultfunc (*ChartMessage) ProtoMessage
func (*ChartMessage) ProtoMessage()func (*ChartMessage) ProtoReflect
func (x *ChartMessage) ProtoReflect() protoreflect.Messagefunc (*ChartMessage) Reset
func (x *ChartMessage) Reset()func (*ChartMessage) String
func (x *ChartMessage) String() stringChartMessage_Query
type ChartMessage_Query struct {
// A query for generating a chart.
Query *ChartQuery `protobuf:"bytes,1,opt,name=query,proto3,oneof"`
}ChartMessage_Result
type ChartMessage_Result struct {
// The result of a chart generation query.
Result *ChartResult `protobuf:"bytes,2,opt,name=result,proto3,oneof"`
}ChartOptions
type ChartOptions struct {
// Optional. When specified, the agent will render generated charts using the
// provided format. Defaults to no image.
Image *ChartOptions_ImageOptions `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
// contains filtered or unexported fields
}Options for chart generation.
func (*ChartOptions) Descriptor
func (*ChartOptions) Descriptor() ([]byte, []int)Deprecated: Use ChartOptions.ProtoReflect.Descriptor instead.
func (*ChartOptions) GetImage
func (x *ChartOptions) GetImage() *ChartOptions_ImageOptionsfunc (*ChartOptions) ProtoMessage
func (*ChartOptions) ProtoMessage()func (*ChartOptions) ProtoReflect
func (x *ChartOptions) ProtoReflect() protoreflect.Messagefunc (*ChartOptions) Reset
func (x *ChartOptions) Reset()func (*ChartOptions) String
func (x *ChartOptions) String() stringChartOptions_ImageOptions
type ChartOptions_ImageOptions struct {
// The kind of image to render.
//
// Types that are valid to be assigned to Kind:
//
// *ChartOptions_ImageOptions_NoImage_
// *ChartOptions_ImageOptions_Svg
Kind isChartOptions_ImageOptions_Kind `protobuf_oneof:"kind"`
// contains filtered or unexported fields
}Options for rendering images of generated charts.
func (*ChartOptions_ImageOptions) Descriptor
func (*ChartOptions_ImageOptions) Descriptor() ([]byte, []int)Deprecated: Use ChartOptions_ImageOptions.ProtoReflect.Descriptor instead.
func (*ChartOptions_ImageOptions) GetKind
func (x *ChartOptions_ImageOptions) GetKind() isChartOptions_ImageOptions_Kindfunc (*ChartOptions_ImageOptions) GetNoImage
func (x *ChartOptions_ImageOptions) GetNoImage() *ChartOptions_ImageOptions_NoImagefunc (*ChartOptions_ImageOptions) GetSvg
func (x *ChartOptions_ImageOptions) GetSvg() *ChartOptions_ImageOptions_SvgOptionsfunc (*ChartOptions_ImageOptions) ProtoMessage
func (*ChartOptions_ImageOptions) ProtoMessage()func (*ChartOptions_ImageOptions) ProtoReflect
func (x *ChartOptions_ImageOptions) ProtoReflect() protoreflect.Messagefunc (*ChartOptions_ImageOptions) Reset
func (x *ChartOptions_ImageOptions) Reset()func (*ChartOptions_ImageOptions) String
func (x *ChartOptions_ImageOptions) String() stringChartOptions_ImageOptions_NoImage
type ChartOptions_ImageOptions_NoImage struct {
// contains filtered or unexported fields
}No image.
func (*ChartOptions_ImageOptions_NoImage) Descriptor
func (*ChartOptions_ImageOptions_NoImage) Descriptor() ([]byte, []int)Deprecated: Use ChartOptions_ImageOptions_NoImage.ProtoReflect.Descriptor instead.
func (*ChartOptions_ImageOptions_NoImage) ProtoMessage
func (*ChartOptions_ImageOptions_NoImage) ProtoMessage()func (*ChartOptions_ImageOptions_NoImage) ProtoReflect
func (x *ChartOptions_ImageOptions_NoImage) ProtoReflect() protoreflect.Messagefunc (*ChartOptions_ImageOptions_NoImage) Reset
func (x *ChartOptions_ImageOptions_NoImage) Reset()func (*ChartOptions_ImageOptions_NoImage) String
func (x *ChartOptions_ImageOptions_NoImage) String() stringChartOptions_ImageOptions_NoImage_
type ChartOptions_ImageOptions_NoImage_ struct {
// No image.
NoImage *ChartOptions_ImageOptions_NoImage `protobuf:"bytes,1,opt,name=no_image,json=noImage,proto3,oneof"`
}ChartOptions_ImageOptions_Svg
type ChartOptions_ImageOptions_Svg struct {
// SVG format.
Svg *ChartOptions_ImageOptions_SvgOptions `protobuf:"bytes,2,opt,name=svg,proto3,oneof"`
}ChartOptions_ImageOptions_SvgOptions
type ChartOptions_ImageOptions_SvgOptions struct {
// contains filtered or unexported fields
}SVG options.
func (*ChartOptions_ImageOptions_SvgOptions) Descriptor
func (*ChartOptions_ImageOptions_SvgOptions) Descriptor() ([]byte, []int)Deprecated: Use ChartOptions_ImageOptions_SvgOptions.ProtoReflect.Descriptor instead.
func (*ChartOptions_ImageOptions_SvgOptions) ProtoMessage
func (*ChartOptions_ImageOptions_SvgOptions) ProtoMessage()func (*ChartOptions_ImageOptions_SvgOptions) ProtoReflect
func (x *ChartOptions_ImageOptions_SvgOptions) ProtoReflect() protoreflect.Messagefunc (*ChartOptions_ImageOptions_SvgOptions) Reset
func (x *ChartOptions_ImageOptions_SvgOptions) Reset()func (*ChartOptions_ImageOptions_SvgOptions) String
func (x *ChartOptions_ImageOptions_SvgOptions) String() stringChartQuery
type ChartQuery struct {
// Optional. Natural language instructions for generating the chart.
Instructions string `protobuf:"bytes,1,opt,name=instructions,proto3" json:"instructions,omitempty"`
// Optional. The name of a previously retrieved data result to use in the
// chart.
DataResultName string `protobuf:"bytes,2,opt,name=data_result_name,json=dataResultName,proto3" json:"data_result_name,omitempty"`
// contains filtered or unexported fields
}A query for generating a chart.
func (*ChartQuery) Descriptor
func (*ChartQuery) Descriptor() ([]byte, []int)Deprecated: Use ChartQuery.ProtoReflect.Descriptor instead.
func (*ChartQuery) GetDataResultName
func (x *ChartQuery) GetDataResultName() stringfunc (*ChartQuery) GetInstructions
func (x *ChartQuery) GetInstructions() stringfunc (*ChartQuery) ProtoMessage
func (*ChartQuery) ProtoMessage()func (*ChartQuery) ProtoReflect
func (x *ChartQuery) ProtoReflect() protoreflect.Messagefunc (*ChartQuery) Reset
func (x *ChartQuery) Reset()func (*ChartQuery) String
func (x *ChartQuery) String() stringChartResult
type ChartResult struct {
// Optional. A generated Vega chart config.
// See https://vega.github.io/vega/docs/config/
VegaConfig *structpb.Struct `protobuf:"bytes,2,opt,name=vega_config,json=vegaConfig,proto3" json:"vega_config,omitempty"`
// Optional. A rendering of the chart if this was requested in the context.
Image *Blob `protobuf:"bytes,3,opt,name=image,proto3" json:"image,omitempty"`
// contains filtered or unexported fields
}The result of a chart generation query.
func (*ChartResult) Descriptor
func (*ChartResult) Descriptor() ([]byte, []int)Deprecated: Use ChartResult.ProtoReflect.Descriptor instead.
func (*ChartResult) GetImage
func (x *ChartResult) GetImage() *Blobfunc (*ChartResult) GetVegaConfig
func (x *ChartResult) GetVegaConfig() *structpb.Structfunc (*ChartResult) ProtoMessage
func (*ChartResult) ProtoMessage()func (*ChartResult) ProtoReflect
func (x *ChartResult) ProtoReflect() protoreflect.Messagefunc (*ChartResult) Reset
func (x *ChartResult) Reset()func (*ChartResult) String
func (x *ChartResult) String() stringChatRequest
type ChatRequest struct {
// Context Provider for the chat request.
// It can either be -
// inline_context, which is a context provided inline in the request.
// data_agent, which is a reference to a data agent resource.
// conversation_reference, which is a reference to a persisted conversation
// and context using conversation_id and agent_id.
//
// Types that are valid to be assigned to ContextProvider:
//
// *ChatRequest_InlineContext
// *ChatRequest_ConversationReference
// *ChatRequest_DataAgentContext
// *ChatRequest_ClientManagedResourceContext
ContextProvider isChatRequest_ContextProvider `protobuf_oneof:"context_provider"`
// Optional settings to customize request behavior, specific to the target
// datasource.
//
// Types that are valid to be assigned to DatasourceSettings:
//
// *ChatRequest_LookerSettings
DatasourceSettings isChatRequest_DatasourceSettings `protobuf_oneof:"datasource_settings"`
// Optional. Deprecated: Use `parent` field instead.
// The Google Cloud project to be used for quota and billing.
//
// Deprecated: Marked as deprecated in google/cloud/geminidataanalytics/v1beta/data_chat_service.proto.
Project string `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
// Required. The parent value for chat request.
// Pattern: `projects/{project}/locations/{location}`
Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. Content of current conversation.
Messages []*Message `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"`
// Optional. The credentials to use when calling the data source(s) specified
// in the context.
//
// This field can be used to provide credentials for various data sources.
// For example, when connecting to Looker, it currently supports both OAuth
// token and API key-based credentials, as described in
// [Authentication with an
// SDK](https://cloud.google.com/looker/docs/api-auth#authentication_with_an_sdk).
Credentials *Credentials `protobuf:"bytes,7,opt,name=credentials,proto3" json:"credentials,omitempty"`
// Optional. The thinking mode to use for the agent loop.
// Defaults to THINKING_MODE_UNSPECIFIED if not specified.
ThinkingMode ChatRequest_ThinkingMode `protobuf:"varint,9,opt,name=thinking_mode,json=thinkingMode,proto3,enum=google.cloud.geminidataanalytics.v1beta.ChatRequest_ThinkingMode" json:"thinking_mode,omitempty"`
// Optional. The model to use for the agent loop when processing the request.
// This setting only has an effect when context.options.model is not set.
Model ChatRequest_Model `protobuf:"varint,11,opt,name=model,proto3,enum=google.cloud.geminidataanalytics.v1beta.ChatRequest_Model" json:"model,omitempty"`
// contains filtered or unexported fields
}Request for Chat.
func (*ChatRequest) Descriptor
func (*ChatRequest) Descriptor() ([]byte, []int)Deprecated: Use ChatRequest.ProtoReflect.Descriptor instead.
func (*ChatRequest) GetClientManagedResourceContext
func (x *ChatRequest) GetClientManagedResourceContext() *ClientManagedResourceContextfunc (*ChatRequest) GetContextProvider
func (x *ChatRequest) GetContextProvider() isChatRequest_ContextProviderfunc (*ChatRequest) GetConversationReference
func (x *ChatRequest) GetConversationReference() *ConversationReferencefunc (*ChatRequest) GetCredentials
func (x *ChatRequest) GetCredentials() *Credentialsfunc (*ChatRequest) GetDataAgentContext
func (x *ChatRequest) GetDataAgentContext() *DataAgentContextfunc (*ChatRequest) GetDatasourceSettings
func (x *ChatRequest) GetDatasourceSettings() isChatRequest_DatasourceSettingsfunc (*ChatRequest) GetInlineContext
func (x *ChatRequest) GetInlineContext() *Contextfunc (*ChatRequest) GetLookerSettings
func (x *ChatRequest) GetLookerSettings() *LookerSettingsfunc (*ChatRequest) GetMessages
func (x *ChatRequest) GetMessages() []*Messagefunc (*ChatRequest) GetModel
func (x *ChatRequest) GetModel() ChatRequest_Modelfunc (*ChatRequest) GetParent
func (x *ChatRequest) GetParent() stringfunc (*ChatRequest) GetProject
func (x *ChatRequest) GetProject() stringDeprecated: Marked as deprecated in google/cloud/geminidataanalytics/v1beta/data_chat_service.proto.
func (*ChatRequest) GetThinkingMode
func (x *ChatRequest) GetThinkingMode() ChatRequest_ThinkingModefunc (*ChatRequest) ProtoMessage
func (*ChatRequest) ProtoMessage()func (*ChatRequest) ProtoReflect
func (x *ChatRequest) ProtoReflect() protoreflect.Messagefunc (*ChatRequest) Reset
func (x *ChatRequest) Reset()func (*ChatRequest) String
func (x *ChatRequest) String() stringChatRequest_ClientManagedResourceContext
type ChatRequest_ClientManagedResourceContext struct {
// Optional. Context with client managed resources.
// Some clients may not use GDA managed resources including
// conversations and agents, instead they create and manage their own
// conversations and agents resources.
ClientManagedResourceContext *ClientManagedResourceContext `protobuf:"bytes,105,opt,name=client_managed_resource_context,json=clientManagedResourceContext,proto3,oneof"`
}ChatRequest_ConversationReference
type ChatRequest_ConversationReference struct {
// Optional. Reference to a persisted conversation and agent context.
// Use this to chat with an Agent using managed conversation persistence.
ConversationReference *ConversationReference `protobuf:"bytes,103,opt,name=conversation_reference,json=conversationReference,proto3,oneof"`
}ChatRequest_DataAgentContext
type ChatRequest_DataAgentContext struct {
// Optional. Context for the chat request. Use this to chat with an Agent
// statelessly, without managed conversation persistence.
DataAgentContext *DataAgentContext `protobuf:"bytes,104,opt,name=data_agent_context,json=dataAgentContext,proto3,oneof"`
}ChatRequest_InlineContext
type ChatRequest_InlineContext struct {
// Optional. Inline context for the chat request. Use this to chat
// statelessly (without managed conversation persistence and without an
// Agent) by passing all context inline.
InlineContext *Context `protobuf:"bytes,101,opt,name=inline_context,json=inlineContext,proto3,oneof"`
}ChatRequest_LookerSettings
type ChatRequest_LookerSettings struct {
// Optional. Looker specific settings.
LookerSettings *LookerSettings `protobuf:"bytes,13,opt,name=looker_settings,json=lookerSettings,proto3,oneof"`
}ChatRequest_Model
type ChatRequest_Model int32Model selection for the agent for BigQuery users.
ChatRequest_MODEL_UNSPECIFIED, ChatRequest_LATEST_GA_MODEL
const (
// No model specified. Either preview or non preview model can be used.
ChatRequest_MODEL_UNSPECIFIED ChatRequest_Model = 0
// Use the most up-to-date non-preview model. This may constrain certain
// request level settings.
ChatRequest_LATEST_GA_MODEL ChatRequest_Model = 1
)func (ChatRequest_Model) Descriptor
func (ChatRequest_Model) Descriptor() protoreflect.EnumDescriptorfunc (ChatRequest_Model) Enum
func (x ChatRequest_Model) Enum() *ChatRequest_Modelfunc (ChatRequest_Model) EnumDescriptor
func (ChatRequest_Model) EnumDescriptor() ([]byte, []int)Deprecated: Use ChatRequest_Model.Descriptor instead.
func (ChatRequest_Model) Number
func (x ChatRequest_Model) Number() protoreflect.EnumNumberfunc (ChatRequest_Model) String
func (x ChatRequest_Model) String() stringfunc (ChatRequest_Model) Type
func (ChatRequest_Model) Type() protoreflect.EnumTypeChatRequest_ThinkingMode
type ChatRequest_ThinkingMode int32Mode of thinking for the agent.
ChatRequest_THINKING_MODE_UNSPECIFIED, ChatRequest_FAST, ChatRequest_THINKING
const (
// Unspecified thinking mode, agent will use THINKING mode by default except
// for BigQuery user defaulting to FAST mode by default.
ChatRequest_THINKING_MODE_UNSPECIFIED ChatRequest_ThinkingMode = 0
// Fast mode, answers quickly.
ChatRequest_FAST ChatRequest_ThinkingMode = 1
// Thinking mode, solves complex problems.
ChatRequest_THINKING ChatRequest_ThinkingMode = 2
)func (ChatRequest_ThinkingMode) Descriptor
func (ChatRequest_ThinkingMode) Descriptor() protoreflect.EnumDescriptorfunc (ChatRequest_ThinkingMode) Enum
func (x ChatRequest_ThinkingMode) Enum() *ChatRequest_ThinkingModefunc (ChatRequest_ThinkingMode) EnumDescriptor
func (ChatRequest_ThinkingMode) EnumDescriptor() ([]byte, []int)Deprecated: Use ChatRequest_ThinkingMode.Descriptor instead.
func (ChatRequest_ThinkingMode) Number
func (x ChatRequest_ThinkingMode) Number() protoreflect.EnumNumberfunc (ChatRequest_ThinkingMode) String
func (x ChatRequest_ThinkingMode) String() stringfunc (ChatRequest_ThinkingMode) Type
func (ChatRequest_ThinkingMode) Type() protoreflect.EnumTypeCitation
type Citation struct {
// Output only. List of the sources being cited.
Sources []*CitationSource `protobuf:"bytes,1,rep,name=sources,proto3" json:"sources,omitempty"`
// Output only. List of the anchors of the citations.
Anchors []*CitationAnchor `protobuf:"bytes,2,rep,name=anchors,proto3" json:"anchors,omitempty"`
// contains filtered or unexported fields
}Source attributions for content.
func (*Citation) Descriptor
Deprecated: Use Citation.ProtoReflect.Descriptor instead.
func (*Citation) GetAnchors
func (x *Citation) GetAnchors() []*CitationAnchorfunc (*Citation) GetSources
func (x *Citation) GetSources() []*CitationSourcefunc (*Citation) ProtoMessage
func (*Citation) ProtoMessage()func (*Citation) ProtoReflect
func (x *Citation) ProtoReflect() protoreflect.Messagefunc (*Citation) Reset
func (x *Citation) Reset()func (*Citation) String
CitationAnchor
type CitationAnchor struct {
// The anchor of the citation, which can be one of the supported types.
//
// Types that are valid to be assigned to AnchorType:
//
// *CitationAnchor_TextMessageAnchor
AnchorType isCitationAnchor_AnchorType `protobuf_oneof:"anchor_type"`
// contains filtered or unexported fields
}The anchor of the citation.
func (*CitationAnchor) Descriptor
func (*CitationAnchor) Descriptor() ([]byte, []int)Deprecated: Use CitationAnchor.ProtoReflect.Descriptor instead.
func (*CitationAnchor) GetAnchorType
func (x *CitationAnchor) GetAnchorType() isCitationAnchor_AnchorTypefunc (*CitationAnchor) GetTextMessageAnchor
func (x *CitationAnchor) GetTextMessageAnchor() *CitationAnchor_TextMessageCitationAnchorfunc (*CitationAnchor) ProtoMessage
func (*CitationAnchor) ProtoMessage()func (*CitationAnchor) ProtoReflect
func (x *CitationAnchor) ProtoReflect() protoreflect.Messagefunc (*CitationAnchor) Reset
func (x *CitationAnchor) Reset()func (*CitationAnchor) String
func (x *CitationAnchor) String() stringCitationAnchor_TextMessageAnchor
type CitationAnchor_TextMessageAnchor struct {
// Output only. Only set if the citation is for a TextMessage.
TextMessageAnchor *CitationAnchor_TextMessageCitationAnchor `protobuf:"bytes,1,opt,name=text_message_anchor,json=textMessageAnchor,proto3,oneof"`
}CitationAnchor_TextMessageCitationAnchor
type CitationAnchor_TextMessageCitationAnchor struct {
// Output only. The 0-based index of the part within the TextMessage.parts
// field.
PartIndex int32 `protobuf:"varint,1,opt,name=part_index,json=partIndex,proto3" json:"part_index,omitempty"`
// Output only. The offset, measured in UTF-8 bytes, within the part string
// where the citation begins (inclusive). Example: For the text "Hello,
// world" where "world" is cited, the start offset bytes (inclusive) is 7
// and the end offset bytes (exclusive) is 12.
StartOffsetBytes int32 `protobuf:"varint,2,opt,name=start_offset_bytes,json=startOffsetBytes,proto3" json:"start_offset_bytes,omitempty"`
// Output only. The offset, measured in UTF-8 bytes, within the part string
// where the citation ends (exclusive). Example: For the text "Hello, world"
// where "world" is cited, the start offset bytes (inclusive) is 7 and the
// end offset bytes (exclusive) is 12.
EndOffsetBytes int32 `protobuf:"varint,3,opt,name=end_offset_bytes,json=endOffsetBytes,proto3" json:"end_offset_bytes,omitempty"`
// Output only. The ids of the sources that are cited.
SourceIds []string `protobuf:"bytes,4,rep,name=source_ids,json=sourceIds,proto3" json:"source_ids,omitempty"`
// contains filtered or unexported fields
}Citation anchor within a TextMessage.
func (*CitationAnchor_TextMessageCitationAnchor) Descriptor
func (*CitationAnchor_TextMessageCitationAnchor) Descriptor() ([]byte, []int)Deprecated: Use CitationAnchor_TextMessageCitationAnchor.ProtoReflect.Descriptor instead.
func (*CitationAnchor_TextMessageCitationAnchor) GetEndOffsetBytes
func (x *CitationAnchor_TextMessageCitationAnchor) GetEndOffsetBytes() int32func (*CitationAnchor_TextMessageCitationAnchor) GetPartIndex
func (x *CitationAnchor_TextMessageCitationAnchor) GetPartIndex() int32func (*CitationAnchor_TextMessageCitationAnchor) GetSourceIds
func (x *CitationAnchor_TextMessageCitationAnchor) GetSourceIds() []stringfunc (*CitationAnchor_TextMessageCitationAnchor) GetStartOffsetBytes
func (x *CitationAnchor_TextMessageCitationAnchor) GetStartOffsetBytes() int32func (*CitationAnchor_TextMessageCitationAnchor) ProtoMessage
func (*CitationAnchor_TextMessageCitationAnchor) ProtoMessage()func (*CitationAnchor_TextMessageCitationAnchor) ProtoReflect
func (x *CitationAnchor_TextMessageCitationAnchor) ProtoReflect() protoreflect.Messagefunc (*CitationAnchor_TextMessageCitationAnchor) Reset
func (x *CitationAnchor_TextMessageCitationAnchor) Reset()func (*CitationAnchor_TextMessageCitationAnchor) String
func (x *CitationAnchor_TextMessageCitationAnchor) String() stringCitationSource
type CitationSource struct {
// The source of the citation, which can be one of the supported types.
//
// Types that are valid to be assigned to SourceType:
//
// *CitationSource_Uri
// *CitationSource_ExampleQuery
// *CitationSource_GlossaryTerm
SourceType isCitationSource_SourceType `protobuf_oneof:"source_type"`
// Output only. Unique identifier of the source. This ID is service-generated
// and is unique within the scope of a single `Citation` message.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Output only. The title of the source.
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
// contains filtered or unexported fields
}The source of the citation.
func (*CitationSource) Descriptor
func (*CitationSource) Descriptor() ([]byte, []int)Deprecated: Use CitationSource.ProtoReflect.Descriptor instead.
func (*CitationSource) GetExampleQuery
func (x *CitationSource) GetExampleQuery() *ExampleQueryfunc (*CitationSource) GetGlossaryTerm
func (x *CitationSource) GetGlossaryTerm() *GlossaryTermfunc (*CitationSource) GetId
func (x *CitationSource) GetId() stringfunc (*CitationSource) GetSourceType
func (x *CitationSource) GetSourceType() isCitationSource_SourceTypefunc (*CitationSource) GetTitle
func (x *CitationSource) GetTitle() stringfunc (*CitationSource) GetUri
func (x *CitationSource) GetUri() stringfunc (*CitationSource) ProtoMessage
func (*CitationSource) ProtoMessage()func (*CitationSource) ProtoReflect
func (x *CitationSource) ProtoReflect() protoreflect.Messagefunc (*CitationSource) Reset
func (x *CitationSource) Reset()func (*CitationSource) String
func (x *CitationSource) String() stringCitationSource_ExampleQuery
type CitationSource_ExampleQuery struct {
// Output only. The example query used as the source.
ExampleQuery *ExampleQuery `protobuf:"bytes,4,opt,name=example_query,json=exampleQuery,proto3,oneof"`
}CitationSource_GlossaryTerm
type CitationSource_GlossaryTerm struct {
// Output only. The glossary term used as the source.
GlossaryTerm *GlossaryTerm `protobuf:"bytes,5,opt,name=glossary_term,json=glossaryTerm,proto3,oneof"`
}CitationSource_Uri
type CitationSource_Uri struct {
// Output only. The uri used as the source, such as a web grounding URL.
Uri string `protobuf:"bytes,3,opt,name=uri,proto3,oneof"`
}ClarificationMessage (deprecated)
type ClarificationMessage struct {
// Required. Deprecated: The parent message is deprecated.
// A batch of clarification questions to ask the user.
//
// Deprecated: Marked as deprecated in google/cloud/geminidataanalytics/v1beta/data_chat_service.proto.
Questions []*ClarificationQuestion `protobuf:"bytes,1,rep,name=questions,proto3" json:"questions,omitempty"`
// contains filtered or unexported fields
}Deprecated: Use TextMessage with TextType.FINAL_RESPONSE instead. A message of questions to help clarify the user's query. This is returned when the system cannot confidently answer the user's question.
Deprecated: Marked as deprecated in google/cloud/geminidataanalytics/v1beta/data_chat_service.proto.
func (*ClarificationMessage) Descriptor (deprecated)
func (*ClarificationMessage) Descriptor() ([]byte, []int)Deprecated: Use ClarificationMessage.ProtoReflect.Descriptor instead.
func (*ClarificationMessage) GetQuestions (deprecated)
func (x *ClarificationMessage) GetQuestions() []*ClarificationQuestionDeprecated: Marked as deprecated in google/cloud/geminidataanalytics/v1beta/data_chat_service.proto.
func (*ClarificationMessage) ProtoMessage (deprecated)
func (*ClarificationMessage) ProtoMessage()func (*ClarificationMessage) ProtoReflect (deprecated)
func (x *ClarificationMessage) ProtoReflect() protoreflect.Messagefunc (*ClarificationMessage) Reset (deprecated)
func (x *ClarificationMessage) Reset()func (*ClarificationMessage) String (deprecated)
func (x *ClarificationMessage) String() stringClarificationQuestion (deprecated)
type ClarificationQuestion struct {
// Required. Deprecated: The parent message is deprecated.
// The natural language question to ask the user.
//
// Deprecated: Marked as deprecated in google/cloud/geminidataanalytics/v1beta/data_chat_service.proto.
Question string `protobuf:"bytes,1,opt,name=question,proto3" json:"question,omitempty"`
// Required. Deprecated: The parent message is deprecated.
// The selection mode for this question.
//
// Deprecated: Marked as deprecated in google/cloud/geminidataanalytics/v1beta/data_chat_service.proto.
SelectionMode ClarificationQuestion_SelectionMode `protobuf:"varint,2,opt,name=selection_mode,json=selectionMode,proto3,enum=google.cloud.geminidataanalytics.v1beta.ClarificationQuestion_SelectionMode" json:"selection_mode,omitempty"`
// Required. Deprecated: The parent message is deprecated.
// A list of distinct options for the user to choose from.
// The number of options is limited to a maximum of 5.
//
// Deprecated: Marked as deprecated in google/cloud/geminidataanalytics/v1beta/data_chat_service.proto.
Options []string `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"`
// Optional. Deprecated: The parent message is deprecated.
// The type of clarification question.
//
// Deprecated: Marked as deprecated in google/cloud/geminidataanalytics/v1beta/data_chat_service.proto.
ClarificationQuestionType ClarificationQuestion_ClarificationQuestionType `protobuf:"varint,4,opt,name=clarification_question_type,json=clarificationQuestionType,proto3,enum=google.cloud.geminidataanalytics.v1beta.ClarificationQuestion_ClarificationQuestionType" json:"clarification_question_type,omitempty"`
// contains filtered or unexported fields
}Deprecated: Use TextMessage with TextType.FINAL_RESPONSE instead. Represents a single question to the user to help clarify their query.
Deprecated: Marked as deprecated in google/cloud/geminidataanalytics/v1beta/data_chat_service.proto.
func (*ClarificationQuestion) Descriptor (deprecated)
func (*ClarificationQuestion) Descriptor() ([]byte, []int)Deprecated: Use ClarificationQuestion.ProtoReflect.Descriptor instead.
func (*ClarificationQuestion) GetClarificationQuestionType (deprecated)
func (x *ClarificationQuestion) GetClarificationQuestionType() ClarificationQuestion_ClarificationQuestionTypeDeprecated: Marked as deprecated in google/cloud/geminidataanalytics/v1beta/data_chat_service.proto.
func (*ClarificationQuestion) GetOptions (deprecated)
func (x *ClarificationQuestion) GetOptions() []stringDeprecated: Marked as deprecated in google/cloud/geminidataanalytics/v1beta/data_chat_service.proto.
func (*ClarificationQuestion) GetQuestion (deprecated)
func (x *ClarificationQuestion) GetQuestion() stringDeprecated: Marked as deprecated in google/cloud/geminidataanalytics/v1beta/data_chat_service.proto.
func (*ClarificationQuestion) GetSelectionMode (deprecated)
func (x *ClarificationQuestion) GetSelectionMode() ClarificationQuestion_SelectionModeDeprecated: Marked as deprecated in google/cloud/geminidataanalytics/v1beta/data_chat_service.proto.
func (*ClarificationQuestion) ProtoMessage (deprecated)
func (*ClarificationQuestion) ProtoMessage()func (*ClarificationQuestion) ProtoReflect (deprecated)
func (x *ClarificationQuestion) ProtoReflect() protoreflect.Messagefunc (*ClarificationQuestion) Reset (deprecated)
func (x *ClarificationQuestion) Reset()func (*ClarificationQuestion) String (deprecated)
func (x *ClarificationQuestion) String() stringClarificationQuestion_ClarificationQuestionType (deprecated)
type ClarificationQuestion_ClarificationQuestionType int32Deprecated: The parent message is deprecated. The type of clarification question. This enum may be extended with new values in the future.
Deprecated: Marked as deprecated in google/cloud/geminidataanalytics/v1beta/data_chat_service.proto.
ClarificationQuestion_CLARIFICATION_QUESTION_TYPE_UNSPECIFIED, ClarificationQuestion_FILTER_VALUES, ClarificationQuestion_FIELDS (deprecated)
const (
// Deprecated: The parent message is deprecated.
// Unspecified clarification question type.
//
// Deprecated: Marked as deprecated in google/cloud/geminidataanalytics/v1beta/data_chat_service.proto.
ClarificationQuestion_CLARIFICATION_QUESTION_TYPE_UNSPECIFIED ClarificationQuestion_ClarificationQuestionType = 0
// Deprecated: The parent message is deprecated.
// The clarification question is for filter values.
//
// Deprecated: Marked as deprecated in google/cloud/geminidataanalytics/v1beta/data_chat_service.proto.
ClarificationQuestion_FILTER_VALUES ClarificationQuestion_ClarificationQuestionType = 1
// Deprecated: The parent message is deprecated.
// The clarification question is for data fields. This is a generic term
// encompassing SQL columns, Looker fields (dimensions/measures), or
// nested data structure properties.
//
// Deprecated: Marked as deprecated in google/cloud/geminidataanalytics/v1beta/data_chat_service.proto.
ClarificationQuestion_FIELDS ClarificationQuestion_ClarificationQuestionType = 2
)func (ClarificationQuestion_ClarificationQuestionType) Descriptor (deprecated)
func (ClarificationQuestion_ClarificationQuestionType) Descriptor() protoreflect.EnumDescriptorfunc (ClarificationQuestion_ClarificationQuestionType) Enum (deprecated)
func (x ClarificationQuestion_ClarificationQuestionType) Enum() *ClarificationQuestion_ClarificationQuestionTypefunc (ClarificationQuestion_ClarificationQuestionType) EnumDescriptor (deprecated)
func (ClarificationQuestion_ClarificationQuestionType) EnumDescriptor() ([]byte, []int)Deprecated: Use ClarificationQuestion_ClarificationQuestionType.Descriptor instead.
func (ClarificationQuestion_ClarificationQuestionType) Number (deprecated)
func (x ClarificationQuestion_ClarificationQuestionType) Number() protoreflect.EnumNumberfunc (ClarificationQuestion_ClarificationQuestionType) String (deprecated)
func (x ClarificationQuestion_ClarificationQuestionType) String() stringfunc (ClarificationQuestion_ClarificationQuestionType) Type (deprecated)
ClarificationQuestion_SelectionMode (deprecated)
type ClarificationQuestion_SelectionMode int32Deprecated: The parent message is deprecated. The selection mode for the clarification question.
Deprecated: Marked as deprecated in google/cloud/geminidataanalytics/v1beta/data_chat_service.proto.
ClarificationQuestion_SELECTION_MODE_UNSPECIFIED, ClarificationQuestion_SINGLE_SELECT, ClarificationQuestion_MULTI_SELECT (deprecated)
const (
// Deprecated: The parent message is deprecated.
// Unspecified selection mode.
//
// Deprecated: Marked as deprecated in google/cloud/geminidataanalytics/v1beta/data_chat_service.proto.
ClarificationQuestion_SELECTION_MODE_UNSPECIFIED ClarificationQuestion_SelectionMode = 0
// Deprecated: The parent message is deprecated.
// The user can select only one option.
//
// Deprecated: Marked as deprecated in google/cloud/geminidataanalytics/v1beta/data_chat_service.proto.
ClarificationQuestion_SINGLE_SELECT ClarificationQuestion_SelectionMode = 1
// Deprecated: The parent message is deprecated.
// The user can select multiple options.
//
// Deprecated: Marked as deprecated in google/cloud/geminidataanalytics/v1beta/data_chat_service.proto.
ClarificationQuestion_MULTI_SELECT ClarificationQuestion_SelectionMode = 2
)func (ClarificationQuestion_SelectionMode) Descriptor (deprecated)
func (ClarificationQuestion_SelectionMode) Descriptor() protoreflect.EnumDescriptorfunc (ClarificationQuestion_SelectionMode) Enum (deprecated)
func (x ClarificationQuestion_SelectionMode) Enum() *ClarificationQuestion_SelectionModefunc (ClarificationQuestion_SelectionMode) EnumDescriptor (deprecated)
func (ClarificationQuestion_SelectionMode) EnumDescriptor() ([]byte, []int)Deprecated: Use ClarificationQuestion_SelectionMode.Descriptor instead.
func (ClarificationQuestion_SelectionMode) Number (deprecated)
func (x ClarificationQuestion_SelectionMode) Number() protoreflect.EnumNumberfunc (ClarificationQuestion_SelectionMode) String (deprecated)
func (x ClarificationQuestion_SelectionMode) String() stringfunc (ClarificationQuestion_SelectionMode) Type (deprecated)
func (ClarificationQuestion_SelectionMode) Type() protoreflect.EnumTypeClientCredentialsOAuthFlow
type ClientCredentialsOAuthFlow struct {
// Optional. The token URL to be used for this flow.
TokenUrl string `protobuf:"bytes,1,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"`
// Optional. The URL to be used for obtaining refresh tokens.
RefreshUrl string `protobuf:"bytes,2,opt,name=refresh_url,json=refreshUrl,proto3" json:"refresh_url,omitempty"`
// The available scopes for the OAuth2 security scheme.
Scopes map[string]string `protobuf:"bytes,3,rep,name=scopes,proto3" json:"scopes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// contains filtered or unexported fields
}ClientCredentialsOAuthFlow defines a client credentials OAuth flow.
func (*ClientCredentialsOAuthFlow) Descriptor
func (*ClientCredentialsOAuthFlow) Descriptor() ([]byte, []int)Deprecated: Use ClientCredentialsOAuthFlow.ProtoReflect.Descriptor instead.
func (*ClientCredentialsOAuthFlow) GetRefreshUrl
func (x *ClientCredentialsOAuthFlow) GetRefreshUrl() stringfunc (*ClientCredentialsOAuthFlow) GetScopes
func (x *ClientCredentialsOAuthFlow) GetScopes() map[string]stringfunc (*ClientCredentialsOAuthFlow) GetTokenUrl
func (x *ClientCredentialsOAuthFlow) GetTokenUrl() stringfunc (*ClientCredentialsOAuthFlow) ProtoMessage
func (*ClientCredentialsOAuthFlow) ProtoMessage()func (*ClientCredentialsOAuthFlow) ProtoReflect
func (x *ClientCredentialsOAuthFlow) ProtoReflect() protoreflect.Messagefunc (*ClientCredentialsOAuthFlow) Reset
func (x *ClientCredentialsOAuthFlow) Reset()func (*ClientCredentialsOAuthFlow) String
func (x *ClientCredentialsOAuthFlow) String() stringClientManagedResourceContext
type ClientManagedResourceContext struct {
// Required. Context for the chat request. Use this to chat without GDA API
// managed conversation and agent persistence by passing all context inline.
InlineContext *Context `protobuf:"bytes,1,opt,name=inline_context,json=inlineContext,proto3" json:"inline_context,omitempty"`
// Optional. The client managed conversation id.
ConversationId string `protobuf:"bytes,2,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
// Optional. The client managed agent id.
AgentId string `protobuf:"bytes,3,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
// contains filtered or unexported fields
}Context with client managed resources. Some clients may not use GDA managed resources including conversations and agents, instead they create and manage their own conversations and agents resources.
func (*ClientManagedResourceContext) Descriptor
func (*ClientManagedResourceContext) Descriptor() ([]byte, []int)Deprecated: Use ClientManagedResourceContext.ProtoReflect.Descriptor instead.
func (*ClientManagedResourceContext) GetAgentId
func (x *ClientManagedResourceContext) GetAgentId() stringfunc (*ClientManagedResourceContext) GetConversationId
func (x *ClientManagedResourceContext) GetConversationId() stringfunc (*ClientManagedResourceContext) GetInlineContext
func (x *ClientManagedResourceContext) GetInlineContext() *Contextfunc (*ClientManagedResourceContext) ProtoMessage
func (*ClientManagedResourceContext) ProtoMessage()func (*ClientManagedResourceContext) ProtoReflect
func (x *ClientManagedResourceContext) ProtoReflect() protoreflect.Messagefunc (*ClientManagedResourceContext) Reset
func (x *ClientManagedResourceContext) Reset()func (*ClientManagedResourceContext) String
func (x *ClientManagedResourceContext) String() stringCloudSqlDatabaseReference
type CloudSqlDatabaseReference struct {
// Required. The engine of the Cloud SQL instance.
Engine CloudSqlDatabaseReference_Engine `protobuf:"varint,1,opt,name=engine,proto3,enum=google.cloud.geminidataanalytics.v1beta.CloudSqlDatabaseReference_Engine" json:"engine,omitempty"`
// Required. The project the instance belongs to.
ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
// Required. The region of the instance.
Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"`
// Required. The instance id.
InstanceId string `protobuf:"bytes,4,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
// Required. The database id.
DatabaseId string `protobuf:"bytes,5,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
// Optional. The table ids. Denotes all tables if unset.
TableIds []string `protobuf:"bytes,7,rep,name=table_ids,json=tableIds,proto3" json:"table_ids,omitempty"`
// Optional. References to tables within the database. Each reference
// specifies a table and can optionally include the table's schema to provide
// context for the query.
DatabaseTableReferences []*DatabaseTableReference `protobuf:"bytes,8,rep,name=database_table_references,json=databaseTableReferences,proto3" json:"database_table_references,omitempty"`
// contains filtered or unexported fields
}Message representing a reference to a single CloudSQL database.
func (*CloudSqlDatabaseReference) Descriptor
func (*CloudSqlDatabaseReference) Descriptor() ([]byte, []int)Deprecated: Use CloudSqlDatabaseReference.ProtoReflect.Descriptor instead.
func (*CloudSqlDatabaseReference) GetDatabaseId
func (x *CloudSqlDatabaseReference) GetDatabaseId() stringfunc (*CloudSqlDatabaseReference) GetDatabaseTableReferences
func (x *CloudSqlDatabaseReference) GetDatabaseTableReferences() []*DatabaseTableReferencefunc (*CloudSqlDatabaseReference) GetEngine
func (x *CloudSqlDatabaseReference) GetEngine() CloudSqlDatabaseReference_Enginefunc (*CloudSqlDatabaseReference) GetInstanceId
func (x *CloudSqlDatabaseReference) GetInstanceId() stringfunc (*CloudSqlDatabaseReference) GetProjectId
func (x *CloudSqlDatabaseReference) GetProjectId() stringfunc (*CloudSqlDatabaseReference) GetRegion
func (x *CloudSqlDatabaseReference) GetRegion() stringfunc (*CloudSqlDatabaseReference) GetTableIds
func (x *CloudSqlDatabaseReference) GetTableIds() []stringfunc (*CloudSqlDatabaseReference) ProtoMessage
func (*CloudSqlDatabaseReference) ProtoMessage()func (*CloudSqlDatabaseReference) ProtoReflect
func (x *CloudSqlDatabaseReference) ProtoReflect() protoreflect.Messagefunc (*CloudSqlDatabaseReference) Reset
func (x *CloudSqlDatabaseReference) Reset()func (*CloudSqlDatabaseReference) String
func (x *CloudSqlDatabaseReference) String() stringCloudSqlDatabaseReference_Engine
type CloudSqlDatabaseReference_Engine int32The database engine.
CloudSqlDatabaseReference_ENGINE_UNSPECIFIED, CloudSqlDatabaseReference_POSTGRESQL, CloudSqlDatabaseReference_MYSQL
const (
// Engine is not specified.
CloudSqlDatabaseReference_ENGINE_UNSPECIFIED CloudSqlDatabaseReference_Engine = 0
// PostgreSQL
CloudSqlDatabaseReference_POSTGRESQL CloudSqlDatabaseReference_Engine = 1
// MySQL
CloudSqlDatabaseReference_MYSQL CloudSqlDatabaseReference_Engine = 2
)func (CloudSqlDatabaseReference_Engine) Descriptor
func (CloudSqlDatabaseReference_Engine) Descriptor() protoreflect.EnumDescriptorfunc (CloudSqlDatabaseReference_Engine) Enum
func (x CloudSqlDatabaseReference_Engine) Enum() *CloudSqlDatabaseReference_Enginefunc (CloudSqlDatabaseReference_Engine) EnumDescriptor
func (CloudSqlDatabaseReference_Engine) EnumDescriptor() ([]byte, []int)Deprecated: Use CloudSqlDatabaseReference_Engine.Descriptor instead.
func (CloudSqlDatabaseReference_Engine) Number
func (x CloudSqlDatabaseReference_Engine) Number() protoreflect.EnumNumberfunc (CloudSqlDatabaseReference_Engine) String
func (x CloudSqlDatabaseReference_Engine) String() stringfunc (CloudSqlDatabaseReference_Engine) Type
func (CloudSqlDatabaseReference_Engine) Type() protoreflect.EnumTypeCloudSqlReference
type CloudSqlReference struct {
// Required. Singular proto that supports specifying which database and tables
// to include.
DatabaseReference *CloudSqlDatabaseReference `protobuf:"bytes,1,opt,name=database_reference,json=databaseReference,proto3" json:"database_reference,omitempty"`
// Optional. Parameters for retrieving data from Agent Context.
AgentContextReference *AgentContextReference `protobuf:"bytes,2,opt,name=agent_context_reference,json=agentContextReference,proto3" json:"agent_context_reference,omitempty"`
// contains filtered or unexported fields
}Message representing reference to a CloudSQL database and agent context.
Only supported for the QueryData method.
func (*CloudSqlReference) Descriptor
func (*CloudSqlReference) Descriptor() ([]byte, []int)Deprecated: Use CloudSqlReference.ProtoReflect.Descriptor instead.
func (*CloudSqlReference) GetAgentContextReference
func (x *CloudSqlReference) GetAgentContextReference() *AgentContextReferencefunc (*CloudSqlReference) GetDatabaseReference
func (x *CloudSqlReference) GetDatabaseReference() *CloudSqlDatabaseReferencefunc (*CloudSqlReference) ProtoMessage
func (*CloudSqlReference) ProtoMessage()func (*CloudSqlReference) ProtoReflect
func (x *CloudSqlReference) ProtoReflect() protoreflect.Messagefunc (*CloudSqlReference) Reset
func (x *CloudSqlReference) Reset()func (*CloudSqlReference) String
func (x *CloudSqlReference) String() stringContext
type Context struct {
// Optional. The basic entry point for data owners creating domain knowledge
// for Agent.
//
// Why: Business jargon (e.g., YTD revenue is calculated as…, Retirement Age
// is 65 in the USA, etc) and system instructions (e.g., answer like a Pirate)
// can help the model understand the business context around a user question.
//
// Must be at most 250,000 bytes (approx. 250,000 characters for English
// text).
SystemInstruction string `protobuf:"bytes,1,opt,name=system_instruction,json=systemInstruction,proto3" json:"system_instruction,omitempty"`
// Required. Data sources that are available for answering the question.
DatasourceReferences *DatasourceReferences `protobuf:"bytes,7,opt,name=datasource_references,json=datasourceReferences,proto3" json:"datasource_references,omitempty"`
// Optional. Additional options for the conversation.
Options *ConversationOptions `protobuf:"bytes,3,opt,name=options,proto3" json:"options,omitempty"`
// Optional. A list of example queries, providing examples of relevant and
// commonly used SQL queries and their corresponding natural language queries
// optionally present. Currently only used for BigQuery data sources and
// databases (alloydb, cloudsql, spanner) data sources.
ExampleQueries []*ExampleQuery `protobuf:"bytes,5,rep,name=example_queries,json=exampleQueries,proto3" json:"example_queries,omitempty"`
// Optional. A list of golden queries, providing examples of relevant and
// commonly used Looker queries and their corresponding natural language
// queries optionally present. Only supported for Looker data sources.
LookerGoldenQueries []*LookerGoldenQuery `protobuf:"bytes,11,rep,name=looker_golden_queries,json=lookerGoldenQueries,proto3" json:"looker_golden_queries,omitempty"`
// Optional. Term definitions (currently, only user authored)
// Not supported for databases (alloydb, cloudsql, spanner) data sources.
GlossaryTerms []*GlossaryTerm `protobuf:"bytes,8,rep,name=glossary_terms,json=glossaryTerms,proto3" json:"glossary_terms,omitempty"`
// Optional. Relationships between table schema, including referencing and
// referenced columns.
SchemaRelationships []*Context_SchemaRelationship `protobuf:"bytes,9,rep,name=schema_relationships,json=schemaRelationships,proto3" json:"schema_relationships,omitempty"`
// Optional. A collection of user functions to be included in context.
UserFunctions *UserFunctions `protobuf:"bytes,10,opt,name=user_functions,json=userFunctions,proto3" json:"user_functions,omitempty"`
// contains filtered or unexported fields
}A collection of context to apply to this conversation
func (*Context) Descriptor
Deprecated: Use Context.ProtoReflect.Descriptor instead.
func (*Context) GetDatasourceReferences
func (x *Context) GetDatasourceReferences() *DatasourceReferencesfunc (*Context) GetExampleQueries
func (x *Context) GetExampleQueries() []*ExampleQueryfunc (*Context) GetGlossaryTerms
func (x *Context) GetGlossaryTerms() []*GlossaryTermfunc (*Context) GetLookerGoldenQueries
func (x *Context) GetLookerGoldenQueries() []*LookerGoldenQueryfunc (*Context) GetOptions
func (x *Context) GetOptions() *ConversationOptionsfunc (*Context) GetSchemaRelationships
func (x *Context) GetSchemaRelationships() []*Context_SchemaRelationshipfunc (*Context) GetSystemInstruction
func (*Context) GetUserFunctions
func (x *Context) GetUserFunctions() *UserFunctionsfunc (*Context) ProtoMessage
func (*Context) ProtoMessage()func (*Context) ProtoReflect
func (x *Context) ProtoReflect() protoreflect.Messagefunc (*Context) Reset
func (x *Context) Reset()func (*Context) String
Context_SchemaRelationship
type Context_SchemaRelationship struct {
// An ordered list of fields for the join from the first table.
// The size of this list must be the same as `right_schema_paths`.
// Each field at index i in this list must correspond to a field at the same
// index in the `right_schema_paths` list.
LeftSchemaPaths *Context_SchemaRelationship_SchemaPaths `protobuf:"bytes,1,opt,name=left_schema_paths,json=leftSchemaPaths,proto3" json:"left_schema_paths,omitempty"`
// An ordered list of fields for the join from the second table.
// The size of this list must be the same as `left_schema_paths`.
// Each field at index i in this list must correspond to a field at the same
// index in the `left_schema_paths` list.
RightSchemaPaths *Context_SchemaRelationship_SchemaPaths `protobuf:"bytes,2,opt,name=right_schema_paths,json=rightSchemaPaths,proto3" json:"right_schema_paths,omitempty"`
// Optional. Sources which generated the schema relation edge.
Sources []Context_SchemaRelationship_Source `protobuf:"varint,3,rep,packed,name=sources,proto3,enum=google.cloud.geminidataanalytics.v1beta.Context_SchemaRelationship_Source" json:"sources,omitempty"`
// Optional. A confidence score for the suggested relationship.
// Manually added edges have the highest confidence score.
ConfidenceScore float32 `protobuf:"fixed32,4,opt,name=confidence_score,json=confidenceScore,proto3" json:"confidence_score,omitempty"`
// contains filtered or unexported fields
}The relationship between two tables, including referencing and referenced columns. This is a derived context retrieved from Dataplex Dataset Insights.
func (*Context_SchemaRelationship) Descriptor
func (*Context_SchemaRelationship) Descriptor() ([]byte, []int)Deprecated: Use Context_SchemaRelationship.ProtoReflect.Descriptor instead.
func (*Context_SchemaRelationship) GetConfidenceScore
func (x *Context_SchemaRelationship) GetConfidenceScore() float32func (*Context_SchemaRelationship) GetLeftSchemaPaths
func (x *Context_SchemaRelationship) GetLeftSchemaPaths() *Context_SchemaRelationship_SchemaPathsfunc (*Context_SchemaRelationship) GetRightSchemaPaths
func (x *Context_SchemaRelationship) GetRightSchemaPaths() *Context_SchemaRelationship_SchemaPathsfunc (*Context_SchemaRelationship) GetSources
func (x *Context_SchemaRelationship) GetSources() []Context_SchemaRelationship_Sourcefunc (*Context_SchemaRelationship) ProtoMessage
func (*Context_SchemaRelationship) ProtoMessage()func (*Context_SchemaRelationship) ProtoReflect
func (x *Context_SchemaRelationship) ProtoReflect() protoreflect.Messagefunc (*Context_SchemaRelationship) Reset
func (x *Context_SchemaRelationship) Reset()func (*Context_SchemaRelationship) String
func (x *Context_SchemaRelationship) String() stringContext_SchemaRelationship_SchemaPaths
type Context_SchemaRelationship_SchemaPaths struct {
// The service-qualified full resource name of the table
// Ex:
// bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID
TableFqn string `protobuf:"bytes,1,opt,name=table_fqn,json=tableFqn,proto3" json:"table_fqn,omitempty"`
// The ordered list of paths within the table schema.
Paths []string `protobuf:"bytes,2,rep,name=paths,proto3" json:"paths,omitempty"`
// contains filtered or unexported fields
}Represents an ordered set of paths within the table schema.
func (*Context_SchemaRelationship_SchemaPaths) Descriptor
func (*Context_SchemaRelationship_SchemaPaths) Descriptor() ([]byte, []int)Deprecated: Use Context_SchemaRelationship_SchemaPaths.ProtoReflect.Descriptor instead.
func (*Context_SchemaRelationship_SchemaPaths) GetPaths
func (x *Context_SchemaRelationship_SchemaPaths) GetPaths() []stringfunc (*Context_SchemaRelationship_SchemaPaths) GetTableFqn
func (x *Context_SchemaRelationship_SchemaPaths) GetTableFqn() stringfunc (*Context_SchemaRelationship_SchemaPaths) ProtoMessage
func (*Context_SchemaRelationship_SchemaPaths) ProtoMessage()func (*Context_SchemaRelationship_SchemaPaths) ProtoReflect
func (x *Context_SchemaRelationship_SchemaPaths) ProtoReflect() protoreflect.Messagefunc (*Context_SchemaRelationship_SchemaPaths) Reset
func (x *Context_SchemaRelationship_SchemaPaths) Reset()func (*Context_SchemaRelationship_SchemaPaths) String
func (x *Context_SchemaRelationship_SchemaPaths) String() stringContext_SchemaRelationship_Source
type Context_SchemaRelationship_Source int32Source which generated the schema relation edge.
Context_SchemaRelationship_SOURCE_UNSPECIFIED, Context_SchemaRelationship_BIGQUERY_JOB_HISTORY, Context_SchemaRelationship_LLM_SUGGESTED, Context_SchemaRelationship_BIGQUERY_TABLE_CONSTRAINTS
const (
// The source of the schema relationship is unspecified.
Context_SchemaRelationship_SOURCE_UNSPECIFIED Context_SchemaRelationship_Source = 0
// The source of the schema relationship is BigQuery job history.
Context_SchemaRelationship_BIGQUERY_JOB_HISTORY Context_SchemaRelationship_Source = 1
// The source of the schema relationship is LLM suggested.
Context_SchemaRelationship_LLM_SUGGESTED Context_SchemaRelationship_Source = 2
// The source of the schema relationship is BigQuery table constraints.
Context_SchemaRelationship_BIGQUERY_TABLE_CONSTRAINTS Context_SchemaRelationship_Source = 3
)func (Context_SchemaRelationship_Source) Descriptor
func (Context_SchemaRelationship_Source) Descriptor() protoreflect.EnumDescriptorfunc (Context_SchemaRelationship_Source) Enum
func (x Context_SchemaRelationship_Source) Enum() *Context_SchemaRelationship_Sourcefunc (Context_SchemaRelationship_Source) EnumDescriptor
func (Context_SchemaRelationship_Source) EnumDescriptor() ([]byte, []int)Deprecated: Use Context_SchemaRelationship_Source.Descriptor instead.
func (Context_SchemaRelationship_Source) Number
func (x Context_SchemaRelationship_Source) Number() protoreflect.EnumNumberfunc (Context_SchemaRelationship_Source) String
func (x Context_SchemaRelationship_Source) String() stringfunc (Context_SchemaRelationship_Source) Type
func (Context_SchemaRelationship_Source) Type() protoreflect.EnumTypeConversation
type Conversation struct {
// Optional. Identifier. The unique resource name of a conversation. Format:
// `projects/{project}/locations/{location}/conversations/{conversation_id}`
// `{conversation_id}` is the resource id and should be 63 characters or less
// and must match the format described in
// https://google.aip.dev/122#resource-id-segments
//
// Example:
// `projects/1234567890/locations/global/conversations/my-conversation`.
//
// It is recommended to skip setting this field during conversation creation
// as it will be inferred automatically and overwritten with the
// {parent}/conversations/{conversation_id}.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. Agent(s) in the conversation.
// Currently, only one agent is supported. This field is repeated to allow
// for future support of multiple agents in a conversation.
// Format: `projects/{project}/locations/{location}/dataAgents/{agent}`
Agents []string `protobuf:"bytes,2,rep,name=agents,proto3" json:"agents,omitempty"`
// Output only. Creation timestamp.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Timestamp of the last used conversation.
LastUsedTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_used_time,json=lastUsedTime,proto3" json:"last_used_time,omitempty"`
// Optional. Open-ended and user-defined labels that can be set by the client
// to tag a conversation (e.g. to filter conversations for specific
// surfaces/products).
Labels map[string]string `protobuf:"bytes,9,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Optional. The display name for the conversation (max 63 chars).
Title string `protobuf:"bytes,6,opt,name=title,proto3" json:"title,omitempty"`
// Optional. Customer managed encryption key (CMEK) to use for encrypting the
// Conversation resources. Encryption will happen at Titan layer, we will pass
// the KMS key to Titan.
//
// Format:
// projects/{project_id}/locations/{location}/keyRings/{key_ring_name}/cryptoKeys/{key_name}.
KmsKey *string `protobuf:"bytes,10,opt,name=kms_key,json=kmsKey,proto3,oneof" json:"kms_key,omitempty"`
// contains filtered or unexported fields
}Message for a conversation.
func (*Conversation) Descriptor
func (*Conversation) Descriptor() ([]byte, []int)Deprecated: Use Conversation.ProtoReflect.Descriptor instead.
func (*Conversation) GetAgents
func (x *Conversation) GetAgents() []stringfunc (*Conversation) GetCreateTime
func (x *Conversation) GetCreateTime() *timestamppb.Timestampfunc (*Conversation) GetKmsKey
func (x *Conversation) GetKmsKey() stringfunc (*Conversation) GetLabels
func (x *Conversation) GetLabels() map[string]stringfunc (*Conversation) GetLastUsedTime
func (x *Conversation) GetLastUsedTime() *timestamppb.Timestampfunc (*Conversation) GetName
func (x *Conversation) GetName() stringfunc (*Conversation) GetTitle
func (x *Conversation) GetTitle() stringfunc (*Conversation) ProtoMessage
func (*Conversation) ProtoMessage()func (*Conversation) ProtoReflect
func (x *Conversation) ProtoReflect() protoreflect.Messagefunc (*Conversation) Reset
func (x *Conversation) Reset()func (*Conversation) String
func (x *Conversation) String() stringConversationOptions
type ConversationOptions struct {
// Optional. Options for chart generation.
Chart *ChartOptions `protobuf:"bytes,1,opt,name=chart,proto3" json:"chart,omitempty"`
// Optional. Options for analysis.
Analysis *AnalysisOptions `protobuf:"bytes,2,opt,name=analysis,proto3" json:"analysis,omitempty"`
// Optional. Options for datasources.
Datasource *DatasourceOptions `protobuf:"bytes,3,opt,name=datasource,proto3" json:"datasource,omitempty"`
// Optional. The model to use for the agent loop.
Model *ConversationOptions_Model `protobuf:"varint,6,opt,name=model,proto3,enum=google.cloud.geminidataanalytics.v1beta.ConversationOptions_Model,oneof" json:"model,omitempty"`
// contains filtered or unexported fields
}Options for the conversation.
func (*ConversationOptions) Descriptor
func (*ConversationOptions) Descriptor() ([]byte, []int)Deprecated: Use ConversationOptions.ProtoReflect.Descriptor instead.
func (*ConversationOptions) GetAnalysis
func (x *ConversationOptions) GetAnalysis() *AnalysisOptionsfunc (*ConversationOptions) GetChart
func (x *ConversationOptions) GetChart() *ChartOptionsfunc (*ConversationOptions) GetDatasource
func (x *ConversationOptions) GetDatasource() *DatasourceOptionsfunc (*ConversationOptions) GetModel
func (x *ConversationOptions) GetModel() ConversationOptions_Modelfunc (*ConversationOptions) ProtoMessage
func (*ConversationOptions) ProtoMessage()func (*ConversationOptions) ProtoReflect
func (x *ConversationOptions) ProtoReflect() protoreflect.Messagefunc (*ConversationOptions) Reset
func (x *ConversationOptions) Reset()func (*ConversationOptions) String
func (x *ConversationOptions) String() stringConversationOptions_Model
type ConversationOptions_Model int32Allowed models for the agent/conversation.
ConversationOptions_MODEL_UNSPECIFIED, ConversationOptions_LATEST_GA_MODEL
const (
// No model specified. The model may be set on the chat request, or the
// default model will be used.
ConversationOptions_MODEL_UNSPECIFIED ConversationOptions_Model = 0
// Use the most up-to-date non-preview model. This may constrain certain
// request level settings.
ConversationOptions_LATEST_GA_MODEL ConversationOptions_Model = 1
)func (ConversationOptions_Model) Descriptor
func (ConversationOptions_Model) Descriptor() protoreflect.EnumDescriptorfunc (ConversationOptions_Model) Enum
func (x ConversationOptions_Model) Enum() *ConversationOptions_Modelfunc (ConversationOptions_Model) EnumDescriptor
func (ConversationOptions_Model) EnumDescriptor() ([]byte, []int)Deprecated: Use ConversationOptions_Model.Descriptor instead.
func (ConversationOptions_Model) Number
func (x ConversationOptions_Model) Number() protoreflect.EnumNumberfunc (ConversationOptions_Model) String
func (x ConversationOptions_Model) String() stringfunc (ConversationOptions_Model) Type
func (ConversationOptions_Model) Type() protoreflect.EnumTypeConversationReference
type ConversationReference struct {
// Required. Name of the conversation resource.
// Format:
// `projects/{project}/locations/{location}/conversations/{conversation_id}`
Conversation string `protobuf:"bytes,1,opt,name=conversation,proto3" json:"conversation,omitempty"`
// Required. Context for the chat request using a data agent.
DataAgentContext *DataAgentContext `protobuf:"bytes,3,opt,name=data_agent_context,json=dataAgentContext,proto3" json:"data_agent_context,omitempty"`
// contains filtered or unexported fields
}Reference to a persisted conversation and agent context.
func (*ConversationReference) Descriptor
func (*ConversationReference) Descriptor() ([]byte, []int)Deprecated: Use ConversationReference.ProtoReflect.Descriptor instead.
func (*ConversationReference) GetConversation
func (x *ConversationReference) GetConversation() stringfunc (*ConversationReference) GetDataAgentContext
func (x *ConversationReference) GetDataAgentContext() *DataAgentContextfunc (*ConversationReference) ProtoMessage
func (*ConversationReference) ProtoMessage()func (*ConversationReference) ProtoReflect
func (x *ConversationReference) ProtoReflect() protoreflect.Messagefunc (*ConversationReference) Reset
func (x *ConversationReference) Reset()func (*ConversationReference) String
func (x *ConversationReference) String() stringCreateConversationRequest
type CreateConversationRequest struct {
// Required. Parent value for CreateConversationRequest.
// Format: `projects/{project}/locations/{location}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The conversation id of the conversation to create.
// Must be unique within the parent.
// The allowed format is: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
// If not provided, the server will auto-generate a value for the id.
ConversationId string `protobuf:"bytes,2,opt,name=conversation_id,json=conversationId,proto3" json:"conversation_id,omitempty"`
// Required. The conversation to create.
Conversation *Conversation `protobuf:"bytes,3,opt,name=conversation,proto3" json:"conversation,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Request for creating a conversation.
func (*CreateConversationRequest) Descriptor
func (*CreateConversationRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateConversationRequest.ProtoReflect.Descriptor instead.
func (*CreateConversationRequest) GetConversation
func (x *CreateConversationRequest) GetConversation() *Conversationfunc (*CreateConversationRequest) GetConversationId
func (x *CreateConversationRequest) GetConversationId() stringfunc (*CreateConversationRequest) GetParent
func (x *CreateConversationRequest) GetParent() stringfunc (*CreateConversationRequest) GetRequestId
func (x *CreateConversationRequest) GetRequestId() stringfunc (*CreateConversationRequest) ProtoMessage
func (*CreateConversationRequest) ProtoMessage()func (*CreateConversationRequest) ProtoReflect
func (x *CreateConversationRequest) ProtoReflect() protoreflect.Messagefunc (*CreateConversationRequest) Reset
func (x *CreateConversationRequest) Reset()func (*CreateConversationRequest) String
func (x *CreateConversationRequest) String() stringCreateDataAgentRequest
type CreateDataAgentRequest struct {
// Required. Value for parent.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Id of the requesting object. Must be unique within the parent.
// The allowed format is: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
// If not provided, the server will auto-generate a value for the id.
DataAgentId string `protobuf:"bytes,2,opt,name=data_agent_id,json=dataAgentId,proto3" json:"data_agent_id,omitempty"`
// Required. The resource being created.
DataAgent *DataAgent `protobuf:"bytes,3,opt,name=data_agent,json=dataAgent,proto3" json:"data_agent,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for creating a DataAgent.
func (*CreateDataAgentRequest) Descriptor
func (*CreateDataAgentRequest) Descriptor() ([]byte, []int)Deprecated: Use CreateDataAgentRequest.ProtoReflect.Descriptor instead.
func (*CreateDataAgentRequest) GetDataAgent
func (x *CreateDataAgentRequest) GetDataAgent() *DataAgentfunc (*CreateDataAgentRequest) GetDataAgentId
func (x *CreateDataAgentRequest) GetDataAgentId() stringfunc (*CreateDataAgentRequest) GetParent
func (x *CreateDataAgentRequest) GetParent() stringfunc (*CreateDataAgentRequest) GetRequestId
func (x *CreateDataAgentRequest) GetRequestId() stringfunc (*CreateDataAgentRequest) ProtoMessage
func (*CreateDataAgentRequest) ProtoMessage()func (*CreateDataAgentRequest) ProtoReflect
func (x *CreateDataAgentRequest) ProtoReflect() protoreflect.Messagefunc (*CreateDataAgentRequest) Reset
func (x *CreateDataAgentRequest) Reset()func (*CreateDataAgentRequest) String
func (x *CreateDataAgentRequest) String() stringCredentials
type Credentials struct {
// The kind of credentials.
//
// Types that are valid to be assigned to Kind:
//
// *Credentials_Oauth
Kind isCredentials_Kind `protobuf_oneof:"kind"`
// contains filtered or unexported fields
}Represents different forms of credential specification.
func (*Credentials) Descriptor
func (*Credentials) Descriptor() ([]byte, []int)Deprecated: Use Credentials.ProtoReflect.Descriptor instead.
func (*Credentials) GetKind
func (x *Credentials) GetKind() isCredentials_Kindfunc (*Credentials) GetOauth
func (x *Credentials) GetOauth() *OAuthCredentialsfunc (*Credentials) ProtoMessage
func (*Credentials) ProtoMessage()func (*Credentials) ProtoReflect
func (x *Credentials) ProtoReflect() protoreflect.Messagefunc (*Credentials) Reset
func (x *Credentials) Reset()func (*Credentials) String
func (x *Credentials) String() stringCredentials_Oauth
type Credentials_Oauth struct {
// OAuth credentials.
Oauth *OAuthCredentials `protobuf:"bytes,1,opt,name=oauth,proto3,oneof"`
}DataA2AServiceClient
type DataA2AServiceClient interface {
// Send a message to the agent. This is a blocking call that will return the
// task once it is completed.
SendMessage(ctx context.Context, in *SendMessageRequest, opts ...grpc.CallOption) (*SendMessageResponse, error)
// SendStreamingMessage is a streaming call that will return a stream of
// task update events until the Task is in an interrupted or terminal state.
SendStreamingMessage(ctx context.Context, in *SendMessageRequest, opts ...grpc.CallOption) (DataA2AService_SendStreamingMessageClient, error)
// GetAgentCard returns the agent card for the agent.
GetAgentCard(ctx context.Context, in *GetAgentCardRequest, opts ...grpc.CallOption) (*AgentCard, error)
}DataA2AServiceClient is the client API for DataA2AService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDataA2AServiceClient
func NewDataA2AServiceClient(cc grpc.ClientConnInterface) DataA2AServiceClientDataA2AServiceServer
type DataA2AServiceServer interface {
// Send a message to the agent. This is a blocking call that will return the
// task once it is completed.
SendMessage(context.Context, *SendMessageRequest) (*SendMessageResponse, error)
// SendStreamingMessage is a streaming call that will return a stream of
// task update events until the Task is in an interrupted or terminal state.
SendStreamingMessage(*SendMessageRequest, DataA2AService_SendStreamingMessageServer) error
// GetAgentCard returns the agent card for the agent.
GetAgentCard(context.Context, *GetAgentCardRequest) (*AgentCard, error)
}DataA2AServiceServer is the server API for DataA2AService service. All implementations should embed UnimplementedDataA2AServiceServer for forward compatibility
DataA2AService_SendStreamingMessageClient
type DataA2AService_SendStreamingMessageClient interface {
Recv() (*StreamResponse, error)
grpc.ClientStream
}DataA2AService_SendStreamingMessageServer
type DataA2AService_SendStreamingMessageServer interface {
Send(*StreamResponse) error
grpc.ServerStream
}DataAgent
type DataAgent struct {
// The type of the agent. Can be one of the following:
// * Data analytics agent.
// * Data engineering agent
//
// Types that are valid to be assigned to Type:
//
// *DataAgent_DataAnalyticsAgent
Type isDataAgent_Type `protobuf_oneof:"type"`
// Optional. Identifier. The unique resource name of a DataAgent.
// Format:
// `projects/{project}/locations/{location}/dataAgents/{data_agent_id}`
// `{data_agent}` is the resource id and should be 63 characters or less and
// must match the format described in
// https://google.aip.dev/122#resource-id-segments
//
// Example: `projects/1234567890/locations/global/dataAgents/my-agent`.
//
// It is recommended to skip setting this field during agent creation as it
// will be inferred automatically and overwritten with the
// {parent}/dataAgents/{data_agent_id}.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. User friendly display name.
//
// * Must be between 1-256 characters.
DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Optional. Description of the agent.
//
// * Must be between 1-1024 characters.
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
// Optional. Labels to help users filter related agents.
// For example, "sales", "business", "etl", and so on.
// Note labels are used only for filtering and not for policies.
// See the [labels
// documentation](https://cloud.google.com/resource-manager/docs/labels-overview)
// for more details on label usage.
Labels map[string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// Output only. The time when the data agent was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time when the data agent was last updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. [Output only] The time the data agent was soft deleted.
DeleteTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
// Output only. Timestamp in UTC of when this data agent is considered
// expired. This is *always* provided on output, regardless of what was sent
// on input.
PurgeTime *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=purge_time,json=purgeTime,proto3" json:"purge_time,omitempty"`
// Optional. Customer managed encryption key (CMEK) to use for encrypting the
// DataAgent resources. Cloud KMS CryptoKeys must reside in the same location
// as the DataAgent. The expected format is
// `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
KmsKey *string `protobuf:"bytes,14,opt,name=kms_key,json=kmsKey,proto3,oneof" json:"kms_key,omitempty"`
// Optional. Controls whether BigQuery Agent Analytics trace logging is
// enabled for the agent.
//
// BigQuery Agent Analytics is in Preview and is delivered to enrolled
// projects only. In a project that is not enrolled this field is accepted
// and stored, but no trace rows are written and no error is returned.
//
// Trace logging is additionally suppressed for the entire turn, without
// error, when any table in the agent's datasource carries row-level
// security, column-level security or policy tags. It is also suppressed
// when that determination cannot be made, for example when the caller
// lacks permission to list a table's row access policies.
//
// Trace rows are written only when this is `true` and
// `bigquery_agent_analytics_table` is set. On a BigQuery agent, enabling
// this without a table has no effect: no table is created for the agent
// and no rows are written. On an agent whose datasource is not BigQuery,
// `CreateDataAgent` rejects either field with `INVALID_ARGUMENT`.
//
// This setting is independent of the project-level BigQuery Agent Analytics
// setting configured through `SetAgentOpsObservability`. An agent does not
// inherit that setting.
BigqueryAgentAnalyticsEnabled *bool `protobuf:"varint,18,opt,name=bigquery_agent_analytics_enabled,json=bigqueryAgentAnalyticsEnabled,proto3,oneof" json:"bigquery_agent_analytics_enabled,omitempty"`
// Optional. The BigQuery table that BigQuery Agent Analytics trace rows are
// written to. Has no effect unless `bigquery_agent_analytics_enabled` is
// `true`. The Preview enrollment described on that field applies here too.
//
// The trace table is validated when it is set on `CreateDataAgent`, or when
// it is included in the `update_mask` of an `UpdateDataAgent` call. The
// following are rejected with `INVALID_ARGUMENT`:
//
// - The table must belong to the same project as the agent.
// - The agent's datasource must be BigQuery. BigQuery Agent Analytics is not
// supported for Looker, Looker Studio or AlloyDB agents.
//
// These are validated against the agent as sent in the request. An agent
// that carries no datasource is not validated, and an agent switched to a
// non-BigQuery datasource is not re-validated; in the latter case no trace
// rows are written.
//
// The destination dataset must already exist and must grant write access to
// the project's Gemini Data Analytics service agent, whose address is
// `service-PROJECT_NUMBER@gcp-sa-geminidataanalytics.iam.gserviceaccount.com`
// (that grant is not performed on your behalf). Without it the agent answers
// normally and no trace rows are written.
//
// Changing the table on an existing agent affects subsequent turns only. Rows
// already written to the previous table are left in place.
BigqueryAgentAnalyticsTable *BigQueryTableReference `protobuf:"bytes,19,opt,name=bigquery_agent_analytics_table,json=bigqueryAgentAnalyticsTable,proto3" json:"bigquery_agent_analytics_table,omitempty"`
// contains filtered or unexported fields
}Message describing a DataAgent object.
func (*DataAgent) Descriptor
Deprecated: Use DataAgent.ProtoReflect.Descriptor instead.
func (*DataAgent) GetBigqueryAgentAnalyticsEnabled
func (*DataAgent) GetBigqueryAgentAnalyticsTable
func (x *DataAgent) GetBigqueryAgentAnalyticsTable() *BigQueryTableReferencefunc (*DataAgent) GetCreateTime
func (x *DataAgent) GetCreateTime() *timestamppb.Timestampfunc (*DataAgent) GetDataAnalyticsAgent
func (x *DataAgent) GetDataAnalyticsAgent() *DataAnalyticsAgentfunc (*DataAgent) GetDeleteTime
func (x *DataAgent) GetDeleteTime() *timestamppb.Timestampfunc (*DataAgent) GetDescription
func (*DataAgent) GetDisplayName
func (*DataAgent) GetKmsKey
func (*DataAgent) GetLabels
func (*DataAgent) GetName
func (*DataAgent) GetPurgeTime
func (x *DataAgent) GetPurgeTime() *timestamppb.Timestampfunc (*DataAgent) GetType
func (x *DataAgent) GetType() isDataAgent_Typefunc (*DataAgent) GetUpdateTime
func (x *DataAgent) GetUpdateTime() *timestamppb.Timestampfunc (*DataAgent) ProtoMessage
func (*DataAgent) ProtoMessage()func (*DataAgent) ProtoReflect
func (x *DataAgent) ProtoReflect() protoreflect.Messagefunc (*DataAgent) Reset
func (x *DataAgent) Reset()func (*DataAgent) String
DataAgentContext
type DataAgentContext struct {
// Required. The name of the data agent resource.
DataAgent string `protobuf:"bytes,1,opt,name=data_agent,json=dataAgent,proto3" json:"data_agent,omitempty"`
// Optional. Deprecated: Use credentials in ChatRequest.
// The credentials to use when calling the Looker data source.
//
// Currently supports both OAuth token and API key-based credentials, as
// described in
// [Authentication with an
// SDK](https://cloud.google.com/looker/docs/api-auth#authentication_with_an_sdk).
//
// Deprecated: Marked as deprecated in google/cloud/geminidataanalytics/v1beta/data_chat_service.proto.
Credentials *Credentials `protobuf:"bytes,2,opt,name=credentials,proto3" json:"credentials,omitempty"`
// Optional. Version of context to be used by DCS (e.g. STAGING, PUBLISHED)
ContextVersion DataAgentContext_ContextVersion `protobuf:"varint,3,opt,name=context_version,json=contextVersion,proto3,enum=google.cloud.geminidataanalytics.v1beta.DataAgentContext_ContextVersion" json:"context_version,omitempty"`
// contains filtered or unexported fields
}Context for the chat request using a data agent.
func (*DataAgentContext) Descriptor
func (*DataAgentContext) Descriptor() ([]byte, []int)Deprecated: Use DataAgentContext.ProtoReflect.Descriptor instead.
func (*DataAgentContext) GetContextVersion
func (x *DataAgentContext) GetContextVersion() DataAgentContext_ContextVersionfunc (*DataAgentContext) GetCredentials
func (x *DataAgentContext) GetCredentials() *CredentialsDeprecated: Marked as deprecated in google/cloud/geminidataanalytics/v1beta/data_chat_service.proto.
func (*DataAgentContext) GetDataAgent
func (x *DataAgentContext) GetDataAgent() stringfunc (*DataAgentContext) ProtoMessage
func (*DataAgentContext) ProtoMessage()func (*DataAgentContext) ProtoReflect
func (x *DataAgentContext) ProtoReflect() protoreflect.Messagefunc (*DataAgentContext) Reset
func (x *DataAgentContext) Reset()func (*DataAgentContext) String
func (x *DataAgentContext) String() stringDataAgentContext_ContextVersion
type DataAgentContext_ContextVersion int32List of context versions supported by DCS. There are two versions of context. This is to maintain versioning for the data agent.
DataAgentContext_CONTEXT_VERSION_UNSPECIFIED, DataAgentContext_STAGING, DataAgentContext_PUBLISHED
const (
// Unspecified or unrecognized.
DataAgentContext_CONTEXT_VERSION_UNSPECIFIED DataAgentContext_ContextVersion = 0
// Using this version, DCS will use the latest staging context for the
// data agent.
DataAgentContext_STAGING DataAgentContext_ContextVersion = 1
// Using this version, DCS will use the latest published context for the
// data agent.
DataAgentContext_PUBLISHED DataAgentContext_ContextVersion = 2
)func (DataAgentContext_ContextVersion) Descriptor
func (DataAgentContext_ContextVersion) Descriptor() protoreflect.EnumDescriptorfunc (DataAgentContext_ContextVersion) Enum
func (x DataAgentContext_ContextVersion) Enum() *DataAgentContext_ContextVersionfunc (DataAgentContext_ContextVersion) EnumDescriptor
func (DataAgentContext_ContextVersion) EnumDescriptor() ([]byte, []int)Deprecated: Use DataAgentContext_ContextVersion.Descriptor instead.
func (DataAgentContext_ContextVersion) Number
func (x DataAgentContext_ContextVersion) Number() protoreflect.EnumNumberfunc (DataAgentContext_ContextVersion) String
func (x DataAgentContext_ContextVersion) String() stringfunc (DataAgentContext_ContextVersion) Type
func (DataAgentContext_ContextVersion) Type() protoreflect.EnumTypeDataAgentServiceClient
type DataAgentServiceClient interface {
// Lists DataAgents in a given project and location.
ListDataAgents(ctx context.Context, in *ListDataAgentsRequest, opts ...grpc.CallOption) (*ListDataAgentsResponse, error)
// Lists DataAgents that are accessible to the caller in a given project and
// location.
ListAccessibleDataAgents(ctx context.Context, in *ListAccessibleDataAgentsRequest, opts ...grpc.CallOption) (*ListAccessibleDataAgentsResponse, error)
// Gets details of a single DataAgent.
GetDataAgent(ctx context.Context, in *GetDataAgentRequest, opts ...grpc.CallOption) (*DataAgent, error)
// Creates a new DataAgent in a given project and location.
CreateDataAgent(ctx context.Context, in *CreateDataAgentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Creates a new DataAgent in a given project and location synchronously.
CreateDataAgentSync(ctx context.Context, in *CreateDataAgentRequest, opts ...grpc.CallOption) (*DataAgent, error)
// Updates the parameters of a single DataAgent.
UpdateDataAgent(ctx context.Context, in *UpdateDataAgentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates the parameters of a single DataAgent synchronously.
UpdateDataAgentSync(ctx context.Context, in *UpdateDataAgentRequest, opts ...grpc.CallOption) (*DataAgent, error)
// Deletes a single DataAgent.
DeleteDataAgent(ctx context.Context, in *DeleteDataAgentRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a single DataAgent synchronously.
DeleteDataAgentSync(ctx context.Context, in *DeleteDataAgentRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Gets the IAM policy for DataAgent
GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
// Sets the IAM policy for a DataAgent.
SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
// Enables/Disables required GCP services and configures AgentOps
// observability settings calling the Admin Settings executable node to
// update the AgentOps Observability feature.
SetAgentOpsObservability(ctx context.Context, in *SetAgentOpsObservabilityRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets AgentOps observability settings and status of required services.
RetrieveAgentOpsObservability(ctx context.Context, in *RetrieveAgentOpsObservabilityRequest, opts ...grpc.CallOption) (*RetrieveAgentOpsObservabilityResponse, error)
}DataAgentServiceClient is the client API for DataAgentService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDataAgentServiceClient
func NewDataAgentServiceClient(cc grpc.ClientConnInterface) DataAgentServiceClientDataAgentServiceServer
type DataAgentServiceServer interface {
// Lists DataAgents in a given project and location.
ListDataAgents(context.Context, *ListDataAgentsRequest) (*ListDataAgentsResponse, error)
// Lists DataAgents that are accessible to the caller in a given project and
// location.
ListAccessibleDataAgents(context.Context, *ListAccessibleDataAgentsRequest) (*ListAccessibleDataAgentsResponse, error)
// Gets details of a single DataAgent.
GetDataAgent(context.Context, *GetDataAgentRequest) (*DataAgent, error)
// Creates a new DataAgent in a given project and location.
CreateDataAgent(context.Context, *CreateDataAgentRequest) (*longrunningpb.Operation, error)
// Creates a new DataAgent in a given project and location synchronously.
CreateDataAgentSync(context.Context, *CreateDataAgentRequest) (*DataAgent, error)
// Updates the parameters of a single DataAgent.
UpdateDataAgent(context.Context, *UpdateDataAgentRequest) (*longrunningpb.Operation, error)
// Updates the parameters of a single DataAgent synchronously.
UpdateDataAgentSync(context.Context, *UpdateDataAgentRequest) (*DataAgent, error)
// Deletes a single DataAgent.
DeleteDataAgent(context.Context, *DeleteDataAgentRequest) (*longrunningpb.Operation, error)
// Deletes a single DataAgent synchronously.
DeleteDataAgentSync(context.Context, *DeleteDataAgentRequest) (*emptypb.Empty, error)
// Gets the IAM policy for DataAgent
GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
// Sets the IAM policy for a DataAgent.
SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
// Enables/Disables required GCP services and configures AgentOps
// observability settings calling the Admin Settings executable node to
// update the AgentOps Observability feature.
SetAgentOpsObservability(context.Context, *SetAgentOpsObservabilityRequest) (*longrunningpb.Operation, error)
// Gets AgentOps observability settings and status of required services.
RetrieveAgentOpsObservability(context.Context, *RetrieveAgentOpsObservabilityRequest) (*RetrieveAgentOpsObservabilityResponse, error)
}DataAgentServiceServer is the server API for DataAgentService service. All implementations should embed UnimplementedDataAgentServiceServer for forward compatibility
DataAgent_DataAnalyticsAgent
type DataAgent_DataAnalyticsAgent struct {
// Data analytics agent.
DataAnalyticsAgent *DataAnalyticsAgent `protobuf:"bytes,101,opt,name=data_analytics_agent,json=dataAnalyticsAgent,proto3,oneof"`
}DataAnalyticsAgent
type DataAnalyticsAgent struct {
// Optional. The staging context for the agent.
// This context is used to test and validate changes before publishing.
StagingContext *Context `protobuf:"bytes,5,opt,name=staging_context,json=stagingContext,proto3" json:"staging_context,omitempty"`
// Optional. The published context for the agent.
// This context is used by the Chat API in production.
PublishedContext *Context `protobuf:"bytes,6,opt,name=published_context,json=publishedContext,proto3" json:"published_context,omitempty"`
// 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.
LastPublishedContext *Context `protobuf:"bytes,7,opt,name=last_published_context,json=lastPublishedContext,proto3" json:"last_published_context,omitempty"`
// contains filtered or unexported fields
}Message describing a DataAnalyticsAgent object.
func (*DataAnalyticsAgent) Descriptor
func (*DataAnalyticsAgent) Descriptor() ([]byte, []int)Deprecated: Use DataAnalyticsAgent.ProtoReflect.Descriptor instead.
func (*DataAnalyticsAgent) GetLastPublishedContext
func (x *DataAnalyticsAgent) GetLastPublishedContext() *Contextfunc (*DataAnalyticsAgent) GetPublishedContext
func (x *DataAnalyticsAgent) GetPublishedContext() *Contextfunc (*DataAnalyticsAgent) GetStagingContext
func (x *DataAnalyticsAgent) GetStagingContext() *Contextfunc (*DataAnalyticsAgent) ProtoMessage
func (*DataAnalyticsAgent) ProtoMessage()func (*DataAnalyticsAgent) ProtoReflect
func (x *DataAnalyticsAgent) ProtoReflect() protoreflect.Messagefunc (*DataAnalyticsAgent) Reset
func (x *DataAnalyticsAgent) Reset()func (*DataAnalyticsAgent) String
func (x *DataAnalyticsAgent) String() stringDataChatServiceClient
type DataChatServiceClient interface {
// Answers a data question by generating a stream of
// [Message][google.cloud.geminidataanalytics.v1.Message] objects.
Chat(ctx context.Context, in *ChatRequest, opts ...grpc.CallOption) (DataChatService_ChatClient, error)
// Creates a new conversation to persist the conversation history. Each
// conversation will have multiple messages associated with it.
CreateConversation(ctx context.Context, in *CreateConversationRequest, opts ...grpc.CallOption) (*Conversation, error)
// Deletes a conversation.
DeleteConversation(ctx context.Context, in *DeleteConversationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Updates a conversation.
UpdateConversation(ctx context.Context, in *UpdateConversationRequest, opts ...grpc.CallOption) (*Conversation, error)
// Gets details of a single conversation by using conversation id and parent.
GetConversation(ctx context.Context, in *GetConversationRequest, opts ...grpc.CallOption) (*Conversation, error)
// Lists all conversations for a given parent.
ListConversations(ctx context.Context, in *ListConversationsRequest, opts ...grpc.CallOption) (*ListConversationsResponse, error)
// Lists all messages for a given conversation.
ListMessages(ctx context.Context, in *ListMessagesRequest, opts ...grpc.CallOption) (*ListMessagesResponse, error)
// Queries data from a natural language user query.
QueryData(ctx context.Context, in *QueryDataRequest, opts ...grpc.CallOption) (*QueryDataResponse, error)
}DataChatServiceClient is the client API for DataChatService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewDataChatServiceClient
func NewDataChatServiceClient(cc grpc.ClientConnInterface) DataChatServiceClientDataChatServiceServer
type DataChatServiceServer interface {
// Answers a data question by generating a stream of
// [Message][google.cloud.geminidataanalytics.v1.Message] objects.
Chat(*ChatRequest, DataChatService_ChatServer) error
// Creates a new conversation to persist the conversation history. Each
// conversation will have multiple messages associated with it.
CreateConversation(context.Context, *CreateConversationRequest) (*Conversation, error)
// Deletes a conversation.
DeleteConversation(context.Context, *DeleteConversationRequest) (*emptypb.Empty, error)
// Updates a conversation.
UpdateConversation(context.Context, *UpdateConversationRequest) (*Conversation, error)
// Gets details of a single conversation by using conversation id and parent.
GetConversation(context.Context, *GetConversationRequest) (*Conversation, error)
// Lists all conversations for a given parent.
ListConversations(context.Context, *ListConversationsRequest) (*ListConversationsResponse, error)
// Lists all messages for a given conversation.
ListMessages(context.Context, *ListMessagesRequest) (*ListMessagesResponse, error)
// Queries data from a natural language user query.
QueryData(context.Context, *QueryDataRequest) (*QueryDataResponse, error)
}DataChatServiceServer is the server API for DataChatService service. All implementations should embed UnimplementedDataChatServiceServer for forward compatibility
DataChatService_ChatClient
type DataChatService_ChatClient interface {
Recv() (*Message, error)
grpc.ClientStream
}DataChatService_ChatServer
type DataChatService_ChatServer interface {
Send(*Message) error
grpc.ServerStream
}DataFilter
type DataFilter struct {
// Optional. The field to filter on. For example: ["event_date",
// "customer_id", "product_category"]
Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
// Optional. The default value used for this filter if the filter is not
// overridden in a query. For example: ["after 2024-01-01", "123", "-fashion"]
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// Optional. The type of filter present on a datasource, such as
// ALWAYS_FILTER.
Type DataFilterType `protobuf:"varint,3,opt,name=type,proto3,enum=google.cloud.geminidataanalytics.v1beta.DataFilterType" json:"type,omitempty"`
// contains filtered or unexported fields
}A filter on a datasource's underlying data. Filter syntax documentation: https://cloud.google.com/looker/docs/filter-expressions
func (*DataFilter) Descriptor
func (*DataFilter) Descriptor() ([]byte, []int)Deprecated: Use DataFilter.ProtoReflect.Descriptor instead.
func (*DataFilter) GetField
func (x *DataFilter) GetField() stringfunc (*DataFilter) GetType
func (x *DataFilter) GetType() DataFilterTypefunc (*DataFilter) GetValue
func (x *DataFilter) GetValue() stringfunc (*DataFilter) ProtoMessage
func (*DataFilter) ProtoMessage()func (*DataFilter) ProtoReflect
func (x *DataFilter) ProtoReflect() protoreflect.Messagefunc (*DataFilter) Reset
func (x *DataFilter) Reset()func (*DataFilter) String
func (x *DataFilter) String() stringDataFilterType
type DataFilterType int32The type of filter present on a datasource, such as ALWAYS_FILTER.
DataFilterType_DATA_FILTER_TYPE_UNSPECIFIED, DataFilterType_ALWAYS_FILTER
const (
// The filter type was not specified.
DataFilterType_DATA_FILTER_TYPE_UNSPECIFIED DataFilterType = 0
// A filter that the user configures, and any queries to the Explore will
// always apply this filter by default. Currently only used for Looker data
// sources.
DataFilterType_ALWAYS_FILTER DataFilterType = 1
)func (DataFilterType) Descriptor
func (DataFilterType) Descriptor() protoreflect.EnumDescriptorfunc (DataFilterType) Enum
func (x DataFilterType) Enum() *DataFilterTypefunc (DataFilterType) EnumDescriptor
func (DataFilterType) EnumDescriptor() ([]byte, []int)Deprecated: Use DataFilterType.Descriptor instead.
func (DataFilterType) Number
func (x DataFilterType) Number() protoreflect.EnumNumberfunc (DataFilterType) String
func (x DataFilterType) String() stringfunc (DataFilterType) Type
func (DataFilterType) Type() protoreflect.EnumTypeDataMessage
type DataMessage struct {
// Whether this message contains the query, the result, or generated SQL for
// the data retrieval.
//
// Types that are valid to be assigned to Kind:
//
// *DataMessage_Query
// *DataMessage_GeneratedSql
// *DataMessage_Result
// *DataMessage_GeneratedLookerQuery
// *DataMessage_BigQueryJob
// *DataMessage_MatchedQuery
Kind isDataMessage_Kind `protobuf_oneof:"kind"`
// contains filtered or unexported fields
}A message produced during data retrieval.
func (*DataMessage) Descriptor
func (*DataMessage) Descriptor() ([]byte, []int)Deprecated: Use DataMessage.ProtoReflect.Descriptor instead.
func (*DataMessage) GetBigQueryJob
func (x *DataMessage) GetBigQueryJob() *BigQueryJobfunc (*DataMessage) GetGeneratedLookerQuery
func (x *DataMessage) GetGeneratedLookerQuery() *LookerQueryDeprecated: Marked as deprecated in google/cloud/geminidataanalytics/v1beta/data_chat_service.proto.
func (*DataMessage) GetGeneratedSql
func (x *DataMessage) GetGeneratedSql() stringfunc (*DataMessage) GetKind
func (x *DataMessage) GetKind() isDataMessage_Kindfunc (*DataMessage) GetMatchedQuery
func (x *DataMessage) GetMatchedQuery() *MatchedQueryfunc (*DataMessage) GetQuery
func (x *DataMessage) GetQuery() *DataQueryfunc (*DataMessage) GetResult
func (x *DataMessage) GetResult() *DataResultfunc (*DataMessage) ProtoMessage
func (*DataMessage) ProtoMessage()func (*DataMessage) ProtoReflect
func (x *DataMessage) ProtoReflect() protoreflect.Messagefunc (*DataMessage) Reset
func (x *DataMessage) Reset()func (*DataMessage) String
func (x *DataMessage) String() stringDataMessage_BigQueryJob
type DataMessage_BigQueryJob struct {
// A BigQuery job executed by the system to retrieve data.
BigQueryJob *BigQueryJob `protobuf:"bytes,5,opt,name=big_query_job,json=bigQueryJob,proto3,oneof"`
}DataMessage_GeneratedLookerQuery
type DataMessage_GeneratedLookerQuery struct {
// Deprecated: generated looker query is now under DataQuery.looker.
// Looker Query generated by the system to retrieve data.
//
// Deprecated: Marked as deprecated in google/cloud/geminidataanalytics/v1beta/data_chat_service.proto.
GeneratedLookerQuery *LookerQuery `protobuf:"bytes,4,opt,name=generated_looker_query,json=generatedLookerQuery,proto3,oneof"`
}DataMessage_GeneratedSql
type DataMessage_GeneratedSql struct {
// SQL generated by the system to retrieve data.
GeneratedSql string `protobuf:"bytes,2,opt,name=generated_sql,json=generatedSql,proto3,oneof"`
}DataMessage_MatchedQuery
type DataMessage_MatchedQuery struct {
// A pre-existing query that was matched to retrieve data.
MatchedQuery *MatchedQuery `protobuf:"bytes,6,opt,name=matched_query,json=matchedQuery,proto3,oneof"`
}DataMessage_Query
type DataMessage_Query struct {
// A data retrieval query.
Query *DataQuery `protobuf:"bytes,1,opt,name=query,proto3,oneof"`
}DataMessage_Result
type DataMessage_Result struct {
// Retrieved data.
Result *DataResult `protobuf:"bytes,3,opt,name=result,proto3,oneof"`
}DataPart
type DataPart struct {
// Optional. The structured data payload.
Data *structpb.Struct `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}DataPart represents a structured blob. This is most commonly a JSON payload.
func (*DataPart) Descriptor
Deprecated: Use DataPart.ProtoReflect.Descriptor instead.
func (*DataPart) GetData
func (*DataPart) ProtoMessage
func (*DataPart) ProtoMessage()func (*DataPart) ProtoReflect
func (x *DataPart) ProtoReflect() protoreflect.Messagefunc (*DataPart) Reset
func (x *DataPart) Reset()func (*DataPart) String
DataQuery
type DataQuery struct {
// The type of query to execute.
//
// Types that are valid to be assigned to QueryType:
//
// *DataQuery_Looker
QueryType isDataQuery_QueryType `protobuf_oneof:"query_type"`
// Optional. A natural language question to answer.
Question string `protobuf:"bytes,1,opt,name=question,proto3" json:"question,omitempty"`
// Optional. A snake-case name for the query that reflects its intent. It is
// used to name the corresponding data result, so that it can be referenced in
// later steps.
//
// * Example: "total_sales_by_product"
// * Example: "sales_for_product_12345"
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The datasources available to answer the question.
Datasources []*Datasource `protobuf:"bytes,2,rep,name=datasources,proto3" json:"datasources,omitempty"`
// contains filtered or unexported fields
}A query for retrieving data.
func (*DataQuery) Descriptor
Deprecated: Use DataQuery.ProtoReflect.Descriptor instead.
func (*DataQuery) GetDatasources
func (x *DataQuery) GetDatasources() []*Datasourcefunc (*DataQuery) GetLooker
func (x *DataQuery) GetLooker() *LookerQueryfunc (*DataQuery) GetName
func (*DataQuery) GetQueryType
func (x *DataQuery) GetQueryType() isDataQuery_QueryTypefunc (*DataQuery) GetQuestion
func (*DataQuery) ProtoMessage
func (*DataQuery) ProtoMessage()func (*DataQuery) ProtoReflect
func (x *DataQuery) ProtoReflect() protoreflect.Messagefunc (*DataQuery) Reset
func (x *DataQuery) Reset()func (*DataQuery) String
DataQuery_Looker
type DataQuery_Looker struct {
// Optional. A query for retrieving data from a Looker explore.
Looker *LookerQuery `protobuf:"bytes,4,opt,name=looker,proto3,oneof"`
}DataResult
type DataResult struct {
// Optional. A snake-case name for the data result that reflects its contents.
// The name is used to pass the result around by reference, and serves as a
// signal about its meaning.
//
// * Example: "total_sales_by_product"
// * Example: "sales_for_product_12345"
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The schema of the data.
Schema *Schema `protobuf:"bytes,5,opt,name=schema,proto3" json:"schema,omitempty"`
// Optional. The content of the data. Each row is a struct that matches the
// schema. Simple values are represented as strings, while nested structures
// are represented as lists or structs.
Data []*structpb.Struct `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
// Optional. Formatted representation of the data, when applicable.
// Each row is a struct that directly corresponds to the row at the same index
// within the `data` field. Its values are string representations of the
// original data, formatted according to data source specifications (e.g.,
// "$1,234.56" for currency). Columns without formatting will default to
// their raw value representation. If no columns have formatting rules, this
// field will be empty.
FormattedData []*structpb.Struct `protobuf:"bytes,6,rep,name=formatted_data,json=formattedData,proto3" json:"formatted_data,omitempty"`
// contains filtered or unexported fields
}Retrieved data.
func (*DataResult) Descriptor
func (*DataResult) Descriptor() ([]byte, []int)Deprecated: Use DataResult.ProtoReflect.Descriptor instead.
func (*DataResult) GetData
func (x *DataResult) GetData() []*structpb.Structfunc (*DataResult) GetFormattedData
func (x *DataResult) GetFormattedData() []*structpb.Structfunc (*DataResult) GetName
func (x *DataResult) GetName() stringfunc (*DataResult) GetSchema
func (x *DataResult) GetSchema() *Schemafunc (*DataResult) ProtoMessage
func (*DataResult) ProtoMessage()func (*DataResult) ProtoReflect
func (x *DataResult) ProtoReflect() protoreflect.Messagefunc (*DataResult) Reset
func (x *DataResult) Reset()func (*DataResult) String
func (x *DataResult) String() stringDatabaseTableReference
type DatabaseTableReference struct {
// Required. The name of the table as defined in the database.
//
// Note: The precise rules for table naming, including valid characters,
// length limits, and case sensitivity, are determined by the specific
// database system.
//
// Requirements:
// - Exact Match: The provided name must be identical to the name stored
// in the database.
// - Case Sensitivity: Respect the case sensitivity rules of the specific
// database system and how the table was created. For example, "Orders"
// and "orders" may be distinct table names.
// - Special Characters/Keywords: If the table name includes spaces, special
// characters, or is a database reserved keyword, provide the literal name
// as it is stored. Do not add any database-specific identifier quoting
// characters (e.g., ", `, []).
//
// Examples:
// - Simple name: "orders", "UserActivity"
// - Case sensitive: "MyTable"
// - Name with spaces: "Order Details"
// - Name with other special characters: "user/data", "order-items"
// - Name that is a keyword: "Group", "Order"
//
// Permissions: The caller's credentials must have the necessary database
// permissions to access the table's schema and data.
TableId string `protobuf:"bytes,1,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
// Optional. The schema of the table.
Schema *Schema `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"`
// contains filtered or unexported fields
}Message representing a table including its schema.
func (*DatabaseTableReference) Descriptor
func (*DatabaseTableReference) Descriptor() ([]byte, []int)Deprecated: Use DatabaseTableReference.ProtoReflect.Descriptor instead.
func (*DatabaseTableReference) GetSchema
func (x *DatabaseTableReference) GetSchema() *Schemafunc (*DatabaseTableReference) GetTableId
func (x *DatabaseTableReference) GetTableId() stringfunc (*DatabaseTableReference) ProtoMessage
func (*DatabaseTableReference) ProtoMessage()func (*DatabaseTableReference) ProtoReflect
func (x *DatabaseTableReference) ProtoReflect() protoreflect.Messagefunc (*DatabaseTableReference) Reset
func (x *DatabaseTableReference) Reset()func (*DatabaseTableReference) String
func (x *DatabaseTableReference) String() stringDatasource
type Datasource struct {
// The reference to the datasource.
//
// Types that are valid to be assigned to Reference:
//
// *Datasource_BigqueryTableReference
// *Datasource_StudioDatasourceId
// *Datasource_LookerExploreReference
// *Datasource_AlloyDbReference
// *Datasource_SpannerReference
// *Datasource_CloudSqlReference
// *Datasource_BigtableReference
// *Datasource_BigqueryPropertyGraphReference
// *Datasource_FirestoreReference
Reference isDatasource_Reference `protobuf_oneof:"reference"`
// Optional. The schema of the datasource.
Schema *Schema `protobuf:"bytes,7,opt,name=schema,proto3" json:"schema,omitempty"`
// Optional. A struct representation of the schema.
// This is populated for datasources with schemas that cannot be
// fully represented by the strongly-typed `schema` field.
//
// For Looker datasources, this maps to the LookmlModelExplore type:
// https://cloud.google.com/looker/docs/reference/looker-api/latest/types/LookmlModelExplore
StructSchema *structpb.Struct `protobuf:"bytes,10,opt,name=struct_schema,json=structSchema,proto3" json:"struct_schema,omitempty"`
// contains filtered or unexported fields
}A datasource that can be used to answer questions.
func (*Datasource) Descriptor
func (*Datasource) Descriptor() ([]byte, []int)Deprecated: Use Datasource.ProtoReflect.Descriptor instead.
func (*Datasource) GetAlloyDbReference
func (x *Datasource) GetAlloyDbReference() *AlloyDbReferencefunc (*Datasource) GetBigqueryPropertyGraphReference
func (x *Datasource) GetBigqueryPropertyGraphReference() *BigQueryPropertyGraphReferencefunc (*Datasource) GetBigqueryTableReference
func (x *Datasource) GetBigqueryTableReference() *BigQueryTableReferencefunc (*Datasource) GetBigtableReference
func (x *Datasource) GetBigtableReference() *BigtableReferencefunc (*Datasource) GetCloudSqlReference
func (x *Datasource) GetCloudSqlReference() *CloudSqlReferencefunc (*Datasource) GetFirestoreReference
func (x *Datasource) GetFirestoreReference() *FirestoreReferencefunc (*Datasource) GetLookerExploreReference
func (x *Datasource) GetLookerExploreReference() *LookerExploreReferencefunc (*Datasource) GetReference
func (x *Datasource) GetReference() isDatasource_Referencefunc (*Datasource) GetSchema
func (x *Datasource) GetSchema() *Schemafunc (*Datasource) GetSpannerReference
func (x *Datasource) GetSpannerReference() *SpannerReferencefunc (*Datasource) GetStructSchema
func (x *Datasource) GetStructSchema() *structpb.Structfunc (*Datasource) GetStudioDatasourceId
func (x *Datasource) GetStudioDatasourceId() stringfunc (*Datasource) ProtoMessage
func (*Datasource) ProtoMessage()func (*Datasource) ProtoReflect
func (x *Datasource) ProtoReflect() protoreflect.Messagefunc (*Datasource) Reset
func (x *Datasource) Reset()func (*Datasource) String
func (x *Datasource) String() stringDatasourceOptions
type DatasourceOptions struct {
// Optional. This option applies to datasources that require BigQuery queries
// only. Limits the bytes billed for each BQ query job. Queries that will have
// bytes billed beyond this limit will fail (without incurring a charge).
// If unspecified, no limit will be applied.
BigQueryMaxBilledBytes *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=big_query_max_billed_bytes,json=bigQueryMaxBilledBytes,proto3" json:"big_query_max_billed_bytes,omitempty"`
// contains filtered or unexported fields
}Options for datasources configurations.
func (*DatasourceOptions) Descriptor
func (*DatasourceOptions) Descriptor() ([]byte, []int)Deprecated: Use DatasourceOptions.ProtoReflect.Descriptor instead.
func (*DatasourceOptions) GetBigQueryMaxBilledBytes
func (x *DatasourceOptions) GetBigQueryMaxBilledBytes() *wrapperspb.Int64Valuefunc (*DatasourceOptions) ProtoMessage
func (*DatasourceOptions) ProtoMessage()func (*DatasourceOptions) ProtoReflect
func (x *DatasourceOptions) ProtoReflect() protoreflect.Messagefunc (*DatasourceOptions) Reset
func (x *DatasourceOptions) Reset()func (*DatasourceOptions) String
func (x *DatasourceOptions) String() stringDatasourceReferences
type DatasourceReferences struct {
// The datasources to use.
//
// Types that are valid to be assigned to References:
//
// *DatasourceReferences_Bq
// *DatasourceReferences_Studio
// *DatasourceReferences_Looker
// *DatasourceReferences_Alloydb
// *DatasourceReferences_SpannerReference
// *DatasourceReferences_CloudSqlReference
// *DatasourceReferences_BigtableReference
// *DatasourceReferences_FirestoreReference
References isDatasourceReferences_References `protobuf_oneof:"references"`
// contains filtered or unexported fields
}A collection of references to datasources.
func (*DatasourceReferences) Descriptor
func (*DatasourceReferences) Descriptor() ([]byte, []int)Deprecated: Use DatasourceReferences.ProtoReflect.Descriptor instead.
func (*DatasourceReferences) GetAlloydb
func (x *DatasourceReferences) GetAlloydb() *AlloyDbReferencefunc (*DatasourceReferences) GetBigtableReference
func (x *DatasourceReferences) GetBigtableReference() *BigtableReferencefunc (*DatasourceReferences) GetBq
func (x *DatasourceReferences) GetBq() *BigQueryTableReferencesfunc (*DatasourceReferences) GetCloudSqlReference
func (x *DatasourceReferences) GetCloudSqlReference() *CloudSqlReferencefunc (*DatasourceReferences) GetFirestoreReference
func (x *DatasourceReferences) GetFirestoreReference() *FirestoreReferencefunc (*DatasourceReferences) GetLooker
func (x *DatasourceReferences) GetLooker() *LookerExploreReferencesfunc (*DatasourceReferences) GetReferences
func (x *DatasourceReferences) GetReferences() isDatasourceReferences_Referencesfunc (*DatasourceReferences) GetSpannerReference
func (x *DatasourceReferences) GetSpannerReference() *SpannerReferencefunc (*DatasourceReferences) GetStudio
func (x *DatasourceReferences) GetStudio() *StudioDatasourceReferencesfunc (*DatasourceReferences) ProtoMessage
func (*DatasourceReferences) ProtoMessage()func (*DatasourceReferences) ProtoReflect
func (x *DatasourceReferences) ProtoReflect() protoreflect.Messagefunc (*DatasourceReferences) Reset
func (x *DatasourceReferences) Reset()func (*DatasourceReferences) String
func (x *DatasourceReferences) String() stringDatasourceReferences_Alloydb
type DatasourceReferences_Alloydb struct {
// Reference to an AlloyDB database. Only supported for the `QueryData`
// method.
Alloydb *AlloyDbReference `protobuf:"bytes,8,opt,name=alloydb,proto3,oneof"`
}DatasourceReferences_BigtableReference
type DatasourceReferences_BigtableReference struct {
// Reference to a Bigtable instance.
BigtableReference *BigtableReference `protobuf:"bytes,11,opt,name=bigtable_reference,json=bigtableReference,proto3,oneof"`
}DatasourceReferences_Bq
type DatasourceReferences_Bq struct {
// References to BigQuery tables.
Bq *BigQueryTableReferences `protobuf:"bytes,1,opt,name=bq,proto3,oneof"`
}DatasourceReferences_CloudSqlReference
type DatasourceReferences_CloudSqlReference struct {
// Reference to a CloudSql database. Only supported for the `QueryData`
// method.
CloudSqlReference *CloudSqlReference `protobuf:"bytes,10,opt,name=cloud_sql_reference,json=cloudSqlReference,proto3,oneof"`
}DatasourceReferences_FirestoreReference
type DatasourceReferences_FirestoreReference struct {
// Reference to a Firestore database.
FirestoreReference *FirestoreReference `protobuf:"bytes,13,opt,name=firestore_reference,json=firestoreReference,proto3,oneof"`
}DatasourceReferences_Looker
type DatasourceReferences_Looker struct {
// References to Looker Explores.
Looker *LookerExploreReferences `protobuf:"bytes,3,opt,name=looker,proto3,oneof"`
}DatasourceReferences_SpannerReference
type DatasourceReferences_SpannerReference struct {
// Reference to a Spanner database. Only supported for the `QueryData`
// method.
SpannerReference *SpannerReference `protobuf:"bytes,9,opt,name=spanner_reference,json=spannerReference,proto3,oneof"`
}DatasourceReferences_Studio
type DatasourceReferences_Studio struct {
// References to Looker Studio datasources.
Studio *StudioDatasourceReferences `protobuf:"bytes,2,opt,name=studio,proto3,oneof"`
}Datasource_AlloyDbReference
type Datasource_AlloyDbReference struct {
// A reference to an AlloyDB database.
AlloyDbReference *AlloyDbReference `protobuf:"bytes,12,opt,name=alloy_db_reference,json=alloyDbReference,proto3,oneof"`
}Datasource_BigqueryPropertyGraphReference
type Datasource_BigqueryPropertyGraphReference struct {
// A reference to a BigQuery property graph.
BigqueryPropertyGraphReference *BigQueryPropertyGraphReference `protobuf:"bytes,16,opt,name=bigquery_property_graph_reference,json=bigqueryPropertyGraphReference,proto3,oneof"`
}Datasource_BigqueryTableReference
type Datasource_BigqueryTableReference struct {
// A reference to a BigQuery table.
BigqueryTableReference *BigQueryTableReference `protobuf:"bytes,1,opt,name=bigquery_table_reference,json=bigqueryTableReference,proto3,oneof"`
}Datasource_BigtableReference
type Datasource_BigtableReference struct {
// A reference to a Bigtable instance.
BigtableReference *BigtableReference `protobuf:"bytes,15,opt,name=bigtable_reference,json=bigtableReference,proto3,oneof"`
}Datasource_CloudSqlReference
type Datasource_CloudSqlReference struct {
// A reference to a CloudSQL database.
CloudSqlReference *CloudSqlReference `protobuf:"bytes,14,opt,name=cloud_sql_reference,json=cloudSqlReference,proto3,oneof"`
}Datasource_FirestoreReference
type Datasource_FirestoreReference struct {
// A reference to a Firestore database.
FirestoreReference *FirestoreReference `protobuf:"bytes,17,opt,name=firestore_reference,json=firestoreReference,proto3,oneof"`
}Datasource_LookerExploreReference
type Datasource_LookerExploreReference struct {
// A reference to a Looker explore.
LookerExploreReference *LookerExploreReference `protobuf:"bytes,4,opt,name=looker_explore_reference,json=lookerExploreReference,proto3,oneof"`
}Datasource_SpannerReference
type Datasource_SpannerReference struct {
// A reference to a Spanner database.
SpannerReference *SpannerReference `protobuf:"bytes,13,opt,name=spanner_reference,json=spannerReference,proto3,oneof"`
}Datasource_StudioDatasourceId
type Datasource_StudioDatasourceId struct {
// A reference to a Looker Studio datasource.
StudioDatasourceId string `protobuf:"bytes,2,opt,name=studio_datasource_id,json=studioDatasourceId,proto3,oneof"`
}DeleteConversationRequest
type DeleteConversationRequest struct {
// Required. Name of the resource.
// Format:
// `projects/{project}/locations/{location}/conversations/{conversation}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request for deleting a conversation based on parent and conversation id.
func (*DeleteConversationRequest) Descriptor
func (*DeleteConversationRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteConversationRequest.ProtoReflect.Descriptor instead.
func (*DeleteConversationRequest) GetName
func (x *DeleteConversationRequest) GetName() stringfunc (*DeleteConversationRequest) ProtoMessage
func (*DeleteConversationRequest) ProtoMessage()func (*DeleteConversationRequest) ProtoReflect
func (x *DeleteConversationRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteConversationRequest) Reset
func (x *DeleteConversationRequest) Reset()func (*DeleteConversationRequest) String
func (x *DeleteConversationRequest) String() stringDeleteDataAgentRequest
type DeleteDataAgentRequest struct {
// Required. Name of the resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for deleting a DataAgent.
func (*DeleteDataAgentRequest) Descriptor
func (*DeleteDataAgentRequest) Descriptor() ([]byte, []int)Deprecated: Use DeleteDataAgentRequest.ProtoReflect.Descriptor instead.
func (*DeleteDataAgentRequest) GetName
func (x *DeleteDataAgentRequest) GetName() stringfunc (*DeleteDataAgentRequest) GetRequestId
func (x *DeleteDataAgentRequest) GetRequestId() stringfunc (*DeleteDataAgentRequest) ProtoMessage
func (*DeleteDataAgentRequest) ProtoMessage()func (*DeleteDataAgentRequest) ProtoReflect
func (x *DeleteDataAgentRequest) ProtoReflect() protoreflect.Messagefunc (*DeleteDataAgentRequest) Reset
func (x *DeleteDataAgentRequest) Reset()func (*DeleteDataAgentRequest) String
func (x *DeleteDataAgentRequest) String() stringDynamicField
type DynamicField struct {
// Optional. The type of dynamic field: dimension, measure, table_calculation.
// Looker can use the category type to specify the name of the dynamic field.
// However, Looker Conversational Analytics keeps the category separate from
// the name of the dynamic field. For more details, see
// https://docs.cloud.google.com/looker/docs/reference/param-lookml-dashboard-table-chart#dynamic_fields.
Category *string `protobuf:"bytes,1,opt,name=category,proto3,oneof" json:"category,omitempty"`
// Optional. The name of the dynamic field in LookML.
Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"`
// Optional. The label defines the display name of the dynamic field.
Label *string `protobuf:"bytes,3,opt,name=label,proto3,oneof" json:"label,omitempty"`
// Optional. For custom measures, this identifies the measure the field is
// based on.
BasedOn *string `protobuf:"bytes,4,opt,name=based_on,json=basedOn,proto3,oneof" json:"based_on,omitempty"`
// Optional. For custom measures, this identifies the type of aggregation
// (e.g. sum).
Type *string `protobuf:"bytes,5,opt,name=type,proto3,oneof" json:"type,omitempty"`
// Optional. Description of the dynamic field.
Description *string `protobuf:"bytes,6,opt,name=description,proto3,oneof" json:"description,omitempty"`
// Optional. Looker expression to create a table calculation.
Expression *string `protobuf:"bytes,7,opt,name=expression,proto3,oneof" json:"expression,omitempty"`
// Optional. Looker expression to filter a base measure.
FilterExpression *string `protobuf:"bytes,8,opt,name=filter_expression,json=filterExpression,proto3,oneof" json:"filter_expression,omitempty"`
// Optional. Value format for the dynamic field.
ValueFormat *string `protobuf:"bytes,9,opt,name=value_format,json=valueFormat,proto3,oneof" json:"value_format,omitempty"`
// Optional. Value format name for the dynamic field if using a default named
// format.
ValueFormatName *string `protobuf:"bytes,10,opt,name=value_format_name,json=valueFormatName,proto3,oneof" json:"value_format_name,omitempty"`
// Optional. Calculation type for table calculations. Refer to
// https://docs.cloud.google.com/looker/docs/reference/param-lookml-dashboard-table-chart#calculation_type
// for all possible values depending on the `category` of dynamic field.
CalculationType *string `protobuf:"bytes,11,opt,name=calculation_type,json=calculationType,proto3,oneof" json:"calculation_type,omitempty"`
// Optional. Arguments for custom groups, custom bins, or shortcut
// calculations. For more details, refer to
// https://docs.cloud.google.com/looker/docs/reference/param-lookml-dashboard-table-chart#args_for_custom_groups
Args []string `protobuf:"bytes,12,rep,name=args,proto3" json:"args,omitempty"`
// Optional. Identifies whether the dynamic field returns a dimension or
// measure.
KindHint *string `protobuf:"bytes,13,opt,name=kind_hint,json=kindHint,proto3,oneof" json:"kind_hint,omitempty"`
// Optional. Identifies the data type the dynamic field's expression should
// produce.
TypeHint *string `protobuf:"bytes,14,opt,name=type_hint,json=typeHint,proto3,oneof" json:"type_hint,omitempty"`
// Optional. Whether the dynamic field is disabled.
IsDisabled *bool `protobuf:"varint,15,opt,name=is_disabled,json=isDisabled,proto3,oneof" json:"is_disabled,omitempty"`
// contains filtered or unexported fields
}A dynamic field in Looker (Custom Dimension, Custom Measure, or Table Calculation).
func (*DynamicField) Descriptor
func (*DynamicField) Descriptor() ([]byte, []int)Deprecated: Use DynamicField.ProtoReflect.Descriptor instead.
func (*DynamicField) GetArgs
func (x *DynamicField) GetArgs() []stringfunc (*DynamicField) GetBasedOn
func (x *DynamicField) GetBasedOn() stringfunc (*DynamicField) GetCalculationType
func (x *DynamicField) GetCalculationType() stringfunc (*DynamicField) GetCategory
func (x *DynamicField) GetCategory() stringfunc (*DynamicField) GetDescription
func (x *DynamicField) GetDescription() stringfunc (*DynamicField) GetExpression
func (x *DynamicField) GetExpression() stringfunc (*DynamicField) GetFilterExpression
func (x *DynamicField) GetFilterExpression() stringfunc (*DynamicField) GetIsDisabled
func (x *DynamicField) GetIsDisabled() boolfunc (*DynamicField) GetKindHint
func (x *DynamicField) GetKindHint() stringfunc (*DynamicField) GetLabel
func (x *DynamicField) GetLabel() stringfunc (*DynamicField) GetName
func (x *DynamicField) GetName() stringfunc (*DynamicField) GetType
func (x *DynamicField) GetType() stringfunc (*DynamicField) GetTypeHint
func (x *DynamicField) GetTypeHint() stringfunc (*DynamicField) GetValueFormat
func (x *DynamicField) GetValueFormat() stringfunc (*DynamicField) GetValueFormatName
func (x *DynamicField) GetValueFormatName() stringfunc (*DynamicField) ProtoMessage
func (*DynamicField) ProtoMessage()func (*DynamicField) ProtoReflect
func (x *DynamicField) ProtoReflect() protoreflect.Messagefunc (*DynamicField) Reset
func (x *DynamicField) Reset()func (*DynamicField) String
func (x *DynamicField) String() stringErrorMessage
type ErrorMessage struct {
// Output only. The text of the error.
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
// contains filtered or unexported fields
}An error message from a tool call. This message is used to represent an error that occurred while an agent was trying to use a tool. It's important to note that not all errors are terminal. Many are recoverable, and the agent may use the information from this error message to self-correct and retry the tool call or try a different approach.
For example, if a data query fails, the agent might receive an
ErrorMessage, analyze it, and then generate a corrected query.
Clients should be cautious about interpreting this message as a definitive failure. It can be part of the agent's normal, iterative process of completing a task. Surfacing these errors directly to end-users without context (e.g., as a "hard failure") may be misleading.
func (*ErrorMessage) Descriptor
func (*ErrorMessage) Descriptor() ([]byte, []int)Deprecated: Use ErrorMessage.ProtoReflect.Descriptor instead.
func (*ErrorMessage) GetText
func (x *ErrorMessage) GetText() stringfunc (*ErrorMessage) ProtoMessage
func (*ErrorMessage) ProtoMessage()func (*ErrorMessage) ProtoReflect
func (x *ErrorMessage) ProtoReflect() protoreflect.Messagefunc (*ErrorMessage) Reset
func (x *ErrorMessage) Reset()func (*ErrorMessage) String
func (x *ErrorMessage) String() stringExampleQueries
type ExampleQueries struct {
// Optional. A list of derived and authored example queries, providing
// examples of relevant and commonly used SQL queries and their corresponding
// natural language queries optionally present. Currently only used for
// BigQuery data sources.
ExampleQueries []*ExampleQuery `protobuf:"bytes,1,rep,name=example_queries,json=exampleQueries,proto3" json:"example_queries,omitempty"`
// contains filtered or unexported fields
}A message containing derived and authored example queries.
func (*ExampleQueries) Descriptor
func (*ExampleQueries) Descriptor() ([]byte, []int)Deprecated: Use ExampleQueries.ProtoReflect.Descriptor instead.
func (*ExampleQueries) GetExampleQueries
func (x *ExampleQueries) GetExampleQueries() []*ExampleQueryfunc (*ExampleQueries) ProtoMessage
func (*ExampleQueries) ProtoMessage()func (*ExampleQueries) ProtoReflect
func (x *ExampleQueries) ProtoReflect() protoreflect.Messagefunc (*ExampleQueries) Reset
func (x *ExampleQueries) Reset()func (*ExampleQueries) String
func (x *ExampleQueries) String() stringExampleQuery
type ExampleQuery struct {
// The SQL or Looker query that should be generated to answer the natural
// language query.
//
// Types that are valid to be assigned to Query:
//
// *ExampleQuery_SqlQuery
Query isExampleQuery_Query `protobuf_oneof:"query"`
// Optional. A natural language question that a user might ask.
// For example: "How many orders were placed last month?"
//
// Must be at most 2,000 bytes (approx. 2,000 characters).
NaturalLanguageQuestion string `protobuf:"bytes,1,opt,name=natural_language_question,json=naturalLanguageQuestion,proto3" json:"natural_language_question,omitempty"`
// Optional. The list of query parameters.
// Example: The parameterized SQL query
// "SELECT * FROM my_table WHERE id = @id" can be matched with any value of
// id.
Parameters []*QueryParameter `protobuf:"bytes,3,rep,name=parameters,proto3" json:"parameters,omitempty"`
// contains filtered or unexported fields
}Example of relevant and commonly used SQL query and its corresponding natural language queries optionally present. Currently only used for BigQuery data sources.
func (*ExampleQuery) Descriptor
func (*ExampleQuery) Descriptor() ([]byte, []int)Deprecated: Use ExampleQuery.ProtoReflect.Descriptor instead.
func (*ExampleQuery) GetNaturalLanguageQuestion
func (x *ExampleQuery) GetNaturalLanguageQuestion() stringfunc (*ExampleQuery) GetParameters
func (x *ExampleQuery) GetParameters() []*QueryParameterfunc (*ExampleQuery) GetQuery
func (x *ExampleQuery) GetQuery() isExampleQuery_Queryfunc (*ExampleQuery) GetSqlQuery
func (x *ExampleQuery) GetSqlQuery() stringfunc (*ExampleQuery) ProtoMessage
func (*ExampleQuery) ProtoMessage()func (*ExampleQuery) ProtoReflect
func (x *ExampleQuery) ProtoReflect() protoreflect.Messagefunc (*ExampleQuery) Reset
func (x *ExampleQuery) Reset()func (*ExampleQuery) String
func (x *ExampleQuery) String() stringExampleQuery_SqlQuery
type ExampleQuery_SqlQuery struct {
// Optional. The SQL query that should be generated to answer the natural
// language question. For example: "SELECT COUNT(*) FROM orders WHERE
// order_date BETWEEN '2024-01-01' AND '2024-01-31'"
//
// Must be at most 50,000 bytes (approx. 50,000 characters).
SqlQuery string `protobuf:"bytes,101,opt,name=sql_query,json=sqlQuery,proto3,oneof"`
}ExecutedQueryResult
type ExecutedQueryResult struct {
// The columns in the result set, in order.
Columns []*ExecutedQueryResult_Column `protobuf:"bytes,1,rep,name=columns,proto3" json:"columns,omitempty"`
// The rows returned by the query.
Rows []*ExecutedQueryResult_Row `protobuf:"bytes,2,rep,name=rows,proto3" json:"rows,omitempty"`
// The total number of rows in the full result set, if known.
// This may be an estimate or an exact count.
// Note: if an internal limit (such as LIMIT 1000) was applied during query
// execution to guard against excessive data transfer, this count reflects the
// truncated result size rather than the unrestricted table result size.
TotalRowCount int64 `protobuf:"varint,3,opt,name=total_row_count,json=totalRowCount,proto3" json:"total_row_count,omitempty"`
// Set to true if the returned rows in `query_result` are a subset of the
// full result. This can happen, for example, if the query execution hits a
// row limit. When true, the `query_result` does not contain all
// rows. To retrieve the complete result, consider using the
// `generated_query` in `QueryDataResponse` and executing it in your own
// environment.
PartialResult bool `protobuf:"varint,4,opt,name=partial_result,json=partialResult,proto3" json:"partial_result,omitempty"`
// The error message if the query execution failed.
QueryExecutionError string `protobuf:"bytes,5,opt,name=query_execution_error,json=queryExecutionError,proto3" json:"query_execution_error,omitempty"`
// contains filtered or unexported fields
}The result of a query execution. The design is generic for all dialects.
func (*ExecutedQueryResult) Descriptor
func (*ExecutedQueryResult) Descriptor() ([]byte, []int)Deprecated: Use ExecutedQueryResult.ProtoReflect.Descriptor instead.
func (*ExecutedQueryResult) GetColumns
func (x *ExecutedQueryResult) GetColumns() []*ExecutedQueryResult_Columnfunc (*ExecutedQueryResult) GetPartialResult
func (x *ExecutedQueryResult) GetPartialResult() boolfunc (*ExecutedQueryResult) GetQueryExecutionError
func (x *ExecutedQueryResult) GetQueryExecutionError() stringfunc (*ExecutedQueryResult) GetRows
func (x *ExecutedQueryResult) GetRows() []*ExecutedQueryResult_Rowfunc (*ExecutedQueryResult) GetTotalRowCount
func (x *ExecutedQueryResult) GetTotalRowCount() int64func (*ExecutedQueryResult) ProtoMessage
func (*ExecutedQueryResult) ProtoMessage()func (*ExecutedQueryResult) ProtoReflect
func (x *ExecutedQueryResult) ProtoReflect() protoreflect.Messagefunc (*ExecutedQueryResult) Reset
func (x *ExecutedQueryResult) Reset()func (*ExecutedQueryResult) String
func (x *ExecutedQueryResult) String() stringExecutedQueryResult_Column
type ExecutedQueryResult_Column struct {
// The name of the column.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The type of the column (e.g., "VARCHAR", "INT64", "TIMESTAMP").
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
// contains filtered or unexported fields
}Describes a single column in the result set.
func (*ExecutedQueryResult_Column) Descriptor
func (*ExecutedQueryResult_Column) Descriptor() ([]byte, []int)Deprecated: Use ExecutedQueryResult_Column.ProtoReflect.Descriptor instead.
func (*ExecutedQueryResult_Column) GetName
func (x *ExecutedQueryResult_Column) GetName() stringfunc (*ExecutedQueryResult_Column) GetType
func (x *ExecutedQueryResult_Column) GetType() stringfunc (*ExecutedQueryResult_Column) ProtoMessage
func (*ExecutedQueryResult_Column) ProtoMessage()func (*ExecutedQueryResult_Column) ProtoReflect
func (x *ExecutedQueryResult_Column) ProtoReflect() protoreflect.Messagefunc (*ExecutedQueryResult_Column) Reset
func (x *ExecutedQueryResult_Column) Reset()func (*ExecutedQueryResult_Column) String
func (x *ExecutedQueryResult_Column) String() stringExecutedQueryResult_Row
type ExecutedQueryResult_Row struct {
// The values in the row, corresponding positionally to the columns.
Values []*ExecutedQueryResult_Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
// contains filtered or unexported fields
}Represents a single row in the result set.
func (*ExecutedQueryResult_Row) Descriptor
func (*ExecutedQueryResult_Row) Descriptor() ([]byte, []int)Deprecated: Use ExecutedQueryResult_Row.ProtoReflect.Descriptor instead.
func (*ExecutedQueryResult_Row) GetValues
func (x *ExecutedQueryResult_Row) GetValues() []*ExecutedQueryResult_Valuefunc (*ExecutedQueryResult_Row) ProtoMessage
func (*ExecutedQueryResult_Row) ProtoMessage()func (*ExecutedQueryResult_Row) ProtoReflect
func (x *ExecutedQueryResult_Row) ProtoReflect() protoreflect.Messagefunc (*ExecutedQueryResult_Row) Reset
func (x *ExecutedQueryResult_Row) Reset()func (*ExecutedQueryResult_Row) String
func (x *ExecutedQueryResult_Row) String() stringExecutedQueryResult_Value
type ExecutedQueryResult_Value struct {
// The cell value, represented in a string format.
// Timestamps could be formatted, for example, using RFC3339Nano.
// This field is used if the value is not null.
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}Represents a single value within a row.
func (*ExecutedQueryResult_Value) Descriptor
func (*ExecutedQueryResult_Value) Descriptor() ([]byte, []int)Deprecated: Use ExecutedQueryResult_Value.ProtoReflect.Descriptor instead.
func (*ExecutedQueryResult_Value) GetValue
func (x *ExecutedQueryResult_Value) GetValue() stringfunc (*ExecutedQueryResult_Value) ProtoMessage
func (*ExecutedQueryResult_Value) ProtoMessage()func (*ExecutedQueryResult_Value) ProtoReflect
func (x *ExecutedQueryResult_Value) ProtoReflect() protoreflect.Messagefunc (*ExecutedQueryResult_Value) Reset
func (x *ExecutedQueryResult_Value) Reset()func (*ExecutedQueryResult_Value) String
func (x *ExecutedQueryResult_Value) String() stringField
type Field struct {
// Optional. The name of the field.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The type of the field.
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
// Optional. A brief description of the field.
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Optional. The mode of the field (e.g., NULLABLE, REPEATED).
Mode string `protobuf:"bytes,4,opt,name=mode,proto3" json:"mode,omitempty"`
// Optional. A list of alternative names or synonyms that can be used to refer
// to this field. For example: ["id", "customerid", "cust_id"]. Currently only
// used for BigQuery data sources.
Synonyms []string `protobuf:"bytes,6,rep,name=synonyms,proto3" json:"synonyms,omitempty"`
// Optional. A list of tags or keywords associated with the field, used for
// categorization. For example: ["identifier", "customer", "pii"]. Currently
// only used for BigQuery data sources.
Tags []string `protobuf:"bytes,7,rep,name=tags,proto3" json:"tags,omitempty"`
// Optional. Field display_name (same as label in
DisplayName string `protobuf:"bytes,8,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Optional. Recursive property for nested schema structures.
Subfields []*Field `protobuf:"bytes,9,rep,name=subfields,proto3" json:"subfields,omitempty"`
// Optional. Field category, not required, currently only useful for Looker.
Category string `protobuf:"bytes,10,opt,name=category,proto3" json:"category,omitempty"`
// Optional. Looker only. Value format of the field.
// Ref:
// https://cloud.google.com/looker/docs/reference/param-field-value-format
ValueFormat string `protobuf:"bytes,11,opt,name=value_format,json=valueFormat,proto3" json:"value_format,omitempty"`
// contains filtered or unexported fields
}A field in a schema.
func (*Field) Descriptor
Deprecated: Use Field.ProtoReflect.Descriptor instead.
func (*Field) GetCategory
func (*Field) GetDescription
func (*Field) GetDisplayName
func (*Field) GetMode
func (*Field) GetName
func (*Field) GetSubfields
func (*Field) GetSynonyms
func (*Field) GetTags
func (*Field) GetType
func (*Field) GetValueFormat
func (*Field) ProtoMessage
func (*Field) ProtoMessage()func (*Field) ProtoReflect
func (x *Field) ProtoReflect() protoreflect.Messagefunc (*Field) Reset
func (x *Field) Reset()func (*Field) String
FilePart
type FilePart struct {
// The file representation payload.
//
// Types that are valid to be assigned to File:
//
// *FilePart_FileWithUri
// *FilePart_FileWithBytes
File isFilePart_File `protobuf_oneof:"file"`
// Optional. The MIME type of the file.
MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"`
// Optional. The name of the file.
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}FilePart represents the different ways files can be provided.
func (*FilePart) Descriptor
Deprecated: Use FilePart.ProtoReflect.Descriptor instead.
func (*FilePart) GetFile
func (x *FilePart) GetFile() isFilePart_Filefunc (*FilePart) GetFileWithBytes
func (*FilePart) GetFileWithUri
func (*FilePart) GetMimeType
func (*FilePart) GetName
func (*FilePart) ProtoMessage
func (*FilePart) ProtoMessage()func (*FilePart) ProtoReflect
func (x *FilePart) ProtoReflect() protoreflect.Messagefunc (*FilePart) Reset
func (x *FilePart) Reset()func (*FilePart) String
FilePart_FileWithBytes
type FilePart_FileWithBytes struct {
// The raw bytes of the file.
FileWithBytes []byte `protobuf:"bytes,2,opt,name=file_with_bytes,json=fileWithBytes,proto3,oneof"`
}FilePart_FileWithUri
type FilePart_FileWithUri struct {
// The URI pointing to the file.
FileWithUri string `protobuf:"bytes,1,opt,name=file_with_uri,json=fileWithUri,proto3,oneof"`
}FirestoreDatabaseReference
type FirestoreDatabaseReference struct {
// Required. Project the firestore database belongs to.
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
// Required. The database id.
DatabaseId string `protobuf:"bytes,2,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
// Optional. The collection ids. Denotes all collections if unset.
CollectionIds []string `protobuf:"bytes,3,rep,name=collection_ids,json=collectionIds,proto3" json:"collection_ids,omitempty"`
// Optional. References to collections within the database. Each reference
// specifies a collection and can optionally include the collection's schema
// to provide context for the query.
DatabaseTableReferences []*DatabaseTableReference `protobuf:"bytes,4,rep,name=database_table_references,json=databaseTableReferences,proto3" json:"database_table_references,omitempty"`
// contains filtered or unexported fields
}Message representing a reference to a single Firestore database.
func (*FirestoreDatabaseReference) Descriptor
func (*FirestoreDatabaseReference) Descriptor() ([]byte, []int)Deprecated: Use FirestoreDatabaseReference.ProtoReflect.Descriptor instead.
func (*FirestoreDatabaseReference) GetCollectionIds
func (x *FirestoreDatabaseReference) GetCollectionIds() []stringfunc (*FirestoreDatabaseReference) GetDatabaseId
func (x *FirestoreDatabaseReference) GetDatabaseId() stringfunc (*FirestoreDatabaseReference) GetDatabaseTableReferences
func (x *FirestoreDatabaseReference) GetDatabaseTableReferences() []*DatabaseTableReferencefunc (*FirestoreDatabaseReference) GetProjectId
func (x *FirestoreDatabaseReference) GetProjectId() stringfunc (*FirestoreDatabaseReference) ProtoMessage
func (*FirestoreDatabaseReference) ProtoMessage()func (*FirestoreDatabaseReference) ProtoReflect
func (x *FirestoreDatabaseReference) ProtoReflect() protoreflect.Messagefunc (*FirestoreDatabaseReference) Reset
func (x *FirestoreDatabaseReference) Reset()func (*FirestoreDatabaseReference) String
func (x *FirestoreDatabaseReference) String() stringFirestoreReference
type FirestoreReference struct {
// Required. Singular proto that supports specifying which database and tables
// to include.
DatabaseReference *FirestoreDatabaseReference `protobuf:"bytes,1,opt,name=database_reference,json=databaseReference,proto3" json:"database_reference,omitempty"`
// Optional. Parameters for retrieving data from Agent Context.
AgentContextReference *AgentContextReference `protobuf:"bytes,2,opt,name=agent_context_reference,json=agentContextReference,proto3" json:"agent_context_reference,omitempty"`
// contains filtered or unexported fields
}Message representing reference to a Firestore database and agent context.
func (*FirestoreReference) Descriptor
func (*FirestoreReference) Descriptor() ([]byte, []int)Deprecated: Use FirestoreReference.ProtoReflect.Descriptor instead.
func (*FirestoreReference) GetAgentContextReference
func (x *FirestoreReference) GetAgentContextReference() *AgentContextReferencefunc (*FirestoreReference) GetDatabaseReference
func (x *FirestoreReference) GetDatabaseReference() *FirestoreDatabaseReferencefunc (*FirestoreReference) ProtoMessage
func (*FirestoreReference) ProtoMessage()func (*FirestoreReference) ProtoReflect
func (x *FirestoreReference) ProtoReflect() protoreflect.Messagefunc (*FirestoreReference) Reset
func (x *FirestoreReference) Reset()func (*FirestoreReference) String
func (x *FirestoreReference) String() stringGenerationOptions
type GenerationOptions struct {
// Optional. If true, the generated query will be executed, and the result
// data will be returned in the response.
GenerateQueryResult bool `protobuf:"varint,1,opt,name=generate_query_result,json=generateQueryResult,proto3" json:"generate_query_result,omitempty"`
// Optional. If true, a natural language answer based on the query execution
// result will be generated and returned in the response.
GenerateNaturalLanguageAnswer bool `protobuf:"varint,2,opt,name=generate_natural_language_answer,json=generateNaturalLanguageAnswer,proto3" json:"generate_natural_language_answer,omitempty"`
// Optional. If true, an explanation of the generated query will be returned
// in the response.
GenerateExplanation bool `protobuf:"varint,3,opt,name=generate_explanation,json=generateExplanation,proto3" json:"generate_explanation,omitempty"`
// Optional. If true (default to false), the service may return a
// clarifying_question if the input query is ambiguous.
GenerateDisambiguationQuestion bool `protobuf:"varint,4,opt,name=generate_disambiguation_question,json=generateDisambiguationQuestion,proto3" json:"generate_disambiguation_question,omitempty"`
// Optional. If true (default to false), returns internal debugging
// information.
GenerateDebugInfo bool `protobuf:"varint,5,opt,name=generate_debug_info,json=generateDebugInfo,proto3" json:"generate_debug_info,omitempty"`
// contains filtered or unexported fields
}Options to control query generation, execution, and response format.
func (*GenerationOptions) Descriptor
func (*GenerationOptions) Descriptor() ([]byte, []int)Deprecated: Use GenerationOptions.ProtoReflect.Descriptor instead.
func (*GenerationOptions) GetGenerateDebugInfo
func (x *GenerationOptions) GetGenerateDebugInfo() boolfunc (*GenerationOptions) GetGenerateDisambiguationQuestion
func (x *GenerationOptions) GetGenerateDisambiguationQuestion() boolfunc (*GenerationOptions) GetGenerateExplanation
func (x *GenerationOptions) GetGenerateExplanation() boolfunc (*GenerationOptions) GetGenerateNaturalLanguageAnswer
func (x *GenerationOptions) GetGenerateNaturalLanguageAnswer() boolfunc (*GenerationOptions) GetGenerateQueryResult
func (x *GenerationOptions) GetGenerateQueryResult() boolfunc (*GenerationOptions) ProtoMessage
func (*GenerationOptions) ProtoMessage()func (*GenerationOptions) ProtoReflect
func (x *GenerationOptions) ProtoReflect() protoreflect.Messagefunc (*GenerationOptions) Reset
func (x *GenerationOptions) Reset()func (*GenerationOptions) String
func (x *GenerationOptions) String() stringGetAgentCardRequest
type GetAgentCardRequest struct {
// Optional. Optional tenant, provided as a path parameter.
Tenant string `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"`
// contains filtered or unexported fields
}Request message for GetAgentCard.
func (*GetAgentCardRequest) Descriptor
func (*GetAgentCardRequest) Descriptor() ([]byte, []int)Deprecated: Use GetAgentCardRequest.ProtoReflect.Descriptor instead.
func (*GetAgentCardRequest) GetTenant
func (x *GetAgentCardRequest) GetTenant() stringfunc (*GetAgentCardRequest) ProtoMessage
func (*GetAgentCardRequest) ProtoMessage()func (*GetAgentCardRequest) ProtoReflect
func (x *GetAgentCardRequest) ProtoReflect() protoreflect.Messagefunc (*GetAgentCardRequest) Reset
func (x *GetAgentCardRequest) Reset()func (*GetAgentCardRequest) String
func (x *GetAgentCardRequest) String() stringGetConversationRequest
type GetConversationRequest struct {
// Required. Name of the resource.
// Format:
// `projects/{project}/locations/{location}/conversations/{conversation}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Request for getting a conversation based on parent and conversation id.
func (*GetConversationRequest) Descriptor
func (*GetConversationRequest) Descriptor() ([]byte, []int)Deprecated: Use GetConversationRequest.ProtoReflect.Descriptor instead.
func (*GetConversationRequest) GetName
func (x *GetConversationRequest) GetName() stringfunc (*GetConversationRequest) ProtoMessage
func (*GetConversationRequest) ProtoMessage()func (*GetConversationRequest) ProtoReflect
func (x *GetConversationRequest) ProtoReflect() protoreflect.Messagefunc (*GetConversationRequest) Reset
func (x *GetConversationRequest) Reset()func (*GetConversationRequest) String
func (x *GetConversationRequest) String() stringGetDataAgentRequest
type GetDataAgentRequest struct {
// Required. Name of the resource.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}Message for getting a DataAgent.
func (*GetDataAgentRequest) Descriptor
func (*GetDataAgentRequest) Descriptor() ([]byte, []int)Deprecated: Use GetDataAgentRequest.ProtoReflect.Descriptor instead.
func (*GetDataAgentRequest) GetName
func (x *GetDataAgentRequest) GetName() stringfunc (*GetDataAgentRequest) ProtoMessage
func (*GetDataAgentRequest) ProtoMessage()func (*GetDataAgentRequest) ProtoReflect
func (x *GetDataAgentRequest) ProtoReflect() protoreflect.Messagefunc (*GetDataAgentRequest) Reset
func (x *GetDataAgentRequest) Reset()func (*GetDataAgentRequest) String
func (x *GetDataAgentRequest) String() stringGlossaryTerm
type GlossaryTerm struct {
// Required. User friendly display name of the glossary term being defined.
// For example: "CTR", "conversion rate", "pending"
//
// Must be at most 256 bytes.
DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Required. The description or meaning of the term.
// For example: "Click-through rate", "The percentage of users who complete a
// desired action", "An order that is waiting to be processed."
//
// Must be at most 5,000 bytes (approx. 5,000 characters).
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// Optional. A list of general purpose labels associated to this term.
// For example: ["click rate", "clickthrough", "waiting"]
Labels []string `protobuf:"bytes,3,rep,name=labels,proto3" json:"labels,omitempty"`
// contains filtered or unexported fields
}Definition of a term within a specific domain.
func (*GlossaryTerm) Descriptor
func (*GlossaryTerm) Descriptor() ([]byte, []int)Deprecated: Use GlossaryTerm.ProtoReflect.Descriptor instead.
func (*GlossaryTerm) GetDescription
func (x *GlossaryTerm) GetDescription() stringfunc (*GlossaryTerm) GetDisplayName
func (x *GlossaryTerm) GetDisplayName() stringfunc (*GlossaryTerm) GetLabels
func (x *GlossaryTerm) GetLabels() []stringfunc (*GlossaryTerm) ProtoMessage
func (*GlossaryTerm) ProtoMessage()func (*GlossaryTerm) ProtoReflect
func (x *GlossaryTerm) ProtoReflect() protoreflect.Messagefunc (*GlossaryTerm) Reset
func (x *GlossaryTerm) Reset()func (*GlossaryTerm) String
func (x *GlossaryTerm) String() stringHTTPAuthSecurityScheme
type HTTPAuthSecurityScheme struct {
// Optional. Description of this security scheme.
Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
// Optional. The name of the HTTP Authentication scheme to be used in the
// Authorization header.
Scheme string `protobuf:"bytes,2,opt,name=scheme,proto3" json:"scheme,omitempty"`
// Optional. A hint to the client to identify how the bearer token is
// formatted.
BearerFormat string `protobuf:"bytes,3,opt,name=bearer_format,json=bearerFormat,proto3" json:"bearer_format,omitempty"`
// contains filtered or unexported fields
}HTTPAuthSecurityScheme defines an HTTP authentication security scheme.
func (*HTTPAuthSecurityScheme) Descriptor
func (*HTTPAuthSecurityScheme) Descriptor() ([]byte, []int)Deprecated: Use HTTPAuthSecurityScheme.ProtoReflect.Descriptor instead.
func (*HTTPAuthSecurityScheme) GetBearerFormat
func (x *HTTPAuthSecurityScheme) GetBearerFormat() stringfunc (*HTTPAuthSecurityScheme) GetDescription
func (x *HTTPAuthSecurityScheme) GetDescription() stringfunc (*HTTPAuthSecurityScheme) GetScheme
func (x *HTTPAuthSecurityScheme) GetScheme() stringfunc (*HTTPAuthSecurityScheme) ProtoMessage
func (*HTTPAuthSecurityScheme) ProtoMessage()func (*HTTPAuthSecurityScheme) ProtoReflect
func (x *HTTPAuthSecurityScheme) ProtoReflect() protoreflect.Messagefunc (*HTTPAuthSecurityScheme) Reset
func (x *HTTPAuthSecurityScheme) Reset()func (*HTTPAuthSecurityScheme) String
func (x *HTTPAuthSecurityScheme) String() stringImplicitOAuthFlow
type ImplicitOAuthFlow struct {
// Optional. The authorization URL to be used for this flow.
AuthorizationUrl string `protobuf:"bytes,1,opt,name=authorization_url,json=authorizationUrl,proto3" json:"authorization_url,omitempty"`
// Optional. The URL to be used for obtaining refresh tokens.
RefreshUrl string `protobuf:"bytes,2,opt,name=refresh_url,json=refreshUrl,proto3" json:"refresh_url,omitempty"`
// The available scopes for the OAuth2 security scheme.
Scopes map[string]string `protobuf:"bytes,3,rep,name=scopes,proto3" json:"scopes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// contains filtered or unexported fields
}ImplicitOAuthFlow defines an implicit OAuth flow.
func (*ImplicitOAuthFlow) Descriptor
func (*ImplicitOAuthFlow) Descriptor() ([]byte, []int)Deprecated: Use ImplicitOAuthFlow.ProtoReflect.Descriptor instead.
func (*ImplicitOAuthFlow) GetAuthorizationUrl
func (x *ImplicitOAuthFlow) GetAuthorizationUrl() stringfunc (*ImplicitOAuthFlow) GetRefreshUrl
func (x *ImplicitOAuthFlow) GetRefreshUrl() stringfunc (*ImplicitOAuthFlow) GetScopes
func (x *ImplicitOAuthFlow) GetScopes() map[string]stringfunc (*ImplicitOAuthFlow) ProtoMessage
func (*ImplicitOAuthFlow) ProtoMessage()func (*ImplicitOAuthFlow) ProtoReflect
func (x *ImplicitOAuthFlow) ProtoReflect() protoreflect.Messagefunc (*ImplicitOAuthFlow) Reset
func (x *ImplicitOAuthFlow) Reset()func (*ImplicitOAuthFlow) String
func (x *ImplicitOAuthFlow) String() stringListAccessibleDataAgentsRequest
type ListAccessibleDataAgentsRequest struct {
// Required. Parent value for ListAccessibleDataAgentsRequest.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Server may return fewer items than requested.
// If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token, received from a previous `ListAccessibleDataAgents`
// call. Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to
// `ListAccessibleDataAgents` must match the call that provided the page
// token. The service may return fewer than this value.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filtering results. See [AIP-160](https://google.aip.dev/160) for
// syntax.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. User specification for how to order the results.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// Optional. If true, the list results will include soft-deleted DataAgents.
// Defaults to false.
ShowDeleted bool `protobuf:"varint,6,opt,name=show_deleted,json=showDeleted,proto3" json:"show_deleted,omitempty"`
// Optional. Filter for the creator of the agent.
CreatorFilter ListAccessibleDataAgentsRequest_CreatorFilter `protobuf:"varint,7,opt,name=creator_filter,json=creatorFilter,proto3,enum=google.cloud.geminidataanalytics.v1beta.ListAccessibleDataAgentsRequest_CreatorFilter" json:"creator_filter,omitempty"`
// contains filtered or unexported fields
}Message for requesting list of accessible DataAgents.
func (*ListAccessibleDataAgentsRequest) Descriptor
func (*ListAccessibleDataAgentsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListAccessibleDataAgentsRequest.ProtoReflect.Descriptor instead.
func (*ListAccessibleDataAgentsRequest) GetCreatorFilter
func (x *ListAccessibleDataAgentsRequest) GetCreatorFilter() ListAccessibleDataAgentsRequest_CreatorFilterfunc (*ListAccessibleDataAgentsRequest) GetFilter
func (x *ListAccessibleDataAgentsRequest) GetFilter() stringfunc (*ListAccessibleDataAgentsRequest) GetOrderBy
func (x *ListAccessibleDataAgentsRequest) GetOrderBy() stringfunc (*ListAccessibleDataAgentsRequest) GetPageSize
func (x *ListAccessibleDataAgentsRequest) GetPageSize() int32func (*ListAccessibleDataAgentsRequest) GetPageToken
func (x *ListAccessibleDataAgentsRequest) GetPageToken() stringfunc (*ListAccessibleDataAgentsRequest) GetParent
func (x *ListAccessibleDataAgentsRequest) GetParent() stringfunc (*ListAccessibleDataAgentsRequest) GetShowDeleted
func (x *ListAccessibleDataAgentsRequest) GetShowDeleted() boolfunc (*ListAccessibleDataAgentsRequest) ProtoMessage
func (*ListAccessibleDataAgentsRequest) ProtoMessage()func (*ListAccessibleDataAgentsRequest) ProtoReflect
func (x *ListAccessibleDataAgentsRequest) ProtoReflect() protoreflect.Messagefunc (*ListAccessibleDataAgentsRequest) Reset
func (x *ListAccessibleDataAgentsRequest) Reset()func (*ListAccessibleDataAgentsRequest) String
func (x *ListAccessibleDataAgentsRequest) String() stringListAccessibleDataAgentsRequest_CreatorFilter
type ListAccessibleDataAgentsRequest_CreatorFilter int32Filter for the creator of the agent.
ListAccessibleDataAgentsRequest_CREATOR_FILTER_UNSPECIFIED, ListAccessibleDataAgentsRequest_NONE, ListAccessibleDataAgentsRequest_CREATOR_ONLY, ListAccessibleDataAgentsRequest_NOT_CREATOR_ONLY
const (
// Default value.
ListAccessibleDataAgentsRequest_CREATOR_FILTER_UNSPECIFIED ListAccessibleDataAgentsRequest_CreatorFilter = 0
// No creator-specific filter will be applied. All agents will be returned.
ListAccessibleDataAgentsRequest_NONE ListAccessibleDataAgentsRequest_CreatorFilter = 1
// Only agents created by the user calling the API will be returned.
ListAccessibleDataAgentsRequest_CREATOR_ONLY ListAccessibleDataAgentsRequest_CreatorFilter = 2
// Only agents not created by the user calling the API will be returned.
ListAccessibleDataAgentsRequest_NOT_CREATOR_ONLY ListAccessibleDataAgentsRequest_CreatorFilter = 3
)func (ListAccessibleDataAgentsRequest_CreatorFilter) Descriptor
func (ListAccessibleDataAgentsRequest_CreatorFilter) Descriptor() protoreflect.EnumDescriptorfunc (ListAccessibleDataAgentsRequest_CreatorFilter) Enum
func (x ListAccessibleDataAgentsRequest_CreatorFilter) Enum() *ListAccessibleDataAgentsRequest_CreatorFilterfunc (ListAccessibleDataAgentsRequest_CreatorFilter) EnumDescriptor
func (ListAccessibleDataAgentsRequest_CreatorFilter) EnumDescriptor() ([]byte, []int)Deprecated: Use ListAccessibleDataAgentsRequest_CreatorFilter.Descriptor instead.
func (ListAccessibleDataAgentsRequest_CreatorFilter) Number
func (x ListAccessibleDataAgentsRequest_CreatorFilter) Number() protoreflect.EnumNumberfunc (ListAccessibleDataAgentsRequest_CreatorFilter) String
func (x ListAccessibleDataAgentsRequest_CreatorFilter) String() stringfunc (ListAccessibleDataAgentsRequest_CreatorFilter) Type
ListAccessibleDataAgentsResponse
type ListAccessibleDataAgentsResponse struct {
// The list of accessible DataAgent.
DataAgents []*DataAgent `protobuf:"bytes,1,rep,name=data_agents,json=dataAgents,proto3" json:"data_agents,omitempty"`
// The next page token or empty if none.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Unordered list. Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Message for response to listing accessible DataAgents.
func (*ListAccessibleDataAgentsResponse) Descriptor
func (*ListAccessibleDataAgentsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListAccessibleDataAgentsResponse.ProtoReflect.Descriptor instead.
func (*ListAccessibleDataAgentsResponse) GetDataAgents
func (x *ListAccessibleDataAgentsResponse) GetDataAgents() []*DataAgentfunc (*ListAccessibleDataAgentsResponse) GetNextPageToken
func (x *ListAccessibleDataAgentsResponse) GetNextPageToken() stringfunc (*ListAccessibleDataAgentsResponse) GetUnreachable
func (x *ListAccessibleDataAgentsResponse) GetUnreachable() []stringfunc (*ListAccessibleDataAgentsResponse) ProtoMessage
func (*ListAccessibleDataAgentsResponse) ProtoMessage()func (*ListAccessibleDataAgentsResponse) ProtoReflect
func (x *ListAccessibleDataAgentsResponse) ProtoReflect() protoreflect.Messagefunc (*ListAccessibleDataAgentsResponse) Reset
func (x *ListAccessibleDataAgentsResponse) Reset()func (*ListAccessibleDataAgentsResponse) String
func (x *ListAccessibleDataAgentsResponse) String() stringListConversationsRequest
type ListConversationsRequest struct {
// Required. Parent value for ListConversationsRequest.
// Format: `projects/{project}/locations/{location}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. Server may return fewer items than
// requested. The max page size is `100`. All larger page sizes will be
// coerced to `100`. If unspecified, server will pick `50` as an appropriate
// default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Returned conversations will match criteria specified within the
// filter. ListConversations allows filtering by:
// - agents
// - labels
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}Request for listing conversations based on parent.
func (*ListConversationsRequest) Descriptor
func (*ListConversationsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListConversationsRequest.ProtoReflect.Descriptor instead.
func (*ListConversationsRequest) GetFilter
func (x *ListConversationsRequest) GetFilter() stringfunc (*ListConversationsRequest) GetPageSize
func (x *ListConversationsRequest) GetPageSize() int32func (*ListConversationsRequest) GetPageToken
func (x *ListConversationsRequest) GetPageToken() stringfunc (*ListConversationsRequest) GetParent
func (x *ListConversationsRequest) GetParent() stringfunc (*ListConversationsRequest) ProtoMessage
func (*ListConversationsRequest) ProtoMessage()func (*ListConversationsRequest) ProtoReflect
func (x *ListConversationsRequest) ProtoReflect() protoreflect.Messagefunc (*ListConversationsRequest) Reset
func (x *ListConversationsRequest) Reset()func (*ListConversationsRequest) String
func (x *ListConversationsRequest) String() stringListConversationsResponse
type ListConversationsResponse struct {
// The list of conversations.
Conversations []*Conversation `protobuf:"bytes,1,rep,name=conversations,proto3" json:"conversations,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Message for response to listing conversations.
func (*ListConversationsResponse) Descriptor
func (*ListConversationsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListConversationsResponse.ProtoReflect.Descriptor instead.
func (*ListConversationsResponse) GetConversations
func (x *ListConversationsResponse) GetConversations() []*Conversationfunc (*ListConversationsResponse) GetNextPageToken
func (x *ListConversationsResponse) GetNextPageToken() stringfunc (*ListConversationsResponse) ProtoMessage
func (*ListConversationsResponse) ProtoMessage()func (*ListConversationsResponse) ProtoReflect
func (x *ListConversationsResponse) ProtoReflect() protoreflect.Messagefunc (*ListConversationsResponse) Reset
func (x *ListConversationsResponse) Reset()func (*ListConversationsResponse) String
func (x *ListConversationsResponse) String() stringListDataAgentsRequest
type ListDataAgentsRequest struct {
// Required. Parent value for ListDataAgentsRequest.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Server may return fewer items than requested.
// If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A page token, received from a previous `ListDataAgents` call.
// Provide this to retrieve the subsequent page.
//
// When paginating, all other parameters provided to `ListDataAgents` must
// match the call that provided the page token. The service may return fewer
// than this value.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filtering results. See [AIP-160](https://google.aip.dev/160) for
// syntax.
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Optional. User specification for how to order the results.
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// Optional. If true, the list results will include soft-deleted DataAgents.
// Defaults to false.
ShowDeleted bool `protobuf:"varint,6,opt,name=show_deleted,json=showDeleted,proto3" json:"show_deleted,omitempty"`
// Optional. Filter for the creator of the agent.
CreatorFilter ListAccessibleDataAgentsRequest_CreatorFilter `protobuf:"varint,8,opt,name=creator_filter,json=creatorFilter,proto3,enum=google.cloud.geminidataanalytics.v1beta.ListAccessibleDataAgentsRequest_CreatorFilter" json:"creator_filter,omitempty"`
// contains filtered or unexported fields
}Message for requesting list of DataAgents.
func (*ListDataAgentsRequest) Descriptor
func (*ListDataAgentsRequest) Descriptor() ([]byte, []int)Deprecated: Use ListDataAgentsRequest.ProtoReflect.Descriptor instead.
func (*ListDataAgentsRequest) GetCreatorFilter
func (x *ListDataAgentsRequest) GetCreatorFilter() ListAccessibleDataAgentsRequest_CreatorFilterfunc (*ListDataAgentsRequest) GetFilter
func (x *ListDataAgentsRequest) GetFilter() stringfunc (*ListDataAgentsRequest) GetOrderBy
func (x *ListDataAgentsRequest) GetOrderBy() stringfunc (*ListDataAgentsRequest) GetPageSize
func (x *ListDataAgentsRequest) GetPageSize() int32func (*ListDataAgentsRequest) GetPageToken
func (x *ListDataAgentsRequest) GetPageToken() stringfunc (*ListDataAgentsRequest) GetParent
func (x *ListDataAgentsRequest) GetParent() stringfunc (*ListDataAgentsRequest) GetShowDeleted
func (x *ListDataAgentsRequest) GetShowDeleted() boolfunc (*ListDataAgentsRequest) ProtoMessage
func (*ListDataAgentsRequest) ProtoMessage()func (*ListDataAgentsRequest) ProtoReflect
func (x *ListDataAgentsRequest) ProtoReflect() protoreflect.Messagefunc (*ListDataAgentsRequest) Reset
func (x *ListDataAgentsRequest) Reset()func (*ListDataAgentsRequest) String
func (x *ListDataAgentsRequest) String() stringListDataAgentsResponse
type ListDataAgentsResponse struct {
// The list of DataAgent.
DataAgents []*DataAgent `protobuf:"bytes,1,rep,name=data_agents,json=dataAgents,proto3" json:"data_agents,omitempty"`
// The next page token or empty if none.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Unordered list. Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}Message for response to listing DataAgents.
func (*ListDataAgentsResponse) Descriptor
func (*ListDataAgentsResponse) Descriptor() ([]byte, []int)Deprecated: Use ListDataAgentsResponse.ProtoReflect.Descriptor instead.
func (*ListDataAgentsResponse) GetDataAgents
func (x *ListDataAgentsResponse) GetDataAgents() []*DataAgentfunc (*ListDataAgentsResponse) GetNextPageToken
func (x *ListDataAgentsResponse) GetNextPageToken() stringfunc (*ListDataAgentsResponse) GetUnreachable
func (x *ListDataAgentsResponse) GetUnreachable() []stringfunc (*ListDataAgentsResponse) ProtoMessage
func (*ListDataAgentsResponse) ProtoMessage()func (*ListDataAgentsResponse) ProtoReflect
func (x *ListDataAgentsResponse) ProtoReflect() protoreflect.Messagefunc (*ListDataAgentsResponse) Reset
func (x *ListDataAgentsResponse) Reset()func (*ListDataAgentsResponse) String
func (x *ListDataAgentsResponse) String() stringListMessagesRequest
type ListMessagesRequest struct {
// Required. The conversation to list messages under.
// Format:
// `projects/{project}/locations/{location}/conversations/{conversation_id}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Requested page size. Server may return fewer items than
// requested. The max page size is `100`. All larger page sizes will be
// coerced to `100`. If unspecified, server will pick `50` as an appropriate
// default.
PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Optional. Filtering results. See [AIP-160](https://google.aip.dev/160) for
// syntax.
//
// ListMessages allows filtering by:
// - create_time (e.g., `createTime > "2025-01-28T06:51:56-08:00"`)
// - update_time
Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
// contains filtered or unexported fields
}Request for listing chat messages based on parent and conversation_id.
func (*ListMessagesRequest) Descriptor
func (*ListMessagesRequest) Descriptor() ([]byte, []int)Deprecated: Use ListMessagesRequest.ProtoReflect.Descriptor instead.
func (*ListMessagesRequest) GetFilter
func (x *ListMessagesRequest) GetFilter() stringfunc (*ListMessagesRequest) GetPageSize
func (x *ListMessagesRequest) GetPageSize() int32func (*ListMessagesRequest) GetPageToken
func (x *ListMessagesRequest) GetPageToken() stringfunc (*ListMessagesRequest) GetParent
func (x *ListMessagesRequest) GetParent() stringfunc (*ListMessagesRequest) ProtoMessage
func (*ListMessagesRequest) ProtoMessage()func (*ListMessagesRequest) ProtoReflect
func (x *ListMessagesRequest) ProtoReflect() protoreflect.Messagefunc (*ListMessagesRequest) Reset
func (x *ListMessagesRequest) Reset()func (*ListMessagesRequest) String
func (x *ListMessagesRequest) String() stringListMessagesResponse
type ListMessagesResponse struct {
// The list of chat messages.
Messages []*StorageMessage `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// contains filtered or unexported fields
}Response for listing chat messages.
func (*ListMessagesResponse) Descriptor
func (*ListMessagesResponse) Descriptor() ([]byte, []int)Deprecated: Use ListMessagesResponse.ProtoReflect.Descriptor instead.
func (*ListMessagesResponse) GetMessages
func (x *ListMessagesResponse) GetMessages() []*StorageMessagefunc (*ListMessagesResponse) GetNextPageToken
func (x *ListMessagesResponse) GetNextPageToken() stringfunc (*ListMessagesResponse) ProtoMessage
func (*ListMessagesResponse) ProtoMessage()func (*ListMessagesResponse) ProtoReflect
func (x *ListMessagesResponse) ProtoReflect() protoreflect.Messagefunc (*ListMessagesResponse) Reset
func (x *ListMessagesResponse) Reset()func (*ListMessagesResponse) String
func (x *ListMessagesResponse) String() stringLookerExploreReference
type LookerExploreReference struct {
// The instance of the Looker explore.
//
// Types that are valid to be assigned to Instance:
//
// *LookerExploreReference_LookerInstanceUri
// *LookerExploreReference_PrivateLookerInstanceInfo
Instance isLookerExploreReference_Instance `protobuf_oneof:"instance"`
// Required. Looker model, as outlined in
// [Major LookML
// structures](https://cloud.google.com/looker/docs/lookml-terms-and-concepts#major_lookml_structures).
// Name of the LookML model.
LookmlModel string `protobuf:"bytes,4,opt,name=lookml_model,json=lookmlModel,proto3" json:"lookml_model,omitempty"`
// Required. Looker Explore, as outlined in
// [Major LookML
// structures](https://cloud.google.com/looker/docs/lookml-terms-and-concepts#major_lookml_structures).
// Name of the LookML Explore.
Explore string `protobuf:"bytes,5,opt,name=explore,proto3" json:"explore,omitempty"`
// Optional. The schema of the datasource.
Schema *Schema `protobuf:"bytes,8,opt,name=schema,proto3" json:"schema,omitempty"`
// contains filtered or unexported fields
}Message representing a reference to a single Looker explore.
func (*LookerExploreReference) Descriptor
func (*LookerExploreReference) Descriptor() ([]byte, []int)Deprecated: Use LookerExploreReference.ProtoReflect.Descriptor instead.
func (*LookerExploreReference) GetExplore
func (x *LookerExploreReference) GetExplore() stringfunc (*LookerExploreReference) GetInstance
func (x *LookerExploreReference) GetInstance() isLookerExploreReference_Instancefunc (*LookerExploreReference) GetLookerInstanceUri
func (x *LookerExploreReference) GetLookerInstanceUri() stringfunc (*LookerExploreReference) GetLookmlModel
func (x *LookerExploreReference) GetLookmlModel() stringfunc (*LookerExploreReference) GetPrivateLookerInstanceInfo
func (x *LookerExploreReference) GetPrivateLookerInstanceInfo() *PrivateLookerInstanceInfofunc (*LookerExploreReference) GetSchema
func (x *LookerExploreReference) GetSchema() *Schemafunc (*LookerExploreReference) ProtoMessage
func (*LookerExploreReference) ProtoMessage()func (*LookerExploreReference) ProtoReflect
func (x *LookerExploreReference) ProtoReflect() protoreflect.Messagefunc (*LookerExploreReference) Reset
func (x *LookerExploreReference) Reset()func (*LookerExploreReference) String
func (x *LookerExploreReference) String() stringLookerExploreReference_LookerInstanceUri
type LookerExploreReference_LookerInstanceUri struct {
// Required. The base url of the Looker instance.
LookerInstanceUri string `protobuf:"bytes,9,opt,name=looker_instance_uri,json=lookerInstanceUri,proto3,oneof"`
}LookerExploreReference_PrivateLookerInstanceInfo
type LookerExploreReference_PrivateLookerInstanceInfo struct {
// Private Looker instance info.
PrivateLookerInstanceInfo *PrivateLookerInstanceInfo `protobuf:"bytes,10,opt,name=private_looker_instance_info,json=privateLookerInstanceInfo,proto3,oneof"`
}LookerExploreReferences
type LookerExploreReferences struct {
// Required. References to Looker explores.
ExploreReferences []*LookerExploreReference `protobuf:"bytes,1,rep,name=explore_references,json=exploreReferences,proto3" json:"explore_references,omitempty"`
// Optional. Deprecated: Use credentials in ChatRequest.
// The credentials to use when calling the Looker API.
//
// Currently supports both OAuth token and API key-based credentials, as
// described in
// [Authentication with an
// SDK](https://cloud.google.com/looker/docs/api-auth#authentication_with_an_sdk).
//
// Deprecated: Marked as deprecated in google/cloud/geminidataanalytics/v1beta/datasource.proto.
Credentials *Credentials `protobuf:"bytes,2,opt,name=credentials,proto3" json:"credentials,omitempty"`
// contains filtered or unexported fields
}Message representing references to Looker explores.
func (*LookerExploreReferences) Descriptor
func (*LookerExploreReferences) Descriptor() ([]byte, []int)Deprecated: Use LookerExploreReferences.ProtoReflect.Descriptor instead.
func (*LookerExploreReferences) GetCredentials
func (x *LookerExploreReferences) GetCredentials() *CredentialsDeprecated: Marked as deprecated in google/cloud/geminidataanalytics/v1beta/datasource.proto.
func (*LookerExploreReferences) GetExploreReferences
func (x *LookerExploreReferences) GetExploreReferences() []*LookerExploreReferencefunc (*LookerExploreReferences) ProtoMessage
func (*LookerExploreReferences) ProtoMessage()func (*LookerExploreReferences) ProtoReflect
func (x *LookerExploreReferences) ProtoReflect() protoreflect.Messagefunc (*LookerExploreReferences) Reset
func (x *LookerExploreReferences) Reset()func (*LookerExploreReferences) String
func (x *LookerExploreReferences) String() stringLookerGoldenQuery
type LookerGoldenQuery struct {
// Optional. Natural language questions that a user might ask.
// For example: "How many orders were placed last month?"
//
// Must be at most 2,000 bytes per question (approx. 2,000 characters).
NaturalLanguageQuestions []string `protobuf:"bytes,4,rep,name=natural_language_questions,json=naturalLanguageQuestions,proto3" json:"natural_language_questions,omitempty"`
// Optional. The Looker Query corresponding to the natural language questions.
LookerQuery *LookerQuery `protobuf:"bytes,5,opt,name=looker_query,json=lookerQuery,proto3" json:"looker_query,omitempty"`
// contains filtered or unexported fields
}A golden query for Looker, including natural language questions and a corresponding Looker Query. Analogous to ExampleQuery.
func (*LookerGoldenQuery) Descriptor
func (*LookerGoldenQuery) Descriptor() ([]byte, []int)Deprecated: Use LookerGoldenQuery.ProtoReflect.Descriptor instead.
func (*LookerGoldenQuery) GetLookerQuery
func (x *LookerGoldenQuery) GetLookerQuery() *LookerQueryfunc (*LookerGoldenQuery) GetNaturalLanguageQuestions
func (x *LookerGoldenQuery) GetNaturalLanguageQuestions() []stringfunc (*LookerGoldenQuery) ProtoMessage
func (*LookerGoldenQuery) ProtoMessage()func (*LookerGoldenQuery) ProtoReflect
func (x *LookerGoldenQuery) ProtoReflect() protoreflect.Messagefunc (*LookerGoldenQuery) Reset
func (x *LookerGoldenQuery) Reset()func (*LookerGoldenQuery) String
func (x *LookerGoldenQuery) String() stringLookerQuery
type LookerQuery struct {
// Required. The LookML model used to generate the query.
Model string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
// Required. The LookML explore used to generate the query.
Explore string `protobuf:"bytes,2,opt,name=explore,proto3" json:"explore,omitempty"`
// Optional. The fields to retrieve from the explore.
Fields []string `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"`
// Optional. The filters to apply to the explore.
Filters []*LookerQuery_Filter `protobuf:"bytes,4,rep,name=filters,proto3" json:"filters,omitempty"`
// Optional. The sorts to apply to the explore.
Sorts []string `protobuf:"bytes,5,rep,name=sorts,proto3" json:"sorts,omitempty"`
// Optional. Limit in the query.
Limit *string `protobuf:"bytes,6,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
// Optional. The dynamic fields used in the query.
DynamicFields []*DynamicField `protobuf:"bytes,9,rep,name=dynamic_fields,json=dynamicFields,proto3" json:"dynamic_fields,omitempty"`
// Optional. The primary identifier for the query resource in Looker, used for
// API operations. Maps to `id` (or `slug`) in the Looker API `Query`
// resource.
QueryId *string `protobuf:"bytes,10,opt,name=query_id,json=queryId,proto3,oneof" json:"query_id,omitempty"`
// Optional. The short alphanumeric identifier for the query, used for share
// links and Explore URLs (e.g., in the `qid` parameter). Maps to `client_id`
// in the Looker API `Query` resource.
ClientId *string `protobuf:"bytes,11,opt,name=client_id,json=clientId,proto3,oneof" json:"client_id,omitempty"`
// contains filtered or unexported fields
}Looker Query Object Looker API documentation.
func (*LookerQuery) Descriptor
func (*LookerQuery) Descriptor() ([]byte, []int)Deprecated: Use LookerQuery.ProtoReflect.Descriptor instead.
func (*LookerQuery) GetClientId
func (x *LookerQuery) GetClientId() stringfunc (*LookerQuery) GetDynamicFields
func (x *LookerQuery) GetDynamicFields() []*DynamicFieldfunc (*LookerQuery) GetExplore
func (x *LookerQuery) GetExplore() stringfunc (*LookerQuery) GetFields
func (x *LookerQuery) GetFields() []stringfunc (*LookerQuery) GetFilters
func (x *LookerQuery) GetFilters() []*LookerQuery_Filterfunc (*LookerQuery) GetLimit
func (x *LookerQuery) GetLimit() stringfunc (*LookerQuery) GetModel
func (x *LookerQuery) GetModel() stringfunc (*LookerQuery) GetQueryId
func (x *LookerQuery) GetQueryId() stringfunc (*LookerQuery) GetSorts
func (x *LookerQuery) GetSorts() []stringfunc (*LookerQuery) ProtoMessage
func (*LookerQuery) ProtoMessage()func (*LookerQuery) ProtoReflect
func (x *LookerQuery) ProtoReflect() protoreflect.Messagefunc (*LookerQuery) Reset
func (x *LookerQuery) Reset()func (*LookerQuery) String
func (x *LookerQuery) String() stringLookerQuery_Filter
type LookerQuery_Filter struct {
// Required. The field to filter on.
Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
// Optional. The value for the field to filter on.
// Optional so we can preserve the default value as an empty
// string, important to get a valid and working Looker Explore url.
Value *string `protobuf:"bytes,2,opt,name=value,proto3,oneof" json:"value,omitempty"`
// contains filtered or unexported fields
}A Looker query filter.
func (*LookerQuery_Filter) Descriptor
func (*LookerQuery_Filter) Descriptor() ([]byte, []int)Deprecated: Use LookerQuery_Filter.ProtoReflect.Descriptor instead.
func (*LookerQuery_Filter) GetField
func (x *LookerQuery_Filter) GetField() stringfunc (*LookerQuery_Filter) GetValue
func (x *LookerQuery_Filter) GetValue() stringfunc (*LookerQuery_Filter) ProtoMessage
func (*LookerQuery_Filter) ProtoMessage()func (*LookerQuery_Filter) ProtoReflect
func (x *LookerQuery_Filter) ProtoReflect() protoreflect.Messagefunc (*LookerQuery_Filter) Reset
func (x *LookerQuery_Filter) Reset()func (*LookerQuery_Filter) String
func (x *LookerQuery_Filter) String() stringLookerSettings
type LookerSettings struct {
// Optional. Whether to operate in Looker's Development Mode.
// If true, the API session will be switched to the "dev" workspace,
// allowing interaction with LookML changes in the user's development branch.
// If false or unset, the session remains in the default state (Production
// Mode).
// See https://cloud.google.com/looker/docs/dev-mode-prod-mode.
EnableDevMode bool `protobuf:"varint,1,opt,name=enable_dev_mode,json=enableDevMode,proto3" json:"enable_dev_mode,omitempty"`
// contains filtered or unexported fields
}Message to hold Looker specific custom settings.
func (*LookerSettings) Descriptor
func (*LookerSettings) Descriptor() ([]byte, []int)Deprecated: Use LookerSettings.ProtoReflect.Descriptor instead.
func (*LookerSettings) GetEnableDevMode
func (x *LookerSettings) GetEnableDevMode() boolfunc (*LookerSettings) ProtoMessage
func (*LookerSettings) ProtoMessage()func (*LookerSettings) ProtoReflect
func (x *LookerSettings) ProtoReflect() protoreflect.Messagefunc (*LookerSettings) Reset
func (x *LookerSettings) Reset()func (*LookerSettings) String
func (x *LookerSettings) String() stringMatchedQuery
type MatchedQuery struct {
// The query that was matched based on an example query.
ExampleQuery *ExampleQuery `protobuf:"bytes,1,opt,name=example_query,json=exampleQuery,proto3" json:"example_query,omitempty"`
// The extracted values for the query parameters.
QueryParameterValues []*QueryParameterValues `protobuf:"bytes,2,rep,name=query_parameter_values,json=queryParameterValues,proto3" json:"query_parameter_values,omitempty"`
// contains filtered or unexported fields
}A matched query message represents the agent having matched one of the example queries supplied in context as being applicable to the current question. It will also contain additional info during the matching process.
func (*MatchedQuery) Descriptor
func (*MatchedQuery) Descriptor() ([]byte, []int)Deprecated: Use MatchedQuery.ProtoReflect.Descriptor instead.
func (*MatchedQuery) GetExampleQuery
func (x *MatchedQuery) GetExampleQuery() *ExampleQueryfunc (*MatchedQuery) GetQueryParameterValues
func (x *MatchedQuery) GetQueryParameterValues() []*QueryParameterValuesfunc (*MatchedQuery) ProtoMessage
func (*MatchedQuery) ProtoMessage()func (*MatchedQuery) ProtoReflect
func (x *MatchedQuery) ProtoReflect() protoreflect.Messagefunc (*MatchedQuery) Reset
func (x *MatchedQuery) Reset()func (*MatchedQuery) String
func (x *MatchedQuery) String() stringMessage
type Message struct {
// The kind of message.
//
// Types that are valid to be assigned to Kind:
//
// *Message_UserMessage
// *Message_SystemMessage
Kind isMessage_Kind `protobuf_oneof:"kind"`
// Output only. For user messages, this is the time at which the system
// received the message. For system messages, this is the time at which the
// system generated the message.
Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// Optional. unique id of the message in the conversation for persistence.
MessageId string `protobuf:"bytes,4,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
// contains filtered or unexported fields
}A message from an interaction between the user and the system.
func (*Message) Descriptor
Deprecated: Use Message.ProtoReflect.Descriptor instead.
func (*Message) GetKind
func (x *Message) GetKind() isMessage_Kindfunc (*Message) GetMessageId
func (*Message) GetSystemMessage
func (x *Message) GetSystemMessage() *SystemMessagefunc (*Message) GetTimestamp
func (x *Message) GetTimestamp() *timestamppb.Timestampfunc (*Message) GetUserMessage
func (x *Message) GetUserMessage() *UserMessagefunc (*Message) ProtoMessage
func (*Message) ProtoMessage()func (*Message) ProtoReflect
func (x *Message) ProtoReflect() protoreflect.Messagefunc (*Message) Reset
func (x *Message) Reset()func (*Message) String
Message_SystemMessage
type Message_SystemMessage struct {
// A message from the system in response to the user.
SystemMessage *SystemMessage `protobuf:"bytes,3,opt,name=system_message,json=systemMessage,proto3,oneof"`
}Message_UserMessage
type Message_UserMessage struct {
// A message from the user that is interacting with the system.
UserMessage *UserMessage `protobuf:"bytes,2,opt,name=user_message,json=userMessage,proto3,oneof"`
}MutualTlsSecurityScheme
type MutualTlsSecurityScheme struct {
// Optional. Description of this security scheme.
Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
// contains filtered or unexported fields
}MutualTlsSecurityScheme defines a Mutual TLS security scheme.
func (*MutualTlsSecurityScheme) Descriptor
func (*MutualTlsSecurityScheme) Descriptor() ([]byte, []int)Deprecated: Use MutualTlsSecurityScheme.ProtoReflect.Descriptor instead.
func (*MutualTlsSecurityScheme) GetDescription
func (x *MutualTlsSecurityScheme) GetDescription() stringfunc (*MutualTlsSecurityScheme) ProtoMessage
func (*MutualTlsSecurityScheme) ProtoMessage()func (*MutualTlsSecurityScheme) ProtoReflect
func (x *MutualTlsSecurityScheme) ProtoReflect() protoreflect.Messagefunc (*MutualTlsSecurityScheme) Reset
func (x *MutualTlsSecurityScheme) Reset()func (*MutualTlsSecurityScheme) String
func (x *MutualTlsSecurityScheme) String() stringOAuth2SecurityScheme
type OAuth2SecurityScheme struct {
// Optional. Description of this security scheme.
Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
// Optional. An object containing configuration information for the flow types
// supported.
Flows *OAuthFlows `protobuf:"bytes,2,opt,name=flows,proto3" json:"flows,omitempty"`
// Optional. URL to the oauth2 authorization server metadata.
Oauth2MetadataUrl string `protobuf:"bytes,3,opt,name=oauth2_metadata_url,json=oauth2MetadataUrl,proto3" json:"oauth2_metadata_url,omitempty"`
// contains filtered or unexported fields
}OAuth2SecurityScheme defines an OAuth2 security scheme.
func (*OAuth2SecurityScheme) Descriptor
func (*OAuth2SecurityScheme) Descriptor() ([]byte, []int)Deprecated: Use OAuth2SecurityScheme.ProtoReflect.Descriptor instead.
func (*OAuth2SecurityScheme) GetDescription
func (x *OAuth2SecurityScheme) GetDescription() stringfunc (*OAuth2SecurityScheme) GetFlows
func (x *OAuth2SecurityScheme) GetFlows() *OAuthFlowsfunc (*OAuth2SecurityScheme) GetOauth2MetadataUrl
func (x *OAuth2SecurityScheme) GetOauth2MetadataUrl() stringfunc (*OAuth2SecurityScheme) ProtoMessage
func (*OAuth2SecurityScheme) ProtoMessage()func (*OAuth2SecurityScheme) ProtoReflect
func (x *OAuth2SecurityScheme) ProtoReflect() protoreflect.Messagefunc (*OAuth2SecurityScheme) Reset
func (x *OAuth2SecurityScheme) Reset()func (*OAuth2SecurityScheme) String
func (x *OAuth2SecurityScheme) String() stringOAuthCredentials
type OAuthCredentials struct {
// The kind of OAuth credentials.
//
// Types that are valid to be assigned to Kind:
//
// *OAuthCredentials_Secret
// *OAuthCredentials_Token
Kind isOAuthCredentials_Kind `protobuf_oneof:"kind"`
// contains filtered or unexported fields
}Represents OAuth credentials.
func (*OAuthCredentials) Descriptor
func (*OAuthCredentials) Descriptor() ([]byte, []int)Deprecated: Use OAuthCredentials.ProtoReflect.Descriptor instead.
func (*OAuthCredentials) GetKind
func (x *OAuthCredentials) GetKind() isOAuthCredentials_Kindfunc (*OAuthCredentials) GetSecret
func (x *OAuthCredentials) GetSecret() *OAuthCredentials_SecretBasedfunc (*OAuthCredentials) GetToken
func (x *OAuthCredentials) GetToken() *OAuthCredentials_TokenBasedfunc (*OAuthCredentials) ProtoMessage
func (*OAuthCredentials) ProtoMessage()func (*OAuthCredentials) ProtoReflect
func (x *OAuthCredentials) ProtoReflect() protoreflect.Messagefunc (*OAuthCredentials) Reset
func (x *OAuthCredentials) Reset()func (*OAuthCredentials) String
func (x *OAuthCredentials) String() stringOAuthCredentials_Secret
type OAuthCredentials_Secret struct {
// Secret-based OAuth credentials.
Secret *OAuthCredentials_SecretBased `protobuf:"bytes,2,opt,name=secret,proto3,oneof"`
}OAuthCredentials_SecretBased
type OAuthCredentials_SecretBased struct {
// Required. An OAuth client ID.
ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
// Required. An OAuth client secret.
ClientSecret string `protobuf:"bytes,3,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
// contains filtered or unexported fields
}The name of the secret containing the access token. Represents secret-based OAuth credentials.
func (*OAuthCredentials_SecretBased) Descriptor
func (*OAuthCredentials_SecretBased) Descriptor() ([]byte, []int)Deprecated: Use OAuthCredentials_SecretBased.ProtoReflect.Descriptor instead.
func (*OAuthCredentials_SecretBased) GetClientId
func (x *OAuthCredentials_SecretBased) GetClientId() stringfunc (*OAuthCredentials_SecretBased) GetClientSecret
func (x *OAuthCredentials_SecretBased) GetClientSecret() stringfunc (*OAuthCredentials_SecretBased) ProtoMessage
func (*OAuthCredentials_SecretBased) ProtoMessage()func (*OAuthCredentials_SecretBased) ProtoReflect
func (x *OAuthCredentials_SecretBased) ProtoReflect() protoreflect.Messagefunc (*OAuthCredentials_SecretBased) Reset
func (x *OAuthCredentials_SecretBased) Reset()func (*OAuthCredentials_SecretBased) String
func (x *OAuthCredentials_SecretBased) String() stringOAuthCredentials_Token
type OAuthCredentials_Token struct {
// Token-based OAuth credentials.
Token *OAuthCredentials_TokenBased `protobuf:"bytes,3,opt,name=token,proto3,oneof"`
}OAuthCredentials_TokenBased
type OAuthCredentials_TokenBased struct {
// Required. The name of the secret containing the access token.
AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
// contains filtered or unexported fields
}Read more about Looker access tokens here: https://developers.looker.com/api/advanced-usage/looker-api-oauth
func (*OAuthCredentials_TokenBased) Descriptor
func (*OAuthCredentials_TokenBased) Descriptor() ([]byte, []int)Deprecated: Use OAuthCredentials_TokenBased.ProtoReflect.Descriptor instead.
func (*OAuthCredentials_TokenBased) GetAccessToken
func (x *OAuthCredentials_TokenBased) GetAccessToken() stringfunc (*OAuthCredentials_TokenBased) ProtoMessage
func (*OAuthCredentials_TokenBased) ProtoMessage()func (*OAuthCredentials_TokenBased) ProtoReflect
func (x *OAuthCredentials_TokenBased) ProtoReflect() protoreflect.Messagefunc (*OAuthCredentials_TokenBased) Reset
func (x *OAuthCredentials_TokenBased) Reset()func (*OAuthCredentials_TokenBased) String
func (x *OAuthCredentials_TokenBased) String() stringOAuthFlows
type OAuthFlows struct {
// The supported OAuth flow configuration.
//
// Types that are valid to be assigned to Flow:
//
// *OAuthFlows_AuthorizationCode
// *OAuthFlows_ClientCredentials
// *OAuthFlows_Implicit
// *OAuthFlows_Password
Flow isOAuthFlows_Flow `protobuf_oneof:"flow"`
// contains filtered or unexported fields
}OAuthFlows contains configuration information for supported OAuth flows.
func (*OAuthFlows) Descriptor
func (*OAuthFlows) Descriptor() ([]byte, []int)Deprecated: Use OAuthFlows.ProtoReflect.Descriptor instead.
func (*OAuthFlows) GetAuthorizationCode
func (x *OAuthFlows) GetAuthorizationCode() *AuthorizationCodeOAuthFlowfunc (*OAuthFlows) GetClientCredentials
func (x *OAuthFlows) GetClientCredentials() *ClientCredentialsOAuthFlowfunc (*OAuthFlows) GetFlow
func (x *OAuthFlows) GetFlow() isOAuthFlows_Flowfunc (*OAuthFlows) GetImplicit
func (x *OAuthFlows) GetImplicit() *ImplicitOAuthFlowfunc (*OAuthFlows) GetPassword
func (x *OAuthFlows) GetPassword() *PasswordOAuthFlowfunc (*OAuthFlows) ProtoMessage
func (*OAuthFlows) ProtoMessage()func (*OAuthFlows) ProtoReflect
func (x *OAuthFlows) ProtoReflect() protoreflect.Messagefunc (*OAuthFlows) Reset
func (x *OAuthFlows) Reset()func (*OAuthFlows) String
func (x *OAuthFlows) String() stringOAuthFlows_AuthorizationCode
type OAuthFlows_AuthorizationCode struct {
// Authorization code flow.
AuthorizationCode *AuthorizationCodeOAuthFlow `protobuf:"bytes,1,opt,name=authorization_code,json=authorizationCode,proto3,oneof"`
}OAuthFlows_ClientCredentials
type OAuthFlows_ClientCredentials struct {
// Client credentials flow.
ClientCredentials *ClientCredentialsOAuthFlow `protobuf:"bytes,2,opt,name=client_credentials,json=clientCredentials,proto3,oneof"`
}OAuthFlows_Implicit
type OAuthFlows_Implicit struct {
// Implicit flow.
Implicit *ImplicitOAuthFlow `protobuf:"bytes,3,opt,name=implicit,proto3,oneof"`
}OAuthFlows_Password
type OAuthFlows_Password struct {
// Resource owner password credentials flow.
Password *PasswordOAuthFlow `protobuf:"bytes,4,opt,name=password,proto3,oneof"`
}OpenIdConnectSecurityScheme
type OpenIdConnectSecurityScheme struct {
// Optional. Description of this security scheme.
Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
// Optional. Well-known URL to discover the OpenID Connect provider metadata.
OpenIdConnectUrl string `protobuf:"bytes,2,opt,name=open_id_connect_url,json=openIdConnectUrl,proto3" json:"open_id_connect_url,omitempty"`
// contains filtered or unexported fields
}OpenIdConnectSecurityScheme defines an OpenID Connect security scheme.
func (*OpenIdConnectSecurityScheme) Descriptor
func (*OpenIdConnectSecurityScheme) Descriptor() ([]byte, []int)Deprecated: Use OpenIdConnectSecurityScheme.ProtoReflect.Descriptor instead.
func (*OpenIdConnectSecurityScheme) GetDescription
func (x *OpenIdConnectSecurityScheme) GetDescription() stringfunc (*OpenIdConnectSecurityScheme) GetOpenIdConnectUrl
func (x *OpenIdConnectSecurityScheme) GetOpenIdConnectUrl() stringfunc (*OpenIdConnectSecurityScheme) ProtoMessage
func (*OpenIdConnectSecurityScheme) ProtoMessage()func (*OpenIdConnectSecurityScheme) ProtoReflect
func (x *OpenIdConnectSecurityScheme) ProtoReflect() protoreflect.Messagefunc (*OpenIdConnectSecurityScheme) Reset
func (x *OpenIdConnectSecurityScheme) Reset()func (*OpenIdConnectSecurityScheme) String
func (x *OpenIdConnectSecurityScheme) String() stringOperationMetadata
type OperationMetadata struct {
// Output only. The time the operation was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time the operation finished running.
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Output only. Server-defined resource path for the target of the operation.
Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
// Output only. Name of the verb executed by the operation.
Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
// Output only. Human-readable status of the operation, if any.
StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
// Output only. Identifies whether the user has requested cancellation
// of the operation. Operations that have been cancelled successfully
// have [Operation.error][] value with a
// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
// `Code.CANCELLED`.
RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
// Output only. API version used to start the operation.
ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
// contains filtered or unexported fields
}Represents the metadata of the long-running operation.
func (*OperationMetadata) Descriptor
func (*OperationMetadata) Descriptor() ([]byte, []int)Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
func (*OperationMetadata) GetApiVersion
func (x *OperationMetadata) GetApiVersion() stringfunc (*OperationMetadata) GetCreateTime
func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestampfunc (*OperationMetadata) GetEndTime
func (x *OperationMetadata) GetEndTime() *timestamppb.Timestampfunc (*OperationMetadata) GetRequestedCancellation
func (x *OperationMetadata) GetRequestedCancellation() boolfunc (*OperationMetadata) GetStatusMessage
func (x *OperationMetadata) GetStatusMessage() stringfunc (*OperationMetadata) GetTarget
func (x *OperationMetadata) GetTarget() stringfunc (*OperationMetadata) GetVerb
func (x *OperationMetadata) GetVerb() stringfunc (*OperationMetadata) ProtoMessage
func (*OperationMetadata) ProtoMessage()func (*OperationMetadata) ProtoReflect
func (x *OperationMetadata) ProtoReflect() protoreflect.Messagefunc (*OperationMetadata) Reset
func (x *OperationMetadata) Reset()func (*OperationMetadata) String
func (x *OperationMetadata) String() stringParameterizedSecureViewParameters
type ParameterizedSecureViewParameters struct {
// Optional. Named parameters for Parameterized Secure Views (PSV).
Parameters []*ParameterizedSecureViewParameters_Parameter `protobuf:"bytes,1,rep,name=parameters,proto3" json:"parameters,omitempty"`
// contains filtered or unexported fields
}Parameters for Parameterized Secure Views (PSV). These parameters are used to enforce row-level security during SQL generation and query execution.
func (*ParameterizedSecureViewParameters) Descriptor
func (*ParameterizedSecureViewParameters) Descriptor() ([]byte, []int)Deprecated: Use ParameterizedSecureViewParameters.ProtoReflect.Descriptor instead.
func (*ParameterizedSecureViewParameters) GetParameters
func (x *ParameterizedSecureViewParameters) GetParameters() []*ParameterizedSecureViewParameters_Parameterfunc (*ParameterizedSecureViewParameters) ProtoMessage
func (*ParameterizedSecureViewParameters) ProtoMessage()func (*ParameterizedSecureViewParameters) ProtoReflect
func (x *ParameterizedSecureViewParameters) ProtoReflect() protoreflect.Messagefunc (*ParameterizedSecureViewParameters) Reset
func (x *ParameterizedSecureViewParameters) Reset()func (*ParameterizedSecureViewParameters) String
func (x *ParameterizedSecureViewParameters) String() stringParameterizedSecureViewParameters_Parameter
type ParameterizedSecureViewParameters_Parameter struct {
// Required. The parameter key (e.g., `"user_id"`).
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// Required. The parameter value (e.g., `"123"`).
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}Represents a single parameter for Parameterized Secure Views.
func (*ParameterizedSecureViewParameters_Parameter) Descriptor
func (*ParameterizedSecureViewParameters_Parameter) Descriptor() ([]byte, []int)Deprecated: Use ParameterizedSecureViewParameters_Parameter.ProtoReflect.Descriptor instead.
func (*ParameterizedSecureViewParameters_Parameter) GetKey
func (x *ParameterizedSecureViewParameters_Parameter) GetKey() stringfunc (*ParameterizedSecureViewParameters_Parameter) GetValue
func (x *ParameterizedSecureViewParameters_Parameter) GetValue() stringfunc (*ParameterizedSecureViewParameters_Parameter) ProtoMessage
func (*ParameterizedSecureViewParameters_Parameter) ProtoMessage()func (*ParameterizedSecureViewParameters_Parameter) ProtoReflect
func (x *ParameterizedSecureViewParameters_Parameter) ProtoReflect() protoreflect.Messagefunc (*ParameterizedSecureViewParameters_Parameter) Reset
func (x *ParameterizedSecureViewParameters_Parameter) Reset()func (*ParameterizedSecureViewParameters_Parameter) String
func (x *ParameterizedSecureViewParameters_Parameter) String() stringPart
type Part struct {
// The content payload of the part.
//
// Types that are valid to be assigned to Part:
//
// *Part_Text
// *Part_File
// *Part_Data
Part isPart_Part `protobuf_oneof:"part"`
// Optional. Metadata associated with the part.
Metadata *structpb.Struct `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
// contains filtered or unexported fields
}Part represents a container for a section of communication content. Parts can be purely textual, some sort of file (image, video, etc) or a structured data blob (i.e. JSON).
func (*Part) Descriptor
Deprecated: Use Part.ProtoReflect.Descriptor instead.
func (*Part) GetData
func (*Part) GetFile
func (*Part) GetMetadata
func (*Part) GetPart
func (x *Part) GetPart() isPart_Partfunc (*Part) GetText
func (*Part) ProtoMessage
func (*Part) ProtoMessage()func (*Part) ProtoReflect
func (x *Part) ProtoReflect() protoreflect.Messagefunc (*Part) Reset
func (x *Part) Reset()func (*Part) String
Part_Data
type Part_Data struct {
// Structured data content payload.
Data *DataPart `protobuf:"bytes,3,opt,name=data,proto3,oneof"`
}Part_File
type Part_File struct {
// File content payload.
File *FilePart `protobuf:"bytes,2,opt,name=file,proto3,oneof"`
}Part_Text
type Part_Text struct {
// Plain text content.
Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}PasswordOAuthFlow
type PasswordOAuthFlow struct {
// Optional. The token URL to be used for this flow.
TokenUrl string `protobuf:"bytes,1,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"`
// Optional. The URL to be used for obtaining refresh tokens.
RefreshUrl string `protobuf:"bytes,2,opt,name=refresh_url,json=refreshUrl,proto3" json:"refresh_url,omitempty"`
// The available scopes for the OAuth2 security scheme.
Scopes map[string]string `protobuf:"bytes,3,rep,name=scopes,proto3" json:"scopes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// contains filtered or unexported fields
}PasswordOAuthFlow defines a password OAuth flow.
func (*PasswordOAuthFlow) Descriptor
func (*PasswordOAuthFlow) Descriptor() ([]byte, []int)Deprecated: Use PasswordOAuthFlow.ProtoReflect.Descriptor instead.
func (*PasswordOAuthFlow) GetRefreshUrl
func (x *PasswordOAuthFlow) GetRefreshUrl() stringfunc (*PasswordOAuthFlow) GetScopes
func (x *PasswordOAuthFlow) GetScopes() map[string]stringfunc (*PasswordOAuthFlow) GetTokenUrl
func (x *PasswordOAuthFlow) GetTokenUrl() stringfunc (*PasswordOAuthFlow) ProtoMessage
func (*PasswordOAuthFlow) ProtoMessage()func (*PasswordOAuthFlow) ProtoReflect
func (x *PasswordOAuthFlow) ProtoReflect() protoreflect.Messagefunc (*PasswordOAuthFlow) Reset
func (x *PasswordOAuthFlow) Reset()func (*PasswordOAuthFlow) String
func (x *PasswordOAuthFlow) String() stringPrivateLookerInstanceInfo
type PrivateLookerInstanceInfo struct {
// The Looker instance id.
LookerInstanceId string `protobuf:"bytes,1,opt,name=looker_instance_id,json=lookerInstanceId,proto3" json:"looker_instance_id,omitempty"`
// The service directory name of the Looker instance.
ServiceDirectoryName string `protobuf:"bytes,2,opt,name=service_directory_name,json=serviceDirectoryName,proto3" json:"service_directory_name,omitempty"`
// contains filtered or unexported fields
}Message representing a private Looker instance info required if the Looker instance is behind a private network.
func (*PrivateLookerInstanceInfo) Descriptor
func (*PrivateLookerInstanceInfo) Descriptor() ([]byte, []int)Deprecated: Use PrivateLookerInstanceInfo.ProtoReflect.Descriptor instead.
func (*PrivateLookerInstanceInfo) GetLookerInstanceId
func (x *PrivateLookerInstanceInfo) GetLookerInstanceId() stringfunc (*PrivateLookerInstanceInfo) GetServiceDirectoryName
func (x *PrivateLookerInstanceInfo) GetServiceDirectoryName() stringfunc (*PrivateLookerInstanceInfo) ProtoMessage
func (*PrivateLookerInstanceInfo) ProtoMessage()func (*PrivateLookerInstanceInfo) ProtoReflect
func (x *PrivateLookerInstanceInfo) ProtoReflect() protoreflect.Messagefunc (*PrivateLookerInstanceInfo) Reset
func (x *PrivateLookerInstanceInfo) Reset()func (*PrivateLookerInstanceInfo) String
func (x *PrivateLookerInstanceInfo) String() stringPushNotificationConfig
type PushNotificationConfig struct {
// Optional. A unique identifier (e.g. UUID) for this push notification.
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Optional. Url to send the notification to.
Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
// Optional. Token unique for this task/session.
Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
// Optional. Information about the authentication to send with the
// notification.
Authentication *AuthenticationInfo `protobuf:"bytes,4,opt,name=authentication,proto3" json:"authentication,omitempty"`
// contains filtered or unexported fields
}Configuration for setting up push notifications for task updates.
func (*PushNotificationConfig) Descriptor
func (*PushNotificationConfig) Descriptor() ([]byte, []int)Deprecated: Use PushNotificationConfig.ProtoReflect.Descriptor instead.
func (*PushNotificationConfig) GetAuthentication
func (x *PushNotificationConfig) GetAuthentication() *AuthenticationInfofunc (*PushNotificationConfig) GetId
func (x *PushNotificationConfig) GetId() stringfunc (*PushNotificationConfig) GetToken
func (x *PushNotificationConfig) GetToken() stringfunc (*PushNotificationConfig) GetUrl
func (x *PushNotificationConfig) GetUrl() stringfunc (*PushNotificationConfig) ProtoMessage
func (*PushNotificationConfig) ProtoMessage()func (*PushNotificationConfig) ProtoReflect
func (x *PushNotificationConfig) ProtoReflect() protoreflect.Messagefunc (*PushNotificationConfig) Reset
func (x *PushNotificationConfig) Reset()func (*PushNotificationConfig) String
func (x *PushNotificationConfig) String() stringQueryDataContext
type QueryDataContext struct {
// Required. The datasource references to use for the query.
DatasourceReferences *DatasourceReferences `protobuf:"bytes,1,opt,name=datasource_references,json=datasourceReferences,proto3" json:"datasource_references,omitempty"`
// Optional. Parameters for Parameterized Secure Views (PSV).
ParameterizedSecureViewParameters *ParameterizedSecureViewParameters `protobuf:"bytes,2,opt,name=parameterized_secure_view_parameters,json=parameterizedSecureViewParameters,proto3" json:"parameterized_secure_view_parameters,omitempty"`
// contains filtered or unexported fields
}References to data sources and context to use for the query.
func (*QueryDataContext) Descriptor
func (*QueryDataContext) Descriptor() ([]byte, []int)Deprecated: Use QueryDataContext.ProtoReflect.Descriptor instead.
func (*QueryDataContext) GetDatasourceReferences
func (x *QueryDataContext) GetDatasourceReferences() *DatasourceReferencesfunc (*QueryDataContext) GetParameterizedSecureViewParameters
func (x *QueryDataContext) GetParameterizedSecureViewParameters() *ParameterizedSecureViewParametersfunc (*QueryDataContext) ProtoMessage
func (*QueryDataContext) ProtoMessage()func (*QueryDataContext) ProtoReflect
func (x *QueryDataContext) ProtoReflect() protoreflect.Messagefunc (*QueryDataContext) Reset
func (x *QueryDataContext) Reset()func (*QueryDataContext) String
func (x *QueryDataContext) String() stringQueryDataRequest
type QueryDataRequest struct {
// Required. The parent resource to generate the query for.
// Format: projects/{project}/locations/{location}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The natural language query for which to generate query.
// Example: "What are the top 5 best selling products this month?"
Prompt string `protobuf:"bytes,2,opt,name=prompt,proto3" json:"prompt,omitempty"`
// Required. The context for the data query, including the data sources to
// use.
Context *QueryDataContext `protobuf:"bytes,3,opt,name=context,proto3" json:"context,omitempty"`
// Optional. Options to control query generation and execution behavior.
GenerationOptions *GenerationOptions `protobuf:"bytes,4,opt,name=generation_options,json=generationOptions,proto3" json:"generation_options,omitempty"`
// contains filtered or unexported fields
}Request to query data from a natural language query.
func (*QueryDataRequest) Descriptor
func (*QueryDataRequest) Descriptor() ([]byte, []int)Deprecated: Use QueryDataRequest.ProtoReflect.Descriptor instead.
func (*QueryDataRequest) GetContext
func (x *QueryDataRequest) GetContext() *QueryDataContextfunc (*QueryDataRequest) GetGenerationOptions
func (x *QueryDataRequest) GetGenerationOptions() *GenerationOptionsfunc (*QueryDataRequest) GetParent
func (x *QueryDataRequest) GetParent() stringfunc (*QueryDataRequest) GetPrompt
func (x *QueryDataRequest) GetPrompt() stringfunc (*QueryDataRequest) ProtoMessage
func (*QueryDataRequest) ProtoMessage()func (*QueryDataRequest) ProtoReflect
func (x *QueryDataRequest) ProtoReflect() protoreflect.Messagefunc (*QueryDataRequest) Reset
func (x *QueryDataRequest) Reset()func (*QueryDataRequest) String
func (x *QueryDataRequest) String() stringQueryDataResponse
type QueryDataResponse struct {
// Generated query for the given user prompt.
GeneratedQuery string `protobuf:"bytes,1,opt,name=generated_query,json=generatedQuery,proto3" json:"generated_query,omitempty"`
// A natural language explanation of the generated query.
// Populated if options.generate_explanation was true in the request.
IntentExplanation string `protobuf:"bytes,2,opt,name=intent_explanation,json=intentExplanation,proto3" json:"intent_explanation,omitempty"`
// The result of executing the query.
// Populated if options.generate_query_result or
// options.generate_natural_language_answer was true in the request, and
// execution was successful or attempted.
QueryResult *ExecutedQueryResult `protobuf:"bytes,3,opt,name=query_result,json=queryResult,proto3" json:"query_result,omitempty"`
// A natural language answer to the query, based on the query_result.
// Populated if options.generate_natural_language_answer was true in the
// request and query execution was successful based in the response from
// executeSql API.
NaturalLanguageAnswer string `protobuf:"bytes,4,opt,name=natural_language_answer,json=naturalLanguageAnswer,proto3" json:"natural_language_answer,omitempty"`
// If ambiguity was detected in the natural language query and
// options.generate_disambiguation_question was true, this field contains a
// question to the user for clarification. The returned represents the
// service's best effort based on the ambiguous input.
DisambiguationQuestion []string `protobuf:"bytes,5,rep,name=disambiguation_question,json=disambiguationQuestion,proto3" json:"disambiguation_question,omitempty"`
// Detailed step-by-step pipeline execution information.
// Populated only if generation_options.generate_debug_info was true.
// Provided for debugging and transparency purposes only.
// The structure and content of this object is not guaranteed and may
// change at any time without notice. Do not write production code or
// business logic depending on the fields in this object.
PipelineDebugInfo *structpb.Struct `protobuf:"bytes,9,opt,name=pipeline_debug_info,json=pipelineDebugInfo,proto3" json:"pipeline_debug_info,omitempty"`
// Overall token usage for the request.
TokenUsage *TokenUsage `protobuf:"bytes,10,opt,name=token_usage,json=tokenUsage,proto3" json:"token_usage,omitempty"`
// contains filtered or unexported fields
}Response containing the generated query and related information.
func (*QueryDataResponse) Descriptor
func (*QueryDataResponse) Descriptor() ([]byte, []int)Deprecated: Use QueryDataResponse.ProtoReflect.Descriptor instead.
func (*QueryDataResponse) GetDisambiguationQuestion
func (x *QueryDataResponse) GetDisambiguationQuestion() []stringfunc (*QueryDataResponse) GetGeneratedQuery
func (x *QueryDataResponse) GetGeneratedQuery() stringfunc (*QueryDataResponse) GetIntentExplanation
func (x *QueryDataResponse) GetIntentExplanation() stringfunc (*QueryDataResponse) GetNaturalLanguageAnswer
func (x *QueryDataResponse) GetNaturalLanguageAnswer() stringfunc (*QueryDataResponse) GetPipelineDebugInfo
func (x *QueryDataResponse) GetPipelineDebugInfo() *structpb.Structfunc (*QueryDataResponse) GetQueryResult
func (x *QueryDataResponse) GetQueryResult() *ExecutedQueryResultfunc (*QueryDataResponse) GetTokenUsage
func (x *QueryDataResponse) GetTokenUsage() *TokenUsagefunc (*QueryDataResponse) ProtoMessage
func (*QueryDataResponse) ProtoMessage()func (*QueryDataResponse) ProtoReflect
func (x *QueryDataResponse) ProtoReflect() protoreflect.Messagefunc (*QueryDataResponse) Reset
func (x *QueryDataResponse) Reset()func (*QueryDataResponse) String
func (x *QueryDataResponse) String() stringQueryParameter
type QueryParameter struct {
// Required. The name of the parameter reference in the SQL query.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. The description of the parameter that can be used by LLM to
// extract the parameter value from the user question.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// Required. The data type of the parameter, e.g. "STRING", "INT64", "DATE",
// etc. For valid values, see the [BigQuery
// documentation](https://cloud.google.com/bigquery/docs/reference/standard-sql/data-types).
// This will be used to populate
// google.cloud.bigquery.v2.QueryParameterType.type.
DataType string `protobuf:"bytes,3,opt,name=data_type,json=dataType,proto3" json:"data_type,omitempty"`
// contains filtered or unexported fields
}A query parameter message represents a parameter that can be used to parameterize a SQL query.
func (*QueryParameter) Descriptor
func (*QueryParameter) Descriptor() ([]byte, []int)Deprecated: Use QueryParameter.ProtoReflect.Descriptor instead.
func (*QueryParameter) GetDataType
func (x *QueryParameter) GetDataType() stringfunc (*QueryParameter) GetDescription
func (x *QueryParameter) GetDescription() stringfunc (*QueryParameter) GetName
func (x *QueryParameter) GetName() stringfunc (*QueryParameter) ProtoMessage
func (*QueryParameter) ProtoMessage()func (*QueryParameter) ProtoReflect
func (x *QueryParameter) ProtoReflect() protoreflect.Messagefunc (*QueryParameter) Reset
func (x *QueryParameter) Reset()func (*QueryParameter) String
func (x *QueryParameter) String() stringQueryParameterValues
type QueryParameterValues struct {
// Required. The name of the parameter.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. The value of the parameter.
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}A query parameter values message represents the values for the query parameters that were extracted from the user question by LLM, based on the example query.
func (*QueryParameterValues) Descriptor
func (*QueryParameterValues) Descriptor() ([]byte, []int)Deprecated: Use QueryParameterValues.ProtoReflect.Descriptor instead.
func (*QueryParameterValues) GetName
func (x *QueryParameterValues) GetName() stringfunc (*QueryParameterValues) GetValue
func (x *QueryParameterValues) GetValue() stringfunc (*QueryParameterValues) ProtoMessage
func (*QueryParameterValues) ProtoMessage()func (*QueryParameterValues) ProtoReflect
func (x *QueryParameterValues) ProtoReflect() protoreflect.Messagefunc (*QueryParameterValues) Reset
func (x *QueryParameterValues) Reset()func (*QueryParameterValues) String
func (x *QueryParameterValues) String() stringRetrieveAgentOpsObservabilityRequest
type RetrieveAgentOpsObservabilityRequest struct {
// Required. Parent value for RetrieveAgentOpsObservabilityRequest.
// Format: projects/{project}/locations/{location}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The data source type for which to retrieve observability
// settings. Examples: "bigquery", "looker"
DataSourceType string `protobuf:"bytes,2,opt,name=data_source_type,json=dataSourceType,proto3" json:"data_source_type,omitempty"`
// contains filtered or unexported fields
}Request for RetrieveAgentOpsObservability.
func (*RetrieveAgentOpsObservabilityRequest) Descriptor
func (*RetrieveAgentOpsObservabilityRequest) Descriptor() ([]byte, []int)Deprecated: Use RetrieveAgentOpsObservabilityRequest.ProtoReflect.Descriptor instead.
func (*RetrieveAgentOpsObservabilityRequest) GetDataSourceType
func (x *RetrieveAgentOpsObservabilityRequest) GetDataSourceType() stringfunc (*RetrieveAgentOpsObservabilityRequest) GetParent
func (x *RetrieveAgentOpsObservabilityRequest) GetParent() stringfunc (*RetrieveAgentOpsObservabilityRequest) ProtoMessage
func (*RetrieveAgentOpsObservabilityRequest) ProtoMessage()func (*RetrieveAgentOpsObservabilityRequest) ProtoReflect
func (x *RetrieveAgentOpsObservabilityRequest) ProtoReflect() protoreflect.Messagefunc (*RetrieveAgentOpsObservabilityRequest) Reset
func (x *RetrieveAgentOpsObservabilityRequest) Reset()func (*RetrieveAgentOpsObservabilityRequest) String
func (x *RetrieveAgentOpsObservabilityRequest) String() stringRetrieveAgentOpsObservabilityResponse
type RetrieveAgentOpsObservabilityResponse struct {
// Output only. Whether AgentOps observability telemetry is enabled.
TelemetryEnabled bool `protobuf:"varint,1,opt,name=telemetry_enabled,json=telemetryEnabled,proto3" json:"telemetry_enabled,omitempty"`
// Output only. Whether BigQuery API is enabled.
BigqueryEnabled bool `protobuf:"varint,3,opt,name=bigquery_enabled,json=bigqueryEnabled,proto3" json:"bigquery_enabled,omitempty"`
// Output only. Whether Cloud Trace API is enabled.
CloudTraceEnabled bool `protobuf:"varint,4,opt,name=cloud_trace_enabled,json=cloudTraceEnabled,proto3" json:"cloud_trace_enabled,omitempty"`
// Output only. Whether Cloud Monitoring API is enabled.
CloudMonitoringEnabled bool `protobuf:"varint,5,opt,name=cloud_monitoring_enabled,json=cloudMonitoringEnabled,proto3" json:"cloud_monitoring_enabled,omitempty"`
// Output only. Whether Cloud Logging API is enabled.
CloudLoggingEnabled bool `protobuf:"varint,6,opt,name=cloud_logging_enabled,json=cloudLoggingEnabled,proto3" json:"cloud_logging_enabled,omitempty"`
// Output only. Whether BigQuery Agent Analytics is enabled.
BqaaEnabled bool `protobuf:"varint,7,opt,name=bqaa_enabled,json=bqaaEnabled,proto3" json:"bqaa_enabled,omitempty"`
// contains filtered or unexported fields
}Response for RetrieveAgentOpsObservability.
func (*RetrieveAgentOpsObservabilityResponse) Descriptor
func (*RetrieveAgentOpsObservabilityResponse) Descriptor() ([]byte, []int)Deprecated: Use RetrieveAgentOpsObservabilityResponse.ProtoReflect.Descriptor instead.
func (*RetrieveAgentOpsObservabilityResponse) GetBigqueryEnabled
func (x *RetrieveAgentOpsObservabilityResponse) GetBigqueryEnabled() boolfunc (*RetrieveAgentOpsObservabilityResponse) GetBqaaEnabled
func (x *RetrieveAgentOpsObservabilityResponse) GetBqaaEnabled() boolfunc (*RetrieveAgentOpsObservabilityResponse) GetCloudLoggingEnabled
func (x *RetrieveAgentOpsObservabilityResponse) GetCloudLoggingEnabled() boolfunc (*RetrieveAgentOpsObservabilityResponse) GetCloudMonitoringEnabled
func (x *RetrieveAgentOpsObservabilityResponse) GetCloudMonitoringEnabled() boolfunc (*RetrieveAgentOpsObservabilityResponse) GetCloudTraceEnabled
func (x *RetrieveAgentOpsObservabilityResponse) GetCloudTraceEnabled() boolfunc (*RetrieveAgentOpsObservabilityResponse) GetTelemetryEnabled
func (x *RetrieveAgentOpsObservabilityResponse) GetTelemetryEnabled() boolfunc (*RetrieveAgentOpsObservabilityResponse) ProtoMessage
func (*RetrieveAgentOpsObservabilityResponse) ProtoMessage()func (*RetrieveAgentOpsObservabilityResponse) ProtoReflect
func (x *RetrieveAgentOpsObservabilityResponse) ProtoReflect() protoreflect.Messagefunc (*RetrieveAgentOpsObservabilityResponse) Reset
func (x *RetrieveAgentOpsObservabilityResponse) Reset()func (*RetrieveAgentOpsObservabilityResponse) String
func (x *RetrieveAgentOpsObservabilityResponse) String() stringRole
type Role int32Role indicates the sender of a message.
Role_ROLE_UNSPECIFIED, Role_ROLE_USER, Role_ROLE_AGENT
const (
// Default unspecified role.
Role_ROLE_UNSPECIFIED Role = 0
// USER role refers to communication from the client to the server.
Role_ROLE_USER Role = 1
// AGENT role refers to communication from the server to the client.
Role_ROLE_AGENT Role = 2
)func (Role) Descriptor
func (Role) Descriptor() protoreflect.EnumDescriptorfunc (Role) Enum
func (Role) EnumDescriptor
Deprecated: Use Role.Descriptor instead.
func (Role) Number
func (x Role) Number() protoreflect.EnumNumberfunc (Role) String
func (Role) Type
func (Role) Type() protoreflect.EnumTypeSchema
type Schema struct {
// Optional. The fields in the schema.
Fields []*Field `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
// Optional. A textual description of the table's content and purpose.
// For example: "Contains information about customer orders in our e-commerce
// store." Currently only used for BigQuery data sources.
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
// Optional. A list of alternative names or synonyms that can be used to refer
// to the table. For example: ["sales", "orders", "purchases"]. Currently only
// used for BigQuery data sources.
Synonyms []string `protobuf:"bytes,3,rep,name=synonyms,proto3" json:"synonyms,omitempty"`
// Optional. A list of tags or keywords associated with the table, used for
// categorization. For example: ["transaction", "revenue", "customer_data"].
// Currently only used for BigQuery data sources.
Tags []string `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"`
// Optional. Table display_name (same as label in
// cloud/data_analytics/anarres/data/looker/proto/model_explore.proto), not
// required, currently only Looker has this field.
DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// Optional. The filters on the datasource's underlying data. Currently only
// used for Looker data sources.
Filters []*DataFilter `protobuf:"bytes,6,rep,name=filters,proto3" json:"filters,omitempty"`
// contains filtered or unexported fields
}The schema of a Datasource or QueryResult instance.
func (*Schema) Descriptor
Deprecated: Use Schema.ProtoReflect.Descriptor instead.
func (*Schema) GetDescription
func (*Schema) GetDisplayName
func (*Schema) GetFields
func (*Schema) GetFilters
func (x *Schema) GetFilters() []*DataFilterfunc (*Schema) GetSynonyms
func (*Schema) GetTags
func (*Schema) ProtoMessage
func (*Schema) ProtoMessage()func (*Schema) ProtoReflect
func (x *Schema) ProtoReflect() protoreflect.Messagefunc (*Schema) Reset
func (x *Schema) Reset()func (*Schema) String
SchemaMessage
type SchemaMessage struct {
// Whether this message contains the query or the result of the schema
// resolution.
//
// Types that are valid to be assigned to Kind:
//
// *SchemaMessage_Query
// *SchemaMessage_Result
Kind isSchemaMessage_Kind `protobuf_oneof:"kind"`
// contains filtered or unexported fields
}A message produced during schema resolution.
func (*SchemaMessage) Descriptor
func (*SchemaMessage) Descriptor() ([]byte, []int)Deprecated: Use SchemaMessage.ProtoReflect.Descriptor instead.
func (*SchemaMessage) GetKind
func (x *SchemaMessage) GetKind() isSchemaMessage_Kindfunc (*SchemaMessage) GetQuery
func (x *SchemaMessage) GetQuery() *SchemaQueryfunc (*SchemaMessage) GetResult
func (x *SchemaMessage) GetResult() *SchemaResultfunc (*SchemaMessage) ProtoMessage
func (*SchemaMessage) ProtoMessage()func (*SchemaMessage) ProtoReflect
func (x *SchemaMessage) ProtoReflect() protoreflect.Messagefunc (*SchemaMessage) Reset
func (x *SchemaMessage) Reset()func (*SchemaMessage) String
func (x *SchemaMessage) String() stringSchemaMessage_Query
type SchemaMessage_Query struct {
// A schema resolution query.
Query *SchemaQuery `protobuf:"bytes,1,opt,name=query,proto3,oneof"`
}SchemaMessage_Result
type SchemaMessage_Result struct {
// The result of a schema resolution query.
Result *SchemaResult `protobuf:"bytes,2,opt,name=result,proto3,oneof"`
}SchemaQuery
type SchemaQuery struct {
// Optional. The question to send to the system for schema resolution.
Question string `protobuf:"bytes,1,opt,name=question,proto3" json:"question,omitempty"`
// contains filtered or unexported fields
}A query for resolving the schema relevant to the posed question.
func (*SchemaQuery) Descriptor
func (*SchemaQuery) Descriptor() ([]byte, []int)Deprecated: Use SchemaQuery.ProtoReflect.Descriptor instead.
func (*SchemaQuery) GetQuestion
func (x *SchemaQuery) GetQuestion() stringfunc (*SchemaQuery) ProtoMessage
func (*SchemaQuery) ProtoMessage()func (*SchemaQuery) ProtoReflect
func (x *SchemaQuery) ProtoReflect() protoreflect.Messagefunc (*SchemaQuery) Reset
func (x *SchemaQuery) Reset()func (*SchemaQuery) String
func (x *SchemaQuery) String() stringSchemaResult
type SchemaResult struct {
// Optional. The datasources used to resolve the schema query.
Datasources []*Datasource `protobuf:"bytes,1,rep,name=datasources,proto3" json:"datasources,omitempty"`
// contains filtered or unexported fields
}The result of schema resolution.
func (*SchemaResult) Descriptor
func (*SchemaResult) Descriptor() ([]byte, []int)Deprecated: Use SchemaResult.ProtoReflect.Descriptor instead.
func (*SchemaResult) GetDatasources
func (x *SchemaResult) GetDatasources() []*Datasourcefunc (*SchemaResult) ProtoMessage
func (*SchemaResult) ProtoMessage()func (*SchemaResult) ProtoReflect
func (x *SchemaResult) ProtoReflect() protoreflect.Messagefunc (*SchemaResult) Reset
func (x *SchemaResult) Reset()func (*SchemaResult) String
func (x *SchemaResult) String() stringSecurity
type Security struct {
// Map of scheme names to lists of scopes or configurations.
Schemes map[string]*StringList `protobuf:"bytes,1,rep,name=schemes,proto3" json:"schemes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
// contains filtered or unexported fields
}Security requirements for contacting the agent.
func (*Security) Descriptor
Deprecated: Use Security.ProtoReflect.Descriptor instead.
func (*Security) GetSchemes
func (x *Security) GetSchemes() map[string]*StringListfunc (*Security) ProtoMessage
func (*Security) ProtoMessage()func (*Security) ProtoReflect
func (x *Security) ProtoReflect() protoreflect.Messagefunc (*Security) Reset
func (x *Security) Reset()func (*Security) String
SecurityScheme
type SecurityScheme struct {
// The security scheme definition.
//
// Types that are valid to be assigned to Scheme:
//
// *SecurityScheme_ApiKeySecurityScheme
// *SecurityScheme_HttpAuthSecurityScheme
// *SecurityScheme_Oauth2SecurityScheme
// *SecurityScheme_OpenIdConnectSecurityScheme
// *SecurityScheme_MtlsSecurityScheme
Scheme isSecurityScheme_Scheme `protobuf_oneof:"scheme"`
// contains filtered or unexported fields
}SecurityScheme defines a security scheme for contacting the agent.
func (*SecurityScheme) Descriptor
func (*SecurityScheme) Descriptor() ([]byte, []int)Deprecated: Use SecurityScheme.ProtoReflect.Descriptor instead.
func (*SecurityScheme) GetApiKeySecurityScheme
func (x *SecurityScheme) GetApiKeySecurityScheme() *APIKeySecuritySchemefunc (*SecurityScheme) GetHttpAuthSecurityScheme
func (x *SecurityScheme) GetHttpAuthSecurityScheme() *HTTPAuthSecuritySchemefunc (*SecurityScheme) GetMtlsSecurityScheme
func (x *SecurityScheme) GetMtlsSecurityScheme() *MutualTlsSecuritySchemefunc (*SecurityScheme) GetOauth2SecurityScheme
func (x *SecurityScheme) GetOauth2SecurityScheme() *OAuth2SecuritySchemefunc (*SecurityScheme) GetOpenIdConnectSecurityScheme
func (x *SecurityScheme) GetOpenIdConnectSecurityScheme() *OpenIdConnectSecuritySchemefunc (*SecurityScheme) GetScheme
func (x *SecurityScheme) GetScheme() isSecurityScheme_Schemefunc (*SecurityScheme) ProtoMessage
func (*SecurityScheme) ProtoMessage()func (*SecurityScheme) ProtoReflect
func (x *SecurityScheme) ProtoReflect() protoreflect.Messagefunc (*SecurityScheme) Reset
func (x *SecurityScheme) Reset()func (*SecurityScheme) String
func (x *SecurityScheme) String() stringSecurityScheme_ApiKeySecurityScheme
type SecurityScheme_ApiKeySecurityScheme struct {
// API key security scheme.
ApiKeySecurityScheme *APIKeySecurityScheme `protobuf:"bytes,1,opt,name=api_key_security_scheme,json=apiKeySecurityScheme,proto3,oneof"`
}SecurityScheme_HttpAuthSecurityScheme
type SecurityScheme_HttpAuthSecurityScheme struct {
// HTTP authentication security scheme.
HttpAuthSecurityScheme *HTTPAuthSecurityScheme `protobuf:"bytes,2,opt,name=http_auth_security_scheme,json=httpAuthSecurityScheme,proto3,oneof"`
}SecurityScheme_MtlsSecurityScheme
type SecurityScheme_MtlsSecurityScheme struct {
// Mutual TLS security scheme.
MtlsSecurityScheme *MutualTlsSecurityScheme `protobuf:"bytes,5,opt,name=mtls_security_scheme,json=mtlsSecurityScheme,proto3,oneof"`
}SecurityScheme_Oauth2SecurityScheme
type SecurityScheme_Oauth2SecurityScheme struct {
// OAuth2 security scheme.
Oauth2SecurityScheme *OAuth2SecurityScheme `protobuf:"bytes,3,opt,name=oauth2_security_scheme,json=oauth2SecurityScheme,proto3,oneof"`
}SecurityScheme_OpenIdConnectSecurityScheme
type SecurityScheme_OpenIdConnectSecurityScheme struct {
// OpenID Connect security scheme.
OpenIdConnectSecurityScheme *OpenIdConnectSecurityScheme `protobuf:"bytes,4,opt,name=open_id_connect_security_scheme,json=openIdConnectSecurityScheme,proto3,oneof"`
}SendMessageConfiguration
type SendMessageConfiguration struct {
// Optional. The output modes that the agent is expected to respond with.
AcceptedOutputModes []string `protobuf:"bytes,1,rep,name=accepted_output_modes,json=acceptedOutputModes,proto3" json:"accepted_output_modes,omitempty"`
// Optional. A configuration of a webhook that can be used to receive updates.
PushNotification *PushNotificationConfig `protobuf:"bytes,2,opt,name=push_notification,json=pushNotification,proto3" json:"push_notification,omitempty"`
// Optional. The maximum number of messages to include in the history. If 0,
// the history will be unlimited.
HistoryLength int32 `protobuf:"varint,3,opt,name=history_length,json=historyLength,proto3" json:"history_length,omitempty"`
// Optional. If true, the message will be blocking until the task is
// completed. If false, the task will be returned immediately.
Blocking bool `protobuf:"varint,4,opt,name=blocking,proto3" json:"blocking,omitempty"`
// contains filtered or unexported fields
}Configuration of a send message request.
func (*SendMessageConfiguration) Descriptor
func (*SendMessageConfiguration) Descriptor() ([]byte, []int)Deprecated: Use SendMessageConfiguration.ProtoReflect.Descriptor instead.
func (*SendMessageConfiguration) GetAcceptedOutputModes
func (x *SendMessageConfiguration) GetAcceptedOutputModes() []stringfunc (*SendMessageConfiguration) GetBlocking
func (x *SendMessageConfiguration) GetBlocking() boolfunc (*SendMessageConfiguration) GetHistoryLength
func (x *SendMessageConfiguration) GetHistoryLength() int32func (*SendMessageConfiguration) GetPushNotification
func (x *SendMessageConfiguration) GetPushNotification() *PushNotificationConfigfunc (*SendMessageConfiguration) ProtoMessage
func (*SendMessageConfiguration) ProtoMessage()func (*SendMessageConfiguration) ProtoReflect
func (x *SendMessageConfiguration) ProtoReflect() protoreflect.Messagefunc (*SendMessageConfiguration) Reset
func (x *SendMessageConfiguration) Reset()func (*SendMessageConfiguration) String
func (x *SendMessageConfiguration) String() stringSendMessageRequest
type SendMessageRequest struct {
// Required. The message to send to the agent.
Message *A2AMessage `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// Optional. Configuration for the send request.
Configuration *SendMessageConfiguration `protobuf:"bytes,2,opt,name=configuration,proto3" json:"configuration,omitempty"`
// Optional. Optional metadata for the request.
Metadata *structpb.Struct `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
// Optional. Optional tenant, provided as a path parameter.
Tenant string `protobuf:"bytes,4,opt,name=tenant,proto3" json:"tenant,omitempty"`
// contains filtered or unexported fields
}Request message for SendMessage and SendStreamingMessage.
func (*SendMessageRequest) Descriptor
func (*SendMessageRequest) Descriptor() ([]byte, []int)Deprecated: Use SendMessageRequest.ProtoReflect.Descriptor instead.
func (*SendMessageRequest) GetConfiguration
func (x *SendMessageRequest) GetConfiguration() *SendMessageConfigurationfunc (*SendMessageRequest) GetMessage
func (x *SendMessageRequest) GetMessage() *A2AMessagefunc (*SendMessageRequest) GetMetadata
func (x *SendMessageRequest) GetMetadata() *structpb.Structfunc (*SendMessageRequest) GetTenant
func (x *SendMessageRequest) GetTenant() stringfunc (*SendMessageRequest) ProtoMessage
func (*SendMessageRequest) ProtoMessage()func (*SendMessageRequest) ProtoReflect
func (x *SendMessageRequest) ProtoReflect() protoreflect.Messagefunc (*SendMessageRequest) Reset
func (x *SendMessageRequest) Reset()func (*SendMessageRequest) String
func (x *SendMessageRequest) String() stringSendMessageResponse
type SendMessageResponse struct {
// The response payload.
//
// Types that are valid to be assigned to Payload:
//
// *SendMessageResponse_Task
// *SendMessageResponse_Msg
Payload isSendMessageResponse_Payload `protobuf_oneof:"payload"`
// contains filtered or unexported fields
}Response message for SendMessage.
func (*SendMessageResponse) Descriptor
func (*SendMessageResponse) Descriptor() ([]byte, []int)Deprecated: Use SendMessageResponse.ProtoReflect.Descriptor instead.
func (*SendMessageResponse) GetMsg
func (x *SendMessageResponse) GetMsg() *A2AMessagefunc (*SendMessageResponse) GetPayload
func (x *SendMessageResponse) GetPayload() isSendMessageResponse_Payloadfunc (*SendMessageResponse) GetTask
func (x *SendMessageResponse) GetTask() *A2ATaskfunc (*SendMessageResponse) ProtoMessage
func (*SendMessageResponse) ProtoMessage()func (*SendMessageResponse) ProtoReflect
func (x *SendMessageResponse) ProtoReflect() protoreflect.Messagefunc (*SendMessageResponse) Reset
func (x *SendMessageResponse) Reset()func (*SendMessageResponse) String
func (x *SendMessageResponse) String() stringSendMessageResponse_Msg
type SendMessageResponse_Msg struct {
// Single message response.
Msg *A2AMessage `protobuf:"bytes,2,opt,name=msg,json=message,proto3,oneof"`
}SendMessageResponse_Task
type SendMessageResponse_Task struct {
// Completed task.
Task *A2ATask `protobuf:"bytes,1,opt,name=task,proto3,oneof"`
}SetAgentOpsObservabilityMetadata
type SetAgentOpsObservabilityMetadata struct {
// contains filtered or unexported fields
}Metadata for SetAgentOpsObservability.
func (*SetAgentOpsObservabilityMetadata) Descriptor
func (*SetAgentOpsObservabilityMetadata) Descriptor() ([]byte, []int)Deprecated: Use SetAgentOpsObservabilityMetadata.ProtoReflect.Descriptor instead.
func (*SetAgentOpsObservabilityMetadata) ProtoMessage
func (*SetAgentOpsObservabilityMetadata) ProtoMessage()func (*SetAgentOpsObservabilityMetadata) ProtoReflect
func (x *SetAgentOpsObservabilityMetadata) ProtoReflect() protoreflect.Messagefunc (*SetAgentOpsObservabilityMetadata) Reset
func (x *SetAgentOpsObservabilityMetadata) Reset()func (*SetAgentOpsObservabilityMetadata) String
func (x *SetAgentOpsObservabilityMetadata) String() stringSetAgentOpsObservabilityRequest
type SetAgentOpsObservabilityRequest struct {
// Required. Parent value for SetAgentOpsObservabilityRequest.
// Format: projects/{project}/locations/{location}
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. Whether to enable or disable AgentOps observability.
// When update_mask is provided, this field is ignored unless specified in the
// mask.
TelemetryEnabled bool `protobuf:"varint,2,opt,name=telemetry_enabled,json=telemetryEnabled,proto3" json:"telemetry_enabled,omitempty"`
// Required. The data source type for which to set observability settings.
// Examples: "bigquery", "looker"
DataSourceType string `protobuf:"bytes,3,opt,name=data_source_type,json=dataSourceType,proto3" json:"data_source_type,omitempty"`
// Optional. Whether BigQuery Agent Analytics is enabled.
// Note: An explicit `update_mask` containing "bqaa_enabled" is required to
// modify this field. If `update_mask` is omitted, this field is ignored and
// an existing enabled setting cannot be disabled.
//
// This is a project-level setting and does not by itself enable trace
// logging for any individual agent. Per-agent trace logging is controlled
// by `DataAgent.bigquery_agent_analytics_enabled` together with
// `DataAgent.bigquery_agent_analytics_table`; an agent does not inherit
// this setting.
BqaaEnabled bool `protobuf:"varint,4,opt,name=bqaa_enabled,json=bqaaEnabled,proto3" json:"bqaa_enabled,omitempty"`
// Optional. Field mask is used to specify the fields to be overwritten by the
// update. The fields specified in the update_mask are relative to the
// resource. A field will be overwritten if it is in the mask.
//
// If the user does not provide a mask, only `telemetry_enabled` will be
// updated (for backward compatibility with legacy callers). Note that
// disabling BigQuery Agent Analytics (`bqaa_enabled = false`) requires
// providing an explicit `update_mask` containing "bqaa_enabled".
//
// Per AIP-161:
// - The special wildcard value '*' is supported to update all fields.
// - Field paths should use snake_case, though camelCase equivalents
// (`telemetryEnabled`, `bqaaEnabled`) are accepted for REST/JSON
// transcoding compatibility.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// contains filtered or unexported fields
}Request for SetAgentOpsObservability.
func (*SetAgentOpsObservabilityRequest) Descriptor
func (*SetAgentOpsObservabilityRequest) Descriptor() ([]byte, []int)Deprecated: Use SetAgentOpsObservabilityRequest.ProtoReflect.Descriptor instead.
func (*SetAgentOpsObservabilityRequest) GetBqaaEnabled
func (x *SetAgentOpsObservabilityRequest) GetBqaaEnabled() boolfunc (*SetAgentOpsObservabilityRequest) GetDataSourceType
func (x *SetAgentOpsObservabilityRequest) GetDataSourceType() stringfunc (*SetAgentOpsObservabilityRequest) GetParent
func (x *SetAgentOpsObservabilityRequest) GetParent() stringfunc (*SetAgentOpsObservabilityRequest) GetTelemetryEnabled
func (x *SetAgentOpsObservabilityRequest) GetTelemetryEnabled() boolfunc (*SetAgentOpsObservabilityRequest) GetUpdateMask
func (x *SetAgentOpsObservabilityRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*SetAgentOpsObservabilityRequest) ProtoMessage
func (*SetAgentOpsObservabilityRequest) ProtoMessage()func (*SetAgentOpsObservabilityRequest) ProtoReflect
func (x *SetAgentOpsObservabilityRequest) ProtoReflect() protoreflect.Messagefunc (*SetAgentOpsObservabilityRequest) Reset
func (x *SetAgentOpsObservabilityRequest) Reset()func (*SetAgentOpsObservabilityRequest) String
func (x *SetAgentOpsObservabilityRequest) String() stringSetAgentOpsObservabilityResponse
type SetAgentOpsObservabilityResponse struct {
// contains filtered or unexported fields
}Response for SetAgentOpsObservability.
func (*SetAgentOpsObservabilityResponse) Descriptor
func (*SetAgentOpsObservabilityResponse) Descriptor() ([]byte, []int)Deprecated: Use SetAgentOpsObservabilityResponse.ProtoReflect.Descriptor instead.
func (*SetAgentOpsObservabilityResponse) ProtoMessage
func (*SetAgentOpsObservabilityResponse) ProtoMessage()func (*SetAgentOpsObservabilityResponse) ProtoReflect
func (x *SetAgentOpsObservabilityResponse) ProtoReflect() protoreflect.Messagefunc (*SetAgentOpsObservabilityResponse) Reset
func (x *SetAgentOpsObservabilityResponse) Reset()func (*SetAgentOpsObservabilityResponse) String
func (x *SetAgentOpsObservabilityResponse) String() stringSpannerDatabaseReference
type SpannerDatabaseReference struct {
// Required. The engine of the Spanner instance.
Engine SpannerDatabaseReference_Engine `protobuf:"varint,6,opt,name=engine,proto3,enum=google.cloud.geminidataanalytics.v1beta.SpannerDatabaseReference_Engine" json:"engine,omitempty"`
// Required. The project the instance belongs to.
ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
// Required. The instance id.
InstanceId string `protobuf:"bytes,3,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
// Required. The database id.
DatabaseId string `protobuf:"bytes,4,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
// Optional. The table ids. Denotes all tables if unset.
TableIds []string `protobuf:"bytes,5,rep,name=table_ids,json=tableIds,proto3" json:"table_ids,omitempty"`
// Optional. References to tables within the database. Each reference
// specifies a table and can optionally include the table's schema to provide
// context for the query.
DatabaseTableReferences []*DatabaseTableReference `protobuf:"bytes,7,rep,name=database_table_references,json=databaseTableReferences,proto3" json:"database_table_references,omitempty"`
// Optional. Priority for the queries to Spanner. Should be a value supported
// by Cloud Spanner e.g.: LOW, MEDIUM, HIGH. Unsupported values will be
// ignored. See
// https://docs.cloud.google.com/spanner/docs/reference/rest/v1/RequestOptions#Priority
// for complete list.
Priority string `protobuf:"bytes,8,opt,name=priority,proto3" json:"priority,omitempty"`
// Tag to be attached to all queries to Spanner. Allows to identify and
// monitor queries sent to Spanner by the GDA service.
RequestTag string `protobuf:"bytes,9,opt,name=request_tag,json=requestTag,proto3" json:"request_tag,omitempty"`
// contains filtered or unexported fields
}Message representing a reference to a single Spanner database.
func (*SpannerDatabaseReference) Descriptor
func (*SpannerDatabaseReference) Descriptor() ([]byte, []int)Deprecated: Use SpannerDatabaseReference.ProtoReflect.Descriptor instead.
func (*SpannerDatabaseReference) GetDatabaseId
func (x *SpannerDatabaseReference) GetDatabaseId() stringfunc (*SpannerDatabaseReference) GetDatabaseTableReferences
func (x *SpannerDatabaseReference) GetDatabaseTableReferences() []*DatabaseTableReferencefunc (*SpannerDatabaseReference) GetEngine
func (x *SpannerDatabaseReference) GetEngine() SpannerDatabaseReference_Enginefunc (*SpannerDatabaseReference) GetInstanceId
func (x *SpannerDatabaseReference) GetInstanceId() stringfunc (*SpannerDatabaseReference) GetPriority
func (x *SpannerDatabaseReference) GetPriority() stringfunc (*SpannerDatabaseReference) GetProjectId
func (x *SpannerDatabaseReference) GetProjectId() stringfunc (*SpannerDatabaseReference) GetRequestTag
func (x *SpannerDatabaseReference) GetRequestTag() stringfunc (*SpannerDatabaseReference) GetTableIds
func (x *SpannerDatabaseReference) GetTableIds() []stringfunc (*SpannerDatabaseReference) ProtoMessage
func (*SpannerDatabaseReference) ProtoMessage()func (*SpannerDatabaseReference) ProtoReflect
func (x *SpannerDatabaseReference) ProtoReflect() protoreflect.Messagefunc (*SpannerDatabaseReference) Reset
func (x *SpannerDatabaseReference) Reset()func (*SpannerDatabaseReference) String
func (x *SpannerDatabaseReference) String() stringSpannerDatabaseReference_Engine
type SpannerDatabaseReference_Engine int32The database engine.
SpannerDatabaseReference_ENGINE_UNSPECIFIED, SpannerDatabaseReference_GOOGLE_SQL, SpannerDatabaseReference_POSTGRESQL
const (
// Engine is not specified.
SpannerDatabaseReference_ENGINE_UNSPECIFIED SpannerDatabaseReference_Engine = 0
// Google SQL
SpannerDatabaseReference_GOOGLE_SQL SpannerDatabaseReference_Engine = 1
// PostgreSQL
SpannerDatabaseReference_POSTGRESQL SpannerDatabaseReference_Engine = 2
)func (SpannerDatabaseReference_Engine) Descriptor
func (SpannerDatabaseReference_Engine) Descriptor() protoreflect.EnumDescriptorfunc (SpannerDatabaseReference_Engine) Enum
func (x SpannerDatabaseReference_Engine) Enum() *SpannerDatabaseReference_Enginefunc (SpannerDatabaseReference_Engine) EnumDescriptor
func (SpannerDatabaseReference_Engine) EnumDescriptor() ([]byte, []int)Deprecated: Use SpannerDatabaseReference_Engine.Descriptor instead.
func (SpannerDatabaseReference_Engine) Number
func (x SpannerDatabaseReference_Engine) Number() protoreflect.EnumNumberfunc (SpannerDatabaseReference_Engine) String
func (x SpannerDatabaseReference_Engine) String() stringfunc (SpannerDatabaseReference_Engine) Type
func (SpannerDatabaseReference_Engine) Type() protoreflect.EnumTypeSpannerReference
type SpannerReference struct {
// Required. Singular proto that supports specifying which database and tables
// to include.
DatabaseReference *SpannerDatabaseReference `protobuf:"bytes,1,opt,name=database_reference,json=databaseReference,proto3" json:"database_reference,omitempty"`
// Optional. Parameters for retrieving data from Agent Context.
AgentContextReference *AgentContextReference `protobuf:"bytes,2,opt,name=agent_context_reference,json=agentContextReference,proto3" json:"agent_context_reference,omitempty"`
// contains filtered or unexported fields
}Message representing reference to a Spanner database and agent context.
Only supported for the QueryData method.
func (*SpannerReference) Descriptor
func (*SpannerReference) Descriptor() ([]byte, []int)Deprecated: Use SpannerReference.ProtoReflect.Descriptor instead.
func (*SpannerReference) GetAgentContextReference
func (x *SpannerReference) GetAgentContextReference() *AgentContextReferencefunc (*SpannerReference) GetDatabaseReference
func (x *SpannerReference) GetDatabaseReference() *SpannerDatabaseReferencefunc (*SpannerReference) ProtoMessage
func (*SpannerReference) ProtoMessage()func (*SpannerReference) ProtoReflect
func (x *SpannerReference) ProtoReflect() protoreflect.Messagefunc (*SpannerReference) Reset
func (x *SpannerReference) Reset()func (*SpannerReference) String
func (x *SpannerReference) String() stringStorageMessage
type StorageMessage struct {
// The unique resource name of a chat message.
MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"`
// The message content.
Message *Message `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}A stored message containing user message or system message.
func (*StorageMessage) Descriptor
func (*StorageMessage) Descriptor() ([]byte, []int)Deprecated: Use StorageMessage.ProtoReflect.Descriptor instead.
func (*StorageMessage) GetMessage
func (x *StorageMessage) GetMessage() *Messagefunc (*StorageMessage) GetMessageId
func (x *StorageMessage) GetMessageId() stringfunc (*StorageMessage) ProtoMessage
func (*StorageMessage) ProtoMessage()func (*StorageMessage) ProtoReflect
func (x *StorageMessage) ProtoReflect() protoreflect.Messagefunc (*StorageMessage) Reset
func (x *StorageMessage) Reset()func (*StorageMessage) String
func (x *StorageMessage) String() stringStreamResponse
type StreamResponse struct {
// The stream response payload.
//
// Types that are valid to be assigned to Payload:
//
// *StreamResponse_Task
// *StreamResponse_Msg
// *StreamResponse_StatusUpdate
// *StreamResponse_ArtifactUpdate
Payload isStreamResponse_Payload `protobuf_oneof:"payload"`
// contains filtered or unexported fields
}The stream response for a message.
func (*StreamResponse) Descriptor
func (*StreamResponse) Descriptor() ([]byte, []int)Deprecated: Use StreamResponse.ProtoReflect.Descriptor instead.
func (*StreamResponse) GetArtifactUpdate
func (x *StreamResponse) GetArtifactUpdate() *TaskArtifactUpdateEventfunc (*StreamResponse) GetMsg
func (x *StreamResponse) GetMsg() *A2AMessagefunc (*StreamResponse) GetPayload
func (x *StreamResponse) GetPayload() isStreamResponse_Payloadfunc (*StreamResponse) GetStatusUpdate
func (x *StreamResponse) GetStatusUpdate() *TaskStatusUpdateEventfunc (*StreamResponse) GetTask
func (x *StreamResponse) GetTask() *A2ATaskfunc (*StreamResponse) ProtoMessage
func (*StreamResponse) ProtoMessage()func (*StreamResponse) ProtoReflect
func (x *StreamResponse) ProtoReflect() protoreflect.Messagefunc (*StreamResponse) Reset
func (x *StreamResponse) Reset()func (*StreamResponse) String
func (x *StreamResponse) String() stringStreamResponse_ArtifactUpdate
type StreamResponse_ArtifactUpdate struct {
// Task artifact update event.
ArtifactUpdate *TaskArtifactUpdateEvent `protobuf:"bytes,4,opt,name=artifact_update,json=artifactUpdate,proto3,oneof"`
}StreamResponse_Msg
type StreamResponse_Msg struct {
// Message event.
Msg *A2AMessage `protobuf:"bytes,2,opt,name=msg,json=message,proto3,oneof"`
}StreamResponse_StatusUpdate
type StreamResponse_StatusUpdate struct {
// Task status update event.
StatusUpdate *TaskStatusUpdateEvent `protobuf:"bytes,3,opt,name=status_update,json=statusUpdate,proto3,oneof"`
}StreamResponse_Task
type StreamResponse_Task struct {
// Completed task event.
Task *A2ATask `protobuf:"bytes,1,opt,name=task,proto3,oneof"`
}StringList
type StringList struct {
// The list of strings.
List []string `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
// contains filtered or unexported fields
}StringList is a wrapper for a repeated list of strings.
func (*StringList) Descriptor
func (*StringList) Descriptor() ([]byte, []int)Deprecated: Use StringList.ProtoReflect.Descriptor instead.
func (*StringList) GetList
func (x *StringList) GetList() []stringfunc (*StringList) ProtoMessage
func (*StringList) ProtoMessage()func (*StringList) ProtoReflect
func (x *StringList) ProtoReflect() protoreflect.Messagefunc (*StringList) Reset
func (x *StringList) Reset()func (*StringList) String
func (x *StringList) String() stringStudioDatasourceReference
type StudioDatasourceReference struct {
// Required. The id of the datasource.
DatasourceId string `protobuf:"bytes,1,opt,name=datasource_id,json=datasourceId,proto3" json:"datasource_id,omitempty"`
// contains filtered or unexported fields
}Message representing a reference to a single Looker Studio datasource.
func (*StudioDatasourceReference) Descriptor
func (*StudioDatasourceReference) Descriptor() ([]byte, []int)Deprecated: Use StudioDatasourceReference.ProtoReflect.Descriptor instead.
func (*StudioDatasourceReference) GetDatasourceId
func (x *StudioDatasourceReference) GetDatasourceId() stringfunc (*StudioDatasourceReference) ProtoMessage
func (*StudioDatasourceReference) ProtoMessage()func (*StudioDatasourceReference) ProtoReflect
func (x *StudioDatasourceReference) ProtoReflect() protoreflect.Messagefunc (*StudioDatasourceReference) Reset
func (x *StudioDatasourceReference) Reset()func (*StudioDatasourceReference) String
func (x *StudioDatasourceReference) String() stringStudioDatasourceReferences
type StudioDatasourceReferences struct {
// Optional. The references to the studio datasources.
StudioReferences []*StudioDatasourceReference `protobuf:"bytes,2,rep,name=studio_references,json=studioReferences,proto3" json:"studio_references,omitempty"`
// contains filtered or unexported fields
}Message representing references to Looker Studio datasources.
func (*StudioDatasourceReferences) Descriptor
func (*StudioDatasourceReferences) Descriptor() ([]byte, []int)Deprecated: Use StudioDatasourceReferences.ProtoReflect.Descriptor instead.
func (*StudioDatasourceReferences) GetStudioReferences
func (x *StudioDatasourceReferences) GetStudioReferences() []*StudioDatasourceReferencefunc (*StudioDatasourceReferences) ProtoMessage
func (*StudioDatasourceReferences) ProtoMessage()func (*StudioDatasourceReferences) ProtoReflect
func (x *StudioDatasourceReferences) ProtoReflect() protoreflect.Messagefunc (*StudioDatasourceReferences) Reset
func (x *StudioDatasourceReferences) Reset()func (*StudioDatasourceReferences) String
func (x *StudioDatasourceReferences) String() stringSystemMessage
type SystemMessage struct {
// The kind of content in the system message.
//
// Types that are valid to be assigned to Kind:
//
// *SystemMessage_Text
// *SystemMessage_Schema
// *SystemMessage_Data
// *SystemMessage_Analysis
// *SystemMessage_Chart
// *SystemMessage_Error
// *SystemMessage_ExampleQueries
// *SystemMessage_Clarification
Kind isSystemMessage_Kind `protobuf_oneof:"kind"`
// Identifies the group that the event belongs to. Similar events are deemed
// to be logically relevant to each other and should be shown together in
// the UI.
GroupId *int32 `protobuf:"varint,12,opt,name=group_id,json=groupId,proto3,oneof" json:"group_id,omitempty"`
// Output only. Citation information for the system message.
Citation *Citation `protobuf:"bytes,15,opt,name=citation,proto3" json:"citation,omitempty"`
// contains filtered or unexported fields
}A message from the system in response to the user. This message can also be a message from the user as historical context for multi-turn conversations with the system.
func (*SystemMessage) Descriptor
func (*SystemMessage) Descriptor() ([]byte, []int)Deprecated: Use SystemMessage.ProtoReflect.Descriptor instead.
func (*SystemMessage) GetAnalysis
func (x *SystemMessage) GetAnalysis() *AnalysisMessagefunc (*SystemMessage) GetChart
func (x *SystemMessage) GetChart() *ChartMessagefunc (*SystemMessage) GetCitation
func (x *SystemMessage) GetCitation() *Citationfunc (*SystemMessage) GetClarification
func (x *SystemMessage) GetClarification() *ClarificationMessageDeprecated: Marked as deprecated in google/cloud/geminidataanalytics/v1beta/data_chat_service.proto.
func (*SystemMessage) GetData
func (x *SystemMessage) GetData() *DataMessagefunc (*SystemMessage) GetError
func (x *SystemMessage) GetError() *ErrorMessagefunc (*SystemMessage) GetExampleQueries
func (x *SystemMessage) GetExampleQueries() *ExampleQueriesfunc (*SystemMessage) GetGroupId
func (x *SystemMessage) GetGroupId() int32func (*SystemMessage) GetKind
func (x *SystemMessage) GetKind() isSystemMessage_Kindfunc (*SystemMessage) GetSchema
func (x *SystemMessage) GetSchema() *SchemaMessagefunc (*SystemMessage) GetText
func (x *SystemMessage) GetText() *TextMessagefunc (*SystemMessage) ProtoMessage
func (*SystemMessage) ProtoMessage()func (*SystemMessage) ProtoReflect
func (x *SystemMessage) ProtoReflect() protoreflect.Messagefunc (*SystemMessage) Reset
func (x *SystemMessage) Reset()func (*SystemMessage) String
func (x *SystemMessage) String() stringSystemMessage_Analysis
type SystemMessage_Analysis struct {
// A message produced during analysis.
Analysis *AnalysisMessage `protobuf:"bytes,4,opt,name=analysis,proto3,oneof"`
}SystemMessage_Chart
type SystemMessage_Chart struct {
// A message produced during chart generation.
Chart *ChartMessage `protobuf:"bytes,5,opt,name=chart,proto3,oneof"`
}SystemMessage_Clarification
type SystemMessage_Clarification struct {
// Optional. Deprecated: Use TextMessage with TextType.FINAL_RESPONSE
// instead. A message containing clarification questions.
//
// Deprecated: Marked as deprecated in google/cloud/geminidataanalytics/v1beta/data_chat_service.proto.
Clarification *ClarificationMessage `protobuf:"bytes,14,opt,name=clarification,proto3,oneof"`
}SystemMessage_Data
type SystemMessage_Data struct {
// A message produced during data retrieval.
Data *DataMessage `protobuf:"bytes,3,opt,name=data,proto3,oneof"`
}SystemMessage_Error
type SystemMessage_Error struct {
// An error message.
Error *ErrorMessage `protobuf:"bytes,6,opt,name=error,proto3,oneof"`
}SystemMessage_ExampleQueries
type SystemMessage_ExampleQueries struct {
// Optional. A message containing example queries.
ExampleQueries *ExampleQueries `protobuf:"bytes,13,opt,name=example_queries,json=exampleQueries,proto3,oneof"`
}SystemMessage_Schema
type SystemMessage_Schema struct {
// A message produced during schema resolution.
Schema *SchemaMessage `protobuf:"bytes,2,opt,name=schema,proto3,oneof"`
}SystemMessage_Text
type SystemMessage_Text struct {
// A direct natural language response to the user message.
Text *TextMessage `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}TaskArtifactUpdateEvent
type TaskArtifactUpdateEvent struct {
// Optional. The id of the task for this artifact.
TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
// Optional. The id of the context that this task belongs to.
ContextId string `protobuf:"bytes,2,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"`
// Optional. The artifact itself.
Artifact *A2AArtifact `protobuf:"bytes,3,opt,name=artifact,proto3" json:"artifact,omitempty"`
// Optional. Whether this should be appended to a prior one produced.
Append bool `protobuf:"varint,4,opt,name=append,proto3" json:"append,omitempty"`
// Optional. Whether this represents the last part of an artifact.
LastChunk bool `protobuf:"varint,5,opt,name=last_chunk,json=lastChunk,proto3" json:"last_chunk,omitempty"`
// Optional. Optional metadata associated with the artifact update.
Metadata *structpb.Struct `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
// contains filtered or unexported fields
}TaskArtifactUpdateEvent represents a task delta where an artifact has been generated.
func (*TaskArtifactUpdateEvent) Descriptor
func (*TaskArtifactUpdateEvent) Descriptor() ([]byte, []int)Deprecated: Use TaskArtifactUpdateEvent.ProtoReflect.Descriptor instead.
func (*TaskArtifactUpdateEvent) GetAppend
func (x *TaskArtifactUpdateEvent) GetAppend() boolfunc (*TaskArtifactUpdateEvent) GetArtifact
func (x *TaskArtifactUpdateEvent) GetArtifact() *A2AArtifactfunc (*TaskArtifactUpdateEvent) GetContextId
func (x *TaskArtifactUpdateEvent) GetContextId() stringfunc (*TaskArtifactUpdateEvent) GetLastChunk
func (x *TaskArtifactUpdateEvent) GetLastChunk() boolfunc (*TaskArtifactUpdateEvent) GetMetadata
func (x *TaskArtifactUpdateEvent) GetMetadata() *structpb.Structfunc (*TaskArtifactUpdateEvent) GetTaskId
func (x *TaskArtifactUpdateEvent) GetTaskId() stringfunc (*TaskArtifactUpdateEvent) ProtoMessage
func (*TaskArtifactUpdateEvent) ProtoMessage()func (*TaskArtifactUpdateEvent) ProtoReflect
func (x *TaskArtifactUpdateEvent) ProtoReflect() protoreflect.Messagefunc (*TaskArtifactUpdateEvent) Reset
func (x *TaskArtifactUpdateEvent) Reset()func (*TaskArtifactUpdateEvent) String
func (x *TaskArtifactUpdateEvent) String() stringTaskState
type TaskState int32The set of states a Task can be in.
TaskState_TASK_STATE_UNSPECIFIED, TaskState_TASK_STATE_SUBMITTED, TaskState_TASK_STATE_WORKING, TaskState_TASK_STATE_COMPLETED, TaskState_TASK_STATE_FAILED, TaskState_TASK_STATE_CANCELLED, TaskState_TASK_STATE_INPUT_REQUIRED, TaskState_TASK_STATE_REJECTED, TaskState_TASK_STATE_AUTH_REQUIRED
const (
// Default unspecified task state.
TaskState_TASK_STATE_UNSPECIFIED TaskState = 0
// Represents the status that acknowledges a task is created.
TaskState_TASK_STATE_SUBMITTED TaskState = 1
// Represents the status that a task is currently in progress.
TaskState_TASK_STATE_WORKING TaskState = 2
// Represents the status that a task is completed. This is a terminal state.
TaskState_TASK_STATE_COMPLETED TaskState = 3
// Represents the status that a task has failed. This is a terminal state.
TaskState_TASK_STATE_FAILED TaskState = 4
// Represents the status that a task was cancelled before it finished.
// This is a terminal state.
TaskState_TASK_STATE_CANCELLED TaskState = 5
// Represents the status that the task requires information to complete.
// This is an interrupted state.
TaskState_TASK_STATE_INPUT_REQUIRED TaskState = 6
// Represents the status that a task has been rejected by the agent.
// This is a terminal state.
TaskState_TASK_STATE_REJECTED TaskState = 7
// Represents the state that some authentication is needed from the upstream
// client.
TaskState_TASK_STATE_AUTH_REQUIRED TaskState = 8
)func (TaskState) Descriptor
func (TaskState) Descriptor() protoreflect.EnumDescriptorfunc (TaskState) Enum
func (TaskState) EnumDescriptor
Deprecated: Use TaskState.Descriptor instead.
func (TaskState) Number
func (x TaskState) Number() protoreflect.EnumNumberfunc (TaskState) String
func (TaskState) Type
func (TaskState) Type() protoreflect.EnumTypeTaskStatus
type TaskStatus struct {
// Output only. The current state of this task.
State TaskState `protobuf:"varint,1,opt,name=state,proto3,enum=google.cloud.geminidataanalytics.v1beta.TaskState" json:"state,omitempty"`
// Optional. A message associated with the status.
Update *A2AMessage `protobuf:"bytes,2,opt,name=update,json=message,proto3" json:"update,omitempty"`
// Output only. Timestamp when the status was recorded.
Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// contains filtered or unexported fields
}A container for the status of a task.
func (*TaskStatus) Descriptor
func (*TaskStatus) Descriptor() ([]byte, []int)Deprecated: Use TaskStatus.ProtoReflect.Descriptor instead.
func (*TaskStatus) GetState
func (x *TaskStatus) GetState() TaskStatefunc (*TaskStatus) GetTimestamp
func (x *TaskStatus) GetTimestamp() *timestamppb.Timestampfunc (*TaskStatus) GetUpdate
func (x *TaskStatus) GetUpdate() *A2AMessagefunc (*TaskStatus) ProtoMessage
func (*TaskStatus) ProtoMessage()func (*TaskStatus) ProtoReflect
func (x *TaskStatus) ProtoReflect() protoreflect.Messagefunc (*TaskStatus) Reset
func (x *TaskStatus) Reset()func (*TaskStatus) String
func (x *TaskStatus) String() stringTaskStatusUpdateEvent
type TaskStatusUpdateEvent struct {
// Optional. The id of the task that is changed.
TaskId string `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
// Optional. The id of the context that the task belongs to.
ContextId string `protobuf:"bytes,2,opt,name=context_id,json=contextId,proto3" json:"context_id,omitempty"`
// Optional. The new status of the task.
Status *TaskStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
// Optional. Whether this is the last status update expected for this task.
Final bool `protobuf:"varint,4,opt,name=final,proto3" json:"final,omitempty"`
// Optional. Optional metadata to associate with the task update.
Metadata *structpb.Struct `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"`
// contains filtered or unexported fields
}TaskStatusUpdateEvent is a delta event on a task indicating that a task has changed.
func (*TaskStatusUpdateEvent) Descriptor
func (*TaskStatusUpdateEvent) Descriptor() ([]byte, []int)Deprecated: Use TaskStatusUpdateEvent.ProtoReflect.Descriptor instead.
func (*TaskStatusUpdateEvent) GetContextId
func (x *TaskStatusUpdateEvent) GetContextId() stringfunc (*TaskStatusUpdateEvent) GetFinal
func (x *TaskStatusUpdateEvent) GetFinal() boolfunc (*TaskStatusUpdateEvent) GetMetadata
func (x *TaskStatusUpdateEvent) GetMetadata() *structpb.Structfunc (*TaskStatusUpdateEvent) GetStatus
func (x *TaskStatusUpdateEvent) GetStatus() *TaskStatusfunc (*TaskStatusUpdateEvent) GetTaskId
func (x *TaskStatusUpdateEvent) GetTaskId() stringfunc (*TaskStatusUpdateEvent) ProtoMessage
func (*TaskStatusUpdateEvent) ProtoMessage()func (*TaskStatusUpdateEvent) ProtoReflect
func (x *TaskStatusUpdateEvent) ProtoReflect() protoreflect.Messagefunc (*TaskStatusUpdateEvent) Reset
func (x *TaskStatusUpdateEvent) Reset()func (*TaskStatusUpdateEvent) String
func (x *TaskStatusUpdateEvent) String() stringTextMessage
type TextMessage struct {
// Optional. The parts of the message.
Parts []string `protobuf:"bytes,1,rep,name=parts,proto3" json:"parts,omitempty"`
// Optional. The type of the text message.
TextType TextMessage_TextType `protobuf:"varint,2,opt,name=text_type,json=textType,proto3,enum=google.cloud.geminidataanalytics.v1beta.TextMessage_TextType" json:"text_type,omitempty"`
// Optional. An opaque signature for a thought so it can be reused in
// subsequent requests.
ThoughtSignature []byte `protobuf:"bytes,3,opt,name=thought_signature,json=thoughtSignature,proto3" json:"thought_signature,omitempty"`
// contains filtered or unexported fields
}A multi-part text message.
func (*TextMessage) Descriptor
func (*TextMessage) Descriptor() ([]byte, []int)Deprecated: Use TextMessage.ProtoReflect.Descriptor instead.
func (*TextMessage) GetParts
func (x *TextMessage) GetParts() []stringfunc (*TextMessage) GetTextType
func (x *TextMessage) GetTextType() TextMessage_TextTypefunc (*TextMessage) GetThoughtSignature
func (x *TextMessage) GetThoughtSignature() []bytefunc (*TextMessage) ProtoMessage
func (*TextMessage) ProtoMessage()func (*TextMessage) ProtoReflect
func (x *TextMessage) ProtoReflect() protoreflect.Messagefunc (*TextMessage) Reset
func (x *TextMessage) Reset()func (*TextMessage) String
func (x *TextMessage) String() stringTextMessage_TextType
type TextMessage_TextType int32The type of the text message.
TextMessage_TEXT_TYPE_UNSPECIFIED, TextMessage_FINAL_RESPONSE, TextMessage_THOUGHT, TextMessage_PROGRESS, TextMessage_FOLLOWUP_QUESTIONS
const (
// The default text type.
TextMessage_TEXT_TYPE_UNSPECIFIED TextMessage_TextType = 0
// The text is a final response to the user question.
TextMessage_FINAL_RESPONSE TextMessage_TextType = 1
// The text is a thought from the model.
TextMessage_THOUGHT TextMessage_TextType = 2
// The text is an informational message about the agent's progress, such as
// a tool being invoked. This is distinct from the agent's internal thought
// process (`THOUGHT`) and the final answer to the user
// (`FINAL_RESPONSE`). These messages provide insight into the agent's
// actions.
TextMessage_PROGRESS TextMessage_TextType = 3
// The text is a list of follow-up questions suggested.
// Each item in parts is a follow-up question.
TextMessage_FOLLOWUP_QUESTIONS TextMessage_TextType = 4
)func (TextMessage_TextType) Descriptor
func (TextMessage_TextType) Descriptor() protoreflect.EnumDescriptorfunc (TextMessage_TextType) Enum
func (x TextMessage_TextType) Enum() *TextMessage_TextTypefunc (TextMessage_TextType) EnumDescriptor
func (TextMessage_TextType) EnumDescriptor() ([]byte, []int)Deprecated: Use TextMessage_TextType.Descriptor instead.
func (TextMessage_TextType) Number
func (x TextMessage_TextType) Number() protoreflect.EnumNumberfunc (TextMessage_TextType) String
func (x TextMessage_TextType) String() stringfunc (TextMessage_TextType) Type
func (TextMessage_TextType) Type() protoreflect.EnumTypeTokenUsage
type TokenUsage struct {
// The total number of input tokens used in this request.
InputTokenCount int32 `protobuf:"varint,1,opt,name=input_token_count,json=inputTokenCount,proto3" json:"input_token_count,omitempty"`
// The total number of output tokens used in this request.
OutputTokenCount int32 `protobuf:"varint,2,opt,name=output_token_count,json=outputTokenCount,proto3" json:"output_token_count,omitempty"`
// contains filtered or unexported fields
}Overall token usage tracking for the response.
func (*TokenUsage) Descriptor
func (*TokenUsage) Descriptor() ([]byte, []int)Deprecated: Use TokenUsage.ProtoReflect.Descriptor instead.
func (*TokenUsage) GetInputTokenCount
func (x *TokenUsage) GetInputTokenCount() int32func (*TokenUsage) GetOutputTokenCount
func (x *TokenUsage) GetOutputTokenCount() int32func (*TokenUsage) ProtoMessage
func (*TokenUsage) ProtoMessage()func (*TokenUsage) ProtoReflect
func (x *TokenUsage) ProtoReflect() protoreflect.Messagefunc (*TokenUsage) Reset
func (x *TokenUsage) Reset()func (*TokenUsage) String
func (x *TokenUsage) String() stringUnimplementedDataA2AServiceServer
type UnimplementedDataA2AServiceServer struct {
}UnimplementedDataA2AServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedDataA2AServiceServer) GetAgentCard
func (UnimplementedDataA2AServiceServer) GetAgentCard(context.Context, *GetAgentCardRequest) (*AgentCard, error)func (UnimplementedDataA2AServiceServer) SendMessage
func (UnimplementedDataA2AServiceServer) SendMessage(context.Context, *SendMessageRequest) (*SendMessageResponse, error)func (UnimplementedDataA2AServiceServer) SendStreamingMessage
func (UnimplementedDataA2AServiceServer) SendStreamingMessage(*SendMessageRequest, DataA2AService_SendStreamingMessageServer) errorUnimplementedDataAgentServiceServer
type UnimplementedDataAgentServiceServer struct {
}UnimplementedDataAgentServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedDataAgentServiceServer) CreateDataAgent
func (UnimplementedDataAgentServiceServer) CreateDataAgent(context.Context, *CreateDataAgentRequest) (*longrunningpb.Operation, error)func (UnimplementedDataAgentServiceServer) CreateDataAgentSync
func (UnimplementedDataAgentServiceServer) CreateDataAgentSync(context.Context, *CreateDataAgentRequest) (*DataAgent, error)func (UnimplementedDataAgentServiceServer) DeleteDataAgent
func (UnimplementedDataAgentServiceServer) DeleteDataAgent(context.Context, *DeleteDataAgentRequest) (*longrunningpb.Operation, error)func (UnimplementedDataAgentServiceServer) DeleteDataAgentSync
func (UnimplementedDataAgentServiceServer) DeleteDataAgentSync(context.Context, *DeleteDataAgentRequest) (*emptypb.Empty, error)func (UnimplementedDataAgentServiceServer) GetDataAgent
func (UnimplementedDataAgentServiceServer) GetDataAgent(context.Context, *GetDataAgentRequest) (*DataAgent, error)func (UnimplementedDataAgentServiceServer) GetIamPolicy
func (UnimplementedDataAgentServiceServer) GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)func (UnimplementedDataAgentServiceServer) ListAccessibleDataAgents
func (UnimplementedDataAgentServiceServer) ListAccessibleDataAgents(context.Context, *ListAccessibleDataAgentsRequest) (*ListAccessibleDataAgentsResponse, error)func (UnimplementedDataAgentServiceServer) ListDataAgents
func (UnimplementedDataAgentServiceServer) ListDataAgents(context.Context, *ListDataAgentsRequest) (*ListDataAgentsResponse, error)func (UnimplementedDataAgentServiceServer) RetrieveAgentOpsObservability
func (UnimplementedDataAgentServiceServer) RetrieveAgentOpsObservability(context.Context, *RetrieveAgentOpsObservabilityRequest) (*RetrieveAgentOpsObservabilityResponse, error)func (UnimplementedDataAgentServiceServer) SetAgentOpsObservability
func (UnimplementedDataAgentServiceServer) SetAgentOpsObservability(context.Context, *SetAgentOpsObservabilityRequest) (*longrunningpb.Operation, error)func (UnimplementedDataAgentServiceServer) SetIamPolicy
func (UnimplementedDataAgentServiceServer) SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)func (UnimplementedDataAgentServiceServer) UpdateDataAgent
func (UnimplementedDataAgentServiceServer) UpdateDataAgent(context.Context, *UpdateDataAgentRequest) (*longrunningpb.Operation, error)func (UnimplementedDataAgentServiceServer) UpdateDataAgentSync
func (UnimplementedDataAgentServiceServer) UpdateDataAgentSync(context.Context, *UpdateDataAgentRequest) (*DataAgent, error)UnimplementedDataChatServiceServer
type UnimplementedDataChatServiceServer struct {
}UnimplementedDataChatServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedDataChatServiceServer) Chat
func (UnimplementedDataChatServiceServer) CreateConversation
func (UnimplementedDataChatServiceServer) CreateConversation(context.Context, *CreateConversationRequest) (*Conversation, error)func (UnimplementedDataChatServiceServer) DeleteConversation
func (UnimplementedDataChatServiceServer) DeleteConversation(context.Context, *DeleteConversationRequest) (*emptypb.Empty, error)func (UnimplementedDataChatServiceServer) GetConversation
func (UnimplementedDataChatServiceServer) GetConversation(context.Context, *GetConversationRequest) (*Conversation, error)func (UnimplementedDataChatServiceServer) ListConversations
func (UnimplementedDataChatServiceServer) ListConversations(context.Context, *ListConversationsRequest) (*ListConversationsResponse, error)func (UnimplementedDataChatServiceServer) ListMessages
func (UnimplementedDataChatServiceServer) ListMessages(context.Context, *ListMessagesRequest) (*ListMessagesResponse, error)func (UnimplementedDataChatServiceServer) QueryData
func (UnimplementedDataChatServiceServer) QueryData(context.Context, *QueryDataRequest) (*QueryDataResponse, error)func (UnimplementedDataChatServiceServer) UpdateConversation
func (UnimplementedDataChatServiceServer) UpdateConversation(context.Context, *UpdateConversationRequest) (*Conversation, error)UnsafeDataA2AServiceServer
type UnsafeDataA2AServiceServer interface {
// contains filtered or unexported methods
}UnsafeDataA2AServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DataA2AServiceServer will result in compilation errors.
UnsafeDataAgentServiceServer
type UnsafeDataAgentServiceServer interface {
// contains filtered or unexported methods
}UnsafeDataAgentServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DataAgentServiceServer will result in compilation errors.
UnsafeDataChatServiceServer
type UnsafeDataChatServiceServer interface {
// contains filtered or unexported methods
}UnsafeDataChatServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DataChatServiceServer will result in compilation errors.
UpdateConversationRequest
type UpdateConversationRequest struct {
// Required. The resource being updated.
Conversation *Conversation `protobuf:"bytes,1,opt,name=conversation,proto3" json:"conversation,omitempty"`
// Optional. Field mask is used to specify the fields to be overwritten in the
// Conversation resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then all fields with non-default values
// present in the request will be overwritten. If a wildcard mask is provided,
// all fields will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Request for updating a conversation.
func (*UpdateConversationRequest) Descriptor
func (*UpdateConversationRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateConversationRequest.ProtoReflect.Descriptor instead.
func (*UpdateConversationRequest) GetConversation
func (x *UpdateConversationRequest) GetConversation() *Conversationfunc (*UpdateConversationRequest) GetRequestId
func (x *UpdateConversationRequest) GetRequestId() stringfunc (*UpdateConversationRequest) GetUpdateMask
func (x *UpdateConversationRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateConversationRequest) ProtoMessage
func (*UpdateConversationRequest) ProtoMessage()func (*UpdateConversationRequest) ProtoReflect
func (x *UpdateConversationRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateConversationRequest) Reset
func (x *UpdateConversationRequest) Reset()func (*UpdateConversationRequest) String
func (x *UpdateConversationRequest) String() stringUpdateDataAgentRequest
type UpdateDataAgentRequest struct {
// Optional. Field mask is used to specify the fields to be overwritten in the
// DataAgent resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then all fields with non-default values
// present in the request will be overwritten. If a wildcard mask is provided,
// all fields will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The resource being updated.
DataAgent *DataAgent `protobuf:"bytes,2,opt,name=data_agent,json=dataAgent,proto3" json:"data_agent,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and the
// request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}Message for updating a DataAgent.
func (*UpdateDataAgentRequest) Descriptor
func (*UpdateDataAgentRequest) Descriptor() ([]byte, []int)Deprecated: Use UpdateDataAgentRequest.ProtoReflect.Descriptor instead.
func (*UpdateDataAgentRequest) GetDataAgent
func (x *UpdateDataAgentRequest) GetDataAgent() *DataAgentfunc (*UpdateDataAgentRequest) GetRequestId
func (x *UpdateDataAgentRequest) GetRequestId() stringfunc (*UpdateDataAgentRequest) GetUpdateMask
func (x *UpdateDataAgentRequest) GetUpdateMask() *fieldmaskpb.FieldMaskfunc (*UpdateDataAgentRequest) ProtoMessage
func (*UpdateDataAgentRequest) ProtoMessage()func (*UpdateDataAgentRequest) ProtoReflect
func (x *UpdateDataAgentRequest) ProtoReflect() protoreflect.Messagefunc (*UpdateDataAgentRequest) Reset
func (x *UpdateDataAgentRequest) Reset()func (*UpdateDataAgentRequest) String
func (x *UpdateDataAgentRequest) String() stringUserFunctions
type UserFunctions struct {
// A list of BigQuery routines to include in the context.
BqRoutines []*BigQueryRoutine `protobuf:"bytes,1,rep,name=bq_routines,json=bqRoutines,proto3" json:"bq_routines,omitempty"`
// contains filtered or unexported fields
}A collection of user functions to be included in context.
func (*UserFunctions) Descriptor
func (*UserFunctions) Descriptor() ([]byte, []int)Deprecated: Use UserFunctions.ProtoReflect.Descriptor instead.
func (*UserFunctions) GetBqRoutines
func (x *UserFunctions) GetBqRoutines() []*BigQueryRoutinefunc (*UserFunctions) ProtoMessage
func (*UserFunctions) ProtoMessage()func (*UserFunctions) ProtoReflect
func (x *UserFunctions) ProtoReflect() protoreflect.Messagefunc (*UserFunctions) Reset
func (x *UserFunctions) Reset()func (*UserFunctions) String
func (x *UserFunctions) String() stringUserMessage
type UserMessage struct {
// The kind of content in the user message.
//
// Types that are valid to be assigned to Kind:
//
// *UserMessage_Text
Kind isUserMessage_Kind `protobuf_oneof:"kind"`
// contains filtered or unexported fields
}A message from the user that is interacting with the system.
func (*UserMessage) Descriptor
func (*UserMessage) Descriptor() ([]byte, []int)Deprecated: Use UserMessage.ProtoReflect.Descriptor instead.
func (*UserMessage) GetKind
func (x *UserMessage) GetKind() isUserMessage_Kindfunc (*UserMessage) GetText
func (x *UserMessage) GetText() stringfunc (*UserMessage) ProtoMessage
func (*UserMessage) ProtoMessage()func (*UserMessage) ProtoReflect
func (x *UserMessage) ProtoReflect() protoreflect.Messagefunc (*UserMessage) Reset
func (x *UserMessage) Reset()func (*UserMessage) String
func (x *UserMessage) String() stringUserMessage_Text
type UserMessage_Text struct {
// Text should use this field instead of blob.
Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}