google-apis-aiplatform_v1 0.33.0 → 0.35.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.
@@ -80,7 +80,7 @@ module Google
80
80
  # @return [Google::Apis::AiplatformV1::CloudAiLargeModelsVisionImageRaiScores]
81
81
  attr_accessor :image_rai_scores
82
82
 
83
- # RAI info for image.
83
+ # Next ID: 6
84
84
  # Corresponds to the JSON property `raiInfo`
85
85
  # @return [Google::Apis::AiplatformV1::CloudAiLargeModelsVisionRaiInfo]
86
86
  attr_accessor :rai_info
@@ -216,10 +216,15 @@ module Google
216
216
  end
217
217
  end
218
218
 
219
- #
219
+ # Next ID: 6
220
220
  class CloudAiLargeModelsVisionRaiInfo
221
221
  include Google::Apis::Core::Hashable
222
222
 
223
+ # List of blocked entities from the blocklist if it is detected.
224
+ # Corresponds to the JSON property `blockedEntities`
225
+ # @return [Array<String>]
226
+ attr_accessor :blocked_entities
227
+
223
228
  # The list of detected labels for different rai categories.
224
229
  # Corresponds to the JSON property `detectedLabels`
225
230
  # @return [Array<Google::Apis::AiplatformV1::CloudAiLargeModelsVisionRaiInfoDetectedLabels>]
@@ -249,6 +254,7 @@ module Google
249
254
 
250
255
  # Update properties of this object
251
256
  def update!(**args)
257
+ @blocked_entities = args[:blocked_entities] if args.key?(:blocked_entities)
252
258
  @detected_labels = args[:detected_labels] if args.key?(:detected_labels)
253
259
  @model_name = args[:model_name] if args.key?(:model_name)
254
260
  @rai_categories = args[:rai_categories] if args.key?(:rai_categories)
@@ -2476,6 +2482,11 @@ module Google
2476
2482
  # @return [Fixnum]
2477
2483
  attr_accessor :index
2478
2484
 
2485
+ # Logprobs Result
2486
+ # Corresponds to the JSON property `logprobsResult`
2487
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LogprobsResult]
2488
+ attr_accessor :logprobs_result
2489
+
2479
2490
  # Output only. List of ratings for the safety of a response candidate. There is
2480
2491
  # at most one rating per category.
2481
2492
  # Corresponds to the JSON property `safetyRatings`
@@ -2495,6 +2506,7 @@ module Google
2495
2506
  @finish_reason = args[:finish_reason] if args.key?(:finish_reason)
2496
2507
  @grounding_metadata = args[:grounding_metadata] if args.key?(:grounding_metadata)
2497
2508
  @index = args[:index] if args.key?(:index)
2509
+ @logprobs_result = args[:logprobs_result] if args.key?(:logprobs_result)
2498
2510
  @safety_ratings = args[:safety_ratings] if args.key?(:safety_ratings)
2499
2511
  end
2500
2512
  end
@@ -3150,6 +3162,11 @@ module Google
3150
3162
  # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content>]
3151
3163
  attr_accessor :contents
3152
3164
 
3165
+ # Generation config.
3166
+ # Corresponds to the JSON property `generationConfig`
3167
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerationConfig]
3168
+ attr_accessor :generation_config
3169
+
3153
3170
  # Optional. The instances that are the input to token counting call. Schema is
3154
3171
  # identical to the prediction schema of the underlying model.
3155
3172
  # Corresponds to the JSON property `instances`
@@ -3185,6 +3202,7 @@ module Google
3185
3202
  # Update properties of this object
3186
3203
  def update!(**args)
3187
3204
  @contents = args[:contents] if args.key?(:contents)
3205
+ @generation_config = args[:generation_config] if args.key?(:generation_config)
3188
3206
  @instances = args[:instances] if args.key?(:instances)
3189
3207
  @model = args[:model] if args.key?(:model)
3190
3208
  @system_instruction = args[:system_instruction] if args.key?(:system_instruction)
@@ -3566,6 +3584,38 @@ module Google
3566
3584
  end
3567
3585
  end
3568
3586
 
