google-apis-aiplatform_v1 0.57.0 → 0.59.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: 70ec84185899d1940fc4783864cfd9ffb0dba695eb91076d79aabe9dd4ff9393
4
- data.tar.gz: cc092fe1f0af02a96713445e79ba5425b6665f76194ef1c12e3dd36c86a2edb3
3
+ metadata.gz: a3cc645e80efc631f54ebde57024842d53a443d70a15562eb2f071f81eff08d0
4
+ data.tar.gz: bbc9ca9cd29275fb61013d8677ea08b39f807ce9d86706b69b5d46cd7f7fab98
5
5
  SHA512:
6
- metadata.gz: 8dda469cf1f759a535a8094cceedfe50f29d78d27008faca9e75f14c01f4b453503ce1f023380d41780082db347e69c1d817b414ad3ff95bf65300708865fdcf
7
- data.tar.gz: 888c095bdd6cf453d66f230fd32945cc14e933c90044fa3798c5193ab25549cab090135e9ce42c7bf055f92908d647e029dd2f94c55897aca00c305757e0e79e
6
+ metadata.gz: 1042b31b37409f55a3ad11ceafff8f4d38234831844f65c938ddfee1bcf93eb1ccee7ef5c3c7f9c1f1fa0d27837c0ae1196c93c531132ec6fbfabfef37f824ec
7
+ data.tar.gz: 2ad17452f1122335b95db5cc03f3bad8b202071a34c0fd064ffbd6e543138a374c7e3b9ac43c7fdb31cadb297320464e3e4be47454ffd8be1331f3af961bd8ad
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-aiplatform_v1
2
2
 
3
+ ### v0.59.0 (2025-07-06)
4
+
5
+ * Regenerated from discovery document revision 20250701
6
+
7
+ ### v0.58.0 (2025-06-29)
8
+
9
+ * Regenerated from discovery document revision 20250613
10
+
3
11
  ### v0.57.0 (2025-06-22)
4
12
 
5
13
  * Regenerated from discovery document revision 20250606
@@ -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 not currently used in the Gemini GenerateContent calls.
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
@@ -10753,9 +10754,9 @@ module Google
10753
10754
 
10754
10755
  # Feature generation timestamp. Typically, it is provided by user at feature
10755
10756
  # ingestion time. If not, feature store will use the system timestamp when the
10756
- # data is ingested into feature store. For streaming ingestion, the time,
10757
- # aligned by days, must be no older than five years (1825 days) and no later
10758
- # than one year (366 days) in the future.
10757
+ # data is ingested into feature store. Legacy Feature Store: For streaming
10758
+ # ingestion, the time, aligned by days, must be no older than five years (1825
10759
+ # days) and no later than one year (366 days) in the future.
10759
10760
  # Corresponds to the JSON property `generateTime`
10760
10761
  # @return [String]
10761
10762
  attr_accessor :generate_time
@@ -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 not currently used in the Gemini GenerateContent
11734
- # calls.
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
@@ -13047,8 +13049,7 @@ module Google
13047
13049
  attr_accessor :include_thoughts
13048
13050
  alias_method :include_thoughts?, :include_thoughts
13049
13051
 
13050
- # Optional. Indicates the thinking budget in tokens. This is only applied when
13051
- # enable_thinking is true.
13052
+ # Optional. Indicates the thinking budget in tokens.
13052
13053
  # Corresponds to the JSON property `thinkingBudget`
13053
13054
  # @return [Fixnum]
13054
13055
  attr_accessor :thinking_budget
@@ -16708,7 +16709,7 @@ module Google
16708
16709
  end
16709
16710
  end
16710
16711
 
16711
- # The metric used for dataset level evaluation.
16712
+ # The metric used for running evaluations.
16712
16713
  class GoogleCloudAiplatformV1Metric
16713
16714
  include Google::Apis::Core::Hashable
16714
16715
 
