google-apis-aiplatform_v1beta1 0.28.0 → 0.30.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,43 +22,6 @@ module Google
22
22
  module Apis
23
23
  module AiplatformV1beta1
24
24
 
25
- # Details for filtered input text.
26
- class CloudAiLargeModelsVisionFilteredText
27
- include Google::Apis::Core::Hashable
28
-
29
- # Confidence level
30
- # Corresponds to the JSON property `category`
31
- # @return [String]
32
- attr_accessor :category
33
-
34
- # Filtered category
35
- # Corresponds to the JSON property `confidence`
36
- # @return [String]
37
- attr_accessor :confidence
38
-
39
- # Input prompt
40
- # Corresponds to the JSON property `prompt`
41
- # @return [String]
42
- attr_accessor :prompt
43
-
44
- # Score for category
45
- # Corresponds to the JSON property `score`
46
- # @return [Float]
47
- attr_accessor :score
48
-
49
- def initialize(**args)
50
- update!(**args)
51
- end
52
-
53
- # Update properties of this object
54
- def update!(**args)
55
- @category = args[:category] if args.key?(:category)
56
- @confidence = args[:confidence] if args.key?(:confidence)
57
- @prompt = args[:prompt] if args.key?(:prompt)
58
- @score = args[:score] if args.key?(:score)
59
- end
60
- end
61
-
62
25
  # Generate video response.
63
26
  class CloudAiLargeModelsVisionGenerateVideoResponse
64
27
  include Google::Apis::Core::Hashable
@@ -68,11 +31,6 @@ module Google
68
31
  # @return [Array<Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionMedia>]
69
32
  attr_accessor :generated_samples
70
33
 
71
- # Returns rai error message for filtered videos.
72
- # Corresponds to the JSON property `raiErrorMessage`
73
- # @return [String]
74
- attr_accessor :rai_error_message
75
-
76
34
  # Returns if any videos were filtered due to RAI policies.
77
35
  # Corresponds to the JSON property `raiMediaFilteredCount`
78
36
  # @return [Fixnum]
@@ -83,11 +41,6 @@ module Google
83
41
  # @return [Array<String>]
84
42
  attr_accessor :rai_media_filtered_reasons
85
43
 
86
- # Details for filtered input text.
87
- # Corresponds to the JSON property `raiTextFilteredReason`
88
- # @return [Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionFilteredText]
89
- attr_accessor :rai_text_filtered_reason
90
-
91
44
  def initialize(**args)
92
45
  update!(**args)
93
46
  end
@@ -95,10 +48,8 @@ module Google
95
48
  # Update properties of this object
96
49
  def update!(**args)
97
50
  @generated_samples = args[:generated_samples] if args.key?(:generated_samples)
98
- @rai_error_message = args[:rai_error_message] if args.key?(:rai_error_message)
99
51
  @rai_media_filtered_count = args[:rai_media_filtered_count] if args.key?(:rai_media_filtered_count)
100
52
  @rai_media_filtered_reasons = args[:rai_media_filtered_reasons] if args.key?(:rai_media_filtered_reasons)
101
- @rai_text_filtered_reason = args[:rai_text_filtered_reason] if args.key?(:rai_text_filtered_reason)
102
53
  end
103
54
  end
104
55
 
@@ -261,6 +212,11 @@ module Google
261
212
  class CloudAiLargeModelsVisionRaiInfo
262
213
  include Google::Apis::Core::Hashable
263
214
 
215
+ # The list of detected labels for different rai categories.
216
+ # Corresponds to the JSON property `detectedLabels`
217
+ # @return [Array<Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionRaiInfoDetectedLabels>]
218
+ attr_accessor :detected_labels
219
+
264
220
  # List of rai categories' information to return
265
221
  # Corresponds to the JSON property `raiCategories`
266
222
  # @return [Array<String>]
@@ -277,11 +233,119 @@ module Google
277
233
 
278
234
  # Update properties of this object
279
235
  def update!(**args)
236
+ @detected_labels = args[:detected_labels] if args.key?(:detected_labels)
280
237
  @rai_categories = args[:rai_categories] if args.key?(:rai_categories)
281
238
  @scores = args[:scores] if args.key?(:scores)
282
239
  end
283
240
  end
284
241
 
242
+ # Filters returning list of deteceted labels, scores, and bounding boxes.
243
+ class CloudAiLargeModelsVisionRaiInfoDetectedLabels
244
+ include Google::Apis::Core::Hashable
245
+
246
+ # The list of detected entities for the rai signal.
247
+ # Corresponds to the JSON property `entities`
248
+ # @return [Array<Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity>]
249
+ attr_accessor :entities
250
+
251
+ # The RAI category for the deteceted labels.
252
+ # Corresponds to the JSON property `raiCategory`
253
+ # @return [String]
254
+ attr_accessor :rai_category
255
+
256
+ def initialize(**args)
257
+ update!(**args)
258
+ end
259
+
260
+ # Update properties of this object
261
+ def update!(**args)
262
+ @entities = args[:entities] if args.key?(:entities)
263
+ @rai_category = args[:rai_category] if args.key?(:rai_category)
264
+ end
265
+ end
266
+
267
+ # An integer bounding box of original pixels of the image for the detected
268
+ # labels.
269
+ class CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox
270
+ include Google::Apis::Core::Hashable
271
+
272
+ # The X coordinate of the top-left corner, in pixels.
273
+ # Corresponds to the JSON property `x1`
274
+ # @return [Fixnum]
275
+ attr_accessor :x1
276
+
277
+ # The X coordinate of the bottom-right corner, in pixels.
278
+ # Corresponds to the JSON property `x2`
279
+ # @return [Fixnum]
280
+ attr_accessor :x2
281
+
282
+ # The Y coordinate of the top-left corner, in pixels.
283
+ # Corresponds to the JSON property `y1`
284
+ # @return [Fixnum]
285
+ attr_accessor :y1
286
+
287
+ # The Y coordinate of the bottom-right corner, in pixels.
288
+ # Corresponds to the JSON property `y2`
289
+ # @return [Fixnum]
290
+ attr_accessor :y2
291
+
292
+ def initialize(**args)
293
+ update!(**args)
294
+ end
295
+
296
+ # Update properties of this object
297
+ def update!(**args)
298
+ @x1 = args[:x1] if args.key?(:x1)
299
+ @x2 = args[:x2] if args.key?(:x2)
300
+ @y1 = args[:y1] if args.key?(:y1)
301
+ @y2 = args[:y2] if args.key?(:y2)
302
+ end
303
+ end
304
+
305
+ # The properties for a detected entity from the rai signal.
306
+ class CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity
307
+ include Google::Apis::Core::Hashable
308
+
309
+ # An integer bounding box of original pixels of the image for the detected
310
+ # labels.
311
+ # Corresponds to the JSON property `boundingBox`
312
+ # @return [Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox]
313
+ attr_accessor :bounding_box
314
+
315
+ # Description of the label
316
+ # Corresponds to the JSON property `description`
317
+ # @return [String]
318
+ attr_accessor :description
319
+
320
+ # The intersection ratio between the detection bounding box and the mask.
321
+ # Corresponds to the JSON property `iouScore`
322
+ # @return [Float]
323
+ attr_accessor :iou_score
324
+
325
+ # MID of the label
326
+ # Corresponds to the JSON property `mid`
327
+ # @return [String]
328
+ attr_accessor :mid
329
+
330
+ # Confidence score of the label
331
+ # Corresponds to the JSON property `score`
332
+ # @return [Float]
333
+ attr_accessor :score
334
+
335
+ def initialize(**args)
336
+ update!(**args)
337
+ end
338
+
339
+ # Update properties of this object
340
+ def update!(**args)
341
+ @bounding_box = args[:bounding_box] if args.key?(:bounding_box)
342
+ @description = args[:description] if args.key?(:description)
343
+ @iou_score = args[:iou_score] if args.key?(:iou_score)
344
+ @mid = args[:mid] if args.key?(:mid)
345
+ @score = args[:score] if args.key?(:score)
346
+ end
347
+ end
348
+
285
349
  #
286
350
  class CloudAiLargeModelsVisionSemanticFilterResponse
287
351
  include Google::Apis::Core::Hashable
@@ -338,6 +402,31 @@ module Google
338
402
  end
339
403
  end
340
404
 
405
+ # Create API error message for Vertex Pipeline. Next Id: 3.
406
+ class CloudAiPlatformCommonCreatePipelineJobApiErrorDetail
407
+ include Google::Apis::Core::Hashable
408
+
409
+ # The error root cause returned by CreatePipelineJob API.
410
+ # Corresponds to the JSON property `errorCause`
411
+ # @return [String]
412
+ attr_accessor :error_cause
413
+
414
+ # Public messages contains actionable items for the error cause.
415
+ # Corresponds to the JSON property `publicMessage`
416
+ # @return [String]
417
+ attr_accessor :public_message
418
+
419
+ def initialize(**args)
420
+ update!(**args)
421
+ end
422
+
423
+ # Update properties of this object
424
+ def update!(**args)
425
+ @error_cause = args[:error_cause] if args.key?(:error_cause)
426
+ @public_message = args[:public_message] if args.key?(:public_message)
427
+ end
428
+ end
429
+
341
430
  # Message that represents an arbitrary HTTP body. It should only be used for
342
431
  # payload formats that can't be represented as JSON, such as raw binary or an
343
432
  # HTML page. This message can be used both in streaming and non-streaming API
@@ -2486,6 +2575,88 @@ module Google
2486
2575
  end
2487
2576
  end
2488
2577
 
