google-apis-aiplatform_v1 0.57.0 → 0.58.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: c81d10c864778028d8c54294fd690139bc44becfe20f754ea115c47493a66d6d
|
4
|
+
data.tar.gz: 3c114a318d7b8021fc500f72a7eeb7982b7421283ebef679f9879fae5dedc9c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a7bada0cb80a67dbde5f3cfbaa8db2b48caa4be29efdacbe7aac8cd9e99fcbac23f7819c1c6c92048c3f99d150094277bc2f674460f9f6b9f92c7663a07fd7d
|
7
|
+
data.tar.gz: 1c60be79745b343ca298a866302056bad3f7b6f12ca445775a24effac44354f501bf9759ca3af3c5c715cfb67a76814d756759c0a6eb5b23f9ea26817fe43995
|
data/CHANGELOG.md
CHANGED
@@ -2748,7 +2748,8 @@ module Google
|
|
2748
2748
|
|
2749
2749
|
# Optional. Display name of the blob. Used to provide a label or filename to
|
2750
2750
|
# distinguish blobs. This field is only returned in PromptMessage for prompt
|
2751
|
-
# management. It is
|
2751
|
+
# management. It is currently used in the Gemini GenerateContent calls only when
|
2752
|
+
# server side tools (code_execution, google_search, and url_context) are enabled.
|
2752
2753
|
# Corresponds to the JSON property `displayName`
|
2753
2754
|
# @return [String]
|
2754
2755
|
attr_accessor :display_name
|
@@ -11730,8 +11731,9 @@ module Google
|
|
11730
11731
|
|
11731
11732
|
# Optional. Display name of the file data. Used to provide a label or filename
|
11732
11733
|
# to distinguish file datas. This field is only returned in PromptMessage for
|
11733
|
-
# prompt management. It is
|
11734
|
-
#
|
11734
|
+
# prompt management. It is currently used in the Gemini GenerateContent calls
|
11735
|
+
# only when server side tools (code_execution, google_search, and url_context)
|
11736
|
+
# are enabled.
|
11735
11737
|
# Corresponds to the JSON property `displayName`
|
11736
11738
|
# @return [String]
|
11737
11739
|
attr_accessor :display_name
|
@@ -24523,6 +24525,12 @@ module Google
|
|
24523
24525
|
# @return [String]
|
24524
24526
|
attr_accessor :display_name
|
24525
24527
|
|
24528
|
+
# Represents a customer-managed encryption key spec that can be applied to a top-
|
24529
|
+
# level resource.
|
24530
|
+
# Corresponds to the JSON property `encryptionSpec`
|
24531
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
|
24532
|
+
attr_accessor :encryption_spec
|
24533
|
+
|
24526
24534
|
# Output only. The resource name of the RagCorpus.
|
24527
24535
|
# Corresponds to the JSON property `name`
|
24528
24536
|
# @return [String]
|
@@ -24553,6 +24561,7 @@ module Google
|
|
24553
24561
|
@create_time = args[:create_time] if args.key?(:create_time)
|
24554
24562
|
@description = args[:description] if args.key?(:description)
|
24555
24563
|
@display_name = args[:display_name] if args.key?(:display_name)
|
24564
|
+
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
24556
24565
|
@name = args[:name] if args.key?(:name)
|
24557
24566
|
@update_time = args[:update_time] if args.key?(:update_time)
|
24558
24567
|
@vector_db_config = args[:vector_db_config] if args.key?(:vector_db_config)
|
@@ -24615,6 +24624,32 @@ module Google
|
|
24615
24624
|
end
|
24616
24625
|
end
|
24617
24626
|
|
24627
|
+
# Config for RagEngine.
|
24628
|
+
class GoogleCloudAiplatformV1RagEngineConfig
|
24629
|
+
include Google::Apis::Core::Hashable
|
24630
|
+
|
24631
|
+
# Identifier. The name of the RagEngineConfig. Format: `projects/`project`/
|
24632
|
+
# locations/`location`/ragEngineConfig`
|
24633
|
+
# Corresponds to the JSON property `name`
|
24634
|
+
# @return [String]
|
24635
|
+
attr_accessor :name
|
24636
|
+
|
24637
|
+
# Configuration message for RagManagedDb used by RagEngine.
|
24638
|
+
# Corresponds to the JSON property `ragManagedDbConfig`
|
24639
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfig]
|
24640
|
+
attr_accessor :rag_managed_db_config
|
24641
|
+
|
24642
|
+
def initialize(**args)
|
24643
|
+
update!(**args)
|
24644
|
+
end
|
24645
|
+
|
24646
|
+
# Update properties of this object
|
24647
|
+
def update!(**args)
|
24648
|
+
@name = args[:name] if args.key?(:name)
|
24649
|
+
@rag_managed_db_config = args[:rag_managed_db_config] if args.key?(:rag_managed_db_config)
|
24650
|
+
end
|
24651
|
+
end
|
24652
|
+
|
24618
24653
|
# A RagFile contains user data for chunking, embedding and indexing.
|
24619
24654
|
class GoogleCloudAiplatformV1RagFile
|
24620
24655
|
include Google::Apis::Core::Hashable
|
@@ -24680,6 +24715,12 @@ module Google
|
|
24680
24715
|
# @return [String]
|
24681
24716
|
attr_accessor :update_time
|
24682
24717
|
|
24718
|
+
# Output only. The metadata for metadata search. The user_metadata Needs to be
|
24719
|
+
# in JSON format.
|
24720
|
+
# Corresponds to the JSON property `userMetadata`
|
24721
|
+
# @return [String]
|
24722
|
+
attr_accessor :user_metadata
|
24723
|
+
|
24683
24724
|
def initialize(**args)
|
24684
24725
|
update!(**args)
|
24685
24726
|
end
|
@@ -24698,6 +24739,7 @@ module Google
|
|
24698
24739
|
@share_point_sources = args[:share_point_sources] if args.key?(:share_point_sources)
|
24699
24740
|
@slack_source = args[:slack_source] if args.key?(:slack_source)
|
24700
24741
|
@update_time = args[:update_time] if args.key?(:update_time)
|
24742
|
+
@user_metadata = args[:user_metadata] if args.key?(:user_metadata)
|
24701
24743
|
end
|
24702
24744
|
end
|
24703
24745
|
|
@@ -24857,6 +24899,92 @@ module Google
|
|
24857
24899
|
end
|
24858
24900
|
end
|
24859
24901
|
|
24902
|
+
# Configuration message for RagManagedDb used by RagEngine.
|
24903
|
+
class GoogleCloudAiplatformV1RagManagedDbConfig
|
24904
|
+
include Google::Apis::Core::Hashable
|
24905
|
+
|
24906
|
+
# Basic tier is a cost-effective and low compute tier suitable for the following
|
24907
|
+
# cases: * Experimenting with RagManagedDb. * Small data size. * Latency
|
24908
|
+
# insensitive workload. * Only using RAG Engine with external vector DBs. NOTE:
|
24909
|
+
# This is the default tier if not explicitly chosen.
|
24910
|
+
# Corresponds to the JSON property `basic`
|
24911
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigBasic]
|
24912
|
+
attr_accessor :basic
|
24913
|
+
|
24914
|
+
# Scaled tier offers production grade performance along with autoscaling
|
24915
|
+
# functionality. It is suitable for customers with large amounts of data or
|
24916
|
+
# performance sensitive workloads.
|
24917
|
+
# Corresponds to the JSON property `scaled`
|
24918
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigScaled]
|
24919
|
+
attr_accessor :scaled
|
24920
|
+
|
24921
|
+
# Disables the RAG Engine service and deletes all your data held within this
|
24922
|
+
# service. This will halt the billing of the service. NOTE: Once deleted the
|
24923
|
+
# data cannot be recovered. To start using RAG Engine again, you will need to
|
24924
|
+
# update the tier by calling the UpdateRagEngineConfig API.
|
24925
|
+
# Corresponds to the JSON property `unprovisioned`
|
24926
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned]
|
24927
|
+
attr_accessor :unprovisioned
|
24928
|
+
|
24929
|
+
def initialize(**args)
|
24930
|
+
update!(**args)
|
24931
|
+
end
|
24932
|
+
|
24933
|
+
# Update properties of this object
|
24934
|
+
def update!(**args)
|
24935
|
+
@basic = args[:basic] if args.key?(:basic)
|
24936
|
+
@scaled = args[:scaled] if args.key?(:scaled)
|
24937
|
+
@unprovisioned = args[:unprovisioned] if args.key?(:unprovisioned)
|
24938
|
+
end
|
24939
|
+
end
|
24940
|
+
|
24941
|
+
# Basic tier is a cost-effective and low compute tier suitable for the following
|
24942
|
+
# cases: * Experimenting with RagManagedDb. * Small data size. * Latency
|
24943
|
+
# insensitive workload. * Only using RAG Engine with external vector DBs. NOTE:
|
24944
|
+
# This is the default tier if not explicitly chosen.
|
24945
|
+
class GoogleCloudAiplatformV1RagManagedDbConfigBasic
|
24946
|
+
include Google::Apis::Core::Hashable
|
24947
|
+
|
24948
|
+
def initialize(**args)
|
24949
|
+
update!(**args)
|
24950
|
+
end
|
24951
|
+
|
24952
|
+
# Update properties of this object
|
24953
|
+
def update!(**args)
|
24954
|
+
end
|
24955
|
+
end
|
24956
|
+
|
24957
|
+
# Scaled tier offers production grade performance along with autoscaling
|
24958
|
+
# functionality. It is suitable for customers with large amounts of data or
|
24959
|
+
# performance sensitive workloads.
|
24960
|
+
class GoogleCloudAiplatformV1RagManagedDbConfigScaled
|
24961
|
+
include Google::Apis::Core::Hashable
|
24962
|
+
|
24963
|
+
def initialize(**args)
|
24964
|
+
update!(**args)
|
24965
|
+
end
|
24966
|
+
|
24967
|
+
# Update properties of this object
|
24968
|
+
def update!(**args)
|
24969
|
+
end
|
24970
|
+
end
|
24971
|
+
|
24972
|
+
# Disables the RAG Engine service and deletes all your data held within this
|
24973
|
+
# service. This will halt the billing of the service. NOTE: Once deleted the
|
24974
|
+
# data cannot be recovered. To start using RAG Engine again, you will need to
|
24975
|
+
# update the tier by calling the UpdateRagEngineConfig API.
|
24976
|
+
class GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned
|
24977
|
+
include Google::Apis::Core::Hashable
|
24978
|
+
|
24979
|
+
def initialize(**args)
|
24980
|
+
update!(**args)
|
24981
|
+
end
|
24982
|
+
|
24983
|
+
# Update properties of this object
|
24984
|
+
def update!(**args)
|
24985
|
+
end
|
24986
|
+
end
|
24987
|
+
|
24860
24988
|
# A query to retrieve relevant contexts.
|
24861
24989
|
class GoogleCloudAiplatformV1RagQuery
|
24862
24990
|
include Google::Apis::Core::Hashable
|
@@ -26685,6 +26813,13 @@ module Google
|
|
26685
26813
|
# @return [String]
|
26686
26814
|
attr_accessor :category
|
26687
26815
|
|
26816
|
+
# Output only. The overwritten threshold for the safety category of Gemini 2.0
|
26817
|
+
# image out. If minors are detected in the output image, the threshold of each
|
26818
|
+
# safety category will be overwritten if user sets a lower threshold.
|
26819
|
+
# Corresponds to the JSON property `overwrittenThreshold`
|
26820
|
+
# @return [String]
|
26821
|
+
attr_accessor :overwritten_threshold
|
26822
|
+
|
26688
26823
|
# Output only. Harm probability levels in the content.
|
26689
26824
|
# Corresponds to the JSON property `probability`
|
26690
26825
|
# @return [String]
|
@@ -26713,6 +26848,7 @@ module Google
|
|
26713
26848
|
def update!(**args)
|
26714
26849
|
@blocked = args[:blocked] if args.key?(:blocked)
|
26715
26850
|
@category = args[:category] if args.key?(:category)
|
26851
|
+
@overwritten_threshold = args[:overwritten_threshold] if args.key?(:overwritten_threshold)
|
26716
26852
|
@probability = args[:probability] if args.key?(:probability)
|
26717
26853
|
@probability_score = args[:probability_score] if args.key?(:probability_score)
|
26718
26854
|
@severity = args[:severity] if args.key?(:severity)
|
@@ -36397,7 +36533,8 @@ module Google
|
|
36397
36533
|
# @return [Fixnum]
|
36398
36534
|
attr_accessor :epoch_count
|
36399
36535
|
|
36400
|
-
# Optional. Multiplier for adjusting the default learning rate.
|
36536
|
+
# Optional. Multiplier for adjusting the default learning rate. Mutually
|
36537
|
+
# exclusive with `learning_rate`.
|
36401
36538
|
# Corresponds to the JSON property `learningRateMultiplier`
|
36402
36539
|
# @return [Float]
|
36403
36540
|
attr_accessor :learning_rate_multiplier
|
@@ -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.58.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250613"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -3958,6 +3958,12 @@ module Google
|
|
3958
3958
|
include Google::Apis::Core::JsonObjectSupport
|
3959
3959
|
end
|
3960
3960
|
|
3961
|
+
class GoogleCloudAiplatformV1RagEngineConfig
|
3962
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3963
|
+
|
3964
|
+
include Google::Apis::Core::JsonObjectSupport
|
3965
|
+
end
|
3966
|
+
|
3961
3967
|
class GoogleCloudAiplatformV1RagFile
|
3962
3968
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3963
3969
|
|
@@ -4000,6 +4006,30 @@ module Google
|
|
4000
4006
|
include Google::Apis::Core::JsonObjectSupport
|
4001
4007
|
end
|
4002
4008
|
|
4009
|
+
class GoogleCloudAiplatformV1RagManagedDbConfig
|
4010
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4011
|
+
|
4012
|
+
include Google::Apis::Core::JsonObjectSupport
|
4013
|
+
end
|
4014
|
+
|
4015
|
+
class GoogleCloudAiplatformV1RagManagedDbConfigBasic
|
4016
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4017
|
+
|
4018
|
+
include Google::Apis::Core::JsonObjectSupport
|
4019
|
+
end
|
4020
|
+
|
4021
|
+
class GoogleCloudAiplatformV1RagManagedDbConfigScaled
|
4022
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4023
|
+
|
4024
|
+
include Google::Apis::Core::JsonObjectSupport
|
4025
|
+
end
|
4026
|
+
|
4027
|
+
class GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned
|
4028
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4029
|
+
|
4030
|
+
include Google::Apis::Core::JsonObjectSupport
|
4031
|
+
end
|
4032
|
+
|
4003
4033
|
class GoogleCloudAiplatformV1RagQuery
|
4004
4034
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4005
4035
|
|
@@ -13849,6 +13879,8 @@ module Google
|
|
13849
13879
|
property :create_time, as: 'createTime'
|
13850
13880
|
property :description, as: 'description'
|
13851
13881
|
property :display_name, as: 'displayName'
|
13882
|
+
property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec::Representation
|
13883
|
+
|
13852
13884
|
property :name, as: 'name'
|
13853
13885
|
property :update_time, as: 'updateTime'
|
13854
13886
|
property :vector_db_config, as: 'vectorDbConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfig::Representation
|
@@ -13875,6 +13907,15 @@ module Google
|
|
13875
13907
|
end
|
13876
13908
|
end
|
13877
13909
|
|
13910
|
+
class GoogleCloudAiplatformV1RagEngineConfig
|
13911
|
+
# @private
|
13912
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13913
|
+
property :name, as: 'name'
|
13914
|
+
property :rag_managed_db_config, as: 'ragManagedDbConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfig::Representation
|
13915
|
+
|
13916
|
+
end
|
13917
|
+
end
|
13918
|
+
|
13878
13919
|
class GoogleCloudAiplatformV1RagFile
|
13879
13920
|
# @private
|
13880
13921
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -13897,6 +13938,7 @@ module Google
|
|
13897
13938
|
property :slack_source, as: 'slackSource', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SlackSource, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SlackSource::Representation
|
13898
13939
|
|
13899
13940
|
property :update_time, as: 'updateTime'
|
13941
|
+
property :user_metadata, as: 'userMetadata'
|
13900
13942
|
end
|
13901
13943
|
end
|
13902
13944
|
|
@@ -13951,6 +13993,36 @@ module Google
|
|
13951
13993
|
end
|
13952
13994
|
end
|
13953
13995
|
|
13996
|
+
class GoogleCloudAiplatformV1RagManagedDbConfig
|
13997
|
+
# @private
|
13998
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13999
|
+
property :basic, as: 'basic', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigBasic, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigBasic::Representation
|
14000
|
+
|
14001
|
+
property :scaled, as: 'scaled', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigScaled, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigScaled::Representation
|
14002
|
+
|
14003
|
+
property :unprovisioned, as: 'unprovisioned', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned::Representation
|
14004
|
+
|
14005
|
+
end
|
14006
|
+
end
|
14007
|
+
|
14008
|
+
class GoogleCloudAiplatformV1RagManagedDbConfigBasic
|
14009
|
+
# @private
|
14010
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14011
|
+
end
|
14012
|
+
end
|
14013
|
+
|
14014
|
+
class GoogleCloudAiplatformV1RagManagedDbConfigScaled
|
14015
|
+
# @private
|
14016
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14017
|
+
end
|
14018
|
+
end
|
14019
|
+
|
14020
|
+
class GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned
|
14021
|
+
# @private
|
14022
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
14023
|
+
end
|
14024
|
+
end
|
14025
|
+
|
13954
14026
|
class GoogleCloudAiplatformV1RagQuery
|
13955
14027
|
# @private
|
13956
14028
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -14563,6 +14635,7 @@ module Google
|
|
14563
14635
|
class Representation < Google::Apis::Core::JsonRepresentation
|
14564
14636
|
property :blocked, as: 'blocked'
|
14565
14637
|
property :category, as: 'category'
|
14638
|
+
property :overwritten_threshold, as: 'overwrittenThreshold'
|
14566
14639
|
property :probability, as: 'probability'
|
14567
14640
|
property :probability_score, as: 'probabilityScore'
|
14568
14641
|
property :severity, as: 'severity'
|
@@ -1172,6 +1172,37 @@ module Google
|
|
1172
1172
|
execute_or_queue_command(command, &block)
|
1173
1173
|
end
|
1174
1174
|
|
1175
|
+
# Gets a RagEngineConfig.
|
1176
|
+
# @param [String] name
|
1177
|
+
# Required. The name of the RagEngineConfig resource. Format: `projects/`project`
|
1178
|
+
# /locations/`location`/ragEngineConfig`
|
1179
|
+
# @param [String] fields
|
1180
|
+
# Selector specifying which fields to include in a partial response.
|
1181
|
+
# @param [String] quota_user
|
1182
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1183
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1184
|
+
# @param [Google::Apis::RequestOptions] options
|
1185
|
+
# Request-specific options
|
1186
|
+
#
|
1187
|
+
# @yield [result, err] Result & error if block supplied
|
1188
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagEngineConfig] parsed result object
|
1189
|
+
# @yieldparam err [StandardError] error object if request failed
|
1190
|
+
#
|
1191
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagEngineConfig]
|
1192
|
+
#
|
1193
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1194
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1195
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1196
|
+
def get_project_location_rag_engine_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
1197
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1198
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagEngineConfig::Representation
|
1199
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagEngineConfig
|
1200
|
+
command.params['name'] = name unless name.nil?
|
1201
|
+
command.query['fields'] = fields unless fields.nil?
|
1202
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1203
|
+
execute_or_queue_command(command, &block)
|
1204
|
+
end
|
1205
|
+
|
1175
1206
|
# Lists information about the supported locations for this service.
|
1176
1207
|
# @param [String] name
|
1177
1208
|
# The resource that owns the locations collection, if applicable.
|
@@ -1254,6 +1285,40 @@ module Google
|
|
1254
1285
|
execute_or_queue_command(command, &block)
|
1255
1286
|
end
|
1256
1287
|
|
1288
|
+
# Updates a RagEngineConfig.
|
1289
|
+
# @param [String] name
|
1290
|
+
# Identifier. The name of the RagEngineConfig. Format: `projects/`project`/
|
1291
|
+
# locations/`location`/ragEngineConfig`
|
1292
|
+
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagEngineConfig] google_cloud_aiplatform_v1_rag_engine_config_object
|
1293
|
+
# @param [String] fields
|
1294
|
+
# Selector specifying which fields to include in a partial response.
|
1295
|
+
# @param [String] quota_user
|
1296
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1297
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1298
|
+
# @param [Google::Apis::RequestOptions] options
|
1299
|
+
# Request-specific options
|
1300
|
+
#
|
1301
|
+
# @yield [result, err] Result & error if block supplied
|
1302
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
1303
|
+
# @yieldparam err [StandardError] error object if request failed
|
1304
|
+
#
|
1305
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
1306
|
+
#
|
1307
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1308
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1309
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1310
|
+
def update_project_location_rag_engine_config(name, google_cloud_aiplatform_v1_rag_engine_config_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1311
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1312
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagEngineConfig::Representation
|
1313
|
+
command.request_object = google_cloud_aiplatform_v1_rag_engine_config_object
|
1314
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
1315
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
1316
|
+
command.params['name'] = name unless name.nil?
|
1317
|
+
command.query['fields'] = fields unless fields.nil?
|
1318
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1319
|
+
execute_or_queue_command(command, &block)
|
1320
|
+
end
|
1321
|
+
|
1257
1322
|
# Cancels a BatchPredictionJob. Starts asynchronous cancellation on the
|
1258
1323
|
# BatchPredictionJob. The server makes the best effort to cancel the job, but
|
1259
1324
|
# success is not guaranteed. Clients can use JobService.GetBatchPredictionJob or
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-aiplatform_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.58.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.58.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:
|