google-apis-aiplatform_v1beta1 0.30.0 → 0.31.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -41,6 +41,11 @@ module Google
41
41
  # @return [Array<String>]
42
42
  attr_accessor :rai_media_filtered_reasons
43
43
 
44
+ # Billable prediction metrics.
45
+ # Corresponds to the JSON property `reportingMetrics`
46
+ # @return [Google::Apis::AiplatformV1beta1::IntelligenceCloudAutomlXpsReportingMetrics]
47
+ attr_accessor :reporting_metrics
48
+
44
49
  def initialize(**args)
45
50
  update!(**args)
46
51
  end
@@ -50,6 +55,7 @@ module Google
50
55
  @generated_samples = args[:generated_samples] if args.key?(:generated_samples)
51
56
  @rai_media_filtered_count = args[:rai_media_filtered_count] if args.key?(:rai_media_filtered_count)
52
57
  @rai_media_filtered_reasons = args[:rai_media_filtered_reasons] if args.key?(:rai_media_filtered_reasons)
58
+ @reporting_metrics = args[:reporting_metrics] if args.key?(:reporting_metrics)
53
59
  end
54
60
  end
55
61
 
@@ -217,6 +223,14 @@ module Google
217
223
  # @return [Array<Google::Apis::AiplatformV1beta1::CloudAiLargeModelsVisionRaiInfoDetectedLabels>]
218
224
  attr_accessor :detected_labels
219
225
 
226
+ # The model name used to indexing into the RaiFilterConfig map. Would either be
227
+ # one of imagegeneration@002-006, imagen-3.0-... api endpoint names, or internal
228
+ # names used for mapping to different filter configs (genselfie, ai_watermark)
229
+ # than its api endpoint.
230
+ # Corresponds to the JSON property `modelName`
231
+ # @return [String]
232
+ attr_accessor :model_name
233
+
220
234
  # List of rai categories' information to return
221
235
  # Corresponds to the JSON property `raiCategories`
222
236
  # @return [Array<String>]
@@ -234,6 +248,7 @@ module Google
234
248
  # Update properties of this object
235
249
  def update!(**args)
236
250
  @detected_labels = args[:detected_labels] if args.key?(:detected_labels)
251
+ @model_name = args[:model_name] if args.key?(:model_name)
237
252
  @rai_categories = args[:rai_categories] if args.key?(:rai_categories)
238
253
  @scores = args[:scores] if args.key?(:scores)
239
254
  end
@@ -2590,6 +2605,12 @@ module Google
2590
2605
  # @return [String]
2591
2606
  attr_accessor :create_time
2592
2607
 
2608
+ # Optional. Immutable. The user-generated meaningful display name of the cached
2609
+ # content.
2610
+ # Corresponds to the JSON property `displayName`
2611
+ # @return [String]
2612
+ attr_accessor :display_name
2613
+
2593
2614
  # Timestamp of when this resource is considered expired. This is *always*
2594
2615
  # provided on output, regardless of what was sent on input.
2595
2616
  # Corresponds to the JSON property `expireTime`
@@ -2602,8 +2623,9 @@ module Google
2602
2623
  # @return [String]
2603
2624
  attr_accessor :model
2604
2625
 
2605
- # Immutable. Identifier. The resource name of the cached content Format:
2606
- # projects/`project`/locations/`location`/cachedContents/`cached_content`
2626
+ # Immutable. Identifier. The server-generated resource name of the cached
2627
+ # content Format: projects/`project`/locations/`location`/cachedContents/`
2628
+ # cached_content`
2607
2629
  # Corresponds to the JSON property `name`
2608
2630
  # @return [String]
2609
2631
  attr_accessor :name
@@ -2646,6 +2668,7 @@ module Google
2646
2668
  def update!(**args)
2647
2669
  @contents = args[:contents] if args.key?(:contents)
2648
2670
  @create_time = args[:create_time] if args.key?(:create_time)
2671
+ @display_name = args[:display_name] if args.key?(:display_name)
2649
2672
  @expire_time = args[:expire_time] if args.key?(:expire_time)
2650
2673
  @model = args[:model] if args.key?(:model)
2651
2674
  @name = args[:name] if args.key?(:name)
@@ -4849,160 +4872,6 @@ module Google
4849
4872
  end
4850
4873
  end
4851
4874
 
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
-
5006
4875
  # Describes the dataset version.
5007
4876
  class GoogleCloudAiplatformV1beta1DatasetVersion
5008
4877
  include Google::Apis::Core::Hashable
@@ -6108,117 +5977,6 @@ module Google
6108
5977
  end
6109
5978
  end
6110
5979
 
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
-
6222
5980
  # A list of double values.
6223
5981
  class GoogleCloudAiplatformV1beta1DoubleArray
