Skip to content

Commit d79e8b6

Browse files
feat: Automated regeneration of firebaseml v2beta client
1 parent 1fce69b commit d79e8b6

File tree

5 files changed

+65
-2
lines changed

5 files changed

+65
-2
lines changed

api_names_out.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254146,6 +254146,11 @@
254146254146
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GroundingSupport/segment": segment
254147254147
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ImageConfig": google_cloud_aiplatform_v1beta1_image_config
254148254148
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ImageConfig/aspectRatio": aspect_ratio
254149+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ImageConfig/imageOutputOptions": image_output_options
254150+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ImageConfig/personGeneration": person_generation
254151+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions": google_cloud_aiplatform_v1beta1_image_config_image_output_options
254152+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions/compressionQuality": compression_quality
254153+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions/mimeType": mime_type
254149254154
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1LogprobsResult": google_cloud_aiplatform_v1beta1_logprobs_result
254150254155
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1LogprobsResult/chosenCandidates": chosen_candidates
254151254156
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1LogprobsResult/chosenCandidates/chosen_candidate": chosen_candidate

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.34.0 (2025-10-19)
4+
5+
* Regenerated from discovery document revision 20251013
6+
37
### v0.33.0 (2025-10-12)
48

59
* Regenerated from discovery document revision 20251005

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

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2071,13 +2071,50 @@ class GoogleCloudAiplatformV1beta1ImageConfig
20712071
# @return [String]
20722072
attr_accessor :aspect_ratio
20732073

2074+
# The image output format for generated images.
2075+
# Corresponds to the JSON property `imageOutputOptions`
2076+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions]
2077+
attr_accessor :image_output_options
2078+
2079+
# Optional. Controls whether the model can generate people.
2080+
# Corresponds to the JSON property `personGeneration`
2081+
# @return [String]
2082+
attr_accessor :person_generation
2083+
20742084
def initialize(**args)
20752085
update!(**args)
20762086
end
20772087

20782088
# Update properties of this object
20792089
def update!(**args)
20802090
@aspect_ratio = args[:aspect_ratio] if args.key?(:aspect_ratio)
2091+
@image_output_options = args[:image_output_options] if args.key?(:image_output_options)
2092+
@person_generation = args[:person_generation] if args.key?(:person_generation)
2093+
end
2094+
end
2095+
2096+
# The image output format for generated images.
2097+
class GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions
2098+
include Google::Apis::Core::Hashable
2099+
2100+
# Optional. The compression quality of the output image.
2101+
# Corresponds to the JSON property `compressionQuality`
2102+
# @return [Fixnum]
2103+
attr_accessor :compression_quality
2104+
2105+
# Optional. The image format that the output should be saved as.
2106+
# Corresponds to the JSON property `mimeType`
2107+
# @return [String]
2108+
attr_accessor :mime_type
2109+
2110+
def initialize(**args)
2111+
update!(**args)
2112+
end
2113+
2114+
# Update properties of this object
2115+
def update!(**args)
2116+
@compression_quality = args[:compression_quality] if args.key?(:compression_quality)
2117+
@mime_type = args[:mime_type] if args.key?(:mime_type)
20812118
end
20822119
end
20832120

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.33.0"
19+
GEM_VERSION = "0.34.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 = "20251005"
25+
REVISION = "20251013"
2626
end
2727
end
2828
end

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end
340340
include Google::Apis::Core::JsonObjectSupport
341341
end
342342

343+
class GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions
344+
class Representation < Google::Apis::Core::JsonRepresentation; end
345+
346+
include Google::Apis::Core::JsonObjectSupport
347+
end
348+
343349
class GoogleCloudAiplatformV1beta1LogprobsResult
344350
class Representation < Google::Apis::Core::JsonRepresentation; end
345351

@@ -1163,6 +1169,17 @@ class GoogleCloudAiplatformV1beta1ImageConfig
11631169
# @private
11641170
class Representation < Google::Apis::Core::JsonRepresentation
11651171
property :aspect_ratio, as: 'aspectRatio'
1172+
property :image_output_options, as: 'imageOutputOptions', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions::Representation
1173+
1174+
property :person_generation, as: 'personGeneration'
1175+
end
1176+
end
1177+
1178+
class GoogleCloudAiplatformV1beta1ImageConfigImageOutputOptions
1179+
# @private
1180+
class Representation < Google::Apis::Core::JsonRepresentation
1181+
property :compression_quality, as: 'compressionQuality'
1182+
property :mime_type, as: 'mimeType'
11661183
end
11671184
end
11681185

0 commit comments

Comments
 (0)