3587
+ # Request message for [NotebookService.CreateNotebookExecutionJob]
3588
+ class GoogleCloudAiplatformV1CreateNotebookExecutionJobRequest
3589
+ include Google::Apis::Core::Hashable
3590
+
3591
+ # NotebookExecutionJob represents an instance of a notebook execution.
3592
+ # Corresponds to the JSON property `notebookExecutionJob`
3593
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookExecutionJob]
3594
+ attr_accessor :notebook_execution_job
3595
+
3596
+ # Optional. User specified ID for the NotebookExecutionJob.
3597
+ # Corresponds to the JSON property `notebookExecutionJobId`
3598
+ # @return [String]
3599
+ attr_accessor :notebook_execution_job_id
3600
+
3601
+ # Required. The resource name of the Location to create the NotebookExecutionJob.
3602
+ # Format: `projects/`project`/locations/`location``
3603
+ # Corresponds to the JSON property `parent`
3604
+ # @return [String]
3605
+ attr_accessor :parent
3606
+
3607
+ def initialize(**args)
3608
+ update!(**args)
3609
+ end
3610
+
3611
+ # Update properties of this object
3612
+ def update!(**args)
3613
+ @notebook_execution_job = args[:notebook_execution_job] if args.key?(:notebook_execution_job)
3614
+ @notebook_execution_job_id = args[:notebook_execution_job_id] if args.key?(:notebook_execution_job_id)
3615
+ @parent = args[:parent] if args.key?(:parent)
3616
+ end
3617
+ end
3618
+
3569
3619
  # Metadata information for NotebookService.CreateNotebookRuntimeTemplate.
3570
3620
  class GoogleCloudAiplatformV1CreateNotebookRuntimeTemplateOperationMetadata
3571
3621
  include Google::Apis::Core::Hashable
@@ -5087,6 +5137,13 @@ module Google
5087
5137
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1IndexPrivateEndpoints]
5088
5138
  attr_accessor :private_endpoints
5089
5139
 
5140
+ # Optional. If set for PSC deployed index, PSC connection will be automatically
5141
+ # created after deployment is done and the endpoint information is populated in
5142
+ # private_endpoints.psc_automated_endpoints.
5143
+ # Corresponds to the JSON property `pscAutomationConfigs`
5144
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PscAutomationConfig>]
5145
+ attr_accessor :psc_automation_configs
5146
+
5090
5147
  # Optional. A list of reserved ip ranges under the VPC network that can be used
5091
5148
  # for this DeployedIndex. If set, we will deploy the index within the provided
5092
5149
  # ip ranges. Otherwise, the index might be deployed to any ip ranges under the
@@ -5116,6 +5173,7 @@ module Google
5116
5173
  @index = args[:index] if args.key?(:index)
5117
5174
  @index_sync_time = args[:index_sync_time] if args.key?(:index_sync_time)
5118
5175
  @private_endpoints = args[:private_endpoints] if args.key?(:private_endpoints)
5176
+ @psc_automation_configs = args[:psc_automation_configs] if args.key?(:psc_automation_configs)
5119
5177
  @reserved_ip_ranges = args[:reserved_ip_ranges] if args.key?(:reserved_ip_ranges)
5120
5178
  end
5121
5179
  end
@@ -8154,12 +8212,31 @@ module Google
8154
8212
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BigQuerySource]
8155
8213
  attr_accessor :big_query_source
8156
8214
 
8215
+ # Optional. If set, all feature values will be fetched from a single row per
8216
+ # unique entityId including nulls. If not set, will collapse all rows for each
8217
+ # unique entityId into a singe row with any non-null values if present, if no
8218
+ # non-null values are present will sync null. ex: If source has schema `(
8219
+ # entity_id, feature_timestamp, f0, f1)` and the following rows: `(e1, 2020-01-
8220
+ # 01T10:00:00.123Z, 10, 15)` `(e1, 2020-02-01T10:00:00.123Z, 20, null)` If dense
8221
+ # is set, `(e1, 20, null)` is synced to online stores. If dense is not set, `(e1,
8222
+ # 20, 15)` is synced to online stores.
8223
+ # Corresponds to the JSON property `dense`
8224
+ # @return [Boolean]
8225
+ attr_accessor :dense
8226
+ alias_method :dense?, :dense
8227
+
8157
8228
  # Optional. Columns to construct entity_id / row keys. If not provided defaults
8158
8229
  # to `entity_id`.
8159
8230
  # Corresponds to the JSON property `entityIdColumns`
8160
8231
  # @return [Array<String>]
8161
8232
  attr_accessor :entity_id_columns
8162
8233
 