2578
+ # A resource used in LLM queries for users to explicitly specify what to cache
2579
+ # and how to cache.
2580
+ class GoogleCloudAiplatformV1beta1CachedContent
2581
+ include Google::Apis::Core::Hashable
2582
+
2583
+ # Optional. Input only. Immutable. The content to cache
2584
+ # Corresponds to the JSON property `contents`
2585
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content>]
2586
+ attr_accessor :contents
2587
+
2588
+ # Output only. Creatation time of the cache entry.
2589
+ # Corresponds to the JSON property `createTime`
2590
+ # @return [String]
2591
+ attr_accessor :create_time
2592
+
2593
+ # Timestamp of when this resource is considered expired. This is *always*
2594
+ # provided on output, regardless of what was sent on input.
2595
+ # Corresponds to the JSON property `expireTime`
2596
+ # @return [String]
2597
+ attr_accessor :expire_time
2598
+
2599
+ # Immutable. The name of the publisher model to use for cached content. Format:
2600
+ # projects/`project`/locations/`location`/publishers/`publisher`/models/`model`
2601
+ # Corresponds to the JSON property `model`
2602
+ # @return [String]
2603
+ attr_accessor :model
2604
+
2605
+ # Immutable. Identifier. The resource name of the cached content Format:
2606
+ # projects/`project`/locations/`location`/cachedContents/`cached_content`
2607
+ # Corresponds to the JSON property `name`
2608
+ # @return [String]
2609
+ attr_accessor :name
2610
+
2611
+ # The base structured datatype containing multi-part content of a message. A `
2612
+ # Content` includes a `role` field designating the producer of the `Content` and
2613
+ # a `parts` field containing multi-part data that contains the content of the
2614
+ # message turn.
2615
+ # Corresponds to the JSON property `systemInstruction`
2616
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content]
2617
+ attr_accessor :system_instruction
2618
+
2619
+ # Tool config. This config is shared for all tools provided in the request.
2620
+ # Corresponds to the JSON property `toolConfig`
2621
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ToolConfig]
2622
+ attr_accessor :tool_config
2623
+
2624
+ # Optional. Input only. Immutable. A list of `Tools` the model may use to
2625
+ # generate the next response
2626
+ # Corresponds to the JSON property `tools`
2627
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Tool>]
2628
+ attr_accessor :tools
2629
+
2630
+ # Input only. The TTL for this resource. The expiration time is computed: now +
2631
+ # TTL.
2632
+ # Corresponds to the JSON property `ttl`
2633
+ # @return [String]
2634
+ attr_accessor :ttl
2635
+
2636
+ # Output only. When the cache entry was last updated in UTC time.
2637
+ # Corresponds to the JSON property `updateTime`
2638
+ # @return [String]
2639
+ attr_accessor :update_time
2640
+
2641
+ def initialize(**args)
2642
+ update!(**args)
2643
+ end
2644
+
2645
+ # Update properties of this object
2646
+ def update!(**args)
2647
+ @contents = args[:contents] if args.key?(:contents)
2648
+ @create_time = args[:create_time] if args.key?(:create_time)
2649
+ @expire_time = args[:expire_time] if args.key?(:expire_time)
2650
+ @model = args[:model] if args.key?(:model)
2651
+ @name = args[:name] if args.key?(:name)
2652
+ @system_instruction = args[:system_instruction] if args.key?(:system_instruction)
2653
+ @tool_config = args[:tool_config] if args.key?(:tool_config)
2654
+ @tools = args[:tools] if args.key?(:tools)
2655
+ @ttl = args[:ttl] if args.key?(:ttl)
2656
+ @update_time = args[:update_time] if args.key?(:update_time)
2657
+ end
2658
+ end
2659
+
2489
2660
  # Request message for JobService.CancelBatchPredictionJob.
2490
2661
  class GoogleCloudAiplatformV1beta1CancelBatchPredictionJobRequest
2491
2662
  include Google::Apis::Core::Hashable
@@ -3735,6 +3906,32 @@ module Google
3735
3906
  end
3736
3907
  end
3737
3908
 
3909
+ # Metadata information for NotebookService.CreateNotebookExecutionJob.
3910
+ class GoogleCloudAiplatformV1beta1CreateNotebookExecutionJobOperationMetadata
3911
+ include Google::Apis::Core::Hashable
3912
+
3913
+ # Generic Metadata shared by all operations.
3914
+ # Corresponds to the JSON property `genericMetadata`
3915
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenericOperationMetadata]
3916
+ attr_accessor :generic_metadata
3917
+
3918
+ # A human-readable message that shows the intermediate progress details of
3919
+ # NotebookRuntime.
3920
+ # Corresponds to the JSON property `progressMessage`
3921
+ # @return [String]
3922
+ attr_accessor :progress_message
3923
+
3924
+ def initialize(**args)
3925
+ update!(**args)
3926
+ end
3927
+
3928
+ # Update properties of this object
3929
+ def update!(**args)
3930
+ @generic_metadata = args[:generic_metadata] if args.key?(:generic_metadata)
3931
+ @progress_message = args[:progress_message] if args.key?(:progress_message)
3932
+ end
3933
+ end
3934
+
3738
3935
  # Request message for [NotebookService.CreateNotebookExecutionJob]
3739
3936
  class GoogleCloudAiplatformV1beta1CreateNotebookExecutionJobRequest
3740
3937
  include Google::Apis::Core::Hashable
@@ -4652,6 +4849,160 @@ module Google
4652
4849
  end
4653
4850
  end
4654
4851
 
4852
+ # Distribution computed over a tuning dataset.
4853
+ class GoogleCloudAiplatformV1beta1DatasetDistribution
4854
+ include Google::Apis::Core::Hashable
4855
+
4856
+ # Output only. Defines the histogram bucket.
4857
+ # Corresponds to the JSON property `buckets`
4858
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetDistributionDistributionBucket>]
4859
+ attr_accessor :buckets
4860
+
4861
+ # Output only. The maximum of the population values.
4862
+ # Corresponds to the JSON property `max`
4863
+ # @return [Float]
4864
+ attr_accessor :max
4865
+
4866
+ # Output only. The arithmetic mean of the values in the population.
4867
+ # Corresponds to the JSON property `mean`
4868
+ # @return [Float]
4869
+ attr_accessor :mean
4870
+
4871
+ # Output only. The median of the values in the population.
4872
+ # Corresponds to the JSON property `median`
4873
+ # @return [Float]
4874
+ attr_accessor :median
4875
+
4876
+ # Output only. The minimum of the population values.
4877
+ # Corresponds to the JSON property `min`
4878
+ # @return [Float]
4879
+ attr_accessor :min
4880
+
4881
+ # Output only. The 5th percentile of the values in the population.
4882
+ # Corresponds to the JSON property `p5`
4883
+ # @return [Float]
4884
+ attr_accessor :p5
4885
+
4886
+ # Output only. The 95th percentile of the values in the population.
4887
+ # Corresponds to the JSON property `p95`
4888
+ # @return [Float]
4889
+ attr_accessor :p95
4890
+
4891
+ # Output only. Sum of a given population of values.
4892
+ # Corresponds to the JSON property `sum`
4893
+ # @return [Float]
4894
+ attr_accessor :sum
4895
+
4896
+ def initialize(**args)
4897
+ update!(**args)
4898
+ end
4899
+
4900
+ # Update properties of this object
4901
+ def update!(**args)
4902
+ @buckets = args[:buckets] if args.key?(:buckets)
4903
+ @max = args[:max] if args.key?(:max)
4904
+ @mean = args[:mean] if args.key?(:mean)
4905
+ @median = args[:median] if args.key?(:median)
4906
+ @min = args[:min] if args.key?(:min)
4907
+ @p5 = args[:p5] if args.key?(:p5)
4908
+ @p95 = args[:p95] if args.key?(:p95)
4909
+ @sum = args[:sum] if args.key?(:sum)
4910
+ end
4911
+ end
4912
+
4913
+ # Dataset bucket used to create a histogram for the distribution given a
4914
+ # population of values.
4915
+ class GoogleCloudAiplatformV1beta1DatasetDistributionDistributionBucket
4916
+ include Google::Apis::Core::Hashable
4917
+
4918
+ # Output only. Number of values in the bucket.
4919
+ # Corresponds to the JSON property `count`
4920
+ # @return [Fixnum]
4921
+ attr_accessor :count
4922
+
4923
+ # Output only. Left bound of the bucket.
4924
+ # Corresponds to the JSON property `left`
4925
+ # @return [Float]
4926
+ attr_accessor :left
4927
+
4928
+ # Output only. Right bound of the bucket.
4929
+ # Corresponds to the JSON property `right`
4930
+ # @return [Float]
4931
+ attr_accessor :right
4932
+
4933
+ def initialize(**args)
4934
+ update!(**args)
4935
+ end
4936
+
4937
+ # Update properties of this object
4938
+ def update!(**args)
4939
+ @count = args[:count] if args.key?(:count)
4940
+ @left = args[:left] if args.key?(:left)
4941
+ @right = args[:right] if args.key?(:right)
4942
+ end
4943
+ end
4944
+
4945
+ # Statistics computed over a tuning dataset.
4946
+ class GoogleCloudAiplatformV1beta1DatasetStats
4947
+ include Google::Apis::Core::Hashable
4948
+
4949
+ # Output only. Number of billable characters in the tuning dataset.
4950
+ # Corresponds to the JSON property `totalBillableCharacterCount`
4951
+ # @return [Fixnum]
4952
+ attr_accessor :total_billable_character_count
4953
+
4954
+ # Output only. Number of tuning characters in the tuning dataset.
4955
+ # Corresponds to the JSON property `totalTuningCharacterCount`
4956
+ # @return [Fixnum]
4957
+ attr_accessor :total_tuning_character_count
4958
+
4959
+ # Output only. Number of examples in the tuning dataset.
4960
+ # Corresponds to the JSON property `tuningDatasetExampleCount`
4961
+ # @return [Fixnum]
4962
+ attr_accessor :tuning_dataset_example_count
4963
+
4964
+ # Output only. Number of tuning steps for this Tuning Job.
4965
+ # Corresponds to the JSON property `tuningStepCount`
4966
+ # @return [Fixnum]
4967
+ attr_accessor :tuning_step_count
4968
+
4969
+ # Output only. Sample user messages in the training dataset uri.
4970
+ # Corresponds to the JSON property `userDatasetExamples`
4971
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content>]
4972
+ attr_accessor :user_dataset_examples
4973
+
4974
+ # Distribution computed over a tuning dataset.
4975
+ # Corresponds to the JSON property `userInputTokenDistribution`
4976
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetDistribution]
4977
+ attr_accessor :user_input_token_distribution
4978
+
4979
+ # Distribution computed over a tuning dataset.
4980
+ # Corresponds to the JSON property `userMessagePerExampleDistribution`
4981
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetDistribution]
4982
+ attr_accessor :user_message_per_example_distribution
4983
+
4984
+ # Distribution computed over a tuning dataset.
4985
+ # Corresponds to the JSON property `userOutputTokenDistribution`
4986
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetDistribution]
4987
+ attr_accessor :user_output_token_distribution
4988
+
4989
+ def initialize(**args)
4990
+ update!(**args)
4991
+ end
4992
+
4993
+ # Update properties of this object
4994
+ def update!(**args)
4995
+ @total_billable_character_count = args[:total_billable_character_count] if args.key?(:total_billable_character_count)
4996
+ @total_tuning_character_count = args[:total_tuning_character_count] if args.key?(:total_tuning_character_count)
4997
+ @tuning_dataset_example_count = args[:tuning_dataset_example_count] if args.key?(:tuning_dataset_example_count)
4998
+ @tuning_step_count = args[:tuning_step_count] if args.key?(:tuning_step_count)
4999
+ @user_dataset_examples = args[:user_dataset_examples] if args.key?(:user_dataset_examples)
5000
+ @user_input_token_distribution = args[:user_input_token_distribution] if args.key?(:user_input_token_distribution)
5001
+ @user_message_per_example_distribution = args[:user_message_per_example_distribution] if args.key?(:user_message_per_example_distribution)
5002
+ @user_output_token_distribution = args[:user_output_token_distribution] if args.key?(:user_output_token_distribution)
5003
+ end
5004
+ end
5005
+
4655
5006
  # Describes the dataset version.
