google-apis-aiplatform_v1 0.19.0 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -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.
|
19
|
+
GEM_VERSION = "0.20.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240328"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -592,6 +592,12 @@ module Google
|
|
592
592
|
include Google::Apis::Core::JsonObjectSupport
|
593
593
|
end
|
594
594
|
|
595
|
+
class GoogleCloudAiplatformV1CancelTuningJobRequest
|
596
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
597
|
+
|
598
|
+
include Google::Apis::Core::JsonObjectSupport
|
599
|
+
end
|
600
|
+
|
595
601
|
class GoogleCloudAiplatformV1Candidate
|
596
602
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
597
603
|
|
@@ -2164,6 +2170,12 @@ module Google
|
|
2164
2170
|
include Google::Apis::Core::JsonObjectSupport
|
2165
2171
|
end
|
2166
2172
|
|
2173
|
+
class GoogleCloudAiplatformV1ListTuningJobsResponse
|
2174
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2175
|
+
|
2176
|
+
include Google::Apis::Core::JsonObjectSupport
|
2177
|
+
end
|
2178
|
+
|
2167
2179
|
class GoogleCloudAiplatformV1LookupStudyRequest
|
2168
2180
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2169
2181
|
|
@@ -2878,12 +2890,6 @@ module Google
|
|
2878
2890
|
include Google::Apis::Core::JsonObjectSupport
|
2879
2891
|
end
|
2880
2892
|
|
2881
|
-
class GoogleCloudAiplatformV1PublisherModelCallToActionDeployVertex
|
2882
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2883
|
-
|
2884
|
-
include Google::Apis::Core::JsonObjectSupport
|
2885
|
-
end
|
2886
|
-
|
2887
2893
|
class GoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines
|
2888
2894
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2889
2895
|
|
@@ -2992,12 +2998,6 @@ module Google
|
|
2992
2998
|
include Google::Apis::Core::JsonObjectSupport
|
2993
2999
|
end
|
2994
3000
|
|
2995
|
-
class GoogleCloudAiplatformV1RayMetricSpec
|
2996
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2997
|
-
|
2998
|
-
include Google::Apis::Core::JsonObjectSupport
|
2999
|
-
end
|
3000
|
-
|
3001
3001
|
class GoogleCloudAiplatformV1RaySpec
|
3002
3002
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3003
3003
|
|
@@ -3376,6 +3376,12 @@ module Google
|
|
3376
3376
|
include Google::Apis::Core::JsonObjectSupport
|
3377
3377
|
end
|
3378
3378
|
|
3379
|
+
class GoogleCloudAiplatformV1SchemaModelevaluationMetricsPairwiseTextGenerationEvaluationMetrics
|
3380
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3381
|
+
|
3382
|
+
include Google::Apis::Core::JsonObjectSupport
|
3383
|
+
end
|
3384
|
+
|
3379
3385
|
class GoogleCloudAiplatformV1SchemaModelevaluationMetricsQuestionAnsweringEvaluationMetrics
|
3380
3386
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3381
3387
|
|
@@ -4486,6 +4492,36 @@ module Google
|
|
4486
4492
|
include Google::Apis::Core::JsonObjectSupport
|
4487
4493
|
end
|
4488
4494
|
|
4495
|
+
class GoogleCloudAiplatformV1SupervisedHyperParameters
|
4496
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4497
|
+
|
4498
|
+
include Google::Apis::Core::JsonObjectSupport
|
4499
|
+
end
|
4500
|
+
|
4501
|
+
class GoogleCloudAiplatformV1SupervisedTuningDataStats
|
4502
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4503
|
+
|
4504
|
+
include Google::Apis::Core::JsonObjectSupport
|
4505
|
+
end
|
4506
|
+
|
4507
|
+
class GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution
|
4508
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4509
|
+
|
4510
|
+
include Google::Apis::Core::JsonObjectSupport
|
4511
|
+
end
|
4512
|
+
|
4513
|
+
class GoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket
|
4514
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4515
|
+
|
4516
|
+
include Google::Apis::Core::JsonObjectSupport
|
4517
|
+
end
|
4518
|
+
|
4519
|
+
class GoogleCloudAiplatformV1SupervisedTuningSpec
|
4520
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4521
|
+
|
4522
|
+
include Google::Apis::Core::JsonObjectSupport
|
4523
|
+
end
|
4524
|
+
|
4489
4525
|
class GoogleCloudAiplatformV1SyncFeatureViewRequest
|
4490
4526
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4491
4527
|
|
@@ -4624,6 +4660,24 @@ module Google
|
|
4624
4660
|
include Google::Apis::Core::JsonObjectSupport
|
4625
4661
|
end
|
4626
4662
|
|
4663
|
+
class GoogleCloudAiplatformV1TunedModel
|
4664
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4665
|
+
|
4666
|
+
include Google::Apis::Core::JsonObjectSupport
|
4667
|
+
end
|
4668
|
+
|
4669
|
+
class GoogleCloudAiplatformV1TuningDataStats
|
4670
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4671
|
+
|
4672
|
+
include Google::Apis::Core::JsonObjectSupport
|
4673
|
+
end
|
4674
|
+
|
4675
|
+
class GoogleCloudAiplatformV1TuningJob
|
4676
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4677
|
+
|
4678
|
+
include Google::Apis::Core::JsonObjectSupport
|
4679
|
+
end
|
4680
|
+
|
4627
4681
|
class GoogleCloudAiplatformV1UndeployIndexOperationMetadata
|
4628
4682
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4629
4683
|
|
@@ -5152,6 +5206,12 @@ module Google
|
|
5152
5206
|
include Google::Apis::Core::JsonObjectSupport
|
5153
5207
|
end
|
5154
5208
|
|
5209
|
+
class LearningGenaiRootPerRequestProcessorDebugMetadataFactualityDebugMetadata
|
5210
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5211
|
+
|
5212
|
+
include Google::Apis::Core::JsonObjectSupport
|
5213
|
+
end
|
5214
|
+
|
5155
5215
|
class LearningGenaiRootRaiOutput
|
5156
5216
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5157
5217
|
|
@@ -5290,6 +5350,12 @@ module Google
|
|
5290
5350
|
include Google::Apis::Core::JsonObjectSupport
|
5291
5351
|
end
|
5292
5352
|
|
5353
|
+
class LearningGenaiRootTranslationRequestInfo
|
5354
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5355
|
+
|
5356
|
+
include Google::Apis::Core::JsonObjectSupport
|
5357
|
+
end
|
5358
|
+
|
5293
5359
|
class LearningServingLlmMessageMetadata
|
5294
5360
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5295
5361
|
|
@@ -5565,6 +5631,8 @@ module Google
|
|
5565
5631
|
class CloudAiNlLlmProtoServiceMessageMetadata
|
5566
5632
|
# @private
|
5567
5633
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5634
|
+
property :factuality_debug_metadata, as: 'factualityDebugMetadata', class: Google::Apis::AiplatformV1::LearningGenaiRootPerRequestProcessorDebugMetadataFactualityDebugMetadata, decorator: Google::Apis::AiplatformV1::LearningGenaiRootPerRequestProcessorDebugMetadataFactualityDebugMetadata::Representation
|
5635
|
+
|
5568
5636
|
property :input_filter_info, as: 'inputFilterInfo', class: Google::Apis::AiplatformV1::LearningServingLlmMessageMetadata, decorator: Google::Apis::AiplatformV1::LearningServingLlmMessageMetadata::Representation
|
5569
5637
|
|
5570
5638
|
property :model_routing_decision, as: 'modelRoutingDecision', class: Google::Apis::AiplatformV1::LearningGenaiRootRoutingDecision, decorator: Google::Apis::AiplatformV1::LearningGenaiRootRoutingDecision::Representation
|
@@ -5659,6 +5727,8 @@ module Google
|
|
5659
5727
|
|
5660
5728
|
collection :rai_signals, as: 'raiSignals', class: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceRaiSignal, decorator: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceRaiSignal::Representation
|
5661
5729
|
|
5730
|
+
collection :translation_request_infos, as: 'translationRequestInfos', class: Google::Apis::AiplatformV1::LearningGenaiRootTranslationRequestInfo, decorator: Google::Apis::AiplatformV1::LearningGenaiRootTranslationRequestInfo::Representation
|
5731
|
+
|
5662
5732
|
property :triggered_blocklist, as: 'triggeredBlocklist'
|
5663
5733
|
property :triggered_recitation, as: 'triggeredRecitation'
|
5664
5734
|
property :triggered_safety_filter, as: 'triggeredSafetyFilter'
|
@@ -6260,6 +6330,12 @@ module Google
|
|
6260
6330
|
end
|
6261
6331
|
end
|
6262
6332
|
|
6333
|
+
class GoogleCloudAiplatformV1CancelTuningJobRequest
|
6334
|
+
# @private
|
6335
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6336
|
+
end
|
6337
|
+
end
|
6338
|
+
|
6263
6339
|
class GoogleCloudAiplatformV1Candidate
|
6264
6340
|
# @private
|
6265
6341
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8143,6 +8219,7 @@ module Google
|
|
8143
8219
|
property :frequency_penalty, as: 'frequencyPenalty'
|
8144
8220
|
property :max_output_tokens, as: 'maxOutputTokens'
|
8145
8221
|
property :presence_penalty, as: 'presencePenalty'
|
8222
|
+
property :response_mime_type, as: 'responseMimeType'
|
8146
8223
|
collection :stop_sequences, as: 'stopSequences'
|
8147
8224
|
property :temperature, as: 'temperature'
|
8148
8225
|
property :top_k, as: 'topK'
|
@@ -8198,7 +8275,6 @@ module Google
|
|
8198
8275
|
class Representation < Google::Apis::Core::JsonRepresentation
|
8199
8276
|
collection :grounding_attributions, as: 'groundingAttributions', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingAttribution, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingAttribution::Representation
|
8200
8277
|
|
8201
|
-
collection :retrieval_queries, as: 'retrievalQueries'
|
8202
8278
|
collection :web_search_queries, as: 'webSearchQueries'
|
8203
8279
|
end
|
8204
8280
|
end
|
@@ -8915,6 +8991,15 @@ module Google
|
|
8915
8991
|
end
|
8916
8992
|
end
|
8917
8993
|
|
8994
|
+
class GoogleCloudAiplatformV1ListTuningJobsResponse
|
8995
|
+
# @private
|
8996
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8997
|
+
property :next_page_token, as: 'nextPageToken'
|
8998
|
+
collection :tuning_jobs, as: 'tuningJobs', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TuningJob, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TuningJob::Representation
|
8999
|
+
|
9000
|
+
end
|
9001
|
+
end
|
9002
|
+
|
8918
9003
|
class GoogleCloudAiplatformV1LookupStudyRequest
|
8919
9004
|
# @private
|
8920
9005
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -10221,8 +10306,6 @@ module Google
|
|
10221
10306
|
|
10222
10307
|
property :deploy_gke, as: 'deployGke', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionDeployGke::Representation
|
10223
10308
|
|
10224
|
-
property :multi_deploy_vertex, as: 'multiDeployVertex', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionDeployVertex, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionDeployVertex::Representation
|
10225
|
-
|
10226
10309
|
property :open_evaluation_pipeline, as: 'openEvaluationPipeline', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences::Representation
|
10227
10310
|
|
10228
10311
|
property :open_fine_tuning_pipeline, as: 'openFineTuningPipeline', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionRegionalResourceReferences::Representation
|
@@ -10272,14 +10355,6 @@ module Google
|
|
10272
10355
|
end
|
10273
10356
|
end
|
10274
10357
|
|
10275
|
-
class GoogleCloudAiplatformV1PublisherModelCallToActionDeployVertex
|
10276
|
-
# @private
|
10277
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
10278
|
-
collection :multi_deploy_vertex, as: 'multiDeployVertex', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionDeploy, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PublisherModelCallToActionDeploy::Representation
|
10279
|
-
|
10280
|
-
end
|
10281
|
-
end
|
10282
|
-
|
10283
10358
|
class GoogleCloudAiplatformV1PublisherModelCallToActionOpenFineTuningPipelines
|
10284
10359
|
# @private
|
10285
10360
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -10440,21 +10515,9 @@ module Google
|
|
10440
10515
|
end
|
10441
10516
|
end
|
10442
10517
|
|
10443
|
-
class GoogleCloudAiplatformV1RayMetricSpec
|
10444
|
-
# @private
|
10445
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
10446
|
-
property :disabled, as: 'disabled'
|
10447
|
-
end
|
10448
|
-
end
|
10449
|
-
|
10450
10518
|
class GoogleCloudAiplatformV1RaySpec
|
10451
10519
|
# @private
|
10452
10520
|
class Representation < Google::Apis::Core::JsonRepresentation
|
10453
|
-
property :head_node_resource_pool_id, as: 'headNodeResourcePoolId'
|
10454
|
-
property :image_uri, as: 'imageUri'
|
10455
|
-
property :ray_metric_spec, as: 'rayMetricSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RayMetricSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RayMetricSpec::Representation
|
10456
|
-
|
10457
|
-
hash :resource_pool_images, as: 'resourcePoolImages'
|
10458
10521
|
end
|
10459
10522
|
end
|
10460
10523
|
|
@@ -10642,8 +10705,6 @@ module Google
|
|
10642
10705
|
class GoogleCloudAiplatformV1ResourceRuntime
|
10643
10706
|
# @private
|
10644
10707
|
class Representation < Google::Apis::Core::JsonRepresentation
|
10645
|
-
hash :access_uris, as: 'accessUris'
|
10646
|
-
property :notebook_runtime_template, as: 'notebookRuntimeTemplate'
|
10647
10708
|
end
|
10648
10709
|
end
|
10649
10710
|
|
@@ -11068,6 +11129,25 @@ module Google
|
|
11068
11129
|
end
|
11069
11130
|
end
|
11070
11131
|
|
11132
|
+
class GoogleCloudAiplatformV1SchemaModelevaluationMetricsPairwiseTextGenerationEvaluationMetrics
|
11133
|
+
# @private
|
11134
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
11135
|
+
property :accuracy, as: 'accuracy'
|
11136
|
+
property :baseline_model_win_rate, as: 'baselineModelWinRate'
|
11137
|
+
property :cohens_kappa, as: 'cohensKappa'
|
11138
|
+
property :f1_score, as: 'f1Score'
|
11139
|
+
property :false_negative_count, :numeric_string => true, as: 'falseNegativeCount'
|
11140
|
+
property :false_positive_count, :numeric_string => true, as: 'falsePositiveCount'
|
11141
|
+
property :human_preference_baseline_model_win_rate, as: 'humanPreferenceBaselineModelWinRate'
|
11142
|
+
property :human_preference_model_win_rate, as: 'humanPreferenceModelWinRate'
|
11143
|
+
property :model_win_rate, as: 'modelWinRate'
|
11144
|
+
property :precision, as: 'precision'
|
11145
|
+
property :recall, as: 'recall'
|
11146
|
+
property :true_negative_count, :numeric_string => true, as: 'trueNegativeCount'
|
11147
|
+
property :true_positive_count, :numeric_string => true, as: 'truePositiveCount'
|
11148
|
+
end
|
11149
|
+
end
|
11150
|
+
|
11071
11151
|
class GoogleCloudAiplatformV1SchemaModelevaluationMetricsQuestionAnsweringEvaluationMetrics
|
11072
11152
|
# @private
|
11073
11153
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12860,6 +12940,67 @@ module Google
|
|
12860
12940
|
end
|
12861
12941
|
end
|
12862
12942
|
|
12943
|
+
class GoogleCloudAiplatformV1SupervisedHyperParameters
|
12944
|
+
# @private
|
12945
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12946
|
+
property :adapter_size, as: 'adapterSize'
|
12947
|
+
property :epoch_count, :numeric_string => true, as: 'epochCount'
|
12948
|
+
property :learning_rate_multiplier, as: 'learningRateMultiplier'
|
12949
|
+
end
|
12950
|
+
end
|
12951
|
+
|
12952
|
+
class GoogleCloudAiplatformV1SupervisedTuningDataStats
|
12953
|
+
# @private
|
12954
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12955
|
+
property :total_billable_character_count, :numeric_string => true, as: 'totalBillableCharacterCount'
|
12956
|
+
property :total_tuning_character_count, :numeric_string => true, as: 'totalTuningCharacterCount'
|
12957
|
+
property :tuning_dataset_example_count, :numeric_string => true, as: 'tuningDatasetExampleCount'
|
12958
|
+
property :tuning_step_count, :numeric_string => true, as: 'tuningStepCount'
|
12959
|
+
collection :user_dataset_examples, as: 'userDatasetExamples', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content::Representation
|
12960
|
+
|
12961
|
+
property :user_input_token_distribution, as: 'userInputTokenDistribution', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution::Representation
|
12962
|
+
|
12963
|
+
property :user_message_per_example_distribution, as: 'userMessagePerExampleDistribution', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution::Representation
|
12964
|
+
|
12965
|
+
property :user_output_token_distribution, as: 'userOutputTokenDistribution', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution::Representation
|
12966
|
+
|
12967
|
+
end
|
12968
|
+
end
|
12969
|
+
|
12970
|
+
class GoogleCloudAiplatformV1SupervisedTuningDatasetDistribution
|
12971
|
+
# @private
|
12972
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12973
|
+
collection :buckets, as: 'buckets', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket::Representation
|
12974
|
+
|
12975
|
+
property :max, as: 'max'
|
12976
|
+
property :mean, as: 'mean'
|
12977
|
+
property :median, as: 'median'
|
12978
|
+
property :min, as: 'min'
|
12979
|
+
property :p5, as: 'p5'
|
12980
|
+
property :p95, as: 'p95'
|
12981
|
+
property :sum, :numeric_string => true, as: 'sum'
|
12982
|
+
end
|
12983
|
+
end
|
12984
|
+
|
12985
|
+
class GoogleCloudAiplatformV1SupervisedTuningDatasetDistributionDatasetBucket
|
12986
|
+
# @private
|
12987
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12988
|
+
property :count, as: 'count'
|
12989
|
+
property :left, as: 'left'
|
12990
|
+
property :right, as: 'right'
|
12991
|
+
end
|
12992
|
+
end
|
12993
|
+
|
12994
|
+
class GoogleCloudAiplatformV1SupervisedTuningSpec
|
12995
|
+
# @private
|
12996
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12997
|
+
property :hyper_parameters, as: 'hyperParameters', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedHyperParameters, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedHyperParameters::Representation
|
12998
|
+
|
12999
|
+
property :training_dataset_uri, as: 'trainingDatasetUri'
|
13000
|
+
property :validation_dataset_uri, as: 'validationDatasetUri'
|
13001
|
+
end
|
13002
|
+
end
|
13003
|
+
|
12863
13004
|
class GoogleCloudAiplatformV1SyncFeatureViewRequest
|
12864
13005
|
# @private
|
12865
13006
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -13131,6 +13272,47 @@ module Google
|
|
13131
13272
|
end
|
13132
13273
|
end
|
13133
13274
|
|
13275
|
+
class GoogleCloudAiplatformV1TunedModel
|
13276
|
+
# @private
|
13277
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13278
|
+
property :endpoint, as: 'endpoint'
|
13279
|
+
property :model, as: 'model'
|
13280
|
+
end
|
13281
|
+
end
|
13282
|
+
|
13283
|
+
class GoogleCloudAiplatformV1TuningDataStats
|
13284
|
+
# @private
|
13285
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13286
|
+
property :supervised_tuning_data_stats, as: 'supervisedTuningDataStats', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedTuningDataStats, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedTuningDataStats::Representation
|
13287
|
+
|
13288
|
+
end
|
13289
|
+
end
|
13290
|
+
|
13291
|
+
class GoogleCloudAiplatformV1TuningJob
|
13292
|
+
# @private
|
13293
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13294
|
+
property :base_model, as: 'baseModel'
|
13295
|
+
property :create_time, as: 'createTime'
|
13296
|
+
property :description, as: 'description'
|
13297
|
+
property :end_time, as: 'endTime'
|
13298
|
+
property :error, as: 'error', class: Google::Apis::AiplatformV1::GoogleRpcStatus, decorator: Google::Apis::AiplatformV1::GoogleRpcStatus::Representation
|
13299
|
+
|
13300
|
+
property :experiment, as: 'experiment'
|
13301
|
+
hash :labels, as: 'labels'
|
13302
|
+
property :name, as: 'name'
|
13303
|
+
property :start_time, as: 'startTime'
|
13304
|
+
property :state, as: 'state'
|
13305
|
+
property :supervised_tuning_spec, as: 'supervisedTuningSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedTuningSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedTuningSpec::Representation
|
13306
|
+
|
13307
|
+
property :tuned_model, as: 'tunedModel', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TunedModel, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TunedModel::Representation
|
13308
|
+
|
13309
|
+
property :tuned_model_display_name, as: 'tunedModelDisplayName'
|
13310
|
+
property :tuning_data_stats, as: 'tuningDataStats', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TuningDataStats, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TuningDataStats::Representation
|
13311
|
+
|
13312
|
+
property :update_time, as: 'updateTime'
|
13313
|
+
end
|
13314
|
+
end
|
13315
|
+
|
13134
13316
|
class GoogleCloudAiplatformV1UndeployIndexOperationMetadata
|
13135
13317
|
# @private
|
13136
13318
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -14009,6 +14191,14 @@ module Google
|
|
14009
14191
|
end
|
14010
14192
|
end
|
14011
14193
|
|
14194
|
+
class LearningGenaiRootPerRequestProcessorDebugMetadataFactualityDebugMetadata
|
14195
|
+
# @private
|
14196
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14197
|
+
hash :fact_retrieval_milliseconds_by_provider, as: 'factRetrievalMillisecondsByProvider'
|
14198
|
+
property :prompt2query_milliseconds, :numeric_string => true, as: 'prompt2queryMilliseconds'
|
14199
|
+
end
|
14200
|
+
end
|
14201
|
+
|
14012
14202
|
class LearningGenaiRootRaiOutput
|
14013
14203
|
# @private
|
14014
14204
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -14228,6 +14418,14 @@ module Google
|
|
14228
14418
|
end
|
14229
14419
|
end
|
14230
14420
|
|
14421
|
+
class LearningGenaiRootTranslationRequestInfo
|
14422
|
+
# @private
|
14423
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14424
|
+
collection :detected_language_codes, as: 'detectedLanguageCodes'
|
14425
|
+
property :total_content_size, :numeric_string => true, as: 'totalContentSize'
|
14426
|
+
end
|
14427
|
+
end
|
14428
|
+
|
14231
14429
|
class LearningServingLlmMessageMetadata
|
14232
14430
|
# @private
|
14233
14431
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -18773,6 +18773,154 @@ module Google
|
|
18773
18773
|
execute_or_queue_command(command, &block)
|
18774
18774
|
end
|
18775
18775
|
|
18776
|
+
# Cancels a TuningJob. Starts asynchronous cancellation on the TuningJob. The
|
18777
|
+
# server makes a best effort to cancel the job, but success is not guaranteed.
|
18778
|
+
# Clients can use GenAiTuningService.GetTuningJob or other methods to check
|
18779
|
+
# whether the cancellation succeeded or whether the job completed despite
|
18780
|
+
# cancellation. On successful cancellation, the TuningJob is not deleted;
|
18781
|
+
# instead it becomes a job with a TuningJob.error value with a google.rpc.Status.
|
18782
|
+
# code of 1, corresponding to `Code.CANCELLED`, and TuningJob.state is set to `
|
18783
|
+
# CANCELLED`.
|
18784
|
+
# @param [String] name
|
18785
|
+
# Required. The name of the TuningJob to cancel. Format: `projects/`project`/
|
18786
|
+
# locations/`location`/tuningJobs/`tuning_job``
|
18787
|
+
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CancelTuningJobRequest] google_cloud_aiplatform_v1_cancel_tuning_job_request_object
|
18788
|
+
# @param [String] fields
|
18789
|
+
# Selector specifying which fields to include in a partial response.
|
18790
|
+
# @param [String] quota_user
|
18791
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
18792
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
18793
|
+
# @param [Google::Apis::RequestOptions] options
|
18794
|
+
# Request-specific options
|
18795
|
+
#
|
18796
|
+
# @yield [result, err] Result & error if block supplied
|
18797
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleProtobufEmpty] parsed result object
|
18798
|
+
# @yieldparam err [StandardError] error object if request failed
|
18799
|
+
#
|
18800
|
+
# @return [Google::Apis::AiplatformV1::GoogleProtobufEmpty]
|
18801
|
+
#
|
18802
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
18803
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
18804
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
18805
|
+
def cancel_project_location_tuning_job(name, google_cloud_aiplatform_v1_cancel_tuning_job_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
18806
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
18807
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CancelTuningJobRequest::Representation
|
18808
|
+
command.request_object = google_cloud_aiplatform_v1_cancel_tuning_job_request_object
|
18809
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
|
18810
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
|
18811
|
+
command.params['name'] = name unless name.nil?
|
18812
|
+
command.query['fields'] = fields unless fields.nil?
|
18813
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
18814
|
+
execute_or_queue_command(command, &block)
|
18815
|
+
end
|
18816
|
+
|
18817
|
+
# Creates a TuningJob. A created TuningJob right away will be attempted to be
|
18818
|
+
# run.
|
18819
|
+
# @param [String] parent
|
18820
|
+
# Required. The resource name of the Location to create the TuningJob in. Format:
|
18821
|
+
# `projects/`project`/locations/`location``
|
18822
|
+
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TuningJob] google_cloud_aiplatform_v1_tuning_job_object
|
18823
|
+
# @param [String] fields
|
18824
|
+
# Selector specifying which fields to include in a partial response.
|
18825
|
+
# @param [String] quota_user
|
18826
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
18827
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
18828
|
+
# @param [Google::Apis::RequestOptions] options
|
18829
|
+
# Request-specific options
|
18830
|
+
#
|
18831
|
+
# @yield [result, err] Result & error if block supplied
|
18832
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TuningJob] parsed result object
|
18833
|
+
# @yieldparam err [StandardError] error object if request failed
|
18834
|
+
#
|
18835
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TuningJob]
|
18836
|
+
#
|
18837
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
18838
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
18839
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
18840
|
+
def create_project_location_tuning_job(parent, google_cloud_aiplatform_v1_tuning_job_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
18841
|
+
command = make_simple_command(:post, 'v1/{+parent}/tuningJobs', options)
|
18842
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TuningJob::Representation
|
18843
|
+
command.request_object = google_cloud_aiplatform_v1_tuning_job_object
|
18844
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TuningJob::Representation
|
18845
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TuningJob
|
18846
|
+
command.params['parent'] = parent unless parent.nil?
|
18847
|
+
command.query['fields'] = fields unless fields.nil?
|
18848
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
18849
|
+
execute_or_queue_command(command, &block)
|
18850
|
+
end
|
18851
|
+
|
18852
|
+
# Gets a TuningJob.
|
18853
|
+
# @param [String] name
|
18854
|
+
# Required. The name of the TuningJob resource. Format: `projects/`project`/
|
18855
|
+
# locations/`location`/tuningJobs/`tuning_job``
|
18856
|
+
# @param [String] fields
|
18857
|
+
# Selector specifying which fields to include in a partial response.
|
18858
|
+
# @param [String] quota_user
|
18859
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
18860
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
18861
|
+
# @param [Google::Apis::RequestOptions] options
|
18862
|
+
# Request-specific options
|
18863
|
+
#
|
18864
|
+
# @yield [result, err] Result & error if block supplied
|
18865
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TuningJob] parsed result object
|
18866
|
+
# @yieldparam err [StandardError] error object if request failed
|
18867
|
+
#
|
18868
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TuningJob]
|
18869
|
+
#
|
18870
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
18871
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
18872
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
18873
|
+
def get_project_location_tuning_job(name, fields: nil, quota_user: nil, options: nil, &block)
|
18874
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
18875
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TuningJob::Representation
|
18876
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TuningJob
|
18877
|
+
command.params['name'] = name unless name.nil?
|
18878
|
+
command.query['fields'] = fields unless fields.nil?
|
18879
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
18880
|
+
execute_or_queue_command(command, &block)
|
18881
|
+
end
|
18882
|
+
|
18883
|
+
# Lists TuningJobs in a Location.
|
18884
|
+
# @param [String] parent
|
18885
|
+
# Required. The resource name of the Location to list the TuningJobs from.
|
18886
|
+
# Format: `projects/`project`/locations/`location``
|
18887
|
+
# @param [String] filter
|
18888
|
+
# Optional. The standard list filter.
|
18889
|
+
# @param [Fixnum] page_size
|
18890
|
+
# Optional. The standard list page size.
|
18891
|
+
# @param [String] page_token
|
18892
|
+
# Optional. The standard list page token. Typically obtained via ListTuningJob.
|
18893
|
+
# next_page_token of the previous GenAiTuningService.ListTuningJob][] call.
|
18894
|
+
# @param [String] fields
|
18895
|
+
# Selector specifying which fields to include in a partial response.
|
18896
|
+
# @param [String] quota_user
|
18897
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
18898
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
18899
|
+
# @param [Google::Apis::RequestOptions] options
|
18900
|
+
# Request-specific options
|
18901
|
+
#
|
18902
|
+
# @yield [result, err] Result & error if block supplied
|
18903
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListTuningJobsResponse] parsed result object
|
18904
|
+
# @yieldparam err [StandardError] error object if request failed
|
18905
|
+
#
|
18906
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListTuningJobsResponse]
|
18907
|
+
#
|
18908
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
18909
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
18910
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
18911
|
+
def list_project_location_tuning_jobs(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
18912
|
+
command = make_simple_command(:get, 'v1/{+parent}/tuningJobs', options)
|
18913
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListTuningJobsResponse::Representation
|
18914
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListTuningJobsResponse
|
18915
|
+
command.params['parent'] = parent unless parent.nil?
|
18916
|
+
command.query['filter'] = filter unless filter.nil?
|
18917
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
18918
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
18919
|
+
command.query['fields'] = fields unless fields.nil?
|
18920
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
18921
|
+
execute_or_queue_command(command, &block)
|
18922
|
+
end
|
18923
|
+
|
18776
18924
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
18777
18925
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
18778
18926
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-aiplatform_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-04-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.20.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|