8234
+ # Optional. Set if the data source is not a time-series.
8235
+ # Corresponds to the JSON property `staticDataSource`
8236
+ # @return [Boolean]
8237
+ attr_accessor :static_data_source
8238
+ alias_method :static_data_source?, :static_data_source
8239
+
8163
8240
  # Optional. If the source is a time-series source, this can be set to control
8164
8241
  # how downstream sources (ex: FeatureView ) will treat time-series sources. If
8165
8242
  # not set, will treat the source as a time-series source with `feature_timestamp`
@@ -8175,7 +8252,9 @@ module Google
8175
8252
  # Update properties of this object
8176
8253
  def update!(**args)
8177
8254
  @big_query_source = args[:big_query_source] if args.key?(:big_query_source)
8255
+ @dense = args[:dense] if args.key?(:dense)
8178
8256
  @entity_id_columns = args[:entity_id_columns] if args.key?(:entity_id_columns)
8257
+ @static_data_source = args[:static_data_source] if args.key?(:static_data_source)
8179
8258
  @time_series = args[:time_series] if args.key?(:time_series)
8180
8259
  end
8181
8260
  end
@@ -8821,6 +8900,11 @@ module Google
8821
8900
  # @return [String]
8822
8901
  attr_accessor :update_time
8823
8902
 
8903
+ # A Vertex Rag source for features that need to be synced to Online Store.
8904
+ # Corresponds to the JSON property `vertexRagSource`
8905
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewVertexRagSource]
8906
+ attr_accessor :vertex_rag_source
8907
+
8824
8908
  def initialize(**args)
8825
8909
  update!(**args)
8826
8910
  end
@@ -8838,6 +8922,7 @@ module Google
8838
8922
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
8839
8923
  @sync_config = args[:sync_config] if args.key?(:sync_config)
8840
8924
  @update_time = args[:update_time] if args.key?(:update_time)
8925
+ @vertex_rag_source = args[:vertex_rag_source] if args.key?(:vertex_rag_source)
8841
8926
  end
8842
8927
  end
8843
8928
 
@@ -9184,6 +9269,36 @@ module Google
9184
9269
  end
9185
9270
  end
9186
9271
 
9272
+ # A Vertex Rag source for features that need to be synced to Online Store.
9273
+ class GoogleCloudAiplatformV1FeatureViewVertexRagSource
9274
+ include Google::Apis::Core::Hashable
9275
+
9276
+ # Optional. The RAG corpus id corresponding to this FeatureView.
9277
+ # Corresponds to the JSON property `ragCorpusId`
9278
+ # @return [Fixnum]
9279
+ attr_accessor :rag_corpus_id
9280
+
9281
+ # Required. The BigQuery view/table URI that will be materialized on each manual
9282
+ # sync trigger. The table/view is expected to have the following columns and
9283
+ # types at least: - `corpus_id` (STRING, NULLABLE/REQUIRED) - `file_id` (STRING,
9284
+ # NULLABLE/REQUIRED) - `chunk_id` (STRING, NULLABLE/REQUIRED) - `chunk_data_type`
9285
+ # (STRING, NULLABLE/REQUIRED) - `chunk_data` (STRING, NULLABLE/REQUIRED) - `
9286
+ # embeddings` (FLOAT, REPEATED) - `file_original_uri` (STRING, NULLABLE/REQUIRED)
9287
+ # Corresponds to the JSON property `uri`
9288
+ # @return [String]
9289
+ attr_accessor :uri
9290
+
9291
+ def initialize(**args)
9292
+ update!(**args)
9293
+ end
9294
+
9295
+ # Update properties of this object
9296
+ def update!(**args)
9297
+ @rag_corpus_id = args[:rag_corpus_id] if args.key?(:rag_corpus_id)
9298
+ @uri = args[:uri] if args.key?(:uri)
9299
+ end
9300
+ end
9301
+
9187
9302
  # Vertex AI Feature Store provides a centralized repository for organizing,
9188
9303
  # storing, and serving ML features. The Featurestore is a top-level container
9189
9304
  # for your features and their values.
@@ -10172,11 +10287,18 @@ module Google
10172
10287
 
10173
10288
  # Schema is used to define the format of input/output data. Represents a select
10174
10289
  # subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#
10175
- # schema). More fields may be added in the future as needed.
10290
+ # schema-object). More fields may be added in the future as needed.
10176
10291
  # Corresponds to the JSON property `parameters`
10177
10292
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema]
10178
10293
  attr_accessor :parameters
10179
10294
 