4656
5007
  class GoogleCloudAiplatformV1beta1DatasetVersion
4657
5008
  include Google::Apis::Core::Hashable
@@ -5544,6 +5895,23 @@ module Google
5544
5895
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DedicatedResources]
5545
5896
  attr_accessor :dedicated_resources
5546
5897
 
5898
+ # If the DeploymentResourcePool is deployed with custom-trained Models or AutoML
5899
+ # Tabular Models, the container(s) of the DeploymentResourcePool will send `
5900
+ # stderr` and `stdout` streams to Cloud Logging by default. Please note that the
5901
+ # logs incur cost, which are subject to [Cloud Logging pricing](https://cloud.
5902
+ # google.com/logging/pricing). User can disable container logging by setting
5903
+ # this flag to true.
5904
+ # Corresponds to the JSON property `disableContainerLogging`
5905
+ # @return [Boolean]
5906
+ attr_accessor :disable_container_logging
5907
+ alias_method :disable_container_logging?, :disable_container_logging
5908
+
5909
+ # Represents a customer-managed encryption key spec that can be applied to a top-
5910
+ # level resource.
5911
+ # Corresponds to the JSON property `encryptionSpec`
5912
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
5913
+ attr_accessor :encryption_spec
5914
+
5547
5915
  # Immutable. The resource name of the DeploymentResourcePool. Format: `projects/`
5548
5916
  # project`/locations/`location`/deploymentResourcePools/`
5549
5917
  # deployment_resource_pool``
@@ -5551,6 +5919,16 @@ module Google
5551
5919
  # @return [String]
5552
5920
  attr_accessor :name
5553
5921
 
5922
+ # The service account that the DeploymentResourcePool's container(s) run as.
5923
+ # Specify the email address of the service account. If this service account is
5924
+ # not specified, the container(s) run as a service account that doesn't have
5925
+ # access to the resource project. Users deploying the Models to this
5926
+ # DeploymentResourcePool must have the `iam.serviceAccounts.actAs` permission on
5927
+ # this service account.
5928
+ # Corresponds to the JSON property `serviceAccount`
5929
+ # @return [String]
5930
+ attr_accessor :service_account
5931
+
5554
5932
  def initialize(**args)
5555
5933
  update!(**args)
5556
5934
  end
@@ -5559,7 +5937,10 @@ module Google
5559
5937
  def update!(**args)
5560
5938
  @create_time = args[:create_time] if args.key?(:create_time)
5561
5939
  @dedicated_resources = args[:dedicated_resources] if args.key?(:dedicated_resources)
5940
+ @disable_container_logging = args[:disable_container_logging] if args.key?(:disable_container_logging)
5941
+ @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
5562
5942
  @name = args[:name] if args.key?(:name)
5943
+ @service_account = args[:service_account] if args.key?(:service_account)
5563
5944
  end
5564
5945
  end
5565
5946
 
@@ -5727,6 +6108,117 @@ module Google
5727
6108
  end
5728
6109
  end
5729
6110
 
6111
+ # Statistics computed for datasets used for distillation.
6112
+ class GoogleCloudAiplatformV1beta1DistillationDataStats
6113
+ include Google::Apis::Core::Hashable
6114
+
6115
+ # Statistics computed over a tuning dataset.
6116
+ # Corresponds to the JSON property `trainingDatasetStats`
6117
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetStats]
6118
+ attr_accessor :training_dataset_stats
6119
+
6120
+ def initialize(**args)
6121
+ update!(**args)
6122
+ end
6123
+
6124
+ # Update properties of this object
6125
+ def update!(**args)
6126
+ @training_dataset_stats = args[:training_dataset_stats] if args.key?(:training_dataset_stats)
6127
+ end
6128
+ end
6129
+
6130
+ # Hyperparameters for Distillation.
6131
+ class GoogleCloudAiplatformV1beta1DistillationHyperParameters
6132
+ include Google::Apis::Core::Hashable
6133
+
6134
+ # Optional. Adapter size for distillation.
6135
+ # Corresponds to the JSON property `adapterSize`
6136
+ # @return [String]
6137
+ attr_accessor :adapter_size
6138
+
6139
+ # Optional. Number of complete passes the model makes over the entire training
6140
+ # dataset during training.
6141
+ # Corresponds to the JSON property `epochCount`
6142
+ # @return [Fixnum]
6143
+ attr_accessor :epoch_count
6144
+
6145
+ # Optional. Multiplier for adjusting the default learning rate.
6146
+ # Corresponds to the JSON property `learningRateMultiplier`
6147
+ # @return [Float]
6148
+ attr_accessor :learning_rate_multiplier
6149
+
6150
+ def initialize(**args)
6151
+ update!(**args)
6152
+ end
6153
+
6154
+ # Update properties of this object
6155
+ def update!(**args)
6156
+ @adapter_size = args[:adapter_size] if args.key?(:adapter_size)
6157
+ @epoch_count = args[:epoch_count] if args.key?(:epoch_count)
6158
+ @learning_rate_multiplier = args[:learning_rate_multiplier] if args.key?(:learning_rate_multiplier)
6159
+ end
6160
+ end
6161
+
6162
+ # Tuning Spec for Distillation.
6163
+ class GoogleCloudAiplatformV1beta1DistillationSpec
6164
+ include Google::Apis::Core::Hashable
6165
+
6166
+ # The base teacher model that is being distilled, e.g., "gemini-1.0-pro-002".
6167
+ # Corresponds to the JSON property `baseTeacherModel`
6168
+ # @return [String]
6169
+ attr_accessor :base_teacher_model
6170
+
6171
+ # Hyperparameters for Distillation.
6172
+ # Corresponds to the JSON property `hyperParameters`
6173
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DistillationHyperParameters]
6174
+ attr_accessor :hyper_parameters
6175
+
6176
+ # Required. A path in a Cloud Storage bucket, which will be treated as the root
6177
+ # output directory of the distillation pipeline. It is used by the system to
6178
+ # generate the paths of output artifacts.
6179
+ # Corresponds to the JSON property `pipelineRootDirectory`
6180
+ # @return [String]
6181
+ attr_accessor :pipeline_root_directory
6182
+
6183
+ # The student model that is being tuned, e.g., "google/gemma-2b-it".
6184
+ # Corresponds to the JSON property `studentModel`
6185
+ # @return [String]
6186
+ attr_accessor :student_model
6187
+
6188
+ # Required. Cloud Storage path to file containing training dataset for tuning.
6189
+ # The dataset must be formatted as a JSONL file.
6190
+ # Corresponds to the JSON property `trainingDatasetUri`
6191
+ # @return [String]
6192
+ attr_accessor :training_dataset_uri
6193
+
6194
+ # The resource name of the Tuned teacher model. Format: `projects/`project`/
6195
+ # locations/`location`/models/`model``.
6196
+ # Corresponds to the JSON property `tunedTeacherModelSource`
6197
+ # @return [String]
6198
+ attr_accessor :tuned_teacher_model_source
6199
+
6200
+ # Optional. Cloud Storage path to file containing validation dataset for tuning.
6201
+ # The dataset must be formatted as a JSONL file.
6202
+ # Corresponds to the JSON property `validationDatasetUri`
6203
+ # @return [String]
6204
+ attr_accessor :validation_dataset_uri
6205
+
6206
+ def initialize(**args)
6207
+ update!(**args)
6208
+ end
6209
+
6210
+ # Update properties of this object
6211
+ def update!(**args)
6212
+ @base_teacher_model = args[:base_teacher_model] if args.key?(:base_teacher_model)
6213
+ @hyper_parameters = args[:hyper_parameters] if args.key?(:hyper_parameters)
6214
+ @pipeline_root_directory = args[:pipeline_root_directory] if args.key?(:pipeline_root_directory)
6215
+ @student_model = args[:student_model] if args.key?(:student_model)
6216
+ @training_dataset_uri = args[:training_dataset_uri] if args.key?(:training_dataset_uri)
6217
+ @tuned_teacher_model_source = args[:tuned_teacher_model_source] if args.key?(:tuned_teacher_model_source)
6218
+ @validation_dataset_uri = args[:validation_dataset_uri] if args.key?(:validation_dataset_uri)
6219
+ end
6220
+ end
6221
+
5730
6222
  # A list of double values.
