@@ -361,8 +361,9 @@ public CountTokens set(String parameterName, Object value) {
361
361
* This request holds the parameters needed by the firebaseml server. After setting any optional
362
362
* parameters, call the {@link GenerateContent#execute()} method to invoke the remote operation.
363
363
*
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}`
366
367
* @param content the {@link com.google.api.services.firebaseml.v2beta.model.GoogleCloudAiplatformV1beta1GenerateContentRequest}
367
368
* @return the request
368
369
*/
@@ -390,8 +391,9 @@ public class GenerateContent extends FirebaseMLRequest<com.google.api.services.f
390
391
* ractGoogleClientRequest)} must be called to initialize this instance immediately after invoking
391
392
* the constructor. </p>
392
393
*
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}`
395
397
* @param content the {@link com.google.api.services.firebaseml.v2beta.model.GoogleCloudAiplatformV1beta1GenerateContentRequest}
396
398
* @since 1.13
397
399
*/
@@ -461,22 +463,27 @@ public GenerateContent setUploadProtocol(java.lang.String uploadProtocol) {
461
463
}
462
464
463
465
/**
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}`
466
470
*/
467
471
@ com .google .api .client .util .Key
468
472
private java .lang .String model ;
469
473
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}`
472
477
*/
473
478
public java .lang .String getModel () {
474
479
return model ;
475
480
}
476
481
477
482
/**
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}`
480
487
*/
481
488
public GenerateContent setModel (java .lang .String model ) {
482
489
if (!getSuppressPatternChecks ()) {
@@ -502,8 +509,9 @@ public GenerateContent set(String parameterName, Object value) {
502
509
* parameters, call the {@link StreamGenerateContent#execute()} method to invoke the remote
503
510
* operation.
504
511
*
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}`
507
515
* @param content the {@link com.google.api.services.firebaseml.v2beta.model.GoogleCloudAiplatformV1beta1GenerateContentRequest}
508
516
* @return the request
509
517
*/
@@ -531,8 +539,9 @@ public class StreamGenerateContent extends FirebaseMLRequest<com.google.api.serv
531
539
* services.AbstractGoogleClientRequest)} must be called to initialize this instance immediately
532
540
* after invoking the constructor. </p>
533
541
*
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}`
536
545
* @param content the {@link com.google.api.services.firebaseml.v2beta.model.GoogleCloudAiplatformV1beta1GenerateContentRequest}
537
546
* @since 1.13
538
547
*/
@@ -602,22 +611,27 @@ public StreamGenerateContent setUploadProtocol(java.lang.String uploadProtocol)
602
611
}
603
612
604
613
/**
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}`
607
618
*/
608
619
@ com .google .api .client .util .Key
609
620
private java .lang .String model ;
610
621
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}`
613
625
*/
614
626
public java .lang .String getModel () {
615
627
return model ;
616
628
}
617
629
618
630
/**
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}`
621
635
*/
622
636
public StreamGenerateContent setModel (java .lang .String model ) {
623
637
if (!getSuppressPatternChecks ()) {
0 commit comments