10295
+ # Schema is used to define the format of input/output data. Represents a select
10296
+ # subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#
10297
+ # schema-object). More fields may be added in the future as needed.
10298
+ # Corresponds to the JSON property `response`
10299
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema]
10300
+ attr_accessor :response
10301
+
10180
10302
  def initialize(**args)
10181
10303
  update!(**args)
10182
10304
  end
@@ -10186,6 +10308,7 @@ module Google
10186
10308
  @description = args[:description] if args.key?(:description)
10187
10309
  @name = args[:name] if args.key?(:name)
10188
10310
  @parameters = args[:parameters] if args.key?(:parameters)
10311
+ @response = args[:response] if args.key?(:response)
10189
10312
  end
10190
10313
  end
10191
10314
 
@@ -10202,7 +10325,10 @@ module Google
10202
10325
  # @return [String]
10203
10326
  attr_accessor :name
10204
10327
 
10205
- # Required. The function response in JSON object format.
10328
+ # Required. The function response in JSON object format. Use "output" key to
10329
+ # specify function output and "error" key to specify error details (if any). If "
10330
+ # output" and "error" keys are not specified, then whole "response" is treated
10331
+ # as function output.
10206
10332
  # Corresponds to the JSON property `response`
10207
10333
  # @return [Hash<String,Object>]
10208
10334
  attr_accessor :response
@@ -10276,6 +10402,15 @@ module Google
10276
10402
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerationConfig]
10277
10403
  attr_accessor :generation_config
10278
10404
 
10405
+ # Optional. The labels with user-defined metadata for the request. It is used
10406
+ # for billing and reporting only. Label keys and values can be no longer than 63
10407
+ # characters (Unicode codepoints) and can only contain lowercase letters,
10408
+ # numeric characters, underscores, and dashes. International characters are
10409
+ # allowed. Label values are optional. Label keys must start with a letter.
10410
+ # Corresponds to the JSON property `labels`
10411
+ # @return [Hash<String,String>]
10412
+ attr_accessor :labels
10413
+
10279
10414
  # Optional. Per request settings for blocking unsafe content. Enforced on
10280
10415
  # GenerateContentResponse.candidates.
10281
10416
  # Corresponds to the JSON property `safetySettings`
@@ -10311,6 +10446,7 @@ module Google
10311
10446
  def update!(**args)
10312
10447
  @contents = args[:contents] if args.key?(:contents)
10313
10448
  @generation_config = args[:generation_config] if args.key?(:generation_config)
10449
+ @labels = args[:labels] if args.key?(:labels)
10314
10450
  @safety_settings = args[:safety_settings] if args.key?(:safety_settings)
10315
10451
  @system_instruction = args[:system_instruction] if args.key?(:system_instruction)
10316
10452
  @tool_config = args[:tool_config] if args.key?(:tool_config)
@@ -10327,6 +10463,11 @@ module Google
10327
10463
  # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Candidate>]
10328
10464
  attr_accessor :candidates
10329
10465
 
10466
+ # Output only. The model version used to generate the response.
10467
+ # Corresponds to the JSON property `modelVersion`
10468
+ # @return [String]
10469
+ attr_accessor :model_version
10470
+
10330
10471
  # Content filter results for a prompt sent in the request.
10331
10472
  # Corresponds to the JSON property `promptFeedback`
10332
10473
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback]
@@ -10344,6 +10485,7 @@ module Google
10344
10485
  # Update properties of this object
10345
10486
  def update!(**args)
10346
10487
  @candidates = args[:candidates] if args.key?(:candidates)
10488
+ @model_version = args[:model_version] if args.key?(:model_version)
10347
10489
  @prompt_feedback = args[:prompt_feedback] if args.key?(:prompt_feedback)
10348
10490
  @usage_metadata = args[:usage_metadata] if args.key?(:usage_metadata)
10349
10491
  end
@@ -10396,7 +10538,7 @@ module Google
10396
10538
  # @return [Fixnum]
10397
10539
  attr_accessor :prompt_token_count
10398
10540
 
10399
- #
10541
+ # Total token count for prompt and response candidates.
10400
10542
  # Corresponds to the JSON property `totalTokenCount`
10401
10543
  # @return [Fixnum]
10402
10544
  attr_accessor :total_token_count
@@ -10427,6 +10569,11 @@ module Google
10427
10569
  # @return [Float]
10428
10570
  attr_accessor :frequency_penalty
10429
10571
 
10572
+ # Optional. Logit probabilities.
10573
+ # Corresponds to the JSON property `logprobs`
10574
+ # @return [Fixnum]
10575
+ attr_accessor :logprobs
10576
+
10430
10577
  # Optional. The maximum number of output tokens to generate per message.
10431
10578
  # Corresponds to the JSON property `maxOutputTokens`
10432
10579
  # @return [Fixnum]
@@ -10437,6 +10584,12 @@ module Google
10437
10584
  # @return [Float]
10438
10585
  attr_accessor :presence_penalty
10439
10586
 
10587
+ # Optional. If true, export the logprobs results in response.
10588
+ # Corresponds to the JSON property `responseLogprobs`
10589
+ # @return [Boolean]
10590
+ attr_accessor :response_logprobs
10591
+ alias_method :response_logprobs?, :response_logprobs
10592
+
10440
10593
  # Optional. Output response mimetype of the generated candidate text. Supported
10441
10594
  # mimetype: - `text/plain`: (default) Text output. - `application/json`: JSON
10442
10595
  # response in the candidates. The model needs to be prompted to output the
@@ -10448,7 +10601,7 @@ module Google
10448
10601
 
10449
10602
  # Schema is used to define the format of input/output data. Represents a select
10450
10603
  # subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#
10451
- # schema). More fields may be added in the future as needed.
10604
+ # schema-object). More fields may be added in the future as needed.
10452
10605
  # Corresponds to the JSON property `responseSchema`
10453
10606
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema]
10454
10607
  attr_accessor :response_schema
@@ -10491,8 +10644,10 @@ module Google
10491
10644
  def update!(**args)
10492
10645
  @candidate_count = args[:candidate_count] if args.key?(:candidate_count)
10493
10646
  @frequency_penalty = args[:frequency_penalty] if args.key?(:frequency_penalty)
10647
+ @logprobs = args[:logprobs] if args.key?(:logprobs)
10494
10648
  @max_output_tokens = args[:max_output_tokens] if args.key?(:max_output_tokens)
10495
10649
  @presence_penalty = args[:presence_penalty] if args.key?(:presence_penalty)
10650
+ @response_logprobs = args[:response_logprobs] if args.key?(:response_logprobs)
10496
10651
  @response_mime_type = args[:response_mime_type] if args.key?(:response_mime_type)
10497
10652
  @response_schema = args[:response_schema] if args.key?(:response_schema)
10498
10653
  @routing_config = args[:routing_config] if args.key?(:routing_config)
@@ -13413,6 +13568,82 @@ module Google
13413
13568
  end
13414
13569
  end
13415
13570
 
13571
+ # Logprobs Result
13572
+ class GoogleCloudAiplatformV1LogprobsResult
13573
+ include Google::Apis::Core::Hashable
13574
+
13575
+ # Length = total number of decoding steps. The chosen candidates may or may not
13576
+ # be in top_candidates.
13577
+ # Corresponds to the JSON property `chosenCandidates`
13578
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LogprobsResultCandidate>]
13579
+ attr_accessor :chosen_candidates
13580
+
13581
+ # Length = total number of decoding steps.
13582
+ # Corresponds to the JSON property `topCandidates`
13583
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LogprobsResultTopCandidates>]
13584
+ attr_accessor :top_candidates
13585
+
13586
+ def initialize(**args)
13587
+ update!(**args)
13588
+ end
13589
+
13590
+ # Update properties of this object
13591
+ def update!(**args)
13592
+ @chosen_candidates = args[:chosen_candidates] if args.key?(:chosen_candidates)
13593
+ @top_candidates = args[:top_candidates] if args.key?(:top_candidates)
13594
+ end
13595
+ end
13596
+
13597
+ # Candidate for the logprobs token and score.
13598
+ class GoogleCloudAiplatformV1LogprobsResultCandidate
13599
+ include Google::Apis::Core::Hashable
13600
+
13601
+ # The candidate's log probability.
13602
+ # Corresponds to the JSON property `logProbability`
13603
+ # @return [Float]
13604
+ attr_accessor :log_probability
13605
+
13606
+ # The candidate’s token string value.
13607
+ # Corresponds to the JSON property `token`
13608
+ # @return [String]
13609
+ attr_accessor :token
13610
+
13611
+ # The candidate’s token id value.
13612
+ # Corresponds to the JSON property `tokenId`
13613
+ # @return [Fixnum]
13614
+ attr_accessor :token_id
13615
+
13616
+ def initialize(**args)
13617
+ update!(**args)
13618
+ end
13619
+
13620
+ # Update properties of this object
13621
+ def update!(**args)
13622
+ @log_probability = args[:log_probability] if args.key?(:log_probability)
13623
+ @token = args[:token] if args.key?(:token)
13624
+ @token_id = args[:token_id] if args.key?(:token_id)
13625
+ end
13626
+ end
13627
+
13628
+ # Candidates with top log probabilities at each decoding step.
13629
+ class GoogleCloudAiplatformV1LogprobsResultTopCandidates
13630
+ include Google::Apis::Core::Hashable
13631
+
13632
+ # Sorted by log probability in descending order.
13633
+ # Corresponds to the JSON property `candidates`
13634
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LogprobsResultCandidate>]
13635
+ attr_accessor :candidates
13636
+
13637
+ def initialize(**args)
13638
+ update!(**args)
13639
+ end
13640
+
13641
+ # Update properties of this object
13642
+ def update!(**args)
13643
+ @candidates = args[:candidates] if args.key?(:candidates)
13644
+ end
13645
+ end
13646
+
13416
13647
  # Request message for VizierService.LookupStudy.
13417
13648
  class GoogleCloudAiplatformV1LookupStudyRequest
13418
13649
  include Google::Apis::Core::Hashable
@@ -17481,6 +17712,36 @@ module Google
17481
17712
  end
17482
17713
  end
17483
17714
 
17715
+ # PSC config that is used to automatically create forwarding rule via
17716
+ # ServiceConnectionMap.
17717
+ class GoogleCloudAiplatformV1PscAutomationConfig
17718
+ include Google::Apis::Core::Hashable
17719
+
17720
+ # Required. The full name of the Google Compute Engine [network](https://cloud.
17721
+ # google.com/compute/docs/networks-and-firewalls#networks). [Format](https://
17722
+ # cloud.google.com/compute/docs/reference/rest/v1/networks/insert): `projects/`
17723
+ # project`/global/networks/`network``. Where `project` is a project number, as
17724
+ # in '12345', and `network` is network name.
17725
+ # Corresponds to the JSON property `network`
17726
+ # @return [String]
17727
+ attr_accessor :network
17728
+
17729
+ # Required. Project id used to create forwarding rule.
17730
+ # Corresponds to the JSON property `projectId`
17731
+ # @return [String]
17732
+ attr_accessor :project_id
17733
+
17734
+ def initialize(**args)
17735
+ update!(**args)
17736
+ end
17737
+
17738
+ # Update properties of this object
17739
+ def update!(**args)
17740
+ @network = args[:network] if args.key?(:network)
17741
+ @project_id = args[:project_id] if args.key?(:project_id)
17742
+ end
17743
+ end
17744
+
17484
17745
  # Input for pairwise metric.
17485
17746
  class GoogleCloudAiplatformV1PairwiseMetricInput
17486
17747
  include Google::Apis::Core::Hashable
@@ -20887,6 +21148,46 @@ module Google
20887
21148
  end
20888
21149
  end
20889
21150
 
21151
+ # Request message for GenAiTuningService.RebaseTunedModel.
21152
+ class GoogleCloudAiplatformV1RebaseTunedModelRequest
21153
+ include Google::Apis::Core::Hashable
21154
+
21155
+ # The Google Cloud Storage location where the output is to be written to.
21156
+ # Corresponds to the JSON property `artifactDestination`
21157
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GcsDestination]
21158
+ attr_accessor :artifact_destination
21159
+
21160
+ # Optional. By default, bison to gemini migration will always create new model/
21161
+ # endpoint, but for gemini-1.0 to gemini-1.5 migration, we default deploy to the
21162
+ # same endpoint. See details in this Section.
21163
+ # Corresponds to the JSON property `deployToSameEndpoint`
21164
+ # @return [Boolean]
21165
+ attr_accessor :deploy_to_same_endpoint
21166
+ alias_method :deploy_to_same_endpoint?, :deploy_to_same_endpoint
21167
+
21168
+ # TunedModel Reference for legacy model migration.
21169
+ # Corresponds to the JSON property `tunedModelRef`
21170
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TunedModelRef]
21171
+ attr_accessor :tuned_model_ref
21172
+
21173
+ # Represents a TuningJob that runs with Google owned models.
21174
+ # Corresponds to the JSON property `tuningJob`
21175
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TuningJob]
21176
+ attr_accessor :tuning_job
21177
+
21178
+ def initialize(**args)
21179
+ update!(**args)
21180
+ end
21181
+
21182
+ # Update properties of this object
21183
+ def update!(**args)
21184
+ @artifact_destination = args[:artifact_destination] if args.key?(:artifact_destination)
21185
+ @deploy_to_same_endpoint = args[:deploy_to_same_endpoint] if args.key?(:deploy_to_same_endpoint)
21186
+ @tuned_model_ref = args[:tuned_model_ref] if args.key?(:tuned_model_ref)
21187
+ @tuning_job = args[:tuning_job] if args.key?(:tuning_job)
21188
+ end
21189
+ end
21190
+
20890
21191
  # Details of operations that perform reboot PersistentResource.
20891
21192
  class GoogleCloudAiplatformV1RebootPersistentResourceOperationMetadata
20892
21193
  include Google::Apis::Core::Hashable
@@ -21785,6 +22086,11 @@ module Google
21785
22086
  attr_accessor :catch_up
21786
22087
  alias_method :catch_up?, :catch_up
21787
22088
 
22089
+ # Request message for [NotebookService.CreateNotebookExecutionJob]
22090
+ # Corresponds to the JSON property `createNotebookExecutionJobRequest`
22091
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CreateNotebookExecutionJobRequest]
22092
+ attr_accessor :create_notebook_execution_job_request
22093
+
21788
22094
  # Request message for PipelineService.CreatePipelineJob.
21789
22095
  # Corresponds to the JSON property `createPipelineJobRequest`
21790
22096
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CreatePipelineJobRequest]
@@ -21892,6 +22198,7 @@ module Google
21892
22198
  def update!(**args)
21893
22199
  @allow_queueing = args[:allow_queueing] if args.key?(:allow_queueing)
21894
22200
  @catch_up = args[:catch_up] if args.key?(:catch_up)
22201
+ @create_notebook_execution_job_request = args[:create_notebook_execution_job_request] if args.key?(:create_notebook_execution_job_request)
21895
22202
  @create_pipeline_job_request = args[:create_pipeline_job_request] if args.key?(:create_pipeline_job_request)
21896
22203
  @create_time = args[:create_time] if args.key?(:create_time)
21897
22204
  @cron = args[:cron] if args.key?(:cron)
@@ -21990,10 +22297,16 @@ module Google
21990
22297
 
21991
22298
  # Schema is used to define the format of input/output data. Represents a select
21992
22299
  # subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#
21993
- # schema). More fields may be added in the future as needed.
22300
+ # schema-object). More fields may be added in the future as needed.
21994
22301
  class GoogleCloudAiplatformV1Schema
21995
22302
  include Google::Apis::Core::Hashable
21996
22303
 
22304
+ # Optional. The value should be validated against any (one or more) of the
22305
+ # subschemas in the list.
22306
+ # Corresponds to the JSON property `anyOf`
22307
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema>]
22308
+ attr_accessor :any_of
22309
+
21997
22310
  # Optional. Default value of the data.
21998
22311
  # Corresponds to the JSON property `default`
21999
22312
  # @return [Object]
@@ -22026,7 +22339,7 @@ module Google
22026
22339
 
22027
22340
  # Schema is used to define the format of input/output data. Represents a select
22028
22341
  # subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#
22029
- # schema). More fields may be added in the future as needed.
22342
+ # schema-object). More fields may be added in the future as needed.
22030
22343
  # Corresponds to the JSON property `items`
22031
22344
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema]
22032
22345
  attr_accessor :items
@@ -22089,6 +22402,12 @@ module Google
22089
22402
  # @return [Hash<String,Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema>]
22090
22403
  attr_accessor :properties
22091
22404
 
22405
+ # Optional. The order of the properties. Not a standard field in open api spec.
22406
+ # Only used to support the order of the properties.
22407
+ # Corresponds to the JSON property `propertyOrdering`
22408
+ # @return [Array<String>]
22409
+ attr_accessor :property_ordering
22410
+
22092
22411
  # Optional. Required properties of Type.OBJECT.
22093
22412
  # Corresponds to the JSON property `required`
22094
22413
  # @return [Array<String>]
@@ -22110,6 +22429,7 @@ module Google
22110
22429
 
22111
22430
  # Update properties of this object
22112
22431
  def update!(**args)
22432
+ @any_of = args[:any_of] if args.key?(:any_of)
22113
22433
  @default = args[:default] if args.key?(:default)
22114
22434
  @description = args[:description] if args.key?(:description)
22115
22435
  @enum = args[:enum] if args.key?(:enum)
@@ -22127,6 +22447,7 @@ module Google
22127
22447
  @nullable = args[:nullable] if args.key?(:nullable)
22128
22448
  @pattern = args[:pattern] if args.key?(:pattern)
22129
22449
  @properties = args[:properties] if args.key?(:properties)
22450
+ @property_ordering = args[:property_ordering] if args.key?(:property_ordering)
22130
22451
  @required = args[:required] if args.key?(:required)
22131
22452
  @title = args[:title] if args.key?(:title)
22132
22453
  @type = args[:type] if args.key?(:type)
@@ -30465,7 +30786,7 @@ module Google
30465
30786
  end
30466
30787
  end
30467
30788
 
30468
- # Tuning Spec for Supervised Tuning.
30789
+ # Tuning Spec for Supervised Tuning for first party models.
30469
30790
  class GoogleCloudAiplatformV1SupervisedTuningSpec
30470
30791
  include Google::Apis::Core::Hashable
30471
30792
 
@@ -30511,7 +30832,7 @@ module Google
30511
30832
  end
30512
30833
  end
30513
30834
 
30514
- # Respose message for FeatureOnlineStoreAdminService.SyncFeatureView.
30835
+ # Response message for FeatureOnlineStoreAdminService.SyncFeatureView.
30515
30836
  class GoogleCloudAiplatformV1SyncFeatureViewResponse
30516
30837
  include Google::Apis::Core::Hashable
30517
30838
 
@@ -31280,7 +31601,7 @@ module Google
31280
31601
  # subset of these functions by populating FunctionCall in the response. User
31281
31602
  # should provide a FunctionResponse for each function call in the next turn.
31282
31603
  # Based on the function responses, Model will generate the final response back
31283
- # to the user. Maximum 64 function declarations can be provided.
31604
+ # to the user. Maximum 128 function declarations can be provided.
31284
31605
  # Corresponds to the JSON property `functionDeclarations`
31285
31606
  # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionDeclaration>]
31286
31607
  attr_accessor :function_declarations
@@ -32101,6 +32422,38 @@ module Google
32101
32422
  end
32102
32423
  end
32103
32424
 
32425
+ # TunedModel Reference for legacy model migration.
32426
+ class GoogleCloudAiplatformV1TunedModelRef
32427
+ include Google::Apis::Core::Hashable
32428
+
32429
+ # Support migration from tuning job list page, from bison model to gemini model.
32430
+ # Corresponds to the JSON property `pipelineJob`
32431
+ # @return [String]
32432
+ attr_accessor :pipeline_job
32433
+
32434
+ # Support migration from model registry.
32435
+ # Corresponds to the JSON property `tunedModel`
32436
+ # @return [String]
32437
+ attr_accessor :tuned_model
32438
+
32439
+ # Support migration from tuning job list page, from gemini-1.0-pro-002 to 1.5
32440
+ # and above.
32441
+ # Corresponds to the JSON property `tuningJob`
32442
+ # @return [String]
32443
+ attr_accessor :tuning_job
32444
+
32445
+ def initialize(**args)
32446
+ update!(**args)
32447
+ end
32448
+
32449
+ # Update properties of this object
32450
+ def update!(**args)
32451
+ @pipeline_job = args[:pipeline_job] if args.key?(:pipeline_job)
32452
+ @tuned_model = args[:tuned_model] if args.key?(:tuned_model)
32453
+ @tuning_job = args[:tuning_job] if args.key?(:tuning_job)
32454
+ end
32455
+ end
32456
+
32104
32457
  # The tuning data statistic values for TuningJob.
32105
32458
  class GoogleCloudAiplatformV1TuningDataStats
32106
32459
  include Google::Apis::Core::Hashable
@@ -32194,7 +32547,7 @@ module Google
32194
32547
  # @return [String]
32195
32548
  attr_accessor :state
32196
32549
 
32197
- # Tuning Spec for Supervised Tuning.
32550
+ # Tuning Spec for Supervised Tuning for first party models.
32198
32551
  # Corresponds to the JSON property `supervisedTuningSpec`
32199
32552
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedTuningSpec]
32200
32553
  attr_accessor :supervised_tuning_spec