google-apis-aiplatform_v1 0.79.0 → 0.80.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: bc17b4f99315e4f8a069c8ea9d092cc60bcd28ba127514dae8156d750f9fc337
4
- data.tar.gz: d443f0f2e43228c47cb0783fa05b42db244dfde4454035a7937d645acebb2dc7
3
+ metadata.gz: b04e4b6e1d50178b56033989eb49349e80b9742108cca0d9d4e7c51f8afff4cf
4
+ data.tar.gz: 02b51c5ed9355f62407490d8a6a1e11c8e599576ad2565b71336e446f74f6ca7
5
5
  SHA512:
6
- metadata.gz: 6f537580d6ceb4b1fdc65b1b8510364db22518159196bad630ea621d0515b07236a74af8bd746f6d2ab92b9b22938bb2fa210c29e224fede3ba19763cafb3e99
7
- data.tar.gz: 186e557800c081dcb7922841a29686c371e0e373673d91dca5d5b69ae3a31b95c1d1ca36c78e3193db5e1ed9aa8410facac3c2f97d0a0f7a3de99fbc5c0c45e3
6
+ metadata.gz: 5011ba09a634fde68b1802c4125b50bc5fa36ab9c6164f151f0be4ce98a535d6aac7a3abcb577a7b70977eb17a289a73891682aff6ef79adb8a65f94de38d165
7
+ data.tar.gz: 7bda9d60d373e5ee49f178b73e1780bac5ce37741ea1a430cd146da43e0d3dc3ae6fbe70b0109008437a09b85464ebe509902f46377b875a28ce435d4808789d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-aiplatform_v1
2
2
 
3
+ ### v0.80.0 (2026-02-08)
4
+
5
+ * Regenerated from discovery document revision 20260201
6
+
3
7
  ### v0.79.0 (2026-02-01)
4
8
 
5
9
  * Regenerated from discovery document revision 20260116
@@ -4083,6 +4083,31 @@ module Google
4083
4083
  end
4084
4084
  end
4085
4085
 
4086
+ # Specification for a computation based metric.
4087
+ class GoogleCloudAiplatformV1ComputationBasedMetricSpec
4088
+ include Google::Apis::Core::Hashable
4089
+
4090
+ # Optional. A map of parameters for the metric, e.g. `"rouge_type": "rougeL"`.
4091
+ # Corresponds to the JSON property `parameters`
4092
+ # @return [Hash<String,Object>]
4093
+ attr_accessor :parameters
4094
+
4095
+ # Required. The type of the computation based metric.
4096
+ # Corresponds to the JSON property `type`
4097
+ # @return [String]
4098
+ attr_accessor :type
4099
+
4100
+ def initialize(**args)
4101
+ update!(**args)
4102
+ end
4103
+
4104
+ # Update properties of this object
4105
+ def update!(**args)
4106
+ @parameters = args[:parameters] if args.key?(:parameters)
4107
+ @type = args[:type] if args.key?(:type)
4108
+ end
4109
+ end
4110
+
4086
4111
  # Request message for ComputeTokens RPC call.
4087
4112
  class GoogleCloudAiplatformV1ComputeTokensRequest
4088
4113
  include Google::Apis::Core::Hashable
@@ -8962,6 +8987,11 @@ module Google
8962
8987
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentData]
8963
8988
  attr_accessor :agent_data
8964
8989
 
8990
+ # Contains data specific to agent evaluations.
8991
+ # Corresponds to the JSON property `agentEvalData`
8992
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentData]
8993
+ attr_accessor :agent_eval_data
8994
+
8965
8995
  # Instance data specified as a map.
8966
8996
  # Corresponds to the JSON property `otherData`
8967
8997
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceMapInstance]
@@ -8996,6 +9026,7 @@ module Google
8996
9026
  # Update properties of this object
8997
9027
  def update!(**args)
8998
9028
  @agent_data = args[:agent_data] if args.key?(:agent_data)
9029
+ @agent_eval_data = args[:agent_eval_data] if args.key?(:agent_eval_data)
8999
9030
  @other_data = args[:other_data] if args.key?(:other_data)
9000
9031
  @prompt = args[:prompt] if args.key?(:prompt)
9001
9032
  @reference = args[:reference] if args.key?(:reference)
@@ -9008,11 +9039,37 @@ module Google
9008
9039
  class GoogleCloudAiplatformV1EvaluationInstanceAgentConfig
9009
9040
  include Google::Apis::Core::Hashable
9010
9041
 
9042
+ # Optional. Unique identifier of the agent. This ID is used to refer to this
9043
+ # agent, e.g., in AgentEvent.author, or in the `sub_agents` field. It must be
9044
+ # unique within the `agents` map.
9045
+ # Corresponds to the JSON property `agentId`
9046
+ # @return [String]
9047
+ attr_accessor :agent_id
9048
+
9049
+ # Optional. The type or class of the agent (e.g., "LlmAgent", "RouterAgent", "
9050
+ # ToolUseAgent"). Useful for the autorater to understand the expected behavior
9051
+ # of the agent.
9052
+ # Corresponds to the JSON property `agentType`
9053
+ # @return [String]
9054
+ attr_accessor :agent_type
9055
+
9056
+ # Optional. A high-level description of the agent's role and responsibilities.
9057
+ # Critical for evaluating if the agent is routing tasks correctly.
9058
+ # Corresponds to the JSON property `description`
9059
+ # @return [String]
9060
+ attr_accessor :description
9061
+
9011
9062
  # Instance data used to populate placeholders in a metric prompt template.
9012
9063
  # Corresponds to the JSON property `developerInstruction`
9013
9064
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceInstanceData]
9014
9065
  attr_accessor :developer_instruction
9015
9066
 
9067
+ # Optional. The list of valid agent IDs (names) that this agent can delegate to.
9068
+ # This defines the directed edges in the agent system graph topology.
9069
+ # Corresponds to the JSON property `subAgents`
9070
+ # @return [Array<String>]
9071
+ attr_accessor :sub_agents
9072
+
9016
9073
  # Represents a list of tools for an agent.
9017
9074
  # Corresponds to the JSON property `tools`
9018
9075
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentConfigTools]
@@ -9030,7 +9087,11 @@ module Google
9030
9087
 
9031
9088
  # Update properties of this object
9032
9089
  def update!(**args)
9090
+ @agent_id = args[:agent_id] if args.key?(:agent_id)
9091
+ @agent_type = args[:agent_type] if args.key?(:agent_type)
9092
+ @description = args[:description] if args.key?(:description)
9033
9093
  @developer_instruction = args[:developer_instruction] if args.key?(:developer_instruction)
