google-apis-aiplatform_v1 0.34.0 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1dbb9afb51382b8900f7efb5e3077a474293a98d851f53634bbc9dbd6f096a0
|
4
|
+
data.tar.gz: 99f06015fc124ae878eb59107af4c91b16eaf813d42bdd646fa28808876a3886
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2108e1b9507390cfdb61d2c3db0b24014556fa9c6baf994b76789de9c8076b141dc12556e2d3b5ebfa9859e1532ee090f6e2ce1956b86ce73d043150ba6e1d80
|
7
|
+
data.tar.gz: 0bf7c315fc1336da6c78e2a0b72c2d71b37b974a8741f16a666aea07fdc0772c5bafe008b3ba35c670e465fcc4443eefc7f7d2fd218943e4e19708dc6c581f70
|
data/CHANGELOG.md
CHANGED
@@ -80,7 +80,7 @@ module Google
|
|
80
80
|
# @return [Google::Apis::AiplatformV1::CloudAiLargeModelsVisionImageRaiScores]
|
81
81
|
attr_accessor :image_rai_scores
|
82
82
|
|
83
|
-
#
|
83
|
+
# Next ID: 6
|
84
84
|
# Corresponds to the JSON property `raiInfo`
|
85
85
|
# @return [Google::Apis::AiplatformV1::CloudAiLargeModelsVisionRaiInfo]
|
86
86
|
attr_accessor :rai_info
|
@@ -216,10 +216,15 @@ module Google
|
|
216
216
|
end
|
217
217
|
end
|
218
218
|
|
219
|
-
#
|
219
|
+
# Next ID: 6
|
220
220
|
class CloudAiLargeModelsVisionRaiInfo
|
221
221
|
include Google::Apis::Core::Hashable
|
222
222
|
|
223
|
+
# List of blocked entities from the blocklist if it is detected.
|
224
|
+
# Corresponds to the JSON property `blockedEntities`
|
225
|
+
# @return [Array<String>]
|
226
|
+
attr_accessor :blocked_entities
|
227
|
+
|
223
228
|
# The list of detected labels for different rai categories.
|
224
229
|
# Corresponds to the JSON property `detectedLabels`
|
225
230
|
# @return [Array<Google::Apis::AiplatformV1::CloudAiLargeModelsVisionRaiInfoDetectedLabels>]
|
@@ -249,6 +254,7 @@ module Google
|
|
249
254
|
|
250
255
|
# Update properties of this object
|
251
256
|
def update!(**args)
|
257
|
+
@blocked_entities = args[:blocked_entities] if args.key?(:blocked_entities)
|
252
258
|
@detected_labels = args[:detected_labels] if args.key?(:detected_labels)
|
253
259
|
@model_name = args[:model_name] if args.key?(:model_name)
|
254
260
|
@rai_categories = args[:rai_categories] if args.key?(:rai_categories)
|
@@ -2476,6 +2482,11 @@ module Google
|
|
2476
2482
|
# @return [Fixnum]
|
2477
2483
|
attr_accessor :index
|
2478
2484
|
|
2485
|
+
# Logprobs Result
|
2486
|
+
# Corresponds to the JSON property `logprobsResult`
|
2487
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LogprobsResult]
|
2488
|
+
attr_accessor :logprobs_result
|
2489
|
+
|
2479
2490
|
# Output only. List of ratings for the safety of a response candidate. There is
|
2480
2491
|
# at most one rating per category.
|
2481
2492
|
# Corresponds to the JSON property `safetyRatings`
|
@@ -2495,6 +2506,7 @@ module Google
|
|
2495
2506
|
@finish_reason = args[:finish_reason] if args.key?(:finish_reason)
|
2496
2507
|
@grounding_metadata = args[:grounding_metadata] if args.key?(:grounding_metadata)
|
2497
2508
|
@index = args[:index] if args.key?(:index)
|
2509
|
+
@logprobs_result = args[:logprobs_result] if args.key?(:logprobs_result)
|
2498
2510
|
@safety_ratings = args[:safety_ratings] if args.key?(:safety_ratings)
|
2499
2511
|
end
|
2500
2512
|
end
|
@@ -3150,6 +3162,11 @@ module Google
|
|
3150
3162
|
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content>]
|
3151
3163
|
attr_accessor :contents
|
3152
3164
|
|
3165
|
+
# Generation config.
|
3166
|
+
# Corresponds to the JSON property `generationConfig`
|
3167
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerationConfig]
|
3168
|
+
attr_accessor :generation_config
|
3169
|
+
|
3153
3170
|
# Optional. The instances that are the input to token counting call. Schema is
|
3154
3171
|
# identical to the prediction schema of the underlying model.
|
3155
3172
|
# Corresponds to the JSON property `instances`
|
@@ -3185,6 +3202,7 @@ module Google
|
|
3185
3202
|
# Update properties of this object
|
3186
3203
|
def update!(**args)
|
3187
3204
|
@contents = args[:contents] if args.key?(:contents)
|
3205
|
+
@generation_config = args[:generation_config] if args.key?(:generation_config)
|
3188
3206
|
@instances = args[:instances] if args.key?(:instances)
|
3189
3207
|
@model = args[:model] if args.key?(:model)
|
3190
3208
|
@system_instruction = args[:system_instruction] if args.key?(:system_instruction)
|
@@ -5119,6 +5137,13 @@ module Google
|
|
5119
5137
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1IndexPrivateEndpoints]
|
5120
5138
|
attr_accessor :private_endpoints
|
5121
5139
|
|
5140
|
+
# Optional. If set for PSC deployed index, PSC connection will be automatically
|
5141
|
+
# created after deployment is done and the endpoint information is populated in
|
5142
|
+
# private_endpoints.psc_automated_endpoints.
|
5143
|
+
# Corresponds to the JSON property `pscAutomationConfigs`
|
5144
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PscAutomationConfig>]
|
5145
|
+
attr_accessor :psc_automation_configs
|
5146
|
+
|
5122
5147
|
# Optional. A list of reserved ip ranges under the VPC network that can be used
|
5123
5148
|
# for this DeployedIndex. If set, we will deploy the index within the provided
|
5124
5149
|
# ip ranges. Otherwise, the index might be deployed to any ip ranges under the
|
@@ -5148,6 +5173,7 @@ module Google
|
|
5148
5173
|
@index = args[:index] if args.key?(:index)
|
5149
5174
|
@index_sync_time = args[:index_sync_time] if args.key?(:index_sync_time)
|
5150
5175
|
@private_endpoints = args[:private_endpoints] if args.key?(:private_endpoints)
|
5176
|
+
@psc_automation_configs = args[:psc_automation_configs] if args.key?(:psc_automation_configs)
|
5151
5177
|
@reserved_ip_ranges = args[:reserved_ip_ranges] if args.key?(:reserved_ip_ranges)
|
5152
5178
|
end
|
5153
5179
|
end
|
@@ -8189,11 +8215,11 @@ module Google
|
|
8189
8215
|
# Optional. If set, all feature values will be fetched from a single row per
|
8190
8216
|
# unique entityId including nulls. If not set, will collapse all rows for each
|
8191
8217
|
# unique entityId into a singe row with any non-null values if present, if no
|
8192
|
-
# non-null values are present will sync null. ex: If source has schema (
|
8193
|
-
# entity_id, feature_timestamp, f0, f1) and
|
8194
|
-
# 10, 15) (e1, 2020-02-01T10:00:00.123Z, 20, null) If dense
|
8195
|
-
# null) is synced to online stores. If dense is not set, (e1,
|
8196
|
-
# to online stores.
|
8218
|
+
# non-null values are present will sync null. ex: If source has schema `(
|
8219
|
+
# entity_id, feature_timestamp, f0, f1)` and the following rows: `(e1, 2020-01-
|
8220
|
+
# 01T10:00:00.123Z, 10, 15)` `(e1, 2020-02-01T10:00:00.123Z, 20, null)` If dense
|
8221
|
+
# is set, `(e1, 20, null)` is synced to online stores. If dense is not set, `(e1,
|
8222
|
+
# 20, 15)` is synced to online stores.
|
8197
8223
|
# Corresponds to the JSON property `dense`
|
8198
8224
|
# @return [Boolean]
|
8199
8225
|
attr_accessor :dense
|
@@ -9253,11 +9279,11 @@ module Google
|
|
9253
9279
|
attr_accessor :rag_corpus_id
|
9254
9280
|
|
9255
9281
|
# Required. The BigQuery view/table URI that will be materialized on each manual
|
9256
|
-
# sync trigger. The table/view is expected to have the following columns
|
9257
|
-
# least:
|
9258
|
-
# REQUIRED
|
9259
|
-
# REQUIRED
|
9260
|
-
# REPEATED file_original_uri STRING REQUIRED
|
9282
|
+
# sync trigger. The table/view is expected to have the following columns and
|
9283
|
+
# types at least: - `corpus_id` (STRING, NULLABLE/REQUIRED) - `file_id` (STRING,
|
9284
|
+
# NULLABLE/REQUIRED) - `chunk_id` (STRING, NULLABLE/REQUIRED) - `chunk_data_type`
|
9285
|
+
# (STRING, NULLABLE/REQUIRED) - `chunk_data` (STRING, NULLABLE/REQUIRED) - `
|
9286
|
+
# embeddings` (FLOAT, REPEATED) - `file_original_uri` (STRING, NULLABLE/REQUIRED)
|
9261
9287
|
# Corresponds to the JSON property `uri`
|
9262
9288
|
# @return [String]
|
9263
9289
|
attr_accessor :uri
|
@@ -10376,6 +10402,15 @@ module Google
|
|
10376
10402
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerationConfig]
|
10377
10403
|
attr_accessor :generation_config
|
10378
10404
|
|
10405
|
+
# Optional. The labels with user-defined metadata for the request. It is used
|
10406
|
+
# for billing and reporting only. Label keys and values can be no longer than 63
|
10407
|
+
# characters (Unicode codepoints) and can only contain lowercase letters,
|
10408
|
+
# numeric characters, underscores, and dashes. International characters are
|
10409
|
+
# allowed. Label values are optional. Label keys must start with a letter.
|
10410
|
+
# Corresponds to the JSON property `labels`
|
10411
|
+
# @return [Hash<String,String>]
|
10412
|
+
attr_accessor :labels
|
10413
|
+
|
10379
10414
|
# Optional. Per request settings for blocking unsafe content. Enforced on
|
10380
10415
|
# GenerateContentResponse.candidates.
|
10381
10416
|
# Corresponds to the JSON property `safetySettings`
|
@@ -10411,6 +10446,7 @@ module Google
|
|
10411
10446
|
def update!(**args)
|
10412
10447
|
@contents = args[:contents] if args.key?(:contents)
|
10413
10448
|
@generation_config = args[:generation_config] if args.key?(:generation_config)
|
10449
|
+
@labels = args[:labels] if args.key?(:labels)
|
10414
10450
|
@safety_settings = args[:safety_settings] if args.key?(:safety_settings)
|
10415
10451
|
@system_instruction = args[:system_instruction] if args.key?(:system_instruction)
|
10416
10452
|
@tool_config = args[:tool_config] if args.key?(:tool_config)
|
@@ -10427,6 +10463,11 @@ module Google
|
|
10427
10463
|
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Candidate>]
|
10428
10464
|
attr_accessor :candidates
|
10429
10465
|
|
10466
|
+
# Output only. The model version used to generate the response.
|
10467
|
+
# Corresponds to the JSON property `modelVersion`
|
10468
|
+
# @return [String]
|
10469
|
+
attr_accessor :model_version
|
10470
|
+
|
10430
10471
|
# Content filter results for a prompt sent in the request.
|
10431
10472
|
# Corresponds to the JSON property `promptFeedback`
|
10432
10473
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback]
|
@@ -10444,6 +10485,7 @@ module Google
|
|
10444
10485
|
# Update properties of this object
|
10445
10486
|
def update!(**args)
|
10446
10487
|
@candidates = args[:candidates] if args.key?(:candidates)
|
10488
|
+
@model_version = args[:model_version] if args.key?(:model_version)
|
10447
10489
|
@prompt_feedback = args[:prompt_feedback] if args.key?(:prompt_feedback)
|
10448
10490
|
@usage_metadata = args[:usage_metadata] if args.key?(:usage_metadata)
|
10449
10491
|
end
|
@@ -10527,6 +10569,11 @@ module Google
|
|
10527
10569
|
# @return [Float]
|
10528
10570
|
attr_accessor :frequency_penalty
|
10529
10571
|
|
10572
|
+
# Optional. Logit probabilities.
|
10573
|
+
# Corresponds to the JSON property `logprobs`
|
10574
|
+
# @return [Fixnum]
|
10575
|
+
attr_accessor :logprobs
|
10576
|
+
|
10530
10577
|
# Optional. The maximum number of output tokens to generate per message.
|
10531
10578
|
# Corresponds to the JSON property `maxOutputTokens`
|
10532
10579
|
# @return [Fixnum]
|
@@ -10537,6 +10584,12 @@ module Google
|
|
10537
10584
|
# @return [Float]
|
10538
10585
|
attr_accessor :presence_penalty
|
10539
10586
|
|
10587
|
+
# Optional. If true, export the logprobs results in response.
|
10588
|
+
# Corresponds to the JSON property `responseLogprobs`
|
10589
|
+
# @return [Boolean]
|
10590
|
+
attr_accessor :response_logprobs
|
10591
|
+
alias_method :response_logprobs?, :response_logprobs
|
10592
|
+
|
10540
10593
|
# Optional. Output response mimetype of the generated candidate text. Supported
|
10541
10594
|
# mimetype: - `text/plain`: (default) Text output. - `application/json`: JSON
|
10542
10595
|
# response in the candidates. The model needs to be prompted to output the
|
@@ -10591,8 +10644,10 @@ module Google
|
|
10591
10644
|
def update!(**args)
|
10592
10645
|
@candidate_count = args[:candidate_count] if args.key?(:candidate_count)
|
10593
10646
|
@frequency_penalty = args[:frequency_penalty] if args.key?(:frequency_penalty)
|
10647
|
+
@logprobs = args[:logprobs] if args.key?(:logprobs)
|
10594
10648
|
@max_output_tokens = args[:max_output_tokens] if args.key?(:max_output_tokens)
|
10595
10649
|
@presence_penalty = args[:presence_penalty] if args.key?(:presence_penalty)
|
10650
|
+
@response_logprobs = args[:response_logprobs] if args.key?(:response_logprobs)
|
10596
10651
|
@response_mime_type = args[:response_mime_type] if args.key?(:response_mime_type)
|
10597
10652
|
@response_schema = args[:response_schema] if args.key?(:response_schema)
|
10598
10653
|
@routing_config = args[:routing_config] if args.key?(:routing_config)
|
@@ -13513,6 +13568,82 @@ module Google
|
|
13513
13568
|
end
|
13514
13569
|
end
|
13515
13570
|
|
13571
|
+
# Logprobs Result
|
13572
|
+
class GoogleCloudAiplatformV1LogprobsResult
|
13573
|
+
include Google::Apis::Core::Hashable
|
13574
|
+
|
13575
|
+
# Length = total number of decoding steps. The chosen candidates may or may not
|
13576
|
+
# be in top_candidates.
|
13577
|
+
# Corresponds to the JSON property `chosenCandidates`
|
13578
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LogprobsResultCandidate>]
|
13579
|
+
attr_accessor :chosen_candidates
|
13580
|
+
|
13581
|
+
# Length = total number of decoding steps.
|
13582
|
+
# Corresponds to the JSON property `topCandidates`
|
13583
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LogprobsResultTopCandidates>]
|
13584
|
+
attr_accessor :top_candidates
|
13585
|
+
|
13586
|
+
def initialize(**args)
|
13587
|
+
update!(**args)
|
13588
|
+
end
|
13589
|
+
|
13590
|
+
# Update properties of this object
|
13591
|
+
def update!(**args)
|
13592
|
+
@chosen_candidates = args[:chosen_candidates] if args.key?(:chosen_candidates)
|
13593
|
+
@top_candidates = args[:top_candidates] if args.key?(:top_candidates)
|
13594
|
+
end
|
13595
|
+
end
|
13596
|
+
|
13597
|
+
# Candidate for the logprobs token and score.
|
13598
|
+
class GoogleCloudAiplatformV1LogprobsResultCandidate
|
13599
|
+
include Google::Apis::Core::Hashable
|
13600
|
+
|
13601
|
+
# The candidate's log probability.
|
13602
|
+
# Corresponds to the JSON property `logProbability`
|
13603
|
+
# @return [Float]
|
13604
|
+
attr_accessor :log_probability
|
13605
|
+
|
13606
|
+
# The candidate’s token string value.
|
13607
|
+
# Corresponds to the JSON property `token`
|
13608
|
+
# @return [String]
|
13609
|
+
attr_accessor :token
|
13610
|
+
|
13611
|
+
# The candidate’s token id value.
|
13612
|
+
# Corresponds to the JSON property `tokenId`
|
13613
|
+
# @return [Fixnum]
|
13614
|
+
attr_accessor :token_id
|
13615
|
+
|
13616
|
+
def initialize(**args)
|
13617
|
+
update!(**args)
|
13618
|
+
end
|
13619
|
+
|
13620
|
+
# Update properties of this object
|
13621
|
+
def update!(**args)
|
13622
|
+
@log_probability = args[:log_probability] if args.key?(:log_probability)
|
13623
|
+
@token = args[:token] if args.key?(:token)
|
13624
|
+
@token_id = args[:token_id] if args.key?(:token_id)
|
13625
|
+
end
|
13626
|
+
end
|
13627
|
+
|
13628
|
+
# Candidates with top log probabilities at each decoding step.
|
13629
|
+
class GoogleCloudAiplatformV1LogprobsResultTopCandidates
|
13630
|
+
include Google::Apis::Core::Hashable
|
13631
|
+
|
13632
|
+
# Sorted by log probability in descending order.
|
13633
|
+
# Corresponds to the JSON property `candidates`
|
13634
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LogprobsResultCandidate>]
|
13635
|
+
attr_accessor :candidates
|
13636
|
+
|
13637
|
+
def initialize(**args)
|
13638
|
+
update!(**args)
|
13639
|
+
end
|
13640
|
+
|
13641
|
+
# Update properties of this object
|
13642
|
+
def update!(**args)
|
13643
|
+
@candidates = args[:candidates] if args.key?(:candidates)
|
13644
|
+
end
|
13645
|
+
end
|
13646
|
+
|
13516
13647
|
# Request message for VizierService.LookupStudy.
|
13517
13648
|
class GoogleCloudAiplatformV1LookupStudyRequest
|
13518
13649
|
include Google::Apis::Core::Hashable
|
@@ -17581,6 +17712,36 @@ module Google
|
|
17581
17712
|
end
|
17582
17713
|
end
|
17583
17714
|
|
17715
|
+
# PSC config that is used to automatically create forwarding rule via
|
17716
|
+
# ServiceConnectionMap.
|
17717
|
+
class GoogleCloudAiplatformV1PscAutomationConfig
|
17718
|
+
include Google::Apis::Core::Hashable
|
17719
|
+
|
17720
|
+
# Required. The full name of the Google Compute Engine [network](https://cloud.
|
17721
|
+
# google.com/compute/docs/networks-and-firewalls#networks). [Format](https://
|
17722
|
+
# cloud.google.com/compute/docs/reference/rest/v1/networks/insert): `projects/`
|
17723
|
+
# project`/global/networks/`network``. Where `project` is a project number, as
|
17724
|
+
# in '12345', and `network` is network name.
|
17725
|
+
# Corresponds to the JSON property `network`
|
17726
|
+
# @return [String]
|
17727
|
+
attr_accessor :network
|
17728
|
+
|
17729
|
+
# Required. Project id used to create forwarding rule.
|
17730
|
+
# Corresponds to the JSON property `projectId`
|
17731
|
+
# @return [String]
|
17732
|
+
attr_accessor :project_id
|
17733
|
+
|
17734
|
+
def initialize(**args)
|
17735
|
+
update!(**args)
|
17736
|
+
end
|
17737
|
+
|
17738
|
+
# Update properties of this object
|
17739
|
+
def update!(**args)
|
17740
|
+
@network = args[:network] if args.key?(:network)
|
17741
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
17742
|
+
end
|
17743
|
+
end
|
17744
|
+
|
17584
17745
|
# Input for pairwise metric.
|
17585
17746
|
class GoogleCloudAiplatformV1PairwiseMetricInput
|
17586
17747
|
include Google::Apis::Core::Hashable
|
@@ -20987,6 +21148,46 @@ module Google
|
|
20987
21148
|
end
|
20988
21149
|
end
|
20989
21150
|
|
21151
|
+
# Request message for GenAiTuningService.RebaseTunedModel.
|
21152
|
+
class GoogleCloudAiplatformV1RebaseTunedModelRequest
|
21153
|
+
include Google::Apis::Core::Hashable
|
21154
|
+
|
21155
|
+
# The Google Cloud Storage location where the output is to be written to.
|
21156
|
+
# Corresponds to the JSON property `artifactDestination`
|
21157
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GcsDestination]
|
21158
|
+
attr_accessor :artifact_destination
|
21159
|
+
|
21160
|
+
# Optional. By default, bison to gemini migration will always create new model/
|
21161
|
+
# endpoint, but for gemini-1.0 to gemini-1.5 migration, we default deploy to the
|
21162
|
+
# same endpoint. See details in this Section.
|
21163
|
+
# Corresponds to the JSON property `deployToSameEndpoint`
|
21164
|
+
# @return [Boolean]
|
21165
|
+
attr_accessor :deploy_to_same_endpoint
|
21166
|
+
alias_method :deploy_to_same_endpoint?, :deploy_to_same_endpoint
|
21167
|
+
|
21168
|
+
# TunedModel Reference for legacy model migration.
|
21169
|
+
# Corresponds to the JSON property `tunedModelRef`
|
21170
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TunedModelRef]
|
21171
|
+
attr_accessor :tuned_model_ref
|
21172
|
+
|
21173
|
+
# Represents a TuningJob that runs with Google owned models.
|
21174
|
+
# Corresponds to the JSON property `tuningJob`
|
21175
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TuningJob]
|
21176
|
+
attr_accessor :tuning_job
|
21177
|
+
|
21178
|
+
def initialize(**args)
|
21179
|
+
update!(**args)
|
21180
|
+
end
|
21181
|
+
|
21182
|
+
# Update properties of this object
|
21183
|
+
def update!(**args)
|
21184
|
+
@artifact_destination = args[:artifact_destination] if args.key?(:artifact_destination)
|
21185
|
+
@deploy_to_same_endpoint = args[:deploy_to_same_endpoint] if args.key?(:deploy_to_same_endpoint)
|
21186
|
+
@tuned_model_ref = args[:tuned_model_ref] if args.key?(:tuned_model_ref)
|
21187
|
+
@tuning_job = args[:tuning_job] if args.key?(:tuning_job)
|
21188
|
+
end
|
21189
|
+
end
|
21190
|
+
|
20990
21191
|
# Details of operations that perform reboot PersistentResource.
|
20991
21192
|
class GoogleCloudAiplatformV1RebootPersistentResourceOperationMetadata
|
20992
21193
|
include Google::Apis::Core::Hashable
|
@@ -22100,6 +22301,12 @@ module Google
|
|
22100
22301
|
class GoogleCloudAiplatformV1Schema
|
22101
22302
|
include Google::Apis::Core::Hashable
|
22102
22303
|
|
22304
|
+
# Optional. The value should be validated against any (one or more) of the
|
22305
|
+
# subschemas in the list.
|
22306
|
+
# Corresponds to the JSON property `anyOf`
|
22307
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema>]
|
22308
|
+
attr_accessor :any_of
|
22309
|
+
|
22103
22310
|
# Optional. Default value of the data.
|
22104
22311
|
# Corresponds to the JSON property `default`
|
22105
22312
|
# @return [Object]
|
@@ -22195,6 +22402,12 @@ module Google
|
|
22195
22402
|
# @return [Hash<String,Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema>]
|
22196
22403
|
attr_accessor :properties
|
22197
22404
|
|
22405
|
+
# Optional. The order of the properties. Not a standard field in open api spec.
|
22406
|
+
# Only used to support the order of the properties.
|
22407
|
+
# Corresponds to the JSON property `propertyOrdering`
|
22408
|
+
# @return [Array<String>]
|
22409
|
+
attr_accessor :property_ordering
|
22410
|
+
|
22198
22411
|
# Optional. Required properties of Type.OBJECT.
|
22199
22412
|
# Corresponds to the JSON property `required`
|
22200
22413
|
# @return [Array<String>]
|
@@ -22216,6 +22429,7 @@ module Google
|
|
22216
22429
|
|
22217
22430
|
# Update properties of this object
|
22218
22431
|
def update!(**args)
|
22432
|
+
@any_of = args[:any_of] if args.key?(:any_of)
|
22219
22433
|
@default = args[:default] if args.key?(:default)
|
22220
22434
|
@description = args[:description] if args.key?(:description)
|
22221
22435
|
@enum = args[:enum] if args.key?(:enum)
|
@@ -22233,6 +22447,7 @@ module Google
|
|
22233
22447
|
@nullable = args[:nullable] if args.key?(:nullable)
|
22234
22448
|
@pattern = args[:pattern] if args.key?(:pattern)
|
22235
22449
|
@properties = args[:properties] if args.key?(:properties)
|
22450
|
+
@property_ordering = args[:property_ordering] if args.key?(:property_ordering)
|
22236
22451
|
@required = args[:required] if args.key?(:required)
|
22237
22452
|
@title = args[:title] if args.key?(:title)
|
22238
22453
|
@type = args[:type] if args.key?(:type)
|
@@ -30571,7 +30786,7 @@ module Google
|
|
30571
30786
|
end
|
30572
30787
|
end
|
30573
30788
|
|
30574
|
-
# Tuning Spec for Supervised Tuning.
|
30789
|
+
# Tuning Spec for Supervised Tuning for first party models.
|
30575
30790
|
class GoogleCloudAiplatformV1SupervisedTuningSpec
|
30576
30791
|
include Google::Apis::Core::Hashable
|
30577
30792
|
|
@@ -31386,7 +31601,7 @@ module Google
|
|
31386
31601
|
# subset of these functions by populating FunctionCall in the response. User
|
31387
31602
|
# should provide a FunctionResponse for each function call in the next turn.
|
31388
31603
|
# Based on the function responses, Model will generate the final response back
|
31389
|
-
# to the user. Maximum
|
31604
|
+
# to the user. Maximum 128 function declarations can be provided.
|
31390
31605
|
# Corresponds to the JSON property `functionDeclarations`
|
31391
31606
|
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FunctionDeclaration>]
|
31392
31607
|
attr_accessor :function_declarations
|
@@ -32207,6 +32422,38 @@ module Google
|
|
32207
32422
|
end
|
32208
32423
|
end
|
32209
32424
|
|
32425
|
+
# TunedModel Reference for legacy model migration.
|
32426
|
+
class GoogleCloudAiplatformV1TunedModelRef
|
32427
|
+
include Google::Apis::Core::Hashable
|
32428
|
+
|
32429
|
+
# Support migration from tuning job list page, from bison model to gemini model.
|
32430
|
+
# Corresponds to the JSON property `pipelineJob`
|
32431
|
+
# @return [String]
|
32432
|
+
attr_accessor :pipeline_job
|
32433
|
+
|
32434
|
+
# Support migration from model registry.
|
32435
|
+
# Corresponds to the JSON property `tunedModel`
|
32436
|
+
# @return [String]
|
32437
|
+
attr_accessor :tuned_model
|
32438
|
+
|
32439
|
+
# Support migration from tuning job list page, from gemini-1.0-pro-002 to 1.5
|
32440
|
+
# and above.
|
32441
|
+
# Corresponds to the JSON property `tuningJob`
|
32442
|
+
# @return [String]
|
32443
|
+
attr_accessor :tuning_job
|
32444
|
+
|
32445
|
+
def initialize(**args)
|
32446
|
+
update!(**args)
|
32447
|
+
end
|
32448
|
+
|
32449
|
+
# Update properties of this object
|
32450
|
+
def update!(**args)
|
32451
|
+
@pipeline_job = args[:pipeline_job] if args.key?(:pipeline_job)
|
32452
|
+
@tuned_model = args[:tuned_model] if args.key?(:tuned_model)
|
32453
|
+
@tuning_job = args[:tuning_job] if args.key?(:tuning_job)
|
32454
|
+
end
|
32455
|
+
end
|
32456
|
+
|
32210
32457
|
# The tuning data statistic values for TuningJob.
|
32211
32458
|
class GoogleCloudAiplatformV1TuningDataStats
|
32212
32459
|
include Google::Apis::Core::Hashable
|
@@ -32300,7 +32547,7 @@ module Google
|
|
32300
32547
|
# @return [String]
|
32301
32548
|
attr_accessor :state
|
32302
32549
|
|
32303
|
-
# Tuning Spec for Supervised Tuning.
|
32550
|
+
# Tuning Spec for Supervised Tuning for first party models.
|
32304
32551
|
# Corresponds to the JSON property `supervisedTuningSpec`
|
32305
32552
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SupervisedTuningSpec]
|
32306
32553
|
attr_accessor :supervised_tuning_spec
|
@@ -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.35.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240916"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2278,6 +2278,24 @@ module Google
|
|
2278
2278
|
include Google::Apis::Core::JsonObjectSupport
|
2279
2279
|
end
|
2280
2280
|
|
2281
|
+
class GoogleCloudAiplatformV1LogprobsResult
|
2282
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2283
|
+
|
2284
|
+
include Google::Apis::Core::JsonObjectSupport
|
2285
|
+
end
|
2286
|
+
|
2287
|
+
class GoogleCloudAiplatformV1LogprobsResultCandidate
|
2288
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2289
|
+
|
2290
|
+
include Google::Apis::Core::JsonObjectSupport
|
2291
|
+
end
|
2292
|
+
|
2293
|
+
class GoogleCloudAiplatformV1LogprobsResultTopCandidates
|
2294
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2295
|
+
|
2296
|
+
include Google::Apis::Core::JsonObjectSupport
|
2297
|
+
end
|
2298
|
+
|
2281
2299
|
class GoogleCloudAiplatformV1LookupStudyRequest
|
2282
2300
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2283
2301
|
|
@@ -2830,6 +2848,12 @@ module Google
|
|
2830
2848
|
include Google::Apis::Core::JsonObjectSupport
|
2831
2849
|
end
|
2832
2850
|
|
2851
|
+
class GoogleCloudAiplatformV1PscAutomationConfig
|
2852
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2853
|
+
|
2854
|
+
include Google::Apis::Core::JsonObjectSupport
|
2855
|
+
end
|
2856
|
+
|
2833
2857
|
class GoogleCloudAiplatformV1PairwiseMetricInput
|
2834
2858
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2835
2859
|
|
@@ -3436,6 +3460,12 @@ module Google
|
|
3436
3460
|
include Google::Apis::Core::JsonObjectSupport
|
3437
3461
|
end
|
3438
3462
|
|
3463
|
+
class GoogleCloudAiplatformV1RebaseTunedModelRequest
|
3464
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3465
|
+
|
3466
|
+
include Google::Apis::Core::JsonObjectSupport
|
3467
|
+
end
|
3468
|
+
|
3439
3469
|
class GoogleCloudAiplatformV1RebootPersistentResourceOperationMetadata
|
3440
3470
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3441
3471
|
|
@@ -5290,6 +5320,12 @@ module Google
|
|
5290
5320
|
include Google::Apis::Core::JsonObjectSupport
|
5291
5321
|
end
|
5292
5322
|
|
5323
|
+
class GoogleCloudAiplatformV1TunedModelRef
|
5324
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5325
|
+
|
5326
|
+
include Google::Apis::Core::JsonObjectSupport
|
5327
|
+
end
|
5328
|
+
|
5293
5329
|
class GoogleCloudAiplatformV1TuningDataStats
|
5294
5330
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
5295
5331
|
|
@@ -5710,6 +5746,7 @@ module Google
|
|
5710
5746
|
class CloudAiLargeModelsVisionRaiInfo
|
5711
5747
|
# @private
|
5712
5748
|
class Representation < Google::Apis::Core::JsonRepresentation
|
5749
|
+
collection :blocked_entities, as: 'blockedEntities'
|
5713
5750
|
collection :detected_labels, as: 'detectedLabels', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionRaiInfoDetectedLabels, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionRaiInfoDetectedLabels::Representation
|
5714
5751
|
|
5715
5752
|
property :model_name, as: 'modelName'
|
@@ -6375,6 +6412,8 @@ module Google
|
|
6375
6412
|
property :grounding_metadata, as: 'groundingMetadata', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingMetadata, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundingMetadata::Representation
|
6376
6413
|
|
6377
6414
|
property :index, as: 'index'
|
6415
|
+
property :logprobs_result, as: 'logprobsResult', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LogprobsResult, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LogprobsResult::Representation
|
6416
|
+
|
6378
6417
|
collection :safety_ratings, as: 'safetyRatings', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SafetyRating, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SafetyRating::Representation
|
6379
6418
|
|
6380
6419
|
end
|
@@ -6571,6 +6610,8 @@ module Google
|
|
6571
6610
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6572
6611
|
collection :contents, as: 'contents', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content::Representation
|
6573
6612
|
|
6613
|
+
property :generation_config, as: 'generationConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerationConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerationConfig::Representation
|
6614
|
+
|
6574
6615
|
collection :instances, as: 'instances'
|
6575
6616
|
property :model, as: 'model'
|
6576
6617
|
property :system_instruction, as: 'systemInstruction', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content::Representation
|
@@ -7119,6 +7160,8 @@ module Google
|
|
7119
7160
|
property :index_sync_time, as: 'indexSyncTime'
|
7120
7161
|
property :private_endpoints, as: 'privateEndpoints', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1IndexPrivateEndpoints, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1IndexPrivateEndpoints::Representation
|
7121
7162
|
|
7163
|
+
collection :psc_automation_configs, as: 'pscAutomationConfigs', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PscAutomationConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PscAutomationConfig::Representation
|
7164
|
+
|
7122
7165
|
collection :reserved_ip_ranges, as: 'reservedIpRanges'
|
7123
7166
|
end
|
7124
7167
|
end
|
@@ -8550,6 +8593,7 @@ module Google
|
|
8550
8593
|
|
8551
8594
|
property :generation_config, as: 'generationConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerationConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerationConfig::Representation
|
8552
8595
|
|
8596
|
+
hash :labels, as: 'labels'
|
8553
8597
|
collection :safety_settings, as: 'safetySettings', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SafetySetting, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SafetySetting::Representation
|
8554
8598
|
|
8555
8599
|
property :system_instruction, as: 'systemInstruction', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content::Representation
|
@@ -8566,6 +8610,7 @@ module Google
|
|
8566
8610
|
class Representation < Google::Apis::Core::JsonRepresentation
|
8567
8611
|
collection :candidates, as: 'candidates', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Candidate, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Candidate::Representation
|
8568
8612
|
|
8613
|
+
property :model_version, as: 'modelVersion'
|
8569
8614
|
property :prompt_feedback, as: 'promptFeedback', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback::Representation
|
8570
8615
|
|
8571
8616
|
property :usage_metadata, as: 'usageMetadata', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata::Representation
|
@@ -8597,8 +8642,10 @@ module Google
|
|
8597
8642
|
class Representation < Google::Apis::Core::JsonRepresentation
|
8598
8643
|
property :candidate_count, as: 'candidateCount'
|
8599
8644
|
property :frequency_penalty, as: 'frequencyPenalty'
|
8645
|
+
property :logprobs, as: 'logprobs'
|
8600
8646
|
property :max_output_tokens, as: 'maxOutputTokens'
|
8601
8647
|
property :presence_penalty, as: 'presencePenalty'
|
8648
|
+
property :response_logprobs, as: 'responseLogprobs'
|
8602
8649
|
property :response_mime_type, as: 'responseMimeType'
|
8603
8650
|
property :response_schema, as: 'responseSchema', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema::Representation
|
8604
8651
|
|
@@ -9489,6 +9536,33 @@ module Google
|
|
9489
9536
|
end
|
9490
9537
|
end
|
9491
9538
|
|
9539
|
+
class GoogleCloudAiplatformV1LogprobsResult
|
9540
|
+
# @private
|
9541
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9542
|
+
collection :chosen_candidates, as: 'chosenCandidates', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LogprobsResultCandidate, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LogprobsResultCandidate::Representation
|
9543
|
+
|
9544
|
+
collection :top_candidates, as: 'topCandidates', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LogprobsResultTopCandidates, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LogprobsResultTopCandidates::Representation
|
9545
|
+
|
9546
|
+
end
|
9547
|
+
end
|
9548
|
+
|
9549
|
+
class GoogleCloudAiplatformV1LogprobsResultCandidate
|
9550
|
+
# @private
|
9551
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9552
|
+
property :log_probability, as: 'logProbability'
|
9553
|
+
property :token, as: 'token'
|
9554
|
+
property :token_id, as: 'tokenId'
|
9555
|
+
end
|
9556
|
+
end
|
9557
|
+
|
9558
|
+
class GoogleCloudAiplatformV1LogprobsResultTopCandidates
|
9559
|
+
# @private
|
9560
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9561
|
+
collection :candidates, as: 'candidates', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LogprobsResultCandidate, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1LogprobsResultCandidate::Representation
|
9562
|
+
|
9563
|
+
end
|
9564
|
+
end
|
9565
|
+
|
9492
9566
|
class GoogleCloudAiplatformV1LookupStudyRequest
|
9493
9567
|
# @private
|
9494
9568
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -10540,6 +10614,14 @@ module Google
|
|
10540
10614
|
end
|
10541
10615
|
end
|
10542
10616
|
|
10617
|
+
class GoogleCloudAiplatformV1PscAutomationConfig
|
10618
|
+
# @private
|
10619
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10620
|
+
property :network, as: 'network'
|
10621
|
+
property :project_id, as: 'projectId'
|
10622
|
+
end
|
10623
|
+
end
|
10624
|
+
|
10543
10625
|
class GoogleCloudAiplatformV1PairwiseMetricInput
|
10544
10626
|
# @private
|
10545
10627
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -11539,6 +11621,19 @@ module Google
|
|
11539
11621
|
end
|
11540
11622
|
end
|
11541
11623
|
|
11624
|
+
class GoogleCloudAiplatformV1RebaseTunedModelRequest
|
11625
|
+
# @private
|
11626
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
11627
|
+
property :artifact_destination, as: 'artifactDestination', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GcsDestination, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GcsDestination::Representation
|
11628
|
+
|
11629
|
+
property :deploy_to_same_endpoint, as: 'deployToSameEndpoint'
|
11630
|
+
property :tuned_model_ref, as: 'tunedModelRef', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TunedModelRef, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TunedModelRef::Representation
|
11631
|
+
|
11632
|
+
property :tuning_job, as: 'tuningJob', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TuningJob, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TuningJob::Representation
|
11633
|
+
|
11634
|
+
end
|
11635
|
+
end
|
11636
|
+
|
11542
11637
|
class GoogleCloudAiplatformV1RebootPersistentResourceOperationMetadata
|
11543
11638
|
# @private
|
11544
11639
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -11868,6 +11963,8 @@ module Google
|
|
11868
11963
|
class GoogleCloudAiplatformV1Schema
|
11869
11964
|
# @private
|
11870
11965
|
class Representation < Google::Apis::Core::JsonRepresentation
|
11966
|
+
collection :any_of, as: 'anyOf', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema::Representation
|
11967
|
+
|
11871
11968
|
property :default, as: 'default'
|
11872
11969
|
property :description, as: 'description'
|
11873
11970
|
collection :enum, as: 'enum'
|
@@ -11887,6 +11984,7 @@ module Google
|
|
11887
11984
|
property :pattern, as: 'pattern'
|
11888
11985
|
hash :properties, as: 'properties', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Schema::Representation
|
11889
11986
|
|
11987
|
+
collection :property_ordering, as: 'propertyOrdering'
|
11890
11988
|
collection :required, as: 'required'
|
11891
11989
|
property :title, as: 'title'
|
11892
11990
|
property :type, as: 'type'
|
@@ -14584,6 +14682,15 @@ module Google
|
|
14584
14682
|
end
|
14585
14683
|
end
|
14586
14684
|
|
14685
|
+
class GoogleCloudAiplatformV1TunedModelRef
|
14686
|
+
# @private
|
14687
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14688
|
+
property :pipeline_job, as: 'pipelineJob'
|
14689
|
+
property :tuned_model, as: 'tunedModel'
|
14690
|
+
property :tuning_job, as: 'tuningJob'
|
14691
|
+
end
|
14692
|
+
end
|
14693
|
+
|
14587
14694
|
class GoogleCloudAiplatformV1TuningDataStats
|
14588
14695
|
# @private
|
14589
14696
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4618,7 +4618,7 @@ module Google
|
|
4618
4618
|
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureGroup] google_cloud_aiplatform_v1_feature_group_object
|
4619
4619
|
# @param [String] feature_group_id
|
4620
4620
|
# Required. The ID to use for this FeatureGroup, which will become the final
|
4621
|
-
# component of the FeatureGroup's resource name. This value may be up to
|
4621
|
+
# component of the FeatureGroup's resource name. This value may be up to 128
|
4622
4622
|
# characters, and valid characters are `[a-z0-9_]`. The first character cannot
|
4623
4623
|
# be a number. The value must be unique within the project and location.
|
4624
4624
|
# @param [String] fields
|
@@ -20583,6 +20583,40 @@ module Google
|
|
20583
20583
|
execute_or_queue_command(command, &block)
|
20584
20584
|
end
|
20585
20585
|
|
20586
|
+
# Rebase a TunedModel.
|
20587
|
+
# @param [String] parent
|
20588
|
+
# Required. The resource name of the Location into which to rebase the Model.
|
20589
|
+
# Format: `projects/`project`/locations/`location``
|
20590
|
+
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RebaseTunedModelRequest] google_cloud_aiplatform_v1_rebase_tuned_model_request_object
|
20591
|
+
# @param [String] fields
|
20592
|
+
# Selector specifying which fields to include in a partial response.
|
20593
|
+
# @param [String] quota_user
|
20594
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
20595
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
20596
|
+
# @param [Google::Apis::RequestOptions] options
|
20597
|
+
# Request-specific options
|
20598
|
+
#
|
20599
|
+
# @yield [result, err] Result & error if block supplied
|
20600
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
20601
|
+
# @yieldparam err [StandardError] error object if request failed
|
20602
|
+
#
|
20603
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
20604
|
+
#
|
20605
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
20606
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
20607
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
20608
|
+
def rebase_project_location_tuning_job_tuned_model(parent, google_cloud_aiplatform_v1_rebase_tuned_model_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
20609
|
+
command = make_simple_command(:post, 'v1/{+parent}/tuningJobs:rebaseTunedModel', options)
|
20610
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RebaseTunedModelRequest::Representation
|
20611
|
+
command.request_object = google_cloud_aiplatform_v1_rebase_tuned_model_request_object
|
20612
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
20613
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
20614
|
+
command.params['parent'] = parent unless parent.nil?
|
20615
|
+
command.query['fields'] = fields unless fields.nil?
|
20616
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
20617
|
+
execute_or_queue_command(command, &block)
|
20618
|
+
end
|
20619
|
+
|
20586
20620
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
20587
20621
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
20588
20622
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -20620,6 +20654,39 @@ module Google
|
|
20620
20654
|
execute_or_queue_command(command, &block)
|
20621
20655
|
end
|
20622
20656
|
|
20657
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
20658
|
+
# longer interested in the operation result. It does not cancel the operation.
|
20659
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
20660
|
+
# UNIMPLEMENTED`.
|
20661
|
+
# @param [String] name
|
20662
|
+
# The name of the operation resource to be deleted.
|
20663
|
+
# @param [String] fields
|
20664
|
+
# Selector specifying which fields to include in a partial response.
|
20665
|
+
# @param [String] quota_user
|
20666
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
20667
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
20668
|
+
# @param [Google::Apis::RequestOptions] options
|
20669
|
+
# Request-specific options
|
20670
|
+
#
|
20671
|
+
# @yield [result, err] Result & error if block supplied
|
20672
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleProtobufEmpty] parsed result object
|
20673
|
+
# @yieldparam err [StandardError] error object if request failed
|
20674
|
+
#
|
20675
|
+
# @return [Google::Apis::AiplatformV1::GoogleProtobufEmpty]
|
20676
|
+
#
|
20677
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
20678
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
20679
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
20680
|
+
def delete_project_location_tuning_job_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
20681
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
20682
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
|
20683
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
|
20684
|
+
command.params['name'] = name unless name.nil?
|
20685
|
+
command.query['fields'] = fields unless fields.nil?
|
20686
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
20687
|
+
execute_or_queue_command(command, &block)
|
20688
|
+
end
|
20689
|
+
|
20623
20690
|
# Gets the latest state of a long-running operation. Clients can use this method
|
20624
20691
|
# to poll the operation result at intervals as recommended by the API service.
|
20625
20692
|
# @param [String] name
|
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.35.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-09-
|
11
|
+
date: 2024-09-22 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.35.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: []
|