google-apis-aiplatform_v1beta1 0.28.0 → 0.29.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.
@@ -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
@@ -12541,6 +13090,32 @@ module Google
12541
13090
  end
12542
13091
  end
12543
13092
 
13093
+ # Response with a list of CachedContents.
13094
+ class GoogleCloudAiplatformV1beta1ListCachedContentsResponse
13095
+ include Google::Apis::Core::Hashable
13096
+
13097
+ # List of cached contents.
13098
+ # Corresponds to the JSON property `cachedContents`
13099
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1CachedContent>]
13100
+ attr_accessor :cached_contents
13101
+
13102
+ # A token, which can be sent as `page_token` to retrieve the next page. If this
13103
+ # field is omitted, there are no subsequent pages.
13104
+ # Corresponds to the JSON property `nextPageToken`
13105
+ # @return [String]
13106
+ attr_accessor :next_page_token
13107
+
13108
+ def initialize(**args)
13109
+ update!(**args)
13110
+ end
13111
+
13112
+ # Update properties of this object
13113
+ def update!(**args)
13114
+ @cached_contents = args[:cached_contents] if args.key?(:cached_contents)
13115
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
13116
+ end
13117
+ end
13118
+
12544
13119
  # Response message for MetadataService.ListContexts.
12545
13120
  class GoogleCloudAiplatformV1beta1ListContextsResponse
12546
13121
  include Google::Apis::Core::Hashable
@@ -14144,6 +14719,11 @@ module Google
14144
14719
  # @return [String]
14145
14720
  attr_accessor :create_time
14146
14721
 
14722
+ # Represents Dataplex integration settings.
14723
+ # Corresponds to the JSON property `dataplexConfig`
14724
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1MetadataStoreDataplexConfig]
14725
+ attr_accessor :dataplex_config
14726
+
14147
14727
  # Description of the MetadataStore.
14148
14728
  # Corresponds to the JSON property `description`
14149
14729
  # @return [String]
@@ -14177,6 +14757,7 @@ module Google
14177
14757
  # Update properties of this object
14178
14758
  def update!(**args)
14179
14759
  @create_time = args[:create_time] if args.key?(:create_time)
14760
+ @dataplex_config = args[:dataplex_config] if args.key?(:dataplex_config)
14180
14761
  @description = args[:description] if args.key?(:description)
14181
14762
  @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
14182
14763
  @name = args[:name] if args.key?(:name)
@@ -14185,6 +14766,27 @@ module Google
14185
14766
  end
14186
14767
  end
14187
14768
 
14769
+ # Represents Dataplex integration settings.
14770
+ class GoogleCloudAiplatformV1beta1MetadataStoreDataplexConfig
14771
+ include Google::Apis::Core::Hashable
14772
+
14773
+ # Optional. Whether or not Data Lineage synchronization is enabled for Vertex
14774
+ # Pipelines.
14775
+ # Corresponds to the JSON property `enabledPipelinesLineage`
14776
+ # @return [Boolean]
14777
+ attr_accessor :enabled_pipelines_lineage
14778
+ alias_method :enabled_pipelines_lineage?, :enabled_pipelines_lineage
14779
+
14780
+ def initialize(**args)
14781
+ update!(**args)
14782
+ end
14783
+
14784
+ # Update properties of this object
14785
+ def update!(**args)
14786
+ @enabled_pipelines_lineage = args[:enabled_pipelines_lineage] if args.key?(:enabled_pipelines_lineage)
14787
+ end
14788
+ end
14789
+
14188
14790
  # Represents state information for a MetadataStore.
14189
14791
  class GoogleCloudAiplatformV1beta1MetadataStoreMetadataStoreState
14190
14792
  include Google::Apis::Core::Hashable
@@ -16229,6 +16831,40 @@ module Google
16229
16831
  end
16230
16832
  end
16231
16833
 
