google-apis-aiplatform_v1 0.83.0 → 0.84.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7c682219a9ec03c99ef4f6ed06ff572728a54a102d01d2c67cc1ab87dbec2768
4
- data.tar.gz: b216714fd117945d42e313162737f9e07bb4e36efa7fe8dafb751a1becea2bfe
3
+ metadata.gz: 318d3769a3519ee4710608f79a09be0df234bcf93cff4af8c99f6129aa08f314
4
+ data.tar.gz: '0738455726d1f9f75f4ca5c3319b03f950de025709cd99ce28d9c1ec13b35ddb'
5
5
  SHA512:
6
- metadata.gz: 5598ceccb8335e5801432a6c5d56862558a7238f6fc6e04c17c186e22fe2c0d4c3df4c92dfd0ba0c200dfa57ec9b94bf49c104679e2f7b9382d9e00c7b522962
7
- data.tar.gz: 0dd5b94a771f578a38c43eba74af8382ec09df865be0c43632f8a9f837c01cb9ffc7f8724ff182b1a0fece6c5a1777e19d0b2683664c1d452b3ed2b515352735
6
+ metadata.gz: 6f0f5725470b8d885e5281d4107e6ca92a77fe3ac448b570f0fffcaa532d54a9e5f9f926ed951569d4eea923c5b9b3a100821d7ee2aa3fcd7bf2985095ef4bbb
7
+ data.tar.gz: 6f1464597753d07b52a2765d1ee0422da254f17fe073721b3ea2a9eef88dc4159e0d1d93cca30cfb303ea8514cdade213d765c8afc54a0bcd1da3fa234a25cdb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-aiplatform_v1
2
2
 
3
+ ### v0.84.0 (2026-03-15)
4
+
5
+ * Regenerated from discovery document revision 20260309
6
+
3
7
  ### v0.83.0 (2026-03-08)
4
8
 
5
9
  * Regenerated from discovery document revision 20260302
@@ -3957,9 +3957,8 @@ module Google
3957
3957
  end
3958
3958
  end
3959
3959
 
3960
- # Result of executing the [ExecutableCode]. Only generated when using the [
3961
- # CodeExecution] tool, and always follows a `part` containing the [
3962
- # ExecutableCode].
3960
+ # Result of executing the ExecutableCode. Generated only when the `CodeExecution`
3961
+ # tool is used.
3963
3962
  class GoogleCloudAiplatformV1CodeExecutionResult
3964
3963
  include Google::Apis::Core::Hashable
3965
3964
 
@@ -6273,6 +6272,28 @@ module Google
6273
6272
  end
6274
6273
  end
6275
6274
 
6275
+ # Defines a custom dataset-level aggregation.
6276
+ class GoogleCloudAiplatformV1DatasetCustomMetric
6277
+ include Google::Apis::Core::Hashable
6278
+
6279
+ # Optional. A display name for this custom summary metric. Used to prefix keys
6280
+ # in the output summaryMetrics map. If not provided, a default name like "
6281
+ # dataset_custom_metric_1", "dataset_custom_metric_2", etc., will be generated
6282
+ # based on the order in the repeated field.
6283
+ # Corresponds to the JSON property `displayName`
6284
+ # @return [String]
6285
+ attr_accessor :display_name
6286
+
6287
+ def initialize(**args)
6288
+ update!(**args)
6289
+ end
6290
+
6291
+ # Update properties of this object
6292
+ def update!(**args)
6293
+ @display_name = args[:display_name] if args.key?(:display_name)
6294
+ end
6295
+ end
6296
+
6276
6297
  # Distribution computed over a tuning dataset.
6277
6298
  class GoogleCloudAiplatformV1DatasetDistribution
6278
6299
  include Google::Apis::Core::Hashable
@@ -8012,6 +8033,11 @@ module Google
8012
8033
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content]
8013
8034
  attr_accessor :content
8014
8035
 
8036
+ # Configurations for the EmbedContent API.
8037
+ # Corresponds to the JSON property `embedContentConfig`
8038
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EmbedContentRequestEmbedContentConfig]
8039
+ attr_accessor :embed_content_config
8040
+
8015
8041
  # Optional. Deprecated: Please use EmbedContentConfig.output_dimensionality
8016
8042
  # instead. Reduced dimension for the output embedding. If set, excessive values
8017
8043
  # in the output embedding are truncated from the end.
@@ -8039,6 +8065,63 @@ module Google
8039
8065
  def update!(**args)
8040
8066
  @auto_truncate = args[:auto_truncate] if args.key?(:auto_truncate)
8041
8067
  @content = args[:content] if args.key?(:content)
