google-apis-aiplatform_v1 0.71.0 → 0.73.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.
|
@@ -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.73.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20251114"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -1006,6 +1006,12 @@ module Google
|
|
|
1006
1006
|
include Google::Apis::Core::JsonObjectSupport
|
|
1007
1007
|
end
|
|
1008
1008
|
|
|
1009
|
+
class GoogleCloudAiplatformV1CustomCodeExecutionSpec
|
|
1010
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1011
|
+
|
|
1012
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1013
|
+
end
|
|
1014
|
+
|
|
1009
1015
|
class GoogleCloudAiplatformV1CustomJob
|
|
1010
1016
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1011
1017
|
|
|
@@ -1054,6 +1060,18 @@ module Google
|
|
|
1054
1060
|
include Google::Apis::Core::JsonObjectSupport
|
|
1055
1061
|
end
|
|
1056
1062
|
|
|
1063
|
+
class GoogleCloudAiplatformV1DatasetDistribution
|
|
1064
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1065
|
+
|
|
1066
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1067
|
+
end
|
|
1068
|
+
|
|
1069
|
+
class GoogleCloudAiplatformV1DatasetDistributionDistributionBucket
|
|
1070
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1071
|
+
|
|
1072
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1073
|
+
end
|
|
1074
|
+
|
|
1057
1075
|
class GoogleCloudAiplatformV1DatasetVersion
|
|
1058
1076
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1059
1077
|
|
|
@@ -2344,6 +2362,18 @@ module Google
|
|
|
2344
2362
|
include Google::Apis::Core::JsonObjectSupport
|
|
2345
2363
|
end
|
|
2346
2364
|
|
|
2365
|
+
class GoogleCloudAiplatformV1GeminiPreferenceExample
|
|
2366
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2367
|
+
|
|
2368
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2369
|
+
end
|
|
2370
|
+
|
|
2371
|
+
class GoogleCloudAiplatformV1GeminiPreferenceExampleCompletion
|
|
2372
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2373
|
+
|
|
2374
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2375
|
+
end
|
|
2376
|
+
|
|
2347
2377
|
class GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfig
|
|
2348
2378
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2349
2379
|
|
|
@@ -4048,6 +4078,24 @@ module Google
|
|
|
4048
4078
|
include Google::Apis::Core::JsonObjectSupport
|
|
4049
4079
|
end
|
|
4050
4080
|
|
|
4081
|
+
class GoogleCloudAiplatformV1PreferenceOptimizationDataStats
|
|
4082
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4083
|
+
|
|
4084
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
4085
|
+
end
|
|
4086
|
+
|
|
4087
|
+
class GoogleCloudAiplatformV1PreferenceOptimizationHyperParameters
|
|
4088
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4089
|
+
|
|
4090
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
4091
|
+
end
|
|
4092
|
+
|
|
4093
|
+
class GoogleCloudAiplatformV1PreferenceOptimizationSpec
|
|
4094
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4095
|
+
|
|
4096
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
4097
|
+
end
|
|
4098
|
+
|
|
4051
4099
|
class GoogleCloudAiplatformV1Presets
|
|
4052
4100
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4053
4101
|
|
|
@@ -5446,6 +5494,18 @@ module Google
|
|
|
5446
5494
|
include Google::Apis::Core::JsonObjectSupport
|
|
5447
5495
|
end
|
|
5448
5496
|
|
|
5497
|
+
class GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderData
|
|
5498
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
5499
|
+
|
|
5500
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
5501
|
+
end
|
|
5502
|
+
|
|
5503
|
+
class GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderDataLinkedResource
|
|
5504
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
5505
|
+
|
|
5506
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
5507
|
+
end
|
|
5508
|
+
|
|
5449
5509
|
class GoogleCloudAiplatformV1SchemaPromptSpecMultimodalPrompt
|
|
5450
5510
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
5451
5511
|
|
|
@@ -9057,6 +9117,13 @@ module Google
|
|
|
9057
9117
|
end
|
|
9058
9118
|
end
|
|
9059
9119
|
|
|
9120
|
+
class GoogleCloudAiplatformV1CustomCodeExecutionSpec
|
|
9121
|
+
# @private
|
|
9122
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9123
|
+
property :evaluation_function, as: 'evaluationFunction'
|
|
9124
|
+
end
|
|
9125
|
+
end
|
|
9126
|
+
|
|
9060
9127
|
class GoogleCloudAiplatformV1CustomJob
|
|
9061
9128
|
# @private
|
|
9062
9129
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -9197,6 +9264,30 @@ module Google
|
|
|
9197
9264
|
end
|
|
9198
9265
|
end
|
|
9199
9266
|
|
|
9267
|
+
class GoogleCloudAiplatformV1DatasetDistribution
|
|
9268
|
+
# @private
|
|
9269
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9270
|
+
collection :buckets, as: 'buckets', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistributionDistributionBucket, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistributionDistributionBucket::Representation
|
|
9271
|
+
|
|
9272
|
+
property :max, as: 'max'
|
|
9273
|
+
property :mean, as: 'mean'
|
|
9274
|
+
property :median, as: 'median'
|
|
9275
|
+
property :min, as: 'min'
|
|
9276
|
+
property :p5, as: 'p5'
|
|
9277
|
+
property :p95, as: 'p95'
|
|
9278
|
+
property :sum, as: 'sum'
|
|
9279
|
+
end
|
|
9280
|
+
end
|
|
9281
|
+
|
|
9282
|
+
class GoogleCloudAiplatformV1DatasetDistributionDistributionBucket
|
|
9283
|
+
# @private
|
|
9284
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9285
|
+
property :count, :numeric_string => true, as: 'count'
|
|
9286
|
+
property :left, as: 'left'
|
|
9287
|
+
property :right, as: 'right'
|
|
9288
|
+
end
|
|
9289
|
+
end
|
|
9290
|
+
|
|
9200
9291
|
class GoogleCloudAiplatformV1DatasetVersion
|
|
9201
9292
|
# @private
|
|
9202
9293
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -10003,7 +10094,6 @@ module Google
|
|
|
10003
10094
|
|
|
10004
10095
|
property :events, as: 'events', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentDataEvents, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentDataEvents::Representation
|
|
10005
10096
|
|
|
10006
|
-
property :events_text, as: 'eventsText'
|
|
10007
10097
|
property :tools, as: 'tools', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentDataTools, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentDataTools::Representation
|
|
10008
10098
|
|
|
10009
10099
|
property :tools_text, as: 'toolsText'
|
|
@@ -11575,6 +11665,25 @@ module Google
|
|
|
11575
11665
|
end
|
|
11576
11666
|
end
|
|
11577
11667
|
|
|
11668
|
+
class GoogleCloudAiplatformV1GeminiPreferenceExample
|
|
11669
|
+
# @private
|
|
11670
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
11671
|
+
collection :completions, as: 'completions', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GeminiPreferenceExampleCompletion, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GeminiPreferenceExampleCompletion::Representation
|
|
11672
|
+
|
|
11673
|
+
collection :contents, as: 'contents', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content::Representation
|
|
11674
|
+
|
|
11675
|
+
end
|
|
11676
|
+
end
|
|
11677
|
+
|
|
11678
|
+
class GoogleCloudAiplatformV1GeminiPreferenceExampleCompletion
|
|
11679
|
+
# @private
|
|
11680
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
11681
|
+
property :completion, as: 'completion', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content::Representation
|
|
11682
|
+
|
|
11683
|
+
property :score, as: 'score'
|
|
11684
|
+
end
|
|
11685
|
+
end
|
|
11686
|
+
|
|
11578
11687
|
class GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfig
|
|
11579
11688
|
# @private
|
|
11580
11689
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -13037,6 +13146,8 @@ module Google
|
|
|
13037
13146
|
collection :aggregation_metrics, as: 'aggregationMetrics'
|
|
13038
13147
|
property :bleu_spec, as: 'bleuSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BleuSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BleuSpec::Representation
|
|
13039
13148
|
|
|
13149
|
+
property :custom_code_execution_spec, as: 'customCodeExecutionSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CustomCodeExecutionSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CustomCodeExecutionSpec::Representation
|
|
13150
|
+
|
|
13040
13151
|
property :exact_match_spec, as: 'exactMatchSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExactMatchSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExactMatchSpec::Representation
|
|
13041
13152
|
|
|
13042
13153
|
property :llm_based_metric_spec, as: 'llmBasedMetricSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LlmBasedMetricSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LlmBasedMetricSpec::Representation
|
|
@@ -14656,6 +14767,48 @@ module Google
|
|
|
14656
14767
|
end
|
|
14657
14768
|
end
|
|
14658
14769
|
|
|
14770
|
+
class GoogleCloudAiplatformV1PreferenceOptimizationDataStats
|
|
14771
|
+
# @private
|
|
14772
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
14773
|
+
collection :dropped_example_indices, as: 'droppedExampleIndices'
|
|
14774
|
+
collection :dropped_example_reasons, as: 'droppedExampleReasons'
|
|
14775
|
+
property :score_variance_per_example_distribution, as: 'scoreVariancePerExampleDistribution', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistribution, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistribution::Representation
|
|
14776
|
+
|
|
14777
|
+
property :scores_distribution, as: 'scoresDistribution', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistribution, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistribution::Representation
|
|
14778
|
+
|
|
14779
|
+
property :total_billable_token_count, :numeric_string => true, as: 'totalBillableTokenCount'
|
|
14780
|
+
property :tuning_dataset_example_count, :numeric_string => true, as: 'tuningDatasetExampleCount'
|
|
14781
|
+
property :tuning_step_count, :numeric_string => true, as: 'tuningStepCount'
|
|
14782
|
+
collection :user_dataset_examples, as: 'userDatasetExamples', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GeminiPreferenceExample, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GeminiPreferenceExample::Representation
|
|
14783
|
+
|
|
14784
|
+
property :user_input_token_distribution, as: 'userInputTokenDistribution', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistribution, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistribution::Representation
|
|
14785
|
+
|
|
14786
|
+
property :user_output_token_distribution, as: 'userOutputTokenDistribution', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistribution, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistribution::Representation
|
|
14787
|
+
|
|
14788
|
+
end
|
|
14789
|
+
end
|
|
14790
|
+
|
|
14791
|
+
class GoogleCloudAiplatformV1PreferenceOptimizationHyperParameters
|
|
14792
|
+
# @private
|
|
14793
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
14794
|
+
property :adapter_size, as: 'adapterSize'
|
|
14795
|
+
property :beta, as: 'beta'
|
|
14796
|
+
property :epoch_count, :numeric_string => true, as: 'epochCount'
|
|
14797
|
+
property :learning_rate_multiplier, as: 'learningRateMultiplier'
|
|
14798
|
+
end
|
|
14799
|
+
end
|
|
14800
|
+
|
|
14801
|
+
class GoogleCloudAiplatformV1PreferenceOptimizationSpec
|
|
14802
|
+
# @private
|
|
14803
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
14804
|
+
property :export_last_checkpoint_only, as: 'exportLastCheckpointOnly'
|
|
14805
|
+
property :hyper_parameters, as: 'hyperParameters', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PreferenceOptimizationHyperParameters, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PreferenceOptimizationHyperParameters::Representation
|
|
14806
|
+
|
|
14807
|
+
property :training_dataset_uri, as: 'trainingDatasetUri'
|
|
14808
|
+
property :validation_dataset_uri, as: 'validationDatasetUri'
|
|
14809
|
+
end
|
|
14810
|
+
end
|
|
14811
|
+
|
|
14659
14812
|
class GoogleCloudAiplatformV1Presets
|
|
14660
14813
|
# @private
|
|
14661
14814
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -15226,6 +15379,8 @@ module Google
|
|
|
15226
15379
|
property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec::Representation
|
|
15227
15380
|
|
|
15228
15381
|
property :name, as: 'name'
|
|
15382
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
|
15383
|
+
property :satisfies_pzs, as: 'satisfiesPzs'
|
|
15229
15384
|
property :update_time, as: 'updateTime'
|
|
15230
15385
|
property :vector_db_config, as: 'vectorDbConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfig::Representation
|
|
15231
15386
|
|
|
@@ -16957,6 +17112,24 @@ module Google
|
|
|
16957
17112
|
end
|
|
16958
17113
|
end
|
|
16959
17114
|
|
|
17115
|
+
class GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderData
|
|
17116
|
+
# @private
|
|
17117
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
17118
|
+
property :code_repository_state, as: 'codeRepositoryState'
|
|
17119
|
+
collection :linked_resources, as: 'linkedResources', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderDataLinkedResource, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderDataLinkedResource::Representation
|
|
17120
|
+
|
|
17121
|
+
end
|
|
17122
|
+
end
|
|
17123
|
+
|
|
17124
|
+
class GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderDataLinkedResource
|
|
17125
|
+
# @private
|
|
17126
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
17127
|
+
property :display_name, as: 'displayName'
|
|
17128
|
+
property :name, as: 'name'
|
|
17129
|
+
property :type, as: 'type'
|
|
17130
|
+
end
|
|
17131
|
+
end
|
|
17132
|
+
|
|
16960
17133
|
class GoogleCloudAiplatformV1SchemaPromptSpecMultimodalPrompt
|
|
16961
17134
|
# @private
|
|
16962
17135
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -17011,6 +17184,8 @@ module Google
|
|
|
17011
17184
|
class GoogleCloudAiplatformV1SchemaPromptSpecStructuredPrompt
|
|
17012
17185
|
# @private
|
|
17013
17186
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
17187
|
+
property :app_builder_data, as: 'appBuilderData', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderData, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPromptSpecAppBuilderData::Representation
|
|
17188
|
+
|
|
17014
17189
|
property :context, as: 'context', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content::Representation
|
|
17015
17190
|
|
|
17016
17191
|
collection :examples, as: 'examples', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPromptSpecPartList, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPromptSpecPartList::Representation
|
|
@@ -19580,6 +19755,8 @@ module Google
|
|
|
19580
19755
|
class GoogleCloudAiplatformV1TuningDataStats
|
|
19581
19756
|
# @private
|
|
19582
19757
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
19758
|
+
property :preference_optimization_data_stats, as: 'preferenceOptimizationDataStats', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PreferenceOptimizationDataStats, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PreferenceOptimizationDataStats::Representation
|
|
19759
|
+
|
|
19583
19760
|
property :supervised_tuning_data_stats, as: 'supervisedTuningDataStats', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedTuningDataStats, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedTuningDataStats::Representation
|
|
19584
19761
|
|
|
19585
19762
|
end
|
|
@@ -19601,6 +19778,8 @@ module Google
|
|
|
19601
19778
|
property :name, as: 'name'
|
|
19602
19779
|
property :pre_tuned_model, as: 'preTunedModel', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PreTunedModel, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PreTunedModel::Representation
|
|
19603
19780
|
|
|
19781
|
+
property :preference_optimization_spec, as: 'preferenceOptimizationSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PreferenceOptimizationSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PreferenceOptimizationSpec::Representation
|
|
19782
|
+
|
|
19604
19783
|
property :service_account, as: 'serviceAccount'
|
|
19605
19784
|
property :start_time, as: 'startTime'
|
|
19606
19785
|
property :state, as: 'state'
|
|
@@ -7433,8 +7433,8 @@ module Google
|
|
|
7433
7433
|
# @param [String] name
|
|
7434
7434
|
# The resource that owns the locations collection, if applicable.
|
|
7435
7435
|
# @param [Array<String>, String] extra_location_types
|
|
7436
|
-
# Optional.
|
|
7437
|
-
#
|
|
7436
|
+
# Optional. Do not use this field. It is unsupported and is ignored unless
|
|
7437
|
+
# explicitly documented otherwise. This is primarily for internal usage.
|
|
7438
7438
|
# @param [String] filter
|
|
7439
7439
|
# A filter to narrow down results to a preferred subset. The filtering language
|
|
7440
7440
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
|
@@ -8802,6 +8802,51 @@ module Google
|
|
|
8802
8802
|
execute_or_queue_command(command, &block)
|
|
8803
8803
|
end
|
|
8804
8804
|
|
|
8805
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
|
8806
|
+
# resource exists and does not have a policy set.
|
|
8807
|
+
# @param [String] resource
|
|
8808
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
|
8809
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
|
8810
|
+
# appropriate value for this field.
|
|
8811
|
+
# @param [Fixnum] options_requested_policy_version
|
|
8812
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
|
8813
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
|
8814
|
+
# rejected. Requests for policies with any conditional role bindings must
|
|
8815
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
|
8816
|
+
# valid value or leave the field unset. The policy in the response might use the
|
|
8817
|
+
# policy version that you specified, or it might use a lower policy version. For
|
|
8818
|
+
# example, if you specify version 3, but the policy has no conditional role
|
|
8819
|
+
# bindings, the response uses version 1. To learn which resources support
|
|
8820
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
|
8821
|
+
# google.com/iam/help/conditions/resource-policies).
|
|
8822
|
+
# @param [String] fields
|
|
8823
|
+
# Selector specifying which fields to include in a partial response.
|
|
8824
|
+
# @param [String] quota_user
|
|
8825
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
8826
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
8827
|
+
# @param [Google::Apis::RequestOptions] options
|
|
8828
|
+
# Request-specific options
|
|
8829
|
+
#
|
|
8830
|
+
# @yield [result, err] Result & error if block supplied
|
|
8831
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleIamV1Policy] parsed result object
|
|
8832
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
8833
|
+
#
|
|
8834
|
+
# @return [Google::Apis::AiplatformV1::GoogleIamV1Policy]
|
|
8835
|
+
#
|
|
8836
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
8837
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8838
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8839
|
+
def get_project_location_dataset_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
8840
|
+
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
|
|
8841
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleIamV1Policy::Representation
|
|
8842
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleIamV1Policy
|
|
8843
|
+
command.params['resource'] = resource unless resource.nil?
|
|
8844
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
|
8845
|
+
command.query['fields'] = fields unless fields.nil?
|
|
8846
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
8847
|
+
execute_or_queue_command(command, &block)
|
|
8848
|
+
end
|
|
8849
|
+
|
|
8805
8850
|
# Imports data into a Dataset.
|
|
8806
8851
|
# @param [String] name
|
|
8807
8852
|
# Required. The name of the Dataset resource. Format: `projects/`project`/
|
|
@@ -9021,6 +9066,84 @@ module Google
|
|
|
9021
9066
|
execute_or_queue_command(command, &block)
|
|
9022
9067
|
end
|
|
9023
9068
|
|
|
9069
|
+
# Sets the access control policy on the specified resource. Replaces any
|
|
9070
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
|
9071
|
+
# PERMISSION_DENIED` errors.
|
|
9072
|
+
# @param [String] resource
|
|
9073
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
|
9074
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
|
9075
|
+
# appropriate value for this field.
|
|
9076
|
+
# @param [Google::Apis::AiplatformV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
|
9077
|
+
# @param [String] fields
|
|
9078
|
+
# Selector specifying which fields to include in a partial response.
|
|
9079
|
+
# @param [String] quota_user
|
|
9080
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
9081
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
9082
|
+
# @param [Google::Apis::RequestOptions] options
|
|
9083
|
+
# Request-specific options
|
|
9084
|
+
#
|
|
9085
|
+
# @yield [result, err] Result & error if block supplied
|
|
9086
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleIamV1Policy] parsed result object
|
|
9087
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
9088
|
+
#
|
|
9089
|
+
# @return [Google::Apis::AiplatformV1::GoogleIamV1Policy]
|
|
9090
|
+
#
|
|
9091
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
9092
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9093
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9094
|
+
def set_project_location_dataset_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
9095
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
|
9096
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleIamV1SetIamPolicyRequest::Representation
|
|
9097
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
|
9098
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleIamV1Policy::Representation
|
|
9099
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleIamV1Policy
|
|
9100
|
+
command.params['resource'] = resource unless resource.nil?
|
|
9101
|
+
command.query['fields'] = fields unless fields.nil?
|
|
9102
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
9103
|
+
execute_or_queue_command(command, &block)
|
|
9104
|
+
end
|
|
9105
|
+
|
|
9106
|
+
# Returns permissions that a caller has on the specified resource. If the
|
|
9107
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
|
9108
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
|
9109
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
|
9110
|
+
# This operation may "fail open" without warning.
|
|
9111
|
+
# @param [String] resource
|
|
9112
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
|
9113
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
|
9114
|
+
# appropriate value for this field.
|
|
9115
|
+
# @param [Array<String>, String] permissions
|
|
9116
|
+
# The set of permissions to check for the `resource`. Permissions with wildcards
|
|
9117
|
+
# (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
|
9118
|
+
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
|
9119
|
+
# @param [String] fields
|
|
9120
|
+
# Selector specifying which fields to include in a partial response.
|
|
9121
|
+
# @param [String] quota_user
|
|
9122
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
9123
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
9124
|
+
# @param [Google::Apis::RequestOptions] options
|
|
9125
|
+
# Request-specific options
|
|
9126
|
+
#
|
|
9127
|
+
# @yield [result, err] Result & error if block supplied
|
|
9128
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
|
9129
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
9130
|
+
#
|
|
9131
|
+
# @return [Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse]
|
|
9132
|
+
#
|
|
9133
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
9134
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
9135
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
9136
|
+
def test_project_location_dataset_iam_permissions(resource, permissions: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
9137
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
|
9138
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse::Representation
|
|
9139
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleIamV1TestIamPermissionsResponse
|
|
9140
|
+
command.params['resource'] = resource unless resource.nil?
|
|
9141
|
+
command.query['permissions'] = permissions unless permissions.nil?
|
|
9142
|
+
command.query['fields'] = fields unless fields.nil?
|
|
9143
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
9144
|
+
execute_or_queue_command(command, &block)
|
|
9145
|
+
end
|
|
9146
|
+
|
|
9024
9147
|
# Gets an AnnotationSpec.
|
|
9025
9148
|
# @param [String] name
|
|
9026
9149
|
# Required. The name of the AnnotationSpec resource. Format: `projects/`project`/
|
|
@@ -11690,6 +11813,45 @@ module Google
|
|
|
11690
11813
|
execute_or_queue_command(command, &block)
|
|
11691
11814
|
end
|
|
11692
11815
|
|
|
11816
|
+
# Forwards arbitrary HTTP requests for both streaming and non-streaming cases.
|
|
11817
|
+
# To use this method, invoke_route_prefix must be set to allow the paths that
|
|
11818
|
+
# will be specified in the request.
|
|
11819
|
+
# @param [String] endpoint
|
|
11820
|
+
# Required. The name of the Endpoint requested to serve the prediction. Format: `
|
|
11821
|
+
# projects/`project`/locations/`location`/endpoints/`endpoint``
|
|
11822
|
+
# @param [Google::Apis::AiplatformV1::GoogleApiHttpBody] google_api_http_body_object
|
|
11823
|
+
# @param [String] deployed_model_id
|
|
11824
|
+
# ID of the DeployedModel that serves the invoke request.
|
|
11825
|
+
# @param [String] fields
|
|
11826
|
+
# Selector specifying which fields to include in a partial response.
|
|
11827
|
+
# @param [String] quota_user
|
|
11828
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
11829
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
11830
|
+
# @param [Google::Apis::RequestOptions] options
|
|
11831
|
+
# Request-specific options
|
|
11832
|
+
#
|
|
11833
|
+
# @yield [result, err] Result & error if block supplied
|
|
11834
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleApiHttpBody] parsed result object
|
|
11835
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
11836
|
+
#
|
|
11837
|
+
# @return [Google::Apis::AiplatformV1::GoogleApiHttpBody]
|
|
11838
|
+
#
|
|
11839
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
11840
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
11841
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
11842
|
+
def inference_project_location_endpoint_google_science(endpoint, google_api_http_body_object = nil, deployed_model_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
11843
|
+
command = make_simple_command(:post, 'v1/{+endpoint}/science/inference', options)
|
|
11844
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleApiHttpBody::Representation
|
|
11845
|
+
command.request_object = google_api_http_body_object
|
|
11846
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleApiHttpBody::Representation
|
|
11847
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleApiHttpBody
|
|
11848
|
+
command.params['endpoint'] = endpoint unless endpoint.nil?
|
|
11849
|
+
command.query['deployedModelId'] = deployed_model_id unless deployed_model_id.nil?
|
|
11850
|
+
command.query['fields'] = fields unless fields.nil?
|
|
11851
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
11852
|
+
execute_or_queue_command(command, &block)
|
|
11853
|
+
end
|
|
11854
|
+
|
|
11693
11855
|
# Forwards arbitrary HTTP requests for both streaming and non-streaming cases.
|
|
11694
11856
|
# To use this method, invoke_route_prefix must be set to allow the paths that
|
|
11695
11857
|
# will be specified in the request.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.73.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.73.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|