5731
6223
  class GoogleCloudAiplatformV1beta1DoubleArray
5732
6224
  include Google::Apis::Core::Hashable
@@ -8143,7 +8635,8 @@ module Google
8143
8635
 
8144
8636
  # Required. The natural language description shown to the LLM. It should
8145
8637
  # describe the usage of the extension, and is essential for the LLM to perform
8146
- # reasoning.
8638
+ # reasoning. e.g., if the extension is a data store, you can let the LLM know
8639
+ # what data it contains.
8147
8640
  # Corresponds to the JSON property `description`
8148
8641
  # @return [String]
8149
8642
  attr_accessor :description
@@ -8570,6 +9063,12 @@ module Google
8570
9063
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureOnlineStoreEmbeddingManagement]
8571
9064
  attr_accessor :embedding_management
8572
9065
 
9066
+ # Represents a customer-managed encryption key spec that can be applied to a top-
9067
+ # level resource.
9068
+ # Corresponds to the JSON property `encryptionSpec`
9069
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
9070
+ attr_accessor :encryption_spec
9071
+
8573
9072
  # Optional. Used to perform consistent read-modify-write updates. If not set, a
8574
9073
  # blind "overwrite" update happens.
8575
9074
  # Corresponds to the JSON property `etag`
@@ -8619,6 +9118,7 @@ module Google
8619
9118
  @create_time = args[:create_time] if args.key?(:create_time)
8620
9119
  @dedicated_serving_endpoint = args[:dedicated_serving_endpoint] if args.key?(:dedicated_serving_endpoint)
8621
9120
  @embedding_management = args[:embedding_management] if args.key?(:embedding_management)
9121
+ @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
8622
9122
  @etag = args[:etag] if args.key?(:etag)
8623
9123
  @labels = args[:labels] if args.key?(:labels)
8624
9124
  @name = args[:name] if args.key?(:name)
@@ -8915,6 +9415,11 @@ module Google
8915
9415
  # @return [String]
8916
9416
  attr_accessor :string_value
8917
9417
 
9418
+ # Struct (or object) type feature value.
9419
+ # Corresponds to the JSON property `structValue`
9420
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StructValue]
9421
+ attr_accessor :struct_value
9422
+
8918
9423
  def initialize(**args)
8919
9424
  update!(**args)
8920
9425
  end
@@ -8931,6 +9436,7 @@ module Google
8931
9436
  @metadata = args[:metadata] if args.key?(:metadata)
8932
9437
  @string_array_value = args[:string_array_value] if args.key?(:string_array_value)
8933
9438
  @string_value = args[:string_value] if args.key?(:string_value)
9439
+ @struct_value = args[:struct_value] if args.key?(:struct_value)
8934
9440
  end
8935
9441
  end
8936
9442
 
@@ -10688,6 +11194,15 @@ module Google
10688
11194
  class GoogleCloudAiplatformV1beta1GenerateContentRequest
10689
11195
  include Google::Apis::Core::Hashable
10690
11196
 
11197
+ # Optional. The name of the cached content used as context to serve the
11198
+ # prediction. Note: only used in explicit caching, where users can have control
11199
+ # over caching (e.g. what content to cache) and enjoy guaranteed cost savings.
11200
+ # Format: `projects/`project`/locations/`location`/cachedContents/`cachedContent`
11201
+ # `
11202
+ # Corresponds to the JSON property `cachedContent`
11203
+ # @return [String]
11204
+ attr_accessor :cached_content
11205
+
10691
11206
  # Required. The content of the current conversation with the model. For single-
10692
11207
  # turn queries, this is a single instance. For multi-turn queries, this is a
10693
11208
  # repeated field that contains conversation history + latest request.
@@ -10733,6 +11248,7 @@ module Google
10733
11248
 
10734
11249
  # Update properties of this object
10735
11250
  def update!(**args)
11251
+ @cached_content = args[:cached_content] if args.key?(:cached_content)
10736
11252
  @contents = args[:contents] if args.key?(:contents)
10737
11253
  @generation_config = args[:generation_config] if args.key?(:generation_config)
10738
11254
  @safety_settings = args[:safety_settings] if args.key?(:safety_settings)
@@ -10868,11 +11384,12 @@ module Google
10868
11384
  # @return [String]
10869
11385
  attr_accessor :response_mime_type
10870
11386
 
10871
- # Optional. Control Three levels of creativity in the model output. Default:
10872
- # RESPONSE_STYLE_BALANCED
10873
- # Corresponds to the JSON property `responseStyle`
10874
- # @return [String]
10875
- attr_accessor :response_style
11387
+ # Schema is used to define the format of input/output data. Represents a select
11388
+ # subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#
11389
+ # schema). More fields may be added in the future as needed.
11390
+ # Corresponds to the JSON property `responseSchema`
11391
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Schema]
11392
+ attr_accessor :response_schema
10876
11393
 
10877
11394
  # Optional. Stop sequences.
10878
11395
  # Corresponds to the JSON property `stopSequences`
@@ -10905,7 +11422,7 @@ module Google
10905
11422
  @max_output_tokens = args[:max_output_tokens] if args.key?(:max_output_tokens)
10906
11423
  @presence_penalty = args[:presence_penalty] if args.key?(:presence_penalty)
10907
11424
  @response_mime_type = args[:response_mime_type] if args.key?(:response_mime_type)
10908
- @response_style = args[:response_style] if args.key?(:response_style)
11425
+ @response_schema = args[:response_schema] if args.key?(:response_schema)
10909
11426
  @stop_sequences = args[:stop_sequences] if args.key?(:stop_sequences)
10910
11427
  @temperature = args[:temperature] if args.key?(:temperature)
10911
11428
  @top_k = args[:top_k] if args.key?(:top_k)
@@ -11011,6 +11528,19 @@ module Google
11011
11528
  end
11012
11529
  end
11013
11530
 
11531
+ # Tool to retrieve public web data for grounding, powered by Google.
11532
+ class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval
11533
+ include Google::Apis::Core::Hashable
11534
+
11535
+ def initialize(**args)
11536
+ update!(**args)
11537
+ end
11538
+
11539
+ # Update properties of this object
11540
+ def update!(**args)
11541
+ end
11542
+ end
11543
+
11014
11544
  # Input for groundedness metric.
11015
11545
  class GoogleCloudAiplatformV1beta1GroundednessInput
11016
11546
  include Google::Apis::Core::Hashable
@@ -11143,6 +11673,25 @@ module Google
11143
11673
  end
11144
11674
  end
11145
11675
 
11676
+ # Configures Reinforcement Learning to use human feedback during tuning.
11677
+ class GoogleCloudAiplatformV1beta1HumanFeedbackConfig
11678
+ include Google::Apis::Core::Hashable
11679
+
11680
+ # Required. Cloud Storage path to human preference data.
11681
+ # Corresponds to the JSON property `preferenceDatasetUri`
11682
+ # @return [String]
11683
+ attr_accessor :preference_dataset_uri
11684
+
11685
+ def initialize(**args)
11686
+ update!(**args)
11687
+ end
11688
+
11689
+ # Update properties of this object
11690
+ def update!(**args)
11691
+ @preference_dataset_uri = args[:preference_dataset_uri] if args.key?(:preference_dataset_uri)
11692
+ end
11693
+ end
11694
+
11146
11695
  # Represents a HyperparameterTuningJob. A HyperparameterTuningJob has a Study
11147
11696
  # specification and multiple CustomJobs with identical CustomJob specification.
11148
11697
  class GoogleCloudAiplatformV1beta1HyperparameterTuningJob
@@ -11663,6 +12212,15 @@ module Google
11663
12212
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GoogleDriveSource]
11664
12213
  attr_accessor :google_drive_source
11665
12214
 
12215
+ # Optional. The max number of queries per minute that this job is allowed to
12216
+ # make to the embedding model specified on the corpus. This value is specific to
12217
+ # this job and not shared across other import jobs. Consult the Quotas page on
12218
+ # the project to set an appropriate value here. If unspecified, a default value
12219
+ # of 1,000 QPM would be used.
12220
+ # Corresponds to the JSON property `maxEmbeddingRequestsPerMin`
12221
+ # @return [Fixnum]
12222
+ attr_accessor :max_embedding_requests_per_min
12223
+
11666
12224
  # Specifies the size and overlap of chunks for RagFiles.