16834
+ # A collection of data points that describes the time-varying values of a gen ai
16835
+ # metric.
16836
+ class GoogleCloudAiplatformV1beta1ModelMonitoringGenAiStats
16837
+ include Google::Apis::Core::Hashable
16838
+
16839
+ # The data points of this time series. When listing time series, points are
16840
+ # returned in reverse time order.
16841
+ # Corresponds to the JSON property `dataPoints`
16842
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPoint>]
16843
+ attr_accessor :data_points
16844
+
16845
+ # One of the supported monitoring objectives: `gen-ai-general` `gen-ai-
16846
+ # evaluation` `gen-ai-safety`
16847
+ # Corresponds to the JSON property `objectiveType`
16848
+ # @return [String]
16849
+ attr_accessor :objective_type
16850
+
16851
+ # The stats name.
16852
+ # Corresponds to the JSON property `statsName`
16853
+ # @return [String]
16854
+ attr_accessor :stats_name
16855
+
16856
+ def initialize(**args)
16857
+ update!(**args)
16858
+ end
16859
+
16860
+ # Update properties of this object
16861
+ def update!(**args)
16862
+ @data_points = args[:data_points] if args.key?(:data_points)
16863
+ @objective_type = args[:objective_type] if args.key?(:objective_type)
16864
+ @stats_name = args[:stats_name] if args.key?(:stats_name)
16865
+ end
16866
+ end
16867
+
16232
16868
  # Model monitoring data input spec.
16233
16869
  class GoogleCloudAiplatformV1beta1ModelMonitoringInput
16234
16870
  include Google::Apis::Core::Hashable
@@ -17202,6 +17838,12 @@ module Google
17202
17838
  class GoogleCloudAiplatformV1beta1ModelMonitoringStats
17203
17839
  include Google::Apis::Core::Hashable
17204
17840
 
17841
+ # A collection of data points that describes the time-varying values of a gen ai
17842
+ # metric.
17843
+ # Corresponds to the JSON property `genAiStats`
17844
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ModelMonitoringGenAiStats]
17845
+ attr_accessor :gen_ai_stats
17846
+
17205
17847
  # A collection of data points that describes the time-varying values of a
17206
17848
  # tabular metric.
17207
17849
  # Corresponds to the JSON property `tabularStats`
@@ -17214,6 +17856,7 @@ module Google
17214
17856
 
17215
17857
  # Update properties of this object
17216
17858
  def update!(**args)
17859
+ @gen_ai_stats = args[:gen_ai_stats] if args.key?(:gen_ai_stats)
17217
17860
  @tabular_stats = args[:tabular_stats] if args.key?(:tabular_stats)
17218
17861
  end
17219
17862
  end
@@ -17392,7 +18035,8 @@ module Google
17392
18035
  class GoogleCloudAiplatformV1beta1ModelMonitoringStatsDataPointTypedValueDistributionDataValue
17393
18036
  include Google::Apis::Core::Hashable
17394
18037
 
17395
- # tensorflow.metadata.v0.DatasetFeatureStatistics format.
18038
+ # Predictive monitoring drift distribution in `tensorflow.metadata.v0.
18039
+ # DatasetFeatureStatistics` format.
17396
18040
  # Corresponds to the JSON property `distribution`
17397
18041
  # @return [Object]
17398
18042
  attr_accessor :distribution
@@ -18459,11 +19103,6 @@ module Google
18459
19103
  # @return [String]
18460
19104
  attr_accessor :create_time
18461
19105
 
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
19106
  # The Dataform Repository containing the input notebook.
18468
19107
  # Corresponds to the JSON property `dataformRepositorySource`
18469
19108
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookExecutionJobDataformRepositorySource]
@@ -18560,7 +19199,6 @@ module Google
18560
19199
  # Update properties of this object
18561
19200
  def update!(**args)
18562
19201
  @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
19202
  @dataform_repository_source = args[:dataform_repository_source] if args.key?(:dataform_repository_source)
18565
19203
  @direct_notebook_source = args[:direct_notebook_source] if args.key?(:direct_notebook_source)
18566
19204
  @display_name = args[:display_name] if args.key?(:display_name)
@@ -18579,37 +19217,6 @@ module Google
18579
19217
  end
18580
19218
  end
18581
19219
 
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
19220
  # The Dataform Repository containing the input notebook.
