diff --git a/api_names_out.yaml b/api_names_out.yaml index dfd53947380..4f51dcd7868 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -15605,6 +15605,19 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DynamicRetrievalConfig": google_cloud_aiplatform_v1beta1_dynamic_retrieval_config "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DynamicRetrievalConfig/dynamicThreshold": dynamic_threshold "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1DynamicRetrievalConfig/mode": mode +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EmbedContentRequest": google_cloud_aiplatform_v1beta1_embed_content_request +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EmbedContentRequest/autoTruncate": auto_truncate +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EmbedContentRequest/content": content +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EmbedContentRequest/outputDimensionality": output_dimensionality +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EmbedContentRequest/taskType": task_type +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EmbedContentRequest/title": title +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EmbedContentResponse": google_cloud_aiplatform_v1beta1_embed_content_response +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EmbedContentResponse/embedding": embedding +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EmbedContentResponse/truncated": truncated +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EmbedContentResponse/usageMetadata": usage_metadata +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EmbedContentResponseEmbedding": google_cloud_aiplatform_v1beta1_embed_content_response_embedding +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EmbedContentResponseEmbedding/values": values +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EmbedContentResponseEmbedding/values/value": value "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EnableModelRequest": google_cloud_aiplatform_v1beta1_enable_model_request "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EnableModelRequest/service": service "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1EnableModelResponse": google_cloud_aiplatform_v1beta1_enable_model_response @@ -16654,8 +16667,21 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1FunctionResponse": google_cloud_aiplatform_v1beta1_function_response "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1FunctionResponse/id": id "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1FunctionResponse/name": name +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1FunctionResponse/parts": parts +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1FunctionResponse/parts/part": part "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1FunctionResponse/response": response "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1FunctionResponse/response/response": response +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1FunctionResponseBlob": google_cloud_aiplatform_v1beta1_function_response_blob +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1FunctionResponseBlob/data": data +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1FunctionResponseBlob/displayName": display_name +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1FunctionResponseBlob/mimeType": mime_type +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1FunctionResponseFileData": google_cloud_aiplatform_v1beta1_function_response_file_data +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1FunctionResponseFileData/displayName": display_name +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1FunctionResponseFileData/fileUri": file_uri +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1FunctionResponseFileData/mimeType": mime_type +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1FunctionResponsePart": google_cloud_aiplatform_v1beta1_function_response_part +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1FunctionResponsePart/fileData": file_data +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1FunctionResponsePart/inlineData": inline_data "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GcsDestination": google_cloud_aiplatform_v1beta1_gcs_destination "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GcsDestination/outputUriPrefix": output_uri_prefix "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GcsSource": google_cloud_aiplatform_v1beta1_gcs_source @@ -16765,6 +16791,11 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GenerateMemoriesRequest/directContentsSource": direct_contents_source "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GenerateMemoriesRequest/directMemoriesSource": direct_memories_source "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GenerateMemoriesRequest/disableConsolidation": disable_consolidation +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GenerateMemoriesRequest/disableMemoryRevisions": disable_memory_revisions +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GenerateMemoriesRequest/revisionExpireTime": revision_expire_time +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GenerateMemoriesRequest/revisionLabels": revision_labels +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GenerateMemoriesRequest/revisionLabels/revision_label": revision_label +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GenerateMemoriesRequest/revisionTtl": revision_ttl "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GenerateMemoriesRequest/scope": scope "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GenerateMemoriesRequest/scope/scope": scope "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GenerateMemoriesRequest/vertexSessionSource": vertex_session_source @@ -17327,6 +17358,10 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ListMemoriesResponse/memories": memories "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ListMemoriesResponse/memories/memory": memory "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ListMemoriesResponse/nextPageToken": next_page_token +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponse": google_cloud_aiplatform_v1beta1_list_memory_revisions_response +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponse/memoryRevisions": memory_revisions +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponse/memoryRevisions/memory_revision": memory_revision +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponse/nextPageToken": next_page_token "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ListMetadataSchemasResponse": google_cloud_aiplatform_v1beta1_list_metadata_schemas_response "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ListMetadataSchemasResponse/metadataSchemas": metadata_schemas "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ListMetadataSchemasResponse/metadataSchemas/metadata_schema": metadata_schema @@ -17509,10 +17544,13 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Memory": google_cloud_aiplatform_v1beta1_memory "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Memory/createTime": create_time "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Memory/description": description +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Memory/disableMemoryRevisions": disable_memory_revisions "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Memory/displayName": display_name "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Memory/expireTime": expire_time "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Memory/fact": fact "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Memory/name": name +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Memory/revisionExpireTime": revision_expire_time +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Memory/revisionTtl": revision_ttl "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Memory/scope": scope "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Memory/scope/scope": scope "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Memory/ttl": ttl @@ -17548,6 +17586,13 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigMemoryTopicCustomMemoryTopic/label": label "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigMemoryTopicManagedMemoryTopic": google_cloud_aiplatform_v1beta1_memory_bank_customization_config_memory_topic_managed_memory_topic "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfigMemoryTopicManagedMemoryTopic/managedTopicEnum": managed_topic_enum +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1MemoryRevision": google_cloud_aiplatform_v1beta1_memory_revision +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1MemoryRevision/createTime": create_time +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1MemoryRevision/expireTime": expire_time +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1MemoryRevision/fact": fact +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1MemoryRevision/labels": labels +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1MemoryRevision/labels/label": label +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1MemoryRevision/name": name "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1MemoryTopicId": google_cloud_aiplatform_v1beta1_memory_topic_id "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1MemoryTopicId/customMemoryTopicLabel": custom_memory_topic_label "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1MemoryTopicId/managedMemoryTopic": managed_memory_topic @@ -18588,6 +18633,8 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1PredictRequest": google_cloud_aiplatform_v1beta1_predict_request "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1PredictRequest/instances": instances "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1PredictRequest/instances/instance": instance +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1PredictRequest/labels": labels +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1PredictRequest/labels/label": label "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1PredictRequest/parameters": parameters "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1PredictRequestResponseLoggingConfig": google_cloud_aiplatform_v1beta1_predict_request_response_logging_config "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1PredictRequestResponseLoggingConfig/bigqueryDestination": bigquery_destination @@ -19137,6 +19184,7 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfig/customizationConfigs": customization_configs ? "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfig/customizationConfigs/customization_config" : customization_config +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfig/disableMemoryRevisions": disable_memory_revisions "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfig/generationConfig": generation_config "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfig/similaritySearchConfig": similarity_search_config "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfig/ttlConfig": ttl_config @@ -19147,6 +19195,7 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigTtlConfig": google_cloud_aiplatform_v1beta1_reasoning_engine_context_spec_memory_bank_config_ttl_config "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigTtlConfig/defaultTtl": default_ttl "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigTtlConfig/granularTtlConfig": granular_ttl_config +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigTtlConfig/memoryRevisionDefaultTtl": memory_revision_default_ttl "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigTtlConfigGranularTtlConfig": google_cloud_aiplatform_v1beta1_reasoning_engine_context_spec_memory_bank_config_ttl_config_granular_ttl_config "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigTtlConfigGranularTtlConfig/createTtl": create_ttl ? "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigTtlConfigGranularTtlConfig/generateCreatedTtl" @@ -19326,6 +19375,8 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RewardModelTrainingConfig": google_cloud_aiplatform_v1beta1_reward_model_training_config "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RewardModelTrainingConfig/epochCount": epoch_count "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RewardModelTrainingConfig/learningRateMultiplier": learning_rate_multiplier +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RollbackMemoryRequest": google_cloud_aiplatform_v1beta1_rollback_memory_request +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RollbackMemoryRequest/targetRevisionId": target_revision_id "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RolloutOptions": google_cloud_aiplatform_v1beta1_rollout_options "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RolloutOptions/maxSurgePercentage": max_surge_percentage "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RolloutOptions/maxSurgeReplicas": max_surge_replicas @@ -21141,6 +21192,8 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ToolCodeExecution": google_cloud_aiplatform_v1beta1_tool_code_execution "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ToolComputerUse": google_cloud_aiplatform_v1beta1_tool_computer_use "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ToolComputerUse/environment": environment +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ToolComputerUse/excludedPredefinedFunctions": excluded_predefined_functions +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ToolComputerUse/excludedPredefinedFunctions/excluded_predefined_function": excluded_predefined_function "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ToolConfig": google_cloud_aiplatform_v1beta1_tool_config "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ToolConfig/functionCallingConfig": function_calling_config "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ToolConfig/retrievalConfig": retrieval_config @@ -21486,6 +21539,22 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1UrlMetadata": google_cloud_aiplatform_v1beta1_url_metadata "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1UrlMetadata/retrievedUrl": retrieved_url "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1UrlMetadata/urlRetrievalStatus": url_retrieval_status +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1UsageMetadata": google_cloud_aiplatform_v1beta1_usage_metadata +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1UsageMetadata/cacheTokensDetails": cache_tokens_details +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1UsageMetadata/cacheTokensDetails/cache_tokens_detail": cache_tokens_detail +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1UsageMetadata/cachedContentTokenCount": cached_content_token_count +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1UsageMetadata/candidatesTokenCount": candidates_token_count +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1UsageMetadata/candidatesTokensDetails": candidates_tokens_details +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1UsageMetadata/candidatesTokensDetails/candidates_tokens_detail": candidates_tokens_detail +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1UsageMetadata/promptTokenCount": prompt_token_count +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1UsageMetadata/promptTokensDetails": prompt_tokens_details +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1UsageMetadata/promptTokensDetails/prompt_tokens_detail": prompt_tokens_detail +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1UsageMetadata/thoughtsTokenCount": thoughts_token_count +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1UsageMetadata/toolUsePromptTokenCount": tool_use_prompt_token_count +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1UsageMetadata/toolUsePromptTokensDetails": tool_use_prompt_tokens_details +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1UsageMetadata/toolUsePromptTokensDetails/tool_use_prompt_tokens_detail": tool_use_prompt_tokens_detail +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1UsageMetadata/totalTokenCount": total_token_count +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1UsageMetadata/trafficType": traffic_type "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1UserActionReference": google_cloud_aiplatform_v1beta1_user_action_reference "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1UserActionReference/dataLabelingJob": data_labeling_job "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1UserActionReference/method": method_prop @@ -23391,6 +23460,8 @@ "/aiplatform:v1beta1/aiplatform.projects.locations.publishers.models.computeTokens/endpoint": endpoint "/aiplatform:v1beta1/aiplatform.projects.locations.publishers.models.countTokens": count_project_location_publisher_model_tokens "/aiplatform:v1beta1/aiplatform.projects.locations.publishers.models.countTokens/endpoint": endpoint +"/aiplatform:v1beta1/aiplatform.projects.locations.publishers.models.embedContent": embed_project_location_publisher_model_content +"/aiplatform:v1beta1/aiplatform.projects.locations.publishers.models.embedContent/model": model "/aiplatform:v1beta1/aiplatform.projects.locations.publishers.models.export": export_project_location_publisher_model "/aiplatform:v1beta1/aiplatform.projects.locations.publishers.models.export/name": name "/aiplatform:v1beta1/aiplatform.projects.locations.publishers.models.export/parent": parent @@ -23572,6 +23643,15 @@ "/aiplatform:v1beta1/aiplatform.projects.locations.reasoningEngines.memories.patch/updateMask": update_mask "/aiplatform:v1beta1/aiplatform.projects.locations.reasoningEngines.memories.retrieve": retrieve_project_location_reasoning_engine_memory "/aiplatform:v1beta1/aiplatform.projects.locations.reasoningEngines.memories.retrieve/parent": parent +"/aiplatform:v1beta1/aiplatform.projects.locations.reasoningEngines.memories.revisions.get": get_project_location_reasoning_engine_memory_revision +"/aiplatform:v1beta1/aiplatform.projects.locations.reasoningEngines.memories.revisions.get/name": name +"/aiplatform:v1beta1/aiplatform.projects.locations.reasoningEngines.memories.revisions.list": list_project_location_reasoning_engine_memory_revisions +"/aiplatform:v1beta1/aiplatform.projects.locations.reasoningEngines.memories.revisions.list/filter": filter +"/aiplatform:v1beta1/aiplatform.projects.locations.reasoningEngines.memories.revisions.list/pageSize": page_size +"/aiplatform:v1beta1/aiplatform.projects.locations.reasoningEngines.memories.revisions.list/pageToken": page_token +"/aiplatform:v1beta1/aiplatform.projects.locations.reasoningEngines.memories.revisions.list/parent": parent +"/aiplatform:v1beta1/aiplatform.projects.locations.reasoningEngines.memories.rollback": rollback_project_location_reasoning_engine_memory +"/aiplatform:v1beta1/aiplatform.projects.locations.reasoningEngines.memories.rollback/name": name "/aiplatform:v1beta1/aiplatform.projects.locations.reasoningEngines.operations.cancel": cancel_project_location_reasoning_engine_operation "/aiplatform:v1beta1/aiplatform.projects.locations.reasoningEngines.operations.cancel/name": name "/aiplatform:v1beta1/aiplatform.projects.locations.reasoningEngines.operations.delete": delete_project_location_reasoning_engine_operation @@ -24124,6 +24204,15 @@ "/aiplatform:v1beta1/aiplatform.reasoningEngines.memories.patch/updateMask": update_mask "/aiplatform:v1beta1/aiplatform.reasoningEngines.memories.retrieve": retrieve_reasoning_engine_memory "/aiplatform:v1beta1/aiplatform.reasoningEngines.memories.retrieve/parent": parent +"/aiplatform:v1beta1/aiplatform.reasoningEngines.memories.revisions.get": get_reasoning_engine_memory_revision +"/aiplatform:v1beta1/aiplatform.reasoningEngines.memories.revisions.get/name": name +"/aiplatform:v1beta1/aiplatform.reasoningEngines.memories.revisions.list": list_reasoning_engine_memory_revisions +"/aiplatform:v1beta1/aiplatform.reasoningEngines.memories.revisions.list/filter": filter +"/aiplatform:v1beta1/aiplatform.reasoningEngines.memories.revisions.list/pageSize": page_size +"/aiplatform:v1beta1/aiplatform.reasoningEngines.memories.revisions.list/pageToken": page_token +"/aiplatform:v1beta1/aiplatform.reasoningEngines.memories.revisions.list/parent": parent +"/aiplatform:v1beta1/aiplatform.reasoningEngines.memories.rollback": rollback_reasoning_engine_memory +"/aiplatform:v1beta1/aiplatform.reasoningEngines.memories.rollback/name": name "/aiplatform:v1beta1/aiplatform.reasoningEngines.patch": patch_reasoning_engine "/aiplatform:v1beta1/aiplatform.reasoningEngines.patch/name": name "/aiplatform:v1beta1/aiplatform.reasoningEngines.patch/updateMask": update_mask diff --git a/generated/google-apis-aiplatform_v1beta1/CHANGELOG.md b/generated/google-apis-aiplatform_v1beta1/CHANGELOG.md index 21182e2d02c..353c8ee4ea4 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.64.0 (2025-10-26) + +* Regenerated from discovery document revision 20251010 + ### v0.63.0 (2025-10-19) * Regenerated from discovery document revision 20251003 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 2f9a4aa8dd2..85c1e71ed07 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 @@ -8409,6 +8409,107 @@ def update!(**args) end end + # Request message for PredictionService.EmbedContent. + class GoogleCloudAiplatformV1beta1EmbedContentRequest + include Google::Apis::Core::Hashable + + # Optional. Whether to silently truncate the input content if it's longer than + # the maximum sequence length. + # Corresponds to the JSON property `autoTruncate` + # @return [Boolean] + attr_accessor :auto_truncate + alias_method :auto_truncate?, :auto_truncate + + # The base structured datatype containing multi-part content of a message. A ` + # Content` includes a `role` field designating the producer of the `Content` and + # a `parts` field containing multi-part data that contains the content of the + # message turn. + # Corresponds to the JSON property `content` + # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content] + attr_accessor :content + + # Optional. Optional reduced dimension for the output embedding. If set, + # excessive values in the output embedding are truncated from the end. + # Corresponds to the JSON property `outputDimensionality` + # @return [Fixnum] + attr_accessor :output_dimensionality + + # Optional. The task type of the embedding. + # Corresponds to the JSON property `taskType` + # @return [String] + attr_accessor :task_type + + # Optional. An optional title for the text. + # Corresponds to the JSON property `title` + # @return [String] + attr_accessor :title + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @auto_truncate = args[:auto_truncate] if args.key?(:auto_truncate) + @content = args[:content] if args.key?(:content) + @output_dimensionality = args[:output_dimensionality] if args.key?(:output_dimensionality) + @task_type = args[:task_type] if args.key?(:task_type) + @title = args[:title] if args.key?(:title) + end + end + + # Response message for PredictionService.EmbedContent. + class GoogleCloudAiplatformV1beta1EmbedContentResponse + include Google::Apis::Core::Hashable + + # A list of floats representing an embedding. + # Corresponds to the JSON property `embedding` + # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EmbedContentResponseEmbedding] + attr_accessor :embedding + + # Whether the input content was truncated before generating the embedding. + # Corresponds to the JSON property `truncated` + # @return [Boolean] + attr_accessor :truncated + alias_method :truncated?, :truncated + + # Usage metadata about the content generation request and response. This message + # provides a detailed breakdown of token usage and other relevant metrics. + # Corresponds to the JSON property `usageMetadata` + # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UsageMetadata] + attr_accessor :usage_metadata + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @embedding = args[:embedding] if args.key?(:embedding) + @truncated = args[:truncated] if args.key?(:truncated) + @usage_metadata = args[:usage_metadata] if args.key?(:usage_metadata) + end + end + + # A list of floats representing an embedding. + class GoogleCloudAiplatformV1beta1EmbedContentResponseEmbedding + include Google::Apis::Core::Hashable + + # Embedding vector values. + # Corresponds to the JSON property `values` + # @return [Array] + attr_accessor :values + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @values = args[:values] if args.key?(:values) + end + end + # Request message for ModelGardenService.EnableModel. class GoogleCloudAiplatformV1beta1EnableModelRequest include Google::Apis::Core::Hashable @@ -10667,12 +10768,6 @@ class GoogleCloudAiplatformV1beta1EventActions # @return [String] attr_accessor :transfer_agent - # Deprecated. If set, the event transfers to the specified agent. - # Corresponds to the JSON property `transferToAgent` - # @return [Boolean] - attr_accessor :transfer_to_agent - alias_method :transfer_to_agent?, :transfer_to_agent - def initialize(**args) update!(**args) end @@ -10685,7 +10780,6 @@ def update!(**args) @skip_summarization = args[:skip_summarization] if args.key?(:skip_summarization) @state_delta = args[:state_delta] if args.key?(:state_delta) @transfer_agent = args[:transfer_agent] if args.key?(:transfer_agent) - @transfer_to_agent = args[:transfer_to_agent] if args.key?(:transfer_to_agent) end end @@ -16218,6 +16312,12 @@ class GoogleCloudAiplatformV1beta1FunctionResponse # @return [String] attr_accessor :name + # Optional. Ordered `Parts` that constitute a function response. Parts may have + # different IANA MIME types. + # Corresponds to the JSON property `parts` + # @return [Array] + attr_accessor :parts + # Required. The function response in JSON object format. Use "output" key to # specify function output and "error" key to specify error details (if any). If " # output" and "error" keys are not specified, then whole "response" is treated @@ -16234,10 +16334,113 @@ def initialize(**args) def update!(**args) @id = args[:id] if args.key?(:id) @name = args[:name] if args.key?(:name) + @parts = args[:parts] if args.key?(:parts) @response = args[:response] if args.key?(:response) end end + # Raw media bytes for function response. Text should not be sent as raw bytes, + # use the 'text' field. + class GoogleCloudAiplatformV1beta1FunctionResponseBlob + include Google::Apis::Core::Hashable + + # Required. Raw bytes. + # Corresponds to the JSON property `data` + # NOTE: Values are automatically base64 encoded/decoded in the client library. + # @return [String] + attr_accessor :data + + # Optional. Display name of the blob. Used to provide a label or filename to + # distinguish blobs. This field is only returned in PromptMessage for prompt + # management. It is currently used in the Gemini GenerateContent calls only when + # server side tools (code_execution, google_search, and url_context) are enabled. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Required. The IANA standard MIME type of the source data. + # Corresponds to the JSON property `mimeType` + # @return [String] + attr_accessor :mime_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @data = args[:data] if args.key?(:data) + @display_name = args[:display_name] if args.key?(:display_name) + @mime_type = args[:mime_type] if args.key?(:mime_type) + end + end + + # URI based data for function response. + class GoogleCloudAiplatformV1beta1FunctionResponseFileData + include Google::Apis::Core::Hashable + + # Optional. Display name of the file data. Used to provide a label or filename + # to distinguish file datas. This field is only returned in PromptMessage for + # prompt management. It is currently used in the Gemini GenerateContent calls + # only when server side tools (code_execution, google_search, and url_context) + # are enabled. + # Corresponds to the JSON property `displayName` + # @return [String] + attr_accessor :display_name + + # Required. URI. + # Corresponds to the JSON property `fileUri` + # @return [String] + attr_accessor :file_uri + + # Required. The IANA standard MIME type of the source data. + # Corresponds to the JSON property `mimeType` + # @return [String] + attr_accessor :mime_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @display_name = args[:display_name] if args.key?(:display_name) + @file_uri = args[:file_uri] if args.key?(:file_uri) + @mime_type = args[:mime_type] if args.key?(:mime_type) + end + end + + # A datatype containing media that is part of a `FunctionResponse` message. A ` + # FunctionResponsePart` consists of data which has an associated datatype. A ` + # FunctionResponsePart` can only contain one of the accepted types in ` + # FunctionResponsePart.data`. A `FunctionResponsePart` must have a fixed IANA + # MIME type identifying the type and subtype of the media if the `inline_data` + # field is filled with raw bytes. + class GoogleCloudAiplatformV1beta1FunctionResponsePart + include Google::Apis::Core::Hashable + + # URI based data for function response. + # Corresponds to the JSON property `fileData` + # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionResponseFileData] + attr_accessor :file_data + + # Raw media bytes for function response. Text should not be sent as raw bytes, + # use the 'text' field. + # Corresponds to the JSON property `inlineData` + # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionResponseBlob] + attr_accessor :inline_data + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @file_data = args[:file_data] if args.key?(:file_data) + @inline_data = args[:inline_data] if args.key?(:inline_data) + end + end + # The Google Cloud Storage location where the output is to be written to. class GoogleCloudAiplatformV1beta1GcsDestination include Google::Apis::Core::Hashable @@ -16968,6 +17171,29 @@ class GoogleCloudAiplatformV1beta1GenerateMemoriesRequest attr_accessor :disable_consolidation alias_method :disable_consolidation?, :disable_consolidation + # Optional. If true, no revisions will be created for this request. + # Corresponds to the JSON property `disableMemoryRevisions` + # @return [Boolean] + attr_accessor :disable_memory_revisions + alias_method :disable_memory_revisions?, :disable_memory_revisions + + # Optional. Timestamp of when the revision is considered expired. If not set, + # the memory revision will be kept until manually deleted. + # Corresponds to the JSON property `revisionExpireTime` + # @return [String] + attr_accessor :revision_expire_time + + # Optional. Labels to be applied to the generated memory revisions. For example, + # you can use this to label a revision with its data source. + # Corresponds to the JSON property `revisionLabels` + # @return [Hash] + attr_accessor :revision_labels + + # Optional. The TTL for the revision. The expiration time is computed: now + TTL. + # Corresponds to the JSON property `revisionTtl` + # @return [String] + attr_accessor :revision_ttl + # Optional. The scope of the memories that should be generated. Memories will be # consolidated across memories with the same scope. Must be provided unless the # scope is defined in the source content. If `scope` is provided, it will @@ -16993,6 +17219,10 @@ def update!(**args) @direct_contents_source = args[:direct_contents_source] if args.key?(:direct_contents_source) @direct_memories_source = args[:direct_memories_source] if args.key?(:direct_memories_source) @disable_consolidation = args[:disable_consolidation] if args.key?(:disable_consolidation) + @disable_memory_revisions = args[:disable_memory_revisions] if args.key?(:disable_memory_revisions) + @revision_expire_time = args[:revision_expire_time] if args.key?(:revision_expire_time) + @revision_labels = args[:revision_labels] if args.key?(:revision_labels) + @revision_ttl = args[:revision_ttl] if args.key?(:revision_ttl) @scope = args[:scope] if args.key?(:scope) @vertex_session_source = args[:vertex_session_source] if args.key?(:vertex_session_source) end @@ -20746,6 +20976,32 @@ def update!(**args) end end + # Response message for MemoryBankService.ListMemoryRevisions. + class GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponse + include Google::Apis::Core::Hashable + + # The list of Memory Revisions in the request page. + # Corresponds to the JSON property `memoryRevisions` + # @return [Array] + attr_accessor :memory_revisions + + # A token, which can be sent as `page_token` to retrieve the next page. If this + # field is omitted, there are no subsequent pages. + # 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) + @memory_revisions = args[:memory_revisions] if args.key?(:memory_revisions) + @next_page_token = args[:next_page_token] if args.key?(:next_page_token) + end + end + # Response message for MetadataService.ListMetadataSchemas. class GoogleCloudAiplatformV1beta1ListMetadataSchemasResponse include Google::Apis::Core::Hashable @@ -21974,6 +22230,12 @@ class GoogleCloudAiplatformV1beta1Memory # @return [String] attr_accessor :description + # Optional. Input only. If true, no revision will be created for this request. + # Corresponds to the JSON property `disableMemoryRevisions` + # @return [Boolean] + attr_accessor :disable_memory_revisions + alias_method :disable_memory_revisions?, :disable_memory_revisions + # Optional. Display name of the Memory. # Corresponds to the JSON property `displayName` # @return [String] @@ -21997,6 +22259,18 @@ class GoogleCloudAiplatformV1beta1Memory # @return [String] attr_accessor :name + # Optional. Input only. Timestamp of when the revision is considered expired. If + # not set, the memory revision will be kept until manually deleted. + # Corresponds to the JSON property `revisionExpireTime` + # @return [String] + attr_accessor :revision_expire_time + + # Optional. Input only. The TTL for the revision. The expiration time is + # computed: now + TTL. + # Corresponds to the JSON property `revisionTtl` + # @return [String] + attr_accessor :revision_ttl + # Required. Immutable. The scope of the Memory. Memories are isolated within # their scope. The scope is defined when creating or generating memories. Scope # values cannot contain the wildcard character '*'. @@ -22023,10 +22297,13 @@ def initialize(**args) def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @description = args[:description] if args.key?(:description) + @disable_memory_revisions = args[:disable_memory_revisions] if args.key?(:disable_memory_revisions) @display_name = args[:display_name] if args.key?(:display_name) @expire_time = args[:expire_time] if args.key?(:expire_time) @fact = args[:fact] if args.key?(:fact) @name = args[:name] if args.key?(:name) + @revision_expire_time = args[:revision_expire_time] if args.key?(:revision_expire_time) + @revision_ttl = args[:revision_ttl] if args.key?(:revision_ttl) @scope = args[:scope] if args.key?(:scope) @ttl = args[:ttl] if args.key?(:ttl) @update_time = args[:update_time] if args.key?(:update_time) @@ -22238,6 +22515,54 @@ def update!(**args) end end + # A revision of a Memory. + class GoogleCloudAiplatformV1beta1MemoryRevision + include Google::Apis::Core::Hashable + + # Output only. Timestamp when this Memory Revision was created. + # Corresponds to the JSON property `createTime` + # @return [String] + attr_accessor :create_time + + # Output only. Timestamp of when this resource is considered expired. + # Corresponds to the JSON property `expireTime` + # @return [String] + attr_accessor :expire_time + + # Output only. The fact of the Memory Revision. This corresponds to the `fact` + # field of the parent Memory at the time of revision creation. + # Corresponds to the JSON property `fact` + # @return [String] + attr_accessor :fact + + # Output only. The labels of the Memory Revision. These labels are applied to + # the MemoryRevision when it is created based on `GenerateMemoriesRequest. + # revision_labels`. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + + # Identifier. The resource name of the Memory Revision. Format: `projects/` + # project`/locations/`location`/reasoningEngines/`reasoning_engine`/memories/` + # memory`/revisions/`memory_revision`` + # 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) + @create_time = args[:create_time] if args.key?(:create_time) + @expire_time = args[:expire_time] if args.key?(:expire_time) + @fact = args[:fact] if args.key?(:fact) + @labels = args[:labels] if args.key?(:labels) + @name = args[:name] if args.key?(:name) + end + end + # A memory topic identifier. This will be used to label a Memory and to restrict # which topics are eligible for generation or retrieval. class GoogleCloudAiplatformV1beta1MemoryTopicId @@ -29931,6 +30256,12 @@ class GoogleCloudAiplatformV1beta1PredictRequest # @return [Array] attr_accessor :instances + # Optional. The user labels for Imagen billing usage only. Only Imagen supports + # labels. For other use cases, it will be ignored. + # Corresponds to the JSON property `labels` + # @return [Hash] + attr_accessor :labels + # The parameters that govern the prediction. The schema of the parameters may be # specified via Endpoint's DeployedModels' Model's PredictSchemata's # parameters_schema_uri. @@ -29945,6 +30276,7 @@ def initialize(**args) # Update properties of this object def update!(**args) @instances = args[:instances] if args.key?(:instances) + @labels = args[:labels] if args.key?(:labels) @parameters = args[:parameters] if args.key?(:parameters) end end @@ -34136,6 +34468,13 @@ class GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfig # @return [Array] attr_accessor :customization_configs + # If true, no memory revisions will be created for any requests to the Memory + # Bank. + # Corresponds to the JSON property `disableMemoryRevisions` + # @return [Boolean] + attr_accessor :disable_memory_revisions + alias_method :disable_memory_revisions?, :disable_memory_revisions + # Configuration for how to generate memories. # Corresponds to the JSON property `generationConfig` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigGenerationConfig] @@ -34159,6 +34498,7 @@ def initialize(**args) # Update properties of this object def update!(**args) @customization_configs = args[:customization_configs] if args.key?(:customization_configs) + @disable_memory_revisions = args[:disable_memory_revisions] if args.key?(:disable_memory_revisions) @generation_config = args[:generation_config] if args.key?(:generation_config) @similarity_search_config = args[:similarity_search_config] if args.key?(:similarity_search_config) @ttl_config = args[:ttl_config] if args.key?(:ttl_config) @@ -34223,6 +34563,13 @@ class GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigTtlC # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigTtlConfigGranularTtlConfig] attr_accessor :granular_ttl_config + # Optional. The default TTL duration of the memory revisions in the Memory Bank. + # This applies to all operations that create a memory revision. If not set, a + # default TTL of 365 days will be used. + # Corresponds to the JSON property `memoryRevisionDefaultTtl` + # @return [String] + attr_accessor :memory_revision_default_ttl + def initialize(**args) update!(**args) end @@ -34231,6 +34578,7 @@ def initialize(**args) def update!(**args) @default_ttl = args[:default_ttl] if args.key?(:default_ttl) @granular_ttl_config = args[:granular_ttl_config] if args.key?(:granular_ttl_config) + @memory_revision_default_ttl = args[:memory_revision_default_ttl] if args.key?(:memory_revision_default_ttl) end end @@ -35465,6 +35813,25 @@ def update!(**args) end end + # Request message for MemoryBankService.RollbackMemory. + class GoogleCloudAiplatformV1beta1RollbackMemoryRequest + include Google::Apis::Core::Hashable + + # Required. The ID of the revision to rollback to. + # Corresponds to the JSON property `targetRevisionId` + # @return [Fixnum] + attr_accessor :target_revision_id + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @target_revision_id = args[:target_revision_id] if args.key?(:target_revision_id) + end + end + # Configuration for rolling deployments. class GoogleCloudAiplatformV1beta1RolloutOptions include Google::Apis::Core::Hashable @@ -48030,6 +48397,11 @@ class GoogleCloudAiplatformV1beta1Tool # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolCodeExecution] attr_accessor :code_execution + # Tool to support computer use. + # Corresponds to the JSON property `computerUse` + # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolComputerUse] + attr_accessor :computer_use + # Tool to search public web data, powered by Vertex AI Search and Sec4 # compliance. # Corresponds to the JSON property `enterpriseWebSearch` @@ -48079,6 +48451,7 @@ def initialize(**args) # Update properties of this object def update!(**args) @code_execution = args[:code_execution] if args.key?(:code_execution) + @computer_use = args[:computer_use] if args.key?(:computer_use) @enterprise_web_search = args[:enterprise_web_search] if args.key?(:enterprise_web_search) @function_declarations = args[:function_declarations] if args.key?(:function_declarations) @google_maps = args[:google_maps] if args.key?(:google_maps) @@ -48230,6 +48603,35 @@ def update!(**args) end end + # Tool to support computer use. + class GoogleCloudAiplatformV1beta1ToolComputerUse + include Google::Apis::Core::Hashable + + # Required. The environment being operated. + # Corresponds to the JSON property `environment` + # @return [String] + attr_accessor :environment + + # Optional. By default, predefined functions are included in the final model + # call. Some of them can be explicitly excluded from being automatically + # included. This can serve two purposes: 1. Using a more restricted / different + # action space. 2. Improving the definitions / instructions of predefined + # functions. + # Corresponds to the JSON property `excludedPredefinedFunctions` + # @return [Array] + attr_accessor :excluded_predefined_functions + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @environment = args[:environment] if args.key?(:environment) + @excluded_predefined_functions = args[:excluded_predefined_functions] if args.key?(:excluded_predefined_functions) + end + end + # Tool config. This config is shared for all tools provided in the request. class GoogleCloudAiplatformV1beta1ToolConfig include Google::Apis::Core::Hashable @@ -50910,6 +51312,97 @@ def update!(**args) end end + # Usage metadata about the content generation request and response. This message + # provides a detailed breakdown of token usage and other relevant metrics. + class GoogleCloudAiplatformV1beta1UsageMetadata + include Google::Apis::Core::Hashable + + # Output only. A detailed breakdown of the token count for each modality in the + # cached content. + # Corresponds to the JSON property `cacheTokensDetails` + # @return [Array] + attr_accessor :cache_tokens_details + + # Output only. The number of tokens in the cached content that was used for this + # request. + # Corresponds to the JSON property `cachedContentTokenCount` + # @return [Fixnum] + attr_accessor :cached_content_token_count + + # The total number of tokens in the generated candidates. + # Corresponds to the JSON property `candidatesTokenCount` + # @return [Fixnum] + attr_accessor :candidates_token_count + + # Output only. A detailed breakdown of the token count for each modality in the + # generated candidates. + # Corresponds to the JSON property `candidatesTokensDetails` + # @return [Array] + attr_accessor :candidates_tokens_details + + # The total number of tokens in the prompt. This includes any text, images, or + # other media provided in the request. When `cached_content` is set, this also + # includes the number of tokens in the cached content. + # Corresponds to the JSON property `promptTokenCount` + # @return [Fixnum] + attr_accessor :prompt_token_count + + # Output only. A detailed breakdown of the token count for each modality in the + # prompt. + # Corresponds to the JSON property `promptTokensDetails` + # @return [Array] + attr_accessor :prompt_tokens_details + + # Output only. The number of tokens that were part of the model's generated " + # thoughts" output, if applicable. + # Corresponds to the JSON property `thoughtsTokenCount` + # @return [Fixnum] + attr_accessor :thoughts_token_count + + # Output only. The number of tokens in the results from tool executions, which + # are provided back to the model as input, if applicable. + # Corresponds to the JSON property `toolUsePromptTokenCount` + # @return [Fixnum] + attr_accessor :tool_use_prompt_token_count + + # Output only. A detailed breakdown by modality of the token counts from the + # results of tool executions, which are provided back to the model as input. + # Corresponds to the JSON property `toolUsePromptTokensDetails` + # @return [Array] + attr_accessor :tool_use_prompt_tokens_details + + # The total number of tokens for the entire request. This is the sum of ` + # prompt_token_count`, `candidates_token_count`, `tool_use_prompt_token_count`, + # and `thoughts_token_count`. + # Corresponds to the JSON property `totalTokenCount` + # @return [Fixnum] + attr_accessor :total_token_count + + # Output only. The traffic type for this request. + # Corresponds to the JSON property `trafficType` + # @return [String] + attr_accessor :traffic_type + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @cache_tokens_details = args[:cache_tokens_details] if args.key?(:cache_tokens_details) + @cached_content_token_count = args[:cached_content_token_count] if args.key?(:cached_content_token_count) + @candidates_token_count = args[:candidates_token_count] if args.key?(:candidates_token_count) + @candidates_tokens_details = args[:candidates_tokens_details] if args.key?(:candidates_tokens_details) + @prompt_token_count = args[:prompt_token_count] if args.key?(:prompt_token_count) + @prompt_tokens_details = args[:prompt_tokens_details] if args.key?(:prompt_tokens_details) + @thoughts_token_count = args[:thoughts_token_count] if args.key?(:thoughts_token_count) + @tool_use_prompt_token_count = args[:tool_use_prompt_token_count] if args.key?(:tool_use_prompt_token_count) + @tool_use_prompt_tokens_details = args[:tool_use_prompt_tokens_details] if args.key?(:tool_use_prompt_tokens_details) + @total_token_count = args[:total_token_count] if args.key?(:total_token_count) + @traffic_type = args[:traffic_type] if args.key?(:traffic_type) + end + end + # References an API call. It contains more information about long running # operation and Jobs that are triggered by the API call. class GoogleCloudAiplatformV1beta1UserActionReference 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 57805cafee4..5dba331085b 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.63.0" + GEM_VERSION = "0.64.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20251003" + REVISION = "20251010" 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 a869fd6585b..a4512441831 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 @@ -1474,6 +1474,24 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudAiplatformV1beta1EmbedContentRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudAiplatformV1beta1EmbedContentResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudAiplatformV1beta1EmbedContentResponseEmbedding + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudAiplatformV1beta1EnableModelRequest class Representation < Google::Apis::Core::JsonRepresentation; end @@ -2662,6 +2680,24 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudAiplatformV1beta1FunctionResponseBlob + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudAiplatformV1beta1FunctionResponseFileData + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudAiplatformV1beta1FunctionResponsePart + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudAiplatformV1beta1GcsDestination class Representation < Google::Apis::Core::JsonRepresentation; end @@ -3424,6 +3460,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudAiplatformV1beta1ListMetadataSchemasResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -3748,6 +3790,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudAiplatformV1beta1MemoryRevision + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudAiplatformV1beta1MemoryTopicId class Representation < Google::Apis::Core::JsonRepresentation; end @@ -5938,6 +5986,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudAiplatformV1beta1RollbackMemoryRequest + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudAiplatformV1beta1RolloutOptions class Representation < Google::Apis::Core::JsonRepresentation; end @@ -8038,6 +8092,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudAiplatformV1beta1ToolComputerUse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudAiplatformV1beta1ToolConfig class Representation < Google::Apis::Core::JsonRepresentation; end @@ -8638,6 +8698,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudAiplatformV1beta1UsageMetadata + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudAiplatformV1beta1UserActionReference class Representation < Google::Apis::Core::JsonRepresentation; end @@ -11283,6 +11349,36 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudAiplatformV1beta1EmbedContentRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :auto_truncate, as: 'autoTruncate' + property :content, as: 'content', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content::Representation + + property :output_dimensionality, as: 'outputDimensionality' + property :task_type, as: 'taskType' + property :title, as: 'title' + end + end + + class GoogleCloudAiplatformV1beta1EmbedContentResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :embedding, as: 'embedding', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EmbedContentResponseEmbedding, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EmbedContentResponseEmbedding::Representation + + property :truncated, as: 'truncated' + property :usage_metadata, as: 'usageMetadata', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UsageMetadata, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UsageMetadata::Representation + + end + end + + class GoogleCloudAiplatformV1beta1EmbedContentResponseEmbedding + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :values, as: 'values' + end + end + class GoogleCloudAiplatformV1beta1EnableModelRequest # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -11945,7 +12041,6 @@ class Representation < Google::Apis::Core::JsonRepresentation property :skip_summarization, as: 'skipSummarization' hash :state_delta, as: 'stateDelta' property :transfer_agent, as: 'transferAgent' - property :transfer_to_agent, as: 'transferToAgent' end end @@ -13492,10 +13587,40 @@ class GoogleCloudAiplatformV1beta1FunctionResponse class Representation < Google::Apis::Core::JsonRepresentation property :id, as: 'id' property :name, as: 'name' + collection :parts, as: 'parts', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionResponsePart, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionResponsePart::Representation + hash :response, as: 'response' end end + class GoogleCloudAiplatformV1beta1FunctionResponseBlob + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :data, :base64 => true, as: 'data' + property :display_name, as: 'displayName' + property :mime_type, as: 'mimeType' + end + end + + class GoogleCloudAiplatformV1beta1FunctionResponseFileData + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :display_name, as: 'displayName' + property :file_uri, as: 'fileUri' + property :mime_type, as: 'mimeType' + end + end + + class GoogleCloudAiplatformV1beta1FunctionResponsePart + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :file_data, as: 'fileData', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionResponseFileData, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionResponseFileData::Representation + + property :inline_data, as: 'inlineData', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionResponseBlob, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionResponseBlob::Representation + + end + end + class GoogleCloudAiplatformV1beta1GcsDestination # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -13717,6 +13842,10 @@ class Representation < Google::Apis::Core::JsonRepresentation property :direct_memories_source, as: 'directMemoriesSource', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSource, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequestDirectMemoriesSource::Representation property :disable_consolidation, as: 'disableConsolidation' + property :disable_memory_revisions, as: 'disableMemoryRevisions' + property :revision_expire_time, as: 'revisionExpireTime' + hash :revision_labels, as: 'revisionLabels' + property :revision_ttl, as: 'revisionTtl' hash :scope, as: 'scope' property :vertex_session_source, as: 'vertexSessionSource', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequestVertexSessionSource, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateMemoriesRequestVertexSessionSource::Representation @@ -14826,6 +14955,15 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :memory_revisions, as: 'memoryRevisions', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryRevision, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryRevision::Representation + + property :next_page_token, as: 'nextPageToken' + end + end + class GoogleCloudAiplatformV1beta1ListMetadataSchemasResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -15234,10 +15372,13 @@ class GoogleCloudAiplatformV1beta1Memory class Representation < Google::Apis::Core::JsonRepresentation property :create_time, as: 'createTime' property :description, as: 'description' + property :disable_memory_revisions, as: 'disableMemoryRevisions' property :display_name, as: 'displayName' property :expire_time, as: 'expireTime' property :fact, as: 'fact' property :name, as: 'name' + property :revision_expire_time, as: 'revisionExpireTime' + property :revision_ttl, as: 'revisionTtl' hash :scope, as: 'scope' property :ttl, as: 'ttl' property :update_time, as: 'updateTime' @@ -15315,6 +15456,17 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudAiplatformV1beta1MemoryRevision + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :create_time, as: 'createTime' + property :expire_time, as: 'expireTime' + property :fact, as: 'fact' + hash :labels, as: 'labels' + property :name, as: 'name' + end + end + class GoogleCloudAiplatformV1beta1MemoryTopicId # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -17435,6 +17587,7 @@ class GoogleCloudAiplatformV1beta1PredictRequest # @private class Representation < Google::Apis::Core::JsonRepresentation collection :instances, as: 'instances' + hash :labels, as: 'labels' property :parameters, as: 'parameters' end end @@ -18714,6 +18867,7 @@ class GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfig class Representation < Google::Apis::Core::JsonRepresentation collection :customization_configs, as: 'customizationConfigs', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryBankCustomizationConfig::Representation + property :disable_memory_revisions, as: 'disableMemoryRevisions' property :generation_config, as: 'generationConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigGenerationConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigGenerationConfig::Representation property :similarity_search_config, as: 'similaritySearchConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigSimilaritySearchConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigSimilaritySearchConfig::Representation @@ -18743,6 +18897,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :default_ttl, as: 'defaultTtl' property :granular_ttl_config, as: 'granularTtlConfig', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigTtlConfigGranularTtlConfig, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReasoningEngineContextSpecMemoryBankConfigTtlConfigGranularTtlConfig::Representation + property :memory_revision_default_ttl, as: 'memoryRevisionDefaultTtl' end end @@ -19129,6 +19284,13 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudAiplatformV1beta1RollbackMemoryRequest + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :target_revision_id, :numeric_string => true, as: 'targetRevisionId' + end + end + class GoogleCloudAiplatformV1beta1RolloutOptions # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -22568,6 +22730,8 @@ class GoogleCloudAiplatformV1beta1Tool class Representation < Google::Apis::Core::JsonRepresentation property :code_execution, as: 'codeExecution', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolCodeExecution, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolCodeExecution::Representation + property :computer_use, as: 'computerUse', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolComputerUse, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolComputerUse::Representation + property :enterprise_web_search, as: 'enterpriseWebSearch', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EnterpriseWebSearch, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EnterpriseWebSearch::Representation collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionDeclaration, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionDeclaration::Representation @@ -22638,6 +22802,14 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudAiplatformV1beta1ToolComputerUse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :environment, as: 'environment' + collection :excluded_predefined_functions, as: 'excludedPredefinedFunctions' + end + end + class GoogleCloudAiplatformV1beta1ToolConfig # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -23542,6 +23714,27 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudAiplatformV1beta1UsageMetadata + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :cache_tokens_details, as: 'cacheTokensDetails', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModalityTokenCount, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModalityTokenCount::Representation + + property :cached_content_token_count, as: 'cachedContentTokenCount' + property :candidates_token_count, as: 'candidatesTokenCount' + collection :candidates_tokens_details, as: 'candidatesTokensDetails', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModalityTokenCount, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModalityTokenCount::Representation + + property :prompt_token_count, as: 'promptTokenCount' + collection :prompt_tokens_details, as: 'promptTokensDetails', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModalityTokenCount, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModalityTokenCount::Representation + + property :thoughts_token_count, as: 'thoughtsTokenCount' + property :tool_use_prompt_token_count, as: 'toolUsePromptTokenCount' + collection :tool_use_prompt_tokens_details, as: 'toolUsePromptTokensDetails', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModalityTokenCount, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModalityTokenCount::Representation + + property :total_token_count, as: 'totalTokenCount' + property :traffic_type, as: 'trafficType' + end + end + class GoogleCloudAiplatformV1beta1UserActionReference # @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 9911fe68f9d..5533537dc44 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 @@ -22435,6 +22435,40 @@ def count_project_location_publisher_model_tokens(endpoint, google_cloud_aiplatf execute_or_queue_command(command, &block) end + # Embed content with multimodal inputs. + # @param [String] model + # Required. The name of the publisher model requested to serve the prediction. + # Format: `projects/`project`/locations/`location`/publishers/*/models/*` + # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EmbedContentRequest] google_cloud_aiplatform_v1beta1_embed_content_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::GoogleCloudAiplatformV1beta1EmbedContentResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EmbedContentResponse] + # + # @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 embed_project_location_publisher_model_content(model, google_cloud_aiplatform_v1beta1_embed_content_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+model}:embedContent', options) + command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EmbedContentRequest::Representation + command.request_object = google_cloud_aiplatform_v1beta1_embed_content_request_object + command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EmbedContentResponse::Representation + command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EmbedContentResponse + command.params['model'] = model unless model.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Exports a publisher model to a user provided Google Cloud Storage bucket. # @param [String] parent # Required. The Location to export the model weights from Format: `projects/` @@ -24684,6 +24718,41 @@ def retrieve_project_location_reasoning_engine_memory(parent, google_cloud_aipla execute_or_queue_command(command, &block) end + # Rollback Memory to a specific revision. + # @param [String] name + # Required. The resource name of the Memory to rollback. Format: `projects/` + # project`/locations/`location`/reasoningEngines/`reasoning_engine`/memories/` + # memory`` + # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RollbackMemoryRequest] google_cloud_aiplatform_v1beta1_rollback_memory_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 rollback_project_location_reasoning_engine_memory(name, google_cloud_aiplatform_v1beta1_rollback_memory_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+name}:rollback', options) + command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RollbackMemoryRequest::Representation + command.request_object = google_cloud_aiplatform_v1beta1_rollback_memory_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 + # Starts asynchronous cancellation on a long-running operation. The server makes # a best effort to cancel the operation, but success is not guaranteed. If the # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. @@ -24875,6 +24944,80 @@ def wait_project_location_reasoning_engine_memory_operation(name, timeout: nil, execute_or_queue_command(command, &block) end + # Get a Memory Revision. + # @param [String] name + # Required. The resource name of the Memory Revision to retrieve. Format: ` + # projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine`/ + # memories/`memory`/revisions/`revision`` + # @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::GoogleCloudAiplatformV1beta1MemoryRevision] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryRevision] + # + # @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_reasoning_engine_memory_revision(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryRevision::Representation + command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryRevision + 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 + + # List Memory Revisions for a Memory. + # @param [String] parent + # Required. The resource name of the Memory to list revisions for. Format: ` + # projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine`/ + # memories/`memory`` + # @param [String] filter + # Optional. The standard list filter. More detail in [AIP-160](https://google. + # aip.dev/160). Supported fields (equality match only): * `labels` + # @param [Fixnum] page_size + # Optional. The standard list page size. + # @param [String] page_token + # Optional. The standard list page token. + # @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::GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponse] + # + # @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_reasoning_engine_memory_revisions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+parent}/revisions', options) + command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponse::Representation + command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponse + command.params['parent'] = parent unless parent.nil? + command.query['filter'] = filter unless filter.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 + # Starts asynchronous cancellation on a long-running operation. The server makes # a best effort to cancel the operation, but success is not guaranteed. If the # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. @@ -31524,6 +31667,115 @@ def retrieve_reasoning_engine_memory(parent, google_cloud_aiplatform_v1beta1_ret execute_or_queue_command(command, &block) end + # Rollback Memory to a specific revision. + # @param [String] name + # Required. The resource name of the Memory to rollback. Format: `projects/` + # project`/locations/`location`/reasoningEngines/`reasoning_engine`/memories/` + # memory`` + # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RollbackMemoryRequest] google_cloud_aiplatform_v1beta1_rollback_memory_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 rollback_reasoning_engine_memory(name, google_cloud_aiplatform_v1beta1_rollback_memory_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+name}:rollback', options) + command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RollbackMemoryRequest::Representation + command.request_object = google_cloud_aiplatform_v1beta1_rollback_memory_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 + + # Get a Memory Revision. + # @param [String] name + # Required. The resource name of the Memory Revision to retrieve. Format: ` + # projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine`/ + # memories/`memory`/revisions/`revision`` + # @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::GoogleCloudAiplatformV1beta1MemoryRevision] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryRevision] + # + # @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_reasoning_engine_memory_revision(name, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+name}', options) + command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryRevision::Representation + command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryRevision + 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 + + # List Memory Revisions for a Memory. + # @param [String] parent + # Required. The resource name of the Memory to list revisions for. Format: ` + # projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine`/ + # memories/`memory`` + # @param [String] filter + # Optional. The standard list filter. More detail in [AIP-160](https://google. + # aip.dev/160). Supported fields (equality match only): * `labels` + # @param [Fixnum] page_size + # Optional. The standard list page size. + # @param [String] page_token + # Optional. The standard list page token. + # @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::GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponse] + # + # @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_reasoning_engine_memory_revisions(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta1/{+parent}/revisions', options) + command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponse::Representation + command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListMemoryRevisionsResponse + command.params['parent'] = parent unless parent.nil? + command.query['filter'] = filter unless filter.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 + # Appends an event to a given session. # @param [String] name # Required. The resource name of the session to append event to. Format: `