From d3b96ba3666d04d236d2ac5382e2e8530152a79e Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 13 Sep 2026 09:44:24 +0000 Subject: [PATCH] feat: Automated regeneration of aiplatform v1beta1 client --- api_names_out.yaml | 38 + .../CHANGELOG.md | 4 + .../Gemfile.lock | 4 +- .../google/apis/aiplatform_v1beta1/classes.rb | 1162 ++--------------- .../apis/aiplatform_v1beta1/gem_version.rb | 4 +- .../aiplatform_v1beta1/representations.rb | 588 +-------- .../google/apis/aiplatform_v1beta1/service.rb | 258 +++- 7 files changed, 497 insertions(+), 1561 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index bf66778deac..1d38a15ff36 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -19592,6 +19592,7 @@ "/aiplatform:v1beta1/GoogleApiHttpBody/extensions/extension/extension": extension "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1A2APart": google_cloud_aiplatform_v1beta1_a2_a_part "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1A2APart/data": data +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1A2APart/data/datum": datum "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1A2APart/filename": filename "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1A2APart/mediaType": media_type "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1A2APart/metadata": metadata @@ -20396,6 +20397,7 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Claim/factIndexes/fact_index": fact_index "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Claim/score": score "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Claim/startIndex": start_index +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ClearTrainingDataRequest": google_cloud_aiplatform_v1beta1_clear_training_data_request "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ClientConnectionConfig": google_cloud_aiplatform_v1beta1_client_connection_config "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ClientConnectionConfig/inferenceTimeout": inference_timeout "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1CloudLoggingConfig": google_cloud_aiplatform_v1beta1_cloud_logging_config @@ -20997,6 +20999,8 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DisableXmanagerOperationMetadata": google_cloud_aiplatform_v1beta1_disable_xmanager_operation_metadata "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DisableXmanagerOperationMetadata/genericMetadata": generic_metadata "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DisableXmanagerOperationMetadata/progress": progress +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DiscoveryEngineAssistantConfig": google_cloud_aiplatform_v1beta1_discovery_engine_assistant_config +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DiscoveryEngineAssistantConfig/assistant": assistant "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DiskSpec": google_cloud_aiplatform_v1beta1_disk_spec "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DiskSpec/bootDiskSizeGb": boot_disk_size_gb "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DiskSpec/bootDiskType": boot_disk_type @@ -21243,6 +21247,17 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EvaluationDataset": google_cloud_aiplatform_v1beta1_evaluation_dataset "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EvaluationDataset/bigquerySource": bigquery_source "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EvaluationDataset/gcsSource": gcs_source +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EvaluationExperiment": google_cloud_aiplatform_v1beta1_evaluation_experiment +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EvaluationExperiment/createTime": create_time +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EvaluationExperiment/displayName": display_name +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EvaluationExperiment/evaluationRuns": evaluation_runs +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EvaluationExperiment/evaluationRuns/evaluation_run": evaluation_run +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EvaluationExperiment/labels": labels +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EvaluationExperiment/labels/label": label +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EvaluationExperiment/metadata": metadata +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EvaluationExperiment/metadata/metadatum": metadatum +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EvaluationExperiment/name": name +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EvaluationExperiment/updateTime": update_time "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EvaluationInstance": google_cloud_aiplatform_v1beta1_evaluation_instance "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EvaluationInstance/agentData": agent_data "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EvaluationInstance/agentEvalData": agent_eval_data @@ -21420,6 +21435,7 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EvaluationRun/encryptionSpec": encryption_spec "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EvaluationRun/error": error "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EvaluationRun/evaluationConfig": evaluation_config +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EvaluationRun/evaluationExperiment": evaluation_experiment "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EvaluationRun/evaluationResults": evaluation_results "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EvaluationRun/evaluationSetSnapshot": evaluation_set_snapshot "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EvaluationRun/inferenceConfigs": inference_configs @@ -21470,6 +21486,7 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgentConfig/tools/tool": tool "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgentRunConfig": google_cloud_aiplatform_v1beta1_evaluation_run_inference_config_agent_run_config "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgentRunConfig/agentEngine": agent_engine +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgentRunConfig/discoveryEngineAssistantConfig": discovery_engine_assistant_config "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgentRunConfig/geminiAgentConfig": gemini_agent_config "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgentRunConfig/sessionInput": session_input "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgentRunConfig/userSimulatorConfig": user_simulator_config @@ -23128,6 +23145,10 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ListEntityTypesResponse/entityTypes": entity_types "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ListEntityTypesResponse/entityTypes/entity_type": entity_type "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ListEntityTypesResponse/nextPageToken": next_page_token +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ListEvaluationExperimentsResponse": google_cloud_aiplatform_v1beta1_list_evaluation_experiments_response +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ListEvaluationExperimentsResponse/evaluationExperiments": evaluation_experiments +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ListEvaluationExperimentsResponse/evaluationExperiments/evaluation_experiment": evaluation_experiment +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ListEvaluationExperimentsResponse/nextPageToken": next_page_token "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ListEvaluationItemsResponse": google_cloud_aiplatform_v1beta1_list_evaluation_items_response "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ListEvaluationItemsResponse/evaluationItems": evaluation_items "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ListEvaluationItemsResponse/evaluationItems/evaluation_item": evaluation_item @@ -29682,6 +29703,21 @@ "/aiplatform:v1beta1/aiplatform.projects.locations.evaluateDataset/location": location "/aiplatform:v1beta1/aiplatform.projects.locations.evaluateInstances": evaluate_project_location_instances "/aiplatform:v1beta1/aiplatform.projects.locations.evaluateInstances/location": location +"/aiplatform:v1beta1/aiplatform.projects.locations.evaluationExperiments.create": create_project_location_evaluation_experiment +"/aiplatform:v1beta1/aiplatform.projects.locations.evaluationExperiments.create/parent": parent +"/aiplatform:v1beta1/aiplatform.projects.locations.evaluationExperiments.delete": delete_project_location_evaluation_experiment +"/aiplatform:v1beta1/aiplatform.projects.locations.evaluationExperiments.delete/name": name +"/aiplatform:v1beta1/aiplatform.projects.locations.evaluationExperiments.get": get_project_location_evaluation_experiment +"/aiplatform:v1beta1/aiplatform.projects.locations.evaluationExperiments.get/name": name +"/aiplatform:v1beta1/aiplatform.projects.locations.evaluationExperiments.list": list_project_location_evaluation_experiments +"/aiplatform:v1beta1/aiplatform.projects.locations.evaluationExperiments.list/filter": filter +"/aiplatform:v1beta1/aiplatform.projects.locations.evaluationExperiments.list/orderBy": order_by +"/aiplatform:v1beta1/aiplatform.projects.locations.evaluationExperiments.list/pageSize": page_size +"/aiplatform:v1beta1/aiplatform.projects.locations.evaluationExperiments.list/pageToken": page_token +"/aiplatform:v1beta1/aiplatform.projects.locations.evaluationExperiments.list/parent": parent +"/aiplatform:v1beta1/aiplatform.projects.locations.evaluationExperiments.patch": patch_project_location_evaluation_experiment +"/aiplatform:v1beta1/aiplatform.projects.locations.evaluationExperiments.patch/name": name +"/aiplatform:v1beta1/aiplatform.projects.locations.evaluationExperiments.patch/updateMask": update_mask "/aiplatform:v1beta1/aiplatform.projects.locations.evaluationItems.create": create_project_location_evaluation_item "/aiplatform:v1beta1/aiplatform.projects.locations.evaluationItems.create/parent": parent "/aiplatform:v1beta1/aiplatform.projects.locations.evaluationItems.delete": delete_project_location_evaluation_item @@ -30843,6 +30879,8 @@ "/aiplatform:v1beta1/aiplatform.projects.locations.monitoredAgents.analyzedSessions.list/pageToken": page_token "/aiplatform:v1beta1/aiplatform.projects.locations.monitoredAgents.analyzedSessions.list/parent": parent "/aiplatform:v1beta1/aiplatform.projects.locations.monitoredAgents.analyzedSessions.list/view": view +"/aiplatform:v1beta1/aiplatform.projects.locations.monitoredAgents.clearTrainingData": clear_project_location_monitored_agent_training_data +"/aiplatform:v1beta1/aiplatform.projects.locations.monitoredAgents.clearTrainingData/name": name "/aiplatform:v1beta1/aiplatform.projects.locations.monitoredAgents.create": create_project_location_monitored_agent "/aiplatform:v1beta1/aiplatform.projects.locations.monitoredAgents.create/monitoredAgentId": monitored_agent_id "/aiplatform:v1beta1/aiplatform.projects.locations.monitoredAgents.create/parent": parent diff --git a/generated/google-apis-aiplatform_v1beta1/CHANGELOG.md b/generated/google-apis-aiplatform_v1beta1/CHANGELOG.md index 8268beacc35..03536560e7c 100644 --- a/generated/google-apis-aiplatform_v1beta1/CHANGELOG.md +++ b/generated/google-apis-aiplatform_v1beta1/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-aiplatform_v1beta1 +### v0.90.0 (2026-09-13) + +* Regenerated from discovery document revision 20260904 + ### v0.89.0 (2026-09-06) * Regenerated from discovery document revision 20260831 diff --git a/generated/google-apis-aiplatform_v1beta1/Gemfile.lock b/generated/google-apis-aiplatform_v1beta1/Gemfile.lock index f1c8e659522..0cc0844d14a 100644 --- a/generated/google-apis-aiplatform_v1beta1/Gemfile.lock +++ b/generated/google-apis-aiplatform_v1beta1/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - google-apis-aiplatform_v1beta1 (0.89.0) + google-apis-aiplatform_v1beta1 (0.90.0) google-apis-core (>= 0.15.0, < 2.a) GEM @@ -105,7 +105,7 @@ CHECKSUMS faraday (2.14.3) sha256=1882247e6766615c8220b4392bf1d27f6ebb63d8e28267587cef1fb0bf37f278 faraday-follow_redirects (0.5.0) sha256=5cde93c894b30943a5d2b93c2fe9284216a6b756f7af406a1e55f211d97d10ad faraday-net_http (3.4.4) sha256=0e78af151747ed1b00f33e25973b4bc220d7f16c00c39676817c8b12331eb588 - google-apis-aiplatform_v1beta1 (0.89.0) + google-apis-aiplatform_v1beta1 (0.90.0) google-apis-core (1.2.5) sha256=e21562b5627a0fc6a0c3165e429c3afed0f6a628eaa514e83f7204dda1adff69 google-cloud-env (2.4.0) sha256=01cb35ecee5d1c4d1cd4deaed8bb5bddc838e296bcc2a35c5d1ddd07ce40d28d google-logging-utils (0.2.0) sha256=675462b4ea5affa825a3442694ca2d75d0069455a1d0956127207498fca3df7b diff --git a/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/classes.rb b/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/classes.rb index af6e65c6b0b..ab7cff886a8 100644 --- a/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/classes.rb +++ b/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/classes.rb @@ -1438,25 +1438,6 @@ def update!(**args) end end - # Code execution content. - class GenaiVertexV1beta1CodeExecutionCallContent - include Google::Apis::Core::Hashable - - # The arguments to pass to the code execution. - # Corresponds to the JSON property `arguments` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeExecutionCallContentCodeExecutionCallArguments] - attr_accessor :arguments - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @arguments = args[:arguments] if args.key?(:arguments) - end - end - # The arguments to pass to the code execution. class GenaiVertexV1beta1CodeExecutionCallContentCodeExecutionCallArguments include Google::Apis::Core::Hashable @@ -1545,32 +1526,6 @@ def update!(**args) end end - # Code execution result content. - class GenaiVertexV1beta1CodeExecutionResultContent - include Google::Apis::Core::Hashable - - # Whether the code execution resulted in an error. - # Corresponds to the JSON property `isError` - # @return [Boolean] - attr_accessor :is_error - alias_method :is_error?, :is_error - - # Required. The output of the code execution. - # Corresponds to the JSON property `result` - # @return [String] - attr_accessor :result - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @is_error = args[:is_error] if args.key?(:is_error) - @result = args[:result] if args.key?(:result) - end - end - # class GenaiVertexV1beta1CodeExecutionResultDelta include Google::Apis::Core::Hashable @@ -1853,21 +1808,6 @@ class GenaiVertexV1beta1Content # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1TextContent] attr_accessor :text - # A thought content block. - # Corresponds to the JSON property `thought` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ThoughtContent] - attr_accessor :thought - - # Tool call content. - # Corresponds to the JSON property `toolCall` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ToolCallContent] - attr_accessor :tool_call - - # Tool result content. - # Corresponds to the JSON property `toolResult` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ToolResultContent] - attr_accessor :tool_result - # A video content block. # Corresponds to the JSON property `video` # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1VideoContent] @@ -1883,107 +1823,6 @@ def update!(**args) @document = args[:document] if args.key?(:document) @image = args[:image] if args.key?(:image) @text = args[:text] if args.key?(:text) - @thought = args[:thought] if args.key?(:thought) - @tool_call = args[:tool_call] if args.key?(:tool_call) - @tool_result = args[:tool_result] if args.key?(:tool_result) - @video = args[:video] if args.key?(:video) - end - end - - # - class GenaiVertexV1beta1ContentDelta - include Google::Apis::Core::Hashable - - # The delta content data for a content block. - # Corresponds to the JSON property `delta` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ContentDeltaData] - attr_accessor :delta - - # - # Corresponds to the JSON property `index` - # @return [Fixnum] - attr_accessor :index - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @delta = args[:delta] if args.key?(:delta) - @index = args[:index] if args.key?(:index) - end - end - - # The delta content data for a content block. - class GenaiVertexV1beta1ContentDeltaData - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `audio` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1AudioDelta] - attr_accessor :audio - - # - # Corresponds to the JSON property `document` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1DocumentDelta] - attr_accessor :document - - # - # Corresponds to the JSON property `image` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ImageDelta] - attr_accessor :image - - # - # Corresponds to the JSON property `text` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1TextDelta] - attr_accessor :text - - # - # Corresponds to the JSON property `textAnnotation` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1TextAnnotationDelta] - attr_accessor :text_annotation - - # - # Corresponds to the JSON property `thoughtSignature` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ThoughtSignatureDelta] - attr_accessor :thought_signature - - # - # Corresponds to the JSON property `thoughtSummary` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ThoughtSummaryDelta] - attr_accessor :thought_summary - - # - # Corresponds to the JSON property `toolCall` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ToolCallDelta] - attr_accessor :tool_call - - # - # Corresponds to the JSON property `toolResult` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ToolResultDelta] - attr_accessor :tool_result - - # - # Corresponds to the JSON property `video` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1VideoDelta] - attr_accessor :video - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @audio = args[:audio] if args.key?(:audio) - @document = args[:document] if args.key?(:document) - @image = args[:image] if args.key?(:image) - @text = args[:text] if args.key?(:text) - @text_annotation = args[:text_annotation] if args.key?(:text_annotation) - @thought_signature = args[:thought_signature] if args.key?(:thought_signature) - @thought_summary = args[:thought_summary] if args.key?(:thought_summary) - @tool_call = args[:tool_call] if args.key?(:tool_call) - @tool_result = args[:tool_result] if args.key?(:tool_result) @video = args[:video] if args.key?(:video) end end @@ -2007,50 +1846,6 @@ def update!(**args) end end - # - class GenaiVertexV1beta1ContentStart - include Google::Apis::Core::Hashable - - # The content of the response. - # Corresponds to the JSON property `content` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Content] - attr_accessor :content - - # - # Corresponds to the JSON property `index` - # @return [Fixnum] - attr_accessor :index - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @content = args[:content] if args.key?(:content) - @index = args[:index] if args.key?(:index) - end - end - - # - class GenaiVertexV1beta1ContentStop - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `index` - # @return [Fixnum] - attr_accessor :index - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @index = args[:index] if args.key?(:index) - end - end - # Request message for [InteractionsService.CreateInteractionHttp]. class GenaiVertexV1beta1CreateInteractionHttpRequest include Google::Apis::Core::Hashable @@ -2575,19 +2370,6 @@ def update!(**args) end end - # File Search content. - class GenaiVertexV1beta1FileSearchCallContent - include Google::Apis::Core::Hashable - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - end - end - # class GenaiVertexV1beta1FileSearchCallDelta include Google::Apis::Core::Hashable @@ -2614,25 +2396,6 @@ def update!(**args) end end - # File Search result content. - class GenaiVertexV1beta1FileSearchResultContent - include Google::Apis::Core::Hashable - - # The results of the File Search. - # Corresponds to the JSON property `result` - # @return [Array] - attr_accessor :result - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @result = args[:result] if args.key?(:result) - end - end - # The result of the File Search. class GenaiVertexV1beta1FileSearchResultContentFileSearchResult include Google::Apis::Core::Hashable @@ -2712,58 +2475,6 @@ def update!(**args) end end - # A function tool call content block. - class GenaiVertexV1beta1FunctionCallContent - include Google::Apis::Core::Hashable - - # `Struct` represents a structured data value, consisting of fields which map to - # dynamically typed values. - # Corresponds to the JSON property `arguments` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Struct] - attr_accessor :arguments - - # Required. The name of the tool to call. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @arguments = args[:arguments] if args.key?(:arguments) - @name = args[:name] if args.key?(:name) - end - end - - # - class GenaiVertexV1beta1FunctionCallDelta - include Google::Apis::Core::Hashable - - # `Struct` represents a structured data value, consisting of fields which map to - # dynamically typed values. - # Corresponds to the JSON property `arguments` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Struct] - attr_accessor :arguments - - # - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @arguments = args[:arguments] if args.key?(:arguments) - @name = args[:name] if args.key?(:name) - end - end - # A function tool call step. class GenaiVertexV1beta1FunctionCallStep include Google::Apis::Core::Hashable @@ -2790,51 +2501,6 @@ def update!(**args) end end - # A function tool result content block. - class GenaiVertexV1beta1FunctionResultContent - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `contentList` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FunctionResultSubcontentList] - attr_accessor :content_list - - # Whether the tool call resulted in an error. - # Corresponds to the JSON property `isError` - # @return [Boolean] - attr_accessor :is_error - alias_method :is_error?, :is_error - - # The name of the tool that was called. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # - # Corresponds to the JSON property `stringResult` - # @return [String] - attr_accessor :string_result - - # `Struct` represents a structured data value, consisting of fields which map to - # dynamically typed values. - # Corresponds to the JSON property `structResult` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Struct] - attr_accessor :struct_result - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @content_list = args[:content_list] if args.key?(:content_list) - @is_error = args[:is_error] if args.key?(:is_error) - @name = args[:name] if args.key?(:name) - @string_result = args[:string_result] if args.key?(:string_result) - @struct_result = args[:struct_result] if args.key?(:struct_result) - end - end - # class GenaiVertexV1beta1FunctionResultDelta include Google::Apis::Core::Hashable @@ -2905,50 +2571,6 @@ def update!(**args) end end - # - class GenaiVertexV1beta1FunctionResultSubcontent - include Google::Apis::Core::Hashable - - # An image content block. - # Corresponds to the JSON property `image` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ImageContent] - attr_accessor :image - - # A text content block. - # Corresponds to the JSON property `text` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1TextContent] - attr_accessor :text - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @image = args[:image] if args.key?(:image) - @text = args[:text] if args.key?(:text) - end - end - - # - class GenaiVertexV1beta1FunctionResultSubcontentList - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `contents` - # @return [Array] - attr_accessor :contents - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @contents = args[:contents] if args.key?(:contents) - end - end - # Configuration parameters for model interactions. class GenaiVertexV1beta1GenerationConfig include Google::Apis::Core::Hashable @@ -3073,25 +2695,6 @@ def update!(**args) end end - # Google Maps content. - class GenaiVertexV1beta1GoogleMapsCallContent - include Google::Apis::Core::Hashable - - # The arguments to pass to the Google Maps tool. - # Corresponds to the JSON property `arguments` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleMapsCallContentGoogleMapsCallArguments] - attr_accessor :arguments - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @arguments = args[:arguments] if args.key?(:arguments) - end - end - # The arguments to pass to the Google Maps tool. class GenaiVertexV1beta1GoogleMapsCallContentGoogleMapsCallArguments include Google::Apis::Core::Hashable @@ -3168,25 +2771,6 @@ def update!(**args) end end - # Google Maps result content. - class GenaiVertexV1beta1GoogleMapsResultContent - include Google::Apis::Core::Hashable - - # Required. The results of the Google Maps. - # Corresponds to the JSON property `result` - # @return [Array] - attr_accessor :result - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @result = args[:result] if args.key?(:result) - end - end - # The result of the Google Maps. class GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResult include Google::Apis::Core::Hashable @@ -3369,31 +2953,6 @@ def update!(**args) end end - # Google Search content. - class GenaiVertexV1beta1GoogleSearchCallContent - include Google::Apis::Core::Hashable - - # The arguments to pass to Google Search. - # Corresponds to the JSON property `arguments` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchCallContentGoogleSearchCallArguments] - attr_accessor :arguments - - # The type of search grounding enabled. - # Corresponds to the JSON property `searchType` - # @return [String] - attr_accessor :search_type - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @arguments = args[:arguments] if args.key?(:arguments) - @search_type = args[:search_type] if args.key?(:search_type) - end - end - # The arguments to pass to Google Search. class GenaiVertexV1beta1GoogleSearchCallContentGoogleSearchCallArguments include Google::Apis::Core::Hashable @@ -3476,32 +3035,6 @@ def update!(**args) end end - # Google Search result content. - class GenaiVertexV1beta1GoogleSearchResultContent - include Google::Apis::Core::Hashable - - # Whether the Google Search resulted in an error. - # Corresponds to the JSON property `isError` - # @return [Boolean] - attr_accessor :is_error - alias_method :is_error?, :is_error - - # Required. The results of the Google Search. - # Corresponds to the JSON property `result` - # @return [Array] - attr_accessor :result - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @is_error = args[:is_error] if args.key?(:is_error) - @result = args[:result] if args.key?(:result) - end - end - # The result of the Google Search. class GenaiVertexV1beta1GoogleSearchResultContentGoogleSearchResult include Google::Apis::Core::Hashable @@ -3749,11 +3282,6 @@ class GenaiVertexV1beta1Interaction # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Content] attr_accessor :content - # A list of Content. - # Corresponds to the JSON property `contentList` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ContentList] - attr_accessor :content_list - # Required. Output only. The time at which the response was created in ISO 8601 # format (YYYY-MM-DDThh:mm:ssZ). # Corresponds to the JSON property `created` @@ -3811,11 +3339,6 @@ class GenaiVertexV1beta1Interaction # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ModelInteraction] attr_accessor :model_interaction - # Output only. Responses from the model. - # Corresponds to the JSON property `outputs` - # @return [Array] - attr_accessor :outputs - # The ID of the previous interaction, if any. # Corresponds to the JSON property `previousInteractionId` # @return [String] @@ -3826,14 +3349,6 @@ class GenaiVertexV1beta1Interaction # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1EnvironmentConfig] attr_accessor :remote_environment - # `Value` represents a dynamically typed value which can be either null, a - # number, a string, a boolean, a recursive struct value, or a list of values. A - # producer of value is expected to set one of these variants. Absence of any - # variant indicates an error. - # Corresponds to the JSON property `responseFormat` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Value] - attr_accessor :response_format - # # Corresponds to the JSON property `responseFormatList` # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ResponseFormatList] @@ -3854,11 +3369,6 @@ class GenaiVertexV1beta1Interaction # @return [Array] attr_accessor :response_modalities - # Output only. The role of the interaction. - # Corresponds to the JSON property `role` - # @return [String] - attr_accessor :role - # Safety settings for the interaction. # Corresponds to the JSON property `safetySettings` # @return [Array] @@ -3919,7 +3429,6 @@ def initialize(**args) def update!(**args) @agent_interaction = args[:agent_interaction] if args.key?(:agent_interaction) @content = args[:content] if args.key?(:content) - @content_list = args[:content_list] if args.key?(:content_list) @created = args[:created] if args.key?(:created) @env_id = args[:env_id] if args.key?(:env_id) @environment_id = args[:environment_id] if args.key?(:environment_id) @@ -3928,15 +3437,12 @@ def update!(**args) @labels = args[:labels] if args.key?(:labels) @local_environment = args[:local_environment] if args.key?(:local_environment) @model_interaction = args[:model_interaction] if args.key?(:model_interaction) - @outputs = args[:outputs] if args.key?(:outputs) @previous_interaction_id = args[:previous_interaction_id] if args.key?(:previous_interaction_id) @remote_environment = args[:remote_environment] if args.key?(:remote_environment) - @response_format = args[:response_format] if args.key?(:response_format) @response_format_list = args[:response_format_list] if args.key?(:response_format_list) @response_format_singleton = args[:response_format_singleton] if args.key?(:response_format_singleton) @response_mime_type = args[:response_mime_type] if args.key?(:response_mime_type) @response_modalities = args[:response_modalities] if args.key?(:response_modalities) - @role = args[:role] if args.key?(:role) @safety_settings = args[:safety_settings] if args.key?(:safety_settings) @service_tier = args[:service_tier] if args.key?(:service_tier) @status = args[:status] if args.key?(:status) @@ -3945,27 +3451,8 @@ def update!(**args) @string_content = args[:string_content] if args.key?(:string_content) @system_instruction = args[:system_instruction] if args.key?(:system_instruction) @tools = args[:tools] if args.key?(:tools) - @updated = args[:updated] if args.key?(:updated) - @usage = args[:usage] if args.key?(:usage) - end - end - - # - class GenaiVertexV1beta1InteractionCompleteEvent - include Google::Apis::Core::Hashable - - # Response for InteractionService.CreateInteraction. - # Corresponds to the JSON property `interaction` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Interaction] - attr_accessor :interaction - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @interaction = args[:interaction] if args.key?(:interaction) + @updated = args[:updated] if args.key?(:updated) + @usage = args[:usage] if args.key?(:usage) end end @@ -4007,25 +3494,6 @@ def update!(**args) end end - # - class GenaiVertexV1beta1InteractionStartEvent - include Google::Apis::Core::Hashable - - # Response for InteractionService.CreateInteraction. - # Corresponds to the JSON property `interaction` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Interaction] - attr_accessor :interaction - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @interaction = args[:interaction] if args.key?(:interaction) - end - end - # class GenaiVertexV1beta1InteractionStatusUpdate include Google::Apis::Core::Hashable @@ -4055,24 +3523,6 @@ def update!(**args) class GenaiVertexV1beta1InteractionStreamingEvent include Google::Apis::Core::Hashable - # The content block delta data, used for content.delta events. Legacy content- - # based streaming event, used when steps are disabled. - # Corresponds to the JSON property `contentDelta` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ContentDelta] - attr_accessor :content_delta - - # The content block start data, used for content.start events. Legacy content- - # based streaming event, used when steps are disabled. - # Corresponds to the JSON property `contentStart` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ContentStart] - attr_accessor :content_start - - # The content block stop data, used for content.stop events. Legacy content- - # based streaming event, used when steps are disabled. - # Corresponds to the JSON property `contentStop` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ContentStop] - attr_accessor :content_stop - # The error event data, used for error events. # Corresponds to the JSON property `errorEvent` # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ErrorEvent] @@ -4084,12 +3534,6 @@ class GenaiVertexV1beta1InteractionStreamingEvent # @return [String] attr_accessor :event_id - # The interaction data, used for interaction.complete events. Legacy event, used - # when steps are disabled. - # Corresponds to the JSON property `interactionCompleteEvent` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1InteractionCompleteEvent] - attr_accessor :interaction_complete_event - # The interaction data, used for interaction.completed events. Used when steps # are enabled. # Corresponds to the JSON property `interactionCompletedEvent` @@ -4102,12 +3546,6 @@ class GenaiVertexV1beta1InteractionStreamingEvent # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1InteractionCreatedSseEvent] attr_accessor :interaction_created_event - # The interaction data, used for interaction.start events. Legacy event, used - # when steps are disabled. - # Corresponds to the JSON property `interactionStartEvent` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1InteractionStartEvent] - attr_accessor :interaction_start_event - # The interaction status data, used for interaction.status_update events. # Corresponds to the JSON property `interactionStatusUpdate` # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1InteractionStatusUpdate] @@ -4137,15 +3575,10 @@ def initialize(**args) # Update properties of this object def update!(**args) - @content_delta = args[:content_delta] if args.key?(:content_delta) - @content_start = args[:content_start] if args.key?(:content_start) - @content_stop = args[:content_stop] if args.key?(:content_stop) @error_event = args[:error_event] if args.key?(:error_event) @event_id = args[:event_id] if args.key?(:event_id) - @interaction_complete_event = args[:interaction_complete_event] if args.key?(:interaction_complete_event) @interaction_completed_event = args[:interaction_completed_event] if args.key?(:interaction_completed_event) @interaction_created_event = args[:interaction_created_event] if args.key?(:interaction_created_event) - @interaction_start_event = args[:interaction_start_event] if args.key?(:interaction_start_event) @interaction_status_update = args[:interaction_status_update] if args.key?(:interaction_status_update) @step_delta = args[:step_delta] if args.key?(:step_delta) @step_start = args[:step_start] if args.key?(:step_start) @@ -4362,38 +3795,6 @@ def update!(**args) end end - # MCPServer tool call content. - class GenaiVertexV1beta1McpServerToolCallContent - include Google::Apis::Core::Hashable - - # `Struct` represents a structured data value, consisting of fields which map to - # dynamically typed values. - # Corresponds to the JSON property `arguments` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Struct] - attr_accessor :arguments - - # Required. The name of the tool which was called. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # Required. The name of the used MCP server. - # Corresponds to the JSON property `serverName` - # @return [String] - attr_accessor :server_name - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @arguments = args[:arguments] if args.key?(:arguments) - @name = args[:name] if args.key?(:name) - @server_name = args[:server_name] if args.key?(:server_name) - end - end - # class GenaiVertexV1beta1McpServerToolCallDelta include Google::Apis::Core::Hashable @@ -4458,50 +3859,6 @@ def update!(**args) end end - # MCPServer tool result content. - class GenaiVertexV1beta1McpServerToolResultContent - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `contentList` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FunctionResultSubcontentList] - attr_accessor :content_list - - # Name of the tool which is called for this specific tool call. - # Corresponds to the JSON property `name` - # @return [String] - attr_accessor :name - - # The name of the used MCP server. - # Corresponds to the JSON property `serverName` - # @return [String] - attr_accessor :server_name - - # - # Corresponds to the JSON property `stringResult` - # @return [String] - attr_accessor :string_result - - # `Struct` represents a structured data value, consisting of fields which map to - # dynamically typed values. - # Corresponds to the JSON property `structResult` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Struct] - attr_accessor :struct_result - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @content_list = args[:content_list] if args.key?(:content_list) - @name = args[:name] if args.key?(:name) - @server_name = args[:server_name] if args.key?(:server_name) - @string_result = args[:string_result] if args.key?(:string_result) - @struct_result = args[:struct_result] if args.key?(:struct_result) - end - end - # class GenaiVertexV1beta1McpServerToolResultDelta include Google::Apis::Core::Hashable @@ -5794,32 +5151,6 @@ def update!(**args) end end - # A thought content block. - class GenaiVertexV1beta1ThoughtContent - include Google::Apis::Core::Hashable - - # Signature to match the backend source to be part of the generation. - # Corresponds to the JSON property `signature` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :signature - - # A summary of the thought. - # Corresponds to the JSON property `summary` - # @return [Array] - attr_accessor :summary - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @signature = args[:signature] if args.key?(:signature) - @summary = args[:summary] if args.key?(:summary) - end - end - # class GenaiVertexV1beta1ThoughtSignatureDelta include Google::Apis::Core::Hashable @@ -5866,31 +5197,6 @@ def update!(**args) end end - # - class GenaiVertexV1beta1ThoughtSummaryContent - include Google::Apis::Core::Hashable - - # An image content block. - # Corresponds to the JSON property `image` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ImageContent] - attr_accessor :image - - # A text content block. - # Corresponds to the JSON property `text` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1TextContent] - attr_accessor :text - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @image = args[:image] if args.key?(:image) - @text = args[:text] if args.key?(:text) - end - end - # class GenaiVertexV1beta1ThoughtSummaryDelta include Google::Apis::Core::Hashable @@ -5973,143 +5279,7 @@ def update!(**args) @google_search = args[:google_search] if args.key?(:google_search) @mcp_server = args[:mcp_server] if args.key?(:mcp_server) @retrieval = args[:retrieval] if args.key?(:retrieval) - @url_context = args[:url_context] if args.key?(:url_context) - end - end - - # Tool call content. - class GenaiVertexV1beta1ToolCallContent - include Google::Apis::Core::Hashable - - # Code execution content. - # Corresponds to the JSON property `codeExecutionCall` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeExecutionCallContent] - attr_accessor :code_execution_call - - # File Search content. - # Corresponds to the JSON property `fileSearchCall` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FileSearchCallContent] - attr_accessor :file_search_call - - # A function tool call content block. - # Corresponds to the JSON property `functionCall` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FunctionCallContent] - attr_accessor :function_call - - # Google Maps content. - # Corresponds to the JSON property `googleMapsCall` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleMapsCallContent] - attr_accessor :google_maps_call - - # Google Search content. - # Corresponds to the JSON property `googleSearchCall` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchCallContent] - attr_accessor :google_search_call - - # Required. A unique ID for this specific tool call. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # MCPServer tool call content. - # Corresponds to the JSON property `mcpServerToolCall` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1McpServerToolCallContent] - attr_accessor :mcp_server_tool_call - - # A signature hash for backend validation. - # Corresponds to the JSON property `signature` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :signature - - # URL context content. - # Corresponds to the JSON property `urlContextCall` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextCallContent] - attr_accessor :url_context_call - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @code_execution_call = args[:code_execution_call] if args.key?(:code_execution_call) - @file_search_call = args[:file_search_call] if args.key?(:file_search_call) - @function_call = args[:function_call] if args.key?(:function_call) - @google_maps_call = args[:google_maps_call] if args.key?(:google_maps_call) - @google_search_call = args[:google_search_call] if args.key?(:google_search_call) - @id = args[:id] if args.key?(:id) - @mcp_server_tool_call = args[:mcp_server_tool_call] if args.key?(:mcp_server_tool_call) - @signature = args[:signature] if args.key?(:signature) - @url_context_call = args[:url_context_call] if args.key?(:url_context_call) - end - end - - # - class GenaiVertexV1beta1ToolCallDelta - include Google::Apis::Core::Hashable - - # - # Corresponds to the JSON property `codeExecutionCall` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeExecutionCallDelta] - attr_accessor :code_execution_call - - # - # Corresponds to the JSON property `fileSearchCall` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FileSearchCallDelta] - attr_accessor :file_search_call - - # - # Corresponds to the JSON property `functionCall` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FunctionCallDelta] - attr_accessor :function_call - - # - # Corresponds to the JSON property `googleMapsCall` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleMapsCallDelta] - attr_accessor :google_maps_call - - # - # Corresponds to the JSON property `googleSearchCall` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchCallDelta] - attr_accessor :google_search_call - - # Required. A unique ID for this specific tool call. - # Corresponds to the JSON property `id` - # @return [String] - attr_accessor :id - - # - # Corresponds to the JSON property `mcpServerToolCall` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1McpServerToolCallDelta] - attr_accessor :mcp_server_tool_call - - # A signature hash for backend validation. - # Corresponds to the JSON property `signature` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :signature - - # - # Corresponds to the JSON property `urlContextCall` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextCallDelta] - attr_accessor :url_context_call - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @code_execution_call = args[:code_execution_call] if args.key?(:code_execution_call) - @file_search_call = args[:file_search_call] if args.key?(:file_search_call) - @function_call = args[:function_call] if args.key?(:function_call) - @google_maps_call = args[:google_maps_call] if args.key?(:google_maps_call) - @google_search_call = args[:google_search_call] if args.key?(:google_search_call) - @id = args[:id] if args.key?(:id) - @mcp_server_tool_call = args[:mcp_server_tool_call] if args.key?(:mcp_server_tool_call) - @signature = args[:signature] if args.key?(:signature) - @url_context_call = args[:url_context_call] if args.key?(:url_context_call) + @url_context = args[:url_context] if args.key?(:url_context) end end @@ -6214,142 +5384,6 @@ def update!(**args) end end - # Tool result content. - class GenaiVertexV1beta1ToolResultContent - include Google::Apis::Core::Hashable - - # Required. ID to match the ID from the function call block. - # Corresponds to the JSON property `callId` - # @return [String] - attr_accessor :call_id - - # Code execution result content. - # Corresponds to the JSON property `codeExecutionResult` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeExecutionResultContent] - attr_accessor :code_execution_result - - # File Search result content. - # Corresponds to the JSON property `fileSearchResult` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FileSearchResultContent] - attr_accessor :file_search_result - - # A function tool result content block. - # Corresponds to the JSON property `functionResult` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FunctionResultContent] - attr_accessor :function_result - - # Google Maps result content. - # Corresponds to the JSON property `googleMapsResult` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleMapsResultContent] - attr_accessor :google_maps_result - - # Google Search result content. - # Corresponds to the JSON property `googleSearchResult` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchResultContent] - attr_accessor :google_search_result - - # MCPServer tool result content. - # Corresponds to the JSON property `mcpServerToolResult` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1McpServerToolResultContent] - attr_accessor :mcp_server_tool_result - - # A signature hash for backend validation. - # Corresponds to the JSON property `signature` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :signature - - # URL context result content. - # Corresponds to the JSON property `urlContextResult` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextResultContent] - attr_accessor :url_context_result - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @call_id = args[:call_id] if args.key?(:call_id) - @code_execution_result = args[:code_execution_result] if args.key?(:code_execution_result) - @file_search_result = args[:file_search_result] if args.key?(:file_search_result) - @function_result = args[:function_result] if args.key?(:function_result) - @google_maps_result = args[:google_maps_result] if args.key?(:google_maps_result) - @google_search_result = args[:google_search_result] if args.key?(:google_search_result) - @mcp_server_tool_result = args[:mcp_server_tool_result] if args.key?(:mcp_server_tool_result) - @signature = args[:signature] if args.key?(:signature) - @url_context_result = args[:url_context_result] if args.key?(:url_context_result) - end - end - - # - class GenaiVertexV1beta1ToolResultDelta - include Google::Apis::Core::Hashable - - # Required. ID to match the ID from the function call block. - # Corresponds to the JSON property `callId` - # @return [String] - attr_accessor :call_id - - # - # Corresponds to the JSON property `codeExecutionResult` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeExecutionResultDelta] - attr_accessor :code_execution_result - - # - # Corresponds to the JSON property `fileSearchResult` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FileSearchResultDelta] - attr_accessor :file_search_result - - # - # Corresponds to the JSON property `functionResult` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FunctionResultDelta] - attr_accessor :function_result - - # - # Corresponds to the JSON property `googleMapsResult` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleMapsResultDelta] - attr_accessor :google_maps_result - - # - # Corresponds to the JSON property `googleSearchResult` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchResultDelta] - attr_accessor :google_search_result - - # - # Corresponds to the JSON property `mcpServerToolResult` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1McpServerToolResultDelta] - attr_accessor :mcp_server_tool_result - - # A signature hash for backend validation. - # Corresponds to the JSON property `signature` - # NOTE: Values are automatically base64 encoded/decoded in the client library. - # @return [String] - attr_accessor :signature - - # - # Corresponds to the JSON property `urlContextResult` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextResultDelta] - attr_accessor :url_context_result - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @call_id = args[:call_id] if args.key?(:call_id) - @code_execution_result = args[:code_execution_result] if args.key?(:code_execution_result) - @file_search_result = args[:file_search_result] if args.key?(:file_search_result) - @function_result = args[:function_result] if args.key?(:function_result) - @google_maps_result = args[:google_maps_result] if args.key?(:google_maps_result) - @google_search_result = args[:google_search_result] if args.key?(:google_search_result) - @mcp_server_tool_result = args[:mcp_server_tool_result] if args.key?(:mcp_server_tool_result) - @signature = args[:signature] if args.key?(:signature) - @url_context_result = args[:url_context_result] if args.key?(:url_context_result) - end - end - # Tool result step. class GenaiVertexV1beta1ToolResultStep include Google::Apis::Core::Hashable @@ -6515,25 +5549,6 @@ def update!(**args) end end - # URL context content. - class GenaiVertexV1beta1UrlContextCallContent - include Google::Apis::Core::Hashable - - # The arguments to pass to the URL context. - # Corresponds to the JSON property `arguments` - # @return [Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextCallContentUrlContextCallArguments] - attr_accessor :arguments - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @arguments = args[:arguments] if args.key?(:arguments) - end - end - # The arguments to pass to the URL context. class GenaiVertexV1beta1UrlContextCallContentUrlContextCallArguments include Google::Apis::Core::Hashable @@ -6610,32 +5625,6 @@ def update!(**args) end end - # URL context result content. - class GenaiVertexV1beta1UrlContextResultContent - include Google::Apis::Core::Hashable - - # Whether the URL context resulted in an error. - # Corresponds to the JSON property `isError` - # @return [Boolean] - attr_accessor :is_error - alias_method :is_error?, :is_error - - # Required. The results of the URL context. - # Corresponds to the JSON property `result` - # @return [Array] - attr_accessor :result - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @is_error = args[:is_error] if args.key?(:is_error) - @result = args[:result] if args.key?(:result) - end - end - # The result of the URL context. class GenaiVertexV1beta1UrlContextResultContentUrlContextResult include Google::Apis::Core::Hashable @@ -7159,7 +6148,7 @@ class GoogleCloudAiplatformV1beta1A2APart # Optional. Arbitrary data content. # Corresponds to the JSON property `data` - # @return [Object] + # @return [Hash] attr_accessor :data # Optional. The name of the file, when the part represents a file. @@ -8724,10 +7713,11 @@ class GoogleCloudAiplatformV1beta1AgentTool # @return [Hash] attr_accessor :headers - # Optional. The tool's GCP resource name, used to resolve the tool. Applicable - # when `type` is `mcp_server` or `endpoint` (a tool registered in Agent Registry) - # , for example `projects/`project`/locations/`location`/.../mcpServers/`id`` or - # `projects/`project`/locations/`location`/.../endpoints/`id``. + # Optional. The tool's Google Cloud resource name, used to resolve the tool. + # Applicable when `type` is `mcp_server` or `endpoint` (a tool registered in + # Agent Registry), for example `projects/`project`/locations/`location`/.../ + # mcpServers/`id`` or `projects/`project`/locations/`location`/.../endpoints/`id` + # `. # Corresponds to the JSON property `name` # @return [String] attr_accessor :name @@ -13047,6 +12037,19 @@ def update!(**args) end end + # Request message for AgentAnomalyDetectionService.ClearTrainingData. + class GoogleCloudAiplatformV1beta1ClearTrainingDataRequest + include Google::Apis::Core::Hashable + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + end + end + # Configurations (e.g. inference timeout) that are applied on your endpoints. class GoogleCloudAiplatformV1beta1ClientConnectionConfig include Google::Apis::Core::Hashable @@ -17881,6 +16884,28 @@ def update!(**args) end end + # Config for scraping a Discovery Engine Assistant. + class GoogleCloudAiplatformV1beta1DiscoveryEngineAssistantConfig + include Google::Apis::Core::Hashable + + # Required. The resource name of the Discovery Engine Assistant. Format: ` + # projects/`project`/locations/`location`/collections/`collection`/engines/` + # engine`/assistants/`assistant``. For example: `projects/123/locations/global/ + # collections/default_collection/engines/my-engine/assistants/default_assistant`. + # Corresponds to the JSON property `assistant` + # @return [String] + attr_accessor :assistant + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @assistant = args[:assistant] if args.key?(:assistant) + end + end + # Represents the spec of disk options. class GoogleCloudAiplatformV1beta1DiskSpec include Google::Apis::Core::Hashable @@ -19592,6 +18617,65 @@ def update!(**args) end end + # EvaluationExperiment is a resource that represents an experiment for iterating + # on and visualizing evaluation runs. + class GoogleCloudAiplatformV1beta1EvaluationExperiment + include Google::Apis::Core::Hashable + + # Output only. Timestamp when this experiment was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Required. The display name of the evaluation experiment. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Required. The EvaluationRuns that are part of this experiment. + # Corresponds to the JSON property `evaluationRuns` + # @return [Array] + attr_accessor :evaluation_runs + + # Optional. Labels for the evaluation experiment. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # Optional. Metadata about the evaluation experiment, can be used by the caller + # to store additional tracking information about the experiment. + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + + # Identifier. The resource name of the EvaluationExperiment. This is a unique + # identifier. Format: `projects/`project`/locations/`location`/ + # evaluationExperiments/`evaluation_experiment`` + # Corresponds to the JSON property `name` + # @return [String] + attr_accessor :name + + # Output only. Timestamp when this experiment was last updated. + # Corresponds to the JSON property `updateTime` + # @return [String] + attr_accessor :update_time + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @create_time = args[:create_time] if args.key?(:create_time) + @display_name = args[:display_name] if args.key?(:display_name) + @evaluation_runs = args[:evaluation_runs] if args.key?(:evaluation_runs) + @labels = args[:labels] if args.key?(:labels) + @metadata = args[:metadata] if args.key?(:metadata) + @name = args[:name] if args.key?(:name) + @update_time = args[:update_time] if args.key?(:update_time) + end + end + # A single instance to be evaluated. Instances are used to specify the input # data for evaluation, from simple string comparisons to complex, multi-turn # model evaluations @@ -20540,6 +19624,14 @@ class GoogleCloudAiplatformV1beta1EvaluationRun # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfig] attr_accessor :evaluation_config + # Optional. The resource name of the evaluation experiment for the evaluation + # run. Setting the evaluation experiment will add the run to the experiment. + # Multiple runs can be added to the same experiment. Format: `projects/`project`/ + # locations/`location`/evaluationExperiments/`evaluation_experiment`` + # Corresponds to the JSON property `evaluationExperiment` + # @return [String] + attr_accessor :evaluation_experiment + # The results of the evaluation run. # Corresponds to the JSON property `evaluationResults` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationResults] @@ -20595,6 +19687,7 @@ def update!(**args) @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec) @error = args[:error] if args.key?(:error) @evaluation_config = args[:evaluation_config] if args.key?(:evaluation_config) + @evaluation_experiment = args[:evaluation_experiment] if args.key?(:evaluation_experiment) @evaluation_results = args[:evaluation_results] if args.key?(:evaluation_results) @evaluation_set_snapshot = args[:evaluation_set_snapshot] if args.key?(:evaluation_set_snapshot) @inference_configs = args[:inference_configs] if args.key?(:inference_configs) @@ -20873,6 +19966,11 @@ class GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgentRunConfig # @return [String] attr_accessor :agent_engine + # Config for scraping a Discovery Engine Assistant. + # Corresponds to the JSON property `discoveryEngineAssistantConfig` + # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DiscoveryEngineAssistantConfig] + attr_accessor :discovery_engine_assistant_config + # Config for scraping a Gemini Agent (a Vertex AI Agent resource scraped via the # Vertex Interactions API). # Corresponds to the JSON property `geminiAgentConfig` @@ -20897,6 +19995,7 @@ def initialize(**args) # Update properties of this object def update!(**args) @agent_engine = args[:agent_engine] if args.key?(:agent_engine) + @discovery_engine_assistant_config = args[:discovery_engine_assistant_config] if args.key?(:discovery_engine_assistant_config) @gemini_agent_config = args[:gemini_agent_config] if args.key?(:gemini_agent_config) @session_input = args[:session_input] if args.key?(:session_input) @user_simulator_config = args[:user_simulator_config] if args.key?(:user_simulator_config) @@ -32960,6 +32059,31 @@ def update!(**args) end end + # Response message for EvaluationManagementService.ListEvaluationExperiments. + class GoogleCloudAiplatformV1beta1ListEvaluationExperimentsResponse + include Google::Apis::Core::Hashable + + # List of EvaluationExperiments in the requested page. + # Corresponds to the JSON property `evaluationExperiments` + # @return [Array] + attr_accessor :evaluation_experiments + + # A token to retrieve the next page of results. + # Corresponds to the JSON property `nextPageToken` + # @return [String] + attr_accessor :next_page_token + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @evaluation_experiments = args[:evaluation_experiments] if args.key?(:evaluation_experiments) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + # Response message for EvaluationManagementService.ListEvaluationItems. class GoogleCloudAiplatformV1beta1ListEvaluationItemsResponse include Google::Apis::Core::Hashable diff --git a/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/gem_version.rb b/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/gem_version.rb index 9dc3f2d011f..7a02337eda1 100644 --- a/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/gem_version.rb +++ b/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module AiplatformV1beta1 # Version of the google-apis-aiplatform_v1beta1 gem - GEM_VERSION = "0.89.0" + GEM_VERSION = "0.90.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.19.0" # Revision of the discovery document this client was generated from - REVISION = "20260831" + REVISION = "20260904" end end end diff --git a/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/representations.rb b/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/representations.rb index fb12d5f965e..fe5970556b1 100644 --- a/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/representations.rb +++ b/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/representations.rb @@ -250,12 +250,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GenaiVertexV1beta1CodeExecutionCallContent - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GenaiVertexV1beta1CodeExecutionCallContentCodeExecutionCallArguments class Representation < Google::Apis::Core::JsonRepresentation; end @@ -280,12 +274,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GenaiVertexV1beta1CodeExecutionResultContent - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GenaiVertexV1beta1CodeExecutionResultDelta class Representation < Google::Apis::Core::JsonRepresentation; end @@ -340,36 +328,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GenaiVertexV1beta1ContentDelta - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GenaiVertexV1beta1ContentDeltaData - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GenaiVertexV1beta1ContentList class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GenaiVertexV1beta1ContentStart - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GenaiVertexV1beta1ContentStop - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GenaiVertexV1beta1CreateInteractionHttpRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -472,12 +436,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GenaiVertexV1beta1FileSearchCallContent - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GenaiVertexV1beta1FileSearchCallDelta class Representation < Google::Apis::Core::JsonRepresentation; end @@ -490,12 +448,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GenaiVertexV1beta1FileSearchResultContent - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GenaiVertexV1beta1FileSearchResultContentFileSearchResult class Representation < Google::Apis::Core::JsonRepresentation; end @@ -520,30 +472,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GenaiVertexV1beta1FunctionCallContent - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GenaiVertexV1beta1FunctionCallDelta - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GenaiVertexV1beta1FunctionCallStep class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GenaiVertexV1beta1FunctionResultContent - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GenaiVertexV1beta1FunctionResultDelta class Representation < Google::Apis::Core::JsonRepresentation; end @@ -556,18 +490,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GenaiVertexV1beta1FunctionResultSubcontent - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GenaiVertexV1beta1FunctionResultSubcontentList - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GenaiVertexV1beta1GenerationConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -580,12 +502,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GenaiVertexV1beta1GoogleMapsCallContent - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GenaiVertexV1beta1GoogleMapsCallContentGoogleMapsCallArguments class Representation < Google::Apis::Core::JsonRepresentation; end @@ -610,12 +526,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GenaiVertexV1beta1GoogleMapsResultContent - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResult class Representation < Google::Apis::Core::JsonRepresentation; end @@ -658,12 +568,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GenaiVertexV1beta1GoogleSearchCallContent - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GenaiVertexV1beta1GoogleSearchCallContentGoogleSearchCallArguments class Representation < Google::Apis::Core::JsonRepresentation; end @@ -688,12 +592,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GenaiVertexV1beta1GoogleSearchResultContent - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GenaiVertexV1beta1GoogleSearchResultContentGoogleSearchResult class Representation < Google::Apis::Core::JsonRepresentation; end @@ -748,12 +646,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GenaiVertexV1beta1InteractionCompleteEvent - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GenaiVertexV1beta1InteractionCompletedSseEvent class Representation < Google::Apis::Core::JsonRepresentation; end @@ -766,12 +658,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GenaiVertexV1beta1InteractionStartEvent - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GenaiVertexV1beta1InteractionStatusUpdate class Representation < Google::Apis::Core::JsonRepresentation; end @@ -820,12 +706,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GenaiVertexV1beta1McpServerToolCallContent - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GenaiVertexV1beta1McpServerToolCallDelta class Representation < Google::Apis::Core::JsonRepresentation; end @@ -838,12 +718,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GenaiVertexV1beta1McpServerToolResultContent - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GenaiVertexV1beta1McpServerToolResultDelta class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1102,12 +976,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GenaiVertexV1beta1ThoughtContent - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GenaiVertexV1beta1ThoughtSignatureDelta class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1120,12 +988,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GenaiVertexV1beta1ThoughtSummaryContent - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GenaiVertexV1beta1ThoughtSummaryDelta class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1138,18 +1000,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GenaiVertexV1beta1ToolCallContent - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GenaiVertexV1beta1ToolCallDelta - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GenaiVertexV1beta1ToolCallStep class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1162,18 +1012,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GenaiVertexV1beta1ToolResultContent - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - - class GenaiVertexV1beta1ToolResultDelta - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GenaiVertexV1beta1ToolResultStep class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1198,12 +1036,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GenaiVertexV1beta1UrlContextCallContent - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GenaiVertexV1beta1UrlContextCallContentUrlContextCallArguments class Representation < Google::Apis::Core::JsonRepresentation; end @@ -1228,12 +1060,6 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end - class GenaiVertexV1beta1UrlContextResultContent - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GenaiVertexV1beta1UrlContextResultContentUrlContextResult class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2350,6 +2176,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudAiplatformV1beta1ClearTrainingDataRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudAiplatformV1beta1ClientConnectionConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -3160,6 +2992,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudAiplatformV1beta1DiscoveryEngineAssistantConfig + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudAiplatformV1beta1DiskSpec class Representation < Google::Apis::Core::JsonRepresentation; end @@ -3352,6 +3190,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudAiplatformV1beta1EvaluationExperiment + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudAiplatformV1beta1EvaluationInstance class Representation < Google::Apis::Core::JsonRepresentation; end @@ -5464,6 +5308,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudAiplatformV1beta1ListEvaluationExperimentsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudAiplatformV1beta1ListEvaluationItemsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -12445,14 +12295,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class GenaiVertexV1beta1CodeExecutionCallContent - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :arguments, as: 'arguments', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeExecutionCallContentCodeExecutionCallArguments, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeExecutionCallContentCodeExecutionCallArguments::Representation - - end - end - class GenaiVertexV1beta1CodeExecutionCallContentCodeExecutionCallArguments # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -12485,14 +12327,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class GenaiVertexV1beta1CodeExecutionResultContent - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :is_error, as: 'isError' - property :result, as: 'result' - end - end - class GenaiVertexV1beta1CodeExecutionResultDelta # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -12580,52 +12414,11 @@ class Representation < Google::Apis::Core::JsonRepresentation property :text, as: 'text', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1TextContent, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1TextContent::Representation - property :thought, as: 'thought', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ThoughtContent, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ThoughtContent::Representation - - property :tool_call, as: 'toolCall', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ToolCallContent, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ToolCallContent::Representation - - property :tool_result, as: 'toolResult', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ToolResultContent, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ToolResultContent::Representation - property :video, as: 'video', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1VideoContent, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1VideoContent::Representation end end - class GenaiVertexV1beta1ContentDelta - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :delta, as: 'delta', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ContentDeltaData, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ContentDeltaData::Representation - - property :index, as: 'index' - end - end - - class GenaiVertexV1beta1ContentDeltaData - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :audio, as: 'audio', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1AudioDelta, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1AudioDelta::Representation - - property :document, as: 'document', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1DocumentDelta, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1DocumentDelta::Representation - - property :image, as: 'image', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ImageDelta, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ImageDelta::Representation - - property :text, as: 'text', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1TextDelta, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1TextDelta::Representation - - property :text_annotation, as: 'textAnnotation', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1TextAnnotationDelta, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1TextAnnotationDelta::Representation - - property :thought_signature, as: 'thoughtSignature', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ThoughtSignatureDelta, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ThoughtSignatureDelta::Representation - - property :thought_summary, as: 'thoughtSummary', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ThoughtSummaryDelta, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ThoughtSummaryDelta::Representation - - property :tool_call, as: 'toolCall', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ToolCallDelta, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ToolCallDelta::Representation - - property :tool_result, as: 'toolResult', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ToolResultDelta, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ToolResultDelta::Representation - - property :video, as: 'video', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1VideoDelta, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1VideoDelta::Representation - - end - end - class GenaiVertexV1beta1ContentList # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -12634,22 +12427,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class GenaiVertexV1beta1ContentStart - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :content, as: 'content', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Content, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Content::Representation - - property :index, as: 'index' - end - end - - class GenaiVertexV1beta1ContentStop - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :index, as: 'index' - end - end - class GenaiVertexV1beta1CreateInteractionHttpRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -12805,12 +12582,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class GenaiVertexV1beta1FileSearchCallContent - # @private - class Representation < Google::Apis::Core::JsonRepresentation - end - end - class GenaiVertexV1beta1FileSearchCallDelta # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -12823,14 +12594,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class GenaiVertexV1beta1FileSearchResultContent - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :result, as: 'result', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FileSearchResultContentFileSearchResult, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FileSearchResultContentFileSearchResult::Representation - - end - end - class GenaiVertexV1beta1FileSearchResultContentFileSearchResult # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -12861,24 +12624,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class GenaiVertexV1beta1FunctionCallContent - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :arguments, as: 'arguments', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Struct, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Struct::Representation - - property :name, as: 'name' - end - end - - class GenaiVertexV1beta1FunctionCallDelta - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :arguments, as: 'arguments', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Struct, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Struct::Representation - - property :name, as: 'name' - end - end - class GenaiVertexV1beta1FunctionCallStep # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -12888,19 +12633,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class GenaiVertexV1beta1FunctionResultContent - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :content_list, as: 'contentList', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FunctionResultSubcontentList, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FunctionResultSubcontentList::Representation - - property :is_error, as: 'isError' - property :name, as: 'name' - property :string_result, as: 'stringResult' - property :struct_result, as: 'structResult', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Struct, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Struct::Representation - - end - end - class GenaiVertexV1beta1FunctionResultDelta # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -12921,24 +12653,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class GenaiVertexV1beta1FunctionResultSubcontent - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :image, as: 'image', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ImageContent, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ImageContent::Representation - - property :text, as: 'text', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1TextContent, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1TextContent::Representation - - end - end - - class GenaiVertexV1beta1FunctionResultSubcontentList - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :contents, as: 'contents', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FunctionResultSubcontent, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FunctionResultSubcontent::Representation - - end - end - class GenaiVertexV1beta1GenerationConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -12972,14 +12686,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class GenaiVertexV1beta1GoogleMapsCallContent - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :arguments, as: 'arguments', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleMapsCallContentGoogleMapsCallArguments, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleMapsCallContentGoogleMapsCallArguments::Representation - - end - end - class GenaiVertexV1beta1GoogleMapsCallContentGoogleMapsCallArguments # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -13010,14 +12716,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class GenaiVertexV1beta1GoogleMapsResultContent - # @private - class Representation < Google::Apis::Core::JsonRepresentation - collection :result, as: 'result', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResult, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResult::Representation - - end - end - class GenaiVertexV1beta1GoogleMapsResultContentGoogleMapsResult # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -13081,15 +12779,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class GenaiVertexV1beta1GoogleSearchCallContent - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :arguments, as: 'arguments', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchCallContentGoogleSearchCallArguments, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchCallContentGoogleSearchCallArguments::Representation - - property :search_type, as: 'searchType' - end - end - class GenaiVertexV1beta1GoogleSearchCallContentGoogleSearchCallArguments # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -13121,15 +12810,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class GenaiVertexV1beta1GoogleSearchResultContent - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :is_error, as: 'isError' - collection :result, as: 'result', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchResultContentGoogleSearchResult, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchResultContentGoogleSearchResult::Representation - - end - end - class GenaiVertexV1beta1GoogleSearchResultContentGoogleSearchResult # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -13207,8 +12887,6 @@ class Representation < Google::Apis::Core::JsonRepresentation property :content, as: 'content', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Content, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Content::Representation - property :content_list, as: 'contentList', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ContentList, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ContentList::Representation - property :created, as: 'created' property :env_id, as: 'envId' property :environment_id, as: 'environmentId' @@ -13220,20 +12898,15 @@ class Representation < Google::Apis::Core::JsonRepresentation property :model_interaction, as: 'modelInteraction', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ModelInteraction, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ModelInteraction::Representation - collection :outputs, as: 'outputs', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Content, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Content::Representation - property :previous_interaction_id, as: 'previousInteractionId' property :remote_environment, as: 'remoteEnvironment', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1EnvironmentConfig, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1EnvironmentConfig::Representation - property :response_format, as: 'responseFormat', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Value, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Value::Representation - property :response_format_list, as: 'responseFormatList', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ResponseFormatList, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ResponseFormatList::Representation property :response_format_singleton, as: 'responseFormatSingleton', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ResponseFormat, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ResponseFormat::Representation property :response_mime_type, as: 'responseMimeType' collection :response_modalities, as: 'responseModalities' - property :role, as: 'role' collection :safety_settings, as: 'safetySettings', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1SafetySetting, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1SafetySetting::Representation property :service_tier, as: 'serviceTier' @@ -13252,14 +12925,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class GenaiVertexV1beta1InteractionCompleteEvent - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :interaction, as: 'interaction', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Interaction, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Interaction::Representation - - end - end - class GenaiVertexV1beta1InteractionCompletedSseEvent # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -13276,14 +12941,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class GenaiVertexV1beta1InteractionStartEvent - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :interaction, as: 'interaction', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Interaction, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Interaction::Representation - - end - end - class GenaiVertexV1beta1InteractionStatusUpdate # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -13295,23 +12952,13 @@ class Representation < Google::Apis::Core::JsonRepresentation class GenaiVertexV1beta1InteractionStreamingEvent # @private class Representation < Google::Apis::Core::JsonRepresentation - property :content_delta, as: 'contentDelta', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ContentDelta, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ContentDelta::Representation - - property :content_start, as: 'contentStart', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ContentStart, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ContentStart::Representation - - property :content_stop, as: 'contentStop', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ContentStop, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ContentStop::Representation - property :error_event, as: 'errorEvent', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ErrorEvent, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ErrorEvent::Representation property :event_id, as: 'eventId' - property :interaction_complete_event, as: 'interactionCompleteEvent', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1InteractionCompleteEvent, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1InteractionCompleteEvent::Representation - property :interaction_completed_event, as: 'interactionCompletedEvent', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1InteractionCompletedSseEvent, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1InteractionCompletedSseEvent::Representation property :interaction_created_event, as: 'interactionCreatedEvent', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1InteractionCreatedSseEvent, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1InteractionCreatedSseEvent::Representation - property :interaction_start_event, as: 'interactionStartEvent', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1InteractionStartEvent, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1InteractionStartEvent::Representation - property :interaction_status_update, as: 'interactionStatusUpdate', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1InteractionStatusUpdate, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1InteractionStatusUpdate::Representation property :step_delta, as: 'stepDelta', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1StepDelta, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1StepDelta::Representation @@ -13386,16 +13033,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class GenaiVertexV1beta1McpServerToolCallContent - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :arguments, as: 'arguments', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Struct, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Struct::Representation - - property :name, as: 'name' - property :server_name, as: 'serverName' - end - end - class GenaiVertexV1beta1McpServerToolCallDelta # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -13416,19 +13053,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class GenaiVertexV1beta1McpServerToolResultContent - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :content_list, as: 'contentList', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FunctionResultSubcontentList, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FunctionResultSubcontentList::Representation - - property :name, as: 'name' - property :server_name, as: 'serverName' - property :string_result, as: 'stringResult' - property :struct_result, as: 'structResult', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Struct, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1Struct::Representation - - end - end - class GenaiVertexV1beta1McpServerToolResultDelta # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -13874,15 +13498,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class GenaiVertexV1beta1ThoughtContent - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :signature, :base64 => true, as: 'signature' - collection :summary, as: 'summary', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ThoughtSummaryContent, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ThoughtSummaryContent::Representation - - end - end - class GenaiVertexV1beta1ThoughtSignatureDelta # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -13899,16 +13514,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class GenaiVertexV1beta1ThoughtSummaryContent - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :image, as: 'image', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ImageContent, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1ImageContent::Representation - - property :text, as: 'text', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1TextContent, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1TextContent::Representation - - end - end - class GenaiVertexV1beta1ThoughtSummaryDelta # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -13941,50 +13546,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class GenaiVertexV1beta1ToolCallContent - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :code_execution_call, as: 'codeExecutionCall', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeExecutionCallContent, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeExecutionCallContent::Representation - - property :file_search_call, as: 'fileSearchCall', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FileSearchCallContent, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FileSearchCallContent::Representation - - property :function_call, as: 'functionCall', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FunctionCallContent, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FunctionCallContent::Representation - - property :google_maps_call, as: 'googleMapsCall', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleMapsCallContent, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleMapsCallContent::Representation - - property :google_search_call, as: 'googleSearchCall', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchCallContent, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchCallContent::Representation - - property :id, as: 'id' - property :mcp_server_tool_call, as: 'mcpServerToolCall', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1McpServerToolCallContent, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1McpServerToolCallContent::Representation - - property :signature, :base64 => true, as: 'signature' - property :url_context_call, as: 'urlContextCall', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextCallContent, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextCallContent::Representation - - end - end - - class GenaiVertexV1beta1ToolCallDelta - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :code_execution_call, as: 'codeExecutionCall', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeExecutionCallDelta, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeExecutionCallDelta::Representation - - property :file_search_call, as: 'fileSearchCall', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FileSearchCallDelta, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FileSearchCallDelta::Representation - - property :function_call, as: 'functionCall', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FunctionCallDelta, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FunctionCallDelta::Representation - - property :google_maps_call, as: 'googleMapsCall', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleMapsCallDelta, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleMapsCallDelta::Representation - - property :google_search_call, as: 'googleSearchCall', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchCallDelta, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchCallDelta::Representation - - property :id, as: 'id' - property :mcp_server_tool_call, as: 'mcpServerToolCall', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1McpServerToolCallDelta, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1McpServerToolCallDelta::Representation - - property :signature, :base64 => true, as: 'signature' - property :url_context_call, as: 'urlContextCall', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextCallDelta, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextCallDelta::Representation - - end - end - class GenaiVertexV1beta1ToolCallStep # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -14019,50 +13580,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class GenaiVertexV1beta1ToolResultContent - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :call_id, as: 'callId' - property :code_execution_result, as: 'codeExecutionResult', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeExecutionResultContent, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeExecutionResultContent::Representation - - property :file_search_result, as: 'fileSearchResult', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FileSearchResultContent, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FileSearchResultContent::Representation - - property :function_result, as: 'functionResult', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FunctionResultContent, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FunctionResultContent::Representation - - property :google_maps_result, as: 'googleMapsResult', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleMapsResultContent, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleMapsResultContent::Representation - - property :google_search_result, as: 'googleSearchResult', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchResultContent, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchResultContent::Representation - - property :mcp_server_tool_result, as: 'mcpServerToolResult', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1McpServerToolResultContent, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1McpServerToolResultContent::Representation - - property :signature, :base64 => true, as: 'signature' - property :url_context_result, as: 'urlContextResult', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextResultContent, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextResultContent::Representation - - end - end - - class GenaiVertexV1beta1ToolResultDelta - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :call_id, as: 'callId' - property :code_execution_result, as: 'codeExecutionResult', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeExecutionResultDelta, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeExecutionResultDelta::Representation - - property :file_search_result, as: 'fileSearchResult', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FileSearchResultDelta, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FileSearchResultDelta::Representation - - property :function_result, as: 'functionResult', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FunctionResultDelta, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1FunctionResultDelta::Representation - - property :google_maps_result, as: 'googleMapsResult', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleMapsResultDelta, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleMapsResultDelta::Representation - - property :google_search_result, as: 'googleSearchResult', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchResultDelta, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1GoogleSearchResultDelta::Representation - - property :mcp_server_tool_result, as: 'mcpServerToolResult', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1McpServerToolResultDelta, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1McpServerToolResultDelta::Representation - - property :signature, :base64 => true, as: 'signature' - property :url_context_result, as: 'urlContextResult', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextResultDelta, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextResultDelta::Representation - - end - end - class GenaiVertexV1beta1ToolResultStep # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -14114,14 +13631,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class GenaiVertexV1beta1UrlContextCallContent - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :arguments, as: 'arguments', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextCallContentUrlContextCallArguments, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextCallContentUrlContextCallArguments::Representation - - end - end - class GenaiVertexV1beta1UrlContextCallContentUrlContextCallArguments # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -14152,15 +13661,6 @@ class Representation < Google::Apis::Core::JsonRepresentation end end - class GenaiVertexV1beta1UrlContextResultContent - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :is_error, as: 'isError' - collection :result, as: 'result', class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextResultContentUrlContextResult, decorator: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1UrlContextResultContentUrlContextResult::Representation - - end - end - class GenaiVertexV1beta1UrlContextResultContentUrlContextResult # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -14309,7 +13809,7 @@ class Representation < Google::Apis::Core::JsonRepresentation class GoogleCloudAiplatformV1beta1A2APart # @private class Representation < Google::Apis::Core::JsonRepresentation - property :data, as: 'data' + hash :data, as: 'data' property :filename, as: 'filename' property :media_type, as: 'mediaType' hash :metadata, as: 'metadata' @@ -16014,6 +15514,12 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudAiplatformV1beta1ClearTrainingDataRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + end + end + class GoogleCloudAiplatformV1beta1ClientConnectionConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -17378,6 +16884,13 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudAiplatformV1beta1DiscoveryEngineAssistantConfig + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :assistant, as: 'assistant' + end + end + class GoogleCloudAiplatformV1beta1DiskSpec # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -17863,6 +17376,19 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudAiplatformV1beta1EvaluationExperiment + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :display_name, as: 'displayName' + collection :evaluation_runs, as: 'evaluationRuns' + hash :labels, as: 'labels' + hash :metadata, as: 'metadata' + property :name, as: 'name' + property :update_time, as: 'updateTime' + end + end + class GoogleCloudAiplatformV1beta1EvaluationInstance # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -18146,6 +17672,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :evaluation_config, as: 'evaluationConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationRunEvaluationConfig::Representation + property :evaluation_experiment, as: 'evaluationExperiment' property :evaluation_results, as: 'evaluationResults', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationResults, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationResults::Representation property :evaluation_set_snapshot, as: 'evaluationSetSnapshot' @@ -18239,6 +17766,8 @@ class GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigAgentRunConfig # @private class Representation < Google::Apis::Core::JsonRepresentation property :agent_engine, as: 'agentEngine' + property :discovery_engine_assistant_config, as: 'discoveryEngineAssistantConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DiscoveryEngineAssistantConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DiscoveryEngineAssistantConfig::Representation + property :gemini_agent_config, as: 'geminiAgentConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiAgentConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GeminiAgentConfig::Representation property :session_input, as: 'sessionInput', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigSessionInput, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationRunInferenceConfigSessionInput::Representation @@ -21630,6 +21159,15 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudAiplatformV1beta1ListEvaluationExperimentsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :evaluation_experiments, as: 'evaluationExperiments', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationExperiment, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationExperiment::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + class GoogleCloudAiplatformV1beta1ListEvaluationItemsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/service.rb b/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/service.rb index ca8593be856..2adfe006c75 100644 --- a/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/service.rb +++ b/generated/google-apis-aiplatform_v1beta1/lib/google/apis/aiplatform_v1beta1/service.rb @@ -17317,6 +17317,189 @@ def get_project_location_endpoint_response(name, fields: nil, quota_user: nil, o execute_or_queue_command(command, &block) end + # Creates an Evaluation Experiment. + # @param [String] parent + # Required. The resource name of the Location to create the Evaluation + # Experiment in. Format: `projects/`project`/locations/`location`` + # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationExperiment] google_cloud_aiplatform_v1beta1_evaluation_experiment_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationExperiment] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationExperiment] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def create_project_location_evaluation_experiment(parent, google_cloud_aiplatform_v1beta1_evaluation_experiment_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+parent}/evaluationExperiments', options) + command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationExperiment::Representation + command.request_object = google_cloud_aiplatform_v1beta1_evaluation_experiment_object + command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationExperiment::Representation + command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationExperiment + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Deletes an Evaluation Experiment. + # @param [String] name + # Required. The name of the EvaluationExperiment resource to be deleted. Format: + # `projects/`project`/locations/`location`/evaluationExperiments/` + # evaluation_experiment`` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def delete_project_location_evaluation_experiment(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:delete, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Gets an Evaluation Experiment. + # @param [String] name + # Required. The name of the EvaluationExperiment resource. Format: `projects/` + # project`/locations/`location`/evaluationExperiments/`evaluation_experiment`` + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationExperiment] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationExperiment] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def get_project_location_evaluation_experiment(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationExperiment::Representation + command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationExperiment + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Lists Evaluation Experiments. + # @param [String] parent + # Required. The resource name of the Location from which to list the Evaluation + # Experiments. Format: `projects/`project`/locations/`location`` + # @param [String] filter + # Optional. Filter expression that matches a subset of the EvaluationExperiments + # to show. For field names both snake_case and camelCase are supported. For more + # information about filter syntax, see [AIP-160](https://google.aip.dev/160). + # @param [String] order_by + # Optional. A comma-separated list of fields to order by, sorted in ascending + # order by default. Use `desc` after a field name for descending. + # @param [Fixnum] page_size + # Optional. The maximum number of Evaluation Experiments to return. + # @param [String] page_token + # Optional. A page token, received from a previous `ListEvaluationExperiments` + # call. Provide this to retrieve the subsequent page. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEvaluationExperimentsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEvaluationExperimentsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_location_evaluation_experiments(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+parent}/evaluationExperiments', options) + command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEvaluationExperimentsResponse::Representation + command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListEvaluationExperimentsResponse + command.params['parent'] = parent unless parent.nil? + command.query['filter'] = filter unless filter.nil? + command.query['orderBy'] = order_by unless order_by.nil? + command.query['pageSize'] = page_size unless page_size.nil? + command.query['pageToken'] = page_token unless page_token.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + + # Updates an Evaluation Experiment. + # @param [String] name + # Identifier. The resource name of the EvaluationExperiment. This is a unique + # identifier. Format: `projects/`project`/locations/`location`/ + # evaluationExperiments/`evaluation_experiment`` + # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationExperiment] google_cloud_aiplatform_v1beta1_evaluation_experiment_object + # @param [String] update_mask + # Optional. The update mask applies to the resource. For the `FieldMask` + # definition, see google.protobuf.FieldMask. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationExperiment] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationExperiment] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def patch_project_location_evaluation_experiment(name, google_cloud_aiplatform_v1beta1_evaluation_experiment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:patch, 'v1beta1/{+name}', options) + command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationExperiment::Representation + command.request_object = google_cloud_aiplatform_v1beta1_evaluation_experiment_object + command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationExperiment::Representation + command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EvaluationExperiment + command.params['name'] = name unless name.nil? + command.query['updateMask'] = update_mask unless update_mask.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Creates an Evaluation Item. # @param [String] parent # Required. The resource name of the Location to create the Evaluation Item in. @@ -31566,6 +31749,49 @@ def wait_project_location_model_operation(name, timeout: nil, fields: nil, quota execute_or_queue_command(command, &block) end + # Clears (purges) the trained model artifacts derived from a MonitoredAgent's + # data. The purged model is rebuilt by the next scheduled training run. To clear + # every MonitoredAgent in a location's scope, use the `-` wildcard agent segment + # for the name field: `projects/`project`/locations/`location`/monitoredAgents/-` + # This is the on-demand data-deletion path for customers who have deleted the + # underlying logs / observability data a model was trained on. It deletes only + # the derived model artifacts in the tenant project (it does NOT delete the + # scope, tenant project, or monitoring). To stop monitoring an agent entirely, + # disable it via DisableMonitoredAgent. See go/aad-clear-training-data. + # @param [String] name + # Required. The MonitoredAgent whose trained model artifacts to purge. Use the `- + # ` wildcard agent segment to purge every MonitoredAgent in the scope. Format: ` + # projects/`project`/locations/`location`/monitoredAgents/`monitored_agent`` + # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ClearTrainingDataRequest] google_cloud_aiplatform_v1beta1_clear_training_data_request_object + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def clear_project_location_monitored_agent_training_data(name, google_cloud_aiplatform_v1beta1_clear_training_data_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+name}:clearTrainingData', options) + command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ClearTrainingDataRequest::Representation + command.request_object = google_cloud_aiplatform_v1beta1_clear_training_data_request_object + command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation + command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation + command.params['name'] = name unless name.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Disables a specific MonitoredAgent. # @param [String] name # Required. The name of the MonitoredAgent resource to be disabled. Format: ` @@ -46281,14 +46507,16 @@ def get_project_location_task_store_a2a_task_record(name, view: nil, fields: nil # Format: `projects/`project`/locations/`location`/taskStores/`task_store`` # @param [String] filter # Optional. The standard list filter. More detail in [AIP-160](https://google. - # aip.dev/160). Supported fields: * `context_id` * `status.state` Example: ` - # context_id="abc"`, `status.state="WORKING"`. + # aip.dev/160). Supported fields: * `task_id` * `context_id` * `status.state` * ` + # app_id` * `user_id` * `create_time` range (i.e. `create_time>="2025-01-31T11: + # 30:00-04:00"` where the timestamp is in RFC 3339 format) Example: `context_id=" + # abc"`, `status.state="WORKING"`. # @param [String] order_by # Optional. A comma-separated list of fields to order by, sorted in ascending # order. Use "desc" after a field name for descending. If this field is omitted, - # the default ordering is `create_time` descending. More detail in [AIP-132]( - # https://google.aip.dev/132). Supported fields: * `create_time` * `update_time` - # Example: `create_time desc`. + # the default ordering is `task_id` descending. More detail in [AIP-132](https:// + # google.aip.dev/132). Supported field: * `task_id` * `create_time` Example: ` + # create_time desc`, `task_id asc`. # @param [Fixnum] page_size # Optional. The maximum number of tasks to return. The service may return fewer # than this value. If unspecified, at most 10 tasks will be returned. The @@ -46333,15 +46561,19 @@ def list_project_location_task_store_a2a_task_records(parent, filter: nil, order # Format: `projects/`project`/locations/`location`/taskStores/`task_store`/ # a2aTaskRecords/`a2a_task_record`` # @param [String] filter - # Optional. The standard list filter. Supported fields: * `create_time` range (i. - # e. `create_time>="2025-01-31T11:30:00-04:00"` where the timestamp is in RFC - # 3339 format) More detail in [AIP-160](https://google.aip.dev/160). + # Optional. The standard list filter. Supported fields: * `generation` * ` + # create_time` range (i.e. `create_time>="2025-01-31T11:30:00-04:00"` where the + # timestamp is in RFC 3339 format) More detail in [AIP-160](https://google.aip. + # dev/160). # @param [String] order_by - # Optional. A comma-separated list of fields to order the results by. If this - # field is omitted, the results will be ordered by `generation` in ascending - # order. For each field, the default sort order is ascending. To specify - # descending order for a field, append a ` desc` suffix. For example: ` - # create_time desc`. Supported fields: * `create_time` * `generation` + # Optional. Specifies the order of the returned events. If omitted, results + # default to `generation` in ascending order. To specify descending order, + # append a ` desc` suffix. For example: `generation desc`. Supported fields: * ` + # generation` Note: Ordering directly by event timestamp (e.g., `create_time`) + # is not supported. Users requiring time-based traversal should use `generation` + # ordering and scan the results until the desired time threshold is reached (e.g. + # , for chronological order, use default ascending and stop when `create_time` + # exceeds your target). # @param [Fixnum] page_size # Optional. The maximum number of events to return. The service may return fewer # than this value. If unspecified, at most 100 events will be returned. The