11667
12225
  # Corresponds to the JSON property `ragFileChunkingConfig`
11668
12226
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileChunkingConfig]
@@ -11676,6 +12234,7 @@ module Google
11676
12234
  def update!(**args)
11677
12235
  @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
11678
12236
  @google_drive_source = args[:google_drive_source] if args.key?(:google_drive_source)
12237
+ @max_embedding_requests_per_min = args[:max_embedding_requests_per_min] if args.key?(:max_embedding_requests_per_min)
11679
12238
  @rag_file_chunking_config = args[:rag_file_chunking_config] if args.key?(:rag_file_chunking_config)
11680
12239
  end
11681
12240
  end
@@ -12541,6 +13100,32 @@ module Google
12541
13100
  end
12542
13101
  end
12543
13102
 
13103
+ # Response with a list of CachedContents.
13104
+ class GoogleCloudAiplatformV1beta1ListCachedContentsResponse
13105
+ include Google::Apis::Core::Hashable
13106
+
13107
+ # List of cached contents.
13108
+ # Corresponds to the JSON property `cachedContents`
13109
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CachedContent>]
13110
+ attr_accessor :cached_contents
13111
+
13112
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
13113
+ # field is omitted, there are no subsequent pages.
13114
+ # Corresponds to the JSON property `nextPageToken`
13115
+ # @return [String]
13116
+ attr_accessor :next_page_token
13117
+
13118
+ def initialize(**args)
13119
+ update!(**args)
13120
+ end
13121
+
13122
+ # Update properties of this object
13123
+ def update!(**args)
13124
+ @cached_contents = args[:cached_contents] if args.key?(:cached_contents)
13125
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
13126
+ end
13127
+ end
13128
+
12544
13129
  # Response message for MetadataService.ListContexts.
12545
13130
  class GoogleCloudAiplatformV1beta1ListContextsResponse
12546
13131
  include Google::Apis::Core::Hashable
@@ -14144,6 +14729,11 @@ module Google
14144
14729
  # @return [String]
14145
14730
  attr_accessor :create_time
14146
14731
 
14732
+ # Represents Dataplex integration settings.
14733
+ # Corresponds to the JSON property `dataplexConfig`
14734
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MetadataStoreDataplexConfig]
14735
+ attr_accessor :dataplex_config
14736
+
14147
14737
  # Description of the MetadataStore.
14148
14738
  # Corresponds to the JSON property `description`
14149
14739
  # @return [String]
@@ -14177,6 +14767,7 @@ module Google
14177
14767
  # Update properties of this object
14178
14768
  def update!(**args)
14179
14769
  @create_time = args[:create_time] if args.key?(:create_time)
14770
+ @dataplex_config = args[:dataplex_config] if args.key?(:dataplex_config)
14180
14771
  @description = args[:description] if args.key?(:description)
14181
14772
  @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
14182
14773
  @name = args[:name] if args.key?(:name)
@@ -14185,6 +14776,27 @@ module Google
14185
14776
  end
14186
14777
  end
14187
14778
 
14779
+ # Represents Dataplex integration settings.
14780
+ class GoogleCloudAiplatformV1beta1MetadataStoreDataplexConfig
14781
+ include Google::Apis::Core::Hashable
14782
+
14783
+ # Optional. Whether or not Data Lineage synchronization is enabled for Vertex
14784
+ # Pipelines.
14785
+ # Corresponds to the JSON property `enabledPipelinesLineage`
14786
+ # @return [Boolean]
14787
+ attr_accessor :enabled_pipelines_lineage
14788
+ alias_method :enabled_pipelines_lineage?, :enabled_pipelines_lineage
14789
+
14790
+ def initialize(**args)
14791
+ update!(**args)
14792
+ end
14793
+
14794
+ # Update properties of this object
14795
+ def update!(**args)
14796
+ @enabled_pipelines_lineage = args[:enabled_pipelines_lineage] if args.key?(:enabled_pipelines_lineage)
14797
+ end
14798
+ end
14799
+
14188
14800
  # Represents state information for a MetadataStore.
14189
14801
  class GoogleCloudAiplatformV1beta1MetadataStoreMetadataStoreState
14190
14802
  include Google::Apis::Core::Hashable
@@ -17392,7 +18004,8 @@ module Google
17392
18004
  class GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPointTypedValueDistributionDataValue
17393
18005
  include Google::Apis::Core::Hashable
17394
18006
 
17395
- # tensorflow.metadata.v0.DatasetFeatureStatistics format.
18007
+ # Predictive monitoring drift distribution in `tensorflow.metadata.v0.
18008
+ # DatasetFeatureStatistics` format.
17396
18009
  # Corresponds to the JSON property `distribution`
17397
18010
  # @return [Object]
17398
18011
  attr_accessor :distribution
@@ -18459,11 +19072,6 @@ module Google
18459
19072
  # @return [String]
18460
19073
  attr_accessor :create_time
18461
19074
 
18462
- # Compute configuration to use for an execution job.
18463
- # Corresponds to the JSON property `customEnvironmentSpec`
18464
- # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookExecutionJobCustomEnvironmentSpec]
18465
- attr_accessor :custom_environment_spec
18466
-
18467
19075
  # The Dataform Repository containing the input notebook.
18468
19076
  # Corresponds to the JSON property `dataformRepositorySource`
18469
19077
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookExecutionJobDataformRepositorySource]
@@ -18560,7 +19168,6 @@ module Google
18560
19168
  # Update properties of this object
18561
19169
  def update!(**args)
18562
19170
  @create_time = args[:create_time] if args.key?(:create_time)
18563
- @custom_environment_spec = args[:custom_environment_spec] if args.key?(:custom_environment_spec)
18564
19171
  @dataform_repository_source = args[:dataform_repository_source] if args.key?(:dataform_repository_source)
18565
19172
  @direct_notebook_source = args[:direct_notebook_source] if args.key?(:direct_notebook_source)
18566
19173
  @display_name = args[:display_name] if args.key?(:display_name)
@@ -18579,37 +19186,6 @@ module Google
18579
19186
  end
18580
19187
  end
18581
19188
 
18582
- # Compute configuration to use for an execution job.
18583
- class GoogleCloudAiplatformV1beta1NotebookExecutionJobCustomEnvironmentSpec
18584
- include Google::Apis::Core::Hashable
18585
-
18586
- # Specification of a single machine.
18587
- # Corresponds to the JSON property `machineSpec`
18588
- # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MachineSpec]
18589
- attr_accessor :machine_spec
18590
-
18591
- # Network spec.
18592
- # Corresponds to the JSON property `networkSpec`
18593
- # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NetworkSpec]
18594
- attr_accessor :network_spec
18595
-
18596
- # Represents the spec of persistent disk options.
18597
- # Corresponds to the JSON property `persistentDiskSpec`
18598
- # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PersistentDiskSpec]
18599
- attr_accessor :persistent_disk_spec
18600
-
18601
- def initialize(**args)
18602
- update!(**args)
18603
- end
18604
-
18605
- # Update properties of this object
18606
- def update!(**args)
18607
- @machine_spec = args[:machine_spec] if args.key?(:machine_spec)
18608
- @network_spec = args[:network_spec] if args.key?(:network_spec)
18609
- @persistent_disk_spec = args[:persistent_disk_spec] if args.key?(:persistent_disk_spec)
18610
- end
18611
- end
18612
-
18613
19189
  # The Dataform Repository containing the input notebook.
18614
19190
  class GoogleCloudAiplatformV1beta1NotebookExecutionJobDataformRepositorySource
18615
19191
  include Google::Apis::Core::Hashable
@@ -18714,42 +19290,6 @@ module Google
18714
19290
  end
18715
19291
  end
18716
19292
 
18717
- # Notebook Reservation Affinity for consuming Zonal reservation.
18718
- class GoogleCloudAiplatformV1beta1NotebookReservationAffinity
18719
- include Google::Apis::Core::Hashable
18720
-
18721
- # Required. Specifies the type of reservation from which this instance can
18722
- # consume resources: RESERVATION_ANY (default), RESERVATION_SPECIFIC, or
18723
- # RESERVATION_NONE. See Consuming reserved instances for examples.
18724
- # Corresponds to the JSON property `consumeReservationType`
18725
- # @return [String]
18726
- attr_accessor :consume_reservation_type
18727
-
18728
- # Optional. Corresponds to the label key of a reservation resource. To target a
18729
- # RESERVATION_SPECIFIC by name, use compute.googleapis.com/reservation-name as
18730
- # the key and specify the name of your reservation as its value.
18731
- # Corresponds to the JSON property `key`
18732
- # @return [String]
18733
- attr_accessor :key
18734
-
18735
- # Optional. Corresponds to the label values of a reservation resource. This must
18736
- # be the full path name of Reservation.
18737
- # Corresponds to the JSON property `values`
18738
- # @return [Array<String>]
18739
- attr_accessor :values
18740
-
18741
- def initialize(**args)
18742
- update!(**args)
18743
- end
18744
-
18745
- # Update properties of this object
18746
- def update!(**args)
18747
- @consume_reservation_type = args[:consume_reservation_type] if args.key?(:consume_reservation_type)
18748
- @key = args[:key] if args.key?(:key)
18749
- @values = args[:values] if args.key?(:values)
18750
- end
18751
- end
18752
-
18753
19293
  # A runtime is a virtual machine allocated to a particular user for a particular
18754
19294
  # Notebook file on temporary basis with lifetime limited to 24 hours.
