google-apis-aiplatform_v1beta1 0.29.0 → 0.31.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/aiplatform_v1beta1/classes.rb +232 -536
- data/lib/google/apis/aiplatform_v1beta1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1beta1/representations.rb +98 -234
- data/lib/google/apis/aiplatform_v1beta1/service.rb +645 -27
- metadata +3 -3
@@ -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
|
2606
|
-
# projects/`project`/locations/`location`/cachedContents/`
|
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
|
@@ -12212,6 +11951,15 @@ module Google
|
|
12212
11951
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GoogleDriveSource]
|
12213
11952
|
attr_accessor :google_drive_source
|
12214
11953
|
|
11954
|
+
# Optional. The max number of queries per minute that this job is allowed to
|
11955
|
+
# make to the embedding model specified on the corpus. This value is specific to
|
11956
|
+
# this job and not shared across other import jobs. Consult the Quotas page on
|
11957
|
+
# the project to set an appropriate value here. If unspecified, a default value
|
11958
|
+
# of 1,000 QPM would be used.
|
11959
|
+
# Corresponds to the JSON property `maxEmbeddingRequestsPerMin`
|
11960
|
+
# @return [Fixnum]
|
11961
|
+
attr_accessor :max_embedding_requests_per_min
|
11962
|
+
|
12215
11963
|
# Specifies the size and overlap of chunks for RagFiles.
|
12216
11964
|
# Corresponds to the JSON property `ragFileChunkingConfig`
|
12217
11965
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagFileChunkingConfig]
|
@@ -12225,6 +11973,7 @@ module Google
|
|
12225
11973
|
def update!(**args)
|
12226
11974
|
@gcs_source = args[:gcs_source] if args.key?(:gcs_source)
|
12227
11975
|
@google_drive_source = args[:google_drive_source] if args.key?(:google_drive_source)
|
11976
|
+
@max_embedding_requests_per_min = args[:max_embedding_requests_per_min] if args.key?(:max_embedding_requests_per_min)
|
12228
11977
|
@rag_file_chunking_config = args[:rag_file_chunking_config] if args.key?(:rag_file_chunking_config)
|
12229
11978
|
end
|
12230
11979
|
end
|
@@ -16831,40 +16580,6 @@ module Google
|
|
16831
16580
|
end
|
16832
16581
|
end
|
16833
16582
|
|
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
|
-
|
16868
16583
|
# Model monitoring data input spec.
|
16869
16584
|
class GoogleCloudAiplatformV1beta1ModelMonitoringInput
|
16870
16585
|
include Google::Apis::Core::Hashable
|
@@ -17838,12 +17553,6 @@ module Google
|
|
17838
17553
|
class GoogleCloudAiplatformV1beta1ModelMonitoringStats
|
17839
17554
|
include Google::Apis::Core::Hashable
|
17840
17555
|
|
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
|
-
|
17847
17556
|
# A collection of data points that describes the time-varying values of a
|
17848
17557
|
# tabular metric.
|
17849
17558
|
# Corresponds to the JSON property `tabularStats`
|
@@ -17856,7 +17565,6 @@ module Google
|
|
17856
17565
|
|
17857
17566
|
# Update properties of this object
|
17858
17567
|
def update!(**args)
|
17859
|
-
@gen_ai_stats = args[:gen_ai_stats] if args.key?(:gen_ai_stats)
|
17860
17568
|
@tabular_stats = args[:tabular_stats] if args.key?(:tabular_stats)
|
17861
17569
|
end
|
17862
17570
|
end
|
@@ -21195,12 +20903,6 @@ module Google
|
|
21195
20903
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionDeployGke]
|
21196
20904
|
attr_accessor :deploy_gke
|
21197
20905
|
|
21198
|
-
# The regional resource name or the URI. Key is region, e.g., us-central1,
|
21199
|
-
# europe-west2, global, etc..
|
21200
|
-
# Corresponds to the JSON property `fineTune`
|
21201
|
-
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1PublisherModelCallToActionRegionalResourceReferences]
|
21202
|
-
attr_accessor :fine_tune
|
21203
|
-
|
21204
20906
|
# The regional resource name or the URI. Key is region, e.g., us-central1,
|
21205
20907
|
# europe-west2, global, etc..
|
21206
20908
|
# Corresponds to the JSON property `openEvaluationPipeline`
|
@@ -21267,7 +20969,6 @@ module Google
|
|
21267
20969
|
@create_application = args[:create_application] if args.key?(:create_application)
|
21268
20970
|
@deploy = args[:deploy] if args.key?(:deploy)
|
21269
20971
|
@deploy_gke = args[:deploy_gke] if args.key?(:deploy_gke)
|
21270
|
-
@fine_tune = args[:fine_tune] if args.key?(:fine_tune)
|
21271
20972
|
@open_evaluation_pipeline = args[:open_evaluation_pipeline] if args.key?(:open_evaluation_pipeline)
|
21272
20973
|
@open_fine_tuning_pipeline = args[:open_fine_tuning_pipeline] if args.key?(:open_fine_tuning_pipeline)
|
21273
20974
|
@open_fine_tuning_pipelines = args[:open_fine_tuning_pipelines] if args.key?(:open_fine_tuning_pipelines)
|
@@ -22544,6 +22245,11 @@ module Google
|
|
22544
22245
|
# @return [String]
|
22545
22246
|
attr_accessor :name
|
22546
22247
|
|
22248
|
+
# Config for the embedding model to use for RAG.
|
22249
|
+
# Corresponds to the JSON property `ragEmbeddingModelConfig`
|
22250
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig]
|
22251
|
+
attr_accessor :rag_embedding_model_config
|
22252
|
+
|
22547
22253
|
# Output only. Timestamp when this RagCorpus was last updated.
|
22548
22254
|
# Corresponds to the JSON property `updateTime`
|
22549
22255
|
# @return [String]
|
@@ -22559,10 +22265,66 @@ module Google
|
|
22559
22265
|
@description = args[:description] if args.key?(:description)
|
22560
22266
|
@display_name = args[:display_name] if args.key?(:display_name)
|
22561
22267
|
@name = args[:name] if args.key?(:name)
|
22268
|
+
@rag_embedding_model_config = args[:rag_embedding_model_config] if args.key?(:rag_embedding_model_config)
|
22562
22269
|
@update_time = args[:update_time] if args.key?(:update_time)
|
22563
22270
|
end
|
22564
22271
|
end
|
22565
22272
|
|
22273
|
+
# Config for the embedding model to use for RAG.
|
22274
|
+
class GoogleCloudAiplatformV1beta1RagEmbeddingModelConfig
|
22275
|
+
include Google::Apis::Core::Hashable
|
22276
|
+
|
22277
|
+
# Config representing a model hosted on Vertex Prediction Endpoint.
|
22278
|
+
# Corresponds to the JSON property `vertexPredictionEndpoint`
|
22279
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1RagEmbeddingModelConfigVertexPredictionEndpoint]
|
22280
|
+
attr_accessor :vertex_prediction_endpoint
|
22281
|
+
|
22282
|
+
def initialize(**args)
|
22283
|
+
update!(**args)
|
22284
|
+
end
|
22285
|
+
|
22286
|
+
# Update properties of this object
|
22287
|
+
def update!(**args)
|
22288
|
+
@vertex_prediction_endpoint = args[:vertex_prediction_endpoint] if args.key?(:vertex_prediction_endpoint)
|
22289
|
+
end
|
22290
|
+
end
|
22291
|
+
|
22292
|
+
# Config representing a model hosted on Vertex Prediction Endpoint.
|
22293
|
+
class GoogleCloudAiplatformV1beta1RagEmbeddingModelConfigVertexPredictionEndpoint
|
22294
|
+
include Google::Apis::Core::Hashable
|
22295
|
+
|
22296
|
+
# Required. The endpoint resource name. Format: `projects/`project`/locations/`
|
22297
|
+
# location`/publishers/`publisher`/models/`model`` or `projects/`project`/
|
22298
|
+
# locations/`location`/endpoints/`endpoint``
|
22299
|
+
# Corresponds to the JSON property `endpoint`
|
22300
|
+
# @return [String]
|
22301
|
+
attr_accessor :endpoint
|
22302
|
+
|
22303
|
+
# Output only. The resource name of the model that is deployed on the endpoint.
|
22304
|
+
# Present only when the endpoint is not a publisher model. Pattern: `projects/`
|
22305
|
+
# project`/locations/`location`/models/`model``
|
22306
|
+
# Corresponds to the JSON property `model`
|
22307
|
+
# @return [String]
|
22308
|
+
attr_accessor :model
|
22309
|
+
|
22310
|
+
# Output only. Version ID of the model that is deployed on the endpoint. Present
|
22311
|
+
# only when the endpoint is not a publisher model.
|
22312
|
+
# Corresponds to the JSON property `modelVersionId`
|
22313
|
+
# @return [String]
|
22314
|
+
attr_accessor :model_version_id
|
22315
|
+
|
22316
|
+
def initialize(**args)
|
22317
|
+
update!(**args)
|
22318
|
+
end
|
22319
|
+
|
22320
|
+
# Update properties of this object
|
22321
|
+
def update!(**args)
|
22322
|
+
@endpoint = args[:endpoint] if args.key?(:endpoint)
|
22323
|
+
@model = args[:model] if args.key?(:model)
|
22324
|
+
@model_version_id = args[:model_version_id] if args.key?(:model_version_id)
|
22325
|
+
end
|
22326
|
+
end
|
22327
|
+
|
22566
22328
|
# A RagFile contains user data for chunking, embedding and indexing.
|
22567
22329
|
class GoogleCloudAiplatformV1beta1RagFile
|
22568
22330
|
include Google::Apis::Core::Hashable
|
@@ -22676,6 +22438,11 @@ module Google
|
|
22676
22438
|
# @return [String]
|
22677
22439
|
attr_accessor :text
|
22678
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
|
+
|
22679
22446
|
def initialize(**args)
|
22680
22447
|
update!(**args)
|
22681
22448
|
end
|
@@ -22684,6 +22451,7 @@ module Google
|
|
22684
22451
|
def update!(**args)
|
22685
22452
|
@similarity_top_k = args[:similarity_top_k] if args.key?(:similarity_top_k)
|
22686
22453
|
@text = args[:text] if args.key?(:text)
|
22454
|
+
@vector_distance_threshold = args[:vector_distance_threshold] if args.key?(:vector_distance_threshold)
|
22687
22455
|
end
|
22688
22456
|
end
|
22689
22457
|
|
@@ -23267,108 +23035,6 @@ module Google
|
|
23267
23035
|
end
|
23268
23036
|
end
|
23269
23037
|
|
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
|
-
|
23372
23038
|
# Request message for MetadataService.DeleteContextChildrenRequest.
|
23373
23039
|
class GoogleCloudAiplatformV1beta1RemoveContextChildrenRequest
|
23374
23040
|
include Google::Apis::Core::Hashable
|
@@ -23901,32 +23567,6 @@ module Google
|
|
23901
23567
|
end
|
23902
23568
|
end
|
23903
23569
|
|
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
|
-
|
23930
23570
|
# Input for rouge metric.
|
23931
23571
|
class GoogleCloudAiplatformV1beta1RougeInput
|
23932
23572
|
include Google::Apis::Core::Hashable
|
@@ -31216,11 +30856,6 @@ module Google
|
|
31216
30856
|
class GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilter
|
31217
30857
|
include Google::Apis::Core::Hashable
|
31218
30858
|
|
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
|
-
|
31224
30859
|
# Tabular statistics filter.
|
31225
30860
|
# Corresponds to the JSON property `tabularStatsFilter`
|
31226
30861
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilterTabularStatsFilter]
|
@@ -31232,55 +30867,10 @@ module Google
|
|
31232
30867
|
|
31233
30868
|
# Update properties of this object
|
31234
30869
|
def update!(**args)
|
31235
|
-
@gen_ai_stats_filter = args[:gen_ai_stats_filter] if args.key?(:gen_ai_stats_filter)
|
31236
30870
|
@tabular_stats_filter = args[:tabular_stats_filter] if args.key?(:tabular_stats_filter)
|
31237
30871
|
end
|
31238
30872
|
end
|
31239
30873
|
|
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
|
-
|
31284
30874
|
# Tabular statistics filter.
|
31285
30875
|
class GoogleCloudAiplatformV1beta1SearchModelMonitoringStatsFilterTabularStatsFilter
|
31286
30876
|
include Google::Apis::Core::Hashable
|
@@ -31706,6 +31296,40 @@ module Google
|
|
31706
31296
|
end
|
31707
31297
|
end
|
31708
31298
|
|
31299
|
+
# Request message for PredictionService.StreamRawPredict.
|
31300
|
+
class GoogleCloudAiplatformV1beta1StreamRawPredictRequest
|
31301
|
+
include Google::Apis::Core::Hashable
|
31302
|
+
|
31303
|
+
# Message that represents an arbitrary HTTP body. It should only be used for
|
31304
|
+
# payload formats that can't be represented as JSON, such as raw binary or an
|
31305
|
+
# HTML page. This message can be used both in streaming and non-streaming API
|
31306
|
+
# methods in the request as well as the response. It can be used as a top-level
|
31307
|
+
# request field, which is convenient if one wants to extract parameters from
|
31308
|
+
# either the URL or HTTP template into the request fields and also want access
|
31309
|
+
# to the raw HTTP body. Example: message GetResourceRequest ` // A unique
|
31310
|
+
# request id. string request_id = 1; // The raw HTTP body is bound to this field.
|
31311
|
+
# google.api.HttpBody http_body = 2; ` service ResourceService ` rpc
|
31312
|
+
# GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc
|
31313
|
+
# UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); ` Example
|
31314
|
+
# with streaming methods: service CaldavService ` rpc GetCalendar(stream google.
|
31315
|
+
# api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream
|
31316
|
+
# google.api.HttpBody) returns (stream google.api.HttpBody); ` Use of this type
|
31317
|
+
# only changes how the request and response bodies are handled, all other
|
31318
|
+
# features will continue to work unchanged.
|
31319
|
+
# Corresponds to the JSON property `httpBody`
|
31320
|
+
# @return [Google::Apis::AiplatformV1beta1::GoogleApiHttpBody]
|
31321
|
+
attr_accessor :http_body
|
31322
|
+
|
31323
|
+
def initialize(**args)
|
31324
|
+
update!(**args)
|
31325
|
+
end
|
31326
|
+
|
31327
|
+
# Update properties of this object
|
31328
|
+
def update!(**args)
|
31329
|
+
@http_body = args[:http_body] if args.key?(:http_body)
|
31330
|
+
end
|
31331
|
+
end
|
31332
|
+
|
31709
31333
|
# Request message for FeatureOnlineStoreService.StreamingFetchFeatureValues. For
|
31710
31334
|
# the entities requested, all features under the requested feature view will be
|
31711
31335
|
# returned.
|
@@ -35087,16 +34711,6 @@ module Google
|
|
35087
34711
|
class GoogleCloudAiplatformV1beta1TuningDataStats
|
35088
34712
|
include Google::Apis::Core::Hashable
|
35089
34713
|
|
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
|
-
|
35100
34714
|
# Tuning data statistics for Supervised Tuning.
|
35101
34715
|
# Corresponds to the JSON property `supervisedTuningDataStats`
|
35102
34716
|
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SupervisedTuningDataStats]
|
@@ -35108,8 +34722,6 @@ module Google
|
|
35108
34722
|
|
35109
34723
|
# Update properties of this object
|
35110
34724
|
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)
|
35113
34725
|
@supervised_tuning_data_stats = args[:supervised_tuning_data_stats] if args.key?(:supervised_tuning_data_stats)
|
35114
34726
|
end
|
35115
34727
|
end
|
@@ -35133,11 +34745,6 @@ module Google
|
|
35133
34745
|
# @return [String]
|
35134
34746
|
attr_accessor :description
|
35135
34747
|
|
35136
|
-
# Tuning Spec for Distillation.
|
35137
|
-
# Corresponds to the JSON property `distillationSpec`
|
35138
|
-
# @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DistillationSpec]
|
35139
|
-
attr_accessor :distillation_spec
|
35140
|
-
|
35141
34748
|
# Represents a customer-managed encryption key spec that can be applied to a top-
|
35142
34749
|
# level resource.
|
35143
34750
|
# Corresponds to the JSON property `encryptionSpec`
|
@@ -35189,11 +34796,6 @@ module Google
|
|
35189
34796
|
# @return [String]
|
35190
34797
|
attr_accessor :pipeline_job
|
35191
34798
|
|
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
|
-
|
35197
34799
|
# Output only. Time when the TuningJob for the first time entered the `
|
35198
34800
|
# JOB_STATE_RUNNING` state.
|
35199
34801
|
# Corresponds to the JSON property `startTime`
|
@@ -35241,7 +34843,6 @@ module Google
|
|
35241
34843
|
@base_model = args[:base_model] if args.key?(:base_model)
|
35242
34844
|
@create_time = args[:create_time] if args.key?(:create_time)
|
35243
34845
|
@description = args[:description] if args.key?(:description)
|
35244
|
-
@distillation_spec = args[:distillation_spec] if args.key?(:distillation_spec)
|
35245
34846
|
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
35246
34847
|
@end_time = args[:end_time] if args.key?(:end_time)
|
35247
34848
|
@error = args[:error] if args.key?(:error)
|
@@ -35249,7 +34850,6 @@ module Google
|
|
35249
34850
|
@labels = args[:labels] if args.key?(:labels)
|
35250
34851
|
@name = args[:name] if args.key?(:name)
|
35251
34852
|
@pipeline_job = args[:pipeline_job] if args.key?(:pipeline_job)
|
35252
|
-
@reinforcement_learning_spec = args[:reinforcement_learning_spec] if args.key?(:reinforcement_learning_spec)
|
35253
34853
|
@start_time = args[:start_time] if args.key?(:start_time)
|
35254
34854
|
@state = args[:state] if args.key?(:state)
|
35255
34855
|
@supervised_tuning_spec = args[:supervised_tuning_spec] if args.key?(:supervised_tuning_spec)
|
@@ -37169,6 +36769,102 @@ module Google
|
|
37169
36769
|
@units = args[:units] if args.key?(:units)
|
37170
36770
|
end
|
37171
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
|
37172
36868
|
end
|
37173
36869
|
end
|
37174
36870
|
end
|