8068
+ @embed_content_config = args[:embed_content_config] if args.key?(:embed_content_config)
8069
+ @output_dimensionality = args[:output_dimensionality] if args.key?(:output_dimensionality)
8070
+ @task_type = args[:task_type] if args.key?(:task_type)
8071
+ @title = args[:title] if args.key?(:title)
8072
+ end
8073
+ end
8074
+
8075
+ # Configurations for the EmbedContent API.
8076
+ class GoogleCloudAiplatformV1EmbedContentRequestEmbedContentConfig
8077
+ include Google::Apis::Core::Hashable
8078
+
8079
+ # Optional. Whether to extract audio from video content.
8080
+ # Corresponds to the JSON property `audioTrackExtraction`
8081
+ # @return [Boolean]
8082
+ attr_accessor :audio_track_extraction
8083
+ alias_method :audio_track_extraction?, :audio_track_extraction
8084
+
8085
+ # Optional. Whether to silently truncate the input content if it's longer than
8086
+ # the maximum sequence length. Only applicable to text-only embedding models.
8087
+ # Corresponds to the JSON property `autoTruncate`
8088
+ # @return [Boolean]
8089
+ attr_accessor :auto_truncate
8090
+ alias_method :auto_truncate?, :auto_truncate
8091
+
8092
+ # Optional. Whether to enable OCR for document content.
8093
+ # Corresponds to the JSON property `documentOcr`
8094
+ # @return [Boolean]
8095
+ attr_accessor :document_ocr
8096
+ alias_method :document_ocr?, :document_ocr
8097
+
8098
+ # Optional. Reduced dimension for the output embedding. If set, excessive values
8099
+ # in the output embedding are truncated from the end.
8100
+ # Corresponds to the JSON property `outputDimensionality`
8101
+ # @return [Fixnum]
8102
+ attr_accessor :output_dimensionality
8103
+
8104
+ # Optional. The task type of the embedding. Only applicable to text-only
8105
+ # embedding models.
8106
+ # Corresponds to the JSON property `taskType`
8107
+ # @return [String]
8108
+ attr_accessor :task_type
8109
+
8110
+ # Optional. The title for the text. Only applicable to text-only embedding
8111
+ # models.
8112
+ # Corresponds to the JSON property `title`
8113
+ # @return [String]
8114
+ attr_accessor :title
8115
+
8116
+ def initialize(**args)
8117
+ update!(**args)
8118
+ end
8119
+
8120
+ # Update properties of this object
8121
+ def update!(**args)
8122
+ @audio_track_extraction = args[:audio_track_extraction] if args.key?(:audio_track_extraction)
8123
+ @auto_truncate = args[:auto_truncate] if args.key?(:auto_truncate)
8124
+ @document_ocr = args[:document_ocr] if args.key?(:document_ocr)
8042
8125
  @output_dimensionality = args[:output_dimensionality] if args.key?(:output_dimensionality)
8043
8126
  @task_type = args[:task_type] if args.key?(:task_type)
8044
8127
  @title = args[:title] if args.key?(:title)
@@ -10104,6 +10187,11 @@ module Google
10104
10187
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig]
10105
10188
  attr_accessor :autorater_config
10106
10189
 
10190
+ # Optional. Specifications for custom dataset-level aggregations.
10191
+ # Corresponds to the JSON property `datasetCustomMetrics`
10192
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetCustomMetric>]
10193
+ attr_accessor :dataset_custom_metrics
10194
+
10107
10195
  # Required. The metrics to be calculated in the evaluation run.
10108
10196
  # Corresponds to the JSON property `metrics`
10109
10197
  # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunMetric>]
@@ -10137,6 +10225,7 @@ module Google
10137
10225
  # Update properties of this object
10138
10226
  def update!(**args)
10139
10227
  @autorater_config = args[:autorater_config] if args.key?(:autorater_config)
10228
+ @dataset_custom_metrics = args[:dataset_custom_metrics] if args.key?(:dataset_custom_metrics)
10140
10229
  @metrics = args[:metrics] if args.key?(:metrics)
10141
10230
  @output_config = args[:output_config] if args.key?(:output_config)
10142
10231
  @prompt_template = args[:prompt_template] if args.key?(:prompt_template)
@@ -10246,9 +10335,12 @@ module Google
10246
10335
  attr_accessor :generation_config
10247
10336
 
10248
10337
  # Optional. The fully qualified name of the publisher model or endpoint to use.
10338
+ # Anthropic and Llama third-party models are also supported through Model Garden.
10249
10339
  # Publisher model format: `projects/`project`/locations/`location`/publishers/*/
10250
- # models/*` Endpoint format: `projects/`project`/locations/`location`/endpoints/`
10251
- # endpoint``
10340
+ # models/*` Third-party model format: `projects/`project`/locations/`location`/
10341
+ # publishers/anthropic/models/`model`` `projects/`project`/locations/`location`/
10342
+ # publishers/llama/models/`model`` Endpoint format: `projects/`project`/
10343
+ # locations/`location`/endpoints/`endpoint``
10252
10344
  # Corresponds to the JSON property `model`
10253
10345
  # @return [String]
10254
10346
  attr_accessor :model
@@ -11007,9 +11099,9 @@ module Google
11007
11099
  end
11008
11100
 
11009
11101
  # Code generated by the model that is meant to be executed, and the result
