google-apis-aiplatform_v1 0.25.0 → 0.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 496b2ad6fab53159ebe0cca3f0cfcad899e15ef1560722e84c369d45ad695604
4
- data.tar.gz: 6a65eb57f0ac1e715e12f306d93323a224a3a8de44f92ec344660e19a6a4fefe
3
+ metadata.gz: 66120563fe42f464a561110852d3d8fdae0f590e9f81d6652a49a7a27d5f7b5e
4
+ data.tar.gz: 06eaca62fa42370d0372e88548e8ea1152d1f16ea7328c100880c1b5b2d6a61d
5
5
  SHA512:
6
- metadata.gz: a4756c10c922b602b24a2f0d1e59b8c11b896f4f31407a722922109438baf6d752cb91cc011cf499effb84cd34ef8238c401033f08e06470ac70b20bb548005e
7
- data.tar.gz: 14f3250ee483863a68107e3b453203058af2f35fbf4e8b231a4d14505e197caaa2017cc49cc2995bf2054f07675fc15a4bc2096aa0c605937bce03dcb376bdda
6
+ metadata.gz: 1ba38db1a5f6e9a95353a33fc5d9aee3ac173f0e6e8b707d3e8c3a9b07f05dfa17e9453d78ce892384e063da6844a05e30491b89400970ba00955690ef990300
7
+ data.tar.gz: bc6e0c697325e24250ec97f5886df9606fbbd6eb3c2a50c32f26b81823541e1aa2a5ade852662c1ffab941516a7ccefede97288329b30ffdcafb19a7ad39adcc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-aiplatform_v1
2
2
 
3
+ ### v0.27.0 (2024-06-23)
4
+
5
+ * Regenerated from discovery document revision 20240607
6
+
7
+ ### v0.26.0 (2024-06-16)
8
+
9
+ * Regenerated from discovery document revision 20240531
10
+
3
11
  ### v0.25.0 (2024-06-02)
4
12
 
5
13
  * Regenerated from discovery document revision 20240529
@@ -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::AiplatformV1::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::AiplatformV1::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
@@ -4134,160 +4149,6 @@ module Google
4134
4149
  end
4135
4150
  end
4136
4151
 
