처리는 작업의 기능과 대화 요소를 정의합니다. 작업이 외부 API와 상호작용하거나 복잡한 로직이 필요하거나 데이터베이스를 읽고 저장해야 하는 경우 처리가 필요합니다. Firebase용 Cloud Functions를 사용하면 작업의 처리가 HTTP 웹 서비스로 호스팅되므로 배포와 유지보수가 빠르고 간편해집니다.
Actions on Google에서 처리에 모든 HTTP 웹 서비스를 사용할 수 있지만 Firebase용 Cloud Functions는 작업의 처리를 정의하는 가장 쉬운 방법 중 하나입니다.
CLI 설정을 구성하거나 추가 라이브러리를 가져오는 데 드는 시간을 최소화하면서 엔드포인트를 빠르고 원활하게 배포하세요.
사용자 환경을 개선하기 위해 대화에 리치 미디어 콘텐츠를 사용하는 작업이 많습니다. 그렇지 않은 경우 표시해야 합니다. 텍스트뿐 아니라 이미지와 사운드 클립을 사용하는 앱은 일반적으로 더욱 생동감 있고 기억에 남게 되므로 사용자의 참여도와 유지율이 높아집니다.
Firebase 호스팅을 사용하면 작업에 사용할 정적 리치 미디어 파일을 매우 간단하게 호스팅할 수 있습니다. 자세한 내용은 Firebase 호스팅 시작 가이드를 참조하세요.
기존 Firebase 사용자라면 모바일 또는 웹 앱용 호스팅한 애셋을 쉽게 재사용할 수도 있습니다.
Firebase 호스팅을 사용하는 이 샘플을 확인하고 Firebase 호스팅 문서를 방문하여 이 샘플을 사용하여 작업 파일을 호스팅하는 방법을 자세히 알아보세요.
Firebase용 Cloud Storage
작업에서 사용자별 파일을 생성하는 경우 Firebase용 Cloud Storage가 저장 위치를 제공합니다. 작업의 응답 로그를 텍스트 파일로 하든 이미지 파일로 하든 상관없이, 사용자가 어디에 있든 개발자가 사용자를 위해 만든 콘텐츠에 액세스할 수 있도록 하세요.
이는 사용자의 데이터가 여러 플랫폼에 유지될 수도 있음을 의미합니다. 예를 들어 웹 앱에서 사용자를 위한 이미지를 생성합니다. 스토리지를 사용하면 작업을 통해 동일한 사용자가 해당 이미지에 액세스할 수 있습니다. 모바일 앱을 사용할 때 연결이 불안정하면 사용자의 파일 다운로드가 일시중지되고 신호가 개선되면 파일 다운로드가 다시 시작됩니다.
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003eFirebase services like Cloud Functions, Hosting, Storage, and Firestore can enhance your Actions on Google experience.\u003c/p\u003e\n"],["\u003cp\u003eCloud Functions for Firebase enables you to easily deploy, maintain, and scale your Action's logic and integrations with other services.\u003c/p\u003e\n"],["\u003cp\u003eFirebase Hosting simplifies the process of using rich media content (images, sound clips) within your Actions to create a more engaging user experience.\u003c/p\u003e\n"],["\u003cp\u003eCloud Storage for Firebase provides a secure and accessible location to store and manage user-specific data and files generated by your Action.\u003c/p\u003e\n"],["\u003cp\u003eCloud Firestore offers a cloud-based database solution to store and synchronize data for your Action, integrating seamlessly with other Firebase services.\u003c/p\u003e\n"]]],["Firebase services enhance Actions' functionality. Cloud Functions for Firebase host Actions' fulfillment as an HTTP service, enabling quick deployment and integration with other Firebase services like Cloud Firestore for data storage. Firebase Hosting simplifies hosting rich media for engaging user experiences. Cloud Storage for Firebase allows storing user-specific files, ensuring cross-platform data persistence. These tools streamline Actions development and management, from deployment to data handling.\n"],null,["# Firebase services\n\nUse various Firebase services to set up, run, and extend the functionality of\nyour Actions.\n\nCloud Functions for Firebase\n----------------------------\n\nFulfillment defines your Action's functionality and conversational elements. If your Action interacts with external APIs, requires complex logic, or needs to read and store to a database, it will need fulfillment. With Cloud Functions for Firebase, your Action's fulfillment is hosted as an HTTP web service, making deployment and maintenance quick and easy.\n\nWhile you can use any HTTP web service for fulfillment on Actions on Google, Cloud Functions for Firebase is one of the easiest ways to define fulfillment for your Action:\n\n1. Deploy your endpoint rapidly and seamlessly, with minimal time spent configuring CLI settings or importing additional libraries.\n2. Effortlessly integrate with other Firebase cloud services such as [Cloud Firestore](https://firebase.google.com/products/firestore/).\n3. Computing resources are automatically scaled according to your Action's usage, so you don't need to worry about server maintenance at all.\n4. Setup fulfillment without providing a credit card or billing information.\n\n| **Note:** Global variables may be cached across function executions. See more information on [function lifespans](//cloud.google.com/functions/docs/concepts/exec#function_instance_lifespan).\n| **Note:** While the free version of Firebase is perfect for creating and hosting your fulfillment, it does not allow for outbound network calls. If you need this functionality, you will want to upgrade to the [Blaze plan](https://firebase.google.com/pricing/).\n\nTo get started, visit the docs for [Cloud Functions for Firebase](https://firebase.google.com/docs/functions/).\n\nFirebase Hosting\n----------------\n\nMany Actions use rich media content in their conversations, to improve the user experience. And if they don't, they should! Apps that use images and sound clips rather than just text typically end up being much more vibrant and memorable, and as a result see higher engagement and retention among users.\n\nFirebase Hosting makes it extremely simple to host static rich media files for use in your Action. See the [Firebase Hosting get started guide](https://firebase.google.com/docs/hosting/quickstart) for more information.\n\nIf you are an existing Firebase user, you can also easily re-use any assets you have hosted for your mobile or web apps.\n\nCheck out [this](https://github.com/actions-on-google/dialogflow-number-genie-nodejs) sample which uses Firebase Hosting and learn more about how this can be used to host your Action files, by visiting our [Firebase Hosting docs](https://firebase.google.com/docs/hosting/).\n\nCloud Storage for Firebase\n--------------------------\n\nIf your Action generates user-specific files, Cloud Storage for Firebase will give you a place to store it. Whether it's a log of your Action's responses in a text file or an image file, allow your users to access content you create for them, wherever they are.\n\nThis also means your user's data can persist across multiple platforms. For instance, your web app generates an image for a user. By using storage, that image is accessible to that same user, through your Action. When using your mobile app, if connectivity is spotty, the download of the user's files will pause and then resume when their signal improves.\n\nTo learn more, visit our [Cloud Storage for Firebase docs](https://firebase.google.com/docs/storage/).\n\nCloud Firestore\n---------------\n\nYour Action may require a backend to store simple data. Cloud Firestore is a cloud-hosted solution that stores and syncs data.\n\nCloud Firestore offers seamless integration with other Firebase and Google Cloud Platform products, including Cloud Functions, which means its perfect for use with Actions on Google.\n\nLearn more by visiting the [Cloud Firestore docs](https://firebase.google.com/docs/firestore)."]]