Skip to content

Conversation

davidmotson
Copy link
Collaborator

No description provided.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 28, 2025

Javadoc Changes:
--- /home/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/vertexai/type/RequestOptions.html	2025-01-28 18:08:05.673972671 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/vertexai/type/RequestOptions.html	2025-01-28 18:05:49.227269456 +0000
@@ -27,7 +27,7 @@
         <tbody class="list">
           <tr>
             <td>
-              <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/RequestOptions.html#RequestOptions(kotlin.Long)">RequestOptions</a>(long&nbsp;timeoutInMillis)</code></div>
+              <div><code><a href="/docs/reference/android/com/google/firebase/vertexai/type/RequestOptions.html#RequestOptions(kotlin.Long,kotlin.String)">RequestOptions</a>(long&nbsp;timeoutInMillis,&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>&nbsp;apiVersion)</code></div>
               <p>Constructor for RequestOptions.</p>
             </td>
           </tr>
@@ -36,9 +36,9 @@
     </div>
     <div class="list">
       <h2>Public constructors</h2>
-      <div class="api-item"><a name="RequestOptions-kotlin.Long-"></a><a name="requestoptions"></a>
-        <h3 class="api-name" id="RequestOptions(kotlin.Long)">RequestOptions</h3>
-        <pre class="api-signature no-pretty-print">public&nbsp;<a href="/docs/reference/android/com/google/firebase/vertexai/type/RequestOptions.html#RequestOptions(kotlin.Long)">RequestOptions</a>(long&nbsp;timeoutInMillis)</pre>
+      <div class="api-item"><a name="RequestOptions(kotlin.Long, kotlin.String)"></a><a name="RequestOptions-kotlin.Long-kotlin.String-"></a><a name="requestoptions"></a>
+        <h3 class="api-name" id="RequestOptions(kotlin.Long,kotlin.String)">RequestOptions</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;<a href="/docs/reference/android/com/google/firebase/vertexai/type/RequestOptions.html#RequestOptions(kotlin.Long,kotlin.String)">RequestOptions</a>(long&nbsp;timeoutInMillis,&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>&nbsp;apiVersion)</pre>
         <p>Constructor for RequestOptions.</p>
         <div class="devsite-table-wrapper">
           <table class="responsive">
@@ -58,6 +58,12 @@
                   <p>the maximum amount of time, in milliseconds, for a request to take, from the first request to first response.</p>
                 </td>
               </tr>
+              <tr>
+                <td><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>&nbsp;apiVersion</code></td>
+                <td>
+                  <p>changes the vertex API version the request is made to</p>
+                </td>
+              </tr>
             </tbody>
           </table>
         </div>
--- /home/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/RequestOptions.html	2025-01-28 18:08:05.680972608 +0000
+++ /home/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/vertexai/type/RequestOptions.html	2025-01-28 18:05:49.234269389 +0000
@@ -27,7 +27,7 @@
         <tbody class="list">
           <tr>
             <td>
-              <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/RequestOptions.html#RequestOptions(kotlin.Long)">RequestOptions</a>(timeoutInMillis:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a>)</code></div>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/RequestOptions.html#RequestOptions(kotlin.Long,kotlin.String)">RequestOptions</a>(timeoutInMillis:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a>,&nbsp;apiVersion:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>)</code></div>
               <p>Constructor for RequestOptions.</p>
             </td>
           </tr>
@@ -36,9 +36,9 @@
     </div>
     <div class="list">
       <h2>Public constructors</h2>
-      <div class="api-item"><a name="RequestOptions-kotlin.Long-"></a><a name="requestoptions"></a>
-        <h3 class="api-name" id="RequestOptions(kotlin.Long)">RequestOptions</h3>
-        <pre class="api-signature no-pretty-print"><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/RequestOptions.html#RequestOptions(kotlin.Long)">RequestOptions</a>(timeoutInMillis:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a> = 180.seconds.inWholeMilliseconds)</pre>
+      <div class="api-item"><a name="RequestOptions(kotlin.Long, kotlin.String)"></a><a name="RequestOptions-kotlin.Long-kotlin.String-"></a><a name="requestoptions"></a>
+        <h3 class="api-name" id="RequestOptions(kotlin.Long,kotlin.String)">RequestOptions</h3>
+        <pre class="api-signature no-pretty-print"><a href="/docs/reference/kotlin/com/google/firebase/vertexai/type/RequestOptions.html#RequestOptions(kotlin.Long,kotlin.String)">RequestOptions</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;timeoutInMillis:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a> = 180.seconds.inWholeMilliseconds,<br>&nbsp;&nbsp;&nbsp;&nbsp;apiVersion:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a> = &quot;v1beta&quot;<br>)</pre>
         <p>Constructor for RequestOptions.</p>
         <div class="devsite-table-wrapper">
           <table class="responsive">
@@ -58,6 +58,12 @@
                   <p>the maximum amount of time, in milliseconds, for a request to take, from the first request to first response.</p>
                 </td>
               </tr>
+              <tr>
+                <td><code>apiVersion:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a> = &quot;v1beta&quot;</code></td>
+                <td>
+                  <p>changes the vertex API version the request is made to</p>
+                </td>
+              </tr>
             </tbody>
           </table>
         </div>

@github-actions
Copy link
Contributor

Vertex AI Mock Responses Check ⚠️

A newer major version of the mock responses for Vertex AI unit tests is available. update_responses.sh should be updated to clone the latest version of the responses: v5.3

@google-oss-bot
Copy link
Contributor

1 Warning
⚠️ Did you forget to add a changelog entry? (Add the 'no-changelog' label to the PR to silence this warning.)

Generated by 🚫 Danger

@google-oss-bot
Copy link
Contributor

@github-actions
Copy link
Contributor

Test Results

0 files   -  20  0 suites   - 20   0s ⏱️ -12s
0 tests  - 113  0 ✅  - 113  0 💤 ±0  0 ❌ ±0 
0 runs   - 226  0 ✅  - 226  0 💤 ±0  0 ❌ ±0 

Results for commit 1d2ec80. ± Comparison against base commit 8567a38.

@davidmotson davidmotson deleted the davidmotson._version_request_option branch January 28, 2025 18:08
@google-oss-bot
Copy link
Contributor

Size Report 1

Affected Products

  • firebase-vertexai

    TypeBase (8567a38)Merge (befe69b)Diff
    aar477 kB477 kB+104 B (+0.0%)
    apk (release)9.15 MB9.15 MB+164 B (+0.0%)

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/H6yFLktWqD.html

@firebase firebase locked and limited conversation to collaborators Feb 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants