Skip to content

Commit 0da5b1a

Browse files
1 parent 8b77a2a commit 0da5b1a

File tree

4 files changed

+40
-26
lines changed

4 files changed

+40
-26
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-rev20240805-2.0.0</version>
25+
<version>v2beta-rev20240806-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-rev20240805-2.0.0'
38+
implementation 'com.google.apis:google-api-services-firebaseml:v2beta-rev20240806-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 34 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -361,8 +361,9 @@ public CountTokens set(String parameterName, Object value) {
361361
* This request holds the parameters needed by the firebaseml server. After setting any optional
362362
* parameters, call the {@link GenerateContent#execute()} method to invoke the remote operation.
363363
*
364-
* @param model Required. The name of the publisher model requested to serve the prediction. Format:
365-
* `projects/{project}/locations/{location}/publishers/models`
364+
* @param model Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher
365+
* model format: `projects/{project}/locations/{location}/publishers/models` Tuned model
366+
* endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}`
366367
* @param content the {@link com.google.api.services.firebaseml.v2beta.model.GoogleCloudAiplatformV1beta1GenerateContentRequest}
367368
* @return the request
368369
*/
@@ -390,8 +391,9 @@ public class GenerateContent extends FirebaseMLRequest<com.google.api.services.f
390391
* ractGoogleClientRequest)} must be called to initialize this instance immediately after invoking
391392
* the constructor. </p>
392393
*
393-
* @param model Required. The name of the publisher model requested to serve the prediction. Format:
394-
* `projects/{project}/locations/{location}/publishers/models`
394+
* @param model Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher
395+
* model format: `projects/{project}/locations/{location}/publishers/models` Tuned model
396+
* endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}`
395397
* @param content the {@link com.google.api.services.firebaseml.v2beta.model.GoogleCloudAiplatformV1beta1GenerateContentRequest}
396398
* @since 1.13
397399
*/
@@ -461,22 +463,27 @@ public GenerateContent setUploadProtocol(java.lang.String uploadProtocol) {
461463
}
462464

463465
/**
464-
* Required. The name of the publisher model requested to serve the prediction. Format:
465-
* `projects/{project}/locations/{location}/publishers/models`
466+
* Required. The fully qualified name of the publisher model or tuned model endpoint to
467+
* use. Publisher model format:
468+
* `projects/{project}/locations/{location}/publishers/models` Tuned model endpoint
469+
* format: `projects/{project}/locations/{location}/endpoints/{endpoint}`
466470
*/
467471
@com.google.api.client.util.Key
468472
private java.lang.String model;
469473

470-
/** Required. The name of the publisher model requested to serve the prediction. Format:
471-
`projects/{project}/locations/{location}/publishers/models`
474+
/** Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher
475+
model format: `projects/{project}/locations/{location}/publishers/models` Tuned model endpoint
476+
format: `projects/{project}/locations/{location}/endpoints/{endpoint}`
472477
*/
473478
public java.lang.String getModel() {
474479
return model;
475480
}
476481

477482
/**
478-
* Required. The name of the publisher model requested to serve the prediction. Format:
479-
* `projects/{project}/locations/{location}/publishers/models`
483+
* Required. The fully qualified name of the publisher model or tuned model endpoint to
484+
* use. Publisher model format:
485+
* `projects/{project}/locations/{location}/publishers/models` Tuned model endpoint
486+
* format: `projects/{project}/locations/{location}/endpoints/{endpoint}`
480487
*/
481488
public GenerateContent setModel(java.lang.String model) {
482489
if (!getSuppressPatternChecks()) {
@@ -502,8 +509,9 @@ public GenerateContent set(String parameterName, Object value) {
502509
* parameters, call the {@link StreamGenerateContent#execute()} method to invoke the remote
503510
* operation.
504511
*
505-
* @param model Required. The name of the publisher model requested to serve the prediction. Format:
506-
* `projects/{project}/locations/{location}/publishers/models`
512+
* @param model Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher
513+
* model format: `projects/{project}/locations/{location}/publishers/models` Tuned model
514+
* endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}`
507515
* @param content the {@link com.google.api.services.firebaseml.v2beta.model.GoogleCloudAiplatformV1beta1GenerateContentRequest}
508516
* @return the request
509517
*/
@@ -531,8 +539,9 @@ public class StreamGenerateContent extends FirebaseMLRequest<com.google.api.serv
531539
* services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
532540
* after invoking the constructor. </p>
533541
*
534-
* @param model Required. The name of the publisher model requested to serve the prediction. Format:
535-
* `projects/{project}/locations/{location}/publishers/models`
542+
* @param model Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher
543+
* model format: `projects/{project}/locations/{location}/publishers/models` Tuned model
544+
* endpoint format: `projects/{project}/locations/{location}/endpoints/{endpoint}`
536545
* @param content the {@link com.google.api.services.firebaseml.v2beta.model.GoogleCloudAiplatformV1beta1GenerateContentRequest}
537546
* @since 1.13
538547
*/
@@ -602,22 +611,27 @@ public StreamGenerateContent setUploadProtocol(java.lang.String uploadProtocol)
602611
}
603612

604613
/**
605-
* Required. The name of the publisher model requested to serve the prediction. Format:
606-
* `projects/{project}/locations/{location}/publishers/models`
614+
* Required. The fully qualified name of the publisher model or tuned model endpoint to
615+
* use. Publisher model format:
616+
* `projects/{project}/locations/{location}/publishers/models` Tuned model endpoint
617+
* format: `projects/{project}/locations/{location}/endpoints/{endpoint}`
607618
*/
608619
@com.google.api.client.util.Key
609620
private java.lang.String model;
610621

611-
/** Required. The name of the publisher model requested to serve the prediction. Format:
612-
`projects/{project}/locations/{location}/publishers/models`
622+
/** Required. The fully qualified name of the publisher model or tuned model endpoint to use. Publisher
623+
model format: `projects/{project}/locations/{location}/publishers/models` Tuned model endpoint
624+
format: `projects/{project}/locations/{location}/endpoints/{endpoint}`
613625
*/
614626
public java.lang.String getModel() {
615627
return model;
616628
}
617629

618630
/**
619-
* Required. The name of the publisher model requested to serve the prediction. Format:
620-
* `projects/{project}/locations/{location}/publishers/models`
631+
* Required. The fully qualified name of the publisher model or tuned model endpoint to
632+
* use. Publisher model format:
633+
* `projects/{project}/locations/{location}/publishers/models` Tuned model endpoint
634+
* format: `projects/{project}/locations/{location}/endpoints/{endpoint}`
621635
*/
622636
public StreamGenerateContent setModel(java.lang.String model) {
623637
if (!getSuppressPatternChecks()) {

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-rev20240805-2.0.0</version>
12-
<name>Firebase ML API v2beta-rev20240805-2.0.0</name>
11+
<version>v2beta-rev20240806-2.0.0</version>
12+
<name>Firebase ML API v2beta-rev20240806-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-rev20240805-2.0.0</version>
25+
<version>v2beta-rev20240806-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-rev20240805-2.0.0'
38+
implementation 'com.google.apis:google-api-services-firebaseml:v2beta-rev20240806-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)