@@ -326,7 +326,8 @@ class GoogleCloudAiplatformV1beta1Blob
326326
327327 # Optional. Display name of the blob. Used to provide a label or filename to
328328 # distinguish blobs. This field is only returned in PromptMessage for prompt
329- # management. It is not currently used in the Gemini GenerateContent calls.
329+ # management. It is currently used in the Gemini GenerateContent calls only when
330+ # server side tools (code_execution, google_search, and url_context) are enabled.
330331 # Corresponds to the JSON property `displayName`
331332 # @return [String]
332333 attr_accessor :display_name
@@ -822,8 +823,9 @@ class GoogleCloudAiplatformV1beta1FileData
822823
823824 # Optional. Display name of the file data. Used to provide a label or filename
824825 # to distinguish file datas. This field is only returned in PromptMessage for
825- # prompt management. It is not currently used in the Gemini GenerateContent
826- # calls.
826+ # prompt management. It is currently used in the Gemini GenerateContent calls
827+ # only when server side tools (code_execution, google_search, and url_context)
828+ # are enabled.
827829 # Corresponds to the JSON property `displayName`
828830 # @return [String]
829831 attr_accessor :display_name
@@ -2270,6 +2272,13 @@ class GoogleCloudAiplatformV1beta1SafetyRating
22702272 # @return [String]
22712273 attr_accessor :category
22722274
2275+ # Output only. The overwritten threshold for the safety category of Gemini 2.0
2276+ # image out. If minors are detected in the output image, the threshold of each
2277+ # safety category will be overwritten if user sets a lower threshold.
2278+ # Corresponds to the JSON property `overwrittenThreshold`
2279+ # @return [String]
2280+ attr_accessor :overwritten_threshold
2281+
22732282 # Output only. Harm probability levels in the content.
22742283 # Corresponds to the JSON property `probability`
22752284 # @return [String]
@@ -2298,6 +2307,7 @@ def initialize(**args)
22982307 def update! ( **args )
22992308 @blocked = args [ :blocked ] if args . key? ( :blocked )
23002309 @category = args [ :category ] if args . key? ( :category )
2310+ @overwritten_threshold = args [ :overwritten_threshold ] if args . key? ( :overwritten_threshold )
23012311 @probability = args [ :probability ] if args . key? ( :probability )
23022312 @probability_score = args [ :probability_score ] if args . key? ( :probability_score )
23032313 @severity = args [ :severity ] if args . key? ( :severity )
0 commit comments