@@ -17774,10 +17775,11 @@ module Google
17774
17775
 
17775
17776
  # Immutable. Invoke route prefix for the custom container. "/*" is the only
17776
17777
  # supported value right now. By setting this field, any non-root route on this
17777
- # model will be accessible with [PredictionService.Invoke] eg: "/invoke/foo/bar".
17778
- # Only one of `predict_route` or `invoke_route_prefix` can be set, and we
17779
- # default to using `predict_route` if this field is not set. If this field is
17780
- # set, the Model can only be deployed to dedicated endpoint.
17778
+ # model will be accessible with invoke http call eg: "/invoke/foo/bar", however
17779
+ # the [PredictionService.Invoke] RPC is not supported yet. Only one of `
17780
+ # predict_route` or `invoke_route_prefix` can be set, and we default to using `
17781
+ # predict_route` if this field is not set. If this field is set, the Model can
17782
+ # only be deployed to dedicated endpoint.
17781
17783
  # Corresponds to the JSON property `invokeRoutePrefix`
17782
17784
  # @return [String]
17783
17785
  attr_accessor :invoke_route_prefix
@@ -20923,8 +20925,8 @@ module Google
20923
20925
  end
20924
20926
  end
20925
20927
 
20926
- # PSC config that is used to automatically create forwarding rule via
20927
- # ServiceConnectionMap.
20928
+ # PSC config that is used to automatically create PSC endpoints in the user
20929
+ # projects.
20928
20930
  class GoogleCloudAiplatformV1PscAutomationConfig
20929
20931
  include Google::Apis::Core::Hashable
20930
20932
 
@@ -20945,9 +20947,8 @@ module Google
20945
20947
 
20946
20948
  # Required. The full name of the Google Compute Engine [network](https://cloud.
20947
20949
  # google.com/compute/docs/networks-and-firewalls#networks). [Format](https://
20948
- # cloud.google.com/compute/docs/reference/rest/v1/networks/insert): `projects/`
20949
- # project`/global/networks/`network``. Where `project` is a project number, as
20950
- # in '12345', and `network` is network name.
20950
+ # cloud.google.com/compute/docs/reference/rest/v1/networks/get): `projects/`
20951
+ # project`/global/networks/`network``.
20951
20952
  # Corresponds to the JSON property `network`
20952
20953
  # @return [String]
20953
20954
  attr_accessor :network
@@ -22012,6 +22013,16 @@ module Google
22012
22013
  # @return [String]
22013
22014
  attr_accessor :task_name
22014
22015
 
22016
+ # Output only. The unique name of a task. This field is used by rerun pipeline
22017
+ # job. Console UI and Vertex AI SDK will support triggering pipeline job reruns.
22018
+ # The name is constructed by concatenating all the parent tasks name with the
22019
+ # task name. For example, if a task named "child_task" has a parent task named "
22020
+ # parent_task_1" and parent task 1 has a parent task named "parent_task_2", the
22021
+ # task unique name will be "parent_task_2.parent_task_1.child_task".
22022
+ # Corresponds to the JSON property `taskUniqueName`
22023
+ # @return [String]
22024
+ attr_accessor :task_unique_name
22025
+
22015
22026
  def initialize(**args)
22016
22027
  update!(**args)
22017
22028
  end
@@ -22031,6 +22042,7 @@ module Google
22031
22042
  @state = args[:state] if args.key?(:state)
22032
22043
  @task_id = args[:task_id] if args.key?(:task_id)
22033
22044
  @task_name = args[:task_name] if args.key?(:task_name)
22045
+ @task_unique_name = args[:task_unique_name] if args.key?(:task_unique_name)
22034
22046
  end
22035
22047
  end
22036
22048
 
@@ -22711,6 +22723,12 @@ module Google
22711
22723
  # @return [Array<String>]
22712
22724
  attr_accessor :project_allowlist
22713
22725
 
