From 021a8930444c20d90a580583ec908761bb2785c3 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 21 Dec 2025 10:12:42 +0000 Subject: [PATCH] feat: Automated regeneration of aiplatform v1beta1 client --- api_names_out.yaml | 30 ++ .../CHANGELOG.md | 4 + .../google/apis/aiplatform_v1beta1/classes.rb | 451 +++++++++++++----- .../apis/aiplatform_v1beta1/gem_version.rb | 4 +- .../aiplatform_v1beta1/representations.rb | 72 +++ .../google/apis/aiplatform_v1beta1/service.rb | 45 +- 6 files changed, 477 insertions(+), 129 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index a0423db1883..56e5f80d610 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -18039,6 +18039,9 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GenerateMemoriesRequest/directMemoriesSource": direct_memories_source "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GenerateMemoriesRequest/disableConsolidation": disable_consolidation "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GenerateMemoriesRequest/disableMemoryRevisions": disable_memory_revisions +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GenerateMemoriesRequest/metadata": metadata +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GenerateMemoriesRequest/metadata/metadatum": metadatum +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GenerateMemoriesRequest/metadataMergeStrategy": metadata_merge_strategy "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GenerateMemoriesRequest/revisionExpireTime": revision_expire_time "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GenerateMemoriesRequest/revisionLabels": revision_labels "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1GenerateMemoriesRequest/revisionLabels/revision_label": revision_label @@ -18807,6 +18810,8 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Memory/displayName": display_name "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Memory/expireTime": expire_time "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Memory/fact": fact +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Memory/metadata": metadata +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Memory/metadata/metadatum": metadatum "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Memory/name": name "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Memory/revisionExpireTime": revision_expire_time "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Memory/revisionLabels": revision_labels @@ -18850,6 +18855,19 @@ "/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/GoogleCloudAiplatformV1beta1MemoryConjunctionFilter": google_cloud_aiplatform_v1beta1_memory_conjunction_filter +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1MemoryConjunctionFilter/filters": filters +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1MemoryConjunctionFilter/filters/filter": filter +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1MemoryFilter": google_cloud_aiplatform_v1beta1_memory_filter +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1MemoryFilter/key": key +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1MemoryFilter/negate": negate +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1MemoryFilter/op": op +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1MemoryFilter/value": value +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1MemoryMetadataValue": google_cloud_aiplatform_v1beta1_memory_metadata_value +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1MemoryMetadataValue/boolValue": bool_value +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1MemoryMetadataValue/doubleValue": double_value +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1MemoryMetadataValue/stringValue": string_value +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1MemoryMetadataValue/timestampValue": timestamp_value "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1MemoryRevision": google_cloud_aiplatform_v1beta1_memory_revision "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1MemoryRevision/createTime": create_time "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1MemoryRevision/expireTime": expire_time @@ -20667,6 +20685,8 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RetrieveContextsResponse/contexts": contexts "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RetrieveMemoriesRequest": google_cloud_aiplatform_v1beta1_retrieve_memories_request "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RetrieveMemoriesRequest/filter": filter +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RetrieveMemoriesRequest/filterGroups": filter_groups +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RetrieveMemoriesRequest/filterGroups/filter_group": filter_group "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RetrieveMemoriesRequest/scope": scope "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RetrieveMemoriesRequest/scope/scope": scope "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1RetrieveMemoriesRequest/similaritySearchParams": similarity_search_params @@ -21352,6 +21372,7 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1SchemaPromptInstanceVariableValue/partList": part_list "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderData": google_cloud_aiplatform_v1beta1_schema_prompt_spec_app_builder_data "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderData/codeRepositoryState": code_repository_state +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderData/framework": framework "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderData/linkedResources": linked_resources "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderData/linkedResources/linked_resource": linked_resource "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderDataLinkedResource": google_cloud_aiplatform_v1beta1_schema_prompt_spec_app_builder_data_linked_resource @@ -22494,6 +22515,7 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Tool/googleMaps": google_maps "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Tool/googleSearch": google_search "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Tool/googleSearchRetrieval": google_search_retrieval +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Tool/parallelAiSearch": parallel_ai_search "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Tool/retrieval": retrieval "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1Tool/urlContext": url_context "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ToolCall": google_cloud_aiplatform_v1beta1_tool_call @@ -22537,6 +22559,10 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ToolNameMatchResults/toolNameMatchMetricValues": tool_name_match_metric_values "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ToolNameMatchResults/toolNameMatchMetricValues/tool_name_match_metric_value": tool_name_match_metric_value "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ToolNameMatchSpec": google_cloud_aiplatform_v1beta1_tool_name_match_spec +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ToolParallelAiSearch": google_cloud_aiplatform_v1beta1_tool_parallel_ai_search +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ToolParallelAiSearch/apiKey": api_key +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ToolParallelAiSearch/customConfigs": custom_configs +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ToolParallelAiSearch/customConfigs/custom_config": custom_config "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ToolParameterKVMatchInput": google_cloud_aiplatform_v1beta1_tool_parameter_kv_match_input "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ToolParameterKVMatchInput/instances": instances "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1ToolParameterKVMatchInput/instances/instance": instance @@ -22890,6 +22916,7 @@ "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1VeoHyperParameters/epochCount": epoch_count "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1VeoHyperParameters/learningRateMultiplier": learning_rate_multiplier "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1VeoHyperParameters/tuningTask": tuning_task +"/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1VeoHyperParameters/veoDataMixtureRatio": veo_data_mixture_ratio "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1VeoTuningSpec": google_cloud_aiplatform_v1beta1_veo_tuning_spec "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1VeoTuningSpec/hyperParameters": hyper_parameters "/aiplatform:v1beta1/GoogleCloudAiplatformV1beta1VeoTuningSpec/trainingDatasetUri": training_dataset_uri @@ -24162,6 +24189,9 @@ "/aiplatform:v1beta1/aiplatform.projects.locations.endpoints.list/readMask": read_mask "/aiplatform:v1beta1/aiplatform.projects.locations.endpoints.mutateDeployedModel": mutate_project_location_endpoint_deployed_model "/aiplatform:v1beta1/aiplatform.projects.locations.endpoints.mutateDeployedModel/endpoint": endpoint +"/aiplatform:v1beta1/aiplatform.projects.locations.endpoints.openapi.completions": completions_project_location_endpoint_openapi +"/aiplatform:v1beta1/aiplatform.projects.locations.endpoints.openapi.completions/deployedModelId": deployed_model_id +"/aiplatform:v1beta1/aiplatform.projects.locations.endpoints.openapi.completions/endpoint": endpoint "/aiplatform:v1beta1/aiplatform.projects.locations.endpoints.openapi.embeddings": embeddings_project_location_endpoint_openapi "/aiplatform:v1beta1/aiplatform.projects.locations.endpoints.openapi.embeddings/deployedModelId": deployed_model_id "/aiplatform:v1beta1/aiplatform.projects.locations.endpoints.openapi.embeddings/endpoint": endpoint diff --git a/generated/google-apis-aiplatform_v1beta1/CHANGELOG.md b/generated/google-apis-aiplatform_v1beta1/CHANGELOG.md index b05f02cb7f7..73532d25fd4 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.70.0 (2025-12-21) + +* Regenerated from discovery document revision 20251215 + ### v0.69.0 (2025-12-14) * Regenerated from discovery document revision 20251210 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 2364b59b329..d72bde3415e 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 @@ -2416,8 +2416,8 @@ class GoogleCloudAiplatformV1beta1BatchPredictionJob # @return [String] attr_accessor :display_name - # Represents a customer-managed encryption key spec that can be applied to a top- - # level resource. + # Represents a customer-managed encryption key specification that can be applied + # to a Vertex AI resource. # Corresponds to the JSON property `encryptionSpec` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec] attr_accessor :encryption_spec @@ -3340,8 +3340,8 @@ class GoogleCloudAiplatformV1beta1CachedContent # @return [String] attr_accessor :display_name - # Represents a customer-managed encryption key spec that can be applied to a top- - # level resource. + # Represents a customer-managed encryption key specification that can be applied + # to a Vertex AI resource. # Corresponds to the JSON property `encryptionSpec` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec] attr_accessor :encryption_spec @@ -4732,8 +4732,8 @@ def update!(**args) class GoogleCloudAiplatformV1beta1CopyModelRequest include Google::Apis::Core::Hashable - # Represents a customer-managed encryption key spec that can be applied to a top- - # level resource. + # Represents a customer-managed encryption key specification that can be applied + # to a Vertex AI resource. # Corresponds to the JSON property `encryptionSpec` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec] attr_accessor :encryption_spec @@ -5785,8 +5785,8 @@ class GoogleCloudAiplatformV1beta1CustomJob # @return [String] attr_accessor :display_name - # Represents a customer-managed encryption key spec that can be applied to a top- - # level resource. + # Represents a customer-managed encryption key specification that can be applied + # to a Vertex AI resource. # Corresponds to the JSON property `encryptionSpec` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec] attr_accessor :encryption_spec @@ -6233,8 +6233,8 @@ class GoogleCloudAiplatformV1beta1DataLabelingJob # @return [String] attr_accessor :display_name - # Represents a customer-managed encryption key spec that can be applied to a top- - # level resource. + # Represents a customer-managed encryption key specification that can be applied + # to a Vertex AI resource. # Corresponds to the JSON property `encryptionSpec` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec] attr_accessor :encryption_spec @@ -6365,8 +6365,8 @@ class GoogleCloudAiplatformV1beta1Dataset # @return [String] attr_accessor :display_name - # Represents a customer-managed encryption key spec that can be applied to a top- - # level resource. + # Represents a customer-managed encryption key specification that can be applied + # to a Vertex AI resource. # Corresponds to the JSON property `encryptionSpec` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec] attr_accessor :encryption_spec @@ -8078,8 +8078,8 @@ class GoogleCloudAiplatformV1beta1DeploymentResourcePool attr_accessor :disable_container_logging alias_method :disable_container_logging?, :disable_container_logging - # Represents a customer-managed encryption key spec that can be applied to a top- - # level resource. + # Represents a customer-managed encryption key specification that can be applied + # to a Vertex AI resource. # Corresponds to the JSON property `encryptionSpec` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec] attr_accessor :encryption_spec @@ -8639,15 +8639,15 @@ def update!(**args) end end - # Represents a customer-managed encryption key spec that can be applied to a top- - # level resource. + # Represents a customer-managed encryption key specification that can be applied + # to a Vertex AI resource. class GoogleCloudAiplatformV1beta1EncryptionSpec include Google::Apis::Core::Hashable - # Required. The Cloud KMS resource identifier of the customer managed encryption - # key used to protect a resource. Has the form: `projects/my-project/locations/ - # my-region/keyRings/my-kr/cryptoKeys/my-key`. The key needs to be in the same - # region as where the compute resource is created. + # Required. Resource name of the Cloud KMS key used to protect the resource. The + # Cloud KMS key must be in the same region as the resource. It must have the + # format `projects/`project`/locations/`location`/keyRings/`key_ring`/cryptoKeys/ + # `crypto_key``. # Corresponds to the JSON property `kmsKeyName` # @return [String] attr_accessor :kms_key_name @@ -8722,8 +8722,8 @@ class GoogleCloudAiplatformV1beta1Endpoint attr_accessor :enable_private_service_connect alias_method :enable_private_service_connect?, :enable_private_service_connect - # Represents a customer-managed encryption key spec that can be applied to a top- - # level resource. + # Represents a customer-managed encryption key specification that can be applied + # to a Vertex AI resource. # Corresponds to the JSON property `encryptionSpec` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec] attr_accessor :encryption_spec @@ -13933,8 +13933,8 @@ class GoogleCloudAiplatformV1beta1FeatureOnlineStore # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureOnlineStoreEmbeddingManagement] attr_accessor :embedding_management - # Represents a customer-managed encryption key spec that can be applied to a top- - # level resource. + # Represents a customer-managed encryption key specification that can be applied + # to a Vertex AI resource. # Corresponds to the JSON property `encryptionSpec` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec] attr_accessor :encryption_spec @@ -15394,8 +15394,8 @@ class GoogleCloudAiplatformV1beta1Featurestore # @return [String] attr_accessor :create_time - # Represents a customer-managed encryption key spec that can be applied to a top- - # level resource. + # Represents a customer-managed encryption key specification that can be applied + # to a Vertex AI resource. # Corresponds to the JSON property `encryptionSpec` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec] attr_accessor :encryption_spec @@ -16634,9 +16634,8 @@ class GoogleCloudAiplatformV1beta1FunctionDeclaration # @return [String] attr_accessor :name - # Schema is used to define the format of input/output data. Represents a select - # subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3# - # schema-object). More fields may be added in the future as needed. + # Defines the schema of input and output data. This is a subset of the [OpenAPI + # 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Corresponds to the JSON property `parameters` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema] attr_accessor :parameters @@ -16651,9 +16650,8 @@ class GoogleCloudAiplatformV1beta1FunctionDeclaration # @return [Object] attr_accessor :parameters_json_schema - # Schema is used to define the format of input/output data. Represents a select - # subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3# - # schema-object). More fields may be added in the future as needed. + # Defines the schema of input and output data. This is a subset of the [OpenAPI + # 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Corresponds to the JSON property `response` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema] attr_accessor :response @@ -17581,6 +17579,17 @@ class GoogleCloudAiplatformV1beta1GenerateMemoriesRequest attr_accessor :disable_memory_revisions alias_method :disable_memory_revisions?, :disable_memory_revisions + # Optional. User-provided metadata for the generated memories. This is not + # generated by Memory Bank. + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + + # Optional. The strategy to use when applying metadata to existing memories. + # Corresponds to the JSON property `metadataMergeStrategy` + # @return [String] + attr_accessor :metadata_merge_strategy + # 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` @@ -17624,6 +17633,8 @@ def update!(**args) @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) + @metadata = args[:metadata] if args.key?(:metadata) + @metadata_merge_strategy = args[:metadata_merge_strategy] if args.key?(:metadata_merge_strategy) @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) @@ -17996,9 +18007,8 @@ class GoogleCloudAiplatformV1beta1GenerationConfig # @return [Array] attr_accessor :response_modalities - # Schema is used to define the format of input/output data. Represents a select - # subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3# - # schema-object). More fields may be added in the future as needed. + # Defines the schema of input and output data. This is a subset of the [OpenAPI + # 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Corresponds to the JSON property `responseSchema` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema] attr_accessor :response_schema @@ -18853,8 +18863,8 @@ class GoogleCloudAiplatformV1beta1HyperparameterTuningJob # @return [String] attr_accessor :display_name - # Represents a customer-managed encryption key spec that can be applied to a top- - # level resource. + # Represents a customer-managed encryption key specification that can be applied + # to a Vertex AI resource. # Corresponds to the JSON property `encryptionSpec` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec] attr_accessor :encryption_spec @@ -19770,8 +19780,8 @@ class GoogleCloudAiplatformV1beta1Index # @return [String] attr_accessor :display_name - # Represents a customer-managed encryption key spec that can be applied to a top- - # level resource. + # Represents a customer-managed encryption key specification that can be applied + # to a Vertex AI resource. # Corresponds to the JSON property `encryptionSpec` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec] attr_accessor :encryption_spec @@ -20096,8 +20106,8 @@ class GoogleCloudAiplatformV1beta1IndexEndpoint attr_accessor :enable_private_service_connect alias_method :enable_private_service_connect?, :enable_private_service_connect - # Represents a customer-managed encryption key spec that can be applied to a top- - # level resource. + # Represents a customer-managed encryption key specification that can be applied + # to a Vertex AI resource. # Corresponds to the JSON property `encryptionSpec` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec] attr_accessor :encryption_spec @@ -22864,6 +22874,13 @@ class GoogleCloudAiplatformV1beta1Memory # @return [String] attr_accessor :fact + # Optional. User-provided metadata for the Memory. This information was provided + # when creating, updating, or generating the Memory. It was not generated by + # Memory Bank. + # Corresponds to the JSON property `metadata` + # @return [Hash] + attr_accessor :metadata + # Identifier. The resource name of the Memory. Format: `projects/`project`/ # locations/`location`/reasoningEngines/`reasoning_engine`/memories/`memory`` # Corresponds to the JSON property `name` @@ -22923,6 +22940,7 @@ def update!(**args) @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) + @metadata = args[:metadata] if args.key?(:metadata) @name = args[:name] if args.key?(:name) @revision_expire_time = args[:revision_expire_time] if args.key?(:revision_expire_time) @revision_labels = args[:revision_labels] if args.key?(:revision_labels) @@ -23148,6 +23166,103 @@ def update!(**args) end end + # A conjunction of filters that will be combined using AND logic. + class GoogleCloudAiplatformV1beta1MemoryConjunctionFilter + include Google::Apis::Core::Hashable + + # Filters that will combined using AND logic. + # Corresponds to the JSON property `filters` + # @return [Array] + attr_accessor :filters + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @filters = args[:filters] if args.key?(:filters) + end + end + + # Filter to apply when retrieving memories. + class GoogleCloudAiplatformV1beta1MemoryFilter + include Google::Apis::Core::Hashable + + # Key of the filter. For example, "author" would apply to `metadata` entries + # with the key "author". + # Corresponds to the JSON property `key` + # @return [String] + attr_accessor :key + + # If true, the filter will be negated. + # Corresponds to the JSON property `negate` + # @return [Boolean] + attr_accessor :negate + alias_method :negate?, :negate + + # Operator to apply to the filter. If not set, then EQUAL will be used. + # Corresponds to the JSON property `op` + # @return [String] + attr_accessor :op + + # Memory metadata. + # Corresponds to the JSON property `value` + # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryMetadataValue] + attr_accessor :value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @key = args[:key] if args.key?(:key) + @negate = args[:negate] if args.key?(:negate) + @op = args[:op] if args.key?(:op) + @value = args[:value] if args.key?(:value) + end + end + + # Memory metadata. + class GoogleCloudAiplatformV1beta1MemoryMetadataValue + include Google::Apis::Core::Hashable + + # Boolean value. + # Corresponds to the JSON property `boolValue` + # @return [Boolean] + attr_accessor :bool_value + alias_method :bool_value?, :bool_value + + # Double value. + # Corresponds to the JSON property `doubleValue` + # @return [Float] + attr_accessor :double_value + + # String value. + # Corresponds to the JSON property `stringValue` + # @return [String] + attr_accessor :string_value + + # Timestamp value. When filtering on timestamp values, only the seconds field + # will be compared. + # Corresponds to the JSON property `timestampValue` + # @return [String] + attr_accessor :timestamp_value + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @bool_value = args[:bool_value] if args.key?(:bool_value) + @double_value = args[:double_value] if args.key?(:double_value) + @string_value = args[:string_value] if args.key?(:string_value) + @timestamp_value = args[:timestamp_value] if args.key?(:timestamp_value) + end + end + # A revision of a Memory. class GoogleCloudAiplatformV1beta1MemoryRevision include Google::Apis::Core::Hashable @@ -23352,8 +23467,8 @@ class GoogleCloudAiplatformV1beta1MetadataStore # @return [String] attr_accessor :description - # Represents a customer-managed encryption key spec that can be applied to a top- - # level resource. + # Represents a customer-managed encryption key specification that can be applied + # to a Vertex AI resource. # Corresponds to the JSON property `encryptionSpec` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec] attr_accessor :encryption_spec @@ -24146,8 +24261,8 @@ class GoogleCloudAiplatformV1beta1Model # @return [String] attr_accessor :display_name - # Represents a customer-managed encryption key spec that can be applied to a top- - # level resource. + # Represents a customer-managed encryption key specification that can be applied + # to a Vertex AI resource. # Corresponds to the JSON property `encryptionSpec` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec] attr_accessor :encryption_spec @@ -24760,8 +24875,8 @@ class GoogleCloudAiplatformV1beta1ModelDeploymentMonitoringJob attr_accessor :enable_monitoring_pipeline_logs alias_method :enable_monitoring_pipeline_logs?, :enable_monitoring_pipeline_logs - # Represents a customer-managed encryption key spec that can be applied to a top- - # level resource. + # Represents a customer-managed encryption key specification that can be applied + # to a Vertex AI resource. # Corresponds to the JSON property `encryptionSpec` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec] attr_accessor :encryption_spec @@ -25470,8 +25585,8 @@ class GoogleCloudAiplatformV1beta1ModelMonitor # @return [String] attr_accessor :display_name - # Represents a customer-managed encryption key spec that can be applied to a top- - # level resource. + # Represents a customer-managed encryption key specification that can be applied + # to a Vertex AI resource. # Corresponds to the JSON property `encryptionSpec` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec] attr_accessor :encryption_spec @@ -27288,8 +27403,8 @@ class GoogleCloudAiplatformV1beta1NasJob attr_accessor :enable_restricted_image_training alias_method :enable_restricted_image_training?, :enable_restricted_image_training - # Represents a customer-managed encryption key spec that can be applied to a top- - # level resource. + # Represents a customer-managed encryption key specification that can be applied + # to a Vertex AI resource. # Corresponds to the JSON property `encryptionSpec` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec] attr_accessor :encryption_spec @@ -28209,8 +28324,8 @@ class GoogleCloudAiplatformV1beta1NotebookExecutionJob # @return [String] attr_accessor :display_name - # Represents a customer-managed encryption key spec that can be applied to a top- - # level resource. + # Represents a customer-managed encryption key specification that can be applied + # to a Vertex AI resource. # Corresponds to the JSON property `encryptionSpec` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec] attr_accessor :encryption_spec @@ -28540,8 +28655,8 @@ class GoogleCloudAiplatformV1beta1NotebookRuntime # @return [String] attr_accessor :display_name - # Represents a customer-managed encryption key spec that can be applied to a top- - # level resource. + # Represents a customer-managed encryption key specification that can be applied + # to a Vertex AI resource. # Corresponds to the JSON property `encryptionSpec` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec] attr_accessor :encryption_spec @@ -28754,8 +28869,8 @@ class GoogleCloudAiplatformV1beta1NotebookRuntimeTemplate # @return [String] attr_accessor :display_name - # Represents a customer-managed encryption key spec that can be applied to a top- - # level resource. + # Represents a customer-managed encryption key specification that can be applied + # to a Vertex AI resource. # Corresponds to the JSON property `encryptionSpec` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec] attr_accessor :encryption_spec @@ -29769,8 +29884,8 @@ class GoogleCloudAiplatformV1beta1PersistentResource # @return [String] attr_accessor :display_name - # Represents a customer-managed encryption key spec that can be applied to a top- - # level resource. + # Represents a customer-managed encryption key specification that can be applied + # to a Vertex AI resource. # Corresponds to the JSON property `encryptionSpec` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec] attr_accessor :encryption_spec @@ -29912,8 +30027,8 @@ class GoogleCloudAiplatformV1beta1PipelineJob # @return [String] attr_accessor :display_name - # Represents a customer-managed encryption key spec that can be applied to a top- - # level resource. + # Represents a customer-managed encryption key specification that can be applied + # to a Vertex AI resource. # Corresponds to the JSON property `encryptionSpec` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec] attr_accessor :encryption_spec @@ -33447,8 +33562,8 @@ class GoogleCloudAiplatformV1beta1RagCorpus # @return [String] attr_accessor :display_name - # Represents a customer-managed encryption key spec that can be applied to a top- - # level resource. + # Represents a customer-managed encryption key specification that can be applied + # to a Vertex AI resource. # Corresponds to the JSON property `encryptionSpec` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec] attr_accessor :encryption_spec @@ -35201,8 +35316,8 @@ class GoogleCloudAiplatformV1beta1ReasoningEngine # @return [String] attr_accessor :display_name - # Represents a customer-managed encryption key spec that can be applied to a top- - # level resource. + # Represents a customer-managed encryption key specification that can be applied + # to a Vertex AI resource. # Corresponds to the JSON property `encryptionSpec` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec] attr_accessor :encryption_spec @@ -35747,13 +35862,15 @@ class GoogleCloudAiplatformV1beta1ReasoningEngineSpecSourceCodeSpecPythonSpec # Optional. The Python module to load as the entrypoint, specified as a fully # qualified module name. For example: path.to.agent. If not specified, defaults # to "agent". The project root will be added to Python sys.path, allowing - # imports to be specified relative to the root. + # imports to be specified relative to the root. This field should not be set if + # the source is `agent_config_source`. # Corresponds to the JSON property `entrypointModule` # @return [String] attr_accessor :entrypoint_module # Optional. The name of the callable object within the `entrypoint_module` to - # use as the application If not specified, defaults to "root_agent". + # use as the application If not specified, defaults to "root_agent". This field + # should not be set if the source is `agent_config_source`. # Corresponds to the JSON property `entrypointObject` # @return [String] attr_accessor :entrypoint_object @@ -36712,6 +36829,18 @@ class GoogleCloudAiplatformV1beta1RetrieveMemoriesRequest # @return [String] attr_accessor :filter + # Optional. Metadata filters that will be applied to the retrieved memories' ` + # metadata` using OR logic. Filters are defined using disjunctive normal form ( + # OR of ANDs). For example: `filter_groups: [`filters: [`key: "author", value: ` + # string_value: "agent 123"`, op: EQUAL`]`, `filters: [`key: "label", value: ` + # string_value: "travel"`, op: EQUAL`, `key: "author", value: `string_value: " + # agent 321"`, op: EQUAL`]`]` would be equivalent to the logical expression: `( + # metadata.author = "agent 123" OR (metadata.label = "travel" AND metadata. + # author = "agent 321"))`. + # Corresponds to the JSON property `filterGroups` + # @return [Array] + attr_accessor :filter_groups + # Required. The scope of the memories to retrieve. A memory must have exactly # the same scope (`Memory.scope`) as the scope provided here to be retrieved ( # same keys and values). Order does not matter, but it is case-sensitive. @@ -36736,6 +36865,7 @@ def initialize(**args) # Update properties of this object def update!(**args) @filter = args[:filter] if args.key?(:filter) + @filter_groups = args[:filter_groups] if args.key?(:filter_groups) @scope = args[:scope] if args.key?(:scope) @similarity_search_params = args[:similarity_search_params] if args.key?(:similarity_search_params) @simple_retrieval_params = args[:simple_retrieval_params] if args.key?(:simple_retrieval_params) @@ -38310,154 +38440,166 @@ def update!(**args) end end - # Schema is used to define the format of input/output data. Represents a select - # subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3# - # schema-object). More fields may be added in the future as needed. + # Defines the schema of input and output data. This is a subset of the [OpenAPI + # 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). class GoogleCloudAiplatformV1beta1Schema include Google::Apis::Core::Hashable - # Optional. Can either be a boolean or an object; controls the presence of - # additional properties. + # Optional. If `type` is `OBJECT`, specifies how to handle properties not + # defined in `properties`. If it is a boolean `false`, no additional properties + # are allowed. If it is a schema, additional properties are allowed if they + # conform to the schema. # Corresponds to the JSON property `additionalProperties` # @return [Object] attr_accessor :additional_properties - # Optional. The value should be validated against any (one or more) of the - # subschemas in the list. + # Optional. The instance must be valid against any (one or more) of the + # subschemas listed in `any_of`. # Corresponds to the JSON property `anyOf` # @return [Array] attr_accessor :any_of - # Optional. Default value of the data. + # Optional. Default value to use if the field is not specified. # Corresponds to the JSON property `default` # @return [Object] attr_accessor :default - # Optional. A map of definitions for use by `ref` Only allowed at the root of - # the schema. + # Optional. `defs` provides a map of schema definitions that can be reused by ` + # ref` elsewhere in the schema. Only allowed at root level of the schema. # Corresponds to the JSON property `defs` # @return [Hash] attr_accessor :defs - # Optional. The description of the data. + # Optional. Description of the schema. # Corresponds to the JSON property `description` # @return [String] attr_accessor :description - # Optional. Possible values of the element of primitive type with enum format. - # Examples: 1. We can define direction as : `type:STRING, format:enum, enum:[" - # EAST", NORTH", "SOUTH", "WEST"]` 2. We can define apartment number as : `type: - # INTEGER, format:enum, enum:["101", "201", "301"]` + # Optional. Possible values of the field. This field can be used to restrict a + # value to a fixed set of values. To mark a field as an enum, set `format` to ` + # enum` and provide the list of possible values in `enum`. For example: 1. To + # define directions: ``type:STRING, format:enum, enum:["EAST", "NORTH", "SOUTH", + # "WEST"]`` 2. To define apartment numbers: ``type:INTEGER, format:enum, enum:[" + # 101", "201", "301"]`` # Corresponds to the JSON property `enum` # @return [Array] attr_accessor :enum - # Optional. Example of the object. Will only populated when the object is the - # root. + # Optional. Example of an instance of this schema. # Corresponds to the JSON property `example` # @return [Object] attr_accessor :example - # Optional. The format of the data. Supported formats: for NUMBER type: "float", - # "double" for INTEGER type: "int32", "int64" for STRING type: "email", "byte", - # etc + # Optional. The format of the data. For `NUMBER` type, format can be `float` or ` + # double`. For `INTEGER` type, format can be `int32` or `int64`. For `STRING` + # type, format can be `email`, `byte`, `date`, `date-time`, `password`, and + # other formats to further refine the data type. # Corresponds to the JSON property `format` # @return [String] attr_accessor :format - # Schema is used to define the format of input/output data. Represents a select - # subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3# - # schema-object). More fields may be added in the future as needed. + # Defines the schema of input and output data. This is a subset of the [OpenAPI + # 3.0 Schema Object](https://spec.openapis.org/oas/v3.0.3#schema-object). # Corresponds to the JSON property `items` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema] attr_accessor :items - # Optional. Maximum number of the elements for Type.ARRAY. + # Optional. If type is `ARRAY`, `max_items` specifies the maximum number of + # items in an array. # Corresponds to the JSON property `maxItems` # @return [Fixnum] attr_accessor :max_items - # Optional. Maximum length of the Type.STRING + # Optional. If type is `STRING`, `max_length` specifies the maximum length of + # the string. # Corresponds to the JSON property `maxLength` # @return [Fixnum] attr_accessor :max_length - # Optional. Maximum number of the properties for Type.OBJECT. + # Optional. If type is `OBJECT`, `max_properties` specifies the maximum number + # of properties that can be provided. # Corresponds to the JSON property `maxProperties` # @return [Fixnum] attr_accessor :max_properties - # Optional. Maximum value of the Type.INTEGER and Type.NUMBER + # Optional. If type is `INTEGER` or `NUMBER`, `maximum` specifies the maximum + # allowed value. # Corresponds to the JSON property `maximum` # @return [Float] attr_accessor :maximum - # Optional. Minimum number of the elements for Type.ARRAY. + # Optional. If type is `ARRAY`, `min_items` specifies the minimum number of + # items in an array. # Corresponds to the JSON property `minItems` # @return [Fixnum] attr_accessor :min_items - # Optional. SCHEMA FIELDS FOR TYPE STRING Minimum length of the Type.STRING + # Optional. If type is `STRING`, `min_length` specifies the minimum length of + # the string. # Corresponds to the JSON property `minLength` # @return [Fixnum] attr_accessor :min_length - # Optional. Minimum number of the properties for Type.OBJECT. + # Optional. If type is `OBJECT`, `min_properties` specifies the minimum number + # of properties that can be provided. # Corresponds to the JSON property `minProperties` # @return [Fixnum] attr_accessor :min_properties - # Optional. SCHEMA FIELDS FOR TYPE INTEGER and NUMBER Minimum value of the Type. - # INTEGER and Type.NUMBER + # Optional. If type is `INTEGER` or `NUMBER`, `minimum` specifies the minimum + # allowed value. # Corresponds to the JSON property `minimum` # @return [Float] attr_accessor :minimum - # Optional. Indicates if the value may be null. + # Optional. Indicates if the value of this field can be null. # Corresponds to the JSON property `nullable` # @return [Boolean] attr_accessor :nullable alias_method :nullable?, :nullable - # Optional. Pattern of the Type.STRING to restrict a string to a regular - # expression. + # Optional. If type is `STRING`, `pattern` specifies a regular expression that + # the string must match. # Corresponds to the JSON property `pattern` # @return [String] attr_accessor :pattern - # Optional. SCHEMA FIELDS FOR TYPE OBJECT Properties of Type.OBJECT. + # Optional. If type is `OBJECT`, `properties` is a map of property names to + # schema definitions for each property of the object. # Corresponds to the JSON property `properties` # @return [Hash] attr_accessor :properties - # Optional. The order of the properties. Not a standard field in open api spec. - # Only used to support the order of the properties. + # Optional. Order of properties displayed or used where order matters. This is + # not a standard field in OpenAPI specification, but can be used to control the + # order of properties. # Corresponds to the JSON property `propertyOrdering` # @return [Array] attr_accessor :property_ordering - # Optional. Allows indirect references between schema nodes. The value should be - # a valid reference to a child of the root `defs`. For example, the following - # schema defines a reference to a schema node named "Pet": type: object - # properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: name: - # type: string The value of the "pet" property is a reference to the schema node - # named "Pet". See details in https://json-schema.org/understanding-json-schema/ - # structuring + # Optional. Allows referencing another schema definition to use in place of this + # schema. The value must be a valid reference to a schema in `defs`. For example, + # the following schema defines a reference to a schema node named "Pet": type: + # object properties: pet: ref: #/defs/Pet defs: Pet: type: object properties: + # name: type: string The value of the "pet" property is a reference to the + # schema node named "Pet". See details in https://json-schema.org/understanding- + # json-schema/structuring # Corresponds to the JSON property `ref` # @return [String] attr_accessor :ref - # Optional. Required properties of Type.OBJECT. + # Optional. If type is `OBJECT`, `required` lists the names of properties that + # must be present. # Corresponds to the JSON property `required` # @return [Array] attr_accessor :required - # Optional. The title of the Schema. + # Optional. Title for the schema. # Corresponds to the JSON property `title` # @return [String] attr_accessor :title - # Optional. The type of the data. + # Optional. Data type of the schema field. # Corresponds to the JSON property `type` # @return [String] attr_accessor :type @@ -41240,6 +41382,11 @@ class GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderData # @return [String] attr_accessor :code_repository_state + # Optional. Framework used to build the application. + # Corresponds to the JSON property `framework` + # @return [String] + attr_accessor :framework + # Linked resources attached to the application by the user. # Corresponds to the JSON property `linkedResources` # @return [Array] @@ -41252,6 +41399,7 @@ def initialize(**args) # Update properties of this object def update!(**args) @code_repository_state = args[:code_repository_state] if args.key?(:code_repository_state) + @framework = args[:framework] if args.key?(:framework) @linked_resources = args[:linked_resources] if args.key?(:linked_resources) end end @@ -44960,17 +45108,19 @@ def update!(**args) end end - # A vertex represents a 2D point in the image. NOTE: the normalized vertex - # coordinates are relative to the original image and range from 0 to 1. + # Represents a 2D point in the image. Vertex coordinates are normalized to be + # relative to the original image dimensions and range from 0 to 1. The origin of + # the coordinate system (0,0) is the top-left corner of the image. x increases + # to the right, and y increases to the bottom. class GoogleCloudAiplatformV1beta1SchemaVertex include Google::Apis::Core::Hashable - # X coordinate. + # X coordinate of the vertex, normalized to [0.0, 1.0]. # Corresponds to the JSON property `x` # @return [Float] attr_accessor :x - # Y coordinate. + # Y coordinate of the vertex, normalized to [0.0, 1.0]. # Corresponds to the JSON property `y` # @return [Float] attr_accessor :y @@ -48924,8 +49074,8 @@ class GoogleCloudAiplatformV1beta1Tensorboard # @return [String] attr_accessor :display_name - # Represents a customer-managed encryption key spec that can be applied to a top- - # level resource. + # Represents a customer-managed encryption key specification that can be applied + # to a Vertex AI resource. # Corresponds to the JSON property `encryptionSpec` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec] attr_accessor :encryption_spec @@ -49564,6 +49714,12 @@ class GoogleCloudAiplatformV1beta1Tool # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval] attr_accessor :google_search_retrieval + # ParallelAiSearch tool type. A tool that uses the Parallel.ai search engine for + # grounding. + # Corresponds to the JSON property `parallelAiSearch` + # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolParallelAiSearch] + attr_accessor :parallel_ai_search + # Defines a retrieval tool that model can call to access external knowledge. # Corresponds to the JSON property `retrieval` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Retrieval] @@ -49587,6 +49743,7 @@ def update!(**args) @google_maps = args[:google_maps] if args.key?(:google_maps) @google_search = args[:google_search] if args.key?(:google_search) @google_search_retrieval = args[:google_search_retrieval] if args.key?(:google_search_retrieval) + @parallel_ai_search = args[:parallel_ai_search] if args.key?(:parallel_ai_search) @retrieval = args[:retrieval] if args.key?(:retrieval) @url_context = args[:url_context] if args.key?(:url_context) end @@ -49917,6 +50074,42 @@ def update!(**args) end end + # ParallelAiSearch tool type. A tool that uses the Parallel.ai search engine for + # grounding. + class GoogleCloudAiplatformV1beta1ToolParallelAiSearch + include Google::Apis::Core::Hashable + + # Optional. The API key for ParallelAiSearch. If an API key is not provided, the + # system will attempt to verify access by checking for an active Parallel.ai + # subscription through the Google Cloud Marketplace. See https://docs.parallel. + # ai/search/search-quickstart for more details. + # Corresponds to the JSON property `apiKey` + # @return [String] + attr_accessor :api_key + + # Optional. Custom configs for ParallelAiSearch. This field can be used to pass + # any parameter from the Parallel.ai Search API. See the Parallel.ai + # documentation for the full list of available parameters and their usage: https: + # //docs.parallel.ai/api-reference/search-beta/search Currently only ` + # source_policy`, `excerpts`, `max_results`, `mode`, `fetch_policy` can be set + # via this field. For example: ` "source_policy": ` "include_domains": ["google. + # com", "wikipedia.org"], "exclude_domains": ["example.com"] `, "fetch_policy": ` + # "max_age_seconds": 3600 ` ` + # Corresponds to the JSON property `customConfigs` + # @return [Hash] + attr_accessor :custom_configs + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @api_key = args[:api_key] if args.key?(:api_key) + @custom_configs = args[:custom_configs] if args.key?(:custom_configs) + end + end + # Input for tool parameter key value match metric. class GoogleCloudAiplatformV1beta1ToolParameterKvMatchInput include Google::Apis::Core::Hashable @@ -50245,8 +50438,8 @@ class GoogleCloudAiplatformV1beta1TrainingPipeline # @return [String] attr_accessor :display_name - # Represents a customer-managed encryption key spec that can be applied to a top- - # level resource. + # Represents a customer-managed encryption key specification that can be applied + # to a Vertex AI resource. # Corresponds to the JSON property `encryptionSpec` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec] attr_accessor :encryption_spec @@ -51360,8 +51553,8 @@ class GoogleCloudAiplatformV1beta1TuningJob # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DistillationSpec] attr_accessor :distillation_spec - # Represents a customer-managed encryption key spec that can be applied to a top- - # level resource. + # Represents a customer-managed encryption key specification that can be applied + # to a Vertex AI resource. # Corresponds to the JSON property `encryptionSpec` # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec] attr_accessor :encryption_spec @@ -52625,6 +52818,13 @@ class GoogleCloudAiplatformV1beta1VeoHyperParameters # @return [String] attr_accessor :tuning_task + # Optional. The ratio of Google internal dataset to use in the training mixture, + # in range of `[0, 1)`. If `0.2`, it means 20% of Google internal dataset and 80% + # of user dataset will be used for training. + # Corresponds to the JSON property `veoDataMixtureRatio` + # @return [Float] + attr_accessor :veo_data_mixture_ratio + def initialize(**args) update!(**args) end @@ -52634,6 +52834,7 @@ def update!(**args) @epoch_count = args[:epoch_count] if args.key?(:epoch_count) @learning_rate_multiplier = args[:learning_rate_multiplier] if args.key?(:learning_rate_multiplier) @tuning_task = args[:tuning_task] if args.key?(:tuning_task) + @veo_data_mixture_ratio = args[:veo_data_mixture_ratio] if args.key?(:veo_data_mixture_ratio) end end 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 323f1898907..0eaf789ac39 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.69.0" + GEM_VERSION = "0.70.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 = "20251210" + REVISION = "20251215" 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 8972417c7fd..a55d1daac5e 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 @@ -3868,6 +3868,24 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudAiplatformV1beta1MemoryConjunctionFilter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudAiplatformV1beta1MemoryFilter + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + + class GoogleCloudAiplatformV1beta1MemoryMetadataValue + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudAiplatformV1beta1MemoryRevision class Representation < Google::Apis::Core::JsonRepresentation; end @@ -8290,6 +8308,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudAiplatformV1beta1ToolParallelAiSearch + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudAiplatformV1beta1ToolParameterKvMatchInput class Representation < Google::Apis::Core::JsonRepresentation; end @@ -14113,6 +14137,9 @@ class Representation < Google::Apis::Core::JsonRepresentation property :disable_consolidation, as: 'disableConsolidation' property :disable_memory_revisions, as: 'disableMemoryRevisions' + hash :metadata, as: 'metadata', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryMetadataValue, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryMetadataValue::Representation + + property :metadata_merge_strategy, as: 'metadataMergeStrategy' property :revision_expire_time, as: 'revisionExpireTime' hash :revision_labels, as: 'revisionLabels' property :revision_ttl, as: 'revisionTtl' @@ -15669,6 +15696,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :display_name, as: 'displayName' property :expire_time, as: 'expireTime' property :fact, as: 'fact' + hash :metadata, as: 'metadata', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryMetadataValue, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryMetadataValue::Representation + property :name, as: 'name' property :revision_expire_time, as: 'revisionExpireTime' hash :revision_labels, as: 'revisionLabels' @@ -15753,6 +15782,35 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudAiplatformV1beta1MemoryConjunctionFilter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :filters, as: 'filters', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryFilter, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryFilter::Representation + + end + end + + class GoogleCloudAiplatformV1beta1MemoryFilter + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :key, as: 'key' + property :negate, as: 'negate' + property :op, as: 'op' + property :value, as: 'value', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryMetadataValue, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryMetadataValue::Representation + + end + end + + class GoogleCloudAiplatformV1beta1MemoryMetadataValue + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :bool_value, as: 'boolValue' + property :double_value, as: 'doubleValue' + property :string_value, as: 'stringValue' + property :timestamp_value, as: 'timestampValue' + end + end + class GoogleCloudAiplatformV1beta1MemoryRevision # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -19642,6 +19700,8 @@ class GoogleCloudAiplatformV1beta1RetrieveMemoriesRequest # @private class Representation < Google::Apis::Core::JsonRepresentation property :filter, as: 'filter' + collection :filter_groups, as: 'filterGroups', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryConjunctionFilter, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MemoryConjunctionFilter::Representation + hash :scope, as: 'scope' property :similarity_search_params, as: 'similaritySearchParams', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveMemoriesRequestSimilaritySearchParams, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RetrieveMemoriesRequestSimilaritySearchParams::Representation @@ -20851,6 +20911,7 @@ class GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderData # @private class Representation < Google::Apis::Core::JsonRepresentation property :code_repository_state, as: 'codeRepositoryState' + property :framework, as: 'framework' collection :linked_resources, as: 'linkedResources', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderDataLinkedResource, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaPromptSpecAppBuilderDataLinkedResource::Representation end @@ -23163,6 +23224,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :google_search_retrieval, as: 'googleSearchRetrieval', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval::Representation + property :parallel_ai_search, as: 'parallelAiSearch', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolParallelAiSearch, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolParallelAiSearch::Representation + property :retrieval, as: 'retrieval', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Retrieval, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Retrieval::Representation property :url_context, as: 'urlContext', class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UrlContext, decorator: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1UrlContext::Representation @@ -23288,6 +23351,14 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudAiplatformV1beta1ToolParallelAiSearch + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :api_key, as: 'apiKey' + hash :custom_configs, as: 'customConfigs' + end + end + class GoogleCloudAiplatformV1beta1ToolParameterKvMatchInput # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -24180,6 +24251,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :epoch_count, :numeric_string => true, as: 'epochCount' property :learning_rate_multiplier, as: 'learningRateMultiplier' property :tuning_task, as: 'tuningTask' + property :veo_data_mixture_ratio, as: 'veoDataMixtureRatio' end end 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 3558f439660..295996c2645 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 @@ -14657,7 +14657,8 @@ def stream_project_location_endpoint_generate_content(model, google_cloud_aiplat # Perform a streaming online prediction with an arbitrary HTTP payload. # @param [String] endpoint # Required. The name of the Endpoint requested to serve the prediction. Format: ` - # projects/`project`/locations/`location`/endpoints/`endpoint`` + # projects/`project`/locations/`location`/endpoints/`endpoint`` or `projects/` + # project`/locations/`location`/publishers/`publisher`/models/`model`` # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StreamRawPredictRequest] google_cloud_aiplatform_v1beta1_stream_raw_predict_request_object # @param [String] fields # Selector specifying which fields to include in a partial response. @@ -14949,6 +14950,45 @@ def invoke_project_location_endpoint_invoke(endpoint, invoke_id, google_cloud_ai execute_or_queue_command(command, &block) end + # Forwards arbitrary HTTP requests for both streaming and non-streaming cases. + # To use this method, invoke_route_prefix must be set to allow the paths that + # will be specified in the request. + # @param [String] endpoint + # Required. The name of the Endpoint requested to serve the prediction. Format: ` + # projects/`project`/locations/`location`/endpoints/`endpoint`` + # @param [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody] google_api_http_body_object + # @param [String] deployed_model_id + # ID of the DeployedModel that serves the invoke request. + # @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::GoogleApiHttpBody] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody] + # + # @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 completions_project_location_endpoint_openapi(endpoint, google_api_http_body_object = nil, deployed_model_id: nil, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:post, 'v1beta1/{+endpoint}/completions', options) + command.request_representation = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody::Representation + command.request_object = google_api_http_body_object + command.response_representation = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody::Representation + command.response_class = Google::Apis::AiplatformV1beta1::GoogleApiHttpBody + command.params['endpoint'] = endpoint unless endpoint.nil? + command.query['deployedModelId'] = deployed_model_id unless deployed_model_id.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Forwards arbitrary HTTP requests for both streaming and non-streaming cases. # To use this method, invoke_route_prefix must be set to allow the paths that # will be specified in the request. @@ -31389,7 +31429,8 @@ def stream_project_location_publisher_model_generate_content(model, google_cloud # Perform a streaming online prediction with an arbitrary HTTP payload. # @param [String] endpoint # Required. The name of the Endpoint requested to serve the prediction. Format: ` - # projects/`project`/locations/`location`/endpoints/`endpoint`` + # projects/`project`/locations/`location`/endpoints/`endpoint`` or `projects/` + # project`/locations/`location`/publishers/`publisher`/models/`model`` # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StreamRawPredictRequest] google_cloud_aiplatform_v1beta1_stream_raw_predict_request_object # @param [String] fields # Selector specifying which fields to include in a partial response.