4137
- # Distribution computed over a tuning dataset.
4138
- class GoogleCloudAiplatformV1DatasetDistribution
4139
- include Google::Apis::Core::Hashable
4140
-
4141
- # Output only. Defines the histogram bucket.
4142
- # Corresponds to the JSON property `buckets`
4143
- # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistributionDistributionBucket>]
4144
- attr_accessor :buckets
4145
-
4146
- # Output only. The maximum of the population values.
4147
- # Corresponds to the JSON property `max`
4148
- # @return [Float]
4149
- attr_accessor :max
4150
-
4151
- # Output only. The arithmetic mean of the values in the population.
4152
- # Corresponds to the JSON property `mean`
4153
- # @return [Float]
4154
- attr_accessor :mean
4155
-
4156
- # Output only. The median of the values in the population.
4157
- # Corresponds to the JSON property `median`
4158
- # @return [Float]
4159
- attr_accessor :median
4160
-
4161
- # Output only. The minimum of the population values.
4162
- # Corresponds to the JSON property `min`
4163
- # @return [Float]
4164
- attr_accessor :min
4165
-
4166
- # Output only. The 5th percentile of the values in the population.
4167
- # Corresponds to the JSON property `p5`
4168
- # @return [Float]
4169
- attr_accessor :p5
4170
-
4171
- # Output only. The 95th percentile of the values in the population.
4172
- # Corresponds to the JSON property `p95`
4173
- # @return [Float]
4174
- attr_accessor :p95
4175
-
4176
- # Output only. Sum of a given population of values.
4177
- # Corresponds to the JSON property `sum`
4178
- # @return [Float]
4179
- attr_accessor :sum
4180
-
4181
- def initialize(**args)
4182
- update!(**args)
4183
- end
4184
-
4185
- # Update properties of this object
4186
- def update!(**args)
4187
- @buckets = args[:buckets] if args.key?(:buckets)
4188
- @max = args[:max] if args.key?(:max)
4189
- @mean = args[:mean] if args.key?(:mean)
4190
- @median = args[:median] if args.key?(:median)
4191
- @min = args[:min] if args.key?(:min)
4192
- @p5 = args[:p5] if args.key?(:p5)
4193
- @p95 = args[:p95] if args.key?(:p95)
4194
- @sum = args[:sum] if args.key?(:sum)
4195
- end
4196
- end
4197
-
4198
- # Dataset bucket used to create a histogram for the distribution given a
4199
- # population of values.
4200
- class GoogleCloudAiplatformV1DatasetDistributionDistributionBucket
4201
- include Google::Apis::Core::Hashable
4202
-
4203
- # Output only. Number of values in the bucket.
4204
- # Corresponds to the JSON property `count`
4205
- # @return [Fixnum]
4206
- attr_accessor :count
4207
-
4208
- # Output only. Left bound of the bucket.
4209
- # Corresponds to the JSON property `left`
4210
- # @return [Float]
4211
- attr_accessor :left
4212
-
4213
- # Output only. Right bound of the bucket.
4214
- # Corresponds to the JSON property `right`
4215
- # @return [Float]
4216
- attr_accessor :right
4217
-
4218
- def initialize(**args)
4219
- update!(**args)
4220
- end
4221
-
4222
- # Update properties of this object
4223
- def update!(**args)
4224
- @count = args[:count] if args.key?(:count)
4225
- @left = args[:left] if args.key?(:left)
4226
- @right = args[:right] if args.key?(:right)
4227
- end
4228
- end
4229
-
4230
- # Statistics computed over a tuning dataset.
4231
- class GoogleCloudAiplatformV1DatasetStats
4232
- include Google::Apis::Core::Hashable
4233
-
4234
- # Output only. Number of billable characters in the tuning dataset.
4235
- # Corresponds to the JSON property `totalBillableCharacterCount`
4236
- # @return [Fixnum]
4237
- attr_accessor :total_billable_character_count
4238
-
4239
- # Output only. Number of tuning characters in the tuning dataset.
4240
- # Corresponds to the JSON property `totalTuningCharacterCount`
4241
- # @return [Fixnum]
4242
- attr_accessor :total_tuning_character_count
4243
-
4244
- # Output only. Number of examples in the tuning dataset.
4245
- # Corresponds to the JSON property `tuningDatasetExampleCount`
4246
- # @return [Fixnum]
4247
- attr_accessor :tuning_dataset_example_count
4248
-
4249
- # Output only. Number of tuning steps for this Tuning Job.
4250
- # Corresponds to the JSON property `tuningStepCount`
4251
- # @return [Fixnum]
4252
- attr_accessor :tuning_step_count
4253
-
4254
- # Output only. Sample user messages in the training dataset uri.
4255
- # Corresponds to the JSON property `userDatasetExamples`
4256
- # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content>]
4257
- attr_accessor :user_dataset_examples
4258
-
4259
- # Distribution computed over a tuning dataset.
4260
- # Corresponds to the JSON property `userInputTokenDistribution`
4261
- # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistribution]
4262
- attr_accessor :user_input_token_distribution
4263
-
4264
- # Distribution computed over a tuning dataset.
4265
- # Corresponds to the JSON property `userMessagePerExampleDistribution`
4266
- # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistribution]
4267
- attr_accessor :user_message_per_example_distribution
4268
-
4269
- # Distribution computed over a tuning dataset.
4270
- # Corresponds to the JSON property `userOutputTokenDistribution`
4271
- # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistribution]
4272
- attr_accessor :user_output_token_distribution
4273
-
4274
- def initialize(**args)
4275
- update!(**args)
4276
- end
4277
-
4278
- # Update properties of this object
4279
- def update!(**args)
4280
- @total_billable_character_count = args[:total_billable_character_count] if args.key?(:total_billable_character_count)
4281
- @total_tuning_character_count = args[:total_tuning_character_count] if args.key?(:total_tuning_character_count)
4282
- @tuning_dataset_example_count = args[:tuning_dataset_example_count] if args.key?(:tuning_dataset_example_count)
4283
- @tuning_step_count = args[:tuning_step_count] if args.key?(:tuning_step_count)
4284
- @user_dataset_examples = args[:user_dataset_examples] if args.key?(:user_dataset_examples)
4285
- @user_input_token_distribution = args[:user_input_token_distribution] if args.key?(:user_input_token_distribution)
4286
- @user_message_per_example_distribution = args[:user_message_per_example_distribution] if args.key?(:user_message_per_example_distribution)
4287
- @user_output_token_distribution = args[:user_output_token_distribution] if args.key?(:user_output_token_distribution)
4288
- end
4289
- end
4290
-
4291
4152
  # Describes the dataset version.
