-
Notifications
You must be signed in to change notification settings - Fork 580
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kotlin implementation for Https callable functions #5009
Conversation
Javadoc Changes:--- /Users/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/functions/ktx/package-summary.html 2023-05-16 19:40:02.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/functions/ktx/package-summary.html 2023-05-16 19:36:01.000000000 +0000
@@ -35,6 +35,20 @@
<p>Returns the <code><a href="/docs/reference/kotlin/com/google/firebase/functions/FirebaseFunctions.html">FirebaseFunctions</a></code> instance of a given <code><a href="/docs/reference/kotlin/com/google/firebase/functions/ktx/package-summary.html#(com.google.firebase.ktx.Firebase).functions(kotlin.String)">regionOrCustomDomain</a></code>.</p>
</td>
</tr>
+ <tr>
+ <td><code><a href="/docs/reference/kotlin/com/google/firebase/functions/HttpsCallableReference.html">HttpsCallableReference</a></code></td>
+ <td>
+ <div><code><a href="/docs/reference/kotlin/com/google/firebase/functions/FirebaseFunctions.html">FirebaseFunctions</a>.<a href="/docs/reference/kotlin/com/google/firebase/functions/ktx/package-summary.html#(com.google.firebase.functions.FirebaseFunctions).getHttpsCallable(kotlin.String,kotlin.Function1)">getHttpsCallable</a>(name: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, init: <a href="/docs/reference/kotlin/com/google/firebase/functions/HttpsCallableOptions.Builder.html">HttpsCallableOptions.Builder</a>.() <span style="white-space: nowrap;">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>)</code></div>
+ <p>Returns a reference to the Callable HTTPS trigger with the given name and call options.</p>
+ </td>
+ </tr>
+ <tr>
+ <td><code><a href="/docs/reference/kotlin/com/google/firebase/functions/HttpsCallableReference.html">HttpsCallableReference</a></code></td>
+ <td>
+ <div><code><a href="/docs/reference/kotlin/com/google/firebase/functions/FirebaseFunctions.html">FirebaseFunctions</a>.<a href="/docs/reference/kotlin/com/google/firebase/functions/ktx/package-summary.html#(com.google.firebase.functions.FirebaseFunctions).getHttpsCallableFromUrl(java.net.URL,kotlin.Function1)">getHttpsCallableFromUrl</a>(url: <a href="https://developer.android.com/reference/kotlin/java/net/URL.html">URL</a>, init: <a href="/docs/reference/kotlin/com/google/firebase/functions/HttpsCallableOptions.Builder.html">HttpsCallableOptions.Builder</a>.() <span style="white-space: nowrap;">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>)</code></div>
+ <p>Returns a reference to the Callable HTTPS trigger with the given URL and call options.</p>
+ </td>
+ </tr>
</tbody>
</table>
</div>
@@ -72,6 +86,16 @@
<pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/ktx/Firebase.html">Firebase</a>.<a href="/docs/reference/kotlin/com/google/firebase/functions/ktx/package-summary.html#(com.google.firebase.ktx.Firebase).functions(kotlin.String)">functions</a>(regionOrCustomDomain: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>): <a href="/docs/reference/kotlin/com/google/firebase/functions/FirebaseFunctions.html">FirebaseFunctions</a></pre>
<p>Returns the <code><a href="/docs/reference/kotlin/com/google/firebase/functions/FirebaseFunctions.html">FirebaseFunctions</a></code> instance of a given <code><a href="/docs/reference/kotlin/com/google/firebase/functions/ktx/package-summary.html#(com.google.firebase.ktx.Firebase).functions(kotlin.String)">regionOrCustomDomain</a></code>.</p>
</div>
+ <div class="api-item"><a name="(com.google.firebase.functions.FirebaseFunctions).getHttpsCallable(kotlin.String, kotlin.Function1)"></a><a name="-com.google.firebase.functions.FirebaseFunctions-.getHttpsCallable-kotlin.String-kotlin.Function1-"></a><a name="gethttpscallable"></a>
+ <h3 class="api-name" id="(com.google.firebase.functions.FirebaseFunctions).getHttpsCallable(kotlin.String,kotlin.Function1)">getHttpsCallable</h3>
+ <pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/functions/FirebaseFunctions.html">FirebaseFunctions</a>.<a href="/docs/reference/kotlin/com/google/firebase/functions/ktx/package-summary.html#(com.google.firebase.functions.FirebaseFunctions).getHttpsCallable(kotlin.String,kotlin.Function1)">getHttpsCallable</a>(name: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a>, init: <a href="/docs/reference/kotlin/com/google/firebase/functions/HttpsCallableOptions.Builder.html">HttpsCallableOptions.Builder</a>.() <span style="white-space: nowrap;">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>): <a href="/docs/reference/kotlin/com/google/firebase/functions/HttpsCallableReference.html">HttpsCallableReference</a></pre>
+ <p>Returns a reference to the Callable HTTPS trigger with the given name and call options.</p>
+ </div>
+ <div class="api-item"><a name="(com.google.firebase.functions.FirebaseFunctions).getHttpsCallableFromUrl(java.net.URL, kotlin.Function1)"></a><a name="-com.google.firebase.functions.FirebaseFunctions-.getHttpsCallableFromUrl-java.net.URL-kotlin.Function1-"></a><a name="gethttpscallablefromurl"></a>
+ <h3 class="api-name" id="(com.google.firebase.functions.FirebaseFunctions).getHttpsCallableFromUrl(java.net.URL,kotlin.Function1)">getHttpsCallableFromUrl</h3>
+ <pre class="api-signature no-pretty-print">fun <a href="/docs/reference/kotlin/com/google/firebase/functions/FirebaseFunctions.html">FirebaseFunctions</a>.<a href="/docs/reference/kotlin/com/google/firebase/functions/ktx/package-summary.html#(com.google.firebase.functions.FirebaseFunctions).getHttpsCallableFromUrl(java.net.URL,kotlin.Function1)">getHttpsCallableFromUrl</a>(url: <a href="https://developer.android.com/reference/kotlin/java/net/URL.html">URL</a>, init: <a href="/docs/reference/kotlin/com/google/firebase/functions/HttpsCallableOptions.Builder.html">HttpsCallableOptions.Builder</a>.() <span style="white-space: nowrap;">-></span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>): <a href="/docs/reference/kotlin/com/google/firebase/functions/HttpsCallableReference.html">HttpsCallableReference</a></pre>
+ <p>Returns a reference to the Callable HTTPS trigger with the given URL and call options.</p>
+ </div>
<h2>Extension properties</h2>
<div class="api-item"><a name="(com.google.firebase.ktx.Firebase).getFunctions()"></a><a name="(com.google.firebase.ktx.Firebase).setFunctions()"></a><a name="-com.google.firebase.ktx.Firebase-.getFunctions--"></a><a name="-com.google.firebase.ktx.Firebase-.setFunctions--"></a>
<h3 class="api-name" id="(com.google.firebase.ktx.Firebase).functions()">functions</h3> |
Generated by 🚫 Danger |
Coverage Report 1Affected ProductsNo changes between base commit (4f4ede7) and merge commit (3d95744).Test Logs |
Unit Test Results 6 files ± 0 6 suites ±0 25s ⏱️ -19s Results for commit 77fd50a. ± Comparison against base commit 4f4ede7. This pull request removes 1 and adds 6 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
The public api surface has changed for the subproject firebase-functions_ktx: Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly. |
Size Report 1Affected Products
Test Logs |
Startup Time Report 1Note: Layout is sometimes suboptimal due to limited formatting support on GitHub. Please check this report on GCS. Notes
Startup Times
|
No description provided.