18614
19221
  class GoogleCloudAiplatformV1beta1NotebookExecutionJobDataformRepositorySource
18615
19222
  include Google::Apis::Core::Hashable
@@ -18714,42 +19321,6 @@ module Google
18714
19321
  end
18715
19322
  end
18716
19323
 
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
19324
  # A runtime is a virtual machine allocated to a particular user for a particular
18754
19325
  # Notebook file on temporary basis with lifetime limited to 24 hours.
18755
19326
  class GoogleCloudAiplatformV1beta1NotebookRuntime
@@ -18771,6 +19342,12 @@ module Google
18771
19342
  # @return [String]
18772
19343
  attr_accessor :display_name
18773
19344
 
19345
+ # Represents a customer-managed encryption key spec that can be applied to a top-
19346
+ # level resource.
19347
+ # Corresponds to the JSON property `encryptionSpec`
19348
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
19349
+ attr_accessor :encryption_spec
19350
+
18774
19351
  # Output only. Timestamp when this NotebookRuntime will be expired: 1. System
18775
19352
  # Predefined NotebookRuntime: 24 hours after creation. After expiration, system
18776
19353
  # predifined runtime will be deleted. 2. User created NotebookRuntime: 6 months
@@ -18785,6 +19362,12 @@ module Google
18785
19362
  # @return [String]
18786
19363
  attr_accessor :health_state
18787
19364
 
19365
+ # The idle shutdown configuration of NotebookRuntimeTemplate, which contains the
19366
+ # idle_timeout as required field.
19367
+ # Corresponds to the JSON property `idleShutdownConfig`
19368
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1NotebookIdleShutdownConfig]
19369
+ attr_accessor :idle_shutdown_config
19370
+
18788
19371
  # Output only. Whether NotebookRuntime is upgradable.
18789
19372
  # Corresponds to the JSON property `isUpgradable`
18790
19373
  # @return [Boolean]
@@ -18834,11 +19417,6 @@ module Google
18834
19417
  # @return [String]
18835
19418
  attr_accessor :proxy_uri
18836
19419
 
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
19420
  # Output only. The runtime (instance) state of the NotebookRuntime.
18843
19421
  # Corresponds to the JSON property `runtimeState`
18844
19422
  # @return [String]
@@ -18885,8 +19463,10 @@ module Google
18885
19463
  @create_time = args[:create_time] if args.key?(:create_time)
18886
19464
  @description = args[:description] if args.key?(:description)
18887
19465
  @display_name = args[:display_name] if args.key?(:display_name)
19466
+ @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
18888
19467
  @expiration_time = args[:expiration_time] if args.key?(:expiration_time)
18889
19468
  @health_state = args[:health_state] if args.key?(:health_state)
19469
+ @idle_shutdown_config = args[:idle_shutdown_config] if args.key?(:idle_shutdown_config)
18890
19470
  @is_upgradable = args[:is_upgradable] if args.key?(:is_upgradable)
18891
19471
  @labels = args[:labels] if args.key?(:labels)
18892
19472
  @name = args[:name] if args.key?(:name)
@@ -18894,7 +19474,6 @@ module Google
18894
19474
  @notebook_runtime_template_ref = args[:notebook_runtime_template_ref] if args.key?(:notebook_runtime_template_ref)
18895
19475
  @notebook_runtime_type = args[:notebook_runtime_type] if args.key?(:notebook_runtime_type)
18896
19476
  @proxy_uri = args[:proxy_uri] if args.key?(:proxy_uri)
18897
- @reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
18898
19477
  @runtime_state = args[:runtime_state] if args.key?(:runtime_state)
18899
19478
  @runtime_user = args[:runtime_user] if args.key?(:runtime_user)
18900
19479
  @satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
@@ -18932,6 +19511,12 @@ module Google
18932
19511
  # @return [String]
18933
19512
  attr_accessor :display_name
18934
19513
 
19514
+ # Represents a customer-managed encryption key spec that can be applied to a top-
19515
+ # level resource.
19516
+ # Corresponds to the JSON property `encryptionSpec`
19517
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1EncryptionSpec]
19518
+ attr_accessor :encryption_spec
19519
+
18935
19520
  # Used to perform consistent read-modify-write updates. If not set, a blind "