22726
+ # Optional. List of projects and networks where the PSC endpoints will be
22727
+ # created. This field is used by Online Inference(Prediction) only.
22728
+ # Corresponds to the JSON property `pscAutomationConfigs`
22729
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PscAutomationConfig>]
22730
+ attr_accessor :psc_automation_configs
22731
+
22714
22732
  # Output only. The name of the generated service attachment resource. This is
22715
22733
  # only populated if the endpoint is deployed with PrivateServiceConnect.
22716
22734
  # Corresponds to the JSON property `serviceAttachment`
@@ -22725,6 +22743,7 @@ module Google
22725
22743
  def update!(**args)
22726
22744
  @enable_private_service_connect = args[:enable_private_service_connect] if args.key?(:enable_private_service_connect)
22727
22745
  @project_allowlist = args[:project_allowlist] if args.key?(:project_allowlist)
22746
+ @psc_automation_configs = args[:psc_automation_configs] if args.key?(:psc_automation_configs)
22728
22747
  @service_attachment = args[:service_attachment] if args.key?(:service_attachment)
22729
22748
  end
22730
22749
  end
@@ -24523,6 +24542,12 @@ module Google
24523
24542
  # @return [String]
24524
24543
  attr_accessor :display_name
24525
24544
 
24545
+ # Represents a customer-managed encryption key spec that can be applied to a top-
24546
+ # level resource.
24547
+ # Corresponds to the JSON property `encryptionSpec`
24548
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
24549
+ attr_accessor :encryption_spec
24550
+
24526
24551
  # Output only. The resource name of the RagCorpus.
24527
24552
  # Corresponds to the JSON property `name`
24528
24553
  # @return [String]
@@ -24553,6 +24578,7 @@ module Google
24553
24578
  @create_time = args[:create_time] if args.key?(:create_time)
24554
24579
  @description = args[:description] if args.key?(:description)
24555
24580
  @display_name = args[:display_name] if args.key?(:display_name)
24581
+ @encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
24556
24582
  @name = args[:name] if args.key?(:name)
24557
24583
  @update_time = args[:update_time] if args.key?(:update_time)
24558
24584
  @vector_db_config = args[:vector_db_config] if args.key?(:vector_db_config)
@@ -24615,6 +24641,32 @@ module Google
24615
24641
  end
24616
24642
  end
24617
24643
 
24644
+ # Config for RagEngine.
24645
+ class GoogleCloudAiplatformV1RagEngineConfig
24646
+ include Google::Apis::Core::Hashable
24647
+
24648
+ # Identifier. The name of the RagEngineConfig. Format: `projects/`project`/
24649
+ # locations/`location`/ragEngineConfig`
24650
+ # Corresponds to the JSON property `name`
24651
+ # @return [String]
24652
+ attr_accessor :name
24653
+
24654
+ # Configuration message for RagManagedDb used by RagEngine.
24655
+ # Corresponds to the JSON property `ragManagedDbConfig`
24656
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfig]
24657
+ attr_accessor :rag_managed_db_config
24658
+
24659
+ def initialize(**args)
24660
+ update!(**args)
24661
+ end
24662
+
24663
+ # Update properties of this object
24664
+ def update!(**args)
24665
+ @name = args[:name] if args.key?(:name)
24666
+ @rag_managed_db_config = args[:rag_managed_db_config] if args.key?(:rag_managed_db_config)
24667
+ end
24668
+ end
24669
+
24618
24670
  # A RagFile contains user data for chunking, embedding and indexing.
24619
24671
  class GoogleCloudAiplatformV1RagFile
24620
24672
  include Google::Apis::Core::Hashable
@@ -24680,6 +24732,12 @@ module Google
24680
24732
  # @return [String]
24681
24733
  attr_accessor :update_time
24682
24734
 
