diff --git a/GeminiDataAnalytics/metadata/V1Beta/Context.php b/GeminiDataAnalytics/metadata/V1Beta/Context.php
index 5a4e8440fee1..bb24924e3a53 100644
--- a/GeminiDataAnalytics/metadata/V1Beta/Context.php
+++ b/GeminiDataAnalytics/metadata/V1Beta/Context.php
@@ -15,10 +15,11 @@ public static function initOnce() {
return;
}
\GPBMetadata\Google\Api\FieldBehavior::initOnce();
+ \GPBMetadata\Google\Api\Resource::initOnce();
\GPBMetadata\Google\Cloud\Geminidataanalytics\V1Beta\Datasource::initOnce();
\GPBMetadata\Google\Protobuf\Wrappers::initOnce();
$pool->internalAddGeneratedFile(
- "\x0A\xD5\x17\x0A5google/cloud/geminidataanalytics/v1beta/context.proto\x12'google.cloud.geminidataanalytics.v1beta\x1A8google/cloud/geminidataanalytics/v1beta/datasource.proto\x1A\x1Egoogle/protobuf/wrappers.proto\"\xD9\x08\x0A\x07Context\x12\x1F\x0A\x12system_instruction\x18\x01 \x01(\x09B\x03\xE0A\x01\x12a\x0A\x15datasource_references\x18\x07 \x01(\x0B2=.google.cloud.geminidataanalytics.v1beta.DatasourceReferencesB\x03\xE0A\x02\x12R\x0A\x07options\x18\x03 \x01(\x0B2<.google.cloud.geminidataanalytics.v1beta.ConversationOptionsB\x03\xE0A\x01\x12S\x0A\x0Fexample_queries\x18\x05 \x03(\x0B25.google.cloud.geminidataanalytics.v1beta.ExampleQueryB\x03\xE0A\x01\x12^\x0A\x15looker_golden_queries\x18\x0B \x03(\x0B2:.google.cloud.geminidataanalytics.v1beta.LookerGoldenQueryB\x03\xE0A\x01\x12R\x0A\x0Eglossary_terms\x18\x08 \x03(\x0B25.google.cloud.geminidataanalytics.v1beta.GlossaryTermB\x03\xE0A\x01\x12f\x0A\x14schema_relationships\x18\x09 \x03(\x0B2C.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationshipB\x03\xE0A\x01\x1A\x84\x04\x0A\x12SchemaRelationship\x12j\x0A\x11left_schema_paths\x18\x01 \x01(\x0B2O.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.SchemaPaths\x12k\x0A\x12right_schema_paths\x18\x02 \x01(\x0B2O.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.SchemaPaths\x12[\x0A\x07sources\x18\x03 \x03(\x0E2J.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source\x12\x18\x0A\x10confidence_score\x18\x04 \x01(\x02\x1A/\x0A\x0BSchemaPaths\x12\x11\x0A\x09table_fqn\x18\x01 \x01(\x09\x12\x0D\x0A\x05paths\x18\x02 \x03(\x09\"m\x0A\x06Source\x12\x16\x0A\x12SOURCE_UNSPECIFIED\x10\x00\x12\x18\x0A\x14BIGQUERY_JOB_HISTORY\x10\x01\x12\x11\x0A\x0DLLM_SUGGESTED\x10\x02\x12\x1E\x0A\x1ABIGQUERY_TABLE_CONSTRAINTS\x10\x03\"Y\x0A\x0CExampleQuery\x12\x18\x0A\x09sql_query\x18e \x01(\x09B\x03\xE0A\x01H\x00\x12&\x0A\x19natural_language_question\x18\x01 \x01(\x09B\x03\xE0A\x01B\x07\x0A\x05query\"\x8D\x01\x0A\x11LookerGoldenQuery\x12'\x0A\x1Anatural_language_questions\x18\x04 \x03(\x09B\x03\xE0A\x01\x12O\x0A\x0Clooker_query\x18\x05 \x01(\x0B24.google.cloud.geminidataanalytics.v1beta.LookerQueryB\x03\xE0A\x01\"\x88\x02\x0A\x0BLookerQuery\x12\x12\x0A\x05model\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x14\x0A\x07explore\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x06fields\x18\x03 \x03(\x09B\x03\xE0A\x01\x12Q\x0A\x07filters\x18\x04 \x03(\x0B2;.google.cloud.geminidataanalytics.v1beta.LookerQuery.FilterB\x03\xE0A\x01\x12\x12\x0A\x05sorts\x18\x05 \x03(\x09B\x03\xE0A\x01\x12\x17\x0A\x05limit\x18\x06 \x01(\x09B\x03\xE0A\x01H\x00\x88\x01\x01\x1A0\x0A\x06Filter\x12\x12\x0A\x05field\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x12\x0A\x05value\x18\x02 \x01(\x09B\x03\xE0A\x02B\x08\x0A\x06_limit\"X\x0A\x0CGlossaryTerm\x12\x19\x0A\x0Cdisplay_name\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdescription\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x06labels\x18\x03 \x03(\x09B\x03\xE0A\x01\"\x86\x02\x0A\x13ConversationOptions\x12I\x0A\x05chart\x18\x01 \x01(\x0B25.google.cloud.geminidataanalytics.v1beta.ChartOptionsB\x03\xE0A\x01\x12O\x0A\x08analysis\x18\x02 \x01(\x0B28.google.cloud.geminidataanalytics.v1beta.AnalysisOptionsB\x03\xE0A\x01\x12S\x0A\x0Adatasource\x18\x03 \x01(\x0B2:.google.cloud.geminidataanalytics.v1beta.DatasourceOptionsB\x03\xE0A\x01\"Y\x0A\x11DatasourceOptions\x12D\x0A\x1Abig_query_max_billed_bytes\x18\x01 \x01(\x0B2\x1B.google.protobuf.Int64ValueB\x03\xE0A\x01\"\xD6\x02\x0A\x0CChartOptions\x12V\x0A\x05image\x18\x01 \x01(\x0B2B.google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptionsB\x03\xE0A\x01\x1A\xED\x01\x0A\x0CImageOptions\x12^\x0A\x08no_image\x18\x01 \x01(\x0B2J.google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.NoImageH\x00\x12\\\x0A\x03svg\x18\x02 \x01(\x0B2M.google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.SvgOptionsH\x00\x1A\x09\x0A\x07NoImage\x1A\x0C\x0A\x0ASvgOptionsB\x06\x0A\x04kind\"\x87\x01\x0A\x0FAnalysisOptions\x12T\x0A\x06python\x18\x01 \x01(\x0B2?.google.cloud.geminidataanalytics.v1beta.AnalysisOptions.PythonB\x03\xE0A\x01\x1A\x1E\x0A\x06Python\x12\x14\x0A\x07enabled\x18\x01 \x01(\x08B\x03\xE0A\x01B\x9D\x02\x0A+com.google.cloud.geminidataanalytics.v1betaB\x0CContextProtoP\x01Z]cloud.google.com/go/geminidataanalytics/apiv1beta/geminidataanalyticspb;geminidataanalyticspb\xAA\x02'Google.Cloud.GeminiDataAnalytics.V1Beta\xCA\x02'Google\\Cloud\\GeminiDataAnalytics\\V1beta\xEA\x02*Google::Cloud::GeminiDataAnalytics::V1betab\x06proto3"
+ "\x0A\x8D&\x0A5google/cloud/geminidataanalytics/v1beta/context.proto\x12'google.cloud.geminidataanalytics.v1beta\x1A\x19google/api/resource.proto\x1A8google/cloud/geminidataanalytics/v1beta/datasource.proto\x1A\x1Egoogle/protobuf/wrappers.proto\"\xB8\x09\x0A\x07Context\x12\x1F\x0A\x12system_instruction\x18\x01 \x01(\x09B\x03\xE0A\x01\x12a\x0A\x15datasource_references\x18\x07 \x01(\x0B2=.google.cloud.geminidataanalytics.v1beta.DatasourceReferencesB\x03\xE0A\x02\x12R\x0A\x07options\x18\x03 \x01(\x0B2<.google.cloud.geminidataanalytics.v1beta.ConversationOptionsB\x03\xE0A\x01\x12S\x0A\x0Fexample_queries\x18\x05 \x03(\x0B25.google.cloud.geminidataanalytics.v1beta.ExampleQueryB\x03\xE0A\x01\x12^\x0A\x15looker_golden_queries\x18\x0B \x03(\x0B2:.google.cloud.geminidataanalytics.v1beta.LookerGoldenQueryB\x03\xE0A\x01\x12R\x0A\x0Eglossary_terms\x18\x08 \x03(\x0B25.google.cloud.geminidataanalytics.v1beta.GlossaryTermB\x03\xE0A\x01\x12f\x0A\x14schema_relationships\x18\x09 \x03(\x0B2C.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationshipB\x03\xE0A\x01\x12S\x0A\x0Euser_functions\x18\x0A \x01(\x0B26.google.cloud.geminidataanalytics.v1beta.UserFunctionsB\x03\xE0A\x01\x1A\x8E\x04\x0A\x12SchemaRelationship\x12j\x0A\x11left_schema_paths\x18\x01 \x01(\x0B2O.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.SchemaPaths\x12k\x0A\x12right_schema_paths\x18\x02 \x01(\x0B2O.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.SchemaPaths\x12`\x0A\x07sources\x18\x03 \x03(\x0E2J.google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.SourceB\x03\xE0A\x01\x12\x1D\x0A\x10confidence_score\x18\x04 \x01(\x02B\x03\xE0A\x01\x1A/\x0A\x0BSchemaPaths\x12\x11\x0A\x09table_fqn\x18\x01 \x01(\x09\x12\x0D\x0A\x05paths\x18\x02 \x03(\x09\"m\x0A\x06Source\x12\x16\x0A\x12SOURCE_UNSPECIFIED\x10\x00\x12\x18\x0A\x14BIGQUERY_JOB_HISTORY\x10\x01\x12\x11\x0A\x0DLLM_SUGGESTED\x10\x02\x12\x1E\x0A\x1ABIGQUERY_TABLE_CONSTRAINTS\x10\x03\"^\x0A\x0DUserFunctions\x12M\x0A\x0Bbq_routines\x18\x01 \x03(\x0B28.google.cloud.geminidataanalytics.v1beta.BigQueryRoutine\"\x84\x01\x0A\x0FBigQueryRoutine\x12\\\x0A\x11routine_reference\x18\x01 \x01(\x0B2A.google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference\x12\x13\x0A\x0Bdescription\x18\x02 \x01(\x09\"V\x0A\x18BigQueryRoutineReference\x12\x12\x0A\x0Aproject_id\x18\x01 \x01(\x09\x12\x12\x0A\x0Adataset_id\x18\x02 \x01(\x09\x12\x12\x0A\x0Aroutine_id\x18\x03 \x01(\x09\"\xAB\x01\x0A\x0CExampleQuery\x12\x18\x0A\x09sql_query\x18e \x01(\x09B\x03\xE0A\x01H\x00\x12&\x0A\x19natural_language_question\x18\x01 \x01(\x09B\x03\xE0A\x01\x12P\x0A\x0Aparameters\x18\x03 \x03(\x0B27.google.cloud.geminidataanalytics.v1beta.QueryParameterB\x03\xE0A\x01B\x07\x0A\x05query\"U\x0A\x0EQueryParameter\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdescription\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x16\x0A\x09data_type\x18\x03 \x01(\x09B\x03\xE0A\x02\"\xBB\x01\x0A\x0CMatchedQuery\x12L\x0A\x0Dexample_query\x18\x01 \x01(\x0B25.google.cloud.geminidataanalytics.v1beta.ExampleQuery\x12]\x0A\x16query_parameter_values\x18\x02 \x03(\x0B2=.google.cloud.geminidataanalytics.v1beta.QueryParameterValues\"=\x0A\x14QueryParameterValues\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x12\x0A\x05value\x18\x02 \x01(\x09B\x03\xE0A\x02\"\x8D\x01\x0A\x11LookerGoldenQuery\x12'\x0A\x1Anatural_language_questions\x18\x04 \x03(\x09B\x03\xE0A\x01\x12O\x0A\x0Clooker_query\x18\x05 \x01(\x0B24.google.cloud.geminidataanalytics.v1beta.LookerQueryB\x03\xE0A\x01\"\xEB\x02\x0A\x0BLookerQuery\x12\x12\x0A\x05model\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x14\x0A\x07explore\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x06fields\x18\x03 \x03(\x09B\x03\xE0A\x01\x12Q\x0A\x07filters\x18\x04 \x03(\x0B2;.google.cloud.geminidataanalytics.v1beta.LookerQuery.FilterB\x03\xE0A\x01\x12\x12\x0A\x05sorts\x18\x05 \x03(\x09B\x03\xE0A\x01\x12\x17\x0A\x05limit\x18\x06 \x01(\x09B\x03\xE0A\x01H\x00\x88\x01\x01\x12\x1A\x0A\x08query_id\x18\x0A \x01(\x09B\x03\xE0A\x01H\x01\x88\x01\x01\x12\x1B\x0A\x09client_id\x18\x0B \x01(\x09B\x03\xE0A\x01H\x02\x88\x01\x01\x1A?\x0A\x06Filter\x12\x12\x0A\x05field\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x17\x0A\x05value\x18\x02 \x01(\x09B\x03\xE0A\x01H\x00\x88\x01\x01B\x08\x0A\x06_valueB\x08\x0A\x06_limitB\x0B\x0A\x09_query_idB\x0C\x0A\x0A_client_id\"X\x0A\x0CGlossaryTerm\x12\x19\x0A\x0Cdisplay_name\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdescription\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x06labels\x18\x03 \x03(\x09B\x03\xE0A\x01\"\xA2\x03\x0A\x13ConversationOptions\x12I\x0A\x05chart\x18\x01 \x01(\x0B25.google.cloud.geminidataanalytics.v1beta.ChartOptionsB\x03\xE0A\x01\x12O\x0A\x08analysis\x18\x02 \x01(\x0B28.google.cloud.geminidataanalytics.v1beta.AnalysisOptionsB\x03\xE0A\x01\x12S\x0A\x0Adatasource\x18\x03 \x01(\x0B2:.google.cloud.geminidataanalytics.v1beta.DatasourceOptionsB\x03\xE0A\x01\x12[\x0A\x05model\x18\x06 \x01(\x0E2B.google.cloud.geminidataanalytics.v1beta.ConversationOptions.ModelB\x03\xE0A\x01H\x00\x88\x01\x01\"3\x0A\x05Model\x12\x15\x0A\x11MODEL_UNSPECIFIED\x10\x00\x12\x13\x0A\x0FLATEST_GA_MODEL\x10\x01B\x08\x0A\x06_model\"Y\x0A\x11DatasourceOptions\x12D\x0A\x1Abig_query_max_billed_bytes\x18\x01 \x01(\x0B2\x1B.google.protobuf.Int64ValueB\x03\xE0A\x01\"\xD6\x02\x0A\x0CChartOptions\x12V\x0A\x05image\x18\x01 \x01(\x0B2B.google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptionsB\x03\xE0A\x01\x1A\xED\x01\x0A\x0CImageOptions\x12^\x0A\x08no_image\x18\x01 \x01(\x0B2J.google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.NoImageH\x00\x12\\\x0A\x03svg\x18\x02 \x01(\x0B2M.google.cloud.geminidataanalytics.v1beta.ChartOptions.ImageOptions.SvgOptionsH\x00\x1A\x09\x0A\x07NoImage\x1A\x0C\x0A\x0ASvgOptionsB\x06\x0A\x04kind\"\x87\x01\x0A\x0FAnalysisOptions\x12T\x0A\x06python\x18\x01 \x01(\x0B2?.google.cloud.geminidataanalytics.v1beta.AnalysisOptions.PythonB\x03\xE0A\x01\x1A\x1E\x0A\x06Python\x12\x14\x0A\x07enabled\x18\x01 \x01(\x08B\x03\xE0A\x01\"\xA8\x01\x0A\x08Citation\x12M\x0A\x07sources\x18\x01 \x03(\x0B27.google.cloud.geminidataanalytics.v1beta.CitationSourceB\x03\xE0A\x03\x12M\x0A\x07anchors\x18\x02 \x03(\x0B27.google.cloud.geminidataanalytics.v1beta.CitationAnchorB\x03\xE0A\x03\"\x82\x02\x0A\x0ECitationSource\x12\x12\x0A\x03uri\x18\x03 \x01(\x09B\x03\xE0A\x03H\x00\x12S\x0A\x0Dexample_query\x18\x04 \x01(\x0B25.google.cloud.geminidataanalytics.v1beta.ExampleQueryB\x03\xE0A\x03H\x00\x12S\x0A\x0Dglossary_term\x18\x05 \x01(\x0B25.google.cloud.geminidataanalytics.v1beta.GlossaryTermB\x03\xE0A\x03H\x00\x12\x0F\x0A\x02id\x18\x01 \x01(\x09B\x03\xE0A\x03\x12\x12\x0A\x05title\x18\x02 \x01(\x09B\x03\xE0A\x03B\x0D\x0A\x0Bsource_type\"\xA6\x02\x0A\x0ECitationAnchor\x12u\x0A\x13text_message_anchor\x18\x01 \x01(\x0B2Q.google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchorB\x03\xE0A\x03H\x00\x1A\x8D\x01\x0A\x19TextMessageCitationAnchor\x12\x17\x0A\x0Apart_index\x18\x01 \x01(\x05B\x03\xE0A\x03\x12\x1F\x0A\x12start_offset_bytes\x18\x02 \x01(\x05B\x03\xE0A\x03\x12\x1D\x0A\x10end_offset_bytes\x18\x03 \x01(\x05B\x03\xE0A\x03\x12\x17\x0A\x0Asource_ids\x18\x04 \x03(\x09B\x03\xE0A\x03B\x0D\x0A\x0Banchor_typeB\x9D\x02\x0A+com.google.cloud.geminidataanalytics.v1betaB\x0CContextProtoP\x01Z]cloud.google.com/go/geminidataanalytics/apiv1beta/geminidataanalyticspb;geminidataanalyticspb\xAA\x02'Google.Cloud.GeminiDataAnalytics.V1Beta\xCA\x02'Google\\Cloud\\GeminiDataAnalytics\\V1beta\xEA\x02*Google::Cloud::GeminiDataAnalytics::V1betab\x06proto3"
, true);
static::$is_initialized = true;
diff --git a/GeminiDataAnalytics/metadata/V1Beta/Conversation.php b/GeminiDataAnalytics/metadata/V1Beta/Conversation.php
index df5928058e7c..8acda687d576 100644
--- a/GeminiDataAnalytics/metadata/V1Beta/Conversation.php
+++ b/GeminiDataAnalytics/metadata/V1Beta/Conversation.php
@@ -19,7 +19,7 @@ public static function initOnce() {
\GPBMetadata\Google\Api\Resource::initOnce();
\GPBMetadata\Google\Protobuf\Timestamp::initOnce();
$pool->internalAddGeneratedFile(
- "\x0A\xA6\x0D\x0A:google/cloud/geminidataanalytics/v1beta/conversation.proto\x12'google.cloud.geminidataanalytics.v1beta\x1A\x1Bgoogle/api/field_info.proto\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xCA\x03\x0A\x0CConversation\x12\x14\x0A\x04name\x18\x01 \x01(\x09B\x06\xE0A\x01\xE0A\x08\x12\x13\x0A\x06agents\x18\x02 \x03(\x09B\x03\xE0A\x02\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x127\x0A\x0Elast_used_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12V\x0A\x06labels\x18\x09 \x03(\x0B2A.google.cloud.geminidataanalytics.v1beta.Conversation.LabelsEntryB\x03\xE0A\x01\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01:\x98\x01\xEAA\x94\x01\x0A/geminidataanalytics.googleapis.com/Conversation\x12Dprojects/{project}/locations/{location}/conversations/{conversation}*\x0Dconversations2\x0Cconversation\"\xF5\x01\x0A\x19CreateConversationRequest\x12G\x0A\x06parent\x18\x01 \x01(\x09B7\xE0A\x02\xFAA1\x12/geminidataanalytics.googleapis.com/Conversation\x12\x1C\x0A\x0Fconversation_id\x18\x02 \x01(\x09B\x03\xE0A\x01\x12P\x0A\x0Cconversation\x18\x03 \x01(\x0B25.google.cloud.geminidataanalytics.v1beta.ConversationB\x03\xE0A\x02\x12\x1F\x0A\x0Arequest_id\x18\x04 \x01(\x09B\x0B\xE0A\x01\xE2\x8C\xCF\xD7\x08\x02\x08\x01\"_\x0A\x16GetConversationRequest\x12E\x0A\x04name\x18\x01 \x01(\x09B7\xE0A\x02\xFAA1\x0A/geminidataanalytics.googleapis.com/Conversation\"\xA9\x01\x0A\x18ListConversationsRequest\x12G\x0A\x06parent\x18\x01 \x01(\x09B7\xE0A\x02\xFAA1\x12/geminidataanalytics.googleapis.com/Conversation\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\"\x82\x01\x0A\x19ListConversationsResponse\x12L\x0A\x0Dconversations\x18\x01 \x03(\x0B25.google.cloud.geminidataanalytics.v1beta.Conversation\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"b\x0A\x19DeleteConversationRequest\x12E\x0A\x04name\x18\x01 \x01(\x09B7\xE0A\x02\xFAA1\x0A/geminidataanalytics.googleapis.com/ConversationB\xA2\x02\x0A+com.google.cloud.geminidataanalytics.v1betaB\x11ConversationProtoP\x01Z]cloud.google.com/go/geminidataanalytics/apiv1beta/geminidataanalyticspb;geminidataanalyticspb\xAA\x02'Google.Cloud.GeminiDataAnalytics.V1Beta\xCA\x02'Google\\Cloud\\GeminiDataAnalytics\\V1beta\xEA\x02*Google::Cloud::GeminiDataAnalytics::V1betab\x06proto3"
+ "\x0A\xB9\x0F\x0A:google/cloud/geminidataanalytics/v1beta/conversation.proto\x12'google.cloud.geminidataanalytics.v1beta\x1A\x1Bgoogle/api/field_info.proto\x1A\x19google/api/resource.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xCA\x04\x0A\x0CConversation\x12\x14\x0A\x04name\x18\x01 \x01(\x09B\x06\xE0A\x01\xE0A\x08\x12\x13\x0A\x06agents\x18\x02 \x03(\x09B\x03\xE0A\x02\x124\x0A\x0Bcreate_time\x18\x03 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x127\x0A\x0Elast_used_time\x18\x04 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12V\x0A\x06labels\x18\x09 \x03(\x0B2A.google.cloud.geminidataanalytics.v1beta.Conversation.LabelsEntryB\x03\xE0A\x01\x12?\x0A\x07kms_key\x18\x0A \x01(\x09B)\xE0A\x01\xFAA#\x0A!cloudkms.googleapis.com/CryptoKeyH\x00\x88\x01\x01\x12\x1F\x0A\x0Dmemory_paused\x18\x0B \x01(\x08B\x03\xE0A\x01H\x01\x88\x01\x01\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01:\x98\x01\xEAA\x94\x01\x0A/geminidataanalytics.googleapis.com/Conversation\x12Dprojects/{project}/locations/{location}/conversations/{conversation}*\x0Dconversations2\x0CconversationB\x0A\x0A\x08_kms_keyB\x10\x0A\x0E_memory_paused\"\xF5\x01\x0A\x19CreateConversationRequest\x12G\x0A\x06parent\x18\x01 \x01(\x09B7\xE0A\x02\xFAA1\x12/geminidataanalytics.googleapis.com/Conversation\x12\x1C\x0A\x0Fconversation_id\x18\x02 \x01(\x09B\x03\xE0A\x01\x12P\x0A\x0Cconversation\x18\x03 \x01(\x0B25.google.cloud.geminidataanalytics.v1beta.ConversationB\x03\xE0A\x02\x12\x1F\x0A\x0Arequest_id\x18\x04 \x01(\x09B\x0B\xE0A\x01\xE2\x8C\xCF\xD7\x08\x02\x08\x01\"_\x0A\x16GetConversationRequest\x12E\x0A\x04name\x18\x01 \x01(\x09B7\xE0A\x02\xFAA1\x0A/geminidataanalytics.googleapis.com/Conversation\"\xA9\x01\x0A\x18ListConversationsRequest\x12G\x0A\x06parent\x18\x01 \x01(\x09B7\xE0A\x02\xFAA1\x12/geminidataanalytics.googleapis.com/Conversation\x12\x16\x0A\x09page_size\x18\x02 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x04 \x01(\x09B\x03\xE0A\x01\"\x82\x01\x0A\x19ListConversationsResponse\x12L\x0A\x0Dconversations\x18\x01 \x03(\x0B25.google.cloud.geminidataanalytics.v1beta.Conversation\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"b\x0A\x19DeleteConversationRequest\x12E\x0A\x04name\x18\x01 \x01(\x09B7\xE0A\x02\xFAA1\x0A/geminidataanalytics.googleapis.com/ConversationB\xB5\x03\x0A+com.google.cloud.geminidataanalytics.v1betaB\x11ConversationProtoP\x01Z]cloud.google.com/go/geminidataanalytics/apiv1beta/geminidataanalyticspb;geminidataanalyticspb\xAA\x02'Google.Cloud.GeminiDataAnalytics.V1Beta\xCA\x02'Google\\Cloud\\GeminiDataAnalytics\\V1beta\xEA\x02*Google::Cloud::GeminiDataAnalytics::V1beta\xEAA\x8F\x01\x0A!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}*\x0AcryptoKeys2\x09cryptoKeyb\x06proto3"
, true);
static::$is_initialized = true;
diff --git a/GeminiDataAnalytics/metadata/V1Beta/DataAgent.php b/GeminiDataAnalytics/metadata/V1Beta/DataAgent.php
index 1957aaf49927..34d1024dd55e 100644
--- a/GeminiDataAnalytics/metadata/V1Beta/DataAgent.php
+++ b/GeminiDataAnalytics/metadata/V1Beta/DataAgent.php
@@ -19,7 +19,7 @@ public static function initOnce() {
\GPBMetadata\Google\Cloud\Geminidataanalytics\V1Beta\DataAnalyticsAgent::initOnce();
\GPBMetadata\Google\Protobuf\Timestamp::initOnce();
$pool->internalAddGeneratedFile(
- "\x0A\xB3\x09\x0A8google/cloud/geminidataanalytics/v1beta/data_agent.proto\x12'google.cloud.geminidataanalytics.v1beta\x1A\x19google/api/resource.proto\x1ABgoogle/cloud/geminidataanalytics/v1beta/data_analytics_agent.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xA3\x05\x0A\x09DataAgent\x12[\x0A\x14data_analytics_agent\x18e \x01(\x0B2;.google.cloud.geminidataanalytics.v1beta.DataAnalyticsAgentH\x00\x12\x14\x0A\x04name\x18\x01 \x01(\x09B\x06\xE0A\x01\xE0A\x08\x12\x19\x0A\x0Cdisplay_name\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x18\x0A\x0Bdescription\x18\x04 \x01(\x09B\x03\xE0A\x01\x12S\x0A\x06labels\x18\x05 \x03(\x0B2>.google.cloud.geminidataanalytics.v1beta.DataAgent.LabelsEntryB\x03\xE0A\x01\x124\x0A\x0Bcreate_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x08 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bdelete_time\x18\x0C \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x123\x0A\x0Apurge_time\x18\x0D \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01:\x8A\x01\xEAA\x86\x01\x0A,geminidataanalytics.googleapis.com/DataAgent\x12?projects/{project}/locations/{location}/dataAgents/{data_agent}*\x0AdataAgents2\x09dataAgentB\x06\x0A\x04typeB\x9F\x02\x0A+com.google.cloud.geminidataanalytics.v1betaB\x0EDataAgentProtoP\x01Z]cloud.google.com/go/geminidataanalytics/apiv1beta/geminidataanalyticspb;geminidataanalyticspb\xAA\x02'Google.Cloud.GeminiDataAnalytics.V1Beta\xCA\x02'Google\\Cloud\\GeminiDataAnalytics\\V1beta\xEA\x02*Google::Cloud::GeminiDataAnalytics::V1betab\x06proto3"
+ "\x0A\x80\x0A\x0A8google/cloud/geminidataanalytics/v1beta/data_agent.proto\x12'google.cloud.geminidataanalytics.v1beta\x1A\x19google/api/resource.proto\x1ABgoogle/cloud/geminidataanalytics/v1beta/data_analytics_agent.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\xF0\x05\x0A\x09DataAgent\x12[\x0A\x14data_analytics_agent\x18e \x01(\x0B2;.google.cloud.geminidataanalytics.v1beta.DataAnalyticsAgentH\x00\x12\x14\x0A\x04name\x18\x01 \x01(\x09B\x06\xE0A\x01\xE0A\x08\x12\x19\x0A\x0Cdisplay_name\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x18\x0A\x0Bdescription\x18\x04 \x01(\x09B\x03\xE0A\x01\x12S\x0A\x06labels\x18\x05 \x03(\x0B2>.google.cloud.geminidataanalytics.v1beta.DataAgent.LabelsEntryB\x03\xE0A\x01\x124\x0A\x0Bcreate_time\x18\x07 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bupdate_time\x18\x08 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x124\x0A\x0Bdelete_time\x18\x0C \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x123\x0A\x0Apurge_time\x18\x0D \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12?\x0A\x07kms_key\x18\x0E \x01(\x09B)\xE0A\x01\xFAA#\x0A!cloudkms.googleapis.com/CryptoKeyH\x01\x88\x01\x01\x1A-\x0A\x0BLabelsEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01:\x8A\x01\xEAA\x86\x01\x0A,geminidataanalytics.googleapis.com/DataAgent\x12?projects/{project}/locations/{location}/dataAgents/{data_agent}*\x0AdataAgents2\x09dataAgentB\x06\x0A\x04typeB\x0A\x0A\x08_kms_keyB\x9F\x02\x0A+com.google.cloud.geminidataanalytics.v1betaB\x0EDataAgentProtoP\x01Z]cloud.google.com/go/geminidataanalytics/apiv1beta/geminidataanalyticspb;geminidataanalyticspb\xAA\x02'Google.Cloud.GeminiDataAnalytics.V1Beta\xCA\x02'Google\\Cloud\\GeminiDataAnalytics\\V1beta\xEA\x02*Google::Cloud::GeminiDataAnalytics::V1betab\x06proto3"
, true);
static::$is_initialized = true;
diff --git a/GeminiDataAnalytics/metadata/V1Beta/DataChatService.php b/GeminiDataAnalytics/metadata/V1Beta/DataChatService.php
index 7b6179445ba7..c7b4deae7a9b 100644
--- a/GeminiDataAnalytics/metadata/V1Beta/DataChatService.php
+++ b/GeminiDataAnalytics/metadata/V1Beta/DataChatService.php
@@ -26,7 +26,7 @@ public static function initOnce() {
\GPBMetadata\Google\Protobuf\Struct::initOnce();
\GPBMetadata\Google\Protobuf\Timestamp::initOnce();
$pool->internalAddGeneratedFile(
- "\x0A\x9CO\x0A?google/cloud/geminidataanalytics/v1beta/data_chat_service.proto\x12'google.cloud.geminidataanalytics.v1beta\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A5google/cloud/geminidataanalytics/v1beta/context.proto\x1A:google/cloud/geminidataanalytics/v1beta/conversation.proto\x1A9google/cloud/geminidataanalytics/v1beta/credentials.proto\x1A8google/cloud/geminidataanalytics/v1beta/datasource.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A\x1Cgoogle/protobuf/struct.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\x90\x02\x0A\x10QueryDataRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12\x13\x0A\x06prompt\x18\x02 \x01(\x09B\x03\xE0A\x02\x12O\x0A\x07context\x18\x03 \x01(\x0B29.google.cloud.geminidataanalytics.v1beta.QueryDataContextB\x03\xE0A\x02\x12[\x0A\x12generation_options\x18\x04 \x01(\x0B2:.google.cloud.geminidataanalytics.v1beta.GenerationOptionsB\x03\xE0A\x01\"\xB8\x01\x0A\x11GenerationOptions\x12\"\x0A\x15generate_query_result\x18\x01 \x01(\x08B\x03\xE0A\x01\x12-\x0A generate_natural_language_answer\x18\x02 \x01(\x08B\x03\xE0A\x01\x12!\x0A\x14generate_explanation\x18\x03 \x01(\x08B\x03\xE0A\x01\x12-\x0A generate_disambiguation_question\x18\x04 \x01(\x08B\x03\xE0A\x01\"\xF4\x01\x0A\x10QueryDataContext\x12a\x0A\x15datasource_references\x18\x01 \x01(\x0B2=.google.cloud.geminidataanalytics.v1beta.DatasourceReferencesB\x03\xE0A\x02\x12}\x0A\$parameterized_secure_view_parameters\x18\x02 \x01(\x0B2J.google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParametersB\x03\xE0A\x01\"\xCB\x01\x0A!ParameterizedSecureViewParameters\x12s\x0A\x0Aparameters\x18\x01 \x03(\x0B2Z.google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters.ParametersEntryB\x03\xE0A\x01\x1A1\x0A\x0FParametersEntry\x12\x0B\x0A\x03key\x18\x01 \x01(\x09\x12\x0D\x0A\x05value\x18\x02 \x01(\x09:\x028\x01\"\xDE\x01\x0A\x11QueryDataResponse\x12\x17\x0A\x0Fgenerated_query\x18\x01 \x01(\x09\x12\x1A\x0A\x12intent_explanation\x18\x02 \x01(\x09\x12R\x0A\x0Cquery_result\x18\x03 \x01(\x0B2<.google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult\x12\x1F\x0A\x17natural_language_answer\x18\x04 \x01(\x09\x12\x1F\x0A\x17disambiguation_question\x18\x05 \x03(\x09\"\xA4\x03\x0A\x13ExecutedQueryResult\x12T\x0A\x07columns\x18\x01 \x03(\x0B2C.google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Column\x12N\x0A\x04rows\x18\x02 \x03(\x0B2@.google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Row\x12\x17\x0A\x0Ftotal_row_count\x18\x03 \x01(\x03\x12\x16\x0A\x0Epartial_result\x18\x04 \x01(\x08\x12\x1D\x0A\x15query_execution_error\x18\x05 \x01(\x09\x1A\$\x0A\x06Column\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12\x0C\x0A\x04type\x18\x02 \x01(\x09\x1A\x16\x0A\x05Value\x12\x0D\x0A\x05value\x18\x01 \x01(\x09\x1AY\x0A\x03Row\x12R\x0A\x06values\x18\x01 \x03(\x0B2B.google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Value\"\xA4\x01\x0A\x13ListMessagesRequest\x12G\x0A\x06parent\x18\x01 \x01(\x09B7\xE0A\x02\xFAA1\x0A/geminidataanalytics.googleapis.com/Conversation\x12\x16\x0A\x09page_size\x18\x03 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x05 \x01(\x09B\x03\xE0A\x01\"z\x0A\x14ListMessagesResponse\x12I\x0A\x08messages\x18\x01 \x03(\x0B27.google.cloud.geminidataanalytics.v1beta.StorageMessage\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"g\x0A\x0EStorageMessage\x12\x12\x0A\x0Amessage_id\x18\x01 \x01(\x09\x12A\x0A\x07message\x18\x02 \x01(\x0B20.google.cloud.geminidataanalytics.v1beta.Message\"\xFA\x05\x0A\x0BChatRequest\x12O\x0A\x0Einline_context\x18e \x01(\x0B20.google.cloud.geminidataanalytics.v1beta.ContextB\x03\xE0A\x01H\x00\x12e\x0A\x16conversation_reference\x18g \x01(\x0B2>.google.cloud.geminidataanalytics.v1beta.ConversationReferenceB\x03\xE0A\x01H\x00\x12\\\x0A\x12data_agent_context\x18h \x01(\x0B29.google.cloud.geminidataanalytics.v1beta.DataAgentContextB\x03\xE0A\x01H\x00\x12u\x0A\x1Fclient_managed_resource_context\x18i \x01(\x0B2E.google.cloud.geminidataanalytics.v1beta.ClientManagedResourceContextB\x03\xE0A\x01H\x00\x12F\x0A\x07project\x18\x01 \x01(\x09B5\x18\x01\xE0A\x01\xFAA-\x0A+cloudresourcemanager.googleapis.com/Project\x12\x13\x0A\x06parent\x18\x03 \x01(\x09B\x03\xE0A\x02\x12G\x0A\x08messages\x18\x02 \x03(\x0B20.google.cloud.geminidataanalytics.v1beta.MessageB\x03\xE0A\x02\x12]\x0A\x0Dthinking_mode\x18\x09 \x01(\x0E2A.google.cloud.geminidataanalytics.v1beta.ChatRequest.ThinkingModeB\x03\xE0A\x01\"E\x0A\x0CThinkingMode\x12\x1D\x0A\x19THINKING_MODE_UNSPECIFIED\x10\x00\x12\x08\x0A\x04FAST\x10\x01\x12\x0C\x0A\x08THINKING\x10\x02B\x12\x0A\x10context_provider\"\xE3\x02\x0A\x10DataAgentContext\x12H\x0A\x0Adata_agent\x18\x01 \x01(\x09B4\xE0A\x02\xFAA.\x0A,geminidataanalytics.googleapis.com/DataAgent\x12N\x0A\x0Bcredentials\x18\x02 \x01(\x0B24.google.cloud.geminidataanalytics.v1beta.CredentialsB\x03\xE0A\x01\x12f\x0A\x0Fcontext_version\x18\x03 \x01(\x0E2H.google.cloud.geminidataanalytics.v1beta.DataAgentContext.ContextVersionB\x03\xE0A\x01\"M\x0A\x0EContextVersion\x12\x1F\x0A\x1BCONTEXT_VERSION_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07STAGING\x10\x01\x12\x0D\x0A\x09PUBLISHED\x10\x02\"\xC2\x01\x0A\x15ConversationReference\x12M\x0A\x0Cconversation\x18\x01 \x01(\x09B7\xE0A\x02\xFAA1\x0A/geminidataanalytics.googleapis.com/Conversation\x12Z\x0A\x12data_agent_context\x18\x03 \x01(\x0B29.google.cloud.geminidataanalytics.v1beta.DataAgentContextB\x03\xE0A\x02\"\xA2\x01\x0A\x1CClientManagedResourceContext\x12M\x0A\x0Einline_context\x18\x01 \x01(\x0B20.google.cloud.geminidataanalytics.v1beta.ContextB\x03\xE0A\x02\x12\x1C\x0A\x0Fconversation_id\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08agent_id\x18\x03 \x01(\x09B\x03\xE0A\x01\"\xFE\x01\x0A\x07Message\x12L\x0A\x0Cuser_message\x18\x02 \x01(\x0B24.google.cloud.geminidataanalytics.v1beta.UserMessageH\x00\x12P\x0A\x0Esystem_message\x18\x03 \x01(\x0B26.google.cloud.geminidataanalytics.v1beta.SystemMessageH\x00\x122\x0A\x09timestamp\x18\x01 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x17\x0A\x0Amessage_id\x18\x04 \x01(\x09B\x03\xE0A\x01B\x06\x0A\x04kind\"%\x0A\x0BUserMessage\x12\x0E\x0A\x04text\x18\x01 \x01(\x09H\x00B\x06\x0A\x04kind\"\xA5\x05\x0A\x0DSystemMessage\x12D\x0A\x04text\x18\x01 \x01(\x0B24.google.cloud.geminidataanalytics.v1beta.TextMessageH\x00\x12H\x0A\x06schema\x18\x02 \x01(\x0B26.google.cloud.geminidataanalytics.v1beta.SchemaMessageH\x00\x12D\x0A\x04data\x18\x03 \x01(\x0B24.google.cloud.geminidataanalytics.v1beta.DataMessageH\x00\x12L\x0A\x08analysis\x18\x04 \x01(\x0B28.google.cloud.geminidataanalytics.v1beta.AnalysisMessageH\x00\x12F\x0A\x05chart\x18\x05 \x01(\x0B25.google.cloud.geminidataanalytics.v1beta.ChartMessageH\x00\x12F\x0A\x05error\x18\x06 \x01(\x0B25.google.cloud.geminidataanalytics.v1beta.ErrorMessageH\x00\x12W\x0A\x0Fexample_queries\x18\x0D \x01(\x0B27.google.cloud.geminidataanalytics.v1beta.ExampleQueriesB\x03\xE0A\x01H\x00\x12[\x0A\x0Dclarification\x18\x0E \x01(\x0B2=.google.cloud.geminidataanalytics.v1beta.ClarificationMessageB\x03\xE0A\x01H\x00\x12\x15\x0A\x08group_id\x18\x0C \x01(\x05H\x01\x88\x01\x01B\x06\x0A\x04kindB\x0B\x0A\x09_group_id\"\xEE\x01\x0A\x0BTextMessage\x12\x12\x0A\x05parts\x18\x01 \x03(\x09B\x03\xE0A\x01\x12U\x0A\x09text_type\x18\x02 \x01(\x0E2=.google.cloud.geminidataanalytics.v1beta.TextMessage.TextTypeB\x03\xE0A\x01\x12\x1E\x0A\x11thought_signature\x18\x03 \x01(\x0CB\x03\xE0A\x01\"T\x0A\x08TextType\x12\x19\x0A\x15TEXT_TYPE_UNSPECIFIED\x10\x00\x12\x12\x0A\x0EFINAL_RESPONSE\x10\x01\x12\x0B\x0A\x07THOUGHT\x10\x02\x12\x0C\x0A\x08PROGRESS\x10\x03\"\xA7\x01\x0A\x0DSchemaMessage\x12E\x0A\x05query\x18\x01 \x01(\x0B24.google.cloud.geminidataanalytics.v1beta.SchemaQueryH\x00\x12G\x0A\x06result\x18\x02 \x01(\x0B25.google.cloud.geminidataanalytics.v1beta.SchemaResultH\x00B\x06\x0A\x04kind\"\$\x0A\x0BSchemaQuery\x12\x15\x0A\x08question\x18\x01 \x01(\x09B\x03\xE0A\x01\"]\x0A\x0CSchemaResult\x12M\x0A\x0Bdatasources\x18\x01 \x03(\x0B23.google.cloud.geminidataanalytics.v1beta.DatasourceB\x03\xE0A\x01\"\xE5\x02\x0A\x0BDataMessage\x12C\x0A\x05query\x18\x01 \x01(\x0B22.google.cloud.geminidataanalytics.v1beta.DataQueryH\x00\x12\x17\x0A\x0Dgenerated_sql\x18\x02 \x01(\x09H\x00\x12E\x0A\x06result\x18\x03 \x01(\x0B23.google.cloud.geminidataanalytics.v1beta.DataResultH\x00\x12Z\x0A\x16generated_looker_query\x18\x04 \x01(\x0B24.google.cloud.geminidataanalytics.v1beta.LookerQueryB\x02\x18\x01H\x00\x12M\x0A\x0Dbig_query_job\x18\x05 \x01(\x0B24.google.cloud.geminidataanalytics.v1beta.BigQueryJobH\x00B\x06\x0A\x04kind\"\xDF\x01\x0A\x09DataQuery\x12K\x0A\x06looker\x18\x04 \x01(\x0B24.google.cloud.geminidataanalytics.v1beta.LookerQueryB\x03\xE0A\x01H\x00\x12\x15\x0A\x08question\x18\x01 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04name\x18\x03 \x01(\x09B\x03\xE0A\x01\x12M\x0A\x0Bdatasources\x18\x02 \x03(\x0B23.google.cloud.geminidataanalytics.v1beta.DatasourceB\x03\xE0A\x01B\x0C\x0A\x0Aquery_type\"\xC7\x01\x0A\x0ADataResult\x12\x11\x0A\x04name\x18\x03 \x01(\x09B\x03\xE0A\x01\x12D\x0A\x06schema\x18\x05 \x01(\x0B2/.google.cloud.geminidataanalytics.v1beta.SchemaB\x03\xE0A\x01\x12*\x0A\x04data\x18\x02 \x03(\x0B2\x17.google.protobuf.StructB\x03\xE0A\x01\x124\x0A\x0Eformatted_data\x18\x06 \x03(\x0B2\x17.google.protobuf.StructB\x03\xE0A\x01\"\xF9\x01\x0A\x0BBigQueryJob\x12\x17\x0A\x0Aproject_id\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x06job_id\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x15\x0A\x08location\x18\x05 \x01(\x09B\x03\xE0A\x01\x12_\x0A\x11destination_table\x18\x03 \x01(\x0B2?.google.cloud.geminidataanalytics.v1beta.BigQueryTableReferenceB\x03\xE0A\x01\x12D\x0A\x06schema\x18\x07 \x01(\x0B2/.google.cloud.geminidataanalytics.v1beta.SchemaB\x03\xE0A\x01\"\xB4\x01\x0A\x0FAnalysisMessage\x12G\x0A\x05query\x18\x01 \x01(\x0B26.google.cloud.geminidataanalytics.v1beta.AnalysisQueryH\x00\x12P\x0A\x0Eprogress_event\x18\x02 \x01(\x0B26.google.cloud.geminidataanalytics.v1beta.AnalysisEventH\x00B\x06\x0A\x04kind\"F\x0A\x0DAnalysisQuery\x12\x15\x0A\x08question\x18\x01 \x01(\x09B\x03\xE0A\x01\x12\x1E\x0A\x11data_result_names\x18\x02 \x03(\x09B\x03\xE0A\x01\"\xAA\x02\x0A\x0DAnalysisEvent\x12\x1B\x0A\x11planner_reasoning\x18\x02 \x01(\x09H\x00\x12\x1B\x0A\x11coder_instruction\x18\x03 \x01(\x09H\x00\x12\x0E\x0A\x04code\x18\x04 \x01(\x09H\x00\x12\x1A\x0A\x10execution_output\x18\x05 \x01(\x09H\x00\x12\x19\x0A\x0Fexecution_error\x18\x06 \x01(\x09H\x00\x12 \x0A\x16result_vega_chart_json\x18\x07 \x01(\x09H\x00\x12!\x0A\x17result_natural_language\x18\x08 \x01(\x09H\x00\x12\x19\x0A\x0Fresult_csv_data\x18\x09 \x01(\x09H\x00\x12\x1F\x0A\x15result_reference_data\x18\x0A \x01(\x09H\x00\x12\x0F\x0A\x05error\x18\x0B \x01(\x09H\x00B\x06\x0A\x04kind\"\xA4\x01\x0A\x0CChartMessage\x12D\x0A\x05query\x18\x01 \x01(\x0B23.google.cloud.geminidataanalytics.v1beta.ChartQueryH\x00\x12F\x0A\x06result\x18\x02 \x01(\x0B24.google.cloud.geminidataanalytics.v1beta.ChartResultH\x00B\x06\x0A\x04kind\"F\x0A\x0AChartQuery\x12\x19\x0A\x0Cinstructions\x18\x01 \x01(\x09B\x03\xE0A\x01\x12\x1D\x0A\x10data_result_name\x18\x02 \x01(\x09B\x03\xE0A\x01\"\x83\x01\x0A\x0BChartResult\x121\x0A\x0Bvega_config\x18\x02 \x01(\x0B2\x17.google.protobuf.StructB\x03\xE0A\x01\x12A\x0A\x05image\x18\x03 \x01(\x0B2-.google.cloud.geminidataanalytics.v1beta.BlobB\x03\xE0A\x01\"!\x0A\x0CErrorMessage\x12\x11\x0A\x04text\x18\x01 \x01(\x09B\x03\xE0A\x03\"\xF3\x03\x0A\x15ClarificationQuestion\x12\x15\x0A\x08question\x18\x01 \x01(\x09B\x03\xE0A\x02\x12i\x0A\x0Eselection_mode\x18\x02 \x01(\x0E2L.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionModeB\x03\xE0A\x02\x12\x14\x0A\x07options\x18\x03 \x03(\x09B\x03\xE0A\x02\x12\x82\x01\x0A\x1Bclarification_question_type\x18\x04 \x01(\x0E2X.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.ClarificationQuestionTypeB\x03\xE0A\x01\"T\x0A\x0DSelectionMode\x12\x1E\x0A\x1ASELECTION_MODE_UNSPECIFIED\x10\x00\x12\x11\x0A\x0DSINGLE_SELECT\x10\x01\x12\x10\x0A\x0CMULTI_SELECT\x10\x02\"g\x0A\x19ClarificationQuestionType\x12+\x0A'CLARIFICATION_QUESTION_TYPE_UNSPECIFIED\x10\x00\x12\x11\x0A\x0DFILTER_VALUES\x10\x01\x12\x0A\x0A\x06FIELDS\x10\x02\"n\x0A\x14ClarificationMessage\x12V\x0A\x09questions\x18\x01 \x03(\x0B2>.google.cloud.geminidataanalytics.v1beta.ClarificationQuestionB\x03\xE0A\x02\"e\x0A\x0EExampleQueries\x12S\x0A\x0Fexample_queries\x18\x01 \x03(\x0B25.google.cloud.geminidataanalytics.v1beta.ExampleQueryB\x03\xE0A\x01\"1\x0A\x04Blob\x12\x16\x0A\x09mime_type\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x11\x0A\x04data\x18\x02 \x01(\x0CB\x03\xE0A\x022\xAE\x0C\x0A\x0FDataChatService\x12\xA9\x01\x0A\x04Chat\x124.google.cloud.geminidataanalytics.v1beta.ChatRequest\x1A0.google.cloud.geminidataanalytics.v1beta.Message\"7\x82\xD3\xE4\x93\x021\",/v1beta/{parent=projects/*/locations/*}:chat:\x01*0\x01\x12\x82\x02\x0A\x12CreateConversation\x12B.google.cloud.geminidataanalytics.v1beta.CreateConversationRequest\x1A5.google.cloud.geminidataanalytics.v1beta.Conversation\"q\xDAA#parent,conversation,conversation_id\x82\xD3\xE4\x93\x02E\"5/v1beta/{parent=projects/*/locations/*}/conversations:\x0Cconversation\x12\xB6\x01\x0A\x12DeleteConversation\x12B.google.cloud.geminidataanalytics.v1beta.DeleteConversationRequest\x1A\x16.google.protobuf.Empty\"D\xDAA\x04name\x82\xD3\xE4\x93\x027*5/v1beta/{name=projects/*/locations/*/conversations/*}\x12\xCF\x01\x0A\x0FGetConversation\x12?.google.cloud.geminidataanalytics.v1beta.GetConversationRequest\x1A5.google.cloud.geminidataanalytics.v1beta.Conversation\"D\xDAA\x04name\x82\xD3\xE4\x93\x027\x125/v1beta/{name=projects/*/locations/*/conversations/*}\x12\xE2\x01\x0A\x11ListConversations\x12A.google.cloud.geminidataanalytics.v1beta.ListConversationsRequest\x1AB.google.cloud.geminidataanalytics.v1beta.ListConversationsResponse\"F\xDAA\x06parent\x82\xD3\xE4\x93\x027\x125/v1beta/{parent=projects/*/locations/*}/conversations\x12\xDE\x01\x0A\x0CListMessages\x12<.google.cloud.geminidataanalytics.v1beta.ListMessagesRequest\x1A=.google.cloud.geminidataanalytics.v1beta.ListMessagesResponse\"Q\xDAA\x06parent\x82\xD3\xE4\x93\x02B\x12@/v1beta/{parent=projects/*/locations/*/conversations/*}/messages\x12\xC0\x01\x0A\x09QueryData\x129.google.cloud.geminidataanalytics.v1beta.QueryDataRequest\x1A:.google.cloud.geminidataanalytics.v1beta.QueryDataResponse\"<\x82\xD3\xE4\x93\x026\"1/v1beta/{parent=projects/*/locations/*}:queryData:\x01*\x1AV\xCAA\"geminidataanalytics.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xA5\x02\x0A+com.google.cloud.geminidataanalytics.v1betaB\x14DataChatServiceProtoP\x01Z]cloud.google.com/go/geminidataanalytics/apiv1beta/geminidataanalyticspb;geminidataanalyticspb\xAA\x02'Google.Cloud.GeminiDataAnalytics.V1Beta\xCA\x02'Google\\Cloud\\GeminiDataAnalytics\\V1beta\xEA\x02*Google::Cloud::GeminiDataAnalytics::V1betab\x06proto3"
+ "\x0A\xF3S\x0A?google/cloud/geminidataanalytics/v1beta/data_chat_service.proto\x12'google.cloud.geminidataanalytics.v1beta\x1A\x17google/api/client.proto\x1A\x1Fgoogle/api/field_behavior.proto\x1A\x19google/api/resource.proto\x1A5google/cloud/geminidataanalytics/v1beta/context.proto\x1A:google/cloud/geminidataanalytics/v1beta/conversation.proto\x1A9google/cloud/geminidataanalytics/v1beta/credentials.proto\x1A8google/cloud/geminidataanalytics/v1beta/datasource.proto\x1A\x1Bgoogle/protobuf/empty.proto\x1A\x1Cgoogle/protobuf/struct.proto\x1A\x1Fgoogle/protobuf/timestamp.proto\"\x90\x02\x0A\x10QueryDataRequest\x129\x0A\x06parent\x18\x01 \x01(\x09B)\xE0A\x02\xFAA#\x0A!locations.googleapis.com/Location\x12\x13\x0A\x06prompt\x18\x02 \x01(\x09B\x03\xE0A\x02\x12O\x0A\x07context\x18\x03 \x01(\x0B29.google.cloud.geminidataanalytics.v1beta.QueryDataContextB\x03\xE0A\x02\x12[\x0A\x12generation_options\x18\x04 \x01(\x0B2:.google.cloud.geminidataanalytics.v1beta.GenerationOptionsB\x03\xE0A\x01\"\xB8\x01\x0A\x11GenerationOptions\x12\"\x0A\x15generate_query_result\x18\x01 \x01(\x08B\x03\xE0A\x01\x12-\x0A generate_natural_language_answer\x18\x02 \x01(\x08B\x03\xE0A\x01\x12!\x0A\x14generate_explanation\x18\x03 \x01(\x08B\x03\xE0A\x01\x12-\x0A generate_disambiguation_question\x18\x04 \x01(\x08B\x03\xE0A\x01\"\xF4\x01\x0A\x10QueryDataContext\x12a\x0A\x15datasource_references\x18\x01 \x01(\x0B2=.google.cloud.geminidataanalytics.v1beta.DatasourceReferencesB\x03\xE0A\x02\x12}\x0A\$parameterized_secure_view_parameters\x18\x02 \x01(\x0B2J.google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParametersB\x03\xE0A\x01\"\xC5\x01\x0A!ParameterizedSecureViewParameters\x12m\x0A\x0Aparameters\x18\x01 \x03(\x0B2T.google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters.ParameterB\x03\xE0A\x01\x1A1\x0A\x09Parameter\x12\x10\x0A\x03key\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x12\x0A\x05value\x18\x02 \x01(\x09B\x03\xE0A\x02\"\xDE\x01\x0A\x11QueryDataResponse\x12\x17\x0A\x0Fgenerated_query\x18\x01 \x01(\x09\x12\x1A\x0A\x12intent_explanation\x18\x02 \x01(\x09\x12R\x0A\x0Cquery_result\x18\x03 \x01(\x0B2<.google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult\x12\x1F\x0A\x17natural_language_answer\x18\x04 \x01(\x09\x12\x1F\x0A\x17disambiguation_question\x18\x05 \x03(\x09\"\xA4\x03\x0A\x13ExecutedQueryResult\x12T\x0A\x07columns\x18\x01 \x03(\x0B2C.google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Column\x12N\x0A\x04rows\x18\x02 \x03(\x0B2@.google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Row\x12\x17\x0A\x0Ftotal_row_count\x18\x03 \x01(\x03\x12\x16\x0A\x0Epartial_result\x18\x04 \x01(\x08\x12\x1D\x0A\x15query_execution_error\x18\x05 \x01(\x09\x1A\$\x0A\x06Column\x12\x0C\x0A\x04name\x18\x01 \x01(\x09\x12\x0C\x0A\x04type\x18\x02 \x01(\x09\x1A\x16\x0A\x05Value\x12\x0D\x0A\x05value\x18\x01 \x01(\x09\x1AY\x0A\x03Row\x12R\x0A\x06values\x18\x01 \x03(\x0B2B.google.cloud.geminidataanalytics.v1beta.ExecutedQueryResult.Value\"\xA4\x01\x0A\x13ListMessagesRequest\x12G\x0A\x06parent\x18\x01 \x01(\x09B7\xE0A\x02\xFAA1\x0A/geminidataanalytics.googleapis.com/Conversation\x12\x16\x0A\x09page_size\x18\x03 \x01(\x05B\x03\xE0A\x01\x12\x17\x0A\x0Apage_token\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x06filter\x18\x05 \x01(\x09B\x03\xE0A\x01\"z\x0A\x14ListMessagesResponse\x12I\x0A\x08messages\x18\x01 \x03(\x0B27.google.cloud.geminidataanalytics.v1beta.StorageMessage\x12\x17\x0A\x0Fnext_page_token\x18\x02 \x01(\x09\"g\x0A\x0EStorageMessage\x12\x12\x0A\x0Amessage_id\x18\x01 \x01(\x09\x12A\x0A\x07message\x18\x02 \x01(\x0B20.google.cloud.geminidataanalytics.v1beta.Message\"\xBF\x08\x0A\x0BChatRequest\x12O\x0A\x0Einline_context\x18e \x01(\x0B20.google.cloud.geminidataanalytics.v1beta.ContextB\x03\xE0A\x01H\x00\x12e\x0A\x16conversation_reference\x18g \x01(\x0B2>.google.cloud.geminidataanalytics.v1beta.ConversationReferenceB\x03\xE0A\x01H\x00\x12\\\x0A\x12data_agent_context\x18h \x01(\x0B29.google.cloud.geminidataanalytics.v1beta.DataAgentContextB\x03\xE0A\x01H\x00\x12u\x0A\x1Fclient_managed_resource_context\x18i \x01(\x0B2E.google.cloud.geminidataanalytics.v1beta.ClientManagedResourceContextB\x03\xE0A\x01H\x00\x12W\x0A\x0Flooker_settings\x18\x0D \x01(\x0B27.google.cloud.geminidataanalytics.v1beta.LookerSettingsB\x03\xE0A\x01H\x01\x12F\x0A\x07project\x18\x01 \x01(\x09B5\x18\x01\xE0A\x01\xFAA-\x0A+cloudresourcemanager.googleapis.com/Project\x12\x13\x0A\x06parent\x18\x03 \x01(\x09B\x03\xE0A\x02\x12G\x0A\x08messages\x18\x02 \x03(\x0B20.google.cloud.geminidataanalytics.v1beta.MessageB\x03\xE0A\x02\x12N\x0A\x0Bcredentials\x18\x07 \x01(\x0B24.google.cloud.geminidataanalytics.v1beta.CredentialsB\x03\xE0A\x01\x12]\x0A\x0Dthinking_mode\x18\x09 \x01(\x0E2A.google.cloud.geminidataanalytics.v1beta.ChatRequest.ThinkingModeB\x03\xE0A\x01\x12N\x0A\x05model\x18\x0B \x01(\x0E2:.google.cloud.geminidataanalytics.v1beta.ChatRequest.ModelB\x03\xE0A\x01\"E\x0A\x0CThinkingMode\x12\x1D\x0A\x19THINKING_MODE_UNSPECIFIED\x10\x00\x12\x08\x0A\x04FAST\x10\x01\x12\x0C\x0A\x08THINKING\x10\x02\"3\x0A\x05Model\x12\x15\x0A\x11MODEL_UNSPECIFIED\x10\x00\x12\x13\x0A\x0FLATEST_GA_MODEL\x10\x01B\x12\x0A\x10context_providerB\x15\x0A\x13datasource_settings\"\xE5\x02\x0A\x10DataAgentContext\x12H\x0A\x0Adata_agent\x18\x01 \x01(\x09B4\xE0A\x02\xFAA.\x0A,geminidataanalytics.googleapis.com/DataAgent\x12P\x0A\x0Bcredentials\x18\x02 \x01(\x0B24.google.cloud.geminidataanalytics.v1beta.CredentialsB\x05\x18\x01\xE0A\x01\x12f\x0A\x0Fcontext_version\x18\x03 \x01(\x0E2H.google.cloud.geminidataanalytics.v1beta.DataAgentContext.ContextVersionB\x03\xE0A\x01\"M\x0A\x0EContextVersion\x12\x1F\x0A\x1BCONTEXT_VERSION_UNSPECIFIED\x10\x00\x12\x0B\x0A\x07STAGING\x10\x01\x12\x0D\x0A\x09PUBLISHED\x10\x02\"\xC2\x01\x0A\x15ConversationReference\x12M\x0A\x0Cconversation\x18\x01 \x01(\x09B7\xE0A\x02\xFAA1\x0A/geminidataanalytics.googleapis.com/Conversation\x12Z\x0A\x12data_agent_context\x18\x03 \x01(\x0B29.google.cloud.geminidataanalytics.v1beta.DataAgentContextB\x03\xE0A\x02\"\xA2\x01\x0A\x1CClientManagedResourceContext\x12M\x0A\x0Einline_context\x18\x01 \x01(\x0B20.google.cloud.geminidataanalytics.v1beta.ContextB\x03\xE0A\x02\x12\x1C\x0A\x0Fconversation_id\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08agent_id\x18\x03 \x01(\x09B\x03\xE0A\x01\"\xFE\x01\x0A\x07Message\x12L\x0A\x0Cuser_message\x18\x02 \x01(\x0B24.google.cloud.geminidataanalytics.v1beta.UserMessageH\x00\x12P\x0A\x0Esystem_message\x18\x03 \x01(\x0B26.google.cloud.geminidataanalytics.v1beta.SystemMessageH\x00\x122\x0A\x09timestamp\x18\x01 \x01(\x0B2\x1A.google.protobuf.TimestampB\x03\xE0A\x03\x12\x17\x0A\x0Amessage_id\x18\x04 \x01(\x09B\x03\xE0A\x01B\x06\x0A\x04kind\".\x0A\x0ELookerSettings\x12\x1C\x0A\x0Fenable_dev_mode\x18\x01 \x01(\x08B\x03\xE0A\x01\"%\x0A\x0BUserMessage\x12\x0E\x0A\x04text\x18\x01 \x01(\x09H\x00B\x06\x0A\x04kind\"\xF1\x05\x0A\x0DSystemMessage\x12D\x0A\x04text\x18\x01 \x01(\x0B24.google.cloud.geminidataanalytics.v1beta.TextMessageH\x00\x12H\x0A\x06schema\x18\x02 \x01(\x0B26.google.cloud.geminidataanalytics.v1beta.SchemaMessageH\x00\x12D\x0A\x04data\x18\x03 \x01(\x0B24.google.cloud.geminidataanalytics.v1beta.DataMessageH\x00\x12L\x0A\x08analysis\x18\x04 \x01(\x0B28.google.cloud.geminidataanalytics.v1beta.AnalysisMessageH\x00\x12F\x0A\x05chart\x18\x05 \x01(\x0B25.google.cloud.geminidataanalytics.v1beta.ChartMessageH\x00\x12F\x0A\x05error\x18\x06 \x01(\x0B25.google.cloud.geminidataanalytics.v1beta.ErrorMessageH\x00\x12W\x0A\x0Fexample_queries\x18\x0D \x01(\x0B27.google.cloud.geminidataanalytics.v1beta.ExampleQueriesB\x03\xE0A\x01H\x00\x12]\x0A\x0Dclarification\x18\x0E \x01(\x0B2=.google.cloud.geminidataanalytics.v1beta.ClarificationMessageB\x05\x18\x01\xE0A\x01H\x00\x12\x15\x0A\x08group_id\x18\x0C \x01(\x05H\x01\x88\x01\x01\x12H\x0A\x08citation\x18\x0F \x01(\x0B21.google.cloud.geminidataanalytics.v1beta.CitationB\x03\xE0A\x03B\x06\x0A\x04kindB\x0B\x0A\x09_group_id\"\x86\x02\x0A\x0BTextMessage\x12\x12\x0A\x05parts\x18\x01 \x03(\x09B\x03\xE0A\x01\x12U\x0A\x09text_type\x18\x02 \x01(\x0E2=.google.cloud.geminidataanalytics.v1beta.TextMessage.TextTypeB\x03\xE0A\x01\x12\x1E\x0A\x11thought_signature\x18\x03 \x01(\x0CB\x03\xE0A\x01\"l\x0A\x08TextType\x12\x19\x0A\x15TEXT_TYPE_UNSPECIFIED\x10\x00\x12\x12\x0A\x0EFINAL_RESPONSE\x10\x01\x12\x0B\x0A\x07THOUGHT\x10\x02\x12\x0C\x0A\x08PROGRESS\x10\x03\x12\x16\x0A\x12FOLLOWUP_QUESTIONS\x10\x04\"\xA7\x01\x0A\x0DSchemaMessage\x12E\x0A\x05query\x18\x01 \x01(\x0B24.google.cloud.geminidataanalytics.v1beta.SchemaQueryH\x00\x12G\x0A\x06result\x18\x02 \x01(\x0B25.google.cloud.geminidataanalytics.v1beta.SchemaResultH\x00B\x06\x0A\x04kind\"\$\x0A\x0BSchemaQuery\x12\x15\x0A\x08question\x18\x01 \x01(\x09B\x03\xE0A\x01\"]\x0A\x0CSchemaResult\x12M\x0A\x0Bdatasources\x18\x01 \x03(\x0B23.google.cloud.geminidataanalytics.v1beta.DatasourceB\x03\xE0A\x01\"\xB5\x03\x0A\x0BDataMessage\x12C\x0A\x05query\x18\x01 \x01(\x0B22.google.cloud.geminidataanalytics.v1beta.DataQueryH\x00\x12\x17\x0A\x0Dgenerated_sql\x18\x02 \x01(\x09H\x00\x12E\x0A\x06result\x18\x03 \x01(\x0B23.google.cloud.geminidataanalytics.v1beta.DataResultH\x00\x12Z\x0A\x16generated_looker_query\x18\x04 \x01(\x0B24.google.cloud.geminidataanalytics.v1beta.LookerQueryB\x02\x18\x01H\x00\x12M\x0A\x0Dbig_query_job\x18\x05 \x01(\x0B24.google.cloud.geminidataanalytics.v1beta.BigQueryJobH\x00\x12N\x0A\x0Dmatched_query\x18\x06 \x01(\x0B25.google.cloud.geminidataanalytics.v1beta.MatchedQueryH\x00B\x06\x0A\x04kind\"\xDF\x01\x0A\x09DataQuery\x12K\x0A\x06looker\x18\x04 \x01(\x0B24.google.cloud.geminidataanalytics.v1beta.LookerQueryB\x03\xE0A\x01H\x00\x12\x15\x0A\x08question\x18\x01 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04name\x18\x03 \x01(\x09B\x03\xE0A\x01\x12M\x0A\x0Bdatasources\x18\x02 \x03(\x0B23.google.cloud.geminidataanalytics.v1beta.DatasourceB\x03\xE0A\x01B\x0C\x0A\x0Aquery_type\"\xC7\x01\x0A\x0ADataResult\x12\x11\x0A\x04name\x18\x03 \x01(\x09B\x03\xE0A\x01\x12D\x0A\x06schema\x18\x05 \x01(\x0B2/.google.cloud.geminidataanalytics.v1beta.SchemaB\x03\xE0A\x01\x12*\x0A\x04data\x18\x02 \x03(\x0B2\x17.google.protobuf.StructB\x03\xE0A\x01\x124\x0A\x0Eformatted_data\x18\x06 \x03(\x0B2\x17.google.protobuf.StructB\x03\xE0A\x01\"\xF9\x01\x0A\x0BBigQueryJob\x12\x17\x0A\x0Aproject_id\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x06job_id\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x15\x0A\x08location\x18\x05 \x01(\x09B\x03\xE0A\x01\x12_\x0A\x11destination_table\x18\x03 \x01(\x0B2?.google.cloud.geminidataanalytics.v1beta.BigQueryTableReferenceB\x03\xE0A\x01\x12D\x0A\x06schema\x18\x07 \x01(\x0B2/.google.cloud.geminidataanalytics.v1beta.SchemaB\x03\xE0A\x01\"\xB4\x01\x0A\x0FAnalysisMessage\x12G\x0A\x05query\x18\x01 \x01(\x0B26.google.cloud.geminidataanalytics.v1beta.AnalysisQueryH\x00\x12P\x0A\x0Eprogress_event\x18\x02 \x01(\x0B26.google.cloud.geminidataanalytics.v1beta.AnalysisEventH\x00B\x06\x0A\x04kind\"F\x0A\x0DAnalysisQuery\x12\x15\x0A\x08question\x18\x01 \x01(\x09B\x03\xE0A\x01\x12\x1E\x0A\x11data_result_names\x18\x02 \x03(\x09B\x03\xE0A\x01\"\xAA\x02\x0A\x0DAnalysisEvent\x12\x1B\x0A\x11planner_reasoning\x18\x02 \x01(\x09H\x00\x12\x1B\x0A\x11coder_instruction\x18\x03 \x01(\x09H\x00\x12\x0E\x0A\x04code\x18\x04 \x01(\x09H\x00\x12\x1A\x0A\x10execution_output\x18\x05 \x01(\x09H\x00\x12\x19\x0A\x0Fexecution_error\x18\x06 \x01(\x09H\x00\x12 \x0A\x16result_vega_chart_json\x18\x07 \x01(\x09H\x00\x12!\x0A\x17result_natural_language\x18\x08 \x01(\x09H\x00\x12\x19\x0A\x0Fresult_csv_data\x18\x09 \x01(\x09H\x00\x12\x1F\x0A\x15result_reference_data\x18\x0A \x01(\x09H\x00\x12\x0F\x0A\x05error\x18\x0B \x01(\x09H\x00B\x06\x0A\x04kind\"\xA4\x01\x0A\x0CChartMessage\x12D\x0A\x05query\x18\x01 \x01(\x0B23.google.cloud.geminidataanalytics.v1beta.ChartQueryH\x00\x12F\x0A\x06result\x18\x02 \x01(\x0B24.google.cloud.geminidataanalytics.v1beta.ChartResultH\x00B\x06\x0A\x04kind\"F\x0A\x0AChartQuery\x12\x19\x0A\x0Cinstructions\x18\x01 \x01(\x09B\x03\xE0A\x01\x12\x1D\x0A\x10data_result_name\x18\x02 \x01(\x09B\x03\xE0A\x01\"\x83\x01\x0A\x0BChartResult\x121\x0A\x0Bvega_config\x18\x02 \x01(\x0B2\x17.google.protobuf.StructB\x03\xE0A\x01\x12A\x0A\x05image\x18\x03 \x01(\x0B2-.google.cloud.geminidataanalytics.v1beta.BlobB\x03\xE0A\x01\"!\x0A\x0CErrorMessage\x12\x11\x0A\x04text\x18\x01 \x01(\x09B\x03\xE0A\x03\"\x9F\x04\x0A\x15ClarificationQuestion\x12\x17\x0A\x08question\x18\x01 \x01(\x09B\x05\x18\x01\xE0A\x02\x12k\x0A\x0Eselection_mode\x18\x02 \x01(\x0E2L.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionModeB\x05\x18\x01\xE0A\x02\x12\x16\x0A\x07options\x18\x03 \x03(\x09B\x05\x18\x01\xE0A\x02\x12\x84\x01\x0A\x1Bclarification_question_type\x18\x04 \x01(\x0E2X.google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.ClarificationQuestionTypeB\x05\x18\x01\xE0A\x01\"d\x0A\x0DSelectionMode\x12\"\x0A\x1ASELECTION_MODE_UNSPECIFIED\x10\x00\x1A\x02\x08\x01\x12\x15\x0A\x0DSINGLE_SELECT\x10\x01\x1A\x02\x08\x01\x12\x14\x0A\x0CMULTI_SELECT\x10\x02\x1A\x02\x08\x01\x1A\x02\x18\x01\"w\x0A\x19ClarificationQuestionType\x12/\x0A'CLARIFICATION_QUESTION_TYPE_UNSPECIFIED\x10\x00\x1A\x02\x08\x01\x12\x15\x0A\x0DFILTER_VALUES\x10\x01\x1A\x02\x08\x01\x12\x0E\x0A\x06FIELDS\x10\x02\x1A\x02\x08\x01\x1A\x02\x18\x01:\x02\x18\x01\"t\x0A\x14ClarificationMessage\x12X\x0A\x09questions\x18\x01 \x03(\x0B2>.google.cloud.geminidataanalytics.v1beta.ClarificationQuestionB\x05\x18\x01\xE0A\x02:\x02\x18\x01\"e\x0A\x0EExampleQueries\x12S\x0A\x0Fexample_queries\x18\x01 \x03(\x0B25.google.cloud.geminidataanalytics.v1beta.ExampleQueryB\x03\xE0A\x01\"1\x0A\x04Blob\x12\x16\x0A\x09mime_type\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x11\x0A\x04data\x18\x02 \x01(\x0CB\x03\xE0A\x022\xAE\x0C\x0A\x0FDataChatService\x12\xA9\x01\x0A\x04Chat\x124.google.cloud.geminidataanalytics.v1beta.ChatRequest\x1A0.google.cloud.geminidataanalytics.v1beta.Message\"7\x82\xD3\xE4\x93\x021\",/v1beta/{parent=projects/*/locations/*}:chat:\x01*0\x01\x12\x82\x02\x0A\x12CreateConversation\x12B.google.cloud.geminidataanalytics.v1beta.CreateConversationRequest\x1A5.google.cloud.geminidataanalytics.v1beta.Conversation\"q\xDAA#parent,conversation,conversation_id\x82\xD3\xE4\x93\x02E\"5/v1beta/{parent=projects/*/locations/*}/conversations:\x0Cconversation\x12\xB6\x01\x0A\x12DeleteConversation\x12B.google.cloud.geminidataanalytics.v1beta.DeleteConversationRequest\x1A\x16.google.protobuf.Empty\"D\xDAA\x04name\x82\xD3\xE4\x93\x027*5/v1beta/{name=projects/*/locations/*/conversations/*}\x12\xCF\x01\x0A\x0FGetConversation\x12?.google.cloud.geminidataanalytics.v1beta.GetConversationRequest\x1A5.google.cloud.geminidataanalytics.v1beta.Conversation\"D\xDAA\x04name\x82\xD3\xE4\x93\x027\x125/v1beta/{name=projects/*/locations/*/conversations/*}\x12\xE2\x01\x0A\x11ListConversations\x12A.google.cloud.geminidataanalytics.v1beta.ListConversationsRequest\x1AB.google.cloud.geminidataanalytics.v1beta.ListConversationsResponse\"F\xDAA\x06parent\x82\xD3\xE4\x93\x027\x125/v1beta/{parent=projects/*/locations/*}/conversations\x12\xDE\x01\x0A\x0CListMessages\x12<.google.cloud.geminidataanalytics.v1beta.ListMessagesRequest\x1A=.google.cloud.geminidataanalytics.v1beta.ListMessagesResponse\"Q\xDAA\x06parent\x82\xD3\xE4\x93\x02B\x12@/v1beta/{parent=projects/*/locations/*/conversations/*}/messages\x12\xC0\x01\x0A\x09QueryData\x129.google.cloud.geminidataanalytics.v1beta.QueryDataRequest\x1A:.google.cloud.geminidataanalytics.v1beta.QueryDataResponse\"<\x82\xD3\xE4\x93\x026\"1/v1beta/{parent=projects/*/locations/*}:queryData:\x01*\x1AV\xCAA\"geminidataanalytics.googleapis.com\xD2A.https://www.googleapis.com/auth/cloud-platformB\xA5\x02\x0A+com.google.cloud.geminidataanalytics.v1betaB\x14DataChatServiceProtoP\x01Z]cloud.google.com/go/geminidataanalytics/apiv1beta/geminidataanalyticspb;geminidataanalyticspb\xAA\x02'Google.Cloud.GeminiDataAnalytics.V1Beta\xCA\x02'Google\\Cloud\\GeminiDataAnalytics\\V1beta\xEA\x02*Google::Cloud::GeminiDataAnalytics::V1betab\x06proto3"
, true);
static::$is_initialized = true;
diff --git a/GeminiDataAnalytics/metadata/V1Beta/Datasource.php b/GeminiDataAnalytics/metadata/V1Beta/Datasource.php
index 095092236abc..112b8b824467 100644
--- a/GeminiDataAnalytics/metadata/V1Beta/Datasource.php
+++ b/GeminiDataAnalytics/metadata/V1Beta/Datasource.php
@@ -19,7 +19,7 @@ public static function initOnce() {
\GPBMetadata\Google\Cloud\Geminidataanalytics\V1Beta\Credentials::initOnce();
\GPBMetadata\Google\Protobuf\Struct::initOnce();
$pool->internalAddGeneratedFile(
- "\x0A\x9B'\x0A8google/cloud/geminidataanalytics/v1beta/datasource.proto\x12'google.cloud.geminidataanalytics.v1beta\x1A;google/cloud/geminidataanalytics/v1beta/agent_context.proto\x1A9google/cloud/geminidataanalytics/v1beta/credentials.proto\x1A\x1Cgoogle/protobuf/struct.proto\"\xA0\x04\x0A\x14DatasourceReferences\x12N\x0A\x02bq\x18\x01 \x01(\x0B2@.google.cloud.geminidataanalytics.v1beta.BigQueryTableReferencesH\x00\x12U\x0A\x06studio\x18\x02 \x01(\x0B2C.google.cloud.geminidataanalytics.v1beta.StudioDatasourceReferencesH\x00\x12R\x0A\x06looker\x18\x03 \x01(\x0B2@.google.cloud.geminidataanalytics.v1beta.LookerExploreReferencesH\x00\x12L\x0A\x07alloydb\x18\x08 \x01(\x0B29.google.cloud.geminidataanalytics.v1beta.AlloyDbReferenceH\x00\x12V\x0A\x11spanner_reference\x18\x09 \x01(\x0B29.google.cloud.geminidataanalytics.v1beta.SpannerReferenceH\x00\x12Y\x0A\x13cloud_sql_reference\x18\x0A \x01(\x0B2:.google.cloud.geminidataanalytics.v1beta.CloudSqlReferenceH\x00B\x0C\x0A\x0Areferences\"y\x0A\x17BigQueryTableReferences\x12^\x0A\x10table_references\x18\x01 \x03(\x0B2?.google.cloud.geminidataanalytics.v1beta.BigQueryTableReferenceB\x03\xE0A\x01\"\xA7\x01\x0A\x16BigQueryTableReference\x12\x17\x0A\x0Aproject_id\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x17\x0A\x0Adataset_id\x18\x03 \x01(\x09B\x03\xE0A\x02\x12\x15\x0A\x08table_id\x18\x04 \x01(\x09B\x03\xE0A\x02\x12D\x0A\x06schema\x18\x06 \x01(\x0B2/.google.cloud.geminidataanalytics.v1beta.SchemaB\x03\xE0A\x01\"{\x0A\x1AStudioDatasourceReferences\x12]\x0A\x11studio_references\x18\x02 \x03(\x0B2B.google.cloud.geminidataanalytics.v1beta.StudioDatasourceReference\"7\x0A\x19StudioDatasourceReference\x12\x1A\x0A\x0Ddatasource_id\x18\x01 \x01(\x09B\x03\xE0A\x02\"\xDC\x01\x0A\x10AlloyDbReference\x12b\x0A\x12database_reference\x18\x01 \x01(\x0B2A.google.cloud.geminidataanalytics.v1beta.AlloyDbDatabaseReferenceB\x03\xE0A\x02\x12d\x0A\x17agent_context_reference\x18\x03 \x01(\x0B2>.google.cloud.geminidataanalytics.v1beta.AgentContextReferenceB\x03\xE0A\x01\"\xAD\x01\x0A\x18AlloyDbDatabaseReference\x12\x17\x0A\x0Aproject_id\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x06region\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x17\x0A\x0Acluster_id\x18\x03 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Binstance_id\x18\x04 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdatabase_id\x18\x05 \x01(\x09B\x03\xE0A\x02\x12\x16\x0A\x09table_ids\x18\x06 \x03(\x09B\x03\xE0A\x01\"\xDC\x01\x0A\x10SpannerReference\x12b\x0A\x12database_reference\x18\x01 \x01(\x0B2A.google.cloud.geminidataanalytics.v1beta.SpannerDatabaseReferenceB\x03\xE0A\x02\x12d\x0A\x17agent_context_reference\x18\x02 \x01(\x0B2>.google.cloud.geminidataanalytics.v1beta.AgentContextReferenceB\x03\xE0A\x01\"\xB5\x02\x0A\x18SpannerDatabaseReference\x12]\x0A\x06engine\x18\x06 \x01(\x0E2H.google.cloud.geminidataanalytics.v1beta.SpannerDatabaseReference.EngineB\x03\xE0A\x02\x12\x17\x0A\x0Aproject_id\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x06region\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Binstance_id\x18\x03 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdatabase_id\x18\x04 \x01(\x09B\x03\xE0A\x02\x12\x16\x0A\x09table_ids\x18\x05 \x03(\x09B\x03\xE0A\x01\"@\x0A\x06Engine\x12\x16\x0A\x12ENGINE_UNSPECIFIED\x10\x00\x12\x0E\x0A\x0AGOOGLE_SQL\x10\x01\x12\x0E\x0A\x0APOSTGRESQL\x10\x02\"\xDE\x01\x0A\x11CloudSqlReference\x12c\x0A\x12database_reference\x18\x01 \x01(\x0B2B.google.cloud.geminidataanalytics.v1beta.CloudSqlDatabaseReferenceB\x03\xE0A\x02\x12d\x0A\x17agent_context_reference\x18\x02 \x01(\x0B2>.google.cloud.geminidataanalytics.v1beta.AgentContextReferenceB\x03\xE0A\x01\"\xB2\x02\x0A\x19CloudSqlDatabaseReference\x12^\x0A\x06engine\x18\x01 \x01(\x0E2I.google.cloud.geminidataanalytics.v1beta.CloudSqlDatabaseReference.EngineB\x03\xE0A\x02\x12\x17\x0A\x0Aproject_id\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x06region\x18\x03 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Binstance_id\x18\x04 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdatabase_id\x18\x05 \x01(\x09B\x03\xE0A\x02\x12\x16\x0A\x09table_ids\x18\x07 \x03(\x09B\x03\xE0A\x01\";\x0A\x06Engine\x12\x16\x0A\x12ENGINE_UNSPECIFIED\x10\x00\x12\x0E\x0A\x0APOSTGRESQL\x10\x01\x12\x09\x0A\x05MYSQL\x10\x02\"\xCB\x01\x0A\x17LookerExploreReferences\x12`\x0A\x12explore_references\x18\x01 \x03(\x0B2?.google.cloud.geminidataanalytics.v1beta.LookerExploreReferenceB\x03\xE0A\x02\x12N\x0A\x0Bcredentials\x18\x02 \x01(\x0B24.google.cloud.geminidataanalytics.v1beta.CredentialsB\x03\xE0A\x01\"\xA6\x02\x0A\x16LookerExploreReference\x12\x1D\x0A\x13looker_instance_uri\x18\x09 \x01(\x09H\x00\x12j\x0A\x1Cprivate_looker_instance_info\x18\x0A \x01(\x0B2B.google.cloud.geminidataanalytics.v1beta.PrivateLookerInstanceInfoH\x00\x12\x19\x0A\x0Clookml_model\x18\x04 \x01(\x09B\x03\xE0A\x02\x12\x14\x0A\x07explore\x18\x05 \x01(\x09B\x03\xE0A\x02\x12D\x0A\x06schema\x18\x08 \x01(\x0B2/.google.cloud.geminidataanalytics.v1beta.SchemaB\x03\xE0A\x01B\x0A\x0A\x08instance\"W\x0A\x19PrivateLookerInstanceInfo\x12\x1A\x0A\x12looker_instance_id\x18\x01 \x01(\x09\x12\x1E\x0A\x16service_directory_name\x18\x02 \x01(\x09\"\x8A\x05\x0A\x0ADatasource\x12c\x0A\x18bigquery_table_reference\x18\x01 \x01(\x0B2?.google.cloud.geminidataanalytics.v1beta.BigQueryTableReferenceH\x00\x12\x1E\x0A\x14studio_datasource_id\x18\x02 \x01(\x09H\x00\x12c\x0A\x18looker_explore_reference\x18\x04 \x01(\x0B2?.google.cloud.geminidataanalytics.v1beta.LookerExploreReferenceH\x00\x12W\x0A\x12alloy_db_reference\x18\x0C \x01(\x0B29.google.cloud.geminidataanalytics.v1beta.AlloyDbReferenceH\x00\x12V\x0A\x11spanner_reference\x18\x0D \x01(\x0B29.google.cloud.geminidataanalytics.v1beta.SpannerReferenceH\x00\x12Y\x0A\x13cloud_sql_reference\x18\x0E \x01(\x0B2:.google.cloud.geminidataanalytics.v1beta.CloudSqlReferenceH\x00\x12D\x0A\x06schema\x18\x07 \x01(\x0B2/.google.cloud.geminidataanalytics.v1beta.SchemaB\x03\xE0A\x01\x123\x0A\x0Dstruct_schema\x18\x0A \x01(\x0B2\x17.google.protobuf.StructB\x03\xE0A\x01B\x0B\x0A\x09reference\"\xF7\x01\x0A\x06Schema\x12C\x0A\x06fields\x18\x01 \x03(\x0B2..google.cloud.geminidataanalytics.v1beta.FieldB\x03\xE0A\x01\x12\x18\x0A\x0Bdescription\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08synonyms\x18\x03 \x03(\x09B\x03\xE0A\x01\x12\x11\x0A\x04tags\x18\x04 \x03(\x09B\x03\xE0A\x01\x12\x19\x0A\x0Cdisplay_name\x18\x05 \x01(\x09B\x03\xE0A\x01\x12I\x0A\x07filters\x18\x06 \x03(\x0B23.google.cloud.geminidataanalytics.v1beta.DataFilterB\x03\xE0A\x01\"\x99\x02\x0A\x05Field\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04type\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x18\x0A\x0Bdescription\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04mode\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08synonyms\x18\x06 \x03(\x09B\x03\xE0A\x01\x12\x11\x0A\x04tags\x18\x07 \x03(\x09B\x03\xE0A\x01\x12\x19\x0A\x0Cdisplay_name\x18\x08 \x01(\x09B\x03\xE0A\x01\x12F\x0A\x09subfields\x18\x09 \x03(\x0B2..google.cloud.geminidataanalytics.v1beta.FieldB\x03\xE0A\x01\x12\x15\x0A\x08category\x18\x0A \x01(\x09B\x03\xE0A\x01\x12\x19\x0A\x0Cvalue_format\x18\x0B \x01(\x09B\x03\xE0A\x01\"\x80\x01\x0A\x0ADataFilter\x12\x12\x0A\x05field\x18\x01 \x01(\x09B\x03\xE0A\x01\x12\x12\x0A\x05value\x18\x02 \x01(\x09B\x03\xE0A\x01\x12J\x0A\x04type\x18\x03 \x01(\x0E27.google.cloud.geminidataanalytics.v1beta.DataFilterTypeB\x03\xE0A\x01*E\x0A\x0EDataFilterType\x12 \x0A\x1CDATA_FILTER_TYPE_UNSPECIFIED\x10\x00\x12\x11\x0A\x0DALWAYS_FILTER\x10\x01B\xA0\x02\x0A+com.google.cloud.geminidataanalytics.v1betaB\x0FDatasourceProtoP\x01Z]cloud.google.com/go/geminidataanalytics/apiv1beta/geminidataanalyticspb;geminidataanalyticspb\xAA\x02'Google.Cloud.GeminiDataAnalytics.V1Beta\xCA\x02'Google\\Cloud\\GeminiDataAnalytics\\V1beta\xEA\x02*Google::Cloud::GeminiDataAnalytics::V1betab\x06proto3"
+ "\x0A\xC8-\x0A8google/cloud/geminidataanalytics/v1beta/datasource.proto\x12'google.cloud.geminidataanalytics.v1beta\x1A;google/cloud/geminidataanalytics/v1beta/agent_context.proto\x1A9google/cloud/geminidataanalytics/v1beta/credentials.proto\x1A\x1Cgoogle/protobuf/struct.proto\"\xA0\x04\x0A\x14DatasourceReferences\x12N\x0A\x02bq\x18\x01 \x01(\x0B2@.google.cloud.geminidataanalytics.v1beta.BigQueryTableReferencesH\x00\x12U\x0A\x06studio\x18\x02 \x01(\x0B2C.google.cloud.geminidataanalytics.v1beta.StudioDatasourceReferencesH\x00\x12R\x0A\x06looker\x18\x03 \x01(\x0B2@.google.cloud.geminidataanalytics.v1beta.LookerExploreReferencesH\x00\x12L\x0A\x07alloydb\x18\x08 \x01(\x0B29.google.cloud.geminidataanalytics.v1beta.AlloyDbReferenceH\x00\x12V\x0A\x11spanner_reference\x18\x09 \x01(\x0B29.google.cloud.geminidataanalytics.v1beta.SpannerReferenceH\x00\x12Y\x0A\x13cloud_sql_reference\x18\x0A \x01(\x0B2:.google.cloud.geminidataanalytics.v1beta.CloudSqlReferenceH\x00B\x0C\x0A\x0Areferences\"\xEA\x01\x0A\x17BigQueryTableReferences\x12^\x0A\x10table_references\x18\x01 \x03(\x0B2?.google.cloud.geminidataanalytics.v1beta.BigQueryTableReferenceB\x03\xE0A\x01\x12o\x0A\x19property_graph_references\x18\x02 \x03(\x0B2G.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReferenceB\x03\xE0A\x01\"\xA7\x01\x0A\x16BigQueryTableReference\x12\x17\x0A\x0Aproject_id\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x17\x0A\x0Adataset_id\x18\x03 \x01(\x09B\x03\xE0A\x02\x12\x15\x0A\x08table_id\x18\x04 \x01(\x09B\x03\xE0A\x02\x12D\x0A\x06schema\x18\x06 \x01(\x0B2/.google.cloud.geminidataanalytics.v1beta.SchemaB\x03\xE0A\x01\"\x80\x01\x0A\x1AStudioDatasourceReferences\x12b\x0A\x11studio_references\x18\x02 \x03(\x0B2B.google.cloud.geminidataanalytics.v1beta.StudioDatasourceReferenceB\x03\xE0A\x01\"7\x0A\x19StudioDatasourceReference\x12\x1A\x0A\x0Ddatasource_id\x18\x01 \x01(\x09B\x03\xE0A\x02\"\xDC\x01\x0A\x10AlloyDbReference\x12b\x0A\x12database_reference\x18\x01 \x01(\x0B2A.google.cloud.geminidataanalytics.v1beta.AlloyDbDatabaseReferenceB\x03\xE0A\x02\x12d\x0A\x17agent_context_reference\x18\x03 \x01(\x0B2>.google.cloud.geminidataanalytics.v1beta.AgentContextReferenceB\x03\xE0A\x01\"u\x0A\x16DatabaseTableReference\x12\x15\x0A\x08table_id\x18\x01 \x01(\x09B\x03\xE0A\x02\x12D\x0A\x06schema\x18\x02 \x01(\x0B2/.google.cloud.geminidataanalytics.v1beta.SchemaB\x03\xE0A\x01\"\x96\x02\x0A\x18AlloyDbDatabaseReference\x12\x17\x0A\x0Aproject_id\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x06region\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x17\x0A\x0Acluster_id\x18\x03 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Binstance_id\x18\x04 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdatabase_id\x18\x05 \x01(\x09B\x03\xE0A\x02\x12\x16\x0A\x09table_ids\x18\x06 \x03(\x09B\x03\xE0A\x01\x12g\x0A\x19database_table_references\x18\x07 \x03(\x0B2?.google.cloud.geminidataanalytics.v1beta.DatabaseTableReferenceB\x03\xE0A\x01\"\xDC\x01\x0A\x10SpannerReference\x12b\x0A\x12database_reference\x18\x01 \x01(\x0B2A.google.cloud.geminidataanalytics.v1beta.SpannerDatabaseReferenceB\x03\xE0A\x02\x12d\x0A\x17agent_context_reference\x18\x02 \x01(\x0B2>.google.cloud.geminidataanalytics.v1beta.AgentContextReferenceB\x03\xE0A\x01\"\xB5\x03\x0A\x18SpannerDatabaseReference\x12]\x0A\x06engine\x18\x06 \x01(\x0E2H.google.cloud.geminidataanalytics.v1beta.SpannerDatabaseReference.EngineB\x03\xE0A\x02\x12\x17\x0A\x0Aproject_id\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Binstance_id\x18\x03 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdatabase_id\x18\x04 \x01(\x09B\x03\xE0A\x02\x12\x16\x0A\x09table_ids\x18\x05 \x03(\x09B\x03\xE0A\x01\x12g\x0A\x19database_table_references\x18\x07 \x03(\x0B2?.google.cloud.geminidataanalytics.v1beta.DatabaseTableReferenceB\x03\xE0A\x01\x12\x15\x0A\x08priority\x18\x08 \x01(\x09B\x03\xE0A\x01\x12\x13\x0A\x0Brequest_tag\x18\x09 \x01(\x09\"@\x0A\x06Engine\x12\x16\x0A\x12ENGINE_UNSPECIFIED\x10\x00\x12\x0E\x0A\x0AGOOGLE_SQL\x10\x01\x12\x0E\x0A\x0APOSTGRESQL\x10\x02\"\xDE\x01\x0A\x11CloudSqlReference\x12c\x0A\x12database_reference\x18\x01 \x01(\x0B2B.google.cloud.geminidataanalytics.v1beta.CloudSqlDatabaseReferenceB\x03\xE0A\x02\x12d\x0A\x17agent_context_reference\x18\x02 \x01(\x0B2>.google.cloud.geminidataanalytics.v1beta.AgentContextReferenceB\x03\xE0A\x01\"\x9B\x03\x0A\x19CloudSqlDatabaseReference\x12^\x0A\x06engine\x18\x01 \x01(\x0E2I.google.cloud.geminidataanalytics.v1beta.CloudSqlDatabaseReference.EngineB\x03\xE0A\x02\x12\x17\x0A\x0Aproject_id\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x13\x0A\x06region\x18\x03 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Binstance_id\x18\x04 \x01(\x09B\x03\xE0A\x02\x12\x18\x0A\x0Bdatabase_id\x18\x05 \x01(\x09B\x03\xE0A\x02\x12\x16\x0A\x09table_ids\x18\x07 \x03(\x09B\x03\xE0A\x01\x12g\x0A\x19database_table_references\x18\x08 \x03(\x0B2?.google.cloud.geminidataanalytics.v1beta.DatabaseTableReferenceB\x03\xE0A\x01\";\x0A\x06Engine\x12\x16\x0A\x12ENGINE_UNSPECIFIED\x10\x00\x12\x0E\x0A\x0APOSTGRESQL\x10\x01\x12\x09\x0A\x05MYSQL\x10\x02\"\xCD\x01\x0A\x17LookerExploreReferences\x12`\x0A\x12explore_references\x18\x01 \x03(\x0B2?.google.cloud.geminidataanalytics.v1beta.LookerExploreReferenceB\x03\xE0A\x02\x12P\x0A\x0Bcredentials\x18\x02 \x01(\x0B24.google.cloud.geminidataanalytics.v1beta.CredentialsB\x05\x18\x01\xE0A\x01\"\xA6\x02\x0A\x16LookerExploreReference\x12\x1D\x0A\x13looker_instance_uri\x18\x09 \x01(\x09H\x00\x12j\x0A\x1Cprivate_looker_instance_info\x18\x0A \x01(\x0B2B.google.cloud.geminidataanalytics.v1beta.PrivateLookerInstanceInfoH\x00\x12\x19\x0A\x0Clookml_model\x18\x04 \x01(\x09B\x03\xE0A\x02\x12\x14\x0A\x07explore\x18\x05 \x01(\x09B\x03\xE0A\x02\x12D\x0A\x06schema\x18\x08 \x01(\x0B2/.google.cloud.geminidataanalytics.v1beta.SchemaB\x03\xE0A\x01B\x0A\x0A\x08instance\"r\x0A\x1EBigQueryPropertyGraphReference\x12\x17\x0A\x0Aproject_id\x18\x01 \x01(\x09B\x03\xE0A\x02\x12\x17\x0A\x0Adataset_id\x18\x02 \x01(\x09B\x03\xE0A\x02\x12\x1E\x0A\x11property_graph_id\x18\x03 \x01(\x09B\x03\xE0A\x02\"W\x0A\x19PrivateLookerInstanceInfo\x12\x1A\x0A\x12looker_instance_id\x18\x01 \x01(\x09\x12\x1E\x0A\x16service_directory_name\x18\x02 \x01(\x09\"\x80\x06\x0A\x0ADatasource\x12c\x0A\x18bigquery_table_reference\x18\x01 \x01(\x0B2?.google.cloud.geminidataanalytics.v1beta.BigQueryTableReferenceH\x00\x12\x1E\x0A\x14studio_datasource_id\x18\x02 \x01(\x09H\x00\x12c\x0A\x18looker_explore_reference\x18\x04 \x01(\x0B2?.google.cloud.geminidataanalytics.v1beta.LookerExploreReferenceH\x00\x12W\x0A\x12alloy_db_reference\x18\x0C \x01(\x0B29.google.cloud.geminidataanalytics.v1beta.AlloyDbReferenceH\x00\x12V\x0A\x11spanner_reference\x18\x0D \x01(\x0B29.google.cloud.geminidataanalytics.v1beta.SpannerReferenceH\x00\x12Y\x0A\x13cloud_sql_reference\x18\x0E \x01(\x0B2:.google.cloud.geminidataanalytics.v1beta.CloudSqlReferenceH\x00\x12t\x0A!bigquery_property_graph_reference\x18\x10 \x01(\x0B2G.google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReferenceH\x00\x12D\x0A\x06schema\x18\x07 \x01(\x0B2/.google.cloud.geminidataanalytics.v1beta.SchemaB\x03\xE0A\x01\x123\x0A\x0Dstruct_schema\x18\x0A \x01(\x0B2\x17.google.protobuf.StructB\x03\xE0A\x01B\x0B\x0A\x09reference\"\xF7\x01\x0A\x06Schema\x12C\x0A\x06fields\x18\x01 \x03(\x0B2..google.cloud.geminidataanalytics.v1beta.FieldB\x03\xE0A\x01\x12\x18\x0A\x0Bdescription\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08synonyms\x18\x03 \x03(\x09B\x03\xE0A\x01\x12\x11\x0A\x04tags\x18\x04 \x03(\x09B\x03\xE0A\x01\x12\x19\x0A\x0Cdisplay_name\x18\x05 \x01(\x09B\x03\xE0A\x01\x12I\x0A\x07filters\x18\x06 \x03(\x0B23.google.cloud.geminidataanalytics.v1beta.DataFilterB\x03\xE0A\x01\"\x99\x02\x0A\x05Field\x12\x11\x0A\x04name\x18\x01 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04type\x18\x02 \x01(\x09B\x03\xE0A\x01\x12\x18\x0A\x0Bdescription\x18\x03 \x01(\x09B\x03\xE0A\x01\x12\x11\x0A\x04mode\x18\x04 \x01(\x09B\x03\xE0A\x01\x12\x15\x0A\x08synonyms\x18\x06 \x03(\x09B\x03\xE0A\x01\x12\x11\x0A\x04tags\x18\x07 \x03(\x09B\x03\xE0A\x01\x12\x19\x0A\x0Cdisplay_name\x18\x08 \x01(\x09B\x03\xE0A\x01\x12F\x0A\x09subfields\x18\x09 \x03(\x0B2..google.cloud.geminidataanalytics.v1beta.FieldB\x03\xE0A\x01\x12\x15\x0A\x08category\x18\x0A \x01(\x09B\x03\xE0A\x01\x12\x19\x0A\x0Cvalue_format\x18\x0B \x01(\x09B\x03\xE0A\x01\"\x80\x01\x0A\x0ADataFilter\x12\x12\x0A\x05field\x18\x01 \x01(\x09B\x03\xE0A\x01\x12\x12\x0A\x05value\x18\x02 \x01(\x09B\x03\xE0A\x01\x12J\x0A\x04type\x18\x03 \x01(\x0E27.google.cloud.geminidataanalytics.v1beta.DataFilterTypeB\x03\xE0A\x01*E\x0A\x0EDataFilterType\x12 \x0A\x1CDATA_FILTER_TYPE_UNSPECIFIED\x10\x00\x12\x11\x0A\x0DALWAYS_FILTER\x10\x01B\xA0\x02\x0A+com.google.cloud.geminidataanalytics.v1betaB\x0FDatasourceProtoP\x01Z]cloud.google.com/go/geminidataanalytics/apiv1beta/geminidataanalyticspb;geminidataanalyticspb\xAA\x02'Google.Cloud.GeminiDataAnalytics.V1Beta\xCA\x02'Google\\Cloud\\GeminiDataAnalytics\\V1beta\xEA\x02*Google::Cloud::GeminiDataAnalytics::V1betab\x06proto3"
, true);
static::$is_initialized = true;
diff --git a/GeminiDataAnalytics/samples/V1beta/DataAgentServiceClient/list_locations.php b/GeminiDataAnalytics/samples/V1beta/DataAgentServiceClient/list_locations.php
index 7016ca9d006a..bbe815f6b281 100644
--- a/GeminiDataAnalytics/samples/V1beta/DataAgentServiceClient/list_locations.php
+++ b/GeminiDataAnalytics/samples/V1beta/DataAgentServiceClient/list_locations.php
@@ -31,13 +31,21 @@
/**
* Lists information about the supported locations for this service.
-This method can be called in two ways:
-* **List all public locations:** Use the path `GET /v1/locations`.
-* **List project-visible locations:** Use the path
-`GET /v1/projects/{project_id}/locations`. This may include public
-locations as well as private or other locations specifically visible
-to the project.
+This method lists locations based on the resource scope provided in
+the [ListLocationsRequest.name][google.cloud.location.ListLocationsRequest.name] field: *
+**Global locations**: If `name` is empty, the method lists the
+public locations available to all projects. * **Project-specific
+locations**: If `name` follows the format
+`projects/{project}`, the method lists locations visible to that
+specific project. This includes public, private, or other
+project-specific locations enabled for the project.
+
+For gRPC and client library implementations, the resource name is
+passed as the `name` field. For direct service calls, the resource
+name is
+incorporated into the request path based on the specific service
+implementation and version.
*
* This sample has been automatically generated and should be regarded as a code
* template only. It will require modifications to work:
diff --git a/GeminiDataAnalytics/samples/V1beta/DataChatServiceClient/chat.php b/GeminiDataAnalytics/samples/V1beta/DataChatServiceClient/chat.php
index 44101ac684c9..82a57601a9ee 100644
--- a/GeminiDataAnalytics/samples/V1beta/DataChatServiceClient/chat.php
+++ b/GeminiDataAnalytics/samples/V1beta/DataChatServiceClient/chat.php
@@ -31,7 +31,7 @@
/**
* Answers a data question by generating a stream of
- * [Message][google.cloud.geminidataanalytics.v1alpha.Message] objects.
+ * [Message][google.cloud.geminidataanalytics.v1.Message] objects.
*
* @param string $parent The parent value for chat request.
* Pattern: `projects/{project}/locations/{location}`
diff --git a/GeminiDataAnalytics/samples/V1beta/DataChatServiceClient/list_locations.php b/GeminiDataAnalytics/samples/V1beta/DataChatServiceClient/list_locations.php
index d85988b58605..d1917776c6c0 100644
--- a/GeminiDataAnalytics/samples/V1beta/DataChatServiceClient/list_locations.php
+++ b/GeminiDataAnalytics/samples/V1beta/DataChatServiceClient/list_locations.php
@@ -31,13 +31,21 @@
/**
* Lists information about the supported locations for this service.
-This method can be called in two ways:
-* **List all public locations:** Use the path `GET /v1/locations`.
-* **List project-visible locations:** Use the path
-`GET /v1/projects/{project_id}/locations`. This may include public
-locations as well as private or other locations specifically visible
-to the project.
+This method lists locations based on the resource scope provided in
+the [ListLocationsRequest.name][google.cloud.location.ListLocationsRequest.name] field: *
+**Global locations**: If `name` is empty, the method lists the
+public locations available to all projects. * **Project-specific
+locations**: If `name` follows the format
+`projects/{project}`, the method lists locations visible to that
+specific project. This includes public, private, or other
+project-specific locations enabled for the project.
+
+For gRPC and client library implementations, the resource name is
+passed as the `name` field. For direct service calls, the resource
+name is
+incorporated into the request path based on the specific service
+implementation and version.
*
* This sample has been automatically generated and should be regarded as a code
* template only. It will require modifications to work:
diff --git a/GeminiDataAnalytics/src/V1beta/AlloyDbDatabaseReference.php b/GeminiDataAnalytics/src/V1beta/AlloyDbDatabaseReference.php
index c3c4646dd6e8..823951187962 100644
--- a/GeminiDataAnalytics/src/V1beta/AlloyDbDatabaseReference.php
+++ b/GeminiDataAnalytics/src/V1beta/AlloyDbDatabaseReference.php
@@ -51,6 +51,14 @@ class AlloyDbDatabaseReference extends \Google\Protobuf\Internal\Message
* Generated from protobuf field repeated string table_ids = 6 [(.google.api.field_behavior) = OPTIONAL];
*/
private $table_ids;
+ /**
+ * 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.
+ *
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $database_table_references;
/**
* Constructor.
@@ -70,6 +78,10 @@ class AlloyDbDatabaseReference extends \Google\Protobuf\Internal\Message
* Required. The database id.
* @type string[] $table_ids
* Optional. The table ids. Denotes all tables if unset.
+ * @type \Google\Cloud\GeminiDataAnalytics\V1beta\DatabaseTableReference[] $database_table_references
+ * 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.
* }
*/
public function __construct($data = NULL) {
@@ -233,5 +245,35 @@ public function setTableIds($var)
return $this;
}
+ /**
+ * 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.
+ *
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];
+ * @return RepeatedField<\Google\Cloud\GeminiDataAnalytics\V1beta\DatabaseTableReference>
+ */
+ public function getDatabaseTableReferences()
+ {
+ return $this->database_table_references;
+ }
+
+ /**
+ * 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.
+ *
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\GeminiDataAnalytics\V1beta\DatabaseTableReference[] $var
+ * @return $this
+ */
+ public function setDatabaseTableReferences($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\GeminiDataAnalytics\V1beta\DatabaseTableReference::class);
+ $this->database_table_references = $arr;
+
+ return $this;
+ }
+
}
diff --git a/GeminiDataAnalytics/src/V1beta/BigQueryPropertyGraphReference.php b/GeminiDataAnalytics/src/V1beta/BigQueryPropertyGraphReference.php
new file mode 100644
index 000000000000..cd0cc5dc319d
--- /dev/null
+++ b/GeminiDataAnalytics/src/V1beta/BigQueryPropertyGraphReference.php
@@ -0,0 +1,135 @@
+google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference
+ */
+class BigQueryPropertyGraphReference extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The project that the property graph belongs to.
+ *
+ * Generated from protobuf field string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $project_id = '';
+ /**
+ * Required. The dataset that the property graph belongs to.
+ *
+ * Generated from protobuf field string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $dataset_id = '';
+ /**
+ * Required. The property graph id.
+ *
+ * Generated from protobuf field string property_graph_id = 3 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $property_graph_id = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $project_id
+ * Required. The project that the property graph belongs to.
+ * @type string $dataset_id
+ * Required. The dataset that the property graph belongs to.
+ * @type string $property_graph_id
+ * Required. The property graph id.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Geminidataanalytics\V1Beta\Datasource::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The project that the property graph belongs to.
+ *
+ * Generated from protobuf field string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getProjectId()
+ {
+ return $this->project_id;
+ }
+
+ /**
+ * Required. The project that the property graph belongs to.
+ *
+ * Generated from protobuf field string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setProjectId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->project_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The dataset that the property graph belongs to.
+ *
+ * Generated from protobuf field string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getDatasetId()
+ {
+ return $this->dataset_id;
+ }
+
+ /**
+ * Required. The dataset that the property graph belongs to.
+ *
+ * Generated from protobuf field string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setDatasetId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->dataset_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The property graph id.
+ *
+ * Generated from protobuf field string property_graph_id = 3 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getPropertyGraphId()
+ {
+ return $this->property_graph_id;
+ }
+
+ /**
+ * Required. The property graph id.
+ *
+ * Generated from protobuf field string property_graph_id = 3 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setPropertyGraphId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->property_graph_id = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/GeminiDataAnalytics/src/V1beta/BigQueryRoutine.php b/GeminiDataAnalytics/src/V1beta/BigQueryRoutine.php
new file mode 100644
index 000000000000..ca52abb168f9
--- /dev/null
+++ b/GeminiDataAnalytics/src/V1beta/BigQueryRoutine.php
@@ -0,0 +1,115 @@
+google.cloud.geminidataanalytics.v1beta.BigQueryRoutine
+ */
+class BigQueryRoutine extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The reference to the BigQuery routine.
+ *
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference routine_reference = 1;
+ */
+ protected $routine_reference = null;
+ /**
+ * User override or addition to description, to tell the agent when to use the
+ * UDF.
+ *
+ * Generated from protobuf field string description = 2;
+ */
+ protected $description = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\GeminiDataAnalytics\V1beta\BigQueryRoutineReference $routine_reference
+ * The reference to the BigQuery routine.
+ * @type string $description
+ * User override or addition to description, to tell the agent when to use the
+ * UDF.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Geminidataanalytics\V1Beta\Context::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The reference to the BigQuery routine.
+ *
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference routine_reference = 1;
+ * @return \Google\Cloud\GeminiDataAnalytics\V1beta\BigQueryRoutineReference|null
+ */
+ public function getRoutineReference()
+ {
+ return $this->routine_reference;
+ }
+
+ public function hasRoutineReference()
+ {
+ return isset($this->routine_reference);
+ }
+
+ public function clearRoutineReference()
+ {
+ unset($this->routine_reference);
+ }
+
+ /**
+ * The reference to the BigQuery routine.
+ *
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference routine_reference = 1;
+ * @param \Google\Cloud\GeminiDataAnalytics\V1beta\BigQueryRoutineReference $var
+ * @return $this
+ */
+ public function setRoutineReference($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\GeminiDataAnalytics\V1beta\BigQueryRoutineReference::class);
+ $this->routine_reference = $var;
+
+ return $this;
+ }
+
+ /**
+ * User override or addition to description, to tell the agent when to use the
+ * UDF.
+ *
+ * Generated from protobuf field string description = 2;
+ * @return string
+ */
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ /**
+ * User override or addition to description, to tell the agent when to use the
+ * UDF.
+ *
+ * Generated from protobuf field string description = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setDescription($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->description = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/GeminiDataAnalytics/src/V1beta/BigQueryRoutineReference.php b/GeminiDataAnalytics/src/V1beta/BigQueryRoutineReference.php
new file mode 100644
index 000000000000..38628b7018c5
--- /dev/null
+++ b/GeminiDataAnalytics/src/V1beta/BigQueryRoutineReference.php
@@ -0,0 +1,135 @@
+google.cloud.geminidataanalytics.v1beta.BigQueryRoutineReference
+ */
+class BigQueryRoutineReference extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The project ID of the routine.
+ *
+ * Generated from protobuf field string project_id = 1;
+ */
+ protected $project_id = '';
+ /**
+ * The dataset ID of the routine.
+ *
+ * Generated from protobuf field string dataset_id = 2;
+ */
+ protected $dataset_id = '';
+ /**
+ * The routine ID of the routine.
+ *
+ * Generated from protobuf field string routine_id = 3;
+ */
+ protected $routine_id = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $project_id
+ * The project ID of the routine.
+ * @type string $dataset_id
+ * The dataset ID of the routine.
+ * @type string $routine_id
+ * The routine ID of the routine.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Geminidataanalytics\V1Beta\Context::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The project ID of the routine.
+ *
+ * Generated from protobuf field string project_id = 1;
+ * @return string
+ */
+ public function getProjectId()
+ {
+ return $this->project_id;
+ }
+
+ /**
+ * The project ID of the routine.
+ *
+ * Generated from protobuf field string project_id = 1;
+ * @param string $var
+ * @return $this
+ */
+ public function setProjectId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->project_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * The dataset ID of the routine.
+ *
+ * Generated from protobuf field string dataset_id = 2;
+ * @return string
+ */
+ public function getDatasetId()
+ {
+ return $this->dataset_id;
+ }
+
+ /**
+ * The dataset ID of the routine.
+ *
+ * Generated from protobuf field string dataset_id = 2;
+ * @param string $var
+ * @return $this
+ */
+ public function setDatasetId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->dataset_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * The routine ID of the routine.
+ *
+ * Generated from protobuf field string routine_id = 3;
+ * @return string
+ */
+ public function getRoutineId()
+ {
+ return $this->routine_id;
+ }
+
+ /**
+ * The routine ID of the routine.
+ *
+ * Generated from protobuf field string routine_id = 3;
+ * @param string $var
+ * @return $this
+ */
+ public function setRoutineId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->routine_id = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/GeminiDataAnalytics/src/V1beta/BigQueryTableReferences.php b/GeminiDataAnalytics/src/V1beta/BigQueryTableReferences.php
index ad964686251a..1bcd78e05ae5 100644
--- a/GeminiDataAnalytics/src/V1beta/BigQueryTableReferences.php
+++ b/GeminiDataAnalytics/src/V1beta/BigQueryTableReferences.php
@@ -10,8 +10,8 @@
/**
* Message representing references to BigQuery tables and property graphs.
- * At least one of `table_references` or `property_graph_references` must be
- * populated.
+ * At least one of `table_references`, `property_graph_references`, or
+ * `search_scope` must be populated.
*
* Generated from protobuf message google.cloud.geminidataanalytics.v1beta.BigQueryTableReferences
*/
@@ -23,6 +23,15 @@ class BigQueryTableReferences extends \Google\Protobuf\Internal\Message
* Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.BigQueryTableReference table_references = 1 [(.google.api.field_behavior) = OPTIONAL];
*/
private $table_references;
+ /**
+ * Optional. Preview feature. References to BigQuery property graphs.
+ * Note: Data sources must exclusively use either tables or property graphs,
+ * not both. When using property graphs, a maximum of one graph reference is
+ * supported.
+ *
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference property_graph_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $property_graph_references;
/**
* Constructor.
@@ -32,6 +41,11 @@ class BigQueryTableReferences extends \Google\Protobuf\Internal\Message
*
* @type \Google\Cloud\GeminiDataAnalytics\V1beta\BigQueryTableReference[] $table_references
* Optional. References to BigQuery tables.
+ * @type \Google\Cloud\GeminiDataAnalytics\V1beta\BigQueryPropertyGraphReference[] $property_graph_references
+ * Optional. Preview feature. References to BigQuery property graphs.
+ * Note: Data sources must exclusively use either tables or property graphs,
+ * not both. When using property graphs, a maximum of one graph reference is
+ * supported.
* }
*/
public function __construct($data = NULL) {
@@ -65,5 +79,37 @@ public function setTableReferences($var)
return $this;
}
+ /**
+ * Optional. Preview feature. References to BigQuery property graphs.
+ * Note: Data sources must exclusively use either tables or property graphs,
+ * not both. When using property graphs, a maximum of one graph reference is
+ * supported.
+ *
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference property_graph_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return RepeatedField<\Google\Cloud\GeminiDataAnalytics\V1beta\BigQueryPropertyGraphReference>
+ */
+ public function getPropertyGraphReferences()
+ {
+ return $this->property_graph_references;
+ }
+
+ /**
+ * Optional. Preview feature. References to BigQuery property graphs.
+ * Note: Data sources must exclusively use either tables or property graphs,
+ * not both. When using property graphs, a maximum of one graph reference is
+ * supported.
+ *
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference property_graph_references = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\GeminiDataAnalytics\V1beta\BigQueryPropertyGraphReference[] $var
+ * @return $this
+ */
+ public function setPropertyGraphReferences($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\GeminiDataAnalytics\V1beta\BigQueryPropertyGraphReference::class);
+ $this->property_graph_references = $arr;
+
+ return $this;
+ }
+
}
diff --git a/GeminiDataAnalytics/src/V1beta/ChatRequest.php b/GeminiDataAnalytics/src/V1beta/ChatRequest.php
index 4bb3c17f331f..035f020fa760 100644
--- a/GeminiDataAnalytics/src/V1beta/ChatRequest.php
+++ b/GeminiDataAnalytics/src/V1beta/ChatRequest.php
@@ -16,7 +16,8 @@
class ChatRequest extends \Google\Protobuf\Internal\Message
{
/**
- * Optional. The Google Cloud project to be used for quota and billing.
+ * Optional. Deprecated: Use `parent` field instead.
+ * The Google Cloud project to be used for quota and billing.
*
* Generated from protobuf field string project = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {
* @deprecated
@@ -35,6 +36,18 @@ class ChatRequest extends \Google\Protobuf\Internal\Message
* Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.Message messages = 2 [(.google.api.field_behavior) = REQUIRED];
*/
private $messages;
+ /**
+ * 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).
+ *
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 7 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $credentials = null;
/**
* Optional. The thinking mode to use for the agent loop.
* Defaults to THINKING_MODE_UNSPECIFIED if not specified.
@@ -42,7 +55,15 @@ class ChatRequest extends \Google\Protobuf\Internal\Message
* Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.ChatRequest.ThinkingMode thinking_mode = 9 [(.google.api.field_behavior) = OPTIONAL];
*/
protected $thinking_mode = 0;
+ /**
+ * 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.
+ *
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.ChatRequest.Model model = 11 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $model = 0;
protected $context_provider;
+ protected $datasource_settings;
/**
* Constructor.
@@ -65,16 +86,30 @@ class ChatRequest extends \Google\Protobuf\Internal\Message
* Some clients may not use GDA managed resources including
* conversations and agents, instead they create and manage their own
* conversations and agents resources.
+ * @type \Google\Cloud\GeminiDataAnalytics\V1beta\LookerSettings $looker_settings
+ * Optional. Looker specific settings.
* @type string $project
- * Optional. The Google Cloud project to be used for quota and billing.
+ * Optional. Deprecated: Use `parent` field instead.
+ * The Google Cloud project to be used for quota and billing.
* @type string $parent
* Required. The parent value for chat request.
* Pattern: `projects/{project}/locations/{location}`
* @type \Google\Cloud\GeminiDataAnalytics\V1beta\Message[] $messages
* Required. Content of current conversation.
+ * @type \Google\Cloud\GeminiDataAnalytics\V1beta\Credentials $credentials
+ * 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).
* @type int $thinking_mode
* Optional. The thinking mode to use for the agent loop.
* Defaults to THINKING_MODE_UNSPECIFIED if not specified.
+ * @type int $model
+ * 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.
* }
*/
public function __construct($data = NULL) {
@@ -221,7 +256,39 @@ public function setClientManagedResourceContext($var)
}
/**
- * Optional. The Google Cloud project to be used for quota and billing.
+ * Optional. Looker specific settings.
+ *
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.LookerSettings looker_settings = 13 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\GeminiDataAnalytics\V1beta\LookerSettings|null
+ */
+ public function getLookerSettings()
+ {
+ return $this->readOneof(13);
+ }
+
+ public function hasLookerSettings()
+ {
+ return $this->hasOneof(13);
+ }
+
+ /**
+ * Optional. Looker specific settings.
+ *
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.LookerSettings looker_settings = 13 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\GeminiDataAnalytics\V1beta\LookerSettings $var
+ * @return $this
+ */
+ public function setLookerSettings($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\GeminiDataAnalytics\V1beta\LookerSettings::class);
+ $this->writeOneof(13, $var);
+
+ return $this;
+ }
+
+ /**
+ * Optional. Deprecated: Use `parent` field instead.
+ * The Google Cloud project to be used for quota and billing.
*
* Generated from protobuf field string project = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {
* @return string
@@ -236,7 +303,8 @@ public function getProject()
}
/**
- * Optional. The Google Cloud project to be used for quota and billing.
+ * Optional. Deprecated: Use `parent` field instead.
+ * The Google Cloud project to be used for quota and billing.
*
* Generated from protobuf field string project = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {
* @param string $var
@@ -306,6 +374,54 @@ public function setMessages($var)
return $this;
}
+ /**
+ * 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).
+ *
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 7 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\GeminiDataAnalytics\V1beta\Credentials|null
+ */
+ public function getCredentials()
+ {
+ return $this->credentials;
+ }
+
+ public function hasCredentials()
+ {
+ return isset($this->credentials);
+ }
+
+ public function clearCredentials()
+ {
+ unset($this->credentials);
+ }
+
+ /**
+ * 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).
+ *
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 7 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\GeminiDataAnalytics\V1beta\Credentials $var
+ * @return $this
+ */
+ public function setCredentials($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\GeminiDataAnalytics\V1beta\Credentials::class);
+ $this->credentials = $var;
+
+ return $this;
+ }
+
/**
* Optional. The thinking mode to use for the agent loop.
* Defaults to THINKING_MODE_UNSPECIFIED if not specified.
@@ -334,6 +450,34 @@ public function setThinkingMode($var)
return $this;
}
+ /**
+ * 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.
+ *
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.ChatRequest.Model model = 11 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getModel()
+ {
+ return $this->model;
+ }
+
+ /**
+ * 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.
+ *
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.ChatRequest.Model model = 11 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setModel($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\GeminiDataAnalytics\V1beta\ChatRequest\Model::class);
+ $this->model = $var;
+
+ return $this;
+ }
+
/**
* @return string
*/
@@ -342,5 +486,13 @@ public function getContextProvider()
return $this->whichOneof("context_provider");
}
+ /**
+ * @return string
+ */
+ public function getDatasourceSettings()
+ {
+ return $this->whichOneof("datasource_settings");
+ }
+
}
diff --git a/GeminiDataAnalytics/src/V1beta/ChatRequest/Model.php b/GeminiDataAnalytics/src/V1beta/ChatRequest/Model.php
new file mode 100644
index 000000000000..d47e3104e61a
--- /dev/null
+++ b/GeminiDataAnalytics/src/V1beta/ChatRequest/Model.php
@@ -0,0 +1,55 @@
+google.cloud.geminidataanalytics.v1beta.ChatRequest.Model
+ */
+class Model
+{
+ /**
+ * No model specified. The default model will be used.
+ *
+ * Generated from protobuf enum MODEL_UNSPECIFIED = 0;
+ */
+ const MODEL_UNSPECIFIED = 0;
+ /**
+ * Use the most up-to-date non-preview model. This may constrain certain
+ * request level settings.
+ *
+ * Generated from protobuf enum LATEST_GA_MODEL = 1;
+ */
+ const LATEST_GA_MODEL = 1;
+
+ private static $valueToName = [
+ self::MODEL_UNSPECIFIED => 'MODEL_UNSPECIFIED',
+ self::LATEST_GA_MODEL => 'LATEST_GA_MODEL',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
diff --git a/GeminiDataAnalytics/src/V1beta/Citation.php b/GeminiDataAnalytics/src/V1beta/Citation.php
new file mode 100644
index 000000000000..69fe0a7da556
--- /dev/null
+++ b/GeminiDataAnalytics/src/V1beta/Citation.php
@@ -0,0 +1,101 @@
+google.cloud.geminidataanalytics.v1beta.Citation
+ */
+class Citation extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. List of the sources being cited.
+ *
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ private $sources;
+ /**
+ * Output only. List of the anchors of the citations.
+ *
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ private $anchors;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\GeminiDataAnalytics\V1beta\CitationSource[] $sources
+ * Output only. List of the sources being cited.
+ * @type \Google\Cloud\GeminiDataAnalytics\V1beta\CitationAnchor[] $anchors
+ * Output only. List of the anchors of the citations.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Geminidataanalytics\V1Beta\Context::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only. List of the sources being cited.
+ *
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return RepeatedField<\Google\Cloud\GeminiDataAnalytics\V1beta\CitationSource>
+ */
+ public function getSources()
+ {
+ return $this->sources;
+ }
+
+ /**
+ * Output only. List of the sources being cited.
+ *
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.CitationSource sources = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Cloud\GeminiDataAnalytics\V1beta\CitationSource[] $var
+ * @return $this
+ */
+ public function setSources($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\GeminiDataAnalytics\V1beta\CitationSource::class);
+ $this->sources = $arr;
+
+ return $this;
+ }
+
+ /**
+ * Output only. List of the anchors of the citations.
+ *
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return RepeatedField<\Google\Cloud\GeminiDataAnalytics\V1beta\CitationAnchor>
+ */
+ public function getAnchors()
+ {
+ return $this->anchors;
+ }
+
+ /**
+ * Output only. List of the anchors of the citations.
+ *
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.CitationAnchor anchors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Cloud\GeminiDataAnalytics\V1beta\CitationAnchor[] $var
+ * @return $this
+ */
+ public function setAnchors($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\GeminiDataAnalytics\V1beta\CitationAnchor::class);
+ $this->anchors = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/GeminiDataAnalytics/src/V1beta/CitationAnchor.php b/GeminiDataAnalytics/src/V1beta/CitationAnchor.php
new file mode 100644
index 000000000000..e76c1130dc1e
--- /dev/null
+++ b/GeminiDataAnalytics/src/V1beta/CitationAnchor.php
@@ -0,0 +1,75 @@
+google.cloud.geminidataanalytics.v1beta.CitationAnchor
+ */
+class CitationAnchor extends \Google\Protobuf\Internal\Message
+{
+ protected $anchor_type;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\GeminiDataAnalytics\V1beta\CitationAnchor\TextMessageCitationAnchor $text_message_anchor
+ * Output only. Only set if the citation is for a TextMessage.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Geminidataanalytics\V1Beta\Context::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only. Only set if the citation is for a TextMessage.
+ *
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor text_message_anchor = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Cloud\GeminiDataAnalytics\V1beta\CitationAnchor\TextMessageCitationAnchor|null
+ */
+ public function getTextMessageAnchor()
+ {
+ return $this->readOneof(1);
+ }
+
+ public function hasTextMessageAnchor()
+ {
+ return $this->hasOneof(1);
+ }
+
+ /**
+ * Output only. Only set if the citation is for a TextMessage.
+ *
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor text_message_anchor = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Cloud\GeminiDataAnalytics\V1beta\CitationAnchor\TextMessageCitationAnchor $var
+ * @return $this
+ */
+ public function setTextMessageAnchor($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\GeminiDataAnalytics\V1beta\CitationAnchor\TextMessageCitationAnchor::class);
+ $this->writeOneof(1, $var);
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getAnchorType()
+ {
+ return $this->whichOneof("anchor_type");
+ }
+
+}
+
diff --git a/GeminiDataAnalytics/src/V1beta/CitationAnchor/TextMessageCitationAnchor.php b/GeminiDataAnalytics/src/V1beta/CitationAnchor/TextMessageCitationAnchor.php
new file mode 100644
index 000000000000..b151c8ba21f0
--- /dev/null
+++ b/GeminiDataAnalytics/src/V1beta/CitationAnchor/TextMessageCitationAnchor.php
@@ -0,0 +1,197 @@
+google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor
+ */
+class TextMessageCitationAnchor extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. The 0-based index of the part within the TextMessage.parts
+ * field.
+ *
+ * Generated from protobuf field int32 part_index = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $part_index = 0;
+ /**
+ * 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.
+ *
+ * Generated from protobuf field int32 start_offset_bytes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $start_offset_bytes = 0;
+ /**
+ * 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.
+ *
+ * Generated from protobuf field int32 end_offset_bytes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $end_offset_bytes = 0;
+ /**
+ * Output only. The ids of the sources that are cited.
+ *
+ * Generated from protobuf field repeated string source_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ private $source_ids;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type int $part_index
+ * Output only. The 0-based index of the part within the TextMessage.parts
+ * field.
+ * @type int $start_offset_bytes
+ * 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.
+ * @type int $end_offset_bytes
+ * 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.
+ * @type string[] $source_ids
+ * Output only. The ids of the sources that are cited.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Geminidataanalytics\V1Beta\Context::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only. The 0-based index of the part within the TextMessage.parts
+ * field.
+ *
+ * Generated from protobuf field int32 part_index = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int
+ */
+ public function getPartIndex()
+ {
+ return $this->part_index;
+ }
+
+ /**
+ * Output only. The 0-based index of the part within the TextMessage.parts
+ * field.
+ *
+ * Generated from protobuf field int32 part_index = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int $var
+ * @return $this
+ */
+ public function setPartIndex($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->part_index = $var;
+
+ return $this;
+ }
+
+ /**
+ * 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.
+ *
+ * Generated from protobuf field int32 start_offset_bytes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int
+ */
+ public function getStartOffsetBytes()
+ {
+ return $this->start_offset_bytes;
+ }
+
+ /**
+ * 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.
+ *
+ * Generated from protobuf field int32 start_offset_bytes = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int $var
+ * @return $this
+ */
+ public function setStartOffsetBytes($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->start_offset_bytes = $var;
+
+ return $this;
+ }
+
+ /**
+ * 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.
+ *
+ * Generated from protobuf field int32 end_offset_bytes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return int
+ */
+ public function getEndOffsetBytes()
+ {
+ return $this->end_offset_bytes;
+ }
+
+ /**
+ * 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.
+ *
+ * Generated from protobuf field int32 end_offset_bytes = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param int $var
+ * @return $this
+ */
+ public function setEndOffsetBytes($var)
+ {
+ GPBUtil::checkInt32($var);
+ $this->end_offset_bytes = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The ids of the sources that are cited.
+ *
+ * Generated from protobuf field repeated string source_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return RepeatedField
+ */
+ public function getSourceIds()
+ {
+ return $this->source_ids;
+ }
+
+ /**
+ * Output only. The ids of the sources that are cited.
+ *
+ * Generated from protobuf field repeated string source_ids = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string[] $var
+ * @return $this
+ */
+ public function setSourceIds($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
+ $this->source_ids = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/GeminiDataAnalytics/src/V1beta/CitationSource.php b/GeminiDataAnalytics/src/V1beta/CitationSource.php
new file mode 100644
index 000000000000..ec63aebb08b9
--- /dev/null
+++ b/GeminiDataAnalytics/src/V1beta/CitationSource.php
@@ -0,0 +1,213 @@
+google.cloud.geminidataanalytics.v1beta.CitationSource
+ */
+class CitationSource extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Output only. Unique identifier of the source. This ID is service-generated
+ * and is unique within the scope of a single `Citation` message.
+ *
+ * Generated from protobuf field string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $id = '';
+ /**
+ * Output only. The title of the source.
+ *
+ * Generated from protobuf field string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $title = '';
+ protected $source_type;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $uri
+ * Output only. The uri used as the source, such as a web grounding URL.
+ * @type \Google\Cloud\GeminiDataAnalytics\V1beta\ExampleQuery $example_query
+ * Output only. The example query used as the source.
+ * @type \Google\Cloud\GeminiDataAnalytics\V1beta\GlossaryTerm $glossary_term
+ * Output only. The glossary term used as the source.
+ * @type string $id
+ * Output only. Unique identifier of the source. This ID is service-generated
+ * and is unique within the scope of a single `Citation` message.
+ * @type string $title
+ * Output only. The title of the source.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Geminidataanalytics\V1Beta\Context::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Output only. The uri used as the source, such as a web grounding URL.
+ *
+ * Generated from protobuf field string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getUri()
+ {
+ return $this->readOneof(3);
+ }
+
+ public function hasUri()
+ {
+ return $this->hasOneof(3);
+ }
+
+ /**
+ * Output only. The uri used as the source, such as a web grounding URL.
+ *
+ * Generated from protobuf field string uri = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setUri($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->writeOneof(3, $var);
+
+ return $this;
+ }
+
+ /**
+ * Output only. The example query used as the source.
+ *
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Cloud\GeminiDataAnalytics\V1beta\ExampleQuery|null
+ */
+ public function getExampleQuery()
+ {
+ return $this->readOneof(4);
+ }
+
+ public function hasExampleQuery()
+ {
+ return $this->hasOneof(4);
+ }
+
+ /**
+ * Output only. The example query used as the source.
+ *
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Cloud\GeminiDataAnalytics\V1beta\ExampleQuery $var
+ * @return $this
+ */
+ public function setExampleQuery($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\GeminiDataAnalytics\V1beta\ExampleQuery::class);
+ $this->writeOneof(4, $var);
+
+ return $this;
+ }
+
+ /**
+ * Output only. The glossary term used as the source.
+ *
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.GlossaryTerm glossary_term = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Cloud\GeminiDataAnalytics\V1beta\GlossaryTerm|null
+ */
+ public function getGlossaryTerm()
+ {
+ return $this->readOneof(5);
+ }
+
+ public function hasGlossaryTerm()
+ {
+ return $this->hasOneof(5);
+ }
+
+ /**
+ * Output only. The glossary term used as the source.
+ *
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.GlossaryTerm glossary_term = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Cloud\GeminiDataAnalytics\V1beta\GlossaryTerm $var
+ * @return $this
+ */
+ public function setGlossaryTerm($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\GeminiDataAnalytics\V1beta\GlossaryTerm::class);
+ $this->writeOneof(5, $var);
+
+ return $this;
+ }
+
+ /**
+ * Output only. Unique identifier of the source. This ID is service-generated
+ * and is unique within the scope of a single `Citation` message.
+ *
+ * Generated from protobuf field string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getId()
+ {
+ return $this->id;
+ }
+
+ /**
+ * Output only. Unique identifier of the source. This ID is service-generated
+ * and is unique within the scope of a single `Citation` message.
+ *
+ * Generated from protobuf field string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->id = $var;
+
+ return $this;
+ }
+
+ /**
+ * Output only. The title of the source.
+ *
+ * Generated from protobuf field string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return string
+ */
+ public function getTitle()
+ {
+ return $this->title;
+ }
+
+ /**
+ * Output only. The title of the source.
+ *
+ * Generated from protobuf field string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param string $var
+ * @return $this
+ */
+ public function setTitle($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->title = $var;
+
+ return $this;
+ }
+
+ /**
+ * @return string
+ */
+ public function getSourceType()
+ {
+ return $this->whichOneof("source_type");
+ }
+
+}
+
diff --git a/GeminiDataAnalytics/src/V1beta/ClarificationMessage.php b/GeminiDataAnalytics/src/V1beta/ClarificationMessage.php
index 15dd91b20bab..cef13305b11f 100644
--- a/GeminiDataAnalytics/src/V1beta/ClarificationMessage.php
+++ b/GeminiDataAnalytics/src/V1beta/ClarificationMessage.php
@@ -9,17 +9,21 @@
use Google\Protobuf\RepeatedField;
/**
+ * 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
* Generated from protobuf message google.cloud.geminidataanalytics.v1beta.ClarificationMessage
*/
class ClarificationMessage extends \Google\Protobuf\Internal\Message
{
/**
- * Required. A batch of clarification questions to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * A batch of clarification questions to ask the user.
*
- * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [(.google.api.field_behavior) = REQUIRED];
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
+ * @deprecated
*/
private $questions;
@@ -30,7 +34,8 @@ class ClarificationMessage extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type \Google\Cloud\GeminiDataAnalytics\V1beta\ClarificationQuestion[] $questions
- * Required. A batch of clarification questions to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * A batch of clarification questions to ask the user.
* }
*/
public function __construct($data = NULL) {
@@ -39,26 +44,36 @@ public function __construct($data = NULL) {
}
/**
- * Required. A batch of clarification questions to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * A batch of clarification questions to ask the user.
*
- * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [(.google.api.field_behavior) = REQUIRED];
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
* @return RepeatedField<\Google\Cloud\GeminiDataAnalytics\V1beta\ClarificationQuestion>
+ * @deprecated
*/
public function getQuestions()
{
+ if ($this->questions->count() !== 0) {
+ @trigger_error('questions is deprecated.', E_USER_DEPRECATED);
+ }
return $this->questions;
}
/**
- * Required. A batch of clarification questions to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * A batch of clarification questions to ask the user.
*
- * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [(.google.api.field_behavior) = REQUIRED];
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion questions = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
* @param \Google\Cloud\GeminiDataAnalytics\V1beta\ClarificationQuestion[] $var
* @return $this
+ * @deprecated
*/
public function setQuestions($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\GeminiDataAnalytics\V1beta\ClarificationQuestion::class);
+ if ($arr->count() !== 0) {
+ @trigger_error('questions is deprecated.', E_USER_DEPRECATED);
+ }
$this->questions = $arr;
return $this;
diff --git a/GeminiDataAnalytics/src/V1beta/ClarificationQuestion.php b/GeminiDataAnalytics/src/V1beta/ClarificationQuestion.php
index 18713cc9c4ae..0609695347c0 100644
--- a/GeminiDataAnalytics/src/V1beta/ClarificationQuestion.php
+++ b/GeminiDataAnalytics/src/V1beta/ClarificationQuestion.php
@@ -9,35 +9,45 @@
use Google\Protobuf\RepeatedField;
/**
+ * Deprecated: Use TextMessage with TextType.FINAL_RESPONSE instead.
* Represents a single question to the user to help clarify their query.
*
+ * @deprecated
* Generated from protobuf message google.cloud.geminidataanalytics.v1beta.ClarificationQuestion
*/
class ClarificationQuestion extends \Google\Protobuf\Internal\Message
{
/**
- * Required. The natural language question to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * The natural language question to ask the user.
*
- * Generated from protobuf field string question = 1 [(.google.api.field_behavior) = REQUIRED];
+ * Generated from protobuf field string question = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
+ * @deprecated
*/
protected $question = '';
/**
- * Required. The selection mode for this question.
+ * Required. Deprecated: The parent message is deprecated.
+ * The selection mode for this question.
*
- * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionMode selection_mode = 2 [(.google.api.field_behavior) = REQUIRED];
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionMode selection_mode = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
+ * @deprecated
*/
protected $selection_mode = 0;
/**
- * Required. A list of distinct options for the user to choose from.
+ * 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.
*
- * Generated from protobuf field repeated string options = 3 [(.google.api.field_behavior) = REQUIRED];
+ * Generated from protobuf field repeated string options = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
+ * @deprecated
*/
private $options;
/**
- * Optional. The type of clarification question.
+ * Optional. Deprecated: The parent message is deprecated.
+ * The type of clarification question.
*
- * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.ClarificationQuestionType clarification_question_type = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.ClarificationQuestionType clarification_question_type = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
+ * @deprecated
*/
protected $clarification_question_type = 0;
@@ -48,14 +58,18 @@ class ClarificationQuestion extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type string $question
- * Required. The natural language question to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * The natural language question to ask the user.
* @type int $selection_mode
- * Required. The selection mode for this question.
+ * Required. Deprecated: The parent message is deprecated.
+ * The selection mode for this question.
* @type string[] $options
- * Required. A list of distinct options for the user to choose from.
+ * 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.
* @type int $clarification_question_type
- * Optional. The type of clarification question.
+ * Optional. Deprecated: The parent message is deprecated.
+ * The type of clarification question.
* }
*/
public function __construct($data = NULL) {
@@ -64,25 +78,33 @@ public function __construct($data = NULL) {
}
/**
- * Required. The natural language question to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * The natural language question to ask the user.
*
- * Generated from protobuf field string question = 1 [(.google.api.field_behavior) = REQUIRED];
+ * Generated from protobuf field string question = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
* @return string
+ * @deprecated
*/
public function getQuestion()
{
+ if ($this->question !== '') {
+ @trigger_error('question is deprecated.', E_USER_DEPRECATED);
+ }
return $this->question;
}
/**
- * Required. The natural language question to ask the user.
+ * Required. Deprecated: The parent message is deprecated.
+ * The natural language question to ask the user.
*
- * Generated from protobuf field string question = 1 [(.google.api.field_behavior) = REQUIRED];
+ * Generated from protobuf field string question = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
* @param string $var
* @return $this
+ * @deprecated
*/
public function setQuestion($var)
{
+ @trigger_error('question is deprecated.', E_USER_DEPRECATED);
GPBUtil::checkString($var, True);
$this->question = $var;
@@ -90,25 +112,33 @@ public function setQuestion($var)
}
/**
- * Required. The selection mode for this question.
+ * Required. Deprecated: The parent message is deprecated.
+ * The selection mode for this question.
*
- * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionMode selection_mode = 2 [(.google.api.field_behavior) = REQUIRED];
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionMode selection_mode = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
* @return int
+ * @deprecated
*/
public function getSelectionMode()
{
+ if ($this->selection_mode !== 0) {
+ @trigger_error('selection_mode is deprecated.', E_USER_DEPRECATED);
+ }
return $this->selection_mode;
}
/**
- * Required. The selection mode for this question.
+ * Required. Deprecated: The parent message is deprecated.
+ * The selection mode for this question.
*
- * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionMode selection_mode = 2 [(.google.api.field_behavior) = REQUIRED];
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionMode selection_mode = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
* @param int $var
* @return $this
+ * @deprecated
*/
public function setSelectionMode($var)
{
+ @trigger_error('selection_mode is deprecated.', E_USER_DEPRECATED);
GPBUtil::checkEnum($var, \Google\Cloud\GeminiDataAnalytics\V1beta\ClarificationQuestion\SelectionMode::class);
$this->selection_mode = $var;
@@ -116,53 +146,71 @@ public function setSelectionMode($var)
}
/**
- * Required. A list of distinct options for the user to choose from.
+ * 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.
*
- * Generated from protobuf field repeated string options = 3 [(.google.api.field_behavior) = REQUIRED];
+ * Generated from protobuf field repeated string options = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
* @return RepeatedField
+ * @deprecated
*/
public function getOptions()
{
+ if ($this->options->count() !== 0) {
+ @trigger_error('options is deprecated.', E_USER_DEPRECATED);
+ }
return $this->options;
}
/**
- * Required. A list of distinct options for the user to choose from.
+ * 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.
*
- * Generated from protobuf field repeated string options = 3 [(.google.api.field_behavior) = REQUIRED];
+ * Generated from protobuf field repeated string options = 3 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
* @param string[] $var
* @return $this
+ * @deprecated
*/
public function setOptions($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
+ if ($arr->count() !== 0) {
+ @trigger_error('options is deprecated.', E_USER_DEPRECATED);
+ }
$this->options = $arr;
return $this;
}
/**
- * Optional. The type of clarification question.
+ * Optional. Deprecated: The parent message is deprecated.
+ * The type of clarification question.
*
- * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.ClarificationQuestionType clarification_question_type = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.ClarificationQuestionType clarification_question_type = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
* @return int
+ * @deprecated
*/
public function getClarificationQuestionType()
{
+ if ($this->clarification_question_type !== 0) {
+ @trigger_error('clarification_question_type is deprecated.', E_USER_DEPRECATED);
+ }
return $this->clarification_question_type;
}
/**
- * Optional. The type of clarification question.
+ * Optional. Deprecated: The parent message is deprecated.
+ * The type of clarification question.
*
- * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.ClarificationQuestionType clarification_question_type = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.ClarificationQuestionType clarification_question_type = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
* @param int $var
* @return $this
+ * @deprecated
*/
public function setClarificationQuestionType($var)
{
+ @trigger_error('clarification_question_type is deprecated.', E_USER_DEPRECATED);
GPBUtil::checkEnum($var, \Google\Cloud\GeminiDataAnalytics\V1beta\ClarificationQuestion\ClarificationQuestionType::class);
$this->clarification_question_type = $var;
diff --git a/GeminiDataAnalytics/src/V1beta/ClarificationQuestion/ClarificationQuestionType.php b/GeminiDataAnalytics/src/V1beta/ClarificationQuestion/ClarificationQuestionType.php
index d7437b20ca2e..f0d80de24953 100644
--- a/GeminiDataAnalytics/src/V1beta/ClarificationQuestion/ClarificationQuestionType.php
+++ b/GeminiDataAnalytics/src/V1beta/ClarificationQuestion/ClarificationQuestionType.php
@@ -7,6 +7,8 @@
use UnexpectedValueException;
/**
+ * @deprecated
+ * Deprecated: The parent message is deprecated.
* The type of clarification question.
* This enum may be extended with new values in the future.
*
@@ -15,23 +17,26 @@
class ClarificationQuestionType
{
/**
+ * Deprecated: The parent message is deprecated.
* Unspecified clarification question type.
*
- * Generated from protobuf enum CLARIFICATION_QUESTION_TYPE_UNSPECIFIED = 0;
+ * Generated from protobuf enum CLARIFICATION_QUESTION_TYPE_UNSPECIFIED = 0 [deprecated = true];
*/
const CLARIFICATION_QUESTION_TYPE_UNSPECIFIED = 0;
/**
+ * Deprecated: The parent message is deprecated.
* The clarification question is for filter values.
*
- * Generated from protobuf enum FILTER_VALUES = 1;
+ * Generated from protobuf enum FILTER_VALUES = 1 [deprecated = true];
*/
const FILTER_VALUES = 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.
*
- * Generated from protobuf enum FIELDS = 2;
+ * Generated from protobuf enum FIELDS = 2 [deprecated = true];
*/
const FIELDS = 2;
diff --git a/GeminiDataAnalytics/src/V1beta/ClarificationQuestion/SelectionMode.php b/GeminiDataAnalytics/src/V1beta/ClarificationQuestion/SelectionMode.php
index f15bec20dd75..31c4f4e53289 100644
--- a/GeminiDataAnalytics/src/V1beta/ClarificationQuestion/SelectionMode.php
+++ b/GeminiDataAnalytics/src/V1beta/ClarificationQuestion/SelectionMode.php
@@ -7,6 +7,8 @@
use UnexpectedValueException;
/**
+ * @deprecated
+ * Deprecated: The parent message is deprecated.
* The selection mode for the clarification question.
*
* Protobuf type google.cloud.geminidataanalytics.v1beta.ClarificationQuestion.SelectionMode
@@ -14,21 +16,24 @@
class SelectionMode
{
/**
+ * Deprecated: The parent message is deprecated.
* Unspecified selection mode.
*
- * Generated from protobuf enum SELECTION_MODE_UNSPECIFIED = 0;
+ * Generated from protobuf enum SELECTION_MODE_UNSPECIFIED = 0 [deprecated = true];
*/
const SELECTION_MODE_UNSPECIFIED = 0;
/**
+ * Deprecated: The parent message is deprecated.
* The user can select only one option.
*
- * Generated from protobuf enum SINGLE_SELECT = 1;
+ * Generated from protobuf enum SINGLE_SELECT = 1 [deprecated = true];
*/
const SINGLE_SELECT = 1;
/**
+ * Deprecated: The parent message is deprecated.
* The user can select multiple options.
*
- * Generated from protobuf enum MULTI_SELECT = 2;
+ * Generated from protobuf enum MULTI_SELECT = 2 [deprecated = true];
*/
const MULTI_SELECT = 2;
diff --git a/GeminiDataAnalytics/src/V1beta/Client/DataAgentServiceClient.php b/GeminiDataAnalytics/src/V1beta/Client/DataAgentServiceClient.php
index 25ff16ef89f3..bd896da2414d 100644
--- a/GeminiDataAnalytics/src/V1beta/Client/DataAgentServiceClient.php
+++ b/GeminiDataAnalytics/src/V1beta/Client/DataAgentServiceClient.php
@@ -182,6 +182,29 @@ private function createOperationsClient(array $options)
return new OperationsClient($options);
}
+ /**
+ * Formats a string containing the fully-qualified path to represent a crypto_key
+ * resource.
+ *
+ * @param string $project
+ * @param string $location
+ * @param string $keyRing
+ * @param string $cryptoKey
+ *
+ * @return string The formatted crypto_key resource.
+ *
+ * @experimental
+ */
+ public static function cryptoKeyName(string $project, string $location, string $keyRing, string $cryptoKey): string
+ {
+ return self::getPathTemplate('cryptoKey')->render([
+ 'project' => $project,
+ 'location' => $location,
+ 'key_ring' => $keyRing,
+ 'crypto_key' => $cryptoKey,
+ ]);
+ }
+
/**
* Formats a string containing the fully-qualified path to represent a data_agent
* resource.
@@ -226,6 +249,7 @@ public static function locationName(string $project, string $location): string
* Parses a formatted name string and returns an associative array of the components in the name.
* The following name formats are supported:
* Template: Pattern
+ * - cryptoKey: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}
* - dataAgent: projects/{project}/locations/{location}/dataAgents/{data_agent}
* - location: projects/{project}/locations/{location}
*
@@ -677,13 +701,21 @@ public function getLocation(GetLocationRequest $request, array $callOptions = []
/**
* Lists information about the supported locations for this service.
- This method can be called in two ways:
- * **List all public locations:** Use the path `GET /v1/locations`.
- * **List project-visible locations:** Use the path
- `GET /v1/projects/{project_id}/locations`. This may include public
- locations as well as private or other locations specifically visible
- to the project.
+ This method lists locations based on the resource scope provided in
+ the [ListLocationsRequest.name][google.cloud.location.ListLocationsRequest.name] field: *
+ **Global locations**: If `name` is empty, the method lists the
+ public locations available to all projects. * **Project-specific
+ locations**: If `name` follows the format
+ `projects/{project}`, the method lists locations visible to that
+ specific project. This includes public, private, or other
+ project-specific locations enabled for the project.
+
+ For gRPC and client library implementations, the resource name is
+ passed as the `name` field. For direct service calls, the resource
+ name is
+ incorporated into the request path based on the specific service
+ implementation and version.
*
* The async variant is {@see DataAgentServiceClient::listLocationsAsync()} .
*
diff --git a/GeminiDataAnalytics/src/V1beta/Client/DataChatServiceClient.php b/GeminiDataAnalytics/src/V1beta/Client/DataChatServiceClient.php
index 041f2c05220d..185b6ae4a37b 100644
--- a/GeminiDataAnalytics/src/V1beta/Client/DataChatServiceClient.php
+++ b/GeminiDataAnalytics/src/V1beta/Client/DataChatServiceClient.php
@@ -144,6 +144,29 @@ public static function conversationName(string $project, string $location, strin
]);
}
+ /**
+ * Formats a string containing the fully-qualified path to represent a crypto_key
+ * resource.
+ *
+ * @param string $project
+ * @param string $location
+ * @param string $keyRing
+ * @param string $cryptoKey
+ *
+ * @return string The formatted crypto_key resource.
+ *
+ * @experimental
+ */
+ public static function cryptoKeyName(string $project, string $location, string $keyRing, string $cryptoKey): string
+ {
+ return self::getPathTemplate('cryptoKey')->render([
+ 'project' => $project,
+ 'location' => $location,
+ 'key_ring' => $keyRing,
+ 'crypto_key' => $cryptoKey,
+ ]);
+ }
+
/**
* Formats a string containing the fully-qualified path to represent a data_agent
* resource.
@@ -206,6 +229,7 @@ public static function projectName(string $project): string
* The following name formats are supported:
* Template: Pattern
* - conversation: projects/{project}/locations/{location}/conversations/{conversation}
+ * - cryptoKey: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}
* - dataAgent: projects/{project}/locations/{location}/dataAgents/{data_agent}
* - location: projects/{project}/locations/{location}
* - project: projects/{project}
@@ -319,7 +343,7 @@ public function __call($method, $args)
/**
* Answers a data question by generating a stream of
- * [Message][google.cloud.geminidataanalytics.v1alpha.Message] objects.
+ * [Message][google.cloud.geminidataanalytics.v1.Message] objects.
*
* @example samples/V1beta/DataChatServiceClient/chat.php
*
@@ -539,13 +563,21 @@ public function getLocation(GetLocationRequest $request, array $callOptions = []
/**
* Lists information about the supported locations for this service.
- This method can be called in two ways:
- * **List all public locations:** Use the path `GET /v1/locations`.
- * **List project-visible locations:** Use the path
- `GET /v1/projects/{project_id}/locations`. This may include public
- locations as well as private or other locations specifically visible
- to the project.
+ This method lists locations based on the resource scope provided in
+ the [ListLocationsRequest.name][google.cloud.location.ListLocationsRequest.name] field: *
+ **Global locations**: If `name` is empty, the method lists the
+ public locations available to all projects. * **Project-specific
+ locations**: If `name` follows the format
+ `projects/{project}`, the method lists locations visible to that
+ specific project. This includes public, private, or other
+ project-specific locations enabled for the project.
+
+ For gRPC and client library implementations, the resource name is
+ passed as the `name` field. For direct service calls, the resource
+ name is
+ incorporated into the request path based on the specific service
+ implementation and version.
*
* The async variant is {@see DataChatServiceClient::listLocationsAsync()} .
*
diff --git a/GeminiDataAnalytics/src/V1beta/CloudSqlDatabaseReference.php b/GeminiDataAnalytics/src/V1beta/CloudSqlDatabaseReference.php
index 7242d3fd3af9..121a147ec7d8 100644
--- a/GeminiDataAnalytics/src/V1beta/CloudSqlDatabaseReference.php
+++ b/GeminiDataAnalytics/src/V1beta/CloudSqlDatabaseReference.php
@@ -51,6 +51,14 @@ class CloudSqlDatabaseReference extends \Google\Protobuf\Internal\Message
* Generated from protobuf field repeated string table_ids = 7 [(.google.api.field_behavior) = OPTIONAL];
*/
private $table_ids;
+ /**
+ * 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.
+ *
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 8 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $database_table_references;
/**
* Constructor.
@@ -70,6 +78,10 @@ class CloudSqlDatabaseReference extends \Google\Protobuf\Internal\Message
* Required. The database id.
* @type string[] $table_ids
* Optional. The table ids. Denotes all tables if unset.
+ * @type \Google\Cloud\GeminiDataAnalytics\V1beta\DatabaseTableReference[] $database_table_references
+ * 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.
* }
*/
public function __construct($data = NULL) {
@@ -233,5 +245,35 @@ public function setTableIds($var)
return $this;
}
+ /**
+ * 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.
+ *
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * @return RepeatedField<\Google\Cloud\GeminiDataAnalytics\V1beta\DatabaseTableReference>
+ */
+ public function getDatabaseTableReferences()
+ {
+ return $this->database_table_references;
+ }
+
+ /**
+ * 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.
+ *
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\GeminiDataAnalytics\V1beta\DatabaseTableReference[] $var
+ * @return $this
+ */
+ public function setDatabaseTableReferences($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\GeminiDataAnalytics\V1beta\DatabaseTableReference::class);
+ $this->database_table_references = $arr;
+
+ return $this;
+ }
+
}
diff --git a/GeminiDataAnalytics/src/V1beta/Context.php b/GeminiDataAnalytics/src/V1beta/Context.php
index 67d08004d39c..7c639c3b017a 100644
--- a/GeminiDataAnalytics/src/V1beta/Context.php
+++ b/GeminiDataAnalytics/src/V1beta/Context.php
@@ -40,7 +40,8 @@ class Context extends \Google\Protobuf\Internal\Message
/**
* 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.
+ * optionally present. Currently only used for BigQuery data sources and
+ * databases (alloydb, cloudsql, spanner) data sources.
*
* Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_queries = 5 [(.google.api.field_behavior) = OPTIONAL];
*/
@@ -48,13 +49,14 @@ class Context extends \Google\Protobuf\Internal\Message
/**
* Optional. A list of golden queries, providing examples of relevant and
* commonly used Looker queries and their corresponding natural language
- * queries optionally present.
+ * queries optionally present. Only supported for Looker data sources.
*
* Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery looker_golden_queries = 11 [(.google.api.field_behavior) = OPTIONAL];
*/
private $looker_golden_queries;
/**
* Optional. Term definitions (currently, only user authored)
+ * Not supported for databases (alloydb, cloudsql, spanner) data sources.
*
* Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.GlossaryTerm glossary_terms = 8 [(.google.api.field_behavior) = OPTIONAL];
*/
@@ -66,6 +68,12 @@ class Context extends \Google\Protobuf\Internal\Message
* Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship schema_relationships = 9 [(.google.api.field_behavior) = OPTIONAL];
*/
private $schema_relationships;
+ /**
+ * Optional. A collection of user functions to be included in context.
+ *
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.UserFunctions user_functions = 10 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $user_functions = null;
/**
* Constructor.
@@ -86,16 +94,20 @@ class Context extends \Google\Protobuf\Internal\Message
* @type \Google\Cloud\GeminiDataAnalytics\V1beta\ExampleQuery[] $example_queries
* 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.
+ * optionally present. Currently only used for BigQuery data sources and
+ * databases (alloydb, cloudsql, spanner) data sources.
* @type \Google\Cloud\GeminiDataAnalytics\V1beta\LookerGoldenQuery[] $looker_golden_queries
* Optional. A list of golden queries, providing examples of relevant and
* commonly used Looker queries and their corresponding natural language
- * queries optionally present.
+ * queries optionally present. Only supported for Looker data sources.
* @type \Google\Cloud\GeminiDataAnalytics\V1beta\GlossaryTerm[] $glossary_terms
* Optional. Term definitions (currently, only user authored)
+ * Not supported for databases (alloydb, cloudsql, spanner) data sources.
* @type \Google\Cloud\GeminiDataAnalytics\V1beta\Context\SchemaRelationship[] $schema_relationships
* Optional. Relationships between table schema, including referencing and
* referenced columns.
+ * @type \Google\Cloud\GeminiDataAnalytics\V1beta\UserFunctions $user_functions
+ * Optional. A collection of user functions to be included in context.
* }
*/
public function __construct($data = NULL) {
@@ -212,7 +224,8 @@ public function setOptions($var)
/**
* 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.
+ * optionally present. Currently only used for BigQuery data sources and
+ * databases (alloydb, cloudsql, spanner) data sources.
*
* Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_queries = 5 [(.google.api.field_behavior) = OPTIONAL];
* @return RepeatedField<\Google\Cloud\GeminiDataAnalytics\V1beta\ExampleQuery>
@@ -225,7 +238,8 @@ public function getExampleQueries()
/**
* 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.
+ * optionally present. Currently only used for BigQuery data sources and
+ * databases (alloydb, cloudsql, spanner) data sources.
*
* Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_queries = 5 [(.google.api.field_behavior) = OPTIONAL];
* @param \Google\Cloud\GeminiDataAnalytics\V1beta\ExampleQuery[] $var
@@ -242,7 +256,7 @@ public function setExampleQueries($var)
/**
* Optional. A list of golden queries, providing examples of relevant and
* commonly used Looker queries and their corresponding natural language
- * queries optionally present.
+ * queries optionally present. Only supported for Looker data sources.
*
* Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery looker_golden_queries = 11 [(.google.api.field_behavior) = OPTIONAL];
* @return RepeatedField<\Google\Cloud\GeminiDataAnalytics\V1beta\LookerGoldenQuery>
@@ -255,7 +269,7 @@ public function getLookerGoldenQueries()
/**
* Optional. A list of golden queries, providing examples of relevant and
* commonly used Looker queries and their corresponding natural language
- * queries optionally present.
+ * queries optionally present. Only supported for Looker data sources.
*
* Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.LookerGoldenQuery looker_golden_queries = 11 [(.google.api.field_behavior) = OPTIONAL];
* @param \Google\Cloud\GeminiDataAnalytics\V1beta\LookerGoldenQuery[] $var
@@ -271,6 +285,7 @@ public function setLookerGoldenQueries($var)
/**
* Optional. Term definitions (currently, only user authored)
+ * Not supported for databases (alloydb, cloudsql, spanner) data sources.
*
* Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.GlossaryTerm glossary_terms = 8 [(.google.api.field_behavior) = OPTIONAL];
* @return RepeatedField<\Google\Cloud\GeminiDataAnalytics\V1beta\GlossaryTerm>
@@ -282,6 +297,7 @@ public function getGlossaryTerms()
/**
* Optional. Term definitions (currently, only user authored)
+ * Not supported for databases (alloydb, cloudsql, spanner) data sources.
*
* Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.GlossaryTerm glossary_terms = 8 [(.google.api.field_behavior) = OPTIONAL];
* @param \Google\Cloud\GeminiDataAnalytics\V1beta\GlossaryTerm[] $var
@@ -323,5 +339,41 @@ public function setSchemaRelationships($var)
return $this;
}
+ /**
+ * Optional. A collection of user functions to be included in context.
+ *
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.UserFunctions user_functions = 10 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\GeminiDataAnalytics\V1beta\UserFunctions|null
+ */
+ public function getUserFunctions()
+ {
+ return $this->user_functions;
+ }
+
+ public function hasUserFunctions()
+ {
+ return isset($this->user_functions);
+ }
+
+ public function clearUserFunctions()
+ {
+ unset($this->user_functions);
+ }
+
+ /**
+ * Optional. A collection of user functions to be included in context.
+ *
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.UserFunctions user_functions = 10 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\GeminiDataAnalytics\V1beta\UserFunctions $var
+ * @return $this
+ */
+ public function setUserFunctions($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\GeminiDataAnalytics\V1beta\UserFunctions::class);
+ $this->user_functions = $var;
+
+ return $this;
+ }
+
}
diff --git a/GeminiDataAnalytics/src/V1beta/Context/SchemaRelationship.php b/GeminiDataAnalytics/src/V1beta/Context/SchemaRelationship.php
index 1d42a66f4821..91d7350cd5f2 100644
--- a/GeminiDataAnalytics/src/V1beta/Context/SchemaRelationship.php
+++ b/GeminiDataAnalytics/src/V1beta/Context/SchemaRelationship.php
@@ -36,16 +36,16 @@ class SchemaRelationship extends \Google\Protobuf\Internal\Message
*/
protected $right_schema_paths = null;
/**
- * Sources which generated the schema relation edge.
+ * Optional. Sources which generated the schema relation edge.
*
- * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3 [(.google.api.field_behavior) = OPTIONAL];
*/
private $sources;
/**
- * A confidence score for the suggested relationship.
+ * Optional. A confidence score for the suggested relationship.
* Manually added edges have the highest confidence score.
*
- * Generated from protobuf field float confidence_score = 4;
+ * Generated from protobuf field float confidence_score = 4 [(.google.api.field_behavior) = OPTIONAL];
*/
protected $confidence_score = 0.0;
@@ -66,9 +66,9 @@ class SchemaRelationship extends \Google\Protobuf\Internal\Message
* Each field at index i in this list must correspond to a field at the same
* index in the `left_schema_paths` list.
* @type int[] $sources
- * Sources which generated the schema relation edge.
+ * Optional. Sources which generated the schema relation edge.
* @type float $confidence_score
- * A confidence score for the suggested relationship.
+ * Optional. A confidence score for the suggested relationship.
* Manually added edges have the highest confidence score.
* }
*/
@@ -162,9 +162,9 @@ public function setRightSchemaPaths($var)
}
/**
- * Sources which generated the schema relation edge.
+ * Optional. Sources which generated the schema relation edge.
*
- * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3 [(.google.api.field_behavior) = OPTIONAL];
* @return RepeatedField
*/
public function getSources()
@@ -173,9 +173,9 @@ public function getSources()
}
/**
- * Sources which generated the schema relation edge.
+ * Optional. Sources which generated the schema relation edge.
*
- * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3;
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.Context.SchemaRelationship.Source sources = 3 [(.google.api.field_behavior) = OPTIONAL];
* @param int[] $var
* @return $this
*/
@@ -188,10 +188,10 @@ public function setSources($var)
}
/**
- * A confidence score for the suggested relationship.
+ * Optional. A confidence score for the suggested relationship.
* Manually added edges have the highest confidence score.
*
- * Generated from protobuf field float confidence_score = 4;
+ * Generated from protobuf field float confidence_score = 4 [(.google.api.field_behavior) = OPTIONAL];
* @return float
*/
public function getConfidenceScore()
@@ -200,10 +200,10 @@ public function getConfidenceScore()
}
/**
- * A confidence score for the suggested relationship.
+ * Optional. A confidence score for the suggested relationship.
* Manually added edges have the highest confidence score.
*
- * Generated from protobuf field float confidence_score = 4;
+ * Generated from protobuf field float confidence_score = 4 [(.google.api.field_behavior) = OPTIONAL];
* @param float $var
* @return $this
*/
diff --git a/GeminiDataAnalytics/src/V1beta/Conversation.php b/GeminiDataAnalytics/src/V1beta/Conversation.php
index f8f5452b404d..7998a3c31727 100644
--- a/GeminiDataAnalytics/src/V1beta/Conversation.php
+++ b/GeminiDataAnalytics/src/V1beta/Conversation.php
@@ -59,6 +59,22 @@ class Conversation extends \Google\Protobuf\Internal\Message
* Generated from protobuf field map labels = 9 [(.google.api.field_behavior) = OPTIONAL];
*/
private $labels;
+ /**
+ * 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}.
+ *
+ * Generated from protobuf field optional string kms_key = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {
+ */
+ protected $kms_key = null;
+ /**
+ * Optional. Whether memory is paused for this conversation.
+ *
+ * Generated from protobuf field optional bool memory_paused = 11 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $memory_paused = null;
/**
* Constructor.
@@ -90,6 +106,14 @@ class Conversation extends \Google\Protobuf\Internal\Message
* 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).
+ * @type string $kms_key
+ * 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}.
+ * @type bool $memory_paused
+ * Optional. Whether memory is paused for this conversation.
* }
*/
public function __construct($data = NULL) {
@@ -275,5 +299,85 @@ public function setLabels($var)
return $this;
}
+ /**
+ * 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}.
+ *
+ * Generated from protobuf field optional string kms_key = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getKmsKey()
+ {
+ return isset($this->kms_key) ? $this->kms_key : '';
+ }
+
+ public function hasKmsKey()
+ {
+ return isset($this->kms_key);
+ }
+
+ public function clearKmsKey()
+ {
+ unset($this->kms_key);
+ }
+
+ /**
+ * 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}.
+ *
+ * Generated from protobuf field optional string kms_key = 10 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setKmsKey($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->kms_key = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. Whether memory is paused for this conversation.
+ *
+ * Generated from protobuf field optional bool memory_paused = 11 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getMemoryPaused()
+ {
+ return isset($this->memory_paused) ? $this->memory_paused : false;
+ }
+
+ public function hasMemoryPaused()
+ {
+ return isset($this->memory_paused);
+ }
+
+ public function clearMemoryPaused()
+ {
+ unset($this->memory_paused);
+ }
+
+ /**
+ * Optional. Whether memory is paused for this conversation.
+ *
+ * Generated from protobuf field optional bool memory_paused = 11 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setMemoryPaused($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->memory_paused = $var;
+
+ return $this;
+ }
+
}
diff --git a/GeminiDataAnalytics/src/V1beta/ConversationOptions.php b/GeminiDataAnalytics/src/V1beta/ConversationOptions.php
index 7d93d98950fa..cc5be0c1684c 100644
--- a/GeminiDataAnalytics/src/V1beta/ConversationOptions.php
+++ b/GeminiDataAnalytics/src/V1beta/ConversationOptions.php
@@ -33,6 +33,12 @@ class ConversationOptions extends \Google\Protobuf\Internal\Message
* Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.DatasourceOptions datasource = 3 [(.google.api.field_behavior) = OPTIONAL];
*/
protected $datasource = null;
+ /**
+ * Optional. The model to use for the agent loop.
+ *
+ * Generated from protobuf field optional .google.cloud.geminidataanalytics.v1beta.ConversationOptions.Model model = 6 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $model = null;
/**
* Constructor.
@@ -46,6 +52,8 @@ class ConversationOptions extends \Google\Protobuf\Internal\Message
* Optional. Options for analysis.
* @type \Google\Cloud\GeminiDataAnalytics\V1beta\DatasourceOptions $datasource
* Optional. Options for datasources.
+ * @type int $model
+ * Optional. The model to use for the agent loop.
* }
*/
public function __construct($data = NULL) {
@@ -161,5 +169,41 @@ public function setDatasource($var)
return $this;
}
+ /**
+ * Optional. The model to use for the agent loop.
+ *
+ * Generated from protobuf field optional .google.cloud.geminidataanalytics.v1beta.ConversationOptions.Model model = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * @return int
+ */
+ public function getModel()
+ {
+ return isset($this->model) ? $this->model : 0;
+ }
+
+ public function hasModel()
+ {
+ return isset($this->model);
+ }
+
+ public function clearModel()
+ {
+ unset($this->model);
+ }
+
+ /**
+ * Optional. The model to use for the agent loop.
+ *
+ * Generated from protobuf field optional .google.cloud.geminidataanalytics.v1beta.ConversationOptions.Model model = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * @param int $var
+ * @return $this
+ */
+ public function setModel($var)
+ {
+ GPBUtil::checkEnum($var, \Google\Cloud\GeminiDataAnalytics\V1beta\ConversationOptions\Model::class);
+ $this->model = $var;
+
+ return $this;
+ }
+
}
diff --git a/GeminiDataAnalytics/src/V1beta/ConversationOptions/Model.php b/GeminiDataAnalytics/src/V1beta/ConversationOptions/Model.php
new file mode 100644
index 000000000000..d509ddedd62b
--- /dev/null
+++ b/GeminiDataAnalytics/src/V1beta/ConversationOptions/Model.php
@@ -0,0 +1,56 @@
+google.cloud.geminidataanalytics.v1beta.ConversationOptions.Model
+ */
+class Model
+{
+ /**
+ * No model specified. The model may be set on the chat request, or the
+ * default model will be used.
+ *
+ * Generated from protobuf enum MODEL_UNSPECIFIED = 0;
+ */
+ const MODEL_UNSPECIFIED = 0;
+ /**
+ * Use the most up-to-date non-preview model. This may constrain certain
+ * request level settings.
+ *
+ * Generated from protobuf enum LATEST_GA_MODEL = 1;
+ */
+ const LATEST_GA_MODEL = 1;
+
+ private static $valueToName = [
+ self::MODEL_UNSPECIFIED => 'MODEL_UNSPECIFIED',
+ self::LATEST_GA_MODEL => 'LATEST_GA_MODEL',
+ ];
+
+ public static function name($value)
+ {
+ if (!isset(self::$valueToName[$value])) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no name defined for value %s', __CLASS__, $value));
+ }
+ return self::$valueToName[$value];
+ }
+
+
+ public static function value($name)
+ {
+ $const = __CLASS__ . '::' . strtoupper($name);
+ if (!defined($const)) {
+ throw new UnexpectedValueException(sprintf(
+ 'Enum %s has no value defined for name %s', __CLASS__, $name));
+ }
+ return constant($const);
+ }
+}
+
diff --git a/GeminiDataAnalytics/src/V1beta/DataAgent.php b/GeminiDataAnalytics/src/V1beta/DataAgent.php
index 2303c68c76b5..2b7479ea2d1b 100644
--- a/GeminiDataAnalytics/src/V1beta/DataAgent.php
+++ b/GeminiDataAnalytics/src/V1beta/DataAgent.php
@@ -81,6 +81,15 @@ class DataAgent extends \Google\Protobuf\Internal\Message
* Generated from protobuf field .google.protobuf.Timestamp purge_time = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
protected $purge_time = null;
+ /**
+ * 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/*`.
+ *
+ * Generated from protobuf field optional string kms_key = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {
+ */
+ protected $kms_key = null;
protected $type;
/**
@@ -125,6 +134,11 @@ class DataAgent extends \Google\Protobuf\Internal\Message
* 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.
+ * @type string $kms_key
+ * 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/*`.
* }
*/
public function __construct($data = NULL) {
@@ -447,6 +461,48 @@ public function setPurgeTime($var)
return $this;
}
+ /**
+ * 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/*`.
+ *
+ * Generated from protobuf field optional string kms_key = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {
+ * @return string
+ */
+ public function getKmsKey()
+ {
+ return isset($this->kms_key) ? $this->kms_key : '';
+ }
+
+ public function hasKmsKey()
+ {
+ return isset($this->kms_key);
+ }
+
+ public function clearKmsKey()
+ {
+ unset($this->kms_key);
+ }
+
+ /**
+ * 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/*`.
+ *
+ * Generated from protobuf field optional string kms_key = 14 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = {
+ * @param string $var
+ * @return $this
+ */
+ public function setKmsKey($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->kms_key = $var;
+
+ return $this;
+ }
+
/**
* @return string
*/
diff --git a/GeminiDataAnalytics/src/V1beta/DataAgentContext.php b/GeminiDataAnalytics/src/V1beta/DataAgentContext.php
index e58a46050365..0a4f9414e7ff 100644
--- a/GeminiDataAnalytics/src/V1beta/DataAgentContext.php
+++ b/GeminiDataAnalytics/src/V1beta/DataAgentContext.php
@@ -22,13 +22,15 @@ class DataAgentContext extends \Google\Protobuf\Internal\Message
*/
protected $data_agent = '';
/**
- * Optional. The credentials to use when calling the Looker data source.
+ * 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).
*
- * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
+ * @deprecated
*/
protected $credentials = null;
/**
@@ -47,7 +49,8 @@ class DataAgentContext extends \Google\Protobuf\Internal\Message
* @type string $data_agent
* Required. The name of the data agent resource.
* @type \Google\Cloud\GeminiDataAnalytics\V1beta\Credentials $credentials
- * Optional. The credentials to use when calling the Looker data source.
+ * 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
@@ -88,43 +91,55 @@ public function setDataAgent($var)
}
/**
- * Optional. The credentials to use when calling the Looker data source.
+ * 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).
*
- * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
* @return \Google\Cloud\GeminiDataAnalytics\V1beta\Credentials|null
+ * @deprecated
*/
public function getCredentials()
{
+ if (isset($this->credentials)) {
+ @trigger_error('credentials is deprecated.', E_USER_DEPRECATED);
+ }
return $this->credentials;
}
public function hasCredentials()
{
+ if (isset($this->credentials)) {
+ @trigger_error('credentials is deprecated.', E_USER_DEPRECATED);
+ }
return isset($this->credentials);
}
public function clearCredentials()
{
+ @trigger_error('credentials is deprecated.', E_USER_DEPRECATED);
unset($this->credentials);
}
/**
- * Optional. The credentials to use when calling the Looker data source.
+ * 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).
*
- * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
* @param \Google\Cloud\GeminiDataAnalytics\V1beta\Credentials $var
* @return $this
+ * @deprecated
*/
public function setCredentials($var)
{
+ @trigger_error('credentials is deprecated.', E_USER_DEPRECATED);
GPBUtil::checkMessage($var, \Google\Cloud\GeminiDataAnalytics\V1beta\Credentials::class);
$this->credentials = $var;
diff --git a/GeminiDataAnalytics/src/V1beta/DataMessage.php b/GeminiDataAnalytics/src/V1beta/DataMessage.php
index 4a7784763d95..0e7f2551c8da 100644
--- a/GeminiDataAnalytics/src/V1beta/DataMessage.php
+++ b/GeminiDataAnalytics/src/V1beta/DataMessage.php
@@ -30,10 +30,12 @@ class DataMessage extends \Google\Protobuf\Internal\Message
* @type \Google\Cloud\GeminiDataAnalytics\V1beta\DataResult $result
* Retrieved data.
* @type \Google\Cloud\GeminiDataAnalytics\V1beta\LookerQuery $generated_looker_query
- * Looker Query generated by the system to retrieve data.
* Deprecated: generated looker query is now under DataQuery.looker.
+ * Looker Query generated by the system to retrieve data.
* @type \Google\Cloud\GeminiDataAnalytics\V1beta\BigQueryJob $big_query_job
* A BigQuery job executed by the system to retrieve data.
+ * @type \Google\Cloud\GeminiDataAnalytics\V1beta\MatchedQuery $matched_query
+ * A pre-existing query that was matched to retrieve data.
* }
*/
public function __construct($data = NULL) {
@@ -135,8 +137,8 @@ public function setResult($var)
}
/**
- * Looker Query generated by the system to retrieve data.
* Deprecated: generated looker query is now under DataQuery.looker.
+ * Looker Query generated by the system to retrieve data.
*
* Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.LookerQuery generated_looker_query = 4 [deprecated = true];
* @return \Google\Cloud\GeminiDataAnalytics\V1beta\LookerQuery|null
@@ -159,8 +161,8 @@ public function hasGeneratedLookerQuery()
}
/**
- * Looker Query generated by the system to retrieve data.
* Deprecated: generated looker query is now under DataQuery.looker.
+ * Looker Query generated by the system to retrieve data.
*
* Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.LookerQuery generated_looker_query = 4 [deprecated = true];
* @param \Google\Cloud\GeminiDataAnalytics\V1beta\LookerQuery $var
@@ -207,6 +209,37 @@ public function setBigQueryJob($var)
return $this;
}
+ /**
+ * A pre-existing query that was matched to retrieve data.
+ *
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.MatchedQuery matched_query = 6;
+ * @return \Google\Cloud\GeminiDataAnalytics\V1beta\MatchedQuery|null
+ */
+ public function getMatchedQuery()
+ {
+ return $this->readOneof(6);
+ }
+
+ public function hasMatchedQuery()
+ {
+ return $this->hasOneof(6);
+ }
+
+ /**
+ * A pre-existing query that was matched to retrieve data.
+ *
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.MatchedQuery matched_query = 6;
+ * @param \Google\Cloud\GeminiDataAnalytics\V1beta\MatchedQuery $var
+ * @return $this
+ */
+ public function setMatchedQuery($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\GeminiDataAnalytics\V1beta\MatchedQuery::class);
+ $this->writeOneof(6, $var);
+
+ return $this;
+ }
+
/**
* @return string
*/
diff --git a/GeminiDataAnalytics/src/V1beta/DatabaseTableReference.php b/GeminiDataAnalytics/src/V1beta/DatabaseTableReference.php
new file mode 100644
index 000000000000..2a9bbed9075d
--- /dev/null
+++ b/GeminiDataAnalytics/src/V1beta/DatabaseTableReference.php
@@ -0,0 +1,195 @@
+google.cloud.geminidataanalytics.v1beta.DatabaseTableReference
+ */
+class DatabaseTableReference extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * 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.
+ *
+ * Generated from protobuf field string table_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $table_id = '';
+ /**
+ * Optional. The schema of the table.
+ *
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.Schema schema = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $schema = null;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $table_id
+ * 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.
+ * @type \Google\Cloud\GeminiDataAnalytics\V1beta\Schema $schema
+ * Optional. The schema of the table.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Geminidataanalytics\V1Beta\Datasource::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * 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.
+ *
+ * Generated from protobuf field string table_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getTableId()
+ {
+ return $this->table_id;
+ }
+
+ /**
+ * 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.
+ *
+ * Generated from protobuf field string table_id = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setTableId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->table_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The schema of the table.
+ *
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.Schema schema = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return \Google\Cloud\GeminiDataAnalytics\V1beta\Schema|null
+ */
+ public function getSchema()
+ {
+ return $this->schema;
+ }
+
+ public function hasSchema()
+ {
+ return isset($this->schema);
+ }
+
+ public function clearSchema()
+ {
+ unset($this->schema);
+ }
+
+ /**
+ * Optional. The schema of the table.
+ *
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.Schema schema = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\GeminiDataAnalytics\V1beta\Schema $var
+ * @return $this
+ */
+ public function setSchema($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\GeminiDataAnalytics\V1beta\Schema::class);
+ $this->schema = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/GeminiDataAnalytics/src/V1beta/Datasource.php b/GeminiDataAnalytics/src/V1beta/Datasource.php
index 15247b54210f..c2bffe5ab7b5 100644
--- a/GeminiDataAnalytics/src/V1beta/Datasource.php
+++ b/GeminiDataAnalytics/src/V1beta/Datasource.php
@@ -51,6 +51,8 @@ class Datasource extends \Google\Protobuf\Internal\Message
* A reference to a Spanner database.
* @type \Google\Cloud\GeminiDataAnalytics\V1beta\CloudSqlReference $cloud_sql_reference
* A reference to a CloudSQL database.
+ * @type \Google\Cloud\GeminiDataAnalytics\V1beta\BigQueryPropertyGraphReference $bigquery_property_graph_reference
+ * A reference to a BigQuery property graph.
* @type \Google\Cloud\GeminiDataAnalytics\V1beta\Schema $schema
* Optional. The schema of the datasource.
* @type \Google\Protobuf\Struct $struct_schema
@@ -252,6 +254,37 @@ public function setCloudSqlReference($var)
return $this;
}
+ /**
+ * A reference to a BigQuery property graph.
+ *
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference bigquery_property_graph_reference = 16;
+ * @return \Google\Cloud\GeminiDataAnalytics\V1beta\BigQueryPropertyGraphReference|null
+ */
+ public function getBigqueryPropertyGraphReference()
+ {
+ return $this->readOneof(16);
+ }
+
+ public function hasBigqueryPropertyGraphReference()
+ {
+ return $this->hasOneof(16);
+ }
+
+ /**
+ * A reference to a BigQuery property graph.
+ *
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.BigQueryPropertyGraphReference bigquery_property_graph_reference = 16;
+ * @param \Google\Cloud\GeminiDataAnalytics\V1beta\BigQueryPropertyGraphReference $var
+ * @return $this
+ */
+ public function setBigqueryPropertyGraphReference($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\GeminiDataAnalytics\V1beta\BigQueryPropertyGraphReference::class);
+ $this->writeOneof(16, $var);
+
+ return $this;
+ }
+
/**
* Optional. The schema of the datasource.
*
diff --git a/GeminiDataAnalytics/src/V1beta/ExampleQuery.php b/GeminiDataAnalytics/src/V1beta/ExampleQuery.php
index 675d917c06df..8fa837a7aed7 100644
--- a/GeminiDataAnalytics/src/V1beta/ExampleQuery.php
+++ b/GeminiDataAnalytics/src/V1beta/ExampleQuery.php
@@ -24,6 +24,15 @@ class ExampleQuery extends \Google\Protobuf\Internal\Message
* Generated from protobuf field string natural_language_question = 1 [(.google.api.field_behavior) = OPTIONAL];
*/
protected $natural_language_question = '';
+ /**
+ * 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.
+ *
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.QueryParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $parameters;
protected $query;
/**
@@ -39,6 +48,11 @@ class ExampleQuery extends \Google\Protobuf\Internal\Message
* @type string $natural_language_question
* Optional. A natural language question that a user might ask.
* For example: "How many orders were placed last month?"
+ * @type \Google\Cloud\GeminiDataAnalytics\V1beta\QueryParameter[] $parameters
+ * 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.
* }
*/
public function __construct($data = NULL) {
@@ -109,6 +123,38 @@ public function setNaturalLanguageQuestion($var)
return $this;
}
+ /**
+ * 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.
+ *
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.QueryParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return RepeatedField<\Google\Cloud\GeminiDataAnalytics\V1beta\QueryParameter>
+ */
+ public function getParameters()
+ {
+ return $this->parameters;
+ }
+
+ /**
+ * 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.
+ *
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.QueryParameter parameters = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\GeminiDataAnalytics\V1beta\QueryParameter[] $var
+ * @return $this
+ */
+ public function setParameters($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\GeminiDataAnalytics\V1beta\QueryParameter::class);
+ $this->parameters = $arr;
+
+ return $this;
+ }
+
/**
* @return string
*/
diff --git a/GeminiDataAnalytics/src/V1beta/Field.php b/GeminiDataAnalytics/src/V1beta/Field.php
index eb926f132d48..dea0c89210ed 100644
--- a/GeminiDataAnalytics/src/V1beta/Field.php
+++ b/GeminiDataAnalytics/src/V1beta/Field.php
@@ -69,8 +69,6 @@ class Field extends \Google\Protobuf\Internal\Message
private $subfields;
/**
* Optional. Field category, not required, currently only useful for Looker.
- * We are using a string to avoid depending on an external package and keep
- * this package self-contained.
*
* Generated from protobuf field string category = 10 [(.google.api.field_behavior) = OPTIONAL];
*/
@@ -112,8 +110,6 @@ class Field extends \Google\Protobuf\Internal\Message
* Optional. Recursive property for nested schema structures.
* @type string $category
* Optional. Field category, not required, currently only useful for Looker.
- * We are using a string to avoid depending on an external package and keep
- * this package self-contained.
* @type string $value_format
* Optional. Looker only. Value format of the field.
* Ref:
@@ -343,8 +339,6 @@ public function setSubfields($var)
/**
* Optional. Field category, not required, currently only useful for Looker.
- * We are using a string to avoid depending on an external package and keep
- * this package self-contained.
*
* Generated from protobuf field string category = 10 [(.google.api.field_behavior) = OPTIONAL];
* @return string
@@ -356,8 +350,6 @@ public function getCategory()
/**
* Optional. Field category, not required, currently only useful for Looker.
- * We are using a string to avoid depending on an external package and keep
- * this package self-contained.
*
* Generated from protobuf field string category = 10 [(.google.api.field_behavior) = OPTIONAL];
* @param string $var
diff --git a/GeminiDataAnalytics/src/V1beta/ListConversationsRequest.php b/GeminiDataAnalytics/src/V1beta/ListConversationsRequest.php
index 57b9444ec37e..12ad4ed74775 100644
--- a/GeminiDataAnalytics/src/V1beta/ListConversationsRequest.php
+++ b/GeminiDataAnalytics/src/V1beta/ListConversationsRequest.php
@@ -24,8 +24,9 @@ class ListConversationsRequest extends \Google\Protobuf\Internal\Message
protected $parent = '';
/**
* 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 approperiate default.
+ * 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.
*
* Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
*/
@@ -72,8 +73,9 @@ public static function build(string $parent): self
* Format: `projects/{project}/locations/{location}`
* @type int $page_size
* 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 approperiate default.
+ * 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.
* @type string $page_token
* Optional. A token identifying a page of results the server should return.
* @type string $filter
@@ -118,8 +120,9 @@ public function setParent($var)
/**
* 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 approperiate default.
+ * 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.
*
* Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
* @return int
@@ -131,8 +134,9 @@ public function getPageSize()
/**
* 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 approperiate default.
+ * 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.
*
* Generated from protobuf field int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
* @param int $var
diff --git a/GeminiDataAnalytics/src/V1beta/ListMessagesRequest.php b/GeminiDataAnalytics/src/V1beta/ListMessagesRequest.php
index 7161de0998a2..e4bc1cf4f2b4 100644
--- a/GeminiDataAnalytics/src/V1beta/ListMessagesRequest.php
+++ b/GeminiDataAnalytics/src/V1beta/ListMessagesRequest.php
@@ -25,8 +25,9 @@ class ListMessagesRequest extends \Google\Protobuf\Internal\Message
protected $parent = '';
/**
* 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 approperiate default.
+ * 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.
*
* Generated from protobuf field int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
*/
@@ -76,8 +77,9 @@ public static function build(string $parent): self
* `projects/{project}/locations/{location}/conversations/{conversation_id}`
* @type int $page_size
* 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 approperiate default.
+ * 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.
* @type string $page_token
* Optional. A token identifying a page of results the server should return.
* @type string $filter
@@ -125,8 +127,9 @@ public function setParent($var)
/**
* 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 approperiate default.
+ * 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.
*
* Generated from protobuf field int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
* @return int
@@ -138,8 +141,9 @@ public function getPageSize()
/**
* 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 approperiate default.
+ * 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.
*
* Generated from protobuf field int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
* @param int $var
diff --git a/GeminiDataAnalytics/src/V1beta/LookerExploreReferences.php b/GeminiDataAnalytics/src/V1beta/LookerExploreReferences.php
index d29c4813d3f8..2f6d629e313e 100644
--- a/GeminiDataAnalytics/src/V1beta/LookerExploreReferences.php
+++ b/GeminiDataAnalytics/src/V1beta/LookerExploreReferences.php
@@ -22,13 +22,15 @@ class LookerExploreReferences extends \Google\Protobuf\Internal\Message
*/
private $explore_references;
/**
- * Optional. The credentials to use when calling the Looker API.
+ * 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).
*
- * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
+ * @deprecated
*/
protected $credentials = null;
@@ -41,7 +43,8 @@ class LookerExploreReferences extends \Google\Protobuf\Internal\Message
* @type \Google\Cloud\GeminiDataAnalytics\V1beta\LookerExploreReference[] $explore_references
* Required. References to Looker explores.
* @type \Google\Cloud\GeminiDataAnalytics\V1beta\Credentials $credentials
- * Optional. The credentials to use when calling the Looker API.
+ * 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
@@ -80,43 +83,55 @@ public function setExploreReferences($var)
}
/**
- * Optional. The credentials to use when calling the Looker API.
+ * 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).
*
- * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
* @return \Google\Cloud\GeminiDataAnalytics\V1beta\Credentials|null
+ * @deprecated
*/
public function getCredentials()
{
+ if (isset($this->credentials)) {
+ @trigger_error('credentials is deprecated.', E_USER_DEPRECATED);
+ }
return $this->credentials;
}
public function hasCredentials()
{
+ if (isset($this->credentials)) {
+ @trigger_error('credentials is deprecated.', E_USER_DEPRECATED);
+ }
return isset($this->credentials);
}
public function clearCredentials()
{
+ @trigger_error('credentials is deprecated.', E_USER_DEPRECATED);
unset($this->credentials);
}
/**
- * Optional. The credentials to use when calling the Looker API.
+ * 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).
*
- * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.Credentials credentials = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
* @param \Google\Cloud\GeminiDataAnalytics\V1beta\Credentials $var
* @return $this
+ * @deprecated
*/
public function setCredentials($var)
{
+ @trigger_error('credentials is deprecated.', E_USER_DEPRECATED);
GPBUtil::checkMessage($var, \Google\Cloud\GeminiDataAnalytics\V1beta\Credentials::class);
$this->credentials = $var;
diff --git a/GeminiDataAnalytics/src/V1beta/LookerQuery.php b/GeminiDataAnalytics/src/V1beta/LookerQuery.php
index 1d3b58e0b213..e9af2dac06e7 100644
--- a/GeminiDataAnalytics/src/V1beta/LookerQuery.php
+++ b/GeminiDataAnalytics/src/V1beta/LookerQuery.php
@@ -53,6 +53,22 @@ class LookerQuery extends \Google\Protobuf\Internal\Message
* Generated from protobuf field optional string limit = 6 [(.google.api.field_behavior) = OPTIONAL];
*/
protected $limit = null;
+ /**
+ * 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.
+ *
+ * Generated from protobuf field optional string query_id = 10 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $query_id = null;
+ /**
+ * 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.
+ *
+ * Generated from protobuf field optional string client_id = 11 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $client_id = null;
/**
* Constructor.
@@ -72,6 +88,14 @@ class LookerQuery extends \Google\Protobuf\Internal\Message
* Optional. The sorts to apply to the explore.
* @type string $limit
* Optional. Limit in the query.
+ * @type string $query_id
+ * 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.
+ * @type string $client_id
+ * 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.
* }
*/
public function __construct($data = NULL) {
@@ -245,5 +269,85 @@ public function setLimit($var)
return $this;
}
+ /**
+ * 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.
+ *
+ * Generated from protobuf field optional string query_id = 10 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getQueryId()
+ {
+ return isset($this->query_id) ? $this->query_id : '';
+ }
+
+ public function hasQueryId()
+ {
+ return isset($this->query_id);
+ }
+
+ public function clearQueryId()
+ {
+ unset($this->query_id);
+ }
+
+ /**
+ * 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.
+ *
+ * Generated from protobuf field optional string query_id = 10 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setQueryId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->query_id = $var;
+
+ return $this;
+ }
+
+ /**
+ * 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.
+ *
+ * Generated from protobuf field optional string client_id = 11 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getClientId()
+ {
+ return isset($this->client_id) ? $this->client_id : '';
+ }
+
+ public function hasClientId()
+ {
+ return isset($this->client_id);
+ }
+
+ public function clearClientId()
+ {
+ unset($this->client_id);
+ }
+
+ /**
+ * 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.
+ *
+ * Generated from protobuf field optional string client_id = 11 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setClientId($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->client_id = $var;
+
+ return $this;
+ }
+
}
diff --git a/GeminiDataAnalytics/src/V1beta/LookerQuery/Filter.php b/GeminiDataAnalytics/src/V1beta/LookerQuery/Filter.php
index d9856803eb0a..674f2f79180d 100644
--- a/GeminiDataAnalytics/src/V1beta/LookerQuery/Filter.php
+++ b/GeminiDataAnalytics/src/V1beta/LookerQuery/Filter.php
@@ -22,11 +22,13 @@ class Filter extends \Google\Protobuf\Internal\Message
*/
protected $field = '';
/**
- * Required. The value for the field to filter on.
+ * 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.
*
- * Generated from protobuf field string value = 2 [(.google.api.field_behavior) = REQUIRED];
+ * Generated from protobuf field optional string value = 2 [(.google.api.field_behavior) = OPTIONAL];
*/
- protected $value = '';
+ protected $value = null;
/**
* Constructor.
@@ -37,7 +39,9 @@ class Filter extends \Google\Protobuf\Internal\Message
* @type string $field
* Required. The field to filter on.
* @type string $value
- * Required. The value for the field to filter on.
+ * 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.
* }
*/
public function __construct($data = NULL) {
@@ -72,20 +76,34 @@ public function setField($var)
}
/**
- * Required. The value for the field to filter on.
+ * 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.
*
- * Generated from protobuf field string value = 2 [(.google.api.field_behavior) = REQUIRED];
+ * Generated from protobuf field optional string value = 2 [(.google.api.field_behavior) = OPTIONAL];
* @return string
*/
public function getValue()
{
- return $this->value;
+ return isset($this->value) ? $this->value : '';
+ }
+
+ public function hasValue()
+ {
+ return isset($this->value);
+ }
+
+ public function clearValue()
+ {
+ unset($this->value);
}
/**
- * Required. The value for the field to filter on.
+ * 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.
*
- * Generated from protobuf field string value = 2 [(.google.api.field_behavior) = REQUIRED];
+ * Generated from protobuf field optional string value = 2 [(.google.api.field_behavior) = OPTIONAL];
* @param string $var
* @return $this
*/
diff --git a/GeminiDataAnalytics/src/V1beta/LookerSettings.php b/GeminiDataAnalytics/src/V1beta/LookerSettings.php
new file mode 100644
index 000000000000..e3a73ae9c093
--- /dev/null
+++ b/GeminiDataAnalytics/src/V1beta/LookerSettings.php
@@ -0,0 +1,87 @@
+google.cloud.geminidataanalytics.v1beta.LookerSettings
+ */
+class LookerSettings extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * 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.
+ *
+ * Generated from protobuf field bool enable_dev_mode = 1 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $enable_dev_mode = false;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type bool $enable_dev_mode
+ * 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.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Geminidataanalytics\V1Beta\DataChatService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * 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.
+ *
+ * Generated from protobuf field bool enable_dev_mode = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @return bool
+ */
+ public function getEnableDevMode()
+ {
+ return $this->enable_dev_mode;
+ }
+
+ /**
+ * 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.
+ *
+ * Generated from protobuf field bool enable_dev_mode = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @param bool $var
+ * @return $this
+ */
+ public function setEnableDevMode($var)
+ {
+ GPBUtil::checkBool($var);
+ $this->enable_dev_mode = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/GeminiDataAnalytics/src/V1beta/MatchedQuery.php b/GeminiDataAnalytics/src/V1beta/MatchedQuery.php
new file mode 100644
index 000000000000..e4330724e922
--- /dev/null
+++ b/GeminiDataAnalytics/src/V1beta/MatchedQuery.php
@@ -0,0 +1,113 @@
+google.cloud.geminidataanalytics.v1beta.MatchedQuery
+ */
+class MatchedQuery extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * The query that was matched based on an example query.
+ *
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 1;
+ */
+ protected $example_query = null;
+ /**
+ * The extracted values for the query parameters.
+ *
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.QueryParameterValues query_parameter_values = 2;
+ */
+ private $query_parameter_values;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\GeminiDataAnalytics\V1beta\ExampleQuery $example_query
+ * The query that was matched based on an example query.
+ * @type \Google\Cloud\GeminiDataAnalytics\V1beta\QueryParameterValues[] $query_parameter_values
+ * The extracted values for the query parameters.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Geminidataanalytics\V1Beta\Context::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * The query that was matched based on an example query.
+ *
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 1;
+ * @return \Google\Cloud\GeminiDataAnalytics\V1beta\ExampleQuery|null
+ */
+ public function getExampleQuery()
+ {
+ return $this->example_query;
+ }
+
+ public function hasExampleQuery()
+ {
+ return isset($this->example_query);
+ }
+
+ public function clearExampleQuery()
+ {
+ unset($this->example_query);
+ }
+
+ /**
+ * The query that was matched based on an example query.
+ *
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.ExampleQuery example_query = 1;
+ * @param \Google\Cloud\GeminiDataAnalytics\V1beta\ExampleQuery $var
+ * @return $this
+ */
+ public function setExampleQuery($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\GeminiDataAnalytics\V1beta\ExampleQuery::class);
+ $this->example_query = $var;
+
+ return $this;
+ }
+
+ /**
+ * The extracted values for the query parameters.
+ *
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.QueryParameterValues query_parameter_values = 2;
+ * @return RepeatedField<\Google\Cloud\GeminiDataAnalytics\V1beta\QueryParameterValues>
+ */
+ public function getQueryParameterValues()
+ {
+ return $this->query_parameter_values;
+ }
+
+ /**
+ * The extracted values for the query parameters.
+ *
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.QueryParameterValues query_parameter_values = 2;
+ * @param \Google\Cloud\GeminiDataAnalytics\V1beta\QueryParameterValues[] $var
+ * @return $this
+ */
+ public function setQueryParameterValues($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\GeminiDataAnalytics\V1beta\QueryParameterValues::class);
+ $this->query_parameter_values = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/GeminiDataAnalytics/src/V1beta/ParameterizedSecureViewParameters.php b/GeminiDataAnalytics/src/V1beta/ParameterizedSecureViewParameters.php
index a3c1154cf5b1..2f333b96a253 100644
--- a/GeminiDataAnalytics/src/V1beta/ParameterizedSecureViewParameters.php
+++ b/GeminiDataAnalytics/src/V1beta/ParameterizedSecureViewParameters.php
@@ -19,10 +19,8 @@ class ParameterizedSecureViewParameters extends \Google\Protobuf\Internal\Messag
{
/**
* Optional. Named parameters for Parameterized Secure Views (PSV).
- * The map keys are parameter names (e.g., `"user_id"`), and values are the
- * corresponding parameter values (e.g., `"123"`).
*
- * Generated from protobuf field map parameters = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters.Parameter parameters = 1 [(.google.api.field_behavior) = OPTIONAL];
*/
private $parameters;
@@ -32,10 +30,8 @@ class ParameterizedSecureViewParameters extends \Google\Protobuf\Internal\Messag
* @param array $data {
* Optional. Data for populating the Message object.
*
- * @type array|\Google\Protobuf\Internal\MapField $parameters
+ * @type \Google\Cloud\GeminiDataAnalytics\V1beta\ParameterizedSecureViewParameters\Parameter[] $parameters
* Optional. Named parameters for Parameterized Secure Views (PSV).
- * The map keys are parameter names (e.g., `"user_id"`), and values are the
- * corresponding parameter values (e.g., `"123"`).
* }
*/
public function __construct($data = NULL) {
@@ -45,11 +41,9 @@ public function __construct($data = NULL) {
/**
* Optional. Named parameters for Parameterized Secure Views (PSV).
- * The map keys are parameter names (e.g., `"user_id"`), and values are the
- * corresponding parameter values (e.g., `"123"`).
*
- * Generated from protobuf field map parameters = 1 [(.google.api.field_behavior) = OPTIONAL];
- * @return \Google\Protobuf\Internal\MapField
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters.Parameter parameters = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @return RepeatedField<\Google\Cloud\GeminiDataAnalytics\V1beta\ParameterizedSecureViewParameters\Parameter>
*/
public function getParameters()
{
@@ -58,16 +52,14 @@ public function getParameters()
/**
* Optional. Named parameters for Parameterized Secure Views (PSV).
- * The map keys are parameter names (e.g., `"user_id"`), and values are the
- * corresponding parameter values (e.g., `"123"`).
*
- * Generated from protobuf field map parameters = 1 [(.google.api.field_behavior) = OPTIONAL];
- * @param array|\Google\Protobuf\Internal\MapField $var
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters.Parameter parameters = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\GeminiDataAnalytics\V1beta\ParameterizedSecureViewParameters\Parameter[] $var
* @return $this
*/
public function setParameters($var)
{
- $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\GeminiDataAnalytics\V1beta\ParameterizedSecureViewParameters\Parameter::class);
$this->parameters = $arr;
return $this;
diff --git a/GeminiDataAnalytics/src/V1beta/ParameterizedSecureViewParameters/Parameter.php b/GeminiDataAnalytics/src/V1beta/ParameterizedSecureViewParameters/Parameter.php
new file mode 100644
index 000000000000..2afa63835dc1
--- /dev/null
+++ b/GeminiDataAnalytics/src/V1beta/ParameterizedSecureViewParameters/Parameter.php
@@ -0,0 +1,101 @@
+google.cloud.geminidataanalytics.v1beta.ParameterizedSecureViewParameters.Parameter
+ */
+class Parameter extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The parameter key (e.g., `"user_id"`).
+ *
+ * Generated from protobuf field string key = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $key = '';
+ /**
+ * Required. The parameter value (e.g., `"123"`).
+ *
+ * Generated from protobuf field string value = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $value = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $key
+ * Required. The parameter key (e.g., `"user_id"`).
+ * @type string $value
+ * Required. The parameter value (e.g., `"123"`).
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Geminidataanalytics\V1Beta\DataChatService::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The parameter key (e.g., `"user_id"`).
+ *
+ * Generated from protobuf field string key = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getKey()
+ {
+ return $this->key;
+ }
+
+ /**
+ * Required. The parameter key (e.g., `"user_id"`).
+ *
+ * Generated from protobuf field string key = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setKey($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->key = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The parameter value (e.g., `"123"`).
+ *
+ * Generated from protobuf field string value = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getValue()
+ {
+ return $this->value;
+ }
+
+ /**
+ * Required. The parameter value (e.g., `"123"`).
+ *
+ * Generated from protobuf field string value = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setValue($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->value = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/GeminiDataAnalytics/src/V1beta/QueryParameter.php b/GeminiDataAnalytics/src/V1beta/QueryParameter.php
new file mode 100644
index 000000000000..310281ac5805
--- /dev/null
+++ b/GeminiDataAnalytics/src/V1beta/QueryParameter.php
@@ -0,0 +1,156 @@
+google.cloud.geminidataanalytics.v1beta.QueryParameter
+ */
+class QueryParameter extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The name of the parameter reference in the SQL query.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $name = '';
+ /**
+ * Optional. The description of the parameter that can be used by LLM to
+ * extract the parameter value from the user question.
+ *
+ * Generated from protobuf field string description = 2 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $description = '';
+ /**
+ * 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.
+ *
+ * Generated from protobuf field string data_type = 3 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $data_type = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. The name of the parameter reference in the SQL query.
+ * @type string $description
+ * Optional. The description of the parameter that can be used by LLM to
+ * extract the parameter value from the user question.
+ * @type string $data_type
+ * 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.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Geminidataanalytics\V1Beta\Context::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The name of the parameter reference in the SQL query.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. The name of the parameter reference in the SQL query.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Optional. The description of the parameter that can be used by LLM to
+ * extract the parameter value from the user question.
+ *
+ * Generated from protobuf field string description = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getDescription()
+ {
+ return $this->description;
+ }
+
+ /**
+ * Optional. The description of the parameter that can be used by LLM to
+ * extract the parameter value from the user question.
+ *
+ * Generated from protobuf field string description = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setDescription($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->description = $var;
+
+ return $this;
+ }
+
+ /**
+ * 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.
+ *
+ * Generated from protobuf field string data_type = 3 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getDataType()
+ {
+ return $this->data_type;
+ }
+
+ /**
+ * 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.
+ *
+ * Generated from protobuf field string data_type = 3 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setDataType($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->data_type = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/GeminiDataAnalytics/src/V1beta/QueryParameterValues.php b/GeminiDataAnalytics/src/V1beta/QueryParameterValues.php
new file mode 100644
index 000000000000..5bb5e2ea7d0b
--- /dev/null
+++ b/GeminiDataAnalytics/src/V1beta/QueryParameterValues.php
@@ -0,0 +1,103 @@
+google.cloud.geminidataanalytics.v1beta.QueryParameterValues
+ */
+class QueryParameterValues extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * Required. The name of the parameter.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $name = '';
+ /**
+ * Required. The value of the parameter.
+ *
+ * Generated from protobuf field string value = 2 [(.google.api.field_behavior) = REQUIRED];
+ */
+ protected $value = '';
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type string $name
+ * Required. The name of the parameter.
+ * @type string $value
+ * Required. The value of the parameter.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Geminidataanalytics\V1Beta\Context::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * Required. The name of the parameter.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->name;
+ }
+
+ /**
+ * Required. The name of the parameter.
+ *
+ * Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setName($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->name = $var;
+
+ return $this;
+ }
+
+ /**
+ * Required. The value of the parameter.
+ *
+ * Generated from protobuf field string value = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return string
+ */
+ public function getValue()
+ {
+ return $this->value;
+ }
+
+ /**
+ * Required. The value of the parameter.
+ *
+ * Generated from protobuf field string value = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @param string $var
+ * @return $this
+ */
+ public function setValue($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->value = $var;
+
+ return $this;
+ }
+
+}
+
diff --git a/GeminiDataAnalytics/src/V1beta/SpannerDatabaseReference.php b/GeminiDataAnalytics/src/V1beta/SpannerDatabaseReference.php
index b1861fe10c70..7fef96622a97 100644
--- a/GeminiDataAnalytics/src/V1beta/SpannerDatabaseReference.php
+++ b/GeminiDataAnalytics/src/V1beta/SpannerDatabaseReference.php
@@ -27,12 +27,6 @@ class SpannerDatabaseReference extends \Google\Protobuf\Internal\Message
* Generated from protobuf field string project_id = 1 [(.google.api.field_behavior) = REQUIRED];
*/
protected $project_id = '';
- /**
- * Required. The region of the instance.
- *
- * Generated from protobuf field string region = 2 [(.google.api.field_behavior) = REQUIRED];
- */
- protected $region = '';
/**
* Required. The instance id.
*
@@ -51,6 +45,31 @@ class SpannerDatabaseReference extends \Google\Protobuf\Internal\Message
* Generated from protobuf field repeated string table_ids = 5 [(.google.api.field_behavior) = OPTIONAL];
*/
private $table_ids;
+ /**
+ * 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.
+ *
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ private $database_table_references;
+ /**
+ * 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.
+ *
+ * Generated from protobuf field string priority = 8 [(.google.api.field_behavior) = OPTIONAL];
+ */
+ protected $priority = '';
+ /**
+ * Tag to be attached to all queries to Spanner. Allows to identify and
+ * monitor queries sent to Spanner by the GDA service.
+ *
+ * Generated from protobuf field string request_tag = 9;
+ */
+ protected $request_tag = '';
/**
* Constructor.
@@ -62,14 +81,25 @@ class SpannerDatabaseReference extends \Google\Protobuf\Internal\Message
* Required. The engine of the Spanner instance.
* @type string $project_id
* Required. The project the instance belongs to.
- * @type string $region
- * Required. The region of the instance.
* @type string $instance_id
* Required. The instance id.
* @type string $database_id
* Required. The database id.
* @type string[] $table_ids
* Optional. The table ids. Denotes all tables if unset.
+ * @type \Google\Cloud\GeminiDataAnalytics\V1beta\DatabaseTableReference[] $database_table_references
+ * 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.
+ * @type string $priority
+ * 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.
+ * @type string $request_tag
+ * Tag to be attached to all queries to Spanner. Allows to identify and
+ * monitor queries sent to Spanner by the GDA service.
* }
*/
public function __construct($data = NULL) {
@@ -129,32 +159,6 @@ public function setProjectId($var)
return $this;
}
- /**
- * Required. The region of the instance.
- *
- * Generated from protobuf field string region = 2 [(.google.api.field_behavior) = REQUIRED];
- * @return string
- */
- public function getRegion()
- {
- return $this->region;
- }
-
- /**
- * Required. The region of the instance.
- *
- * Generated from protobuf field string region = 2 [(.google.api.field_behavior) = REQUIRED];
- * @param string $var
- * @return $this
- */
- public function setRegion($var)
- {
- GPBUtil::checkString($var, True);
- $this->region = $var;
-
- return $this;
- }
-
/**
* Required. The instance id.
*
@@ -233,5 +237,97 @@ public function setTableIds($var)
return $this;
}
+ /**
+ * 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.
+ *
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];
+ * @return RepeatedField<\Google\Cloud\GeminiDataAnalytics\V1beta\DatabaseTableReference>
+ */
+ public function getDatabaseTableReferences()
+ {
+ return $this->database_table_references;
+ }
+
+ /**
+ * 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.
+ *
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.DatabaseTableReference database_table_references = 7 [(.google.api.field_behavior) = OPTIONAL];
+ * @param \Google\Cloud\GeminiDataAnalytics\V1beta\DatabaseTableReference[] $var
+ * @return $this
+ */
+ public function setDatabaseTableReferences($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\GeminiDataAnalytics\V1beta\DatabaseTableReference::class);
+ $this->database_table_references = $arr;
+
+ return $this;
+ }
+
+ /**
+ * 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.
+ *
+ * Generated from protobuf field string priority = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * @return string
+ */
+ public function getPriority()
+ {
+ return $this->priority;
+ }
+
+ /**
+ * 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.
+ *
+ * Generated from protobuf field string priority = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * @param string $var
+ * @return $this
+ */
+ public function setPriority($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->priority = $var;
+
+ return $this;
+ }
+
+ /**
+ * Tag to be attached to all queries to Spanner. Allows to identify and
+ * monitor queries sent to Spanner by the GDA service.
+ *
+ * Generated from protobuf field string request_tag = 9;
+ * @return string
+ */
+ public function getRequestTag()
+ {
+ return $this->request_tag;
+ }
+
+ /**
+ * Tag to be attached to all queries to Spanner. Allows to identify and
+ * monitor queries sent to Spanner by the GDA service.
+ *
+ * Generated from protobuf field string request_tag = 9;
+ * @param string $var
+ * @return $this
+ */
+ public function setRequestTag($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->request_tag = $var;
+
+ return $this;
+ }
+
}
diff --git a/GeminiDataAnalytics/src/V1beta/StudioDatasourceReferences.php b/GeminiDataAnalytics/src/V1beta/StudioDatasourceReferences.php
index a588b3673cda..dbb00ea32bc1 100644
--- a/GeminiDataAnalytics/src/V1beta/StudioDatasourceReferences.php
+++ b/GeminiDataAnalytics/src/V1beta/StudioDatasourceReferences.php
@@ -16,9 +16,9 @@
class StudioDatasourceReferences extends \Google\Protobuf\Internal\Message
{
/**
- * The references to the studio datasources.
+ * Optional. The references to the studio datasources.
*
- * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.StudioDatasourceReference studio_references = 2;
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.StudioDatasourceReference studio_references = 2 [(.google.api.field_behavior) = OPTIONAL];
*/
private $studio_references;
@@ -29,7 +29,7 @@ class StudioDatasourceReferences extends \Google\Protobuf\Internal\Message
* Optional. Data for populating the Message object.
*
* @type \Google\Cloud\GeminiDataAnalytics\V1beta\StudioDatasourceReference[] $studio_references
- * The references to the studio datasources.
+ * Optional. The references to the studio datasources.
* }
*/
public function __construct($data = NULL) {
@@ -38,9 +38,9 @@ public function __construct($data = NULL) {
}
/**
- * The references to the studio datasources.
+ * Optional. The references to the studio datasources.
*
- * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.StudioDatasourceReference studio_references = 2;
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.StudioDatasourceReference studio_references = 2 [(.google.api.field_behavior) = OPTIONAL];
* @return RepeatedField<\Google\Cloud\GeminiDataAnalytics\V1beta\StudioDatasourceReference>
*/
public function getStudioReferences()
@@ -49,9 +49,9 @@ public function getStudioReferences()
}
/**
- * The references to the studio datasources.
+ * Optional. The references to the studio datasources.
*
- * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.StudioDatasourceReference studio_references = 2;
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.StudioDatasourceReference studio_references = 2 [(.google.api.field_behavior) = OPTIONAL];
* @param \Google\Cloud\GeminiDataAnalytics\V1beta\StudioDatasourceReference[] $var
* @return $this
*/
diff --git a/GeminiDataAnalytics/src/V1beta/SystemMessage.php b/GeminiDataAnalytics/src/V1beta/SystemMessage.php
index 6707c7facf35..97568b248d39 100644
--- a/GeminiDataAnalytics/src/V1beta/SystemMessage.php
+++ b/GeminiDataAnalytics/src/V1beta/SystemMessage.php
@@ -10,7 +10,7 @@
/**
* A message from the system in response to the user. This message can also be a
- * message from the user as historical context for multiturn conversations with
+ * message from the user as historical context for multi-turn conversations with
* the system.
*
* Generated from protobuf message google.cloud.geminidataanalytics.v1beta.SystemMessage
@@ -25,6 +25,12 @@ class SystemMessage extends \Google\Protobuf\Internal\Message
* Generated from protobuf field optional int32 group_id = 12;
*/
protected $group_id = null;
+ /**
+ * Output only. Citation information for the system message.
+ *
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.Citation citation = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ */
+ protected $citation = null;
protected $kind;
/**
@@ -48,11 +54,14 @@ class SystemMessage extends \Google\Protobuf\Internal\Message
* @type \Google\Cloud\GeminiDataAnalytics\V1beta\ExampleQueries $example_queries
* Optional. A message containing example queries.
* @type \Google\Cloud\GeminiDataAnalytics\V1beta\ClarificationMessage $clarification
- * Optional. A message containing clarification questions.
+ * Optional. Deprecated: Use TextMessage with TextType.FINAL_RESPONSE
+ * instead. A message containing clarification questions.
* @type int $group_id
* 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.
+ * @type \Google\Cloud\GeminiDataAnalytics\V1beta\Citation $citation
+ * Output only. Citation information for the system message.
* }
*/
public function __construct($data = NULL) {
@@ -278,30 +287,41 @@ public function setExampleQueries($var)
}
/**
- * Optional. A message containing clarification questions.
+ * Optional. Deprecated: Use TextMessage with TextType.FINAL_RESPONSE
+ * instead. A message containing clarification questions.
*
- * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.ClarificationMessage clarification = 14 [(.google.api.field_behavior) = OPTIONAL];
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.ClarificationMessage clarification = 14 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
* @return \Google\Cloud\GeminiDataAnalytics\V1beta\ClarificationMessage|null
+ * @deprecated
*/
public function getClarification()
{
+ if ($this->hasOneof(14)) {
+ @trigger_error('clarification is deprecated.', E_USER_DEPRECATED);
+ }
return $this->readOneof(14);
}
public function hasClarification()
{
+ if ($this->hasOneof(14)) {
+ @trigger_error('clarification is deprecated.', E_USER_DEPRECATED);
+ }
return $this->hasOneof(14);
}
/**
- * Optional. A message containing clarification questions.
+ * Optional. Deprecated: Use TextMessage with TextType.FINAL_RESPONSE
+ * instead. A message containing clarification questions.
*
- * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.ClarificationMessage clarification = 14 [(.google.api.field_behavior) = OPTIONAL];
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.ClarificationMessage clarification = 14 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
* @param \Google\Cloud\GeminiDataAnalytics\V1beta\ClarificationMessage $var
* @return $this
+ * @deprecated
*/
public function setClarification($var)
{
+ @trigger_error('clarification is deprecated.', E_USER_DEPRECATED);
GPBUtil::checkMessage($var, \Google\Cloud\GeminiDataAnalytics\V1beta\ClarificationMessage::class);
$this->writeOneof(14, $var);
@@ -348,6 +368,42 @@ public function setGroupId($var)
return $this;
}
+ /**
+ * Output only. Citation information for the system message.
+ *
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.Citation citation = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @return \Google\Cloud\GeminiDataAnalytics\V1beta\Citation|null
+ */
+ public function getCitation()
+ {
+ return $this->citation;
+ }
+
+ public function hasCitation()
+ {
+ return isset($this->citation);
+ }
+
+ public function clearCitation()
+ {
+ unset($this->citation);
+ }
+
+ /**
+ * Output only. Citation information for the system message.
+ *
+ * Generated from protobuf field .google.cloud.geminidataanalytics.v1beta.Citation citation = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ * @param \Google\Cloud\GeminiDataAnalytics\V1beta\Citation $var
+ * @return $this
+ */
+ public function setCitation($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Cloud\GeminiDataAnalytics\V1beta\Citation::class);
+ $this->citation = $var;
+
+ return $this;
+ }
+
/**
* @return string
*/
diff --git a/GeminiDataAnalytics/src/V1beta/TextMessage/TextType.php b/GeminiDataAnalytics/src/V1beta/TextMessage/TextType.php
index 6d3db5217ec7..8e92b4641f59 100644
--- a/GeminiDataAnalytics/src/V1beta/TextMessage/TextType.php
+++ b/GeminiDataAnalytics/src/V1beta/TextMessage/TextType.php
@@ -41,12 +41,20 @@ class TextType
* Generated from protobuf enum PROGRESS = 3;
*/
const PROGRESS = 3;
+ /**
+ * The text is a list of follow-up questions suggested.
+ * Each item in parts is a follow-up question.
+ *
+ * Generated from protobuf enum FOLLOWUP_QUESTIONS = 4;
+ */
+ const FOLLOWUP_QUESTIONS = 4;
private static $valueToName = [
self::TEXT_TYPE_UNSPECIFIED => 'TEXT_TYPE_UNSPECIFIED',
self::FINAL_RESPONSE => 'FINAL_RESPONSE',
self::THOUGHT => 'THOUGHT',
self::PROGRESS => 'PROGRESS',
+ self::FOLLOWUP_QUESTIONS => 'FOLLOWUP_QUESTIONS',
];
public static function name($value)
diff --git a/GeminiDataAnalytics/src/V1beta/UserFunctions.php b/GeminiDataAnalytics/src/V1beta/UserFunctions.php
new file mode 100644
index 000000000000..83b528fec489
--- /dev/null
+++ b/GeminiDataAnalytics/src/V1beta/UserFunctions.php
@@ -0,0 +1,67 @@
+google.cloud.geminidataanalytics.v1beta.UserFunctions
+ */
+class UserFunctions extends \Google\Protobuf\Internal\Message
+{
+ /**
+ * A list of BigQuery routines to include in the context.
+ *
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.BigQueryRoutine bq_routines = 1;
+ */
+ private $bq_routines;
+
+ /**
+ * Constructor.
+ *
+ * @param array $data {
+ * Optional. Data for populating the Message object.
+ *
+ * @type \Google\Cloud\GeminiDataAnalytics\V1beta\BigQueryRoutine[] $bq_routines
+ * A list of BigQuery routines to include in the context.
+ * }
+ */
+ public function __construct($data = NULL) {
+ \GPBMetadata\Google\Cloud\Geminidataanalytics\V1Beta\Context::initOnce();
+ parent::__construct($data);
+ }
+
+ /**
+ * A list of BigQuery routines to include in the context.
+ *
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.BigQueryRoutine bq_routines = 1;
+ * @return RepeatedField<\Google\Cloud\GeminiDataAnalytics\V1beta\BigQueryRoutine>
+ */
+ public function getBqRoutines()
+ {
+ return $this->bq_routines;
+ }
+
+ /**
+ * A list of BigQuery routines to include in the context.
+ *
+ * Generated from protobuf field repeated .google.cloud.geminidataanalytics.v1beta.BigQueryRoutine bq_routines = 1;
+ * @param \Google\Cloud\GeminiDataAnalytics\V1beta\BigQueryRoutine[] $var
+ * @return $this
+ */
+ public function setBqRoutines($var)
+ {
+ $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\GeminiDataAnalytics\V1beta\BigQueryRoutine::class);
+ $this->bq_routines = $arr;
+
+ return $this;
+ }
+
+}
+
diff --git a/GeminiDataAnalytics/src/V1beta/resources/data_agent_service_descriptor_config.php b/GeminiDataAnalytics/src/V1beta/resources/data_agent_service_descriptor_config.php
index f85f358a9a70..8211b654a562 100644
--- a/GeminiDataAnalytics/src/V1beta/resources/data_agent_service_descriptor_config.php
+++ b/GeminiDataAnalytics/src/V1beta/resources/data_agent_service_descriptor_config.php
@@ -229,6 +229,7 @@
'interfaceOverride' => 'google.cloud.location.Locations',
],
'templateMap' => [
+ 'cryptoKey' => 'projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}',
'dataAgent' => 'projects/{project}/locations/{location}/dataAgents/{data_agent}',
'location' => 'projects/{project}/locations/{location}',
],
diff --git a/GeminiDataAnalytics/src/V1beta/resources/data_chat_service_descriptor_config.php b/GeminiDataAnalytics/src/V1beta/resources/data_chat_service_descriptor_config.php
index 27abde8aeb09..65cda6666d4e 100644
--- a/GeminiDataAnalytics/src/V1beta/resources/data_chat_service_descriptor_config.php
+++ b/GeminiDataAnalytics/src/V1beta/resources/data_chat_service_descriptor_config.php
@@ -162,6 +162,7 @@
],
'templateMap' => [
'conversation' => 'projects/{project}/locations/{location}/conversations/{conversation}',
+ 'cryptoKey' => 'projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}',
'dataAgent' => 'projects/{project}/locations/{location}/dataAgents/{data_agent}',
'location' => 'projects/{project}/locations/{location}',
'project' => 'projects/{project}',
diff --git a/GeminiDataAnalytics/tests/Unit/V1beta/Client/DataAgentServiceClientTest.php b/GeminiDataAnalytics/tests/Unit/V1beta/Client/DataAgentServiceClientTest.php
index 602b1ccf4951..649e9835bf0e 100644
--- a/GeminiDataAnalytics/tests/Unit/V1beta/Client/DataAgentServiceClientTest.php
+++ b/GeminiDataAnalytics/tests/Unit/V1beta/Client/DataAgentServiceClientTest.php
@@ -105,10 +105,12 @@ public function createDataAgentTest()
$name = 'name3373707';
$displayName = 'displayName1615086568';
$description = 'description-1724546052';
+ $kmsKey = 'kmsKey-591635343';
$expectedResponse = new DataAgent();
$expectedResponse->setName($name);
$expectedResponse->setDisplayName($displayName);
$expectedResponse->setDescription($description);
+ $expectedResponse->setKmsKey($kmsKey);
$anyResponse = new Any();
$anyResponse->setValue($expectedResponse->serializeToString());
$completeOperation = new Operation();
@@ -228,10 +230,12 @@ public function createDataAgentSyncTest()
$name = 'name3373707';
$displayName = 'displayName1615086568';
$description = 'description-1724546052';
+ $kmsKey = 'kmsKey-591635343';
$expectedResponse = new DataAgent();
$expectedResponse->setName($name);
$expectedResponse->setDisplayName($displayName);
$expectedResponse->setDescription($description);
+ $expectedResponse->setKmsKey($kmsKey);
$transport->addResponse($expectedResponse);
// Mock request
$formattedParent = $gapicClient->locationName('[PROJECT]', '[LOCATION]');
@@ -494,10 +498,12 @@ public function getDataAgentTest()
$name2 = 'name2-1052831874';
$displayName = 'displayName1615086568';
$description = 'description-1724546052';
+ $kmsKey = 'kmsKey-591635343';
$expectedResponse = new DataAgent();
$expectedResponse->setName($name2);
$expectedResponse->setDisplayName($displayName);
$expectedResponse->setDescription($description);
+ $expectedResponse->setKmsKey($kmsKey);
$transport->addResponse($expectedResponse);
// Mock request
$formattedName = $gapicClient->dataAgentName('[PROJECT]', '[LOCATION]', '[DATA_AGENT]');
@@ -858,10 +864,12 @@ public function updateDataAgentTest()
$name = 'name3373707';
$displayName = 'displayName1615086568';
$description = 'description-1724546052';
+ $kmsKey = 'kmsKey-591635343';
$expectedResponse = new DataAgent();
$expectedResponse->setName($name);
$expectedResponse->setDisplayName($displayName);
$expectedResponse->setDescription($description);
+ $expectedResponse->setKmsKey($kmsKey);
$anyResponse = new Any();
$anyResponse->setValue($expectedResponse->serializeToString());
$completeOperation = new Operation();
@@ -977,10 +985,12 @@ public function updateDataAgentSyncTest()
$name = 'name3373707';
$displayName = 'displayName1615086568';
$description = 'description-1724546052';
+ $kmsKey = 'kmsKey-591635343';
$expectedResponse = new DataAgent();
$expectedResponse->setName($name);
$expectedResponse->setDisplayName($displayName);
$expectedResponse->setDescription($description);
+ $expectedResponse->setKmsKey($kmsKey);
$transport->addResponse($expectedResponse);
// Mock request
$dataAgent = new DataAgent();
@@ -1189,10 +1199,12 @@ public function createDataAgentAsyncTest()
$name = 'name3373707';
$displayName = 'displayName1615086568';
$description = 'description-1724546052';
+ $kmsKey = 'kmsKey-591635343';
$expectedResponse = new DataAgent();
$expectedResponse->setName($name);
$expectedResponse->setDisplayName($displayName);
$expectedResponse->setDescription($description);
+ $expectedResponse->setKmsKey($kmsKey);
$anyResponse = new Any();
$anyResponse->setValue($expectedResponse->serializeToString());
$completeOperation = new Operation();
diff --git a/GeminiDataAnalytics/tests/Unit/V1beta/Client/DataChatServiceClientTest.php b/GeminiDataAnalytics/tests/Unit/V1beta/Client/DataChatServiceClientTest.php
index cf3073e4498a..182323c1cec1 100644
--- a/GeminiDataAnalytics/tests/Unit/V1beta/Client/DataChatServiceClientTest.php
+++ b/GeminiDataAnalytics/tests/Unit/V1beta/Client/DataChatServiceClientTest.php
@@ -176,8 +176,12 @@ public function createConversationTest()
$this->assertTrue($transport->isExhausted());
// Mock response
$name = 'name3373707';
+ $kmsKey = 'kmsKey-591635343';
+ $memoryPaused = true;
$expectedResponse = new Conversation();
$expectedResponse->setName($name);
+ $expectedResponse->setKmsKey($kmsKey);
+ $expectedResponse->setMemoryPaused($memoryPaused);
$transport->addResponse($expectedResponse);
// Mock request
$formattedParent = $gapicClient->locationName('[PROJECT]', '[LOCATION]');
@@ -317,8 +321,12 @@ public function getConversationTest()
$this->assertTrue($transport->isExhausted());
// Mock response
$name2 = 'name2-1052831874';
+ $kmsKey = 'kmsKey-591635343';
+ $memoryPaused = true;
$expectedResponse = new Conversation();
$expectedResponse->setName($name2);
+ $expectedResponse->setKmsKey($kmsKey);
+ $expectedResponse->setMemoryPaused($memoryPaused);
$transport->addResponse($expectedResponse);
// Mock request
$formattedName = $gapicClient->conversationName('[PROJECT]', '[LOCATION]', '[CONVERSATION]');
@@ -742,8 +750,12 @@ public function createConversationAsyncTest()
$this->assertTrue($transport->isExhausted());
// Mock response
$name = 'name3373707';
+ $kmsKey = 'kmsKey-591635343';
+ $memoryPaused = true;
$expectedResponse = new Conversation();
$expectedResponse->setName($name);
+ $expectedResponse->setKmsKey($kmsKey);
+ $expectedResponse->setMemoryPaused($memoryPaused);
$transport->addResponse($expectedResponse);
// Mock request
$formattedParent = $gapicClient->locationName('[PROJECT]', '[LOCATION]');