18936
19521
  # overwrite" update happens.
18937
19522
  # Corresponds to the JSON property `etag`
@@ -18990,11 +19575,6 @@ module Google
18990
19575
  # @return [String]
18991
19576
  attr_accessor :notebook_runtime_type
18992
19577
 
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
19578
  # The service account that the runtime workload runs as. You can use any service
18999
19579
  # account within the same project, but you must have the service account user
19000
19580
  # permission to use the instance. If not specified, the [Compute Engine default
@@ -19027,6 +19607,7 @@ module Google
19027
19607
  @data_persistent_disk_spec = args[:data_persistent_disk_spec] if args.key?(:data_persistent_disk_spec)
19028
19608
  @description = args[:description] if args.key?(:description)
19029
19609
  @display_name = args[:display_name] if args.key?(:display_name)
19610
+ @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
19030
19611
  @etag = args[:etag] if args.key?(:etag)
19031
19612
  @euc_config = args[:euc_config] if args.key?(:euc_config)
19032
19613
  @idle_shutdown_config = args[:idle_shutdown_config] if args.key?(:idle_shutdown_config)
@@ -19037,7 +19618,6 @@ module Google
19037
19618
  @network_spec = args[:network_spec] if args.key?(:network_spec)
19038
19619
  @network_tags = args[:network_tags] if args.key?(:network_tags)
19039
19620
  @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
19621
  @service_account = args[:service_account] if args.key?(:service_account)
19042
19622
  @shielded_vm_config = args[:shielded_vm_config] if args.key?(:shielded_vm_config)
19043
19623
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -22687,6 +23267,108 @@ module Google
22687
23267
  end
22688
23268
  end
22689
23269
 