11010
- # returned to the model. Generated when using the [CodeExecution] tool, in which
11011
- # the code will be automatically executed, and a corresponding [
11012
- # CodeExecutionResult] will also be generated.
11102
+ # returned to the model. Generated when using the `CodeExecution` tool, in which
11103
+ # the code will be automatically executed, and a corresponding
11104
+ # CodeExecutionResult will also be generated.
11013
11105
  class GoogleCloudAiplatformV1ExecutableCode
11014
11106
  include Google::Apis::Core::Hashable
11015
11107
 
@@ -15071,19 +15163,19 @@ module Google
15071
15163
  end
15072
15164
  end
15073
15165
 
15074
- # A predicted [FunctionCall] returned from the model that contains a string
15075
- # representing the [FunctionDeclaration.name] and a structured JSON object
15166
+ # A predicted FunctionCall returned from the model that contains a string
15167
+ # representing the FunctionDeclaration.name and a structured JSON object
15076
15168
  # containing the parameters and their values.
15077
15169
  class GoogleCloudAiplatformV1FunctionCall
15078
15170
  include Google::Apis::Core::Hashable
15079
15171
 
15080
- # Optional. The function parameters and values in JSON object format. See [
15081
- # FunctionDeclaration.parameters] for parameter details.
15172
+ # Optional. The function parameters and values in JSON object format. See
15173
+ # FunctionDeclaration.parameters for parameter details.
15082
15174
  # Corresponds to the JSON property `args`
15083
15175
  # @return [Hash<String,Object>]
15084
15176
  attr_accessor :args
15085
15177
 
15086
- # Optional. The name of the function to call. Matches [FunctionDeclaration.name].
15178
+ # Optional. The name of the function to call. Matches FunctionDeclaration.name.
15087
15179
  # Corresponds to the JSON property `name`
15088
15180
  # @return [String]
15089
15181
  attr_accessor :name
@@ -15119,8 +15211,8 @@ module Google
15119
15211
  include Google::Apis::Core::Hashable
15120
15212
 
15121
15213
  # Optional. Function names to call. Only set when the Mode is ANY. Function
15122
- # names should match [FunctionDeclaration.name]. With mode set to ANY, model
15123
- # will predict a function call from the set of function names provided.
15214
+ # names should match FunctionDeclaration.name. With mode set to ANY, model will
15215
+ # predict a function call from the set of function names provided.
15124
15216
  # Corresponds to the JSON property `allowedFunctionNames`
15125
15217
  # @return [Array<String>]
15126
15218
  attr_accessor :allowed_function_names
@@ -15132,7 +15224,7 @@ module Google
15132
15224
 
15133
15225
  # Optional. When set to true, arguments of a single function call will be
15134
15226
  # streamed out in multiple parts/contents/responses. Partial parameter results
15135
- # will be returned in the [FunctionCall.partial_args] field.
15227
+ # will be returned in the `FunctionCall.partial_args` field.
15136
15228
  # Corresponds to the JSON property `streamFunctionCallArguments`
15137
15229
  # @return [Boolean]
15138
15230
  attr_accessor :stream_function_call_arguments
@@ -15215,15 +15307,15 @@ module Google
15215
15307
  end
15216
15308
  end
15217
15309
 
15218
- # The result output from a [FunctionCall] that contains a string representing
15219
- # the [FunctionDeclaration.name] and a structured JSON object containing any
15220
- # output from the function is used as context to the model. This should contain
15221
- # the result of a [FunctionCall] made based on model prediction.
15310
+ # The result output from a FunctionCall that contains a string representing the
15311
+ # FunctionDeclaration.name and a structured JSON object containing any output
15312
+ # from the function is used as context to the model. This should contain the
15313
+ # result of a `FunctionCall` made based on model prediction.
15222
15314
  class GoogleCloudAiplatformV1FunctionResponse
15223
15315
  include Google::Apis::Core::Hashable
15224
15316
 
15225
- # Required. The name of the function to call. Matches [FunctionDeclaration.name]
15226
- # and [FunctionCall.name].
15317
+ # Required. The name of the function to call. Matches FunctionDeclaration.name
15318
+ # and FunctionCall.name.
15227
15319
  # Corresponds to the JSON property `name`
15228
15320
  # @return [String]
15229
15321
  attr_accessor :name
@@ -16107,28 +16199,32 @@ module Google
16107
16199
  end
16108
16200
  end
16109
16201
 
16110
- # Request message for DataFoundryService.GenerateSyntheticData.
16202
+ # Request message for DataFoundryService.GenerateSyntheticData. It contains the
16203
+ # settings and information needed to generate synthetic data.
16111
16204
  class GoogleCloudAiplatformV1GenerateSyntheticDataRequest
16112
16205
  include Google::Apis::Core::Hashable
16113
16206
 
16114
16207
  # Required. The number of synthetic examples to generate. For this stateless API,
16115
- # the count is limited to a small number.
16208
+ # you can generate up to 50 examples in a single request.
16116
16209
  # Corresponds to the JSON property `count`