4292
4153
  class GoogleCloudAiplatformV1DatasetVersion
4293
4154
  include Google::Apis::Core::Hashable
@@ -5363,25 +5224,6 @@ module Google
5363
5224
  end
5364
5225
  end
5365
5226
 
5366
- # Statistics computed for datasets used for distillation.
5367
- class GoogleCloudAiplatformV1DistillationDataStats
5368
- include Google::Apis::Core::Hashable
5369
-
5370
- # Statistics computed over a tuning dataset.
5371
- # Corresponds to the JSON property `trainingDatasetStats`
5372
- # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetStats]
5373
- attr_accessor :training_dataset_stats
5374
-
5375
- def initialize(**args)
5376
- update!(**args)
5377
- end
5378
-
5379
- # Update properties of this object
5380
- def update!(**args)
5381
- @training_dataset_stats = args[:training_dataset_stats] if args.key?(:training_dataset_stats)
5382
- end
5383
- end
5384
-
5385
5227
  # A list of double values.
5386
5228
  class GoogleCloudAiplatformV1DoubleArray
5387
5229
  include Google::Apis::Core::Hashable
@@ -16155,6 +15997,12 @@ module Google
16155
15997
  # @return [Hash<String,Object>]
16156
15998
  attr_accessor :pipeline_spec
16157
15999
 
16000
+ # Optional. Whether to do component level validations before job creation.
16001
+ # Corresponds to the JSON property `preflightValidations`
16002
+ # @return [Boolean]
16003
+ attr_accessor :preflight_validations
16004
+ alias_method :preflight_validations?, :preflight_validations
16005
+
16158
16006
  # A list of names for the reserved ip ranges under the VPC network that can be
16159
16007
  # used for this Pipeline Job's workload. If set, we will deploy the Pipeline Job'
16160
16008
  # s workload within the provided ip ranges. Otherwise, the job will be deployed
@@ -16229,6 +16077,7 @@ module Google
16229
16077
  @name = args[:name] if args.key?(:name)
16230
16078
  @network = args[:network] if args.key?(:network)
16231
16079
  @pipeline_spec = args[:pipeline_spec] if args.key?(:pipeline_spec)
16080
+ @preflight_validations = args[:preflight_validations] if args.key?(:preflight_validations)
16232
16081
  @reserved_ip_ranges = args[:reserved_ip_ranges] if args.key?(:reserved_ip_ranges)
16233
16082
  @runtime_config = args[:runtime_config] if args.key?(:runtime_config)
16234
16083
  @schedule_name = args[:schedule_name] if args.key?(:schedule_name)
@@ -17129,12 +16978,6 @@ module Google
17129
16978
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke]
17130
16979
  attr_accessor :deploy_gke
17131
16980
 
17132
- # The regional resource name or the URI. Key is region, e.g., us-central1,
17133
- # europe-west2, global, etc..
17134
- # Corresponds to the JSON property `fineTune`
17135
- # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences]
17136
- attr_accessor :fine_tune
17137
-
17138
16981
  # The regional resource name or the URI. Key is region, e.g., us-central1,
17139
16982
  # europe-west2, global, etc..
17140
16983
  # Corresponds to the JSON property `openEvaluationPipeline`
@@ -17201,7 +17044,6 @@ module Google
17201
17044
  @create_application = args[:create_application] if args.key?(:create_application)
17202
17045
  @deploy = args[:deploy] if args.key?(:deploy)