23270
+ # Statistics computed for datasets used for reinforcement learning.
23271
+ class GoogleCloudAiplatformV1beta1ReinforcementLearningDataStats
23272
+ include Google::Apis::Core::Hashable
23273
+
23274
+ # Statistics computed over a tuning dataset.
23275
+ # Corresponds to the JSON property `preferenceDatasetStats`
23276
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetStats]
23277
+ attr_accessor :preference_dataset_stats
23278
+
23279
+ # Statistics computed over a tuning dataset.
23280
+ # Corresponds to the JSON property `promptDatasetStats`
23281
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetStats]
23282
+ attr_accessor :prompt_dataset_stats
23283
+
23284
+ def initialize(**args)
23285
+ update!(**args)
23286
+ end
23287
+
23288
+ # Update properties of this object
23289
+ def update!(**args)
23290
+ @preference_dataset_stats = args[:preference_dataset_stats] if args.key?(:preference_dataset_stats)
23291
+ @prompt_dataset_stats = args[:prompt_dataset_stats] if args.key?(:prompt_dataset_stats)
23292
+ end
23293
+ end
23294
+
23295
+ # Hyperparameters for Reinforcement Learning.
23296
+ class GoogleCloudAiplatformV1beta1ReinforcementLearningHyperParameters
23297
+ include Google::Apis::Core::Hashable
23298
+
23299
+ # Optional. Number of training epoches for the tuning job.
23300
+ # Corresponds to the JSON property `epochCount`
23301
+ # @return [Fixnum]
23302
+ attr_accessor :epoch_count
23303
+
23304
+ # Configures Reinforcement Learning to use human feedback during tuning.
23305
+ # Corresponds to the JSON property `humanFeedbackConfig`
23306
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1HumanFeedbackConfig]
23307
+ attr_accessor :human_feedback_config
23308
+
23309
+ # Optional. KL divergence coefficient for Reinforcement Learning.
23310
+ # Corresponds to the JSON property `klCoefficient`
23311
+ # @return [Float]
23312
+ attr_accessor :kl_coefficient
23313
+
23314
+ # Optional. Learning rate multiplier for Reinforcement Learning.
23315
+ # Corresponds to the JSON property `learningRateMultiplier`
23316
+ # @return [Float]
23317
+ attr_accessor :learning_rate_multiplier
23318
+
23319
+ # Configures Reinforcement Learning to learn preference by training a reward
23320
+ # model.
23321
+ # Corresponds to the JSON property `rewardModelTrainingConfig`
23322
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RewardModelTrainingConfig]
23323
+ attr_accessor :reward_model_training_config
23324
+
23325
+ def initialize(**args)
23326
+ update!(**args)
23327
+ end
23328
+
23329
+ # Update properties of this object
23330
+ def update!(**args)
23331
+ @epoch_count = args[:epoch_count] if args.key?(:epoch_count)
23332
+ @human_feedback_config = args[:human_feedback_config] if args.key?(:human_feedback_config)
23333
+ @kl_coefficient = args[:kl_coefficient] if args.key?(:kl_coefficient)
23334
+ @learning_rate_multiplier = args[:learning_rate_multiplier] if args.key?(:learning_rate_multiplier)
23335
+ @reward_model_training_config = args[:reward_model_training_config] if args.key?(:reward_model_training_config)
23336
+ end
23337
+ end
23338
+
23339
+ # Tuning Spec for Reinforcement Learning.
23340
+ class GoogleCloudAiplatformV1beta1ReinforcementLearningSpec
23341
+ include Google::Apis::Core::Hashable
23342
+
23343
+ # Hyperparameters for Reinforcement Learning.
23344
+ # Corresponds to the JSON property `hyperParameters`
23345
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReinforcementLearningHyperParameters]
23346
+ attr_accessor :hyper_parameters
23347
+
23348
+ # Required. Cloud Storage path to the prompt dataset to use during Reinforcement
23349
+ # Learning.
23350
+ # Corresponds to the JSON property `promptDatasetUri`
23351
+ # @return [String]
23352
+ attr_accessor :prompt_dataset_uri
23353
+
23354
+ # Optional. Cloud Storage path to the validation dataset to use during
23355
+ # Reinforcement Learning.
23356
+ # Corresponds to the JSON property `validationDatasetUri`
23357
+ # @return [String]
23358
+ attr_accessor :validation_dataset_uri
23359
+
23360
+ def initialize(**args)
23361
+ update!(**args)
23362
+ end
23363
+
23364
+ # Update properties of this object
23365
+ def update!(**args)
23366
+ @hyper_parameters = args[:hyper_parameters] if args.key?(:hyper_parameters)
23367
+ @prompt_dataset_uri = args[:prompt_dataset_uri] if args.key?(:prompt_dataset_uri)
23368
+ @validation_dataset_uri = args[:validation_dataset_uri] if args.key?(:validation_dataset_uri)
23369
+ end
23370
+ end
23371
+
22690
23372
  # Request message for MetadataService.DeleteContextChildrenRequest.
22691
23373
  class GoogleCloudAiplatformV1beta1RemoveContextChildrenRequest
22692
23374
  include Google::Apis::Core::Hashable
@@ -23219,6 +23901,32 @@ module Google
23219
23901
  end
23220
23902
  end
23221
23903
 
23904
+ # Configures Reinforcement Learning to learn preference by training a reward
23905
+ # model.
23906
+ class GoogleCloudAiplatformV1beta1RewardModelTrainingConfig
23907
+ include Google::Apis::Core::Hashable
23908
+
23909
+ # Optional. Number of training epoches for the reward model training job.
23910
+ # Corresponds to the JSON property `epochCount`
23911
+ # @return [Fixnum]
23912
+ attr_accessor :epoch_count
23913
+
23914
+ # Optional. Learning rate multiplier for reward model training.
23915
+ # Corresponds to the JSON property `learningRateMultiplier`
23916
+ # @return [Float]
23917
+ attr_accessor :learning_rate_multiplier
23918
+
23919
+ def initialize(**args)
23920
+ update!(**args)
23921
+ end
23922
+
23923
+ # Update properties of this object
23924
+ def update!(**args)
23925
+ @epoch_count = args[:epoch_count] if args.key?(:epoch_count)
23926
+ @learning_rate_multiplier = args[:learning_rate_multiplier] if args.key?(:learning_rate_multiplier)
23927
+ end
23928
+ end
23929
+
23222
23930
  # Input for rouge metric.