24735
+ # Output only. The metadata for metadata search. The user_metadata Needs to be
24736
+ # in JSON format.
24737
+ # Corresponds to the JSON property `userMetadata`
24738
+ # @return [String]
24739
+ attr_accessor :user_metadata
24740
+
24683
24741
  def initialize(**args)
24684
24742
  update!(**args)
24685
24743
  end
@@ -24698,6 +24756,7 @@ module Google
24698
24756
  @share_point_sources = args[:share_point_sources] if args.key?(:share_point_sources)
24699
24757
  @slack_source = args[:slack_source] if args.key?(:slack_source)
24700
24758
  @update_time = args[:update_time] if args.key?(:update_time)
24759
+ @user_metadata = args[:user_metadata] if args.key?(:user_metadata)
24701
24760
  end
24702
24761
  end
24703
24762
 
@@ -24857,6 +24916,92 @@ module Google
24857
24916
  end
24858
24917
  end
24859
24918
 
24919
+ # Configuration message for RagManagedDb used by RagEngine.
24920
+ class GoogleCloudAiplatformV1RagManagedDbConfig
24921
+ include Google::Apis::Core::Hashable
24922
+
24923
+ # Basic tier is a cost-effective and low compute tier suitable for the following
24924
+ # cases: * Experimenting with RagManagedDb. * Small data size. * Latency
24925
+ # insensitive workload. * Only using RAG Engine with external vector DBs. NOTE:
24926
+ # This is the default tier if not explicitly chosen.
24927
+ # Corresponds to the JSON property `basic`
24928
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigBasic]
24929
+ attr_accessor :basic
24930
+
24931
+ # Scaled tier offers production grade performance along with autoscaling
24932
+ # functionality. It is suitable for customers with large amounts of data or
24933
+ # performance sensitive workloads.
24934
+ # Corresponds to the JSON property `scaled`
24935
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigScaled]
24936
+ attr_accessor :scaled
24937
+
24938
+ # Disables the RAG Engine service and deletes all your data held within this
24939
+ # service. This will halt the billing of the service. NOTE: Once deleted the
24940
+ # data cannot be recovered. To start using RAG Engine again, you will need to
24941
+ # update the tier by calling the UpdateRagEngineConfig API.
24942
+ # Corresponds to the JSON property `unprovisioned`
24943
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned]
24944
+ attr_accessor :unprovisioned
24945
+
24946
+ def initialize(**args)
24947
+ update!(**args)
24948
+ end
24949
+
24950
+ # Update properties of this object
24951
+ def update!(**args)
24952
+ @basic = args[:basic] if args.key?(:basic)
24953
+ @scaled = args[:scaled] if args.key?(:scaled)
24954
+ @unprovisioned = args[:unprovisioned] if args.key?(:unprovisioned)
24955
+ end
24956
+ end
24957
+
24958
+ # Basic tier is a cost-effective and low compute tier suitable for the following
24959
+ # cases: * Experimenting with RagManagedDb. * Small data size. * Latency
24960
+ # insensitive workload. * Only using RAG Engine with external vector DBs. NOTE:
24961
+ # This is the default tier if not explicitly chosen.
24962
+ class GoogleCloudAiplatformV1RagManagedDbConfigBasic
24963
+ include Google::Apis::Core::Hashable
24964
+
24965
+ def initialize(**args)
24966
+ update!(**args)
24967
+ end
24968
+
24969
+ # Update properties of this object
24970
+ def update!(**args)
24971
+ end
24972
+ end
24973
+
24974
+ # Scaled tier offers production grade performance along with autoscaling
24975
+ # functionality. It is suitable for customers with large amounts of data or
24976
+ # performance sensitive workloads.
24977
+ class GoogleCloudAiplatformV1RagManagedDbConfigScaled
24978
+ include Google::Apis::Core::Hashable
24979
+
24980
+ def initialize(**args)
24981
+ update!(**args)
24982
+ end
24983
+
24984
+ # Update properties of this object
24985
+ def update!(**args)
24986
+ end
24987
+ end
24988
+
24989
+ # Disables the RAG Engine service and deletes all your data held within this
24990
+ # service. This will halt the billing of the service. NOTE: Once deleted the
24991
+ # data cannot be recovered. To start using RAG Engine again, you will need to
24992
+ # update the tier by calling the UpdateRagEngineConfig API.
24993
+ class GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned
24994
+ include Google::Apis::Core::Hashable
24995
+
24996
+ def initialize(**args)
24997
+ update!(**args)
24998
+ end
24999
+
25000
+ # Update properties of this object
25001
+ def update!(**args)
25002
+ end
25003
+ end
25004
+
24860
25005
  # A query to retrieve relevant contexts.