16117
16210
  # @return [Fixnum]
16118
16211
  attr_accessor :count
16119
16212
 
16120
- # Optional. A list of few-shot examples to guide the model's output style and
16121
- # format.
16213
+ # Optional. A list of few-shot examples that help the model understand the
16214
+ # desired style, tone, and format of the generated synthetic data. Providing
16215
+ # these few-shot examples can significantly improve the quality and relevance of
16216
+ # the output.
16122
16217
  # Corresponds to the JSON property `examples`
16123
16218
  # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SyntheticExample>]
16124
16219
  attr_accessor :examples
16125
16220
 
16126
- # Required. The schema of the desired output, defined by a list of fields.
16221
+ # Required. Defines the schema of each synthetic example to be generated,
16222
+ # defined by a list of fields.
16127
16223
  # Corresponds to the JSON property `outputFieldSpecs`
16128
16224
  # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1OutputFieldSpec>]
16129
16225
  attr_accessor :output_field_specs
16130
16226
 
16131
- # Defines a generation strategy based on a high-level task description.
16227
+ # Defines a generation strategy based on a general task description.
16132
16228
  # Corresponds to the JSON property `taskDescription`
16133
16229
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TaskDescriptionStrategy]
16134
16230
  attr_accessor :task_description
@@ -16146,11 +16242,13 @@ module Google
16146
16242
  end
16147
16243
  end
16148
16244
 
16149
- # The response containing the generated data.
16245
+ # The response message for the `GenerateSyntheticData` method, containing the
16246
+ # synthetic examples generated by the Gen AI evaluation service.
16150
16247
  class GoogleCloudAiplatformV1GenerateSyntheticDataResponse
16151
16248
  include Google::Apis::Core::Hashable
16152
16249
 
16153
- # A list of generated synthetic examples.
16250
+ # A list of generated synthetic examples, each containing a complete synthetic
16251
+ # data instance generated based on your request.
16154
16252
  # Corresponds to the JSON property `syntheticExamples`
16155
16253
  # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SyntheticExample>]
16156
16254
  attr_accessor :synthetic_examples
@@ -20929,10 +21027,15 @@ module Google
20929
21027
  end
20930
21028
  end
20931
21029
 
20932
- # Configuration for organizing memories for a particular scope.
21030
+ # Represents configuration for organizing memories for a particular scope.
20933
21031
  class GoogleCloudAiplatformV1MemoryBankCustomizationConfig
20934
21032
  include Google::Apis::Core::Hashable
20935
21033
 
21034
+ # Represents configuration for customizing how memories are consolidated.
21035
+ # Corresponds to the JSON property `consolidationConfig`
21036
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryBankCustomizationConfigConsolidationConfig]
21037
+ attr_accessor :consolidation_config
21038
+
20936
21039
  # Optional. If true, then the memories will be generated in the third person (i.
20937
21040
  # e. "The user generates memories with Memory Bank."). By default, the memories
20938
21041
  # will be generated in the first person (i.e. "I generate memories with Memory
@@ -20969,6 +21072,7 @@ module Google
20969
21072
 
20970
21073
  # Update properties of this object
20971
21074
  def update!(**args)
21075
+ @consolidation_config = args[:consolidation_config] if args.key?(:consolidation_config)
20972
21076
  @enable_third_person_memories = args[:enable_third_person_memories] if args.key?(:enable_third_person_memories)
20973
21077
  @generate_memories_examples = args[:generate_memories_examples] if args.key?(:generate_memories_examples)
20974
21078
  @memory_topics = args[:memory_topics] if args.key?(:memory_topics)
@@ -20976,6 +21080,27 @@ module Google
20976
21080
  end
20977
21081
  end
20978
21082
 
21083
+ # Represents configuration for customizing how memories are consolidated.
21084
+ class GoogleCloudAiplatformV1MemoryBankCustomizationConfigConsolidationConfig
21085
+ include Google::Apis::Core::Hashable
21086
+
21087
+ # Optional. The maximum number of revisions to consider for each candidate
21088
+ # memory. If not set, then the default value (1) will be used, which means that
21089
+ # only the latest revision will be considered.
21090
+ # Corresponds to the JSON property `revisionsPerCandidateCount`
21091
+ # @return [Fixnum]
21092
+ attr_accessor :revisions_per_candidate_count
21093
+
21094
+ def initialize(**args)
21095
+ update!(**args)
21096
+ end
21097
+
21098
+ # Update properties of this object
21099
+ def update!(**args)
21100
+ @revisions_per_candidate_count = args[:revisions_per_candidate_count] if args.key?(:revisions_per_candidate_count)
21101
+ end
21102
+ end
21103
+
20979
21104
  # An example of how to generate memories for a particular scope.
20980
21105
  class GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExample
20981
21106
  include Google::Apis::Core::Hashable
@@ -25867,11 +25992,14 @@ module Google
25867
25992
  end
25868
25993
  end
25869
25994
 