23223
23931
  class GoogleCloudAiplatformV1beta1RougeInput
23224
23932
  include Google::Apis::Core::Hashable
@@ -23414,17 +24122,17 @@ module Google
23414
24122
  class GoogleCloudAiplatformV1beta1RuntimeConfigVertexAiSearchRuntimeConfig
23415
24123
  include Google::Apis::Core::Hashable
23416
24124
 
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`
24125
+ # Optional. Vertex AI Search engine ID. This is used to construct the search
24126
+ # request. By setting this engine_id, API will construct the serving config
24127
+ # using the default value to call search API for the user. The engine_id and
24128
+ # serving_config_name cannot both be empty at the same time.
24129
+ # Corresponds to the JSON property `engineId`
23422
24130
  # @return [String]
23423
- attr_accessor :app_id
24131
+ attr_accessor :engine_id
23424
24132
 
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``
24133
+ # Optional. Vertex AI Search serving config name. Format: `projects/`project`/
24134
+ # locations/`location`/collections/`collection`/engines/`engine`/servingConfigs/`
24135
+ # serving_config``
23428
24136
  # Corresponds to the JSON property `servingConfigName`
23429
24137
  # @return [String]
23430
24138
  attr_accessor :serving_config_name
@@ -23435,7 +24143,7 @@ module Google
23435
24143
 
23436
24144
  # Update properties of this object
23437
24145
  def update!(**args)
23438
- @app_id = args[:app_id] if args.key?(:app_id)
24146
+ @engine_id = args[:engine_id] if args.key?(:engine_id)
23439
24147
  @serving_config_name = args[:serving_config_name] if args.key?(:serving_config_name)
23440
24148
  end
23441
24149
  end
@@ -30508,6 +31216,11 @@ module Google
30508
31216
  class GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilter
30509
31217
  include Google::Apis::Core::Hashable
30510
31218
 
31219
+ # GenAi statistics filter.
31220
+ # Corresponds to the JSON property `genAiStatsFilter`
31221
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilterGenAiStatsFilter]
31222
+ attr_accessor :gen_ai_stats_filter
31223
+
30511
31224
  # Tabular statistics filter.
30512
31225
  # Corresponds to the JSON property `tabularStatsFilter`
30513
31226
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilterTabularStatsFilter]
@@ -30519,10 +31232,55 @@ module Google
30519
31232
 
30520
31233
  # Update properties of this object
30521
31234
  def update!(**args)
31235
+ @gen_ai_stats_filter = args[:gen_ai_stats_filter] if args.key?(:gen_ai_stats_filter)
30522
31236
  @tabular_stats_filter = args[:tabular_stats_filter] if args.key?(:tabular_stats_filter)
30523
31237
  end
30524
31238
  end
30525
31239
 
31240
+ # GenAi statistics filter.
31241
+ class GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilterGenAiStatsFilter
31242
+ include Google::Apis::Core::Hashable
31243
+
31244
+ # From a particular cluster of monitoring results.
31245
+ # Corresponds to the JSON property `clusterId`
31246
+ # @return [String]
31247
+ attr_accessor :cluster_id
31248
+
31249
+ # From a particular monitoring job.
31250
+ # Corresponds to the JSON property `modelMonitoringJob`
31251
+ # @return [String]
31252
+ attr_accessor :model_monitoring_job
31253
+
31254
+ # From a particular monitoring schedule.
31255
+ # Corresponds to the JSON property `modelMonitoringSchedule`
31256
+ # @return [String]
31257
+ attr_accessor :model_monitoring_schedule
31258
+
31259
+ # One of the supported monitoring objectives: `gen-ai-general` `gen-ai-
31260
+ # evaluation` `gen-ai-safety`
31261
+ # Corresponds to the JSON property `objectiveType`
31262
+ # @return [String]
31263
+ attr_accessor :objective_type
31264
+
31265
+ # If not specified, will return all the stats_names.
31266
+ # Corresponds to the JSON property `statsName`
31267
+ # @return [String]
31268
+ attr_accessor :stats_name
31269
+
31270
+ def initialize(**args)
31271
+ update!(**args)
31272
+ end
31273
+
31274
+ # Update properties of this object
31275
+ def update!(**args)
31276
+ @cluster_id = args[:cluster_id] if args.key?(:cluster_id)
31277
+ @model_monitoring_job = args[:model_monitoring_job] if args.key?(:model_monitoring_job)
31278
+ @model_monitoring_schedule = args[:model_monitoring_schedule] if args.key?(:model_monitoring_schedule)
31279
+ @objective_type = args[:objective_type] if args.key?(:objective_type)
31280
+ @stats_name = args[:stats_name] if args.key?(:stats_name)
31281
+ end
31282
+ end
31283
+
30526
31284
  # Tabular statistics filter.
