google-apis-aiplatform_v1 0.47.0 → 0.49.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: 5dc22e7acde50a6331c76a72c557feaf3bdbc7ebcb8b2926778604d27917456f
4
- data.tar.gz: 0c8311c34a7af7b509ce041e3e82e477e9b8f7d7085020e99b8fde6234af1b7c
3
+ metadata.gz: ba00166bcd4ceec3982328698324fa9ba1ef10f0bb56d284ca04701e3930685d
4
+ data.tar.gz: 42ed4cddfdf13b3ee8195e3b4fbb258afafc7c14068ee00503c260fd81c9ef7f
5
5
  SHA512:
6
- metadata.gz: 86238a1150ae1d2748dc731d0809847bbb3c2020ad32e8130288bb58a5cc37e45559913a9a4842bcfdcb94505a77b38cee4116482a5ca7c664718e5b52c508bb
7
- data.tar.gz: 2f5396d3605b174e513af25b9a7c5fd2f1cf7b999f267c003e14e511bd078b09aedc192958c798c84a81d97710d49281262097f20e523e7818e43a85a2141250
6
+ metadata.gz: eeb6e9eacd14199a273540c69af412846ebdd9bd9ecda4dd68ff06943d58fc9228f8ddc2de4f7c1fc0ef09e6a5e8d0559936d9cb9b537dfcb4d6d2e97ce72169
7
+ data.tar.gz: baba6e1b68e3c4b523e16b3c8f84dfec1d50808f6d3ba7666acdfe1cb6302c38e89f29b03a735febad7352e083e1f49c1a799e47f0fffed91011d813937abf78
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-aiplatform_v1
2
2
 
3
+ ### v0.49.0 (2025-04-06)
4
+
5
+ * Regenerated from discovery document revision 20250322
6
+
7
+ ### v0.48.0 (2025-03-30)
8
+
9
+ * Regenerated from discovery document revision 20250319
10
+
3
11
  ### v0.47.0 (2025-03-23)
4
12
 
5
13
  * Regenerated from discovery document revision 20250307
@@ -3599,6 +3599,44 @@ module Google
3599
3599
  end
3600
3600
  end
3601
3601
 
3602
+ # Map of placeholder in metric prompt template to contents of model input.
3603
+ class GoogleCloudAiplatformV1ContentMap
3604
+ include Google::Apis::Core::Hashable
3605
+
3606
+ # Optional. Map of placeholder to contents.
3607
+ # Corresponds to the JSON property `values`
3608
+ # @return [Hash<String,Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ContentMapContents>]
3609
+ attr_accessor :values
3610
+
3611
+ def initialize(**args)
3612
+ update!(**args)
3613
+ end
3614
+
3615
+ # Update properties of this object
3616
+ def update!(**args)
3617
+ @values = args[:values] if args.key?(:values)
3618
+ end
3619
+ end
3620
+
3621
+ # Repeated Content type.
3622
+ class GoogleCloudAiplatformV1ContentMapContents
3623
+ include Google::Apis::Core::Hashable
3624
+
3625
+ # Optional. Repeated contents.
3626
+ # Corresponds to the JSON property `contents`
3627
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content>]
3628
+ attr_accessor :contents
3629
+
3630
+ def initialize(**args)
3631
+ update!(**args)
3632
+ end
3633
+
3634
+ # Update properties of this object
3635
+ def update!(**args)
3636
+ @contents = args[:contents] if args.key?(:contents)
3637
+ end
3638
+ end
3639
+
3602
3640
  # Instance of a general context.
3603
3641
  class GoogleCloudAiplatformV1Context
3604
3642
  include Google::Apis::Core::Hashable
@@ -4862,6 +4900,45 @@ module Google
4862
4900
  end
4863
4901
  end
4864
4902
 
4903
+ # Spec for custom output.
4904
+ class GoogleCloudAiplatformV1CustomOutput
4905
+ include Google::Apis::Core::Hashable
4906
+
4907
+ # Raw output.
4908
+ # Corresponds to the JSON property `rawOutputs`
4909
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RawOutput]
4910
+ attr_accessor :raw_outputs
4911
+
4912
+ def initialize(**args)
4913
+ update!(**args)
4914
+ end
4915
+
4916
+ # Update properties of this object
4917
+ def update!(**args)
4918
+ @raw_outputs = args[:raw_outputs] if args.key?(:raw_outputs)
4919
+ end
4920
+ end
4921
+
4922
+ # Spec for custom output format configuration.
4923
+ class GoogleCloudAiplatformV1CustomOutputFormatConfig
4924
+ include Google::Apis::Core::Hashable
4925
+
4926
+ # Optional. Whether to return raw output.
4927
+ # Corresponds to the JSON property `returnRawOutput`
4928
+ # @return [Boolean]
4929
+ attr_accessor :return_raw_output
4930
+ alias_method :return_raw_output?, :return_raw_output
4931
+
4932
+ def initialize(**args)
4933
+ update!(**args)
4934
+ end
4935
+
4936
+ # Update properties of this object
4937
+ def update!(**args)
4938
+ @return_raw_output = args[:return_raw_output] if args.key?(:return_raw_output)
4939
+ end
4940
+ end
4941
+
4865
4942
  # A piece of data in a Dataset. Could be an image, a video, a document or plain
4866
4943
  # text.
4867
4944
  class GoogleCloudAiplatformV1DataItem
@@ -6546,8 +6623,10 @@ module Google
6546
6623
  attr_accessor :create_time
6547
6624
 
6548
6625
  # Output only. DNS of the dedicated endpoint. Will only be populated if
6549
- # dedicated_endpoint_enabled is true. Format: `https://`endpoint_id`.`region`-`
6550
- # project_number`.prediction.vertexai.goog`.
6626
+ # dedicated_endpoint_enabled is true. Depending on the features enabled, uid
6627
+ # might be a random number or a string. For example, if fast_tryout is enabled,
6628
+ # uid will be fasttryout. Format: `https://`endpoint_id`.`region`-`uid`.
6629
+ # prediction.vertexai.goog`.
6551
6630
  # Corresponds to the JSON property `dedicatedEndpointDns`
6552
6631
  # @return [String]
6553
6632
  attr_accessor :dedicated_endpoint_dns
@@ -7066,6 +7145,11 @@ module Google
7066
7145
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RougeInput]
7067
7146
  attr_accessor :rouge_input
7068
7147
 
7148
+ # Instance and metric spec for RubricBasedInstructionFollowing metric.
7149
+ # Corresponds to the JSON property `rubricBasedInstructionFollowingInput`
7150
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RubricBasedInstructionFollowingInput]
7151
+ attr_accessor :rubric_based_instruction_following_input
7152
+
7069
7153
  # Input for safety metric.
7070
7154
  # Corresponds to the JSON property `safetyInput`
7071
7155
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SafetyInput]
@@ -7160,6 +7244,7 @@ module Google
7160
7244
  @question_answering_quality_input = args[:question_answering_quality_input] if args.key?(:question_answering_quality_input)
7161
7245
  @question_answering_relevance_input = args[:question_answering_relevance_input] if args.key?(:question_answering_relevance_input)
7162
7246
  @rouge_input = args[:rouge_input] if args.key?(:rouge_input)
7247
+ @rubric_based_instruction_following_input = args[:rubric_based_instruction_following_input] if args.key?(:rubric_based_instruction_following_input)
7163
7248
  @safety_input = args[:safety_input] if args.key?(:safety_input)