25870
- # Defines a specification for a single output field.
25995
+ # Specifies the properties of a single field that are included in each generated
25996
+ # synthetic example. This helps the model understand what kind of data to
25997
+ # generate for each field.
25871
25998
  class GoogleCloudAiplatformV1OutputFieldSpec
25872
25999
  include Google::Apis::Core::Hashable
25873
26000
 
25874
- # Required. The name of the output field.
26001
+ # Required. The name of this field in the generated synthetic data, such as "
26002
+ # email_subject" or "customer_review".
25875
26003
  # Corresponds to the JSON property `fieldName`
25876
26004
  # @return [String]
25877
26005
  attr_accessor :field_name
@@ -25881,10 +26009,11 @@ module Google
25881
26009
  # @return [String]
25882
26010
  attr_accessor :field_type
25883
26011
 
25884
- # Optional. Optional, but recommended. Additional guidance specific to this
25885
- # field to provide targeted instructions for the LLM to generate the content of
25886
- # a single output field. While the LLM can sometimes infer content from the
25887
- # field name, providing explicit guidance is preferred.
26012
+ # Optional. Specific instructions for the large language model on how to
26013
+ # generate content for this particular field. While the LLM can sometimes infer
26014
+ # content from the field name, providing explicit guidance is preferred. For
26015
+ # example, for a field named "review", the guidance could be "A positive review
26016
+ # about a coffee maker."
25888
26017
  # Corresponds to the JSON property `guidance`
25889
26018
  # @return [String]
25890
26019
  attr_accessor :guidance
@@ -26361,17 +26490,16 @@ module Google
26361
26490
  class GoogleCloudAiplatformV1Part
26362
26491
  include Google::Apis::Core::Hashable
26363
26492
 
26364
- # Result of executing the [ExecutableCode]. Only generated when using the [
26365
- # CodeExecution] tool, and always follows a `part` containing the [
26366
- # ExecutableCode].
26493
+ # Result of executing the ExecutableCode. Generated only when the `CodeExecution`
26494
+ # tool is used.
26367
26495
  # Corresponds to the JSON property `codeExecutionResult`
26368
26496
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CodeExecutionResult]
26369
26497
  attr_accessor :code_execution_result
26370
26498
 
26371
26499
  # Code generated by the model that is meant to be executed, and the result
26372
- # returned to the model. Generated when using the [CodeExecution] tool, in which
26373
- # the code will be automatically executed, and a corresponding [
26374
- # CodeExecutionResult] will also be generated.
26500
+ # returned to the model. Generated when using the `CodeExecution` tool, in which
26501
+ # the code will be automatically executed, and a corresponding
26502
+ # CodeExecutionResult will also be generated.
26375
26503
  # Corresponds to the JSON property `executableCode`
26376
26504
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExecutableCode]
26377
26505
  attr_accessor :executable_code
@@ -26383,17 +26511,17 @@ module Google
26383
26511
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FileData]
26384
26512
  attr_accessor :file_data
26385
26513
 
26386
- # A predicted [FunctionCall] returned from the model that contains a string
26387
- # representing the [FunctionDeclaration.name] and a structured JSON object
26514
+ # A predicted FunctionCall returned from the model that contains a string
26515
+ # representing the FunctionDeclaration.name and a structured JSON object
26388
26516
  # containing the parameters and their values.
26389
26517
  # Corresponds to the JSON property `functionCall`
26390
26518
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionCall]
26391
26519
  attr_accessor :function_call
26392
26520
 
26393
- # The result output from a [FunctionCall] that contains a string representing
26394
- # the [FunctionDeclaration.name] and a structured JSON object containing any
26395
- # output from the function is used as context to the model. This should contain
26396
- # the result of a [FunctionCall] made based on model prediction.
26521
+ # The result output from a FunctionCall that contains a string representing the
26522
+ # FunctionDeclaration.name and a structured JSON object containing any output
26523
+ # from the function is used as context to the model. This should contain the
26524
+ # result of a `FunctionCall` made based on model prediction.
26397
26525
  # Corresponds to the JSON property `functionResponse`
26398
26526
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionResponse]
26399
26527
  attr_accessor :function_response
@@ -28364,7 +28492,7 @@ module Google
28364
28492
  # @return [String]
28365
28493
  attr_accessor :launch_stage
28366
28494
 
28367
- # Output only. The resource name of the PublisherModel.
28495
+ # Output only. Identifier. The resource name of the PublisherModel.
28368
28496
  # Corresponds to the JSON property `name`
28369
28497
  # @return [String]
28370
28498
  attr_accessor :name
@@ -41323,6 +41451,11 @@ module Google
41323
41451
  # @return [String]
41324
41452
  attr_accessor :name
41325
41453
 
41454
+ # Optional. Weakly typed raw event data in proto struct format.
41455
+ # Corresponds to the JSON property `rawEvent`
41456
+ # @return [Hash<String,Object>]
41457
+ attr_accessor :raw_event
41458
+
41326
41459
  # Required. Timestamp when the event was created on client side.
41327
41460
  # Corresponds to the JSON property `timestamp`
41328
41461
  # @return [String]
@@ -41342,6 +41475,7 @@ module Google
41342
41475
  @event_metadata = args[:event_metadata] if args.key?(:event_metadata)
41343
41476
  @invocation_id = args[:invocation_id] if args.key?(:invocation_id)
41344
41477
  @name = args[:name] if args.key?(:name)
41478
+ @raw_event = args[:raw_event] if args.key?(:raw_event)
41345
41479
  @timestamp = args[:timestamp] if args.key?(:timestamp)
41346
41480
  end
41347
41481
  end
@@ -43611,9 +43745,11 @@ module Google
43611
43745
  end
43612
43746
  end
43613
43747
 
43614
- # Represents a single synthetic example, composed of multiple fields. Used for
43615
- # providing few-shot examples in the request and for returning generated
43616
- # examples in the response.
43748
+ # A single instance of generated synthetic data. Each example is made up of one
43749
+ # or more named fields, as defined in `OutputFieldSpec`. These examples are used
43750
+ # as few-shot examples to show the model what you want (in `
43751
+ # GenerateSyntheticDataRequest.examples`) and to return generated examples in
43752
+ # the response (in `GenerateSyntheticDataResponse.synthetic_examples`).
43617
43753
  class GoogleCloudAiplatformV1SyntheticExample
43618
43754
  include Google::Apis::Core::Hashable
43619
43755
 
@@ -43632,7 +43768,8 @@ module Google
43632
43768
  end
43633
43769
  end
43634
43770
 
43635
- # Represents a single named field within a SyntheticExample.
43771
+ # Represents a single named field within a synthetic example, consisting of a
43772
+ # name and the actual content.
43636
43773
  class GoogleCloudAiplatformV1SyntheticField
43637
43774
  include Google::Apis::Core::Hashable
43638
43775
 
@@ -43643,7 +43780,8 @@ module Google
43643
43780
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content]
43644
43781
  attr_accessor :content
43645
43782
 
43646
- # Optional. The name of the field.
43783
+ # Optional. The name of the specific field, such as "product_name" or "
43784
+ # review_text".
43647
43785
  # Corresponds to the JSON property `fieldName`
43648
43786
  # @return [String]
43649
43787
  attr_accessor :field_name
@@ -43678,11 +43816,12 @@ module Google
43678
43816
  end
43679
43817
  end
43680
43818
 
43681
- # Defines a generation strategy based on a high-level task description.
43819
+ # Defines a generation strategy based on a general task description.
43682
43820
  class GoogleCloudAiplatformV1TaskDescriptionStrategy
43683
43821
  include Google::Apis::Core::Hashable
43684
43822
 
43685
- # Required. A high-level description of the synthetic data to be generated.
43823
+ # Required. A general description of the type of synthetic data you want to
43824
+ # generate. For example, "Generate customer reviews for a new smartphone."
43686
43825
  # Corresponds to the JSON property `taskDescription`
43687
43826
  # @return [String]
43688
43827
  attr_accessor :task_description
@@ -44422,7 +44561,7 @@ module Google
44422
44561
  include Google::Apis::Core::Hashable
44423
44562
 
44424
44563
  # Tool that executes code generated by the model, and automatically returns the
44425
- # result to the model. See also [ExecutableCode]and [CodeExecutionResult] which
44564
+ # result to the model. See also ExecutableCode and CodeExecutionResult, which
44426
44565
  # are input and output to this tool.
44427
44566
  # Corresponds to the JSON property `codeExecution`
44428
44567
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolCodeExecution]
@@ -44627,7 +44766,7 @@ module Google
44627
44766
  end
44628
44767
 
44629
44768
  # Tool that executes code generated by the model, and automatically returns the
44630
- # result to the model. See also [ExecutableCode]and [CodeExecutionResult] which
44769
+ # result to the model. See also ExecutableCode and CodeExecutionResult, which
44631
44770
  # are input and output to this tool.
44632
44771
  class GoogleCloudAiplatformV1ToolCodeExecution
44633
44772
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AiplatformV1
18
18
  # Version of the google-apis-aiplatform_v1 gem
19
- GEM_VERSION = "0.83.0"
19
+ GEM_VERSION = "0.84.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260302"
25
+ REVISION = "20260309"
26
26
  end
27
27
  end
28
28
  end
@@ -1132,6 +1132,12 @@ module Google
1132
1132
  include Google::Apis::Core::JsonObjectSupport
1133
1133
  end
1134
1134
 
1135
+ class GoogleCloudAiplatformV1DatasetCustomMetric
1136
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1137
+
1138
+ include Google::Apis::Core::JsonObjectSupport
1139
+ end
1140
+
1135
1141
  class GoogleCloudAiplatformV1DatasetDistribution
1136
1142
  class Representation < Google::Apis::Core::JsonRepresentation; end
1137
1143
 