6224
5982
  include Google::Apis::Core::Hashable
@@ -11673,25 +11431,6 @@ module Google
11673
11431
  end
11674
11432
  end
11675
11433
 
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
-
11695
11434
  # Represents a HyperparameterTuningJob. A HyperparameterTuningJob has a Study
11696
11435
  # specification and multiple CustomJobs with identical CustomJob specification.
11697
11436
  class GoogleCloudAiplatformV1beta1HyperparameterTuningJob
@@ -22699,6 +22438,11 @@ module Google
22699
22438
  # @return [String]
22700
22439
  attr_accessor :text
22701
22440
 
22441
+ # Optional. Only return contexts with vector distance smaller than the threshold.
22442
+ # Corresponds to the JSON property `vectorDistanceThreshold`
22443
+ # @return [Float]
22444
+ attr_accessor :vector_distance_threshold
22445
+
22702
22446
  def initialize(**args)
22703
22447
  update!(**args)
22704
22448
  end
@@ -22707,6 +22451,7 @@ module Google
22707
22451
  def update!(**args)
22708
22452
  @similarity_top_k = args[:similarity_top_k] if args.key?(:similarity_top_k)
22709
22453
  @text = args[:text] if args.key?(:text)
22454
+ @vector_distance_threshold = args[:vector_distance_threshold] if args.key?(:vector_distance_threshold)
22710
22455
  end
22711
22456
  end
22712
22457
 
@@ -23290,108 +23035,6 @@ module Google
23290
23035
  end
23291
23036
  end
23292
23037
 
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
-
23395
23038
  # Request message for MetadataService.DeleteContextChildrenRequest.
23396
23039
  class GoogleCloudAiplatformV1beta1RemoveContextChildrenRequest
23397
23040
  include Google::Apis::Core::Hashable
@@ -23924,32 +23567,6 @@ module Google
23924
23567
  end
23925
23568
  end
23926
23569
 
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
-
23953
23570
  # Input for rouge metric.
23954
23571
  class GoogleCloudAiplatformV1beta1RougeInput
23955
23572
  include Google::Apis::Core::Hashable
@@ -35094,16 +34711,6 @@ module Google
35094
34711
  class GoogleCloudAiplatformV1beta1TuningDataStats
35095
34712
  include Google::Apis::Core::Hashable
35096
34713
 
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
-
35107
34714
  # Tuning data statistics for Supervised Tuning.
35108
34715
  # Corresponds to the JSON property `supervisedTuningDataStats`
35109
34716
  # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SupervisedTuningDataStats]
@@ -35115,8 +34722,6 @@ module Google
35115
34722
 
35116
34723
  # Update properties of this object
35117
34724
  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)
35120
34725
  @supervised_tuning_data_stats = args[:supervised_tuning_data_stats] if args.key?(:supervised_tuning_data_stats)
35121
34726
  end
35122
34727
  end
@@ -35140,11 +34745,6 @@ module Google
35140
34745
  # @return [String]
35141
34746
  attr_accessor :description
35142
34747
 
35143
- # Tuning Spec for Distillation.
35144
- # Corresponds to the JSON property `distillationSpec`
35145
- # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DistillationSpec]
35146
- attr_accessor :distillation_spec
35147
-
35148
34748
  # Represents a customer-managed encryption key spec that can be applied to a top-
35149
34749
  # level resource.
35150
34750
  # Corresponds to the JSON property `encryptionSpec`
@@ -35196,11 +34796,6 @@ module Google
35196
34796
  # @return [String]
35197
34797
  attr_accessor :pipeline_job
35198
34798
 
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
-
35204
34799
  # Output only. Time when the TuningJob for the first time entered the `
35205
34800
  # JOB_STATE_RUNNING` state.
35206
34801
  # Corresponds to the JSON property `startTime`
@@ -35248,7 +34843,6 @@ module Google
35248
34843
  @base_model = args[:base_model] if args.key?(:base_model)
35249
34844
  @create_time = args[:create_time] if args.key?(:create_time)
35250
34845
  @description = args[:description] if args.key?(:description)
35251
- @distillation_spec = args[:distillation_spec] if args.key?(:distillation_spec)
35252
34846
  @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
35253
34847
  @end_time = args[:end_time] if args.key?(:end_time)
35254
34848
  @error = args[:error] if args.key?(:error)
@@ -35256,7 +34850,6 @@ module Google
35256
34850
  @labels = args[:labels] if args.key?(:labels)
35257
34851
  @name = args[:name] if args.key?(:name)
35258
34852
  @pipeline_job = args[:pipeline_job] if args.key?(:pipeline_job)
35259
- @reinforcement_learning_spec = args[:reinforcement_learning_spec] if args.key?(:reinforcement_learning_spec)
35260
34853
  @start_time = args[:start_time] if args.key?(:start_time)
35261
34854
  @state = args[:state] if args.key?(:state)
35262
34855
  @supervised_tuning_spec = args[:supervised_tuning_spec] if args.key?(:supervised_tuning_spec)
@@ -37176,6 +36769,102 @@ module Google
37176
36769
  @units = args[:units] if args.key?(:units)
37177
36770
  end
37178
36771
  end
36772
+
36773
+ #
36774
+ class IntelligenceCloudAutomlXpsMetricEntry
36775
+ include Google::Apis::Core::Hashable
36776
+
36777
+ # For billing metrics that are using legacy sku's, set the legacy billing metric
36778
+ # id here. This will be sent to Chemist as the "cloudbilling.googleapis.com/
36779
+ # argentum_metric_id" label. Otherwise leave empty.
36780
+ # Corresponds to the JSON property `argentumMetricId`
36781
+ # @return [String]
36782
+ attr_accessor :argentum_metric_id
36783
+
36784
+ # A double value.
36785
+ # Corresponds to the JSON property `doubleValue`
36786
+ # @return [Float]
36787
+ attr_accessor :double_value
36788
+
36789
+ # A signed 64-bit integer value.
36790
+ # Corresponds to the JSON property `int64Value`
36791
+ # @return [Fixnum]
36792
+ attr_accessor :int64_value
36793
+
36794
+ # The metric name defined in the service configuration.
36795
+ # Corresponds to the JSON property `metricName`
36796
+ # @return [String]
36797
+ attr_accessor :metric_name
36798
+
36799
+ # Billing system labels for this (metric, value) pair.
36800
+ # Corresponds to the JSON property `systemLabels`
36801
+ # @return [Array<Google::Apis::AiplatformV1beta1::IntelligenceCloudAutomlXpsMetricEntryLabel>]
36802
+ attr_accessor :system_labels
36803
+
36804
+ def initialize(**args)
36805
+ update!(**args)
36806
+ end
36807
+
36808
+ # Update properties of this object
36809
+ def update!(**args)
36810
+ @argentum_metric_id = args[:argentum_metric_id] if args.key?(:argentum_metric_id)
36811
+ @double_value = args[:double_value] if args.key?(:double_value)
36812
+ @int64_value = args[:int64_value] if args.key?(:int64_value)
36813
+ @metric_name = args[:metric_name] if args.key?(:metric_name)
36814
+ @system_labels = args[:system_labels] if args.key?(:system_labels)
36815
+ end
36816
+ end
36817
+
36818
+ #
36819
+ class IntelligenceCloudAutomlXpsMetricEntryLabel
36820
+ include Google::Apis::Core::Hashable
36821
+
36822
+ # The name of the label.
36823
+ # Corresponds to the JSON property `labelName`
36824
+ # @return [String]
36825
+ attr_accessor :label_name
36826
+
36827
+ # The value of the label.
36828
+ # Corresponds to the JSON property `labelValue`
36829
+ # @return [String]
36830
+ attr_accessor :label_value
36831
+
36832
+ def initialize(**args)
36833
+ update!(**args)
36834
+ end
36835
+
36836
+ # Update properties of this object
36837
+ def update!(**args)
36838
+ @label_name = args[:label_name] if args.key?(:label_name)
36839
+ @label_value = args[:label_value] if args.key?(:label_value)
36840
+ end
36841
+ end
36842
+
36843
+ #
36844
+ class IntelligenceCloudAutomlXpsReportingMetrics
36845
+ include Google::Apis::Core::Hashable
36846
+
36847
+ # The effective time training used. If set, this is used for quota management
36848
+ # and billing. Deprecated. AutoML BE doesn't use this. Don't set.
36849
+ # Corresponds to the JSON property `effectiveTrainingDuration`
36850
+ # @return [String]
36851
+ attr_accessor :effective_training_duration
36852
+
36853
+ # One entry per metric name. The values must be aggregated per metric name.
36854
+ # Corresponds to the JSON property `metricEntries`
36855
+ # @return [Array<Google::Apis::AiplatformV1beta1::IntelligenceCloudAutomlXpsMetricEntry>]
36856
+ attr_accessor :metric_entries
36857
+
36858
+ def initialize(**args)
36859
+ update!(**args)
36860
+ end
36861
+
36862
+ # Update properties of this object
36863
+ def update!(**args)
36864
+ @effective_training_duration = args[:effective_training_duration] if args.key?(:effective_training_duration)
36865
+ @metric_entries = args[:metric_entries] if args.key?(:metric_entries)
36866
+ end
36867
+ end
37179
36868
  end
37180
36869
  end
37181
36870
  end