17203
17046
  @deploy_gke = args[:deploy_gke] if args.key?(:deploy_gke)
17204
- @fine_tune = args[:fine_tune] if args.key?(:fine_tune)
17205
17047
  @open_evaluation_pipeline = args[:open_evaluation_pipeline] if args.key?(:open_evaluation_pipeline)
17206
17048
  @open_fine_tuning_pipeline = args[:open_fine_tuning_pipeline] if args.key?(:open_fine_tuning_pipeline)
17207
17049
  @open_fine_tuning_pipelines = args[:open_fine_tuning_pipelines] if args.key?(:open_fine_tuning_pipelines)
@@ -18268,31 +18110,6 @@ module Google
18268
18110
  end
18269
18111
  end
18270
18112
 
18271
- # Statistics computed for datasets used for reinforcement learning.
18272
- class GoogleCloudAiplatformV1ReinforcementLearningDataStats
18273
- include Google::Apis::Core::Hashable
18274
-
18275
- # Statistics computed over a tuning dataset.
18276
- # Corresponds to the JSON property `preferenceDatasetStats`
18277
- # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetStats]
18278
- attr_accessor :preference_dataset_stats
18279
-
18280
- # Statistics computed over a tuning dataset.
18281
- # Corresponds to the JSON property `promptDatasetStats`
18282
- # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetStats]
18283
- attr_accessor :prompt_dataset_stats
18284
-
18285
- def initialize(**args)
18286
- update!(**args)
18287
- end
18288
-
18289
- # Update properties of this object
18290
- def update!(**args)
18291
- @preference_dataset_stats = args[:preference_dataset_stats] if args.key?(:preference_dataset_stats)
18292
- @prompt_dataset_stats = args[:prompt_dataset_stats] if args.key?(:prompt_dataset_stats)
18293
- end
18294
- end
18295
-
18296
18113
  # Request message for MetadataService.DeleteContextChildrenRequest.
18297
18114
  class GoogleCloudAiplatformV1RemoveContextChildrenRequest
18298
18115
  include Google::Apis::Core::Hashable
@@ -28344,16 +28161,6 @@ module Google
28344
28161
  class GoogleCloudAiplatformV1TuningDataStats
28345
28162
  include Google::Apis::Core::Hashable
28346
28163
 
28347
- # Statistics computed for datasets used for distillation.
28348
- # Corresponds to the JSON property `distillationDataStats`
28349
- # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DistillationDataStats]
28350
- attr_accessor :distillation_data_stats
28351
-
28352
- # Statistics computed for datasets used for reinforcement learning.
28353
- # Corresponds to the JSON property `reinforcementLearningDataStats`
28354
- # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReinforcementLearningDataStats]
28355
- attr_accessor :reinforcement_learning_data_stats
28356
-
28357
28164
  # Tuning data statistics for Supervised Tuning.
28358
28165
  # Corresponds to the JSON property `supervisedTuningDataStats`
28359
28166
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedTuningDataStats]
@@ -28365,8 +28172,6 @@ module Google
28365
28172
 
28366
28173
  # Update properties of this object
28367
28174
  def update!(**args)
28368
- @distillation_data_stats = args[:distillation_data_stats] if args.key?(:distillation_data_stats)
28369
- @reinforcement_learning_data_stats = args[:reinforcement_learning_data_stats] if args.key?(:reinforcement_learning_data_stats)
28370
28175
  @supervised_tuning_data_stats = args[:supervised_tuning_data_stats] if args.key?(:supervised_tuning_data_stats)
28371
28176
  end
28372
28177
  end
@@ -30160,6 +29965,102 @@ module Google
30160
29965
  @units = args[:units] if args.key?(:units)
30161
29966
  end
30162
29967
  end
