google-apis-aiplatform_v1 0.71.0 → 0.72.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.72.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 = "20251101"
|
|
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
|
|
|
@@ -9057,6 +9105,13 @@ module Google
|
|
|
9057
9105
|
end
|
|
9058
9106
|
end
|
|
9059
9107
|
|
|
9108
|
+
class GoogleCloudAiplatformV1CustomCodeExecutionSpec
|
|
9109
|
+
# @private
|
|
9110
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9111
|
+
property :evaluation_function, as: 'evaluationFunction'
|
|
9112
|
+
end
|
|
9113
|
+
end
|
|
9114
|
+
|
|
9060
9115
|
class GoogleCloudAiplatformV1CustomJob
|
|
9061
9116
|
# @private
|
|
9062
9117
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -9197,6 +9252,30 @@ module Google
|
|
|
9197
9252
|
end
|
|
9198
9253
|
end
|
|
9199
9254
|
|
|
9255
|
+
class GoogleCloudAiplatformV1DatasetDistribution
|
|
9256
|
+
# @private
|
|
9257
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9258
|
+
collection :buckets, as: 'buckets', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistributionDistributionBucket, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistributionDistributionBucket::Representation
|
|
9259
|
+
|
|
9260
|
+
property :max, as: 'max'
|
|
9261
|
+
property :mean, as: 'mean'
|
|
9262
|
+
property :median, as: 'median'
|
|
9263
|
+
property :min, as: 'min'
|
|
9264
|
+
property :p5, as: 'p5'
|
|
9265
|
+
property :p95, as: 'p95'
|
|
9266
|
+
property :sum, as: 'sum'
|
|
9267
|
+
end
|
|
9268
|
+
end
|
|
9269
|
+
|
|
9270
|
+
class GoogleCloudAiplatformV1DatasetDistributionDistributionBucket
|
|
9271
|
+
# @private
|
|
9272
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9273
|
+
property :count, :numeric_string => true, as: 'count'
|
|
9274
|
+
property :left, as: 'left'
|
|
9275
|
+
property :right, as: 'right'
|
|
9276
|
+
end
|
|
9277
|
+
end
|
|
9278
|
+
|
|
9200
9279
|
class GoogleCloudAiplatformV1DatasetVersion
|
|
9201
9280
|
# @private
|
|
9202
9281
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -10003,7 +10082,6 @@ module Google
|
|
|
10003
10082
|
|
|
10004
10083
|
property :events, as: 'events', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentDataEvents, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentDataEvents::Representation
|
|
10005
10084
|
|
|
10006
|
-
property :events_text, as: 'eventsText'
|
|
10007
10085
|
property :tools, as: 'tools', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentDataTools, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceAgentDataTools::Representation
|
|
10008
10086
|
|
|
10009
10087
|
property :tools_text, as: 'toolsText'
|
|
@@ -11575,6 +11653,25 @@ module Google
|
|
|
11575
11653
|
end
|
|
11576
11654
|
end
|
|
11577
11655
|
|
|
11656
|
+
class GoogleCloudAiplatformV1GeminiPreferenceExample
|
|
11657
|
+
# @private
|
|
11658
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
11659
|
+
collection :completions, as: 'completions', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GeminiPreferenceExampleCompletion, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GeminiPreferenceExampleCompletion::Representation
|
|
11660
|
+
|
|
11661
|
+
collection :contents, as: 'contents', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content::Representation
|
|
11662
|
+
|
|
11663
|
+
end
|
|
11664
|
+
end
|
|
11665
|
+
|
|
11666
|
+
class GoogleCloudAiplatformV1GeminiPreferenceExampleCompletion
|
|
11667
|
+
# @private
|
|
11668
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
11669
|
+
property :completion, as: 'completion', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content::Representation
|
|
11670
|
+
|
|
11671
|
+
property :score, as: 'score'
|
|
11672
|
+
end
|
|
11673
|
+
end
|
|
11674
|
+
|
|
11578
11675
|
class GoogleCloudAiplatformV1GenAiAdvancedFeaturesConfig
|
|
11579
11676
|
# @private
|
|
11580
11677
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -13037,6 +13134,8 @@ module Google
|
|
|
13037
13134
|
collection :aggregation_metrics, as: 'aggregationMetrics'
|
|
13038
13135
|
property :bleu_spec, as: 'bleuSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BleuSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BleuSpec::Representation
|
|
13039
13136
|
|
|
13137
|
+
property :custom_code_execution_spec, as: 'customCodeExecutionSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CustomCodeExecutionSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CustomCodeExecutionSpec::Representation
|
|
13138
|
+
|
|
13040
13139
|
property :exact_match_spec, as: 'exactMatchSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExactMatchSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExactMatchSpec::Representation
|
|
13041
13140
|
|
|
13042
13141
|
property :llm_based_metric_spec, as: 'llmBasedMetricSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LlmBasedMetricSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LlmBasedMetricSpec::Representation
|
|
@@ -14656,6 +14755,48 @@ module Google
|
|
|
14656
14755
|
end
|
|
14657
14756
|
end
|
|
14658
14757
|
|
|
14758
|
+
class GoogleCloudAiplatformV1PreferenceOptimizationDataStats
|
|
14759
|
+
# @private
|
|
14760
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
14761
|
+
collection :dropped_example_indices, as: 'droppedExampleIndices'
|
|
14762
|
+
collection :dropped_example_reasons, as: 'droppedExampleReasons'
|
|
14763
|
+
property :score_variance_per_example_distribution, as: 'scoreVariancePerExampleDistribution', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistribution, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistribution::Representation
|
|
14764
|
+
|
|
14765
|
+
property :scores_distribution, as: 'scoresDistribution', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistribution, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistribution::Representation
|
|
14766
|
+
|
|
14767
|
+
property :total_billable_token_count, :numeric_string => true, as: 'totalBillableTokenCount'
|
|
14768
|
+
property :tuning_dataset_example_count, :numeric_string => true, as: 'tuningDatasetExampleCount'
|
|
14769
|
+
property :tuning_step_count, :numeric_string => true, as: 'tuningStepCount'
|
|
14770
|
+
collection :user_dataset_examples, as: 'userDatasetExamples', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GeminiPreferenceExample, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GeminiPreferenceExample::Representation
|
|
14771
|
+
|
|
14772
|
+
property :user_input_token_distribution, as: 'userInputTokenDistribution', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistribution, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistribution::Representation
|
|
14773
|
+
|
|
14774
|
+
property :user_output_token_distribution, as: 'userOutputTokenDistribution', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistribution, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1DatasetDistribution::Representation
|
|
14775
|
+
|
|
14776
|
+
end
|
|
14777
|
+
end
|
|
14778
|
+
|
|
14779
|
+
class GoogleCloudAiplatformV1PreferenceOptimizationHyperParameters
|
|
14780
|
+
# @private
|
|
14781
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
14782
|
+
property :adapter_size, as: 'adapterSize'
|
|
14783
|
+
property :beta, as: 'beta'
|
|
14784
|
+
property :epoch_count, :numeric_string => true, as: 'epochCount'
|
|
14785
|
+
property :learning_rate_multiplier, as: 'learningRateMultiplier'
|
|
14786
|
+
end
|
|
14787
|
+
end
|
|
14788
|
+
|
|
14789
|
+
class GoogleCloudAiplatformV1PreferenceOptimizationSpec
|
|
14790
|
+
# @private
|
|
14791
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
14792
|
+
property :export_last_checkpoint_only, as: 'exportLastCheckpointOnly'
|
|
14793
|
+
property :hyper_parameters, as: 'hyperParameters', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PreferenceOptimizationHyperParameters, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PreferenceOptimizationHyperParameters::Representation
|
|
14794
|
+
|
|
14795
|
+
property :training_dataset_uri, as: 'trainingDatasetUri'
|
|
14796
|
+
property :validation_dataset_uri, as: 'validationDatasetUri'
|
|
14797
|
+
end
|
|
14798
|
+
end
|
|
14799
|
+
|
|
14659
14800
|
class GoogleCloudAiplatformV1Presets
|
|
14660
14801
|
# @private
|
|
14661
14802
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -15226,6 +15367,8 @@ module Google
|
|
|
15226
15367
|
property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec::Representation
|
|
15227
15368
|
|
|
15228
15369
|
property :name, as: 'name'
|
|
15370
|
+
property :satisfies_pzi, as: 'satisfiesPzi'
|
|
15371
|
+
property :satisfies_pzs, as: 'satisfiesPzs'
|
|
15229
15372
|
property :update_time, as: 'updateTime'
|
|
15230
15373
|
property :vector_db_config, as: 'vectorDbConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfig::Representation
|
|
15231
15374
|
|
|
@@ -19580,6 +19723,8 @@ module Google
|
|
|
19580
19723
|
class GoogleCloudAiplatformV1TuningDataStats
|
|
19581
19724
|
# @private
|
|
19582
19725
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
19726
|
+
property :preference_optimization_data_stats, as: 'preferenceOptimizationDataStats', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PreferenceOptimizationDataStats, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PreferenceOptimizationDataStats::Representation
|
|
19727
|
+
|
|
19583
19728
|
property :supervised_tuning_data_stats, as: 'supervisedTuningDataStats', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedTuningDataStats, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedTuningDataStats::Representation
|
|
19584
19729
|
|
|
19585
19730
|
end
|
|
@@ -19601,6 +19746,8 @@ module Google
|
|
|
19601
19746
|
property :name, as: 'name'
|
|
19602
19747
|
property :pre_tuned_model, as: 'preTunedModel', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PreTunedModel, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PreTunedModel::Representation
|
|
19603
19748
|
|
|
19749
|
+
property :preference_optimization_spec, as: 'preferenceOptimizationSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PreferenceOptimizationSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PreferenceOptimizationSpec::Representation
|
|
19750
|
+
|
|
19604
19751
|
property :service_account, as: 'serviceAccount'
|
|
19605
19752
|
property :start_time, as: 'startTime'
|
|
19606
19753
|
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`/
|
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.72.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.72.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:
|