9094
+ @sub_agents = args[:sub_agents] if args.key?(:sub_agents)
9034
9095
  @tools = args[:tools] if args.key?(:tools)
9035
9096
  @tools_text = args[:tools_text] if args.key?(:tools_text)
9036
9097
  end
@@ -9064,6 +9125,13 @@ module Google
9064
9125
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentConfig]
9065
9126
  attr_accessor :agent_config
9066
9127
 
9128
+ # Optional. The static Agent Configuration. This map defines the graph structure
9129
+ # of the agent system. Key: agent_id (matches the `author` field in events).
9130
+ # Value: The static configuration of the agent (tools, instructions, sub-agents).
9131
+ # Corresponds to the JSON property `agents`
9132
+ # @return [Hash<String,Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentConfig>]
9133
+ attr_accessor :agents
9134
+
9067
9135
  # Instance data used to populate placeholders in a metric prompt template.
9068
9136
  # Corresponds to the JSON property `developerInstruction`
9069
9137
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceInstanceData]
@@ -9074,22 +9142,23 @@ module Google
9074
9142
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentDataEvents]
9075
9143
  attr_accessor :events
9076
9144
 
9077
- # Represents a list of tools for an agent.
9145
+ # Deprecated. Represents a list of tools for an agent.
9078
9146
  # Corresponds to the JSON property `tools`
9079
9147
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentDataTools]
9080
9148
  attr_accessor :tools
9081
9149
 
9082
9150
  # A JSON string containing a list of tools available to an agent with info such
9083
- # as name, description, parameters and required parameters. Example: [ ` "name":
9084
- # "search_actors", "description": "Search for actors in a movie. Returns a list
9085
- # of actors, their roles, their birthdate, and their place of birth.", "
9086
- # parameters": [ ` "name": "movie_name", "description": "The name of the movie."
9087
- # `, ` "name": "character_name", "description": "The name of the character." ` ],
9088
- # "required": ["movie_name", "character_name"] ` ]
9151
+ # as name, description, parameters and required parameters.
9089
9152
  # Corresponds to the JSON property `toolsText`
9090
9153
  # @return [String]
9091
9154
  attr_accessor :tools_text
9092
9155
 
9156
+ # Optional. The chronological list of conversation turns. Each turn represents a
9157
+ # logical execution cycle (e.g., User Input -> Agent Response).
9158
+ # Corresponds to the JSON property `turns`
9159
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentDataConversationTurn>]
9160
+ attr_accessor :turns
9161
+
9093
9162
  def initialize(**args)
9094
9163
  update!(**args)
9095
9164
  end
@@ -9097,10 +9166,91 @@ module Google
9097
9166
  # Update properties of this object
9098
9167
  def update!(**args)
9099
9168
  @agent_config = args[:agent_config] if args.key?(:agent_config)
9169
+ @agents = args[:agents] if args.key?(:agents)
9100
9170
  @developer_instruction = args[:developer_instruction] if args.key?(:developer_instruction)
9101
9171
  @events = args[:events] if args.key?(:events)
9102
9172
  @tools = args[:tools] if args.key?(:tools)
9103
9173
  @tools_text = args[:tools_text] if args.key?(:tools_text)
9174
+ @turns = args[:turns] if args.key?(:turns)
9175
+ end
9176
+ end
9177
+
9178
+ # A single event in the execution trace.
9179
+ class GoogleCloudAiplatformV1EvaluationInstanceAgentDataAgentEvent
9180
+ include Google::Apis::Core::Hashable
9181
+
9182
+ # Optional. The list of tools that were active/available to the agent at the
9183
+ # time of this event. This overrides the `AgentConfig.tools` if set.
9184
+ # Corresponds to the JSON property `activeTools`
9185
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Tool>]
9186
+ attr_accessor :active_tools
9187
+
9188
+ # Required. The ID of the agent or entity that generated this event.
9189
+ # Corresponds to the JSON property `author`
9190
+ # @return [String]
9191
+ attr_accessor :author
9192
+
9193
+ # The structured data content of a message. A Content message contains a `role`
9194
+ # field, which indicates the producer of the content, and a `parts` field, which
9195
+ # contains the multi-part data of the message.
9196
+ # Corresponds to the JSON property `content`
9197
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content]
9198
+ attr_accessor :content
9199
+
9200
+ # Optional. The timestamp when the event occurred.
9201
+ # Corresponds to the JSON property `eventTime`
9202
+ # @return [String]
9203
+ attr_accessor :event_time
9204
+
9205
+ # Optional. The change in the session state caused by this event. This is a key-
9206
+ # value map of fields that were modified or added by the event.
9207
+ # Corresponds to the JSON property `stateDelta`
9208
+ # @return [Hash<String,Object>]
9209
+ attr_accessor :state_delta
9210
+
9211
+ def initialize(**args)
9212
+ update!(**args)
9213
+ end
9214
+
9215
+ # Update properties of this object
9216
+ def update!(**args)
9217
+ @active_tools = args[:active_tools] if args.key?(:active_tools)
9218
+ @author = args[:author] if args.key?(:author)
9219
+ @content = args[:content] if args.key?(:content)
9220
+ @event_time = args[:event_time] if args.key?(:event_time)
9221
+ @state_delta = args[:state_delta] if args.key?(:state_delta)
9222
+ end
9223
+ end
9224
+
9225
+ # Represents a single turn/invocation in the conversation.
9226
+ class GoogleCloudAiplatformV1EvaluationInstanceAgentDataConversationTurn
9227
+ include Google::Apis::Core::Hashable
9228
+
9229
+ # Optional. The list of events that occurred during this turn.
9230
+ # Corresponds to the JSON property `events`
9231
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentDataAgentEvent>]
9232
+ attr_accessor :events
9233
+
9234
+ # Optional. A unique identifier for the turn. Useful for referencing specific
9235
+ # turns across systems.
9236
+ # Corresponds to the JSON property `turnId`
9237
+ # @return [String]
9238
+ attr_accessor :turn_id
9239
+
9240
+ # Required. The 0-based index of the turn in the conversation sequence.
9241
+ # Corresponds to the JSON property `turnIndex`
9242
+ # @return [Fixnum]
9243
+ attr_accessor :turn_index
9244
+
9245
+ def initialize(**args)
9246
+ update!(**args)
9247
+ end
9248
+
9249
+ # Update properties of this object
9250
+ def update!(**args)
9251
+ @events = args[:events] if args.key?(:events)
9252
+ @turn_id = args[:turn_id] if args.key?(:turn_id)
9253
+ @turn_index = args[:turn_index] if args.key?(:turn_index)
9104
9254
  end
9105
9255
  end
9106
9256
 
@@ -9123,7 +9273,7 @@ module Google
9123
9273
  end
9124
9274
  end
9125
9275
 
9126
- # Represents a list of tools for an agent.
9276
+ # Deprecated. Represents a list of tools for an agent.
9127
9277
  class GoogleCloudAiplatformV1EvaluationInstanceAgentDataTools
9128
9278
  include Google::Apis::Core::Hashable
9129
9279
 
@@ -9236,7 +9386,13 @@ module Google
9236
9386
  # @return [String]
9237
9387
  attr_accessor :evaluation_item_type
9238
9388
 
9239
- # Single evaluation request.
9389
+ # A single evaluation request supporting input for both single-turn model
9390
+ # generation and multi-turn agent execution traces. Valid input modes: 1.
9391
+ # Inference Mode: `prompt` is set (containing text or AgentData context). 2.
9392
+ # Offline Eval Mode: `prompt` is unset, and `candidate_responses` contains `
9393
+ # agent_data` (the completed execution trace). Validation Rule: Either `prompt`
9394
+ # must be set, OR at least one of the `candidate_responses` must contain `
9395
+ # agent_data`.
9240
9396
  # Corresponds to the JSON property `evaluationRequest`
9241
9397
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRequest]
9242
9398
  attr_accessor :evaluation_request
@@ -9286,7 +9442,8 @@ module Google
9286
9442
  end
9287
9443
  end
9288
9444
 
9289
- # Prompt to be evaluated.
9445
+ # Prompt to be evaluated. This can represent a single-turn prompt or a multi-
9446
+ # turn conversation for agent evaluations.
9290
9447
  class GoogleCloudAiplatformV1EvaluationPrompt
9291
9448
  include Google::Apis::Core::Hashable
9292
9449
 
@@ -9336,7 +9493,13 @@ module Google
9336
9493
  end
9337
9494
  end
9338
9495
 
9339
- # Single evaluation request.
9496
+ # A single evaluation request supporting input for both single-turn model
9497
+ # generation and multi-turn agent execution traces. Valid input modes: 1.
9498
+ # Inference Mode: `prompt` is set (containing text or AgentData context). 2.
9499
+ # Offline Eval Mode: `prompt` is unset, and `candidate_responses` contains `
9500
+ # agent_data` (the completed execution trace). Validation Rule: Either `prompt`
9501
+ # must be set, OR at least one of the `candidate_responses` must contain `
9502
+ # agent_data`.
9340
9503
  class GoogleCloudAiplatformV1EvaluationRequest
9341
9504
  include Google::Apis::Core::Hashable
9342
9505
 
@@ -9351,7 +9514,8 @@ module Google
9351
9514
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CandidateResponse]
9352
9515
  attr_accessor :golden_response
9353
9516
 
9354
- # Prompt to be evaluated.
9517
+ # Prompt to be evaluated. This can represent a single-turn prompt or a multi-
9518
+ # turn conversation for agent evaluations.
9355
9519
  # Corresponds to the JSON property `prompt`
9356
9520
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationPrompt]
9357
9521
  attr_accessor :prompt
@@ -9406,7 +9570,13 @@ module Google
9406
9570
  # @return [String]
9407
9571
  attr_accessor :metric
9408
9572
 
9409
- # Single evaluation request.
9573
+ # A single evaluation request supporting input for both single-turn model
9574
+ # generation and multi-turn agent execution traces. Valid input modes: 1.
9575
+ # Inference Mode: `prompt` is set (containing text or AgentData context). 2.
9576
+ # Offline Eval Mode: `prompt` is unset, and `candidate_responses` contains `
9577
+ # agent_data` (the completed execution trace). Validation Rule: Either `prompt`
9578
+ # must be set, OR at least one of the `candidate_responses` must contain `
9579
+ # agent_data`.
9410
9580
  # Corresponds to the JSON property `request`
9411
9581
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRequest]
9412
9582
  attr_accessor :request
@@ -9791,6 +9961,11 @@ module Google
9791
9961
  class GoogleCloudAiplatformV1EvaluationRunMetric
9792
9962
  include Google::Apis::Core::Hashable
9793
9963
 
9964
+ # Specification for a computation based metric.
9965
+ # Corresponds to the JSON property `computationBasedMetricSpec`
9966
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec]
9967
+ attr_accessor :computation_based_metric_spec
9968
+
9794
9969
  # Specification for an LLM based metric.
9795
9970
  # Corresponds to the JSON property `llmBasedMetricSpec`
9796
9971
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunMetricLlmBasedMetricSpec]
@@ -9822,6 +9997,7 @@ module Google
9822
9997
 
9823
9998
  # Update properties of this object
9824
9999
  def update!(**args)
10000
+ @computation_based_metric_spec = args[:computation_based_metric_spec] if args.key?(:computation_based_metric_spec)
9825
10001
  @llm_based_metric_spec = args[:llm_based_metric_spec] if args.key?(:llm_based_metric_spec)
9826
10002
  @metric = args[:metric] if args.key?(:metric)
9827
10003
  @metric_config = args[:metric_config] if args.key?(:metric_config)
@@ -9830,6 +10006,31 @@ module Google
9830
10006
  end
9831
10007
  end
9832
10008
 
10009
+ # Specification for a computation based metric.
10010
+ class GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec
10011
+ include Google::Apis::Core::Hashable
10012
+
10013
+ # Optional. A map of parameters for the metric, e.g. `"rouge_type": "rougeL"`.
10014
+ # Corresponds to the JSON property `parameters`
10015
+ # @return [Hash<String,Object>]
10016
+ attr_accessor :parameters
10017
+
10018
+ # Required. The type of the computation based metric.
10019
+ # Corresponds to the JSON property `type`
10020
+ # @return [String]
10021
+ attr_accessor :type
10022
+
10023
+ def initialize(**args)
10024
+ update!(**args)
10025
+ end
10026
+
10027
+ # Update properties of this object
10028
+ def update!(**args)
10029
+ @parameters = args[:parameters] if args.key?(:parameters)
10030
+ @type = args[:type] if args.key?(:type)
10031
+ end
10032
+ end
10033
+
9833
10034
  # Specification for an LLM based metric.
9834
10035
  class GoogleCloudAiplatformV1EvaluationRunMetricLlmBasedMetricSpec
9835
10036
  include Google::Apis::Core::Hashable
@@ -19839,13 +20040,13 @@ module Google
19839
20040
  class GoogleCloudAiplatformV1ListTuningJobsResponse
19840
20041
  include Google::Apis::Core::Hashable
19841
20042
 
19842
- # A token to retrieve the next page of results. Pass to ListTuningJobsRequest.
19843
- # page_token to obtain that page.
20043
+ # A token to retrieve the next page of results. Pass this token in a subsequent [
20044
+ # GenAiTuningService.ListTuningJobs] call to retrieve the next page of results.
19844
20045
  # Corresponds to the JSON property `nextPageToken`
19845
20046
  # @return [String]
19846
20047
  attr_accessor :next_page_token
19847
20048
 
19848
- # List of TuningJobs in the requested page.
20049
+ # The tuning jobs that match the request.
19849
20050
  # Corresponds to the JSON property `tuningJobs`
19850
20051
  # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TuningJob>]
19851
20052
  attr_accessor :tuning_jobs
@@ -20895,6 +21096,11 @@ module Google
20895
21096
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BleuSpec]
20896
21097
  attr_accessor :bleu_spec
20897
21098
 
21099
+ # Specification for a computation based metric.
21100
+ # Corresponds to the JSON property `computationBasedMetricSpec`
21101
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ComputationBasedMetricSpec]
21102
+ attr_accessor :computation_based_metric_spec
21103
+
20898
21104
  # Specificies a metric that is populated by evaluating user-defined Python code.
20899
21105
  # Corresponds to the JSON property `customCodeExecutionSpec`
20900
21106
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CustomCodeExecutionSpec]
@@ -20940,6 +21146,7 @@ module Google
20940
21146
  def update!(**args)
20941
21147
  @aggregation_metrics = args[:aggregation_metrics] if args.key?(:aggregation_metrics)
20942
21148
  @bleu_spec = args[:bleu_spec] if args.key?(:bleu_spec)
21149
+ @computation_based_metric_spec = args[:computation_based_metric_spec] if args.key?(:computation_based_metric_spec)
20943
21150
  @custom_code_execution_spec = args[:custom_code_execution_spec] if args.key?(:custom_code_execution_spec)
20944
21151
  @exact_match_spec = args[:exact_match_spec] if args.key?(:exact_match_spec)
20945
21152
  @llm_based_metric_spec = args[:llm_based_metric_spec] if args.key?(:llm_based_metric_spec)
@@ -28454,6 +28661,17 @@ module Google
28454
28661
  # @return [String]
28455
28662
  attr_accessor :filter
28456
28663
 
28664
+ # Optional. Metadata filters that will be applied to the memories to be purged.
28665
+ # Filters are defined using disjunctive normal form (OR of ANDs). For example: `
28666
+ # filter_groups: [`filters: [`key: "author", value: `string_value: "agent 123"`,
28667
+ # op: EQUAL`]`, `filters: [`key: "label", value: `string_value: "travel"`, op:
28668
+ # EQUAL`, `key: "author", value: `string_value: "agent 321"`, op: EQUAL`]`]`
28669
+ # would be equivalent to the logical expression: `(metadata.author = "agent 123"
28670
+ # OR (metadata.label = "travel" AND metadata.author = "agent 321"))`.
28671
+ # Corresponds to the JSON property `filterGroups`
28672
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryConjunctionFilter>]
28673
+ attr_accessor :filter_groups
28674
+
28457
28675
  # Optional. If true, the memories will actually be purged. If false, the purge
28458
28676
  # request will be validated but not executed.
28459
28677
  # Corresponds to the JSON property `force`
@@ -28468,6 +28686,7 @@ module Google
28468
28686
  # Update properties of this object
28469
28687
  def update!(**args)
28470
28688
  @filter = args[:filter] if args.key?(:filter)
28689
+ @filter_groups = args[:filter_groups] if args.key?(:filter_groups)
28471
28690
  @force = args[:force] if args.key?(:force)
28472
28691
  end
28473
28692
  end
@@ -29635,7 +29854,7 @@ module Google
29635
29854
  # Basic tier is a cost-effective and low compute tier suitable for the following
29636
29855
  # cases: * Experimenting with RagManagedDb. * Small data size. * Latency
29637
29856
  # insensitive workload. * Only using RAG Engine with external vector DBs. NOTE:
29638
- # This is the default tier if not explicitly chosen.
29857
+ # This is the default tier under Spanner mode if not explicitly chosen.
29639
29858
  # Corresponds to the JSON property `basic`
29640
29859
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigBasic]
29641
29860
  attr_accessor :basic
@@ -29647,6 +29866,16 @@ module Google
29647
29866
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigScaled]
29648
29867
  attr_accessor :scaled
29649
29868
 
29869
+ # Message to configure the serverless mode offered by RAG Engine.
29870
+ # Corresponds to the JSON property `serverless`
29871
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigServerless]
29872
+ attr_accessor :serverless
29873
+
29874
+ # Message to configure the Spanner database used by RagManagedDb.
29875
+ # Corresponds to the JSON property `spanner`
29876
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigSpanner]
29877
+ attr_accessor :spanner
29878
+
29650
29879
  # Disables the RAG Engine service and deletes all your data held within this
29651
29880
  # service. This will halt the billing of the service. NOTE: Once deleted the
29652
29881
  # data cannot be recovered. To start using RAG Engine again, you will need to
@@ -29663,6 +29892,8 @@ module Google
29663
29892
  def update!(**args)
29664
29893
  @basic = args[:basic] if args.key?(:basic)
29665
29894
  @scaled = args[:scaled] if args.key?(:scaled)
29895
+ @serverless = args[:serverless] if args.key?(:serverless)
29896
+ @spanner = args[:spanner] if args.key?(:spanner)
29666
29897
  @unprovisioned = args[:unprovisioned] if args.key?(:unprovisioned)
29667
29898
  end
29668
29899
  end
@@ -29670,7 +29901,7 @@ module Google
29670
29901
  # Basic tier is a cost-effective and low compute tier suitable for the following
29671
29902
  # cases: * Experimenting with RagManagedDb. * Small data size. * Latency
29672
29903
  # insensitive workload. * Only using RAG Engine with external vector DBs. NOTE:
29673
- # This is the default tier if not explicitly chosen.
29904
+ # This is the default tier under Spanner mode if not explicitly chosen.
29674
29905
  class GoogleCloudAiplatformV1RagManagedDbConfigBasic
29675
29906
  include Google::Apis::Core::Hashable
29676
29907
 
@@ -29698,6 +29929,58 @@ module Google
29698
29929
  end
29699
29930
  end
29700
29931
 