@@ -1396,6 +1402,12 @@ module Google
1396
1402
  include Google::Apis::Core::JsonObjectSupport
1397
1403
  end
1398
1404
 
1405
+ class GoogleCloudAiplatformV1EmbedContentRequestEmbedContentConfig
1406
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1407
+
1408
+ include Google::Apis::Core::JsonObjectSupport
1409
+ end
1410
+
1399
1411
  class GoogleCloudAiplatformV1EmbedContentResponse
1400
1412
  class Representation < Google::Apis::Core::JsonRepresentation; end
1401
1413
 
@@ -3436,6 +3448,12 @@ module Google
3436
3448
  include Google::Apis::Core::JsonObjectSupport
3437
3449
  end
3438
3450
 
3451
+ class GoogleCloudAiplatformV1MemoryBankCustomizationConfigConsolidationConfig
3452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3453
+
3454
+ include Google::Apis::Core::JsonObjectSupport
3455
+ end
3456
+
3439
3457
  class GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExample
3440
3458
  class Representation < Google::Apis::Core::JsonRepresentation; end
3441
3459
 
@@ -9923,6 +9941,13 @@ module Google
9923
9941
  end
9924
9942
  end
9925
9943
 
9944
+ class GoogleCloudAiplatformV1DatasetCustomMetric
9945
+ # @private
9946
+ class Representation < Google::Apis::Core::JsonRepresentation
9947
+ property :display_name, as: 'displayName'
9948
+ end
9949
+ end
9950
+
9926
9951
  class GoogleCloudAiplatformV1DatasetDistribution
9927
9952
  # @private
9928
9953
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10384,6 +10409,20 @@ module Google
10384
10409
  property :auto_truncate, as: 'autoTruncate'
10385
10410
  property :content, as: 'content', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content::Representation
10386
10411
 
10412
+ property :embed_content_config, as: 'embedContentConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EmbedContentRequestEmbedContentConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EmbedContentRequestEmbedContentConfig::Representation
10413
+
10414
+ property :output_dimensionality, as: 'outputDimensionality'
10415
+ property :task_type, as: 'taskType'
10416
+ property :title, as: 'title'
10417
+ end
10418
+ end
10419
+
10420
+ class GoogleCloudAiplatformV1EmbedContentRequestEmbedContentConfig
10421
+ # @private
10422
+ class Representation < Google::Apis::Core::JsonRepresentation
10423
+ property :audio_track_extraction, as: 'audioTrackExtraction'
10424
+ property :auto_truncate, as: 'autoTruncate'
10425
+ property :document_ocr, as: 'documentOcr'
10387
10426
  property :output_dimensionality, as: 'outputDimensionality'
10388
10427
  property :task_type, as: 'taskType'
10389
10428
  property :title, as: 'title'
@@ -10993,6 +11032,8 @@ module Google
10993
11032
  class Representation < Google::Apis::Core::JsonRepresentation
10994
11033
  property :autorater_config, as: 'autoraterConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunEvaluationConfigAutoraterConfig::Representation
10995
11034
 
11035
+ collection :dataset_custom_metrics, as: 'datasetCustomMetrics', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetCustomMetric, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetCustomMetric::Representation
11036
+
10996
11037
  collection :metrics, as: 'metrics', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunMetric, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunMetric::Representation
10997
11038
 
10998
11039
  property :output_config, as: 'outputConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunEvaluationConfigOutputConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunEvaluationConfigOutputConfig::Representation
@@ -14069,6 +14110,8 @@ module Google
14069
14110
  class GoogleCloudAiplatformV1MemoryBankCustomizationConfig
14070
14111
  # @private
14071
14112
  class Representation < Google::Apis::Core::JsonRepresentation
14113
+ property :consolidation_config, as: 'consolidationConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryBankCustomizationConfigConsolidationConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryBankCustomizationConfigConsolidationConfig::Representation
14114
+
14072
14115
  property :enable_third_person_memories, as: 'enableThirdPersonMemories'
14073
14116
  collection :generate_memories_examples, as: 'generateMemoriesExamples', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExample, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExample::Representation
14074
14117
 
@@ -14078,6 +14121,13 @@ module Google
14078
14121
  end
14079
14122
  end
14080
14123
 
14124
+ class GoogleCloudAiplatformV1MemoryBankCustomizationConfigConsolidationConfig
14125
+ # @private
14126
+ class Representation < Google::Apis::Core::JsonRepresentation
14127
+ property :revisions_per_candidate_count, as: 'revisionsPerCandidateCount'
14128
+ end
14129
+ end
14130
+
14081
14131
  class GoogleCloudAiplatformV1MemoryBankCustomizationConfigGenerateMemoriesExample
14082
14132
  # @private
14083
14133
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -19717,6 +19767,7 @@ module Google
19717
19767
 
19718
19768
  property :invocation_id, as: 'invocationId'
19719
19769
  property :name, as: 'name'
19770
+ hash :raw_event, as: 'rawEvent'
19720
19771
  property :timestamp, as: 'timestamp'
