Skip to content

Commit d91ac3a

Browse files
1 parent 94aa37e commit d91ac3a

File tree

5 files changed

+99
-6
lines changed

5 files changed

+99
-6
lines changed

clients/google-api-services-firebaseml/v2beta/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-firebaseml</artifactId>
25-
<version>v2beta-rev20250929-2.0.0</version>
25+
<version>v2beta-rev20250930-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-firebaseml:v2beta-rev20250929-2.0.0'
38+
implementation 'com.google.apis:google-api-services-firebaseml:v2beta-rev20250930-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-firebaseml/v2beta/2.0.0/com/google/api/services/firebaseml/v2beta/model/GoogleCloudAiplatformV1beta1GenerationConfig.java

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,13 @@ public final class GoogleCloudAiplatformV1beta1GenerationConfig extends com.goog
5757
@com.google.api.client.util.Key
5858
private java.lang.Float frequencyPenalty;
5959

60+
/**
61+
* Optional. Config for image generation features.
62+
* The value may be {@code null}.
63+
*/
64+
@com.google.api.client.util.Key
65+
private GoogleCloudAiplatformV1beta1ImageConfig imageConfig;
66+
6067
/**
6168
* Optional. Logit probabilities.
6269
* The value may be {@code null}.
@@ -269,6 +276,23 @@ public GoogleCloudAiplatformV1beta1GenerationConfig setFrequencyPenalty(java.lan
269276
return this;
270277
}
271278

279+
/**
280+
* Optional. Config for image generation features.
281+
* @return value or {@code null} for none
282+
*/
283+
public GoogleCloudAiplatformV1beta1ImageConfig getImageConfig() {
284+
return imageConfig;
285+
}
286+
287+
/**
288+
* Optional. Config for image generation features.
289+
* @param imageConfig imageConfig or {@code null} for none
290+
*/
291+
public GoogleCloudAiplatformV1beta1GenerationConfig setImageConfig(GoogleCloudAiplatformV1beta1ImageConfig imageConfig) {
292+
this.imageConfig = imageConfig;
293+
return this;
294+
}
295+
272296
/**
273297
* Optional. Logit probabilities.
274298
* @return value or {@code null} for none
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.firebaseml.v2beta.model;
18+
19+
/**
20+
* Config for image generation features.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Firebase ML API. For a detailed explanation see:
24+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class GoogleCloudAiplatformV1beta1ImageConfig extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. The desired aspect ratio for the generated images. The following aspect ratios are
34+
* supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9"
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String aspectRatio;
39+
40+
/**
41+
* Optional. The desired aspect ratio for the generated images. The following aspect ratios are
42+
* supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9"
43+
* @return value or {@code null} for none
44+
*/
45+
public java.lang.String getAspectRatio() {
46+
return aspectRatio;
47+
}
48+
49+
/**
50+
* Optional. The desired aspect ratio for the generated images. The following aspect ratios are
51+
* supported: "1:1" "2:3", "3:2" "3:4", "4:3" "4:5", "5:4" "9:16", "16:9" "21:9"
52+
* @param aspectRatio aspectRatio or {@code null} for none
53+
*/
54+
public GoogleCloudAiplatformV1beta1ImageConfig setAspectRatio(java.lang.String aspectRatio) {
55+
this.aspectRatio = aspectRatio;
56+
return this;
57+
}
58+
59+
@Override
60+
public GoogleCloudAiplatformV1beta1ImageConfig set(String fieldName, Object value) {
61+
return (GoogleCloudAiplatformV1beta1ImageConfig) super.set(fieldName, value);
62+
}
63+
64+
@Override
65+
public GoogleCloudAiplatformV1beta1ImageConfig clone() {
66+
return (GoogleCloudAiplatformV1beta1ImageConfig) super.clone();
67+
}
68+
69+
}

clients/google-api-services-firebaseml/v2beta/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-firebaseml</artifactId>
11-
<version>v2beta-rev20250929-2.0.0</version>
12-
<name>Firebase ML API v2beta-rev20250929-2.0.0</name>
11+
<version>v2beta-rev20250930-2.0.0</version>
12+
<name>Firebase ML API v2beta-rev20250930-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-firebaseml/v2beta/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-firebaseml</artifactId>
25-
<version>v2beta-rev20250929-2.0.0</version>
25+
<version>v2beta-rev20250930-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-firebaseml:v2beta-rev20250929-2.0.0'
38+
implementation 'com.google.apis:google-api-services-firebaseml:v2beta-rev20250930-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)