29932
+ # Message to configure the serverless mode offered by RAG Engine.
29933
+ class GoogleCloudAiplatformV1RagManagedDbConfigServerless
29934
+ include Google::Apis::Core::Hashable
29935
+
29936
+ def initialize(**args)
29937
+ update!(**args)
29938
+ end
29939
+
29940
+ # Update properties of this object
29941
+ def update!(**args)
29942
+ end
29943
+ end
29944
+
29945
+ # Message to configure the Spanner database used by RagManagedDb.
29946
+ class GoogleCloudAiplatformV1RagManagedDbConfigSpanner
29947
+ include Google::Apis::Core::Hashable
29948
+
29949
+ # Basic tier is a cost-effective and low compute tier suitable for the following
29950
+ # cases: * Experimenting with RagManagedDb. * Small data size. * Latency
29951
+ # insensitive workload. * Only using RAG Engine with external vector DBs. NOTE:
29952
+ # This is the default tier under Spanner mode if not explicitly chosen.
29953
+ # Corresponds to the JSON property `basic`
29954
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigBasic]
29955
+ attr_accessor :basic
29956
+
29957
+ # Scaled tier offers production grade performance along with autoscaling
29958
+ # functionality. It is suitable for customers with large amounts of data or
29959
+ # performance sensitive workloads.
29960
+ # Corresponds to the JSON property `scaled`
29961
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigScaled]
29962
+ attr_accessor :scaled
29963
+
29964
+ # Disables the RAG Engine service and deletes all your data held within this
29965
+ # service. This will halt the billing of the service. NOTE: Once deleted the
29966
+ # data cannot be recovered. To start using RAG Engine again, you will need to
29967
+ # update the tier by calling the UpdateRagEngineConfig API.
29968
+ # Corresponds to the JSON property `unprovisioned`
29969
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned]
29970
+ attr_accessor :unprovisioned
29971
+
29972
+ def initialize(**args)
29973
+ update!(**args)
29974
+ end
29975
+
29976
+ # Update properties of this object
29977
+ def update!(**args)
29978
+ @basic = args[:basic] if args.key?(:basic)
29979
+ @scaled = args[:scaled] if args.key?(:scaled)
29980
+ @unprovisioned = args[:unprovisioned] if args.key?(:unprovisioned)
29981
+ end
29982
+ end
29983
+
29701
29984
  # Disables the RAG Engine service and deletes all your data held within this
29702
29985
  # service. This will halt the billing of the service. NOTE: Once deleted the
29703
29986
  # data cannot be recovered. To start using RAG Engine again, you will need to
@@ -31104,9 +31387,10 @@ module Google
31104
31387
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GcsDestination]
31105
31388
  attr_accessor :artifact_destination
31106
31389
 
31107
- # Optional. By default, bison to gemini migration will always create new model/
31108
- # endpoint, but for gemini-1.0 to gemini-1.5 migration, we default deploy to the
31109
- # same endpoint. See details in this Section.
31390
+ # Optional. By default, rebasing a model creates a new endpoint for the new
31391
+ # model. If this flag is set to true, the new model will be deployed to the same
31392
+ # endpoint as the original model. WARNING: If you deploy to the same endpoint,
31393
+ # the original model will be un-deployed and replaced by the new model.
31110
31394
  # Corresponds to the JSON property `deployToSameEndpoint`
31111
31395
  # @return [Boolean]
31112
31396
  attr_accessor :deploy_to_same_endpoint
@@ -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.79.0"
19
+ GEM_VERSION = "0.80.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 = "20260116"
25
+ REVISION = "20260201"
26
26
  end
27
27
  end
28
28
  end
@@ -766,6 +766,12 @@ module Google
766
766
  include Google::Apis::Core::JsonObjectSupport
767
767
  end
768
768
 
769
+ class GoogleCloudAiplatformV1ComputationBasedMetricSpec
770
+ class Representation < Google::Apis::Core::JsonRepresentation; end
771
+
772
+ include Google::Apis::Core::JsonObjectSupport
773
+ end
774
+
769
775
  class GoogleCloudAiplatformV1ComputeTokensRequest
770
776
  class Representation < Google::Apis::Core::JsonRepresentation; end
771
777
 
@@ -1480,6 +1486,18 @@ module Google
1480
1486
  include Google::Apis::Core::JsonObjectSupport
1481
1487
  end
1482
1488
 
1489
+ class GoogleCloudAiplatformV1EvaluationInstanceAgentDataAgentEvent
1490
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1491
+
1492
+ include Google::Apis::Core::JsonObjectSupport
1493
+ end
1494
+
1495
+ class GoogleCloudAiplatformV1EvaluationInstanceAgentDataConversationTurn
1496
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1497
+
1498
+ include Google::Apis::Core::JsonObjectSupport
1499
+ end
1500
+
1483
1501
  class GoogleCloudAiplatformV1EvaluationInstanceAgentDataEvents
1484
1502
  class Representation < Google::Apis::Core::JsonRepresentation; end
1485
1503
 
@@ -1600,6 +1618,12 @@ module Google
1600
1618
  include Google::Apis::Core::JsonObjectSupport
1601
1619
  end
1602
1620
 
1621
+ class GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec
1622
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1623
+
1624
+ include Google::Apis::Core::JsonObjectSupport
1625
+ end
1626
+
1603
1627
  class GoogleCloudAiplatformV1EvaluationRunMetricLlmBasedMetricSpec
1604
1628
  class Representation < Google::Apis::Core::JsonRepresentation; end
1605
1629
 
@@ -4774,6 +4798,18 @@ module Google
4774
4798
  include Google::Apis::Core::JsonObjectSupport
4775
4799
  end
4776
4800
 
4801
+ class GoogleCloudAiplatformV1RagManagedDbConfigServerless
4802
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4803
+
4804
+ include Google::Apis::Core::JsonObjectSupport
4805
+ end
4806
+
4807
+ class GoogleCloudAiplatformV1RagManagedDbConfigSpanner
4808
+ class Representation < Google::Apis::Core::JsonRepresentation; end
4809
+
4810
+ include Google::Apis::Core::JsonObjectSupport
4811
+ end
4812
+
4777
4813
  class GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned
4778
4814
  class Representation < Google::Apis::Core::JsonRepresentation; end
4779
4815
 
@@ -9170,6 +9206,14 @@ module Google
9170
9206
  end
9171
9207
  end
9172
9208
 
9209
+ class GoogleCloudAiplatformV1ComputationBasedMetricSpec
9210
+ # @private
9211
+ class Representation < Google::Apis::Core::JsonRepresentation
9212
+ hash :parameters, as: 'parameters'
9213
+ property :type, as: 'type'
9214
+ end
9215
+ end
9216
+
9173
9217
  class GoogleCloudAiplatformV1ComputeTokensRequest
9174
9218
  # @private
9175
9219
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -10524,6 +10568,8 @@ module Google
10524
10568
  class Representation < Google::Apis::Core::JsonRepresentation
10525
10569
  property :agent_data, as: 'agentData', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentData, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentData::Representation
10526
10570
 
10571
+ property :agent_eval_data, as: 'agentEvalData', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentData, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentData::Representation
10572
+
10527
10573
  property :other_data, as: 'otherData', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceMapInstance, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceMapInstance::Representation
10528
10574
 
10529
10575
  property :prompt, as: 'prompt', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceInstanceData, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceInstanceData::Representation
@@ -10540,8 +10586,12 @@ module Google
10540
10586
  class GoogleCloudAiplatformV1EvaluationInstanceAgentConfig
10541
10587
  # @private
10542
10588
  class Representation < Google::Apis::Core::JsonRepresentation
10589
+ property :agent_id, as: 'agentId'
10590
+ property :agent_type, as: 'agentType'
10591
+ property :description, as: 'description'
10543
10592
  property :developer_instruction, as: 'developerInstruction', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceInstanceData, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceInstanceData::Representation
10544
10593
 
10594
+ collection :sub_agents, as: 'subAgents'
10545
10595
  property :tools, as: 'tools', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentConfigTools, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentConfigTools::Representation
10546
10596
 
10547
10597
  property :tools_text, as: 'toolsText'
@@ -10561,6 +10611,8 @@ module Google
10561
10611
  class Representation < Google::Apis::Core::JsonRepresentation
10562
10612
  property :agent_config, as: 'agentConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentConfig::Representation
10563
10613
 
10614
+ hash :agents, as: 'agents', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentConfig::Representation
10615
+
10564
10616
  property :developer_instruction, as: 'developerInstruction', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceInstanceData, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceInstanceData::Representation
10565
10617
 
10566
10618
  property :events, as: 'events', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentDataEvents, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentDataEvents::Representation
@@ -10568,6 +10620,31 @@ module Google
10568
10620
  property :tools, as: 'tools', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentDataTools, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentDataTools::Representation
10569
10621
 
10570
10622
  property :tools_text, as: 'toolsText'
10623
+ collection :turns, as: 'turns', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentDataConversationTurn, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentDataConversationTurn::Representation
10624
+
10625
+ end
10626
+ end
10627
+
10628
+ class GoogleCloudAiplatformV1EvaluationInstanceAgentDataAgentEvent
10629
+ # @private
10630
+ class Representation < Google::Apis::Core::JsonRepresentation
10631
+ collection :active_tools, as: 'activeTools', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Tool, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Tool::Representation
10632
+
10633
+ property :author, as: 'author'
10634
+ property :content, as: 'content', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content::Representation
10635
+
10636
+ property :event_time, as: 'eventTime'
10637
+ hash :state_delta, as: 'stateDelta'
10638
+ end
10639
+ end
10640
+
10641
+ class GoogleCloudAiplatformV1EvaluationInstanceAgentDataConversationTurn
10642
+ # @private
10643
+ class Representation < Google::Apis::Core::JsonRepresentation
10644
+ collection :events, as: 'events', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentDataAgentEvent, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentDataAgentEvent::Representation
10645
+
10646
+ property :turn_id, as: 'turnId'
10647
+ property :turn_index, as: 'turnIndex'
10571
10648
  end
10572
10649
  end
10573
10650
 
@@ -10786,6 +10863,8 @@ module Google
10786
10863
  class GoogleCloudAiplatformV1EvaluationRunMetric
10787
10864
  # @private
10788
10865
  class Representation < Google::Apis::Core::JsonRepresentation
10866
+ property :computation_based_metric_spec, as: 'computationBasedMetricSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec::Representation
10867
+
10789
10868
  property :llm_based_metric_spec, as: 'llmBasedMetricSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunMetricLlmBasedMetricSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunMetricLlmBasedMetricSpec::Representation
10790
10869
 
10791
10870
  property :metric, as: 'metric'
@@ -10798,6 +10877,14 @@ module Google
10798
10877
  end
10799
10878
  end
10800
10879
 
10880
+ class GoogleCloudAiplatformV1EvaluationRunMetricComputationBasedMetricSpec
10881
+ # @private
10882
+ class Representation < Google::Apis::Core::JsonRepresentation
10883
+ hash :parameters, as: 'parameters'
10884
+ property :type, as: 'type'
10885
+ end
10886
+ end
10887
+
10801
10888
  class GoogleCloudAiplatformV1EvaluationRunMetricLlmBasedMetricSpec
10802
10889
  # @private
10803
10890
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13951,6 +14038,8 @@ module Google
13951
14038
  collection :aggregation_metrics, as: 'aggregationMetrics'
13952
14039
  property :bleu_spec, as: 'bleuSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BleuSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BleuSpec::Representation
13953
14040
 
14041
+ property :computation_based_metric_spec, as: 'computationBasedMetricSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ComputationBasedMetricSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ComputationBasedMetricSpec::Representation
14042
+
13954
14043
  property :custom_code_execution_spec, as: 'customCodeExecutionSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CustomCodeExecutionSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CustomCodeExecutionSpec::Representation
13955
14044
 
13956
14045
  property :exact_match_spec, as: 'exactMatchSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExactMatchSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExactMatchSpec::Representation
@@ -15980,6 +16069,8 @@ module Google
15980
16069
  # @private
15981
16070
  class Representation < Google::Apis::Core::JsonRepresentation
15982
16071
  property :filter, as: 'filter'
16072
+ collection :filter_groups, as: 'filterGroups', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryConjunctionFilter, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MemoryConjunctionFilter::Representation
16073
+
15983
16074
  property :force, as: 'force'
15984
16075
  end
15985
16076
  end
@@ -16340,6 +16431,10 @@ module Google
16340
16431
 
16341
16432
  property :scaled, as: 'scaled', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigScaled, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigScaled::Representation
16342
16433
 
16434
+ property :serverless, as: 'serverless', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigServerless, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigServerless::Representation
16435
+
16436
+ property :spanner, as: 'spanner', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigSpanner, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigSpanner::Representation
16437
+
16343
16438
  property :unprovisioned, as: 'unprovisioned', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned::Representation
16344
16439
 
16345
16440
  end
@@ -16357,6 +16452,24 @@ module Google
16357
16452
  end
16358
16453
  end
16359
16454
 
16455
+ class GoogleCloudAiplatformV1RagManagedDbConfigServerless
16456
+ # @private
16457
+ class Representation < Google::Apis::Core::JsonRepresentation
16458
+ end
16459
+ end
16460
+
16461
+ class GoogleCloudAiplatformV1RagManagedDbConfigSpanner
16462
+ # @private
16463
+ class Representation < Google::Apis::Core::JsonRepresentation
16464
+ property :basic, as: 'basic', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigBasic, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigBasic::Representation
16465
+
16466
+ property :scaled, as: 'scaled', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigScaled, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigScaled::Representation
16467
+
16468
+ property :unprovisioned, as: 'unprovisioned', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned::Representation
16469
+
16470
+ end
16471
+ end
16472
+
16360
16473
  class GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned
16361
16474
  # @private
16362
16475
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -7462,7 +7462,11 @@ module Google
7462
7462
  execute_or_queue_command(command, &block)
7463
7463
  end
7464
7464
 
7465
- # Lists information about the supported locations for this service.
7465
+ # Lists information about the supported locations for this service. This method
7466
+ # can be called in two ways: * **List all public locations:** Use the path `GET /
7467
+ # v1/locations`. * **List project-visible locations:** Use the path `GET /v1/
7468
+ # projects/`project_id`/locations`. This may include public locations as well as
7469
+ # private or other locations specifically visible to the project.
7466
7470
  # @param [String] name
7467
7471
  # The resource that owns the locations collection, if applicable.
7468
7472
  # @param [Array<String>, String] extra_location_types
@@ -26235,6 +26239,51 @@ module Google
26235
26239
  execute_or_queue_command(command, &block)
26236
26240
  end
26237
26241
 
26242
+ # Gets the access control policy for a resource. Returns an empty policy if the
26243
+ # resource exists and does not have a policy set.
26244
+ # @param [String] resource
26245
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
26246
+ # names](https://cloud.google.com/apis/design/resource_names) for the
26247
+ # appropriate value for this field.
26248
+ # @param [Fixnum] options_requested_policy_version
26249
+ # Optional. The maximum policy version that will be used to format the policy.
26250
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
26251
+ # rejected. Requests for policies with any conditional role bindings must
26252
+ # specify version 3. Policies with no conditional role bindings may specify any
26253
+ # valid value or leave the field unset. The policy in the response might use the
26254
+ # policy version that you specified, or it might use a lower policy version. For
26255
+ # example, if you specify version 3, but the policy has no conditional role
26256
+ # bindings, the response uses version 1. To learn which resources support
26257
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
26258
+ # google.com/iam/help/conditions/resource-policies).
26259
+ # @param [String] fields
26260
+ # Selector specifying which fields to include in a partial response.
26261
+ # @param [String] quota_user
26262
+ # Available to use for quota purposes for server-side applications. Can be any
26263
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
26264
+ # @param [Google::Apis::RequestOptions] options
26265
+ # Request-specific options
26266
+ #
26267
+ # @yield [result, err] Result & error if block supplied
26268
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleIamV1Policy] parsed result object
26269
+ # @yieldparam err [StandardError] error object if request failed
26270
+ #
26271
+ # @return [Google::Apis::AiplatformV1::GoogleIamV1Policy]
26272
+ #
26273
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
26274
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
26275
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
26276
+ def get_project_location_reasoning_engine_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
26277
+ command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
26278
+ command.response_representation = Google::Apis::AiplatformV1::GoogleIamV1Policy::Representation
26279
+ command.response_class = Google::Apis::AiplatformV1::GoogleIamV1Policy
26280
+ command.params['resource'] = resource unless resource.nil?
26281
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
26282
+ command.query['fields'] = fields unless fields.nil?
26283
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
26284
+ execute_or_queue_command(command, &block)
26285
+ end
26286
+
26238
26287
  # Lists reasoning engines in a location.
26239
26288
  # @param [String] parent
26240
26289
  # Required. The resource name of the Location to list the ReasoningEngines from.
@@ -26347,6 +26396,43 @@ module Google
26347
26396
  execute_or_queue_command(command, &block)
26348
26397
  end
26349
26398
 
26399
+ # Sets the access control policy on the specified resource. Replaces any
26400
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
26401
+ # PERMISSION_DENIED` errors.
26402
+ # @param [String] resource
26403
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
26404
+ # names](https://cloud.google.com/apis/design/resource_names) for the
26405
+ # appropriate value for this field.
26406
+ # @param [Google::Apis::AiplatformV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
26407
+ # @param [String] fields
26408
+ # Selector specifying which fields to include in a partial response.
26409
+ # @param [String] quota_user
26410
+ # Available to use for quota purposes for server-side applications. Can be any
26411
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
26412
+ # @param [Google::Apis::RequestOptions] options
26413
+ # Request-specific options
26414
+ #
26415
+ # @yield [result, err] Result & error if block supplied
26416
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleIamV1Policy] parsed result object
26417
+ # @yieldparam err [StandardError] error object if request failed
26418
+ #
26419
+ # @return [Google::Apis::AiplatformV1::GoogleIamV1Policy]
26420
+ #
26421
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
26422
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
26423
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
26424
+ def set_project_location_reasoning_engine_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
26425
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
26426
+ command.request_representation = Google::Apis::AiplatformV1::GoogleIamV1SetIamPolicyRequest::Representation
26427
+ command.request_object = google_iam_v1_set_iam_policy_request_object
26428
+ command.response_representation = Google::Apis::AiplatformV1::GoogleIamV1Policy::Representation
26429
+ command.response_class = Google::Apis::AiplatformV1::GoogleIamV1Policy
26430
+ command.params['resource'] = resource unless resource.nil?
26431
+ command.query['fields'] = fields unless fields.nil?
26432
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
26433
+ execute_or_queue_command(command, &block)
26434
+ end
26435
+
26350
26436
  # Streams queries using a reasoning engine.
26351
26437
  # @param [String] name
26352
26438
  # Required. The name of the ReasoningEngine resource to use. Format: `projects/`
@@ -26381,6 +26467,47 @@ module Google
26381
26467
  execute_or_queue_command(command, &block)
26382
26468
  end
26383
26469
 
26470
+ # Returns permissions that a caller has on the specified resource. If the
26471
+ # resource does not exist, this will return an empty set of permissions, not a `
26472
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
26473
+ # permission-aware UIs and command-line tools, not for authorization checking.
26474
+ # This operation may "fail open" without warning.
26475
+ # @param [String] resource
26476
+ # REQUIRED: The resource for which the policy detail is being requested. See [
26477
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
26478
+ # appropriate value for this field.
26479
+ # @param [Array<String>, String] permissions
26480
+ # The set of permissions to check for the `resource`. Permissions with wildcards
26481
+ # (such as `*` or `storage.*`) are not allowed. For more information see [IAM
26482
+ # Overview](https://cloud.google.com/iam/docs/overview#permissions).
26483
+ # @param [String] fields
26484
+ # Selector specifying which fields to include in a partial response.
26485
+ # @param [String] quota_user
26486
+ # Available to use for quota purposes for server-side applications. Can be any
26487
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
26488
+ # @param [Google::Apis::RequestOptions] options
26489
+ # Request-specific options
26490
+ #
26491
+ # @yield [result, err] Result & error if block supplied
26492
+ # @yieldparam result [Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
26493
+ # @yieldparam err [StandardError] error object if request failed
26494
+ #
26495
+ # @return [Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse]
26496
+ #
26497
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
26498
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
26499
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
26500
+ def test_project_location_reasoning_engine_iam_permissions(resource, permissions: nil, fields: nil, quota_user: nil, options: nil, &block)
26501
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
26502
+ command.response_representation = Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse::Representation
26503
+ command.response_class = Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse
26504
+ command.params['resource'] = resource unless resource.nil?
26505
+ command.query['permissions'] = permissions unless permissions.nil?
26506
+ command.query['fields'] = fields unless fields.nil?
26507
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
26508
+ execute_or_queue_command(command, &block)
26509
+ end
26510
+
26384
26511
  # Create a Memory.
26385
26512
  # @param [String] parent
26386
26513
  # Required. The resource name of the ReasoningEngine to create the Memory under.
@@ -31982,16 +32109,15 @@ module Google
31982
32109
  execute_or_queue_command(command, &block)
31983
32110
  end
31984
32111
 
31985
- # Cancels a TuningJob. Starts asynchronous cancellation on the TuningJob. The
31986
- # server makes a best effort to cancel the job, but success is not guaranteed.
31987
- # Clients can use GenAiTuningService.GetTuningJob or other methods to check
31988
- # whether the cancellation succeeded or whether the job completed despite
31989
- # cancellation. On successful cancellation, the TuningJob is not deleted;
31990
- # instead it becomes a job with a TuningJob.error value with a google.rpc.Status.
31991
- # code of 1, corresponding to `Code.CANCELLED`, and TuningJob.state is set to `
31992
- # CANCELLED`.
31993
- # @param [String] name
31994
- # Required. The name of the TuningJob to cancel. Format: `projects/`project`/
32112
+ # Cancels a tuning job. Starts an asynchronous cancellation request. The server
32113
+ # makes a best effort to cancel the job, but success is not guaranteed. Clients
32114
+ # can use GenAiTuningService.GetTuningJob or other methods to check whether the
32115
+ # cancellation succeeded or whether the job completed despite cancellation. On
32116
+ # successful cancellation, the tuning job is not deleted. Instead, its state is
32117
+ # set to `CANCELLED`, and `error` is set to a status with a `google.rpc.Status.
32118
+ # code` of 1, corresponding to `Code.CANCELLED`.
32119
+ # @param [String] name
32120
+ # Required. The name of the tuning job to cancel. Format: `projects/`project`/
31995
32121
  # locations/`location`/tuningJobs/`tuning_job``
31996
32122
  # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CancelTuningJobRequest] google_cloud_aiplatform_v1_cancel_tuning_job_request_object
31997
32123
  # @param [String] fields
@@ -32023,11 +32149,11 @@ module Google
32023
32149
  execute_or_queue_command(command, &block)
32024
32150
  end
32025
32151
 
32026
- # Creates a TuningJob. A created TuningJob right away will be attempted to be
32027
- # run.
32152
+ # Creates a tuning job. A created tuning job will be subsequently executed to
32153
+ # start the model tuning process.
32028
32154
  # @param [String] parent
32029
- # Required. The resource name of the Location to create the TuningJob in. Format:
32030
- # `projects/`project`/locations/`location``
32155
+ # Required. The resource name of the location to create the tuning job in.
32156
+ # Format: `projects/`project`/locations/`location``
32031
32157
  # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TuningJob] google_cloud_aiplatform_v1_tuning_job_object
32032
32158
  # @param [String] fields
32033
32159
  # Selector specifying which fields to include in a partial response.
@@ -32058,9 +32184,9 @@ module Google
32058
32184
  execute_or_queue_command(command, &block)
32059
32185
  end
32060
32186
 
32061
- # Gets a TuningJob.
32187
+ # Gets a tuning job.
32062
32188
  # @param [String] name
32063
- # Required. The name of the TuningJob resource. Format: `projects/`project`/
32189
+ # Required. The name of the tuning job to retrieve. Format: `projects/`project`/
32064
32190
  # locations/`location`/tuningJobs/`tuning_job``
32065
32191
  # @param [String] fields
32066
32192
  # Selector specifying which fields to include in a partial response.
@@ -32089,18 +32215,18 @@ module Google
32089
32215
  execute_or_queue_command(command, &block)
32090
32216
  end
32091
32217
 
32092
- # Lists TuningJobs in a Location.
32218
+ # Lists tuning jobs in a location.
32093
32219
  # @param [String] parent
32094
- # Required. The resource name of the Location to list the TuningJobs from.
32220
+ # Required. The resource name of the location to list the tuning jobs from.
32095
32221
  # Format: `projects/`project`/locations/`location``
32096
32222
  # @param [String] filter
32097
32223
  # Optional. The standard list filter.
32098
32224
  # @param [Fixnum] page_size
32099
32225
  # Optional. The standard list page size.
32100
32226
  # @param [String] page_token
32101
- # Optional. The standard list page token. Typically obtained via
32227
+ # Optional. The standard list page token. Typically obtained from
32102
32228
  # ListTuningJobsResponse.next_page_token of the previous GenAiTuningService.
32103
- # ListTuningJob][] call.
32229
+ # ListTuningJobs call.
32104
32230
  # @param [String] fields
32105
32231
  # Selector specifying which fields to include in a partial response.
32106
32232
  # @param [String] quota_user
@@ -32131,9 +32257,11 @@ module Google
32131
32257
  execute_or_queue_command(command, &block)
32132
32258
  end
32133
32259
 
32134
- # Rebase a TunedModel.
32260
+ # Rebase a tuned model. A rebase operation takes a model that was previously
32261
+ # tuned on a base model version, and retunes it on a new base model version. The
32262
+ # rebase operation creates a new tuning job and a new tuned model.
32135
32263
  # @param [String] parent
32136
- # Required. The resource name of the Location into which to rebase the Model.
32264
+ # Required. The resource name of the location in which to rebase the Model.
32137
32265
  # Format: `projects/`project`/locations/`location``
32138
32266
  # @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RebaseTunedModelRequest] google_cloud_aiplatform_v1_rebase_tuned_model_request_object
32139
32267
  # @param [String] fields
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.79.0
4
+ version: 0.80.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.79.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.80.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: