google-apis-aiplatform_v1 0.49.0 → 0.50.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: 2c80b3550a13ebc4046b143d742095e3ebfeea7763c2807bb95e55d61a1afa97
|
4
|
+
data.tar.gz: 20e365e762991356a6f79b1dccb848a5b67587c4adf11f880ce22a38a9f330c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e3a22fee12e3b30b64264f877626765a5624431bb3a8466daf3056baf731ffa1d975a74215b29d54e6d01cea84e377f3a4ca81b9fcefd0cdad88e29f832cfbe
|
7
|
+
data.tar.gz: 499c600b9af9e475e2ad732dab7442dccd01e19abbf545aba04ff51b07cab28d3ff8a36c63daab53694f242b07ea722426dfe608d00a967249ba4ea8d6e86ec3
|
data/CHANGELOG.md
CHANGED
@@ -1309,12 +1309,12 @@ module Google
|
|
1309
1309
|
# @return [String]
|
1310
1310
|
attr_accessor :autorater_model
|
1311
1311
|
|
1312
|
-
# Optional. Whether to flip the candidate and baseline
|
1313
|
-
# applicable to the pairwise metric. If enabled, also
|
1314
|
-
# candidate_response_field_name and
|
1315
|
-
# baseline_response_field_name. When rendering
|
1316
|
-
# metric_prompt_template, the candidate and baseline fields
|
1317
|
-
# half of the samples to reduce bias.
|
1312
|
+
# Optional. Default is true. Whether to flip the candidate and baseline
|
1313
|
+
# responses. This is only applicable to the pairwise metric. If enabled, also
|
1314
|
+
# provide PairwiseMetricSpec.candidate_response_field_name and
|
1315
|
+
# PairwiseMetricSpec.baseline_response_field_name. When rendering
|
1316
|
+
# PairwiseMetricSpec.metric_prompt_template, the candidate and baseline fields
|
1317
|
+
# will be flipped for half of the samples to reduce bias.
|
1318
1318
|
# Corresponds to the JSON property `flipEnabled`
|
1319
1319
|
# @return [Boolean]
|
1320
1320
|
attr_accessor :flip_enabled
|
@@ -9197,6 +9197,12 @@ module Google
|
|
9197
9197
|
class GoogleCloudAiplatformV1Fact
|
9198
9198
|
include Google::Apis::Core::Hashable
|
9199
9199
|
|
9200
|
+
# A RagChunk includes the content of a chunk of a RagFile, and associated
|
9201
|
+
# metadata.
|
9202
|
+
# Corresponds to the JSON property `chunk`
|
9203
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagChunk]
|
9204
|
+
attr_accessor :chunk
|
9205
|
+
|
9200
9206
|
# Query that is used to retrieve this fact.
|
9201
9207
|
# Corresponds to the JSON property `query`
|
9202
9208
|
# @return [String]
|
@@ -9239,6 +9245,7 @@ module Google
|
|
9239
9245
|
|
9240
9246
|
# Update properties of this object
|
9241
9247
|
def update!(**args)
|
9248
|
+
@chunk = args[:chunk] if args.key?(:chunk)
|
9242
9249
|
@query = args[:query] if args.key?(:query)
|
9243
9250
|
@score = args[:score] if args.key?(:score)
|
9244
9251
|
@summary = args[:summary] if args.key?(:summary)
|
@@ -11572,8 +11579,8 @@ module Google
|
|
11572
11579
|
class GoogleCloudAiplatformV1FunctionCall
|
11573
11580
|
include Google::Apis::Core::Hashable
|
11574
11581
|
|
11575
|
-
# Optional.
|
11576
|
-
#
|
11582
|
+
# Optional. The function parameters and values in JSON object format. See [
|
11583
|
+
# FunctionDeclaration.parameters] for parameter details.
|
11577
11584
|
# Corresponds to the JSON property `args`
|
11578
11585
|
# @return [Hash<String,Object>]
|
11579
11586
|
attr_accessor :args
|
@@ -11728,7 +11735,7 @@ module Google
|
|
11728
11735
|
|
11729
11736
|
# Required. Google Cloud Storage URI(-s) to the input file(s). May contain
|
11730
11737
|
# wildcards. For more information on wildcards, see https://cloud.google.com/
|
11731
|
-
# storage/docs/
|
11738
|
+
# storage/docs/wildcards.
|
11732
11739
|
# Corresponds to the JSON property `uris`
|
11733
11740
|
# @return [Array<String>]
|
11734
11741
|
attr_accessor :uris
|
@@ -12189,6 +12196,11 @@ module Google
|
|
12189
12196
|
# @return [Float]
|
12190
12197
|
attr_accessor :temperature
|
12191
12198
|
|
12199
|
+
# Config for thinking features.
|
12200
|
+
# Corresponds to the JSON property `thinkingConfig`
|
12201
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerationConfigThinkingConfig]
|
12202
|
+
attr_accessor :thinking_config
|
12203
|
+
|
12192
12204
|
# Optional. If specified, top-k sampling will be used.
|
12193
12205
|
# Corresponds to the JSON property `topK`
|
12194
12206
|
# @return [Float]
|
@@ -12221,6 +12233,7 @@ module Google
|
|
12221
12233
|
@speech_config = args[:speech_config] if args.key?(:speech_config)
|
12222
12234
|
@stop_sequences = args[:stop_sequences] if args.key?(:stop_sequences)
|
12223
12235
|
@temperature = args[:temperature] if args.key?(:temperature)
|
12236
|
+
@thinking_config = args[:thinking_config] if args.key?(:thinking_config)
|
12224
12237
|
@top_k = args[:top_k] if args.key?(:top_k)
|
12225
12238
|
@top_p = args[:top_p] if args.key?(:top_p)
|
12226
12239
|
end
|
@@ -12276,8 +12289,9 @@ module Google
|
|
12276
12289
|
class GoogleCloudAiplatformV1GenerationConfigRoutingConfigManualRoutingMode
|
12277
12290
|
include Google::Apis::Core::Hashable
|
12278
12291
|
|
12279
|
-
# The model name to use. Only the public LLM models are accepted.
|
12280
|
-
#
|
12292
|
+
# The model name to use. Only the public LLM models are accepted. See [Supported
|
12293
|
+
# models](https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/
|
12294
|
+
# inference#supported-models).
|
12281
12295
|
# Corresponds to the JSON property `modelName`
|
12282
12296
|
# @return [String]
|
12283
12297
|
attr_accessor :model_name
|
@@ -12292,6 +12306,26 @@ module Google
|
|
12292
12306
|
end
|
12293
12307
|
end
|
12294
12308
|
|
12309
|
+
# Config for thinking features.
|
12310
|
+
class GoogleCloudAiplatformV1GenerationConfigThinkingConfig
|
12311
|
+
include Google::Apis::Core::Hashable
|
12312
|
+
|
12313
|
+
# Optional. Indicates the thinking budget in tokens. This is only applied when
|
12314
|
+
# enable_thinking is true.
|
12315
|
+
# Corresponds to the JSON property `thinkingBudget`
|
12316
|
+
# @return [Fixnum]
|
12317
|
+
attr_accessor :thinking_budget
|
12318
|
+
|
12319
|
+
def initialize(**args)
|
12320
|
+
update!(**args)
|
12321
|
+
end
|
12322
|
+
|
12323
|
+
# Update properties of this object
|
12324
|
+
def update!(**args)
|
12325
|
+
@thinking_budget = args[:thinking_budget] if args.key?(:thinking_budget)
|
12326
|
+
end
|
12327
|
+
end
|
12328
|
+
|
12295
12329
|
# Generic Metadata shared by all operations.
|
12296
12330
|
class GoogleCloudAiplatformV1GenericOperationMetadata
|
12297
12331
|
include Google::Apis::Core::Hashable
|
@@ -12539,6 +12573,12 @@ module Google
|
|
12539
12573
|
class GoogleCloudAiplatformV1GroundingChunkRetrievedContext
|
12540
12574
|
include Google::Apis::Core::Hashable
|
12541
12575
|
|
12576
|
+
# A RagChunk includes the content of a chunk of a RagFile, and associated
|
12577
|
+
# metadata.
|
12578
|
+
# Corresponds to the JSON property `ragChunk`
|
12579
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagChunk]
|
12580
|
+
attr_accessor :rag_chunk
|
12581
|
+
|
12542
12582
|
# Text of the attribution.
|
12543
12583
|
# Corresponds to the JSON property `text`
|
12544
12584
|
# @return [String]
|
@@ -12560,6 +12600,7 @@ module Google
|
|
12560
12600
|
|
12561
12601
|
# Update properties of this object
|
12562
12602
|
def update!(**args)
|
12603
|
+
@rag_chunk = args[:rag_chunk] if args.key?(:rag_chunk)
|
12563
12604
|
@text = args[:text] if args.key?(:text)
|
12564
12605
|
@title = args[:title] if args.key?(:title)
|
12565
12606
|
@uri = args[:uri] if args.key?(:uri)
|
@@ -19641,6 +19682,42 @@ module Google
|
|
19641
19682
|
end
|
19642
19683
|
end
|
19643
19684
|
|
19685
|
+
# Notebook Reservation Affinity for consuming Zonal reservation.
|
19686
|
+
class GoogleCloudAiplatformV1NotebookReservationAffinity
|
19687
|
+
include Google::Apis::Core::Hashable
|
19688
|
+
|
19689
|
+
# Required. Specifies the type of reservation from which this instance can
|
19690
|
+
# consume resources: RESERVATION_ANY (default), RESERVATION_SPECIFIC, or
|
19691
|
+
# RESERVATION_NONE. See Consuming reserved instances for examples.
|
19692
|
+
# Corresponds to the JSON property `consumeReservationType`
|
19693
|
+
# @return [String]
|
19694
|
+
attr_accessor :consume_reservation_type
|
19695
|
+
|
19696
|
+
# Optional. Corresponds to the label key of a reservation resource. To target a
|
19697
|
+
# RESERVATION_SPECIFIC by name, use compute.googleapis.com/reservation-name as
|
19698
|
+
# the key and specify the name of your reservation as its value.
|
19699
|
+
# Corresponds to the JSON property `key`
|
19700
|
+
# @return [String]
|
19701
|
+
attr_accessor :key
|
19702
|
+
|
19703
|
+
# Optional. Corresponds to the label values of a reservation resource. This must
|
19704
|
+
# be the full path name of Reservation.
|
19705
|
+
# Corresponds to the JSON property `values`
|
19706
|
+
# @return [Array<String>]
|
19707
|
+
attr_accessor :values
|
19708
|
+
|
19709
|
+
def initialize(**args)
|
19710
|
+
update!(**args)
|
19711
|
+
end
|
19712
|
+
|
19713
|
+
# Update properties of this object
|
19714
|
+
def update!(**args)
|
19715
|
+
@consume_reservation_type = args[:consume_reservation_type] if args.key?(:consume_reservation_type)
|
19716
|
+
@key = args[:key] if args.key?(:key)
|
19717
|
+
@values = args[:values] if args.key?(:values)
|
19718
|
+
end
|
19719
|
+
end
|
19720
|
+
|
19644
19721
|
# A runtime is a virtual machine allocated to a particular user for a particular
|
19645
19722
|
# Notebook file on temporary basis with lifetime limited to 24 hours.
|
19646
19723
|
class GoogleCloudAiplatformV1NotebookRuntime
|
@@ -19757,6 +19834,11 @@ module Google
|
|
19757
19834
|
# @return [String]
|
19758
19835
|
attr_accessor :proxy_uri
|
19759
19836
|
|
19837
|
+
# Notebook Reservation Affinity for consuming Zonal reservation.
|
19838
|
+
# Corresponds to the JSON property `reservationAffinity`
|
19839
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookReservationAffinity]
|
19840
|
+
attr_accessor :reservation_affinity
|
19841
|
+
|
19760
19842
|
# Output only. The runtime (instance) state of the NotebookRuntime.
|
19761
19843
|
# Corresponds to the JSON property `runtimeState`
|
19762
19844
|
# @return [String]
|
@@ -19835,6 +19917,7 @@ module Google
|
|
19835
19917
|
@notebook_runtime_template_ref = args[:notebook_runtime_template_ref] if args.key?(:notebook_runtime_template_ref)
|
19836
19918
|
@notebook_runtime_type = args[:notebook_runtime_type] if args.key?(:notebook_runtime_type)
|
19837
19919
|
@proxy_uri = args[:proxy_uri] if args.key?(:proxy_uri)
|
19920
|
+
@reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
|
19838
19921
|
@runtime_state = args[:runtime_state] if args.key?(:runtime_state)
|
19839
19922
|
@runtime_user = args[:runtime_user] if args.key?(:runtime_user)
|
19840
19923
|
@satisfies_pzi = args[:satisfies_pzi] if args.key?(:satisfies_pzi)
|
@@ -19939,6 +20022,11 @@ module Google
|
|
19939
20022
|
# @return [String]
|
19940
20023
|
attr_accessor :notebook_runtime_type
|
19941
20024
|
|
20025
|
+
# Notebook Reservation Affinity for consuming Zonal reservation.
|
20026
|
+
# Corresponds to the JSON property `reservationAffinity`
|
20027
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookReservationAffinity]
|
20028
|
+
attr_accessor :reservation_affinity
|
20029
|
+
|
19942
20030
|
# Deprecated: This field is ignored and the "Vertex AI Notebook Service Account"
|
19943
20031
|
# (service-PROJECT_NUMBER@gcp-sa-aiplatform-vm.iam.gserviceaccount.com) is used
|
19944
20032
|
# for the runtime workload identity. See https://cloud.google.com/iam/docs/
|
@@ -19992,6 +20080,7 @@ module Google
|
|
19992
20080
|
@network_spec = args[:network_spec] if args.key?(:network_spec)
|
19993
20081
|
@network_tags = args[:network_tags] if args.key?(:network_tags)
|
19994
20082
|
@notebook_runtime_type = args[:notebook_runtime_type] if args.key?(:notebook_runtime_type)
|
20083
|
+
@reservation_affinity = args[:reservation_affinity] if args.key?(:reservation_affinity)
|
19995
20084
|
@service_account = args[:service_account] if args.key?(:service_account)
|
19996
20085
|
@shielded_vm_config = args[:shielded_vm_config] if args.key?(:shielded_vm_config)
|
19997
20086
|
@software_config = args[:software_config] if args.key?(:software_config)
|
@@ -21926,8 +22015,8 @@ module Google
|
|
21926
22015
|
# @return [Fixnum]
|
21927
22016
|
attr_accessor :port
|
21928
22017
|
|
21929
|
-
# Service is the name of the service to place in the gRPC HealthCheckRequest
|
21930
|
-
#
|
22018
|
+
# Service is the name of the service to place in the gRPC HealthCheckRequest.
|
22019
|
+
# See https://github.com/grpc/grpc/blob/master/doc/health-checking.md. If this
|
21931
22020
|
# is not specified, the default behavior is defined by gRPC.
|
21932
22021
|
# Corresponds to the JSON property `service`
|
21933
22022
|
# @return [String]
|
@@ -23423,6 +23512,57 @@ module Google
|
|
23423
23512
|
end
|
23424
23513
|
end
|
23425
23514
|
|
23515
|
+
# A RagChunk includes the content of a chunk of a RagFile, and associated
|
23516
|
+
# metadata.
|
23517
|
+
class GoogleCloudAiplatformV1RagChunk
|
23518
|
+
include Google::Apis::Core::Hashable
|
23519
|
+
|
23520
|
+
# Represents where the chunk starts and ends in the document.
|
23521
|
+
# Corresponds to the JSON property `pageSpan`
|
23522
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagChunkPageSpan]
|
23523
|
+
attr_accessor :page_span
|
23524
|
+
|
23525
|
+
# The content of the chunk.
|
23526
|
+
# Corresponds to the JSON property `text`
|
23527
|
+
# @return [String]
|
23528
|
+
attr_accessor :text
|
23529
|
+
|
23530
|
+
def initialize(**args)
|
23531
|
+
update!(**args)
|
23532
|
+
end
|
23533
|
+
|
23534
|
+
# Update properties of this object
|
23535
|
+
def update!(**args)
|
23536
|
+
@page_span = args[:page_span] if args.key?(:page_span)
|
23537
|
+
@text = args[:text] if args.key?(:text)
|
23538
|
+
end
|
23539
|
+
end
|
23540
|
+
|
23541
|
+
# Represents where the chunk starts and ends in the document.
|
23542
|
+
class GoogleCloudAiplatformV1RagChunkPageSpan
|
23543
|
+
include Google::Apis::Core::Hashable
|
23544
|
+
|
23545
|
+
# Page where chunk starts in the document. Inclusive. 1-indexed.
|
23546
|
+
# Corresponds to the JSON property `firstPage`
|
23547
|
+
# @return [Fixnum]
|
23548
|
+
attr_accessor :first_page
|
23549
|
+
|
23550
|
+
# Page where chunk ends in the document. Inclusive. 1-indexed.
|
23551
|
+
# Corresponds to the JSON property `lastPage`
|
23552
|
+
# @return [Fixnum]
|
23553
|
+
attr_accessor :last_page
|
23554
|
+
|
23555
|
+
def initialize(**args)
|
23556
|
+
update!(**args)
|
23557
|
+
end
|
23558
|
+
|
23559
|
+
# Update properties of this object
|
23560
|
+
def update!(**args)
|
23561
|
+
@first_page = args[:first_page] if args.key?(:first_page)
|
23562
|
+
@last_page = args[:last_page] if args.key?(:last_page)
|
23563
|
+
end
|
23564
|
+
end
|
23565
|
+
|
23426
23566
|
# Relevant contexts for one query.
|
23427
23567
|
class GoogleCloudAiplatformV1RagContexts
|
23428
23568
|
include Google::Apis::Core::Hashable
|
@@ -23446,6 +23586,12 @@ module Google
|
|
23446
23586
|
class GoogleCloudAiplatformV1RagContextsContext
|
23447
23587
|
include Google::Apis::Core::Hashable
|
23448
23588
|
|
23589
|
+
# A RagChunk includes the content of a chunk of a RagFile, and associated
|
23590
|
+
# metadata.
|
23591
|
+
# Corresponds to the JSON property `chunk`
|
23592
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagChunk]
|
23593
|
+
attr_accessor :chunk
|
23594
|
+
|
23449
23595
|
# According to the underlying Vector DB and the selected metric type, the score
|
23450
23596
|
# can be either the distance or the similarity between the query and the context
|
23451
23597
|
# and its range depends on the metric type. For example, if the metric type is
|
@@ -23480,6 +23626,7 @@ module Google
|
|
23480
23626
|
|
23481
23627
|
# Update properties of this object
|
23482
23628
|
def update!(**args)
|
23629
|
+
@chunk = args[:chunk] if args.key?(:chunk)
|
23483
23630
|
@score = args[:score] if args.key?(:score)
|
23484
23631
|
@source_display_name = args[:source_display_name] if args.key?(:source_display_name)
|
23485
23632
|
@source_uri = args[:source_uri] if args.key?(:source_uri)
|
@@ -23923,7 +24070,9 @@ module Google
|
|
23923
24070
|
class GoogleCloudAiplatformV1RagRetrievalConfigRankingLlmRanker
|
23924
24071
|
include Google::Apis::Core::Hashable
|
23925
24072
|
|
23926
|
-
# Optional. The model name used for ranking.
|
24073
|
+
# Optional. The model name used for ranking. See [Supported models](https://
|
24074
|
+
# cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#
|
24075
|
+
# supported-models).
|
23927
24076
|
# Corresponds to the JSON property `modelName`
|
23928
24077
|
# @return [String]
|
23929
24078
|
attr_accessor :model_name
|
@@ -24590,7 +24739,8 @@ module Google
|
|
24590
24739
|
include Google::Apis::Core::Hashable
|
24591
24740
|
|
24592
24741
|
# Optional. The OSS agent framework used to develop the agent. Currently
|
24593
|
-
# supported values: "langchain", "langgraph", "ag2", "
|
24742
|
+
# supported values: "google-adk", "langchain", "langgraph", "ag2", "llama-index",
|
24743
|
+
# "custom".
|
24594
24744
|
# Corresponds to the JSON property `agentFramework`
|
24595
24745
|
# @return [String]
|
24596
24746
|
attr_accessor :agent_framework
|
@@ -33707,6 +33857,11 @@ module Google
|
|
33707
33857
|
class GoogleCloudAiplatformV1SpeechConfig
|
33708
33858
|
include Google::Apis::Core::Hashable
|
33709
33859
|
|
33860
|
+
# Optional. Language code (ISO 639. e.g. en-US) for the speech synthesization.
|
33861
|
+
# Corresponds to the JSON property `languageCode`
|
33862
|
+
# @return [String]
|
33863
|
+
attr_accessor :language_code
|
33864
|
+
|
33710
33865
|
# The configuration for the voice to use.
|
33711
33866
|
# Corresponds to the JSON property `voiceConfig`
|
33712
33867
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VoiceConfig]
|
@@ -33718,6 +33873,7 @@ module Google
|
|
33718
33873
|
|
33719
33874
|
# Update properties of this object
|
33720
33875
|
def update!(**args)
|
33876
|
+
@language_code = args[:language_code] if args.key?(:language_code)
|
33721
33877
|
@voice_config = args[:voice_config] if args.key?(:voice_config)
|
33722
33878
|
end
|
33723
33879
|
end
|
@@ -37858,7 +38014,9 @@ module Google
|
|
37858
38014
|
class GoogleCloudAiplatformV1TuningJob
|
37859
38015
|
include Google::Apis::Core::Hashable
|
37860
38016
|
|
37861
|
-
# The base model that is being tuned
|
38017
|
+
# The base model that is being tuned. See [Supported models](https://cloud.
|
38018
|
+
# google.com/vertex-ai/generative-ai/docs/model-reference/tuning#
|
38019
|
+
# supported_models).
|
37862
38020
|
# Corresponds to the JSON property `baseModel`
|
37863
38021
|
# @return [String]
|
37864
38022
|
attr_accessor :base_model
|
@@ -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.50.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250415"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2014,6 +2014,12 @@ module Google
|
|
2014
2014
|
include Google::Apis::Core::JsonObjectSupport
|
2015
2015
|
end
|
2016
2016
|
|
2017
|
+
class GoogleCloudAiplatformV1GenerationConfigThinkingConfig
|
2018
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2019
|
+
|
2020
|
+
include Google::Apis::Core::JsonObjectSupport
|
2021
|
+
end
|
2022
|
+
|
2017
2023
|
class GoogleCloudAiplatformV1GenericOperationMetadata
|
2018
2024
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2019
2025
|
|
@@ -3202,6 +3208,12 @@ module Google
|
|
3202
3208
|
include Google::Apis::Core::JsonObjectSupport
|
3203
3209
|
end
|
3204
3210
|
|
3211
|
+
class GoogleCloudAiplatformV1NotebookReservationAffinity
|
3212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3213
|
+
|
3214
|
+
include Google::Apis::Core::JsonObjectSupport
|
3215
|
+
end
|
3216
|
+
|
3205
3217
|
class GoogleCloudAiplatformV1NotebookRuntime
|
3206
3218
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3207
3219
|
|
@@ -3790,6 +3802,18 @@ module Google
|
|
3790
3802
|
include Google::Apis::Core::JsonObjectSupport
|
3791
3803
|
end
|
3792
3804
|
|
3805
|
+
class GoogleCloudAiplatformV1RagChunk
|
3806
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3807
|
+
|
3808
|
+
include Google::Apis::Core::JsonObjectSupport
|
3809
|
+
end
|
3810
|
+
|
3811
|
+
class GoogleCloudAiplatformV1RagChunkPageSpan
|
3812
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3813
|
+
|
3814
|
+
include Google::Apis::Core::JsonObjectSupport
|
3815
|
+
end
|
3816
|
+
|
3793
3817
|
class GoogleCloudAiplatformV1RagContexts
|
3794
3818
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3795
3819
|
|
@@ -9377,6 +9401,8 @@ module Google
|
|
9377
9401
|
class GoogleCloudAiplatformV1Fact
|
9378
9402
|
# @private
|
9379
9403
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9404
|
+
property :chunk, as: 'chunk', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagChunk, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagChunk::Representation
|
9405
|
+
|
9380
9406
|
property :query, as: 'query'
|
9381
9407
|
property :score, as: 'score'
|
9382
9408
|
property :summary, as: 'summary'
|
@@ -10195,6 +10221,8 @@ module Google
|
|
10195
10221
|
|
10196
10222
|
collection :stop_sequences, as: 'stopSequences'
|
10197
10223
|
property :temperature, as: 'temperature'
|
10224
|
+
property :thinking_config, as: 'thinkingConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerationConfigThinkingConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerationConfigThinkingConfig::Representation
|
10225
|
+
|
10198
10226
|
property :top_k, as: 'topK'
|
10199
10227
|
property :top_p, as: 'topP'
|
10200
10228
|
end
|
@@ -10224,6 +10252,13 @@ module Google
|
|
10224
10252
|
end
|
10225
10253
|
end
|
10226
10254
|
|
10255
|
+
class GoogleCloudAiplatformV1GenerationConfigThinkingConfig
|
10256
|
+
# @private
|
10257
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
10258
|
+
property :thinking_budget, as: 'thinkingBudget'
|
10259
|
+
end
|
10260
|
+
end
|
10261
|
+
|
10227
10262
|
class GoogleCloudAiplatformV1GenericOperationMetadata
|
10228
10263
|
# @private
|
10229
10264
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -10312,6 +10347,8 @@ module Google
|
|
10312
10347
|
class GoogleCloudAiplatformV1GroundingChunkRetrievedContext
|
10313
10348
|
# @private
|
10314
10349
|
class Representation < Google::Apis::Core::JsonRepresentation
|
10350
|
+
property :rag_chunk, as: 'ragChunk', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagChunk, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagChunk::Representation
|
10351
|
+
|
10315
10352
|
property :text, as: 'text'
|
10316
10353
|
property :title, as: 'title'
|
10317
10354
|
property :uri, as: 'uri'
|
@@ -12309,6 +12346,15 @@ module Google
|
|
12309
12346
|
end
|
12310
12347
|
end
|
12311
12348
|
|
12349
|
+
class GoogleCloudAiplatformV1NotebookReservationAffinity
|
12350
|
+
# @private
|
12351
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12352
|
+
property :consume_reservation_type, as: 'consumeReservationType'
|
12353
|
+
property :key, as: 'key'
|
12354
|
+
collection :values, as: 'values'
|
12355
|
+
end
|
12356
|
+
end
|
12357
|
+
|
12312
12358
|
class GoogleCloudAiplatformV1NotebookRuntime
|
12313
12359
|
# @private
|
12314
12360
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -12337,6 +12383,8 @@ module Google
|
|
12337
12383
|
|
12338
12384
|
property :notebook_runtime_type, as: 'notebookRuntimeType'
|
12339
12385
|
property :proxy_uri, as: 'proxyUri'
|
12386
|
+
property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookReservationAffinity, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookReservationAffinity::Representation
|
12387
|
+
|
12340
12388
|
property :runtime_state, as: 'runtimeState'
|
12341
12389
|
property :runtime_user, as: 'runtimeUser'
|
12342
12390
|
property :satisfies_pzi, as: 'satisfiesPzi'
|
@@ -12375,6 +12423,8 @@ module Google
|
|
12375
12423
|
|
12376
12424
|
collection :network_tags, as: 'networkTags'
|
12377
12425
|
property :notebook_runtime_type, as: 'notebookRuntimeType'
|
12426
|
+
property :reservation_affinity, as: 'reservationAffinity', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookReservationAffinity, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1NotebookReservationAffinity::Representation
|
12427
|
+
|
12378
12428
|
property :service_account, as: 'serviceAccount'
|
12379
12429
|
property :shielded_vm_config, as: 'shieldedVmConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ShieldedVmConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ShieldedVmConfig::Representation
|
12380
12430
|
|
@@ -13368,6 +13418,23 @@ module Google
|
|
13368
13418
|
end
|
13369
13419
|
end
|
13370
13420
|
|
13421
|
+
class GoogleCloudAiplatformV1RagChunk
|
13422
|
+
# @private
|
13423
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13424
|
+
property :page_span, as: 'pageSpan', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagChunkPageSpan, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagChunkPageSpan::Representation
|
13425
|
+
|
13426
|
+
property :text, as: 'text'
|
13427
|
+
end
|
13428
|
+
end
|
13429
|
+
|
13430
|
+
class GoogleCloudAiplatformV1RagChunkPageSpan
|
13431
|
+
# @private
|
13432
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13433
|
+
property :first_page, as: 'firstPage'
|
13434
|
+
property :last_page, as: 'lastPage'
|
13435
|
+
end
|
13436
|
+
end
|
13437
|
+
|
13371
13438
|
class GoogleCloudAiplatformV1RagContexts
|
13372
13439
|
# @private
|
13373
13440
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -13379,6 +13446,8 @@ module Google
|
|
13379
13446
|
class GoogleCloudAiplatformV1RagContextsContext
|
13380
13447
|
# @private
|
13381
13448
|
class Representation < Google::Apis::Core::JsonRepresentation
|
13449
|
+
property :chunk, as: 'chunk', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagChunk, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagChunk::Representation
|
13450
|
+
|
13382
13451
|
property :score, as: 'score'
|
13383
13452
|
property :source_display_name, as: 'sourceDisplayName'
|
13384
13453
|
property :source_uri, as: 'sourceUri'
|
@@ -16257,6 +16326,7 @@ module Google
|
|
16257
16326
|
class GoogleCloudAiplatformV1SpeechConfig
|
16258
16327
|
# @private
|
16259
16328
|
class Representation < Google::Apis::Core::JsonRepresentation
|
16329
|
+
property :language_code, as: 'languageCode'
|
16260
16330
|
property :voice_config, as: 'voiceConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VoiceConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VoiceConfig::Representation
|
16261
16331
|
|
16262
16332
|
end
|
@@ -52,6 +52,126 @@ module Google
|
|
52
52
|
@batch_path = 'batch'
|
53
53
|
end
|
54
54
|
|
55
|
+
# Creates a BatchPredictionJob. A BatchPredictionJob once created will right
|
56
|
+
# away be attempted to start.
|
57
|
+
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BatchPredictionJob] google_cloud_aiplatform_v1_batch_prediction_job_object
|
58
|
+
# @param [String] parent
|
59
|
+
# Required. The resource name of the Location to create the BatchPredictionJob
|
60
|
+
# in. Format: `projects/`project`/locations/`location``
|
61
|
+
# @param [String] fields
|
62
|
+
# Selector specifying which fields to include in a partial response.
|
63
|
+
# @param [String] quota_user
|
64
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
65
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
66
|
+
# @param [Google::Apis::RequestOptions] options
|
67
|
+
# Request-specific options
|
68
|
+
#
|
69
|
+
# @yield [result, err] Result & error if block supplied
|
70
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BatchPredictionJob] parsed result object
|
71
|
+
# @yieldparam err [StandardError] error object if request failed
|
72
|
+
#
|
73
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BatchPredictionJob]
|
74
|
+
#
|
75
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
76
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
77
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
78
|
+
def create_batch_prediction_job(google_cloud_aiplatform_v1_batch_prediction_job_object = nil, parent: nil, fields: nil, quota_user: nil, options: nil, &block)
|
79
|
+
command = make_simple_command(:post, 'v1/batchPredictionJobs', options)
|
80
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BatchPredictionJob::Representation
|
81
|
+
command.request_object = google_cloud_aiplatform_v1_batch_prediction_job_object
|
82
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BatchPredictionJob::Representation
|
83
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BatchPredictionJob
|
84
|
+
command.query['parent'] = parent unless parent.nil?
|
85
|
+
command.query['fields'] = fields unless fields.nil?
|
86
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
87
|
+
execute_or_queue_command(command, &block)
|
88
|
+
end
|
89
|
+
|
90
|
+
# Gets a BatchPredictionJob
|
91
|
+
# @param [String] name
|
92
|
+
# Required. The name of the BatchPredictionJob resource. Format: `projects/`
|
93
|
+
# project`/locations/`location`/batchPredictionJobs/`batch_prediction_job``
|
94
|
+
# @param [String] fields
|
95
|
+
# Selector specifying which fields to include in a partial response.
|
96
|
+
# @param [String] quota_user
|
97
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
98
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
99
|
+
# @param [Google::Apis::RequestOptions] options
|
100
|
+
# Request-specific options
|
101
|
+
#
|
102
|
+
# @yield [result, err] Result & error if block supplied
|
103
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BatchPredictionJob] parsed result object
|
104
|
+
# @yieldparam err [StandardError] error object if request failed
|
105
|
+
#
|
106
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BatchPredictionJob]
|
107
|
+
#
|
108
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
109
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
110
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
111
|
+
def get_batch_prediction_job(name, fields: nil, quota_user: nil, options: nil, &block)
|
112
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
113
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BatchPredictionJob::Representation
|
114
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BatchPredictionJob
|
115
|
+
command.params['name'] = name unless name.nil?
|
116
|
+
command.query['fields'] = fields unless fields.nil?
|
117
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
118
|
+
execute_or_queue_command(command, &block)
|
119
|
+
end
|
120
|
+
|
121
|
+
# Lists BatchPredictionJobs in a Location.
|
122
|
+
# @param [String] filter
|
123
|
+
# The standard list filter. Supported fields: * `display_name` supports `=`, `!=`
|
124
|
+
# comparisons, and `:` wildcard. * `model_display_name` supports `=`, `!=`
|
125
|
+
# comparisons. * `state` supports `=`, `!=` comparisons. * `create_time`
|
126
|
+
# supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. `create_time` must be in
|
127
|
+
# RFC 3339 format. * `labels` supports general map functions that is: `labels.
|
128
|
+
# key=value` - key:value equality `labels.key:* - key existence Some examples of
|
129
|
+
# using the filter are: * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*
|
130
|
+
# "` * `state!="JOB_STATE_FAILED" OR display_name="my_job"` * `NOT display_name="
|
131
|
+
# my_job"` * `create_time>"2021-05-18T00:00:00Z"` * `labels.keyA=valueA` * `
|
132
|
+
# labels.keyB:*`
|
133
|
+
# @param [Fixnum] page_size
|
134
|
+
# The standard list page size.
|
135
|
+
# @param [String] page_token
|
136
|
+
# The standard list page token. Typically obtained via
|
137
|
+
# ListBatchPredictionJobsResponse.next_page_token of the previous JobService.
|
138
|
+
# ListBatchPredictionJobs call.
|
139
|
+
# @param [String] parent
|
140
|
+
# Required. The resource name of the Location to list the BatchPredictionJobs
|
141
|
+
# from. Format: `projects/`project`/locations/`location``
|
142
|
+
# @param [String] read_mask
|
143
|
+
# Mask specifying which fields to read.
|
144
|
+
# @param [String] fields
|
145
|
+
# Selector specifying which fields to include in a partial response.
|
146
|
+
# @param [String] quota_user
|
147
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
148
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
149
|
+
# @param [Google::Apis::RequestOptions] options
|
150
|
+
# Request-specific options
|
151
|
+
#
|
152
|
+
# @yield [result, err] Result & error if block supplied
|
153
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListBatchPredictionJobsResponse] parsed result object
|
154
|
+
# @yieldparam err [StandardError] error object if request failed
|
155
|
+
#
|
156
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListBatchPredictionJobsResponse]
|
157
|
+
#
|
158
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
159
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
160
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
161
|
+
def list_batch_prediction_jobs(filter: nil, page_size: nil, page_token: nil, parent: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
162
|
+
command = make_simple_command(:get, 'v1/batchPredictionJobs', options)
|
163
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListBatchPredictionJobsResponse::Representation
|
164
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListBatchPredictionJobsResponse
|
165
|
+
command.query['filter'] = filter unless filter.nil?
|
166
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
167
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
168
|
+
command.query['parent'] = parent unless parent.nil?
|
169
|
+
command.query['readMask'] = read_mask unless read_mask.nil?
|
170
|
+
command.query['fields'] = fields unless fields.nil?
|
171
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
172
|
+
execute_or_queue_command(command, &block)
|
173
|
+
end
|
174
|
+
|
55
175
|
# Creates a Dataset.
|
56
176
|
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Dataset] google_cloud_aiplatform_v1_dataset_object
|
57
177
|
# @param [String] parent
|
@@ -635,6 +755,40 @@ module Google
|
|
635
755
|
execute_or_queue_command(command, &block)
|
636
756
|
end
|
637
757
|
|
758
|
+
# Exposes an OpenAI-compatible endpoint for chat completions.
|
759
|
+
# @param [String] endpoint
|
760
|
+
# Required. The name of the endpoint requested to serve the prediction. Format: `
|
761
|
+
# projects/`project`/locations/`location`/endpoints/`endpoint``
|
762
|
+
# @param [Google::Apis::AiplatformV1::GoogleApiHttpBody] google_api_http_body_object
|
763
|
+
# @param [String] fields
|
764
|
+
# Selector specifying which fields to include in a partial response.
|
765
|
+
# @param [String] quota_user
|
766
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
767
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
768
|
+
# @param [Google::Apis::RequestOptions] options
|
769
|
+
# Request-specific options
|
770
|
+
#
|
771
|
+
# @yield [result, err] Result & error if block supplied
|
772
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleApiHttpBody] parsed result object
|
773
|
+
# @yieldparam err [StandardError] error object if request failed
|
774
|
+
#
|
775
|
+
# @return [Google::Apis::AiplatformV1::GoogleApiHttpBody]
|
776
|
+
#
|
777
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
778
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
779
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
780
|
+
def completions_endpoint_chat(endpoint, google_api_http_body_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
781
|
+
command = make_simple_command(:post, 'v1/{+endpoint}/chat/completions', options)
|
782
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleApiHttpBody::Representation
|
783
|
+
command.request_object = google_api_http_body_object
|
784
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleApiHttpBody::Representation
|
785
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleApiHttpBody
|
786
|
+
command.params['endpoint'] = endpoint unless endpoint.nil?
|
787
|
+
command.query['fields'] = fields unless fields.nil?
|
788
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
789
|
+
execute_or_queue_command(command, &block)
|
790
|
+
end
|
791
|
+
|
638
792
|
# Upload a file into a RagCorpus.
|
639
793
|
# @param [String] parent
|
640
794
|
# Required. The name of the RagCorpus resource into which to upload the file.
|
@@ -18069,6 +18223,189 @@ module Google
|
|
18069
18223
|
execute_or_queue_command(command, &block)
|
18070
18224
|
end
|
18071
18225
|
|
18226
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
18227
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
18228
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
18229
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
18230
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
18231
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
18232
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
18233
|
+
# , corresponding to `Code.CANCELLED`.
|
18234
|
+
# @param [String] name
|
18235
|
+
# The name of the operation resource to be cancelled.
|
18236
|
+
# @param [String] fields
|
18237
|
+
# Selector specifying which fields to include in a partial response.
|
18238
|
+
# @param [String] quota_user
|
18239
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
18240
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
18241
|
+
# @param [Google::Apis::RequestOptions] options
|
18242
|
+
# Request-specific options
|
18243
|
+
#
|
18244
|
+
# @yield [result, err] Result & error if block supplied
|
18245
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleProtobufEmpty] parsed result object
|
18246
|
+
# @yieldparam err [StandardError] error object if request failed
|
18247
|
+
#
|
18248
|
+
# @return [Google::Apis::AiplatformV1::GoogleProtobufEmpty]
|
18249
|
+
#
|
18250
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
18251
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
18252
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
18253
|
+
def cancel_project_location_rag_engine_config_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
18254
|
+
command = make_simple_command(:post, 'v1/{+name}:cancel', options)
|
18255
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
|
18256
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
|
18257
|
+
command.params['name'] = name unless name.nil?
|
18258
|
+
command.query['fields'] = fields unless fields.nil?
|
18259
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
18260
|
+
execute_or_queue_command(command, &block)
|
18261
|
+
end
|
18262
|
+
|
18263
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
18264
|
+
# longer interested in the operation result. It does not cancel the operation.
|
18265
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
18266
|
+
# UNIMPLEMENTED`.
|
18267
|
+
# @param [String] name
|
18268
|
+
# The name of the operation resource to be deleted.
|
18269
|
+
# @param [String] fields
|
18270
|
+
# Selector specifying which fields to include in a partial response.
|
18271
|
+
# @param [String] quota_user
|
18272
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
18273
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
18274
|
+
# @param [Google::Apis::RequestOptions] options
|
18275
|
+
# Request-specific options
|
18276
|
+
#
|
18277
|
+
# @yield [result, err] Result & error if block supplied
|
18278
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleProtobufEmpty] parsed result object
|
18279
|
+
# @yieldparam err [StandardError] error object if request failed
|
18280
|
+
#
|
18281
|
+
# @return [Google::Apis::AiplatformV1::GoogleProtobufEmpty]
|
18282
|
+
#
|
18283
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
18284
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
18285
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
18286
|
+
def delete_project_location_rag_engine_config_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
18287
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
18288
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
|
18289
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
|
18290
|
+
command.params['name'] = name unless name.nil?
|
18291
|
+
command.query['fields'] = fields unless fields.nil?
|
18292
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
18293
|
+
execute_or_queue_command(command, &block)
|
18294
|
+
end
|
18295
|
+
|
18296
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
18297
|
+
# to poll the operation result at intervals as recommended by the API service.
|
18298
|
+
# @param [String] name
|
18299
|
+
# The name of the operation resource.
|
18300
|
+
# @param [String] fields
|
18301
|
+
# Selector specifying which fields to include in a partial response.
|
18302
|
+
# @param [String] quota_user
|
18303
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
18304
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
18305
|
+
# @param [Google::Apis::RequestOptions] options
|
18306
|
+
# Request-specific options
|
18307
|
+
#
|
18308
|
+
# @yield [result, err] Result & error if block supplied
|
18309
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
18310
|
+
# @yieldparam err [StandardError] error object if request failed
|
18311
|
+
#
|
18312
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
18313
|
+
#
|
18314
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
18315
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
18316
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
18317
|
+
def get_project_location_rag_engine_config_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
18318
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
18319
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
18320
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
18321
|
+
command.params['name'] = name unless name.nil?
|
18322
|
+
command.query['fields'] = fields unless fields.nil?
|
18323
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
18324
|
+
execute_or_queue_command(command, &block)
|
18325
|
+
end
|
18326
|
+
|
18327
|
+
# Lists operations that match the specified filter in the request. If the server
|
18328
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`.
|
18329
|
+
# @param [String] name
|
18330
|
+
# The name of the operation's parent resource.
|
18331
|
+
# @param [String] filter
|
18332
|
+
# The standard list filter.
|
18333
|
+
# @param [Fixnum] page_size
|
18334
|
+
# The standard list page size.
|
18335
|
+
# @param [String] page_token
|
18336
|
+
# The standard list page token.
|
18337
|
+
# @param [String] fields
|
18338
|
+
# Selector specifying which fields to include in a partial response.
|
18339
|
+
# @param [String] quota_user
|
18340
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
18341
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
18342
|
+
# @param [Google::Apis::RequestOptions] options
|
18343
|
+
# Request-specific options
|
18344
|
+
#
|
18345
|
+
# @yield [result, err] Result & error if block supplied
|
18346
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse] parsed result object
|
18347
|
+
# @yieldparam err [StandardError] error object if request failed
|
18348
|
+
#
|
18349
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse]
|
18350
|
+
#
|
18351
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
18352
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
18353
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
18354
|
+
def list_project_location_rag_engine_config_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
18355
|
+
command = make_simple_command(:get, 'v1/{+name}/operations', options)
|
18356
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse::Representation
|
18357
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningListOperationsResponse
|
18358
|
+
command.params['name'] = name unless name.nil?
|
18359
|
+
command.query['filter'] = filter unless filter.nil?
|
18360
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
18361
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
18362
|
+
command.query['fields'] = fields unless fields.nil?
|
18363
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
18364
|
+
execute_or_queue_command(command, &block)
|
18365
|
+
end
|
18366
|
+
|
18367
|
+
# Waits until the specified long-running operation is done or reaches at most a
|
18368
|
+
# specified timeout, returning the latest state. If the operation is already
|
18369
|
+
# done, the latest state is immediately returned. If the timeout specified is
|
18370
|
+
# greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
|
18371
|
+
# the server does not support this method, it returns `google.rpc.Code.
|
18372
|
+
# UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
|
18373
|
+
# the latest state before the specified timeout (including immediately), meaning
|
18374
|
+
# even an immediate response is no guarantee that the operation is done.
|
18375
|
+
# @param [String] name
|
18376
|
+
# The name of the operation resource to wait on.
|
18377
|
+
# @param [String] timeout
|
18378
|
+
# The maximum duration to wait before timing out. If left blank, the wait will
|
18379
|
+
# be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
|
18380
|
+
# context deadline is also specified, the shorter one will be used.
|
18381
|
+
# @param [String] fields
|
18382
|
+
# Selector specifying which fields to include in a partial response.
|
18383
|
+
# @param [String] quota_user
|
18384
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
18385
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
18386
|
+
# @param [Google::Apis::RequestOptions] options
|
18387
|
+
# Request-specific options
|
18388
|
+
#
|
18389
|
+
# @yield [result, err] Result & error if block supplied
|
18390
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
18391
|
+
# @yieldparam err [StandardError] error object if request failed
|
18392
|
+
#
|
18393
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
18394
|
+
#
|
18395
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
18396
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
18397
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
18398
|
+
def wait_project_location_rag_engine_config_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
|
18399
|
+
command = make_simple_command(:post, 'v1/{+name}:wait', options)
|
18400
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
18401
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
18402
|
+
command.params['name'] = name unless name.nil?
|
18403
|
+
command.query['timeout'] = timeout unless timeout.nil?
|
18404
|
+
command.query['fields'] = fields unless fields.nil?
|
18405
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
18406
|
+
execute_or_queue_command(command, &block)
|
18407
|
+
end
|
18408
|
+
|
18072
18409
|
# Creates a reasoning engine.
|
18073
18410
|
# @param [String] parent
|
18074
18411
|
# Required. The resource name of the Location to create the ReasoningEngine in.
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
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.50.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-04-
|
10
|
+
date: 2025-04-27 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -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.50.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:
|