29968
+
29969
+ #
29970
+ class IntelligenceCloudAutomlXpsMetricEntry
29971
+ include Google::Apis::Core::Hashable
29972
+
29973
+ # For billing metrics that are using legacy sku's, set the legacy billing metric
29974
+ # id here. This will be sent to Chemist as the "cloudbilling.googleapis.com/
29975
+ # argentum_metric_id" label. Otherwise leave empty.
29976
+ # Corresponds to the JSON property `argentumMetricId`
29977
+ # @return [String]
29978
+ attr_accessor :argentum_metric_id
29979
+
29980
+ # A double value.
29981
+ # Corresponds to the JSON property `doubleValue`
29982
+ # @return [Float]
29983
+ attr_accessor :double_value
29984
+
29985
+ # A signed 64-bit integer value.
29986
+ # Corresponds to the JSON property `int64Value`
29987
+ # @return [Fixnum]
29988
+ attr_accessor :int64_value
29989
+
29990
+ # The metric name defined in the service configuration.
29991
+ # Corresponds to the JSON property `metricName`
29992
+ # @return [String]
29993
+ attr_accessor :metric_name
29994
+
29995
+ # Billing system labels for this (metric, value) pair.
29996
+ # Corresponds to the JSON property `systemLabels`
29997
+ # @return [Array<Google::Apis::AiplatformV1::IntelligenceCloudAutomlXpsMetricEntryLabel>]
29998
+ attr_accessor :system_labels
29999
+
30000
+ def initialize(**args)
30001
+ update!(**args)
30002
+ end
30003
+
30004
+ # Update properties of this object
30005
+ def update!(**args)
30006
+ @argentum_metric_id = args[:argentum_metric_id] if args.key?(:argentum_metric_id)
30007
+ @double_value = args[:double_value] if args.key?(:double_value)
30008
+ @int64_value = args[:int64_value] if args.key?(:int64_value)
30009
+ @metric_name = args[:metric_name] if args.key?(:metric_name)
30010
+ @system_labels = args[:system_labels] if args.key?(:system_labels)
30011
+ end
30012
+ end
30013
+
30014
+ #
30015
+ class IntelligenceCloudAutomlXpsMetricEntryLabel
30016
+ include Google::Apis::Core::Hashable
30017
+
30018
+ # The name of the label.
30019
+ # Corresponds to the JSON property `labelName`
30020
+ # @return [String]
30021
+ attr_accessor :label_name
30022
+
30023
+ # The value of the label.
30024
+ # Corresponds to the JSON property `labelValue`
30025
+ # @return [String]
30026
+ attr_accessor :label_value
30027
+
30028
+ def initialize(**args)
30029
+ update!(**args)
30030
+ end
30031
+
30032
+ # Update properties of this object
30033
+ def update!(**args)
30034
+ @label_name = args[:label_name] if args.key?(:label_name)
30035
+ @label_value = args[:label_value] if args.key?(:label_value)
30036
+ end
30037
+ end
30038
+
30039
+ #
30040
+ class IntelligenceCloudAutomlXpsReportingMetrics
30041
+ include Google::Apis::Core::Hashable
30042
+
30043
+ # The effective time training used. If set, this is used for quota management
30044
+ # and billing. Deprecated. AutoML BE doesn't use this. Don't set.
30045
+ # Corresponds to the JSON property `effectiveTrainingDuration`
30046
+ # @return [String]
30047
+ attr_accessor :effective_training_duration
30048
+
30049
+ # One entry per metric name. The values must be aggregated per metric name.
30050
+ # Corresponds to the JSON property `metricEntries`
30051
+ # @return [Array<Google::Apis::AiplatformV1::IntelligenceCloudAutomlXpsMetricEntry>]
30052
+ attr_accessor :metric_entries
30053
+
30054
+ def initialize(**args)
30055
+ update!(**args)
30056
+ end
30057
+
30058
+ # Update properties of this object
30059
+ def update!(**args)
30060
+ @effective_training_duration = args[:effective_training_duration] if args.key?(:effective_training_duration)
30061
+ @metric_entries = args[:metric_entries] if args.key?(:metric_entries)
30062
+ end
30063
+ end
30163
30064
  end
30164
30065
  end
30165
30066
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AiplatformV1
18
18
  # Version of the google-apis-aiplatform_v1 gem
19
- GEM_VERSION = "0.25.0"
19
+ GEM_VERSION = "0.27.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240529"
25
+ REVISION = "20240607"
26
26
  end
27
27
  end
28
28
  end