18755
19295
  class GoogleCloudAiplatformV1beta1NotebookRuntime
@@ -18771,6 +19311,12 @@ module Google
18771
19311
  # @return [String]
18772
19312
  attr_accessor :display_name
18773
19313
 
19314
+ # Represents a customer-managed encryption key spec that can be applied to a top-
19315
+ # level resource.
19316
+ # Corresponds to the JSON property `encryptionSpec`
19317
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
19318
+ attr_accessor :encryption_spec
19319
+
18774
19320
  # Output only. Timestamp when this NotebookRuntime will be expired: 1. System
18775
19321
  # Predefined NotebookRuntime: 24 hours after creation. After expiration, system
18776
19322
  # predifined runtime will be deleted. 2. User created NotebookRuntime: 6 months
@@ -18785,6 +19331,12 @@ module Google
18785
19331
  # @return [String]
18786
19332
  attr_accessor :health_state
18787
19333
 
19334
+ # The idle shutdown configuration of NotebookRuntimeTemplate, which contains the
19335
+ # idle_timeout as required field.
19336
+ # Corresponds to the JSON property `idleShutdownConfig`
19337
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookIdleShutdownConfig]
19338
+ attr_accessor :idle_shutdown_config
19339
+
18788
19340
  # Output only. Whether NotebookRuntime is upgradable.
18789
19341
  # Corresponds to the JSON property `isUpgradable`
18790
19342
  # @return [Boolean]
@@ -18834,11 +19386,6 @@ module Google
18834
19386
  # @return [String]
18835
19387
  attr_accessor :proxy_uri
18836
19388
 
18837
- # Notebook Reservation Affinity for consuming Zonal reservation.
18838
- # Corresponds to the JSON property `reservationAffinity`
18839
- # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookReservationAffinity]
18840
- attr_accessor :reservation_affinity
18841
-
18842
19389
  # Output only. The runtime (instance) state of the NotebookRuntime.
18843
19390
  # Corresponds to the JSON property `runtimeState`
18844
19391
  # @return [String]
@@ -18885,8 +19432,10 @@ module Google
18885
19432
  @create_time = args[:create_time] if args.key?(:create_time)
18886
19433
  @description = args[:description] if args.key?(:description)
18887
19434
  @display_name = args[:display_name] if args.key?(:display_name)
19435
+ @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
18888
19436
  @expiration_time = args[:expiration_time] if args.key?(:expiration_time)
18889
19437
  @health_state = args[:health_state] if args.key?(:health_state)
19438
+ @idle_shutdown_config = args[:idle_shutdown_config] if args.key?(:idle_shutdown_config)
18890
19439
  @is_upgradable = args[:is_upgradable] if args.key?(:is_upgradable)
18891
19440
  @labels = args[:labels] if args.key?(:labels)
18892
19441
  @name = args[:name] if args.key?(:name)
@@ -18894,7 +19443,6 @@ module Google
18894
19443
  @notebook_runtime_template_ref = args[:notebook_runtime_template_ref] if args.key?(:notebook_runtime_template_ref)
18895
19444
  @notebook_runtime_type = args[:notebook_runtime_type] if args.key?(:notebook_runtime_type)
18896
19445
  @proxy_uri = args[:proxy_uri] if args.key?(:proxy_uri)
18897
- @reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
18898
19446
  @runtime_state = args[:runtime_state] if args.key?(:runtime_state)
18899
19447
  @runtime_user = args[:runtime_user] if args.key?(:runtime_user)
18900
19448
  @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
@@ -18932,6 +19480,12 @@ module Google
18932
19480
  # @return [String]
18933
19481
  attr_accessor :display_name
18934
19482
 
19483
+ # Represents a customer-managed encryption key spec that can be applied to a top-
19484
+ # level resource.
19485
+ # Corresponds to the JSON property `encryptionSpec`
19486
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
19487
+ attr_accessor :encryption_spec
19488
+
18935
19489
  # Used to perform consistent read-modify-write updates. If not set, a blind "
18936
19490
  # overwrite" update happens.
18937
19491
  # Corresponds to the JSON property `etag`
@@ -18990,11 +19544,6 @@ module Google
18990
19544
  # @return [String]
18991
19545
  attr_accessor :notebook_runtime_type
18992
19546
 
18993
- # Notebook Reservation Affinity for consuming Zonal reservation.
18994
- # Corresponds to the JSON property `reservationAffinity`
18995
- # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookReservationAffinity]
18996
- attr_accessor :reservation_affinity
18997
-
18998
19547
  # The service account that the runtime workload runs as. You can use any service
18999
19548
  # account within the same project, but you must have the service account user
19000
19549
  # permission to use the instance. If not specified, the [Compute Engine default
@@ -19027,6 +19576,7 @@ module Google
19027
19576
  @data_persistent_disk_spec = args[:data_persistent_disk_spec] if args.key?(:data_persistent_disk_spec)
19028
19577
  @description = args[:description] if args.key?(:description)
19029
19578
  @display_name = args[:display_name] if args.key?(:display_name)
19579
+ @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
19030
19580
  @etag = args[:etag] if args.key?(:etag)
19031
19581
  @euc_config = args[:euc_config] if args.key?(:euc_config)
19032
19582
  @idle_shutdown_config = args[:idle_shutdown_config] if args.key?(:idle_shutdown_config)
@@ -19037,7 +19587,6 @@ module Google
19037
19587
  @network_spec = args[:network_spec] if args.key?(:network_spec)
19038
19588
  @network_tags = args[:network_tags] if args.key?(:network_tags)
19039
19589
  @notebook_runtime_type = args[:notebook_runtime_type] if args.key?(:notebook_runtime_type)
19040
- @reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
19041
19590
  @service_account = args[:service_account] if args.key?(:service_account)
19042
19591
  @shielded_vm_config = args[:shielded_vm_config] if args.key?(:shielded_vm_config)
19043
19592
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -20615,12 +21164,6 @@ module Google
20615
21164
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployGke]
20616
21165
  attr_accessor :deploy_gke
20617
21166
 
20618
- # The regional resource name or the URI. Key is region, e.g., us-central1,
20619
- # europe-west2, global, etc..
20620
- # Corresponds to the JSON property `fineTune`
20621
- # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences]
20622
- attr_accessor :fine_tune
20623
-
20624
21167
  # The regional resource name or the URI. Key is region, e.g., us-central1,
20625
21168
  # europe-west2, global, etc..
20626
21169
  # Corresponds to the JSON property `openEvaluationPipeline`
@@ -20687,7 +21230,6 @@ module Google
20687
21230
  @create_application = args[:create_application] if args.key?(:create_application)
20688
21231
  @deploy = args[:deploy] if args.key?(:deploy)
20689
21232
  @deploy_gke = args[:deploy_gke] if args.key?(:deploy_gke)
20690
- @fine_tune = args[:fine_tune] if args.key?(:fine_tune)
20691
21233
  @open_evaluation_pipeline = args[:open_evaluation_pipeline] if args.key?(:open_evaluation_pipeline)
20692
21234
  @open_fine_tuning_pipeline = args[:open_fine_tuning_pipeline] if args.key?(:open_fine_tuning_pipeline)
20693
21235
  @open_fine_tuning_pipelines = args[:open_fine_tuning_pipelines] if args.key?(:open_fine_tuning_pipelines)
@@ -21964,6 +22506,11 @@ module Google
21964
22506
  # @return [String]
21965
22507
  attr_accessor :name
21966
22508
 
22509
+ # Config for the embedding model to use for RAG.
22510
+ # Corresponds to the JSON property `ragEmbeddingModelConfig`
22511
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig]
22512
+ attr_accessor :rag_embedding_model_config
22513
+
21967
22514
  # Output only. Timestamp when this RagCorpus was last updated.
21968
22515
  # Corresponds to the JSON property `updateTime`
21969
22516
  # @return [String]
@@ -21979,10 +22526,66 @@ module Google
21979
22526
  @description = args[:description] if args.key?(:description)
21980
22527
  @display_name = args[:display_name] if args.key?(:display_name)
21981
22528
  @name = args[:name] if args.key?(:name)
22529
+ @rag_embedding_model_config = args[:rag_embedding_model_config] if args.key?(:rag_embedding_model_config)
21982
22530
  @update_time = args[:update_time] if args.key?(:update_time)
21983
22531
  end
21984
22532
  end
21985
22533
 
22534
+ # Config for the embedding model to use for RAG.
22535
+ class GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig
22536
+ include Google::Apis::Core::Hashable
22537
+
22538
+ # Config representing a model hosted on Vertex Prediction Endpoint.
22539
+ # Corresponds to the JSON property `vertexPredictionEndpoint`
22540
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagEmbeddingModelConfigVertexPredictionEndpoint]
22541
+ attr_accessor :vertex_prediction_endpoint
22542
+
22543
+ def initialize(**args)
22544
+ update!(**args)
22545
+ end
22546
+
22547
+ # Update properties of this object
22548
+ def update!(**args)
22549
+ @vertex_prediction_endpoint = args[:vertex_prediction_endpoint] if args.key?(:vertex_prediction_endpoint)
22550
+ end
22551
+ end
22552
+
22553
+ # Config representing a model hosted on Vertex Prediction Endpoint.
22554
+ class GoogleCloudAiplatformV1beta1RagEmbeddingModelConfigVertexPredictionEndpoint
22555
+ include Google::Apis::Core::Hashable
22556
+
22557
+ # Required. The endpoint resource name. Format: `projects/`project`/locations/`
22558
+ # location`/publishers/`publisher`/models/`model`` or `projects/`project`/
22559
+ # locations/`location`/endpoints/`endpoint``
22560
+ # Corresponds to the JSON property `endpoint`
22561
+ # @return [String]
22562
+ attr_accessor :endpoint
22563
+
22564
+ # Output only. The resource name of the model that is deployed on the endpoint.
22565
+ # Present only when the endpoint is not a publisher model. Pattern: `projects/`
22566
+ # project`/locations/`location`/models/`model``
22567
+ # Corresponds to the JSON property `model`
22568
+ # @return [String]
22569
+ attr_accessor :model
22570
+
22571
+ # Output only. Version ID of the model that is deployed on the endpoint. Present
22572
+ # only when the endpoint is not a publisher model.
22573
+ # Corresponds to the JSON property `modelVersionId`
22574
+ # @return [String]
22575
+ attr_accessor :model_version_id
22576
+
22577
+ def initialize(**args)
22578
+ update!(**args)
22579
+ end
22580
+
22581
+ # Update properties of this object
22582
+ def update!(**args)
22583
+ @endpoint = args[:endpoint] if args.key?(:endpoint)
22584
+ @model = args[:model] if args.key?(:model)
22585
+ @model_version_id = args[:model_version_id] if args.key?(:model_version_id)
22586
+ end
22587
+ end
22588
+
21986
22589
  # A RagFile contains user data for chunking, embedding and indexing.
21987
22590
  class GoogleCloudAiplatformV1beta1RagFile
21988
22591
  include Google::Apis::Core::Hashable
@@ -22687,6 +23290,108 @@ module Google
22687
23290
  end
22688
23291
  end
22689
23292
 
23293
+ # Statistics computed for datasets used for reinforcement learning.
23294
+ class GoogleCloudAiplatformV1beta1ReinforcementLearningDataStats
23295
+ include Google::Apis::Core::Hashable
23296
+
23297
+ # Statistics computed over a tuning dataset.
23298
+ # Corresponds to the JSON property `preferenceDatasetStats`
23299
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetStats]
23300
+ attr_accessor :preference_dataset_stats
23301
+
23302
+ # Statistics computed over a tuning dataset.
23303
+ # Corresponds to the JSON property `promptDatasetStats`
23304
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetStats]
23305
+ attr_accessor :prompt_dataset_stats
23306
+
23307
+ def initialize(**args)
23308
+ update!(**args)
23309
+ end
23310
+
23311
+ # Update properties of this object
23312
+ def update!(**args)
23313
+ @preference_dataset_stats = args[:preference_dataset_stats] if args.key?(:preference_dataset_stats)
23314
+ @prompt_dataset_stats = args[:prompt_dataset_stats] if args.key?(:prompt_dataset_stats)
23315
+ end
23316
+ end
23317
+
23318
+ # Hyperparameters for Reinforcement Learning.
23319
+ class GoogleCloudAiplatformV1beta1ReinforcementLearningHyperParameters
23320
+ include Google::Apis::Core::Hashable
23321
+
23322
+ # Optional. Number of training epoches for the tuning job.
23323
+ # Corresponds to the JSON property `epochCount`
23324
+ # @return [Fixnum]
23325
+ attr_accessor :epoch_count
23326
+
23327
+ # Configures Reinforcement Learning to use human feedback during tuning.
23328
+ # Corresponds to the JSON property `humanFeedbackConfig`
23329
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1HumanFeedbackConfig]
23330
+ attr_accessor :human_feedback_config
23331
+
23332
+ # Optional. KL divergence coefficient for Reinforcement Learning.
23333
+ # Corresponds to the JSON property `klCoefficient`
23334
+ # @return [Float]
23335
+ attr_accessor :kl_coefficient
23336
+
23337
+ # Optional. Learning rate multiplier for Reinforcement Learning.
23338
+ # Corresponds to the JSON property `learningRateMultiplier`
23339
+ # @return [Float]
23340
+ attr_accessor :learning_rate_multiplier
23341
+
23342
+ # Configures Reinforcement Learning to learn preference by training a reward
23343
+ # model.
23344
+ # Corresponds to the JSON property `rewardModelTrainingConfig`
23345
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RewardModelTrainingConfig]
23346
+ attr_accessor :reward_model_training_config
23347
+
23348
+ def initialize(**args)
23349
+ update!(**args)
23350
+ end
23351
+
23352
+ # Update properties of this object
23353
+ def update!(**args)
23354
+ @epoch_count = args[:epoch_count] if args.key?(:epoch_count)
23355
+ @human_feedback_config = args[:human_feedback_config] if args.key?(:human_feedback_config)
23356
+ @kl_coefficient = args[:kl_coefficient] if args.key?(:kl_coefficient)
23357
+ @learning_rate_multiplier = args[:learning_rate_multiplier] if args.key?(:learning_rate_multiplier)
23358
+ @reward_model_training_config = args[:reward_model_training_config] if args.key?(:reward_model_training_config)
23359
+ end
23360
+ end
23361
+
23362
+ # Tuning Spec for Reinforcement Learning.
23363
+ class GoogleCloudAiplatformV1beta1ReinforcementLearningSpec
23364
+ include Google::Apis::Core::Hashable
23365
+
23366
+ # Hyperparameters for Reinforcement Learning.
23367
+ # Corresponds to the JSON property `hyperParameters`
23368
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReinforcementLearningHyperParameters]
23369
+ attr_accessor :hyper_parameters
23370
+
23371
+ # Required. Cloud Storage path to the prompt dataset to use during Reinforcement
23372
+ # Learning.
23373
+ # Corresponds to the JSON property `promptDatasetUri`
23374
+ # @return [String]
23375
+ attr_accessor :prompt_dataset_uri
23376
+
23377
+ # Optional. Cloud Storage path to the validation dataset to use during
23378
+ # Reinforcement Learning.
23379
+ # Corresponds to the JSON property `validationDatasetUri`
23380
+ # @return [String]
23381
+ attr_accessor :validation_dataset_uri
23382
+
23383
+ def initialize(**args)
23384
+ update!(**args)
23385
+ end
23386
+
23387
+ # Update properties of this object
23388
+ def update!(**args)
23389
+ @hyper_parameters = args[:hyper_parameters] if args.key?(:hyper_parameters)
23390
+ @prompt_dataset_uri = args[:prompt_dataset_uri] if args.key?(:prompt_dataset_uri)
23391
+ @validation_dataset_uri = args[:validation_dataset_uri] if args.key?(:validation_dataset_uri)
23392
+ end
23393
+ end
23394
+
22690
23395
  # Request message for MetadataService.DeleteContextChildrenRequest.
22691
23396
  class GoogleCloudAiplatformV1beta1RemoveContextChildrenRequest
22692
23397
  include Google::Apis::Core::Hashable
@@ -23219,6 +23924,32 @@ module Google
23219
23924
  end
23220
23925
  end
23221
23926
 
23927
+ # Configures Reinforcement Learning to learn preference by training a reward
23928
+ # model.
23929
+ class GoogleCloudAiplatformV1beta1RewardModelTrainingConfig
23930
+ include Google::Apis::Core::Hashable
23931
+
23932
+ # Optional. Number of training epoches for the reward model training job.
23933
+ # Corresponds to the JSON property `epochCount`
23934
+ # @return [Fixnum]
23935
+ attr_accessor :epoch_count
23936
+
23937
+ # Optional. Learning rate multiplier for reward model training.
23938
+ # Corresponds to the JSON property `learningRateMultiplier`
23939
+ # @return [Float]
23940
+ attr_accessor :learning_rate_multiplier
23941
+
23942
+ def initialize(**args)
23943
+ update!(**args)
23944
+ end
23945
+
23946
+ # Update properties of this object
23947
+ def update!(**args)
23948
+ @epoch_count = args[:epoch_count] if args.key?(:epoch_count)
23949
+ @learning_rate_multiplier = args[:learning_rate_multiplier] if args.key?(:learning_rate_multiplier)
23950
+ end
23951
+ end
23952
+
23222
23953
  # Input for rouge metric.
23223
23954
  class GoogleCloudAiplatformV1beta1RougeInput
23224
23955
  include Google::Apis::Core::Hashable
@@ -23414,17 +24145,17 @@ module Google
23414
24145
  class GoogleCloudAiplatformV1beta1RuntimeConfigVertexAiSearchRuntimeConfig
23415
24146
  include Google::Apis::Core::Hashable
23416
24147
 
23417
- # Vertex AI Search App ID. This is used to construct the search request. By
23418
- # setting this app_id, API will construct the serving config which is required
23419
- # to call search API for the user. The app_id and serving_config_name cannot
23420
- # both be empty at the same time.
23421
- # Corresponds to the JSON property `appId`
24148
+ # Optional. Vertex AI Search engine ID. This is used to construct the search
24149
+ # request. By setting this engine_id, API will construct the serving config
24150
+ # using the default value to call search API for the user. The engine_id and
24151
+ # serving_config_name cannot both be empty at the same time.
24152
+ # Corresponds to the JSON property `engineId`
23422
24153
  # @return [String]
23423
- attr_accessor :app_id
24154
+ attr_accessor :engine_id
23424
24155
 
23425
- # [Deprecated] Please use app_id instead. Vertex AI Search serving config name.
23426
- # Format: `projects/`project`/locations/`location`/collections/`collection`/
23427
- # engines/`engine`/servingConfigs/`serving_config``
24156
+ # Optional. Vertex AI Search serving config name. Format: `projects/`project`/
24157
+ # locations/`location`/collections/`collection`/engines/`engine`/servingConfigs/`
24158
+ # serving_config``
23428
24159
  # Corresponds to the JSON property `servingConfigName`
23429
24160
  # @return [String]
23430
24161
  attr_accessor :serving_config_name
@@ -23435,7 +24166,7 @@ module Google
23435
24166
 
23436
24167
  # Update properties of this object
23437
24168
  def update!(**args)
23438
- @app_id = args[:app_id] if args.key?(:app_id)
24169
+ @engine_id = args[:engine_id] if args.key?(:engine_id)
23439
24170
  @serving_config_name = args[:serving_config_name] if args.key?(:serving_config_name)
23440
24171
  end
23441
24172
  end
@@ -30948,6 +31679,40 @@ module Google
30948
31679
  end
30949
31680
  end
30950
31681
 
31682
+ # Request message for PredictionService.StreamRawPredict.
31683
+ class GoogleCloudAiplatformV1beta1StreamRawPredictRequest
31684
+ include Google::Apis::Core::Hashable
31685
+
31686
+ # Message that represents an arbitrary HTTP body. It should only be used for
31687
+ # payload formats that can't be represented as JSON, such as raw binary or an
31688
+ # HTML page. This message can be used both in streaming and non-streaming API
31689
+ # methods in the request as well as the response. It can be used as a top-level
31690
+ # request field, which is convenient if one wants to extract parameters from
31691
+ # either the URL or HTTP template into the request fields and also want access
31692
+ # to the raw HTTP body. Example: message GetResourceRequest ` // A unique
31693
+ # request id. string request_id = 1; // The raw HTTP body is bound to this field.
31694
+ # google.api.HttpBody http_body = 2; ` service ResourceService ` rpc
31695
+ # GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc
31696
+ # UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); ` Example
31697
+ # with streaming methods: service CaldavService ` rpc GetCalendar(stream google.
31698
+ # api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream
31699
+ # google.api.HttpBody) returns (stream google.api.HttpBody); ` Use of this type
31700
+ # only changes how the request and response bodies are handled, all other
31701
+ # features will continue to work unchanged.
31702
+ # Corresponds to the JSON property `httpBody`
31703
+ # @return [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody]
31704
+ attr_accessor :http_body
31705
+
31706
+ def initialize(**args)
31707
+ update!(**args)
31708
+ end
31709
+
31710
+ # Update properties of this object
31711
+ def update!(**args)
31712
+ @http_body = args[:http_body] if args.key?(:http_body)
31713
+ end
31714
+ end
31715
+
30951
31716
  # Request message for FeatureOnlineStoreService.StreamingFetchFeatureValues. For
30952
31717
  # the entities requested, all features under the requested feature view will be
30953
31718
  # returned.
@@ -31110,6 +31875,50 @@ module Google
31110
31875
  end
31111
31876
  end
31112
31877
 
31878
+ # One field of a Struct (or object) type feature value.
31879
+ class GoogleCloudAiplatformV1beta1StructFieldValue
31880
+ include Google::Apis::Core::Hashable
31881
+
31882
+ # Name of the field in the struct feature.
31883
+ # Corresponds to the JSON property `name`
31884
+ # @return [String]
31885
+ attr_accessor :name
31886
+
31887
+ # Value for a feature.
31888
+ # Corresponds to the JSON property `value`
31889
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureValue]
31890
+ attr_accessor :value
31891
+
31892
+ def initialize(**args)
31893
+ update!(**args)
31894
+ end
31895
+
31896
+ # Update properties of this object
31897
+ def update!(**args)
31898
+ @name = args[:name] if args.key?(:name)
31899
+ @value = args[:value] if args.key?(:value)
31900
+ end
31901
+ end
31902
+
31903
+ # Struct (or object) type feature value.
31904
+ class GoogleCloudAiplatformV1beta1StructValue
31905
+ include Google::Apis::Core::Hashable
31906
+
31907
+ # A list of field values.
31908
+ # Corresponds to the JSON property `values`
31909
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StructFieldValue>]
31910
+ attr_accessor :values
31911
+
31912
+ def initialize(**args)
31913
+ update!(**args)
31914
+ end
31915
+
31916
+ # Update properties of this object
31917
+ def update!(**args)
31918
+ @values = args[:values] if args.key?(:values)
31919
+ end
31920
+ end
31921
+
31113
31922
  # A message representing a Study.
31114
31923
  class GoogleCloudAiplatformV1beta1Study
31115
31924
  include Google::Apis::Core::Hashable
@@ -33385,6 +34194,11 @@ module Google
33385
34194
  # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionDeclaration>]
33386
34195
  attr_accessor :function_declarations
33387
34196
 
34197
+ # Tool to retrieve public web data for grounding, powered by Google.
34198
+ # Corresponds to the JSON property `googleSearchRetrieval`
34199
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval]
34200
+ attr_accessor :google_search_retrieval
34201
+
33388
34202
  # Defines a retrieval tool that model can call to access external knowledge.
33389
34203
  # Corresponds to the JSON property `retrieval`
33390
34204
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Retrieval]
@@ -33397,6 +34211,7 @@ module Google
33397
34211
  # Update properties of this object
33398
34212
  def update!(**args)
33399
34213
  @function_declarations = args[:function_declarations] if args.key?(:function_declarations)
34214
+ @google_search_retrieval = args[:google_search_retrieval] if args.key?(:google_search_retrieval)
33400
34215
  @retrieval = args[:retrieval] if args.key?(:retrieval)
33401
34216
  end
33402
34217
  end
@@ -34279,6 +35094,16 @@ module Google
34279
35094
  class GoogleCloudAiplatformV1beta1TuningDataStats
34280
35095
  include Google::Apis::Core::Hashable
34281
35096
 
35097
+ # Statistics computed for datasets used for distillation.
35098
+ # Corresponds to the JSON property `distillationDataStats`
35099
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DistillationDataStats]
35100
+ attr_accessor :distillation_data_stats
35101
+
35102
+ # Statistics computed for datasets used for reinforcement learning.
35103
+ # Corresponds to the JSON property `reinforcementLearningDataStats`
35104
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReinforcementLearningDataStats]
35105
+ attr_accessor :reinforcement_learning_data_stats
35106
+
34282
35107
  # Tuning data statistics for Supervised Tuning.
34283
35108
  # Corresponds to the JSON property `supervisedTuningDataStats`
34284
35109
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SupervisedTuningDataStats]
@@ -34290,6 +35115,8 @@ module Google
34290
35115
 
34291
35116
  # Update properties of this object
34292
35117
  def update!(**args)
35118
+ @distillation_data_stats = args[:distillation_data_stats] if args.key?(:distillation_data_stats)
35119
+ @reinforcement_learning_data_stats = args[:reinforcement_learning_data_stats] if args.key?(:reinforcement_learning_data_stats)
34293
35120
  @supervised_tuning_data_stats = args[:supervised_tuning_data_stats] if args.key?(:supervised_tuning_data_stats)
34294
35121
  end
34295
35122
  end
@@ -34313,6 +35140,11 @@ module Google
34313
35140
  # @return [String]
34314
35141
  attr_accessor :description
34315
35142
 
35143
+ # Tuning Spec for Distillation.
35144
+ # Corresponds to the JSON property `distillationSpec`
35145
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DistillationSpec]
35146
+ attr_accessor :distillation_spec
35147
+
34316
35148
  # Represents a customer-managed encryption key spec that can be applied to a top-
34317
35149
  # level resource.
34318
35150
  # Corresponds to the JSON property `encryptionSpec`
@@ -34357,6 +35189,18 @@ module Google
34357
35189
  # @return [String]
34358
35190
  attr_accessor :name
34359
35191
 
35192
+ # Output only. The resource name of the PipelineJob associated with the
35193
+ # TuningJob. Format: `projects/`project`/locations/`location`/pipelineJobs/`
35194
+ # pipeline_job``.
35195
+ # Corresponds to the JSON property `pipelineJob`
35196
+ # @return [String]
35197
+ attr_accessor :pipeline_job
35198
+
35199
+ # Tuning Spec for Reinforcement Learning.
35200
+ # Corresponds to the JSON property `reinforcementLearningSpec`
35201
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReinforcementLearningSpec]
35202
+ attr_accessor :reinforcement_learning_spec
35203
+
34360
35204
  # Output only. Time when the TuningJob for the first time entered the `
34361
35205
  # JOB_STATE_RUNNING` state.
34362
35206
  # Corresponds to the JSON property `startTime`
@@ -34404,12 +35248,15 @@ module Google
34404
35248
  @base_model = args[:base_model] if args.key?(:base_model)
34405
35249
  @create_time = args[:create_time] if args.key?(:create_time)
34406
35250
  @description = args[:description] if args.key?(:description)
35251
+ @distillation_spec = args[:distillation_spec] if args.key?(:distillation_spec)
34407
35252
  @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
34408
35253
  @end_time = args[:end_time] if args.key?(:end_time)
34409
35254
  @error = args[:error] if args.key?(:error)
34410
35255
  @experiment = args[:experiment] if args.key?(:experiment)
34411
35256
  @labels = args[:labels] if args.key?(:labels)
34412
35257
  @name = args[:name] if args.key?(:name)
35258
+ @pipeline_job = args[:pipeline_job] if args.key?(:pipeline_job)
35259
+ @reinforcement_learning_spec = args[:reinforcement_learning_spec] if args.key?(:reinforcement_learning_spec)
34413
35260
  @start_time = args[:start_time] if args.key?(:start_time)
34414
35261
  @state = args[:state] if args.key?(:state)
34415
35262
  @supervised_tuning_spec = args[:supervised_tuning_spec] if args.key?(:supervised_tuning_spec)