7164
7249
  @summarization_helpfulness_input = args[:summarization_helpfulness_input] if args.key?(:summarization_helpfulness_input)
7165
7250
  @summarization_quality_input = args[:summarization_quality_input] if args.key?(:summarization_quality_input)
@@ -7268,6 +7353,11 @@ module Google
7268
7353
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RougeResults]
7269
7354
  attr_accessor :rouge_results
7270
7355
 
7356
+ # Result for RubricBasedInstructionFollowing metric.
7357
+ # Corresponds to the JSON property `rubricBasedInstructionFollowingResult`
7358
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RubricBasedInstructionFollowingResult]
7359
+ attr_accessor :rubric_based_instruction_following_result
7360
+
7271
7361
  # Spec for safety result.
7272
7362
  # Corresponds to the JSON property `safetyResult`
7273
7363
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SafetyResult]
@@ -7361,6 +7451,7 @@ module Google
7361
7451
  @question_answering_quality_result = args[:question_answering_quality_result] if args.key?(:question_answering_quality_result)
7362
7452
  @question_answering_relevance_result = args[:question_answering_relevance_result] if args.key?(:question_answering_relevance_result)
7363
7453
  @rouge_results = args[:rouge_results] if args.key?(:rouge_results)
7454
+ @rubric_based_instruction_following_result = args[:rubric_based_instruction_following_result] if args.key?(:rubric_based_instruction_following_result)
7364
7455
  @safety_result = args[:safety_result] if args.key?(:safety_result)
7365
7456
  @summarization_helpfulness_result = args[:summarization_helpfulness_result] if args.key?(:summarization_helpfulness_result)
7366
7457
  @summarization_quality_result = args[:summarization_quality_result] if args.key?(:summarization_quality_result)
@@ -9324,6 +9415,22 @@ module Google
9324
9415
  # @return [String]
9325
9416
  attr_accessor :name
9326
9417
 
9418
+ # Output only. A Service Account unique to this FeatureGroup. The role bigquery.
9419
+ # dataViewer should be granted to this service account to allow Vertex AI
9420
+ # Feature Store to access source data while running jobs under this FeatureGroup.
9421
+ # Corresponds to the JSON property `serviceAccountEmail`
9422
+ # @return [String]
9423
+ attr_accessor :service_account_email
9424
+
9425
+ # Optional. Service agent type used during jobs under a FeatureGroup. By default,
9426
+ # the Vertex AI Service Agent is used. When using an IAM Policy to isolate this
9427
+ # FeatureGroup within a project, a separate service account should be
9428
+ # provisioned by setting this field to `SERVICE_AGENT_TYPE_FEATURE_GROUP`. This
9429
+ # will generate a separate service account to access the BigQuery source table.
9430
+ # Corresponds to the JSON property `serviceAgentType`
9431
+ # @return [String]
9432
+ attr_accessor :service_agent_type
9433
+
9327
9434
  # Output only. Timestamp when this FeatureGroup was last updated.
9328
9435
  # Corresponds to the JSON property `updateTime`
9329
9436
  # @return [String]
@@ -9341,6 +9448,8 @@ module Google
9341
9448
  @etag = args[:etag] if args.key?(:etag)
9342
9449
  @labels = args[:labels] if args.key?(:labels)
9343
9450
  @name = args[:name] if args.key?(:name)
9451
+ @service_account_email = args[:service_account_email] if args.key?(:service_account_email)
9452
+ @service_agent_type = args[:service_agent_type] if args.key?(:service_agent_type)
9344
9453
  @update_time = args[:update_time] if args.key?(:update_time)
9345
9454
  end
9346
9455
  end
@@ -11893,6 +12002,12 @@ module Google
11893
12002
  # @return [Fixnum]
11894
12003
  attr_accessor :total_token_count
11895
12004
 
12005
+ # Output only. Traffic type. This shows whether a request consumes Pay-As-You-Go
12006
+ # or Provisioned Throughput quota.
12007
+ # Corresponds to the JSON property `trafficType`
12008
+ # @return [String]
12009
+ attr_accessor :traffic_type
12010
+
11896
12011
  def initialize(**args)
11897
12012
  update!(**args)
11898
12013
  end
@@ -11909,6 +12024,7 @@ module Google
11909
12024
  @tool_use_prompt_token_count = args[:tool_use_prompt_token_count] if args.key?(:tool_use_prompt_token_count)
11910
12025
  @tool_use_prompt_tokens_details = args[:tool_use_prompt_tokens_details] if args.key?(:tool_use_prompt_tokens_details)
11911
12026
  @total_token_count = args[:total_token_count] if args.key?(:total_token_count)
12027
+ @traffic_type = args[:traffic_type] if args.key?(:traffic_type)
11912
12028
  end
11913
12029
  end
11914
12030
 
@@ -12454,6 +12570,11 @@ module Google
12454
12570
  class GoogleCloudAiplatformV1GroundingChunkWeb
12455
12571
  include Google::Apis::Core::Hashable
12456
12572
 
12573
+ # Domain of the (original) URI.
12574
+ # Corresponds to the JSON property `domain`
12575
+ # @return [String]
12576
+ attr_accessor :domain
12577
+
12457
12578
  # Title of the chunk.
12458
12579
  # Corresponds to the JSON property `title`
12459
12580
  # @return [String]
@@ -12470,6 +12591,7 @@ module Google
12470
12591
 
12471
12592
  # Update properties of this object
12472
12593
  def update!(**args)
12594
+ @domain = args[:domain] if args.key?(:domain)
12473
12595
  @title = args[:title] if args.key?(:title)
12474
12596
  @uri = args[:uri] if args.key?(:uri)
12475
12597
  end
@@ -20002,6 +20124,11 @@ module Google
20002
20124
  class GoogleCloudAiplatformV1PairwiseMetricInstance
20003
20125
  include Google::Apis::Core::Hashable
20004
20126
 
20127
+ # Map of placeholder in metric prompt template to contents of model input.
20128
+ # Corresponds to the JSON property `contentMapInstance`
20129
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ContentMap]
20130
+ attr_accessor :content_map_instance
20131
+
20005
20132
  # Instance specified as a json string. String key-value pairs are expected in
20006
20133
  # the json_instance to render PairwiseMetricSpec.instance_prompt_template.
20007
20134
  # Corresponds to the JSON property `jsonInstance`
@@ -20014,6 +20141,7 @@ module Google
20014
20141
 
20015
20142
  # Update properties of this object
20016
20143
  def update!(**args)
20144
+ @content_map_instance = args[:content_map_instance] if args.key?(:content_map_instance)
20017
20145
  @json_instance = args[:json_instance] if args.key?(:json_instance)
20018
20146
  end
20019
20147
  end
@@ -20022,6 +20150,11 @@ module Google
20022
20150
  class GoogleCloudAiplatformV1PairwiseMetricResult
20023
20151
  include Google::Apis::Core::Hashable
20024
20152
 
20153
+ # Spec for custom output.
20154
+ # Corresponds to the JSON property `customOutput`
20155
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CustomOutput]
20156
+ attr_accessor :custom_output
20157
+
20025
20158
  # Output only. Explanation for pairwise metric score.
20026
20159
  # Corresponds to the JSON property `explanation`
20027
20160
  # @return [String]
@@ -20038,6 +20171,7 @@ module Google
20038
20171
 
20039
20172
  # Update properties of this object
20040
20173
  def update!(**args)
