Stay organized with collections
Save and categorize content based on your preferences.
Firebase.AI.FirebaseAI.Backend
Defines which backend AI service is being used, provided to FirebaseAI.GetInstance
.
Summary
Public static functions
|
GoogleAI()
|
The Google AI backend service configuration.
|
VertexAI(string location)
|
The Vertex AI backend service configuration.
|
Public functions
|
ToString()
|
override readonly string
|
Public static functions
GoogleAI
Backend Firebase::AI::FirebaseAI::Backend::GoogleAI()
The Google AI backend service configuration.
VertexAI
Backend Firebase::AI::FirebaseAI::Backend::VertexAI(
string location
)
The Vertex AI backend service configuration.
Details |
Parameters |
location
|
The region identifier, defaulting to us-central1 ; see Vertex AI regions for a list of supported regions.
|
|
Public functions
ToString
override readonly string Firebase::AI::FirebaseAI::Backend::ToString()
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-20 UTC.
[null,null,["Last updated 2025-05-20 UTC."],[],[],null,["# Firebase.AI.FirebaseAI.Backend Struct Reference\n\nFirebase.AI.FirebaseAI.Backend\n==============================\n\nDefines which backend [AI](/docs/reference/unity/namespace/firebase/a-i#namespace_firebase_1_1_a_i) service is being used, provided to [FirebaseAI.GetInstance](/docs/reference/unity/class/firebase/a-i/firebase-a-i#class_firebase_1_1_a_i_1_1_firebase_a_i_1a727957806e59473b6fb1beff4ffa8438).\n\nSummary\n-------\n\n| ### Public static functions ||\n|-------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [GoogleAI](#struct_firebase_1_1_a_i_1_1_firebase_a_i_1_1_backend_1a2b353998ce5553ae347954c4aadb3b79)`()` | [Backend](/docs/reference/unity/struct/firebase/a-i/firebase-a-i/backend#struct_firebase_1_1_a_i_1_1_firebase_a_i_1_1_backend) The Google [AI](/docs/reference/unity/namespace/firebase/a-i#namespace_firebase_1_1_a_i) backend service configuration. |\n| [VertexAI](#struct_firebase_1_1_a_i_1_1_firebase_a_i_1_1_backend_1a27090e4367780f02f77ceaba0e09cbb3)`(string location)` | [Backend](/docs/reference/unity/struct/firebase/a-i/firebase-a-i/backend#struct_firebase_1_1_a_i_1_1_firebase_a_i_1_1_backend) The Vertex [AI](/docs/reference/unity/namespace/firebase/a-i#namespace_firebase_1_1_a_i) backend service configuration. |\n\n| ### Public functions ||\n|----------------------------------------------------------------------------------------------------------|----------------------------|\n| [ToString](#struct_firebase_1_1_a_i_1_1_firebase_a_i_1_1_backend_1a85c248345001cc60602fd2d1ed8da9bd)`()` | `override readonly string` |\n\nPublic static functions\n-----------------------\n\n### GoogleAI\n\n```c#\nBackend Firebase::AI::FirebaseAI::Backend::GoogleAI()\n``` \nThe Google [AI](/docs/reference/unity/namespace/firebase/a-i#namespace_firebase_1_1_a_i) backend service configuration. \n\n### VertexAI\n\n```c#\nBackend Firebase::AI::FirebaseAI::Backend::VertexAI(\n string location\n)\n``` \nThe Vertex [AI](/docs/reference/unity/namespace/firebase/a-i#namespace_firebase_1_1_a_i) backend service configuration.\n\n\u003cbr /\u003e\n\n| Details ||\n|------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Parameters | |------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | `location` | The region identifier, defaulting to `us-central1`; see [Vertex AI regions](https://cloud.google.com/vertex-ai/generative-ai/docs/learn/locations#available-regions) for a list of supported regions. | |\n\nPublic functions\n----------------\n\n### ToString\n\n```c#\noverride readonly string Firebase::AI::FirebaseAI::Backend::ToString()\n```"]]