30527
31285
  class GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilterTabularStatsFilter
30528
31286
  include Google::Apis::Core::Hashable
@@ -31110,6 +31868,50 @@ module Google
31110
31868
  end
31111
31869
  end
31112
31870
 
31871
+ # One field of a Struct (or object) type feature value.
31872
+ class GoogleCloudAiplatformV1beta1StructFieldValue
31873
+ include Google::Apis::Core::Hashable
31874
+
31875
+ # Name of the field in the struct feature.
31876
+ # Corresponds to the JSON property `name`
31877
+ # @return [String]
31878
+ attr_accessor :name
31879
+
31880
+ # Value for a feature.
31881
+ # Corresponds to the JSON property `value`
31882
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureValue]
31883
+ attr_accessor :value
31884
+
31885
+ def initialize(**args)
31886
+ update!(**args)
31887
+ end
31888
+
31889
+ # Update properties of this object
31890
+ def update!(**args)
31891
+ @name = args[:name] if args.key?(:name)
31892
+ @value = args[:value] if args.key?(:value)
31893
+ end
31894
+ end
31895
+
31896
+ # Struct (or object) type feature value.
31897
+ class GoogleCloudAiplatformV1beta1StructValue
31898
+ include Google::Apis::Core::Hashable
31899
+
31900
+ # A list of field values.
31901
+ # Corresponds to the JSON property `values`
31902
+ # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1StructFieldValue>]
31903
+ attr_accessor :values
31904
+
31905
+ def initialize(**args)
31906
+ update!(**args)
31907
+ end
31908
+
31909
+ # Update properties of this object
31910
+ def update!(**args)
31911
+ @values = args[:values] if args.key?(:values)
31912
+ end
31913
+ end
31914
+
31113
31915
  # A message representing a Study.
31114
31916
  class GoogleCloudAiplatformV1beta1Study
31115
31917
  include Google::Apis::Core::Hashable
@@ -33385,6 +34187,11 @@ module Google
33385
34187
  # @return [Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FunctionDeclaration>]
33386
34188
  attr_accessor :function_declarations
33387
34189
 
34190
+ # Tool to retrieve public web data for grounding, powered by Google.
34191
+ # Corresponds to the JSON property `googleSearchRetrieval`
34192
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval]
34193
+ attr_accessor :google_search_retrieval
34194
+
33388
34195
  # Defines a retrieval tool that model can call to access external knowledge.
33389
34196
  # Corresponds to the JSON property `retrieval`
33390
34197
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Retrieval]
@@ -33397,6 +34204,7 @@ module Google
33397
34204
  # Update properties of this object
33398
34205
  def update!(**args)
33399
34206
  @function_declarations = args[:function_declarations] if args.key?(:function_declarations)
34207
+ @google_search_retrieval = args[:google_search_retrieval] if args.key?(:google_search_retrieval)
33400
34208
  @retrieval = args[:retrieval] if args.key?(:retrieval)
33401
34209
  end
33402
34210
  end
@@ -34279,6 +35087,16 @@ module Google
34279
35087
  class GoogleCloudAiplatformV1beta1TuningDataStats
34280
35088
  include Google::Apis::Core::Hashable
34281
35089
 
35090
+ # Statistics computed for datasets used for distillation.
35091
+ # Corresponds to the JSON property `distillationDataStats`
35092
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DistillationDataStats]
35093
+ attr_accessor :distillation_data_stats
35094
+
35095
+ # Statistics computed for datasets used for reinforcement learning.
35096
+ # Corresponds to the JSON property `reinforcementLearningDataStats`
35097
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReinforcementLearningDataStats]
35098
+ attr_accessor :reinforcement_learning_data_stats
35099
+
34282
35100
  # Tuning data statistics for Supervised Tuning.
34283
35101
  # Corresponds to the JSON property `supervisedTuningDataStats`
34284
35102
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SupervisedTuningDataStats]
@@ -34290,6 +35108,8 @@ module Google
34290
35108
 
34291
35109
  # Update properties of this object
34292
35110
  def update!(**args)
35111
+ @distillation_data_stats = args[:distillation_data_stats] if args.key?(:distillation_data_stats)
35112
+ @reinforcement_learning_data_stats = args[:reinforcement_learning_data_stats] if args.key?(:reinforcement_learning_data_stats)
34293
35113
  @supervised_tuning_data_stats = args[:supervised_tuning_data_stats] if args.key?(:supervised_tuning_data_stats)
34294
35114
  end
34295
35115
  end
@@ -34313,6 +35133,11 @@ module Google
34313
35133
  # @return [String]
34314
35134
  attr_accessor :description
34315
35135
 
35136
+ # Tuning Spec for Distillation.
35137
+ # Corresponds to the JSON property `distillationSpec`
35138
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DistillationSpec]
35139
+ attr_accessor :distillation_spec
35140
+
34316
35141
  # Represents a customer-managed encryption key spec that can be applied to a top-
34317
35142
  # level resource.
34318
35143
  # Corresponds to the JSON property `encryptionSpec`
@@ -34357,6 +35182,18 @@ module Google
34357
35182
  # @return [String]
34358
35183
  attr_accessor :name
34359
35184
 
35185
+ # Output only. The resource name of the PipelineJob associated with the
35186
+ # TuningJob. Format: `projects/`project`/locations/`location`/pipelineJobs/`
35187
+ # pipeline_job``.
35188
+ # Corresponds to the JSON property `pipelineJob`
35189
+ # @return [String]
35190
+ attr_accessor :pipeline_job
35191
+
35192
+ # Tuning Spec for Reinforcement Learning.
35193
+ # Corresponds to the JSON property `reinforcementLearningSpec`
35194
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReinforcementLearningSpec]
35195
+ attr_accessor :reinforcement_learning_spec
35196
+
34360
35197
  # Output only. Time when the TuningJob for the first time entered the `
34361
35198
  # JOB_STATE_RUNNING` state.
34362
35199
  # Corresponds to the JSON property `startTime`
@@ -34404,12 +35241,15 @@ module Google
34404
35241
  @base_model = args[:base_model] if args.key?(:base_model)
34405
35242
  @create_time = args[:create_time] if args.key?(:create_time)
34406
35243
  @description = args[:description] if args.key?(:description)
35244
+ @distillation_spec = args[:distillation_spec] if args.key?(:distillation_spec)
34407
35245
  @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
34408
35246
  @end_time = args[:end_time] if args.key?(:end_time)
34409
35247
  @error = args[:error] if args.key?(:error)
34410
35248
  @experiment = args[:experiment] if args.key?(:experiment)
34411
35249
  @labels = args[:labels] if args.key?(:labels)
34412
35250
  @name = args[:name] if args.key?(:name)
35251
+ @pipeline_job = args[:pipeline_job] if args.key?(:pipeline_job)
35252
+ @reinforcement_learning_spec = args[:reinforcement_learning_spec] if args.key?(:reinforcement_learning_spec)
34413
35253
  @start_time = args[:start_time] if args.key?(:start_time)
34414
35254
  @state = args[:state] if args.key?(:state)
34415
35255
  @supervised_tuning_spec = args[:supervised_tuning_spec] if args.key?(:supervised_tuning_spec)