20174
+ @custom_output = args[:custom_output] if args.key?(:custom_output)
20041
20175
  @explanation = args[:explanation] if args.key?(:explanation)
20042
20176
  @pairwise_choice = args[:pairwise_choice] if args.key?(:pairwise_choice)
20043
20177
  end
@@ -20057,6 +20191,11 @@ module Google
20057
20191
  # @return [String]
20058
20192
  attr_accessor :candidate_response_field_name
20059
20193
 
20194
+ # Spec for custom output format configuration.
20195
+ # Corresponds to the JSON property `customOutputFormatConfig`
20196
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CustomOutputFormatConfig]
20197
+ attr_accessor :custom_output_format_config
20198
+
20060
20199
  # Required. Metric prompt template for pairwise metric.
20061
20200
  # Corresponds to the JSON property `metricPromptTemplate`
20062
20201
  # @return [String]
@@ -20075,6 +20214,7 @@ module Google
20075
20214
  def update!(**args)
20076
20215
  @baseline_response_field_name = args[:baseline_response_field_name] if args.key?(:baseline_response_field_name)
20077
20216
  @candidate_response_field_name = args[:candidate_response_field_name] if args.key?(:candidate_response_field_name)
20217
+ @custom_output_format_config = args[:custom_output_format_config] if args.key?(:custom_output_format_config)
20078
20218
  @metric_prompt_template = args[:metric_prompt_template] if args.key?(:metric_prompt_template)
20079
20219
  @system_instruction = args[:system_instruction] if args.key?(:system_instruction)
20080
20220
  end
@@ -21186,6 +21326,11 @@ module Google
21186
21326
  class GoogleCloudAiplatformV1PointwiseMetricInstance
21187
21327
  include Google::Apis::Core::Hashable
21188
21328
 
21329
+ # Map of placeholder in metric prompt template to contents of model input.
21330
+ # Corresponds to the JSON property `contentMapInstance`
21331
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ContentMap]
21332
+ attr_accessor :content_map_instance
21333
+
21189
21334
  # Instance specified as a json string. String key-value pairs are expected in
21190
21335
  # the json_instance to render PointwiseMetricSpec.instance_prompt_template.
21191
21336
  # Corresponds to the JSON property `jsonInstance`
@@ -21198,6 +21343,7 @@ module Google
21198
21343
 
21199
21344
  # Update properties of this object
21200
21345
  def update!(**args)
21346
+ @content_map_instance = args[:content_map_instance] if args.key?(:content_map_instance)
21201
21347
  @json_instance = args[:json_instance] if args.key?(:json_instance)
21202
21348
  end
21203
21349
  end
@@ -21206,6 +21352,11 @@ module Google
21206
21352
  class GoogleCloudAiplatformV1PointwiseMetricResult
21207
21353
  include Google::Apis::Core::Hashable
21208
21354
 
21355
+ # Spec for custom output.
21356
+ # Corresponds to the JSON property `customOutput`
21357
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CustomOutput]
21358
+ attr_accessor :custom_output
21359
+
21209
21360
  # Output only. Explanation for pointwise metric score.
21210
21361
  # Corresponds to the JSON property `explanation`
21211
21362
  # @return [String]
@@ -21222,6 +21373,7 @@ module Google
21222
21373
 
21223
21374
  # Update properties of this object
21224
21375
  def update!(**args)
21376
+ @custom_output = args[:custom_output] if args.key?(:custom_output)
21225
21377
  @explanation = args[:explanation] if args.key?(:explanation)
21226
21378
  @score = args[:score] if args.key?(:score)
21227
21379
  end
@@ -21231,6 +21383,11 @@ module Google
21231
21383
  class GoogleCloudAiplatformV1PointwiseMetricSpec
21232
21384
  include Google::Apis::Core::Hashable
21233
21385
 
21386
+ # Spec for custom output format configuration.
21387
+ # Corresponds to the JSON property `customOutputFormatConfig`
21388
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CustomOutputFormatConfig]
21389
+ attr_accessor :custom_output_format_config
21390
+
21234
21391
  # Required. Metric prompt template for pointwise metric.
21235
21392
  # Corresponds to the JSON property `metricPromptTemplate`
21236
21393
  # @return [String]
@@ -21247,6 +21404,7 @@ module Google
21247
21404
 
21248
21405
  # Update properties of this object
21249
21406
  def update!(**args)
21407
+ @custom_output_format_config = args[:custom_output_format_config] if args.key?(:custom_output_format_config)
21250
21408
  @metric_prompt_template = args[:metric_prompt_template] if args.key?(:metric_prompt_template)
21251
21409
  @system_instruction = args[:system_instruction] if args.key?(:system_instruction)
21252
21410
  end
@@ -23369,6 +23527,11 @@ module Google
23369
23527
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfig]
23370
23528
  attr_accessor :vector_db_config
23371
23529
 
23530
+ # Config for the Vertex AI Search.
23531
+ # Corresponds to the JSON property `vertexAiSearchConfig`
23532
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VertexAiSearchConfig]
23533
+ attr_accessor :vertex_ai_search_config
23534
+
23372
23535
  def initialize(**args)
23373
23536
  update!(**args)
23374
23537
  end
@@ -23382,6 +23545,7 @@ module Google
23382
23545
  @name = args[:name] if args.key?(:name)
23383
23546
  @update_time = args[:update_time] if args.key?(:update_time)
23384
23547
  @vector_db_config = args[:vector_db_config] if args.key?(:vector_db_config)
23548
+ @vertex_ai_search_config = args[:vertex_ai_search_config] if args.key?(:vertex_ai_search_config)
23385
23549
  end
23386
23550
  end
23387
23551
 
@@ -23675,6 +23839,11 @@ module Google
23675
23839
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagRetrievalConfigFilter]
23676
23840
  attr_accessor :filter
23677
23841
 
23842
+ # Config for ranking and reranking.
23843
+ # Corresponds to the JSON property `ranking`
23844
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagRetrievalConfigRanking]
23845
+ attr_accessor :ranking
23846
+
23678
23847
  # Optional. The number of contexts to retrieve.
23679
23848
  # Corresponds to the JSON property `topK`
23680
23849
  # @return [Fixnum]
@@ -23687,6 +23856,7 @@ module Google
23687
23856
  # Update properties of this object
23688
23857
  def update!(**args)
23689
23858
  @filter = args[:filter] if args.key?(:filter)
23859
+ @ranking = args[:ranking] if args.key?(:ranking)
23690
23860
  @top_k = args[:top_k] if args.key?(:top_k)
23691
23861
  end
23692
23862
  end
@@ -23724,6 +23894,70 @@ module Google
23724
23894
  end
23725
23895
  end
23726
23896
 
23897
+ # Config for ranking and reranking.
23898
+ class GoogleCloudAiplatformV1RagRetrievalConfigRanking
23899
+ include Google::Apis::Core::Hashable
23900
+
23901
+ # Config for LlmRanker.
23902
+ # Corresponds to the JSON property `llmRanker`
23903
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker]
23904
+ attr_accessor :llm_ranker
23905
+
23906
+ # Config for Rank Service.
23907
+ # Corresponds to the JSON property `rankService`
23908
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagRetrievalConfigRankingRankService]
23909
+ attr_accessor :rank_service
23910
+
23911
+ def initialize(**args)
23912
+ update!(**args)
23913
+ end
23914
+
23915
+ # Update properties of this object
23916
+ def update!(**args)
23917
+ @llm_ranker = args[:llm_ranker] if args.key?(:llm_ranker)
23918
+ @rank_service = args[:rank_service] if args.key?(:rank_service)
23919
+ end
23920
+ end
23921
+
23922
+ # Config for LlmRanker.
23923
+ class GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker
23924
+ include Google::Apis::Core::Hashable
23925
+
23926
+ # Optional. The model name used for ranking. Format: `gemini-1.5-pro`
23927
+ # Corresponds to the JSON property `modelName`
23928
+ # @return [String]
23929
+ attr_accessor :model_name
23930
+
23931
+ def initialize(**args)
23932
+ update!(**args)
23933
+ end
23934
+
23935
+ # Update properties of this object
23936
+ def update!(**args)
23937
+ @model_name = args[:model_name] if args.key?(:model_name)
23938
+ end
23939
+ end
23940
+
23941
+ # Config for Rank Service.
23942
+ class GoogleCloudAiplatformV1RagRetrievalConfigRankingRankService
23943
+ include Google::Apis::Core::Hashable
23944
+
23945
+ # Optional. The model name of the rank service. Format: `semantic-ranker-512@
23946
+ # latest`
23947
+ # Corresponds to the JSON property `modelName`
23948
+ # @return [String]
23949
+ attr_accessor :model_name
23950
+
23951
+ def initialize(**args)
23952
+ update!(**args)
23953
+ end
23954
+
23955
+ # Update properties of this object
23956
+ def update!(**args)
23957
+ @model_name = args[:model_name] if args.key?(:model_name)
23958
+ end
23959
+ end
23960
+
23727
23961
  # Config for the Vector DB to use for RAG.
23728
23962
  class GoogleCloudAiplatformV1RagVectorDbConfig
23729
23963
  include Google::Apis::Core::Hashable
@@ -23827,6 +24061,25 @@ module Google
23827
24061
  end
23828
24062
  end
23829
24063
 
24064
+ # Raw output.
24065
+ class GoogleCloudAiplatformV1RawOutput
24066
+ include Google::Apis::Core::Hashable
24067
+
24068
+ # Output only. Raw output string.
24069
+ # Corresponds to the JSON property `rawOutput`
24070
+ # @return [Array<String>]
24071
+ attr_accessor :raw_output
24072
+
24073
+ def initialize(**args)
24074
+ update!(**args)
24075
+ end
24076
+
24077
+ # Update properties of this object
24078
+ def update!(**args)
24079
+ @raw_output = args[:raw_output] if args.key?(:raw_output)
24080
+ end
24081
+ end
24082
+
23830
24083
  # Request message for PredictionService.RawPredict.
23831
24084
  class GoogleCloudAiplatformV1RawPredictRequest
23832
24085
  include Google::Apis::Core::Hashable
@@ -25133,6 +25386,121 @@ module Google
25133
25386
  end
25134
25387
  end
25135
25388
 
25389
+ # Instance and metric spec for RubricBasedInstructionFollowing metric.
25390
+ class GoogleCloudAiplatformV1RubricBasedInstructionFollowingInput
25391
+ include Google::Apis::Core::Hashable
25392
+
25393
+ # Instance for RubricBasedInstructionFollowing metric - one instance corresponds
25394
+ # to one row in an evaluation dataset.
25395
+ # Corresponds to the JSON property `instance`
25396
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RubricBasedInstructionFollowingInstance]
25397
+ attr_accessor :instance
25398
+
25399
+ # Spec for RubricBasedInstructionFollowing metric - returns rubrics and verdicts
25400
+ # corresponding to rubrics along with overall score.
25401
+ # Corresponds to the JSON property `metricSpec`
25402
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RubricBasedInstructionFollowingSpec]
25403
+ attr_accessor :metric_spec
25404
+
25405
+ def initialize(**args)
25406
+ update!(**args)
25407
+ end
25408
+
25409
+ # Update properties of this object
25410
+ def update!(**args)
25411
+ @instance = args[:instance] if args.key?(:instance)
25412
+ @metric_spec = args[:metric_spec] if args.key?(:metric_spec)
25413
+ end
25414
+ end
25415
+
25416
+ # Instance for RubricBasedInstructionFollowing metric - one instance corresponds
25417
+ # to one row in an evaluation dataset.
25418
+ class GoogleCloudAiplatformV1RubricBasedInstructionFollowingInstance
25419
+ include Google::Apis::Core::Hashable
25420
+
25421
+ # Required. Instance specified as a json string. String key-value pairs are
25422
+ # expected in the json_instance to render RubricBasedInstructionFollowing prompt
25423
+ # templates.
25424
+ # Corresponds to the JSON property `jsonInstance`
25425
+ # @return [String]
25426
+ attr_accessor :json_instance
25427
+
25428
+ def initialize(**args)
25429
+ update!(**args)
25430
+ end
25431
+
25432
+ # Update properties of this object
25433
+ def update!(**args)
25434
+ @json_instance = args[:json_instance] if args.key?(:json_instance)
25435
+ end
25436
+ end
25437
+
25438
+ # Result for RubricBasedInstructionFollowing metric.
25439
+ class GoogleCloudAiplatformV1RubricBasedInstructionFollowingResult
25440
+ include Google::Apis::Core::Hashable
25441
+
25442
+ # Output only. List of per rubric critique results.
25443
+ # Corresponds to the JSON property `rubricCritiqueResults`
25444
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RubricCritiqueResult>]
25445
+ attr_accessor :rubric_critique_results
25446
+
25447
+ # Output only. Overall score for the instruction following.
25448
+ # Corresponds to the JSON property `score`
25449
+ # @return [Float]
25450
+ attr_accessor :score
25451
+
25452
+ def initialize(**args)
25453
+ update!(**args)
25454
+ end
25455
+
25456
+ # Update properties of this object
25457
+ def update!(**args)
25458
+ @rubric_critique_results = args[:rubric_critique_results] if args.key?(:rubric_critique_results)
25459
+ @score = args[:score] if args.key?(:score)
25460
+ end
25461
+ end
25462
+
25463
+ # Spec for RubricBasedInstructionFollowing metric - returns rubrics and verdicts
25464
+ # corresponding to rubrics along with overall score.
25465
+ class GoogleCloudAiplatformV1RubricBasedInstructionFollowingSpec
25466
+ include Google::Apis::Core::Hashable
25467
+
25468
+ def initialize(**args)
25469
+ update!(**args)
25470
+ end
25471
+
25472
+ # Update properties of this object
25473
+ def update!(**args)
25474
+ end
25475
+ end
25476
+
25477
+ # Rubric critique result.
25478
+ class GoogleCloudAiplatformV1RubricCritiqueResult
25479
+ include Google::Apis::Core::Hashable
25480
+
25481
+ # Output only. Rubric to be evaluated.
25482
+ # Corresponds to the JSON property `rubric`
25483
+ # @return [String]
25484
+ attr_accessor :rubric
25485
+
25486
+ # Output only. Verdict for the rubric - true if the rubric is met, false
25487
+ # otherwise.
25488
+ # Corresponds to the JSON property `verdict`
25489
+ # @return [Boolean]
25490
+ attr_accessor :verdict
25491
+ alias_method :verdict?, :verdict
25492
+
25493
+ def initialize(**args)
25494
+ update!(**args)
25495
+ end
25496
+
25497
+ # Update properties of this object
25498
+ def update!(**args)
25499
+ @rubric = args[:rubric] if args.key?(:rubric)
25500
+ @verdict = args[:verdict] if args.key?(:verdict)
25501
+ end
25502
+ end
25503
+
25136
25504
  # Input for safety metric.
25137
25505
  class GoogleCloudAiplatformV1SafetyInput
25138
25506
  include Google::Apis::Core::Hashable
@@ -32871,8 +33239,7 @@ module Google
32871
33239
  include Google::Apis::Core::Hashable
32872
33240
 
32873
33241
  # Required. The name of the secret in Cloud Secret Manager. Format: `secret_name`
32874
- # if the secret is in the same project. projects/`project`/secrets/`secret_name`
32875
- # if the secret is in a different project.
33242
+ # .
32876
33243
  # Corresponds to the JSON property `secret`
32877
33244
  # @return [String]
32878
33245
  attr_accessor :secret
@@ -38420,6 +38787,29 @@ module Google
38420
38787
  end
38421
38788
  end
38422
38789
 
38790
+ # Config for the Vertex AI Search.
38791
+ class GoogleCloudAiplatformV1VertexAiSearchConfig
38792
+ include Google::Apis::Core::Hashable
38793
+
38794
+ # Vertex AI Search Serving Config resource full name. For example, `projects/`
38795
+ # project`/locations/`location`/collections/`collection`/engines/`engine`/
38796
+ # servingConfigs/`serving_config`` or `projects/`project`/locations/`location`/
38797
+ # collections/`collection`/dataStores/`data_store`/servingConfigs/`
38798
+ # serving_config``.
38799
+ # Corresponds to the JSON property `servingConfig`
38800
+ # @return [String]
38801
+ attr_accessor :serving_config
38802
+
38803
+ def initialize(**args)
38804
+ update!(**args)
38805
+ end
38806
+
38807
+ # Update properties of this object
38808
+ def update!(**args)
38809
+ @serving_config = args[:serving_config] if args.key?(:serving_config)
38810
+ end
38811
+ end
38812
+
38423
38813
  # Retrieve from Vertex RAG Store for grounding.
38424
38814
  class GoogleCloudAiplatformV1VertexRagStore
38425
38815
  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.47.0"
19
+ GEM_VERSION = "0.49.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250307"
25
+ REVISION = "20250322"
26
26
  end
27
27
  end
28
28
  end
@@ -694,6 +694,18 @@ module Google
694
694
  include Google::Apis::Core::JsonObjectSupport
695
695
  end
696
696
 
697
+ class GoogleCloudAiplatformV1ContentMap
698
+ class Representation < Google::Apis::Core::JsonRepresentation; end
699
+
700
+ include Google::Apis::Core::JsonObjectSupport
701
+ end
702
+
703
+ class GoogleCloudAiplatformV1ContentMapContents
704
+ class Representation < Google::Apis::Core::JsonRepresentation; end
705
+
706
+ include Google::Apis::Core::JsonObjectSupport
707
+ end
708
+
697
709
  class GoogleCloudAiplatformV1Context
698
710
  class Representation < Google::Apis::Core::JsonRepresentation; end
699
711
 
@@ -928,6 +940,18 @@ module Google
928
940
  include Google::Apis::Core::JsonObjectSupport
929
941
  end
930
942
 
943
+ class GoogleCloudAiplatformV1CustomOutput
944
+ class Representation < Google::Apis::Core::JsonRepresentation; end
945
+
946
+ include Google::Apis::Core::JsonObjectSupport
947
+ end
948
+
949
+ class GoogleCloudAiplatformV1CustomOutputFormatConfig
950
+ class Representation < Google::Apis::Core::JsonRepresentation; end
951
+
952
+ include Google::Apis::Core::JsonObjectSupport
953
+ end
954
+
931
955
  class GoogleCloudAiplatformV1DataItem
932
956
  class Representation < Google::Apis::Core::JsonRepresentation; end
933
957
 
@@ -3850,6 +3874,24 @@ module Google
3850
3874
  include Google::Apis::Core::JsonObjectSupport
3851
3875
  end
3852
3876
 
3877
+ class GoogleCloudAiplatformV1RagRetrievalConfigRanking
3878
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3879
+
3880
+ include Google::Apis::Core::JsonObjectSupport
3881
+ end
3882
+
3883
+ class GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker
3884
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3885
+
3886
+ include Google::Apis::Core::JsonObjectSupport
3887
+ end
3888
+
3889
+ class GoogleCloudAiplatformV1RagRetrievalConfigRankingRankService
3890
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3891
+
3892
+ include Google::Apis::Core::JsonObjectSupport
3893
+ end
3894
+
3853
3895
  class GoogleCloudAiplatformV1RagVectorDbConfig
3854
3896
  class Representation < Google::Apis::Core::JsonRepresentation; end
3855
3897
 
@@ -3874,6 +3916,12 @@ module Google
3874
3916
  include Google::Apis::Core::JsonObjectSupport
3875
3917
  end
3876
3918
 
3919
+ class GoogleCloudAiplatformV1RawOutput
3920
+ class Representation < Google::Apis::Core::JsonRepresentation; end
3921
+
3922
+ include Google::Apis::Core::JsonObjectSupport
3923
+ end
3924
+
3877
3925
  class GoogleCloudAiplatformV1RawPredictRequest
3878
3926
  class Representation < Google::Apis::Core::JsonRepresentation; end
3879
3927
 
@@ -4174,6 +4222,36 @@ module Google
4174
4222
  include Google::Apis::Core::JsonObjectSupport
4175
4223
  end
4176
4224
 
4225
+ class GoogleCloudAiplatformV1RubricBasedInstructionFollowingInput
4226
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4227
+
4228
+ include Google::Apis::Core::JsonObjectSupport
4229
+ end
4230
+
4231
+ class GoogleCloudAiplatformV1RubricBasedInstructionFollowingInstance
4232
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4233
+
4234
+ include Google::Apis::Core::JsonObjectSupport
4235
+ end
4236
+
4237
+ class GoogleCloudAiplatformV1RubricBasedInstructionFollowingResult
4238
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4239
+
4240
+ include Google::Apis::Core::JsonObjectSupport
4241
+ end
4242
+
4243
+ class GoogleCloudAiplatformV1RubricBasedInstructionFollowingSpec
4244
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4245
+
4246
+ include Google::Apis::Core::JsonObjectSupport
4247
+ end
4248
+
4249
+ class GoogleCloudAiplatformV1RubricCritiqueResult
4250
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4251
+
4252
+ include Google::Apis::Core::JsonObjectSupport
4253
+ end
4254
+
4177
4255
  class GoogleCloudAiplatformV1SafetyInput
4178
4256
  class Representation < Google::Apis::Core::JsonRepresentation; end
4179
4257
 
@@ -6502,6 +6580,12 @@ module Google
6502
6580
  include Google::Apis::Core::JsonObjectSupport
6503
6581
  end
6504
6582
 
6583
+ class GoogleCloudAiplatformV1VertexAiSearchConfig
6584
+ class Representation < Google::Apis::Core::JsonRepresentation; end
6585
+
6586
+ include Google::Apis::Core::JsonObjectSupport
6587
+ end
6588
+
6505
6589
  class GoogleCloudAiplatformV1VertexRagStore
6506
6590
  class Representation < Google::Apis::Core::JsonRepresentation; end
6507
6591
 
@@ -7733,6 +7817,22 @@ module Google
7733
7817
  end
7734
7818
  end
7735
7819
 
7820
+ class GoogleCloudAiplatformV1ContentMap
7821
+ # @private
7822
+ class Representation < Google::Apis::Core::JsonRepresentation
7823
+ hash :values, as: 'values', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ContentMapContents, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ContentMapContents::Representation
7824
+
7825
+ end
7826
+ end
7827
+
7828
+ class GoogleCloudAiplatformV1ContentMapContents
7829
+ # @private
7830
+ class Representation < Google::Apis::Core::JsonRepresentation
7831
+ collection :contents, as: 'contents', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content::Representation
7832
+
7833
+ end
7834
+ end
7835
+
7736
7836
  class GoogleCloudAiplatformV1Context
7737
7837
  # @private
7738
7838
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8116,6 +8216,21 @@ module Google
8116
8216
  end
8117
8217
  end
8118
8218
 
8219
+ class GoogleCloudAiplatformV1CustomOutput
8220
+ # @private
8221
+ class Representation < Google::Apis::Core::JsonRepresentation
8222
+ property :raw_outputs, as: 'rawOutputs', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RawOutput, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RawOutput::Representation
8223
+
8224
+ end
8225
+ end
8226
+
8227
+ class GoogleCloudAiplatformV1CustomOutputFormatConfig
8228
+ # @private
8229
+ class Representation < Google::Apis::Core::JsonRepresentation
8230
+ property :return_raw_output, as: 'returnRawOutput'
8231
+ end
8232
+ end
8233
+
8119
8234
  class GoogleCloudAiplatformV1DataItem
8120
8235
  # @private
8121
8236
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -8690,6 +8805,8 @@ module Google
8690
8805
 
8691
8806
  property :rouge_input, as: 'rougeInput', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RougeInput, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RougeInput::Representation
8692
8807
 
8808
+ property :rubric_based_instruction_following_input, as: 'rubricBasedInstructionFollowingInput', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RubricBasedInstructionFollowingInput, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RubricBasedInstructionFollowingInput::Representation
8809
+
8693
8810
  property :safety_input, as: 'safetyInput', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SafetyInput, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SafetyInput::Representation
8694
8811
 
8695
8812
  property :summarization_helpfulness_input, as: 'summarizationHelpfulnessInput', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SummarizationHelpfulnessInput, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SummarizationHelpfulnessInput::Representation
@@ -8758,6 +8875,8 @@ module Google
8758
8875
 
8759
8876
  property :rouge_results, as: 'rougeResults', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RougeResults, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RougeResults::Representation
8760
8877
 
8878
+ property :rubric_based_instruction_following_result, as: 'rubricBasedInstructionFollowingResult', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RubricBasedInstructionFollowingResult, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RubricBasedInstructionFollowingResult::Representation
8879
+
8761
8880
  property :safety_result, as: 'safetyResult', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SafetyResult, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SafetyResult::Representation
8762
8881
 
8763
8882
  property :summarization_helpfulness_result, as: 'summarizationHelpfulnessResult', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SummarizationHelpfulnessResult, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SummarizationHelpfulnessResult::Representation
@@ -9302,6 +9421,8 @@ module Google
9302
9421
  property :etag, as: 'etag'
9303
9422
  hash :labels, as: 'labels'
9304
9423
  property :name, as: 'name'
9424
+ property :service_account_email, as: 'serviceAccountEmail'
9425
+ property :service_agent_type, as: 'serviceAgentType'
9305
9426
  property :update_time, as: 'updateTime'
9306
9427
  end
9307
9428
  end
@@ -10028,6 +10149,7 @@ module Google
10028
10149
  collection :tool_use_prompt_tokens_details, as: 'toolUsePromptTokensDetails', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModalityTokenCount, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModalityTokenCount::Representation
10029
10150
 
10030
10151
  property :total_token_count, as: 'totalTokenCount'
10152
+ property :traffic_type, as: 'trafficType'
10031
10153
  end
10032
10154
  end
10033
10155
 
@@ -10199,6 +10321,7 @@ module Google
10199
10321
  class GoogleCloudAiplatformV1GroundingChunkWeb
10200
10322
  # @private
10201
10323
  class Representation < Google::Apis::Core::JsonRepresentation
10324
+ property :domain, as: 'domain'
10202
10325
  property :title, as: 'title'
10203
10326
  property :uri, as: 'uri'
10204
10327
  end
@@ -12307,6 +12430,8 @@ module Google
12307
12430
  class GoogleCloudAiplatformV1PairwiseMetricInstance
12308
12431
  # @private
12309
12432
  class Representation < Google::Apis::Core::JsonRepresentation
12433
+ property :content_map_instance, as: 'contentMapInstance', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ContentMap, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ContentMap::Representation
12434
+
12310
12435
  property :json_instance, as: 'jsonInstance'
12311
12436
  end
12312
12437
  end
@@ -12314,6 +12439,8 @@ module Google
12314
12439
  class GoogleCloudAiplatformV1PairwiseMetricResult
12315
12440
  # @private
12316
12441
  class Representation < Google::Apis::Core::JsonRepresentation
12442
+ property :custom_output, as: 'customOutput', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CustomOutput, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CustomOutput::Representation
12443
+
12317
12444
  property :explanation, as: 'explanation'
12318
12445
  property :pairwise_choice, as: 'pairwiseChoice'
12319
12446
  end
@@ -12324,6 +12451,8 @@ module Google
12324
12451
  class Representation < Google::Apis::Core::JsonRepresentation
12325
12452
  property :baseline_response_field_name, as: 'baselineResponseFieldName'
12326
12453
  property :candidate_response_field_name, as: 'candidateResponseFieldName'
12454
+ property :custom_output_format_config, as: 'customOutputFormatConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CustomOutputFormatConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CustomOutputFormatConfig::Representation
12455
+
12327
12456
  property :metric_prompt_template, as: 'metricPromptTemplate'
12328
12457
  property :system_instruction, as: 'systemInstruction'
12329
12458
  end
@@ -12627,6 +12756,8 @@ module Google
12627
12756
  class GoogleCloudAiplatformV1PointwiseMetricInstance
12628
12757
  # @private
12629
12758
  class Representation < Google::Apis::Core::JsonRepresentation
12759
+ property :content_map_instance, as: 'contentMapInstance', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ContentMap, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ContentMap::Representation
12760
+
12630
12761
  property :json_instance, as: 'jsonInstance'
12631
12762
  end
12632
12763
  end
@@ -12634,6 +12765,8 @@ module Google
12634
12765
  class GoogleCloudAiplatformV1PointwiseMetricResult
12635
12766
  # @private
12636
12767
  class Representation < Google::Apis::Core::JsonRepresentation
12768
+ property :custom_output, as: 'customOutput', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CustomOutput, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CustomOutput::Representation
12769
+
12637
12770
  property :explanation, as: 'explanation'
12638
12771
  property :score, as: 'score'
12639
12772
  end
@@ -12642,6 +12775,8 @@ module Google
12642
12775
  class GoogleCloudAiplatformV1PointwiseMetricSpec
12643
12776
  # @private
12644
12777
  class Representation < Google::Apis::Core::JsonRepresentation
12778
+ property :custom_output_format_config, as: 'customOutputFormatConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CustomOutputFormatConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CustomOutputFormatConfig::Representation
12779
+
12645
12780
  property :metric_prompt_template, as: 'metricPromptTemplate'
12646
12781
  property :system_instruction, as: 'systemInstruction'
12647
12782
  end
@@ -13263,6 +13398,8 @@ module Google
13263
13398
  property :update_time, as: 'updateTime'
13264
13399
  property :vector_db_config, as: 'vectorDbConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfig::Representation
13265
13400
 
13401
+ property :vertex_ai_search_config, as: 'vertexAiSearchConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VertexAiSearchConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VertexAiSearchConfig::Representation
13402
+
13266
13403
  end
13267
13404
  end
13268
13405
 
@@ -13362,6 +13499,8 @@ module Google
13362
13499
  class Representation < Google::Apis::Core::JsonRepresentation
13363
13500
  property :filter, as: 'filter', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagRetrievalConfigFilter, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagRetrievalConfigFilter::Representation
13364
13501
 
13502
+ property :ranking, as: 'ranking', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagRetrievalConfigRanking, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagRetrievalConfigRanking::Representation
13503
+
13365
13504
  property :top_k, as: 'topK'
13366
13505
  end
13367
13506
  end
@@ -13375,6 +13514,30 @@ module Google
13375
13514
  end
13376
13515
  end
13377
13516
 
13517
+ class GoogleCloudAiplatformV1RagRetrievalConfigRanking
13518
+ # @private
13519
+ class Representation < Google::Apis::Core::JsonRepresentation
13520
+ property :llm_ranker, as: 'llmRanker', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker::Representation
13521
+
13522
+ property :rank_service, as: 'rankService', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagRetrievalConfigRankingRankService, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagRetrievalConfigRankingRankService::Representation
13523
+
13524
+ end
13525
+ end
13526
+
13527
+ class GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker
13528
+ # @private
13529
+ class Representation < Google::Apis::Core::JsonRepresentation
13530
+ property :model_name, as: 'modelName'
13531
+ end
13532
+ end
13533
+
13534
+ class GoogleCloudAiplatformV1RagRetrievalConfigRankingRankService
13535
+ # @private
13536
+ class Representation < Google::Apis::Core::JsonRepresentation
13537
+ property :model_name, as: 'modelName'
13538
+ end
13539
+ end
13540
+
13378
13541
  class GoogleCloudAiplatformV1RagVectorDbConfig
13379
13542
  # @private
13380
13543
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13412,6 +13575,13 @@ module Google
13412
13575
  end
13413
13576
  end
13414
13577
 
13578
+ class GoogleCloudAiplatformV1RawOutput
13579
+ # @private
13580
+ class Representation < Google::Apis::Core::JsonRepresentation
13581
+ collection :raw_output, as: 'rawOutput'
13582
+ end
13583
+ end
13584
+
13415
13585
  class GoogleCloudAiplatformV1RawPredictRequest
13416
13586
  # @private
13417
13587
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13845,6 +14015,46 @@ module Google
13845
14015
  end
13846
14016
  end
13847
14017
 
14018
+ class GoogleCloudAiplatformV1RubricBasedInstructionFollowingInput
14019
+ # @private
14020
+ class Representation < Google::Apis::Core::JsonRepresentation
14021
+ property :instance, as: 'instance', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RubricBasedInstructionFollowingInstance, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RubricBasedInstructionFollowingInstance::Representation
14022
+
14023
+ property :metric_spec, as: 'metricSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RubricBasedInstructionFollowingSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RubricBasedInstructionFollowingSpec::Representation
14024
+
14025
+ end
14026
+ end
14027
+
14028
+ class GoogleCloudAiplatformV1RubricBasedInstructionFollowingInstance
14029
+ # @private
14030
+ class Representation < Google::Apis::Core::JsonRepresentation
14031
+ property :json_instance, as: 'jsonInstance'
14032
+ end
14033
+ end
14034
+
14035
+ class GoogleCloudAiplatformV1RubricBasedInstructionFollowingResult
14036
+ # @private
14037
+ class Representation < Google::Apis::Core::JsonRepresentation
14038
+ collection :rubric_critique_results, as: 'rubricCritiqueResults', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RubricCritiqueResult, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RubricCritiqueResult::Representation
14039
+
14040
+ property :score, as: 'score'
14041
+ end
14042
+ end
14043
+
14044
+ class GoogleCloudAiplatformV1RubricBasedInstructionFollowingSpec
14045
+ # @private
14046
+ class Representation < Google::Apis::Core::JsonRepresentation
14047
+ end
14048
+ end
14049
+
14050
+ class GoogleCloudAiplatformV1RubricCritiqueResult
14051
+ # @private
14052
+ class Representation < Google::Apis::Core::JsonRepresentation
14053
+ property :rubric, as: 'rubric'
14054
+ property :verdict, as: 'verdict'
14055
+ end
14056
+ end
14057
+
13848
14058
  class GoogleCloudAiplatformV1SafetyInput
13849
14059
  # @private
13850
14060
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -17613,6 +17823,13 @@ module Google
17613
17823
  end
17614
17824
  end
17615
17825
 
17826
+ class GoogleCloudAiplatformV1VertexAiSearchConfig
17827
+ # @private
17828
+ class Representation < Google::Apis::Core::JsonRepresentation
17829
+ property :serving_config, as: 'servingConfig'
17830
+ end
17831
+ end
17832
+
17616
17833
  class GoogleCloudAiplatformV1VertexRagStore
17617
17834
  # @private
17618
17835
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -917,6 +917,9 @@ module Google
917
917
  # Lists information about the supported locations for this service.
918
918
  # @param [String] name
919
919
  # The resource that owns the locations collection, if applicable.
920
+ # @param [Array<String>, String] extra_location_types
921
+ # Optional. A list of extra location types that should be used as conditions for
922
+ # controlling the visibility of the locations.
920
923
  # @param [String] filter
921
924
  # A filter to narrow down results to a preferred subset. The filtering language
922
925
  # accepts strings like `"displayName=tokyo"`, and is documented in more detail
@@ -944,11 +947,12 @@ module Google
944
947
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
945
948
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
946
949
  # @raise [Google::Apis::AuthorizationError] Authorization is required
947
- def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
950
+ def list_project_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
948
951
  command = make_simple_command(:get, 'v1/{+name}/locations', options)
949
952
  command.response_representation = Google::Apis::AiplatformV1::GoogleCloudLocationListLocationsResponse::Representation
950
953
  command.response_class = Google::Apis::AiplatformV1::GoogleCloudLocationListLocationsResponse
951
954
  command.params['name'] = name unless name.nil?
955
+ command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
952
956
  command.query['filter'] = filter unless filter.nil?
953
957
  command.query['pageSize'] = page_size unless page_size.nil?
954
958
  command.query['pageToken'] = page_token unless page_token.nil?
@@ -2716,9 +2720,7 @@ module Google
2716
2720
  execute_or_queue_command(command, &block)
2717
2721
  end
2718
2722
 
2719
- # Lists Annotations belongs to a dataitem This RPC is only available in
2720
- # InternalDatasetService. It is only used for exporting conversation data to
2721
- # CCAI Insights.
2723
+ # Lists Annotations belongs to a dataitem.
2722
2724
  # @param [String] parent
2723
2725
  # Required. The resource name of the DataItem to list Annotations from. Format: `
2724
2726
  # projects/`project`/locations/`location`/datasets/`dataset`/dataItems/`
@@ -5317,6 +5319,51 @@ module Google
5317
5319
  execute_or_queue_command(command, &block)
5318
5320
  end
5319
5321
 
5322
+ # Gets the access control policy for a resource. Returns an empty policy if the
5323
+ # resource exists and does not have a policy set.
5324
+ # @param [String] resource
5325
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
5326
+ # names](https://cloud.google.com/apis/design/resource_names) for the
5327
+ # appropriate value for this field.
5328
+ # @param [Fixnum] options_requested_policy_version
5329
+ # Optional. The maximum policy version that will be used to format the policy.
5330
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
5331
+ # rejected. Requests for policies with any conditional role bindings must
5332
+ # specify version 3. Policies with no conditional role bindings may specify any
5333
+ # valid value or leave the field unset. The policy in the response might use the
5334
+ # policy version that you specified, or it might use a lower policy version. For
5335
+ # example, if you specify version 3, but the policy has no conditional role
5336
+ # bindings, the response uses version 1. To learn which resources support
5337
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
5338
+ # google.com/iam/help/conditions/resource-policies).
5339
+ # @param [String] fields
5340
+ # Selector specifying which fields to include in a partial response.
5341
+ # @param [String] quota_user
5342
+ # Available to use for quota purposes for server-side applications. Can be any
5343
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5344
+ # @param [Google::Apis::RequestOptions] options
5345
+ # Request-specific options
5346
+ #
5347
+ # @yield [result, err] Result & error if block supplied
5348
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleIamV1Policy] parsed result object
5349
+ # @yieldparam err [StandardError] error object if request failed
5350
+ #
5351
+ # @return [Google::Apis::AiplatformV1::GoogleIamV1Policy]
5352
+ #
5353
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5354
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5355
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5356
+ def get_project_location_feature_group_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
5357
+ command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
5358
+ command.response_representation = Google::Apis::AiplatformV1::GoogleIamV1Policy::Representation
5359
+ command.response_class = Google::Apis::AiplatformV1::GoogleIamV1Policy
5360
+ command.params['resource'] = resource unless resource.nil?
5361
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
5362
+ command.query['fields'] = fields unless fields.nil?
5363
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5364
+ execute_or_queue_command(command, &block)
5365
+ end
5366
+
5320
5367
  # Lists FeatureGroups in a given project and location.
5321
5368
  # @param [String] parent
5322
5369
  # Required. The resource name of the Location to list FeatureGroups. Format: `
@@ -5417,6 +5464,84 @@ module Google
5417
5464
  execute_or_queue_command(command, &block)
5418
5465
  end
5419
5466
 
5467
+ # Sets the access control policy on the specified resource. Replaces any
5468
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
5469
+ # PERMISSION_DENIED` errors.
5470
+ # @param [String] resource
5471
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
5472
+ # names](https://cloud.google.com/apis/design/resource_names) for the
5473
+ # appropriate value for this field.
5474
+ # @param [Google::Apis::AiplatformV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
5475
+ # @param [String] fields
5476
+ # Selector specifying which fields to include in a partial response.
5477
+ # @param [String] quota_user
5478
+ # Available to use for quota purposes for server-side applications. Can be any
5479
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5480
+ # @param [Google::Apis::RequestOptions] options
5481
+ # Request-specific options
5482
+ #
5483
+ # @yield [result, err] Result & error if block supplied
5484
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleIamV1Policy] parsed result object
5485
+ # @yieldparam err [StandardError] error object if request failed
5486
+ #
5487
+ # @return [Google::Apis::AiplatformV1::GoogleIamV1Policy]
5488
+ #
5489
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5490
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5491
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5492
+ def set_project_location_feature_group_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
5493
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
5494
+ command.request_representation = Google::Apis::AiplatformV1::GoogleIamV1SetIamPolicyRequest::Representation
5495
+ command.request_object = google_iam_v1_set_iam_policy_request_object
5496
+ command.response_representation = Google::Apis::AiplatformV1::GoogleIamV1Policy::Representation
5497
+ command.response_class = Google::Apis::AiplatformV1::GoogleIamV1Policy
5498
+ command.params['resource'] = resource unless resource.nil?
5499
+ command.query['fields'] = fields unless fields.nil?
5500
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5501
+ execute_or_queue_command(command, &block)
5502
+ end
5503
+
5504
+ # Returns permissions that a caller has on the specified resource. If the
5505
+ # resource does not exist, this will return an empty set of permissions, not a `
5506
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
5507
+ # permission-aware UIs and command-line tools, not for authorization checking.
5508
+ # This operation may "fail open" without warning.
5509
+ # @param [String] resource
5510
+ # REQUIRED: The resource for which the policy detail is being requested. See [
5511
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
5512
+ # appropriate value for this field.
5513
+ # @param [Array<String>, String] permissions
5514
+ # The set of permissions to check for the `resource`. Permissions with wildcards
5515
+ # (such as `*` or `storage.*`) are not allowed. For more information see [IAM
5516
+ # Overview](https://cloud.google.com/iam/docs/overview#permissions).
5517
+ # @param [String] fields
5518
+ # Selector specifying which fields to include in a partial response.
5519
+ # @param [String] quota_user
5520
+ # Available to use for quota purposes for server-side applications. Can be any
5521
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5522
+ # @param [Google::Apis::RequestOptions] options
5523
+ # Request-specific options
5524
+ #
5525
+ # @yield [result, err] Result & error if block supplied
5526
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
5527
+ # @yieldparam err [StandardError] error object if request failed
5528
+ #
5529
+ # @return [Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse]
5530
+ #
5531
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5532
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5533
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5534
+ def test_project_location_feature_group_iam_permissions(resource, permissions: nil, fields: nil, quota_user: nil, options: nil, &block)
5535
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
5536
+ command.response_representation = Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse::Representation
5537
+ command.response_class = Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse
5538
+ command.params['resource'] = resource unless resource.nil?
5539
+ command.query['permissions'] = permissions unless permissions.nil?
5540
+ command.query['fields'] = fields unless fields.nil?
5541
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5542
+ execute_or_queue_command(command, &block)
5543
+ end
5544
+
5420
5545
  # Creates a batch of Features in a given FeatureGroup.
5421
5546
  # @param [String] parent
5422
5547
  # Required. The resource name of the EntityType/FeatureGroup to create the batch
@@ -17982,6 +18107,10 @@ module Google
17982
18107
  # @param [String] name
17983
18108
  # Required. The name of the ReasoningEngine resource to be deleted. Format: `
17984
18109
  # projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine``
18110
+ # @param [Boolean] force
18111
+ # Optional. If set to true, child resources of this reasoning engine will also
18112
+ # be deleted. Otherwise, the request will fail with FAILED_PRECONDITION error
18113
+ # when the reasoning engine has undeleted child resources.
17985
18114
  # @param [String] fields
17986
18115
  # Selector specifying which fields to include in a partial response.
17987
18116
  # @param [String] quota_user
@@ -17999,11 +18128,12 @@ module Google
17999
18128
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18000
18129
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18001
18130
  # @raise [Google::Apis::AuthorizationError] Authorization is required
18002
- def delete_project_location_reasoning_engine(name, fields: nil, quota_user: nil, options: nil, &block)
18131
+ def delete_project_location_reasoning_engine(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
18003
18132
  command = make_simple_command(:delete, 'v1/{+name}', options)
18004
18133
  command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
18005
18134
  command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
18006
18135
  command.params['name'] = name unless name.nil?
18136
+ command.query['force'] = force unless force.nil?
18007
18137
  command.query['fields'] = fields unless fields.nil?
18008
18138
  command.query['quotaUser'] = quota_user unless quota_user.nil?
18009
18139
  execute_or_queue_command(command, &block)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-aiplatform_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.47.0
4
+ version: 0.49.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-23 00:00:00.000000000 Z
10
+ date: 2025-04-16 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -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.47.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.49.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: