Skip to content

Commit f368287

Browse files
feat: Automated regeneration of firebaseml v2beta client (googleapis#23434)
Auto-created at 2025-06-15 10:22:33 +0000 using the toys pull request generator.
1 parent 9d98fc0 commit f368287

File tree

5 files changed

+21
-5
lines changed

5 files changed

+21
-5
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241295,6 +241295,7 @@
241295241295
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1SafetyRating": google_cloud_aiplatform_v1beta1_safety_rating
241296241296
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1SafetyRating/blocked": blocked
241297241297
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1SafetyRating/category": category
241298+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1SafetyRating/overwrittenThreshold": overwritten_threshold
241298241299
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1SafetyRating/probability": probability
241299241300
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1SafetyRating/probabilityScore": probability_score
241300241301
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1SafetyRating/severity": severity

generated/google-apis-firebaseml_v2beta/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-firebaseml_v2beta
22

3+
### v0.23.0 (2025-06-15)
4+
5+
* Regenerated from discovery document revision 20250610
6+
37
### v0.22.0 (2025-06-08)
48

59
* Regenerated from discovery document revision 20250604

generated/google-apis-firebaseml_v2beta/lib/google/apis/firebaseml_v2beta/classes.rb

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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)

generated/google-apis-firebaseml_v2beta/lib/google/apis/firebaseml_v2beta/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module FirebasemlV2beta
1818
# Version of the google-apis-firebaseml_v2beta gem
19-
GEM_VERSION = "0.22.0"
19+
GEM_VERSION = "0.23.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.18.0"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20250604"
25+
REVISION = "20250610"
2626
end
2727
end
2828
end

generated/google-apis-firebaseml_v2beta/lib/google/apis/firebaseml_v2beta/representations.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1170,6 +1170,7 @@ class GoogleCloudAiplatformV1beta1SafetyRating
11701170
class Representation < Google::Apis::Core::JsonRepresentation
11711171
property :blocked, as: 'blocked'
11721172
property :category, as: 'category'
1173+
property :overwritten_threshold, as: 'overwrittenThreshold'
11731174
property :probability, as: 'probability'
11741175
property :probability_score, as: 'probabilityScore'
11751176
property :severity, as: 'severity'

0 commit comments

Comments
 (0)