19721
19772
  end
19722
19773
  end
@@ -7437,10 +7437,11 @@ module Google
7437
7437
  execute_or_queue_command(command, &block)
7438
7438
  end
7439
7439
 
7440
- # Generates synthetic data based on the provided configuration.
7440
+ # Generates synthetic (artificial) data based on a description
7441
7441
  # @param [String] location
7442
- # Required. The resource name of the Location to run the job. Format: `projects/`
7443
- # project`/locations/`location``
7442
+ # Required. The geographic location where the synthetic data generation request
7443
+ # is processed. This should be in the format `projects/`project`/locations/`
7444
+ # location``. For example, `projects/my-project/locations/us-central1`.
7444
7445
  # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateSyntheticDataRequest] google_cloud_aiplatform_v1_generate_synthetic_data_request_object
7445
7446
  # @param [String] fields
7446
7447
  # Selector specifying which fields to include in a partial response.
@@ -26663,6 +26664,12 @@ module Google
26663
26664
  # Format: `projects/`project`/locations/`location`/reasoningEngines/`
26664
26665
  # reasoning_engine``
26665
26666
  # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Memory] google_cloud_aiplatform_v1_memory_object
26667
+ # @param [String] memory_id
26668
+ # Optional. The user defined ID to use for memory, which will become the final
26669
+ # component of the memory resource name. If not provided, Vertex AI will
26670
+ # generate a value for this ID. This value may be up to 63 characters, and valid
26671
+ # characters are `[a-z0-9-]`. The first character must be a letter, and the last
26672
+ # character must be a letter or number.
26666
26673
  # @param [String] fields
26667
26674
  # Selector specifying which fields to include in a partial response.
26668
26675
  # @param [String] quota_user
@@ -26680,13 +26687,14 @@ module Google
26680
26687
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
26681
26688
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
26682
26689
  # @raise [Google::Apis::AuthorizationError] Authorization is required
26683
- def create_project_location_reasoning_engine_memory(parent, google_cloud_aiplatform_v1_memory_object = nil, fields: nil, quota_user: nil, options: nil, &block)
26690
+ def create_project_location_reasoning_engine_memory(parent, google_cloud_aiplatform_v1_memory_object = nil, memory_id: nil, fields: nil, quota_user: nil, options: nil, &block)
26684
26691
  command = make_simple_command(:post, 'v1/{+parent}/memories', options)
26685
26692
  command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Memory::Representation
26686
26693
  command.request_object = google_cloud_aiplatform_v1_memory_object
26687
26694
  command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
26688
26695
  command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
26689
26696
  command.params['parent'] = parent unless parent.nil?
26697
+ command.query['memoryId'] = memory_id unless memory_id.nil?
26690
26698
  command.query['fields'] = fields unless fields.nil?
26691
26699
  command.query['quotaUser'] = quota_user unless quota_user.nil?
26692
26700
  execute_or_queue_command(command, &block)
@@ -27803,6 +27811,12 @@ module Google
27803
27811
  # Required. The resource name of the location to create the session in. Format: `
27804
27812
  # projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine``
27805
27813
  # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Session] google_cloud_aiplatform_v1_session_object
27814
+ # @param [String] session_id
27815
+ # Optional. The user defined ID to use for session, which will become the final
27816
+ # component of the session resource name. If not provided, Vertex AI will
27817
+ # generate a value for this ID. This value may be up to 63 characters, and valid
27818
+ # characters are `[a-z0-9-]`. The first character must be a letter, and the last
27819
+ # character must be a letter or number.
27806
27820
  # @param [String] fields
27807
27821
  # Selector specifying which fields to include in a partial response.
27808
27822
  # @param [String] quota_user
@@ -27820,13 +27834,14 @@ module Google
27820
27834
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
27821
27835
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
27822
27836
  # @raise [Google::Apis::AuthorizationError] Authorization is required
27823
- def create_project_location_reasoning_engine_session(parent, google_cloud_aiplatform_v1_session_object = nil, fields: nil, quota_user: nil, options: nil, &block)
27837
+ def create_project_location_reasoning_engine_session(parent, google_cloud_aiplatform_v1_session_object = nil, session_id: nil, fields: nil, quota_user: nil, options: nil, &block)
27824
27838
  command = make_simple_command(:post, 'v1/{+parent}/sessions', options)
27825
27839
  command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Session::Representation
27826
27840
  command.request_object = google_cloud_aiplatform_v1_session_object
27827
27841
  command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
27828
27842
  command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
27829
27843
  command.params['parent'] = parent unless parent.nil?
27844
+ command.query['sessionId'] = session_id unless session_id.nil?
27830
27845
  command.query['fields'] = fields unless fields.nil?
27831
27846
  command.query['quotaUser'] = quota_user unless quota_user.nil?
27832
27847
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-aiplatform_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.83.0
4
+ version: 0.84.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.83.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.84.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1
62
62
  rdoc_options: []
63
63
  require_paths: