@@ -2748,7 +2748,8 @@ class GoogleCloudAiplatformV1Blob
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
@@ -11730,8 +11731,9 @@ class GoogleCloudAiplatformV1FileData
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
@@ -24523,6 +24525,12 @@ class GoogleCloudAiplatformV1RagCorpus
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 @@ def update!(**args)
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 @@ def update!(**args)
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 @@ class GoogleCloudAiplatformV1RagFile
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 @@ def update!(**args)
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 @@ def update!(**args)
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 @@ class GoogleCloudAiplatformV1SafetyRating
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 @@ def initialize(**args)
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 @@ class GoogleCloudAiplatformV1SupervisedHyperParameters
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
0 commit comments