24861
25006
  class GoogleCloudAiplatformV1RagQuery
24862
25007
  include Google::Apis::Core::Hashable
@@ -26685,6 +26830,13 @@ module Google
26685
26830
  # @return [String]
26686
26831
  attr_accessor :category
26687
26832
 
26833
+ # Output only. The overwritten threshold for the safety category of Gemini 2.0
26834
+ # image out. If minors are detected in the output image, the threshold of each
26835
+ # safety category will be overwritten if user sets a lower threshold.
26836
+ # Corresponds to the JSON property `overwrittenThreshold`
26837
+ # @return [String]
26838
+ attr_accessor :overwritten_threshold
26839
+
26688
26840
  # Output only. Harm probability levels in the content.
26689
26841
  # Corresponds to the JSON property `probability`
26690
26842
  # @return [String]
@@ -26713,6 +26865,7 @@ module Google
26713
26865
  def update!(**args)
26714
26866
  @blocked = args[:blocked] if args.key?(:blocked)
26715
26867
  @category = args[:category] if args.key?(:category)
26868
+ @overwritten_threshold = args[:overwritten_threshold] if args.key?(:overwritten_threshold)
26716
26869
  @probability = args[:probability] if args.key?(:probability)
26717
26870
  @probability_score = args[:probability_score] if args.key?(:probability_score)
26718
26871
  @severity = args[:severity] if args.key?(:severity)
@@ -36397,7 +36550,8 @@ module Google
36397
36550
  # @return [Fixnum]
36398
36551
  attr_accessor :epoch_count
36399
36552
 
36400
- # Optional. Multiplier for adjusting the default learning rate.
36553
+ # Optional. Multiplier for adjusting the default learning rate. Mutually
36554
+ # exclusive with `learning_rate`.
36401
36555
  # Corresponds to the JSON property `learningRateMultiplier`
36402
36556
  # @return [Float]
36403
36557
  attr_accessor :learning_rate_multiplier
@@ -38991,7 +39145,10 @@ module Google
38991
39145
  attr_accessor :endpoint
38992
39146
 
38993
39147
  # Output only. The resource name of the TunedModel. Format: `projects/`project`/
38994
- # locations/`location`/models/`model``.
39148
+ # locations/`location`/models/`model`@`version_id`` When tuning from a base
39149
+ # model, the version_id will be 1. For continuous tuning, the version id will be
39150
+ # incremented by 1 from the last version id in the parent model. E.g., `projects/
39151
+ # `project`/locations/`location`/models/`model`@`last_version_id + 1``
38995
39152
  # Corresponds to the JSON property `model`
38996
39153
  # @return [String]
38997
39154
  attr_accessor :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.57.0"
19
+ GEM_VERSION = "0.59.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 = "20250606"
25
+ REVISION = "20250701"
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
 
@@ -13113,6 +13143,7 @@ module Google
13113
13143
  property :state, as: 'state'
13114
13144
  property :task_id, :numeric_string => true, as: 'taskId'
13115
13145
  property :task_name, as: 'taskName'
13146
+ property :task_unique_name, as: 'taskUniqueName'
13116
13147
  end
13117
13148
  end
13118
13149
 
@@ -13308,6 +13339,8 @@ module Google
13308
13339
  class Representation < Google::Apis::Core::JsonRepresentation
13309
13340
  property :enable_private_service_connect, as: 'enablePrivateServiceConnect'
13310
13341
  collection :project_allowlist, as: 'projectAllowlist'
13342
+ collection :psc_automation_configs, as: 'pscAutomationConfigs', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PscAutomationConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PscAutomationConfig::Representation
13343
+
13311
13344
  property :service_attachment, as: 'serviceAttachment'
13312
13345
  end
13313
13346
  end
@@ -13849,6 +13882,8 @@ module Google
13849
13882
  property :create_time, as: 'createTime'
13850
13883
  property :description, as: 'description'
13851
13884
  property :display_name, as: 'displayName'
13885
+ property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec::Representation
13886
+
13852
13887
  property :name, as: 'name'
13853
13888
  property :update_time, as: 'updateTime'
13854
13889
  property :vector_db_config, as: 'vectorDbConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagVectorDbConfig::Representation
@@ -13875,6 +13910,15 @@ module Google
13875
13910
  end
13876
13911
  end
13877
13912
 
13913
+ class GoogleCloudAiplatformV1RagEngineConfig
13914
+ # @private
13915
+ class Representation < Google::Apis::Core::JsonRepresentation
13916
+ property :name, as: 'name'
13917
+ property :rag_managed_db_config, as: 'ragManagedDbConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfig::Representation
13918
+
13919
+ end
13920
+ end
13921
+
13878
13922
  class GoogleCloudAiplatformV1RagFile
13879
13923
  # @private
13880
13924
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -13897,6 +13941,7 @@ module Google
13897
13941
  property :slack_source, as: 'slackSource', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SlackSource, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SlackSource::Representation
13898
13942
 
13899
13943
  property :update_time, as: 'updateTime'
13944
+ property :user_metadata, as: 'userMetadata'
13900
13945
  end
13901
13946
  end
13902
13947
 
@@ -13951,6 +13996,36 @@ module Google
13951
13996
  end
13952
13997
  end
13953
13998
 
13999
+ class GoogleCloudAiplatformV1RagManagedDbConfig
14000
+ # @private
14001
+ class Representation < Google::Apis::Core::JsonRepresentation
14002
+ property :basic, as: 'basic', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigBasic, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigBasic::Representation
14003
+
14004
+ property :scaled, as: 'scaled', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigScaled, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigScaled::Representation
14005
+
14006
+ property :unprovisioned, as: 'unprovisioned', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned::Representation
14007
+
14008
+ end
14009
+ end
14010
+
14011
+ class GoogleCloudAiplatformV1RagManagedDbConfigBasic
14012
+ # @private
14013
+ class Representation < Google::Apis::Core::JsonRepresentation
14014
+ end
14015
+ end
14016
+
14017
+ class GoogleCloudAiplatformV1RagManagedDbConfigScaled
14018
+ # @private
14019
+ class Representation < Google::Apis::Core::JsonRepresentation
14020
+ end
14021
+ end
14022
+
14023
+ class GoogleCloudAiplatformV1RagManagedDbConfigUnprovisioned
14024
+ # @private
14025
+ class Representation < Google::Apis::Core::JsonRepresentation
14026
+ end
14027
+ end
14028
+
13954
14029
  class GoogleCloudAiplatformV1RagQuery
13955
14030
  # @private
13956
14031
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -14563,6 +14638,7 @@ module Google
14563
14638
  class Representation < Google::Apis::Core::JsonRepresentation
14564
14639
  property :blocked, as: 'blocked'
14565
14640
  property :category, as: 'category'
14641
+ property :overwritten_threshold, as: 'overwrittenThreshold'
14566
14642
  property :probability, as: 'probability'
14567
14643
  property :probability_score, as: 'probabilityScore'
14568
14644
  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.57.0
4
+ version: 0.59.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.57.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.59.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: