그림 1: 예산 알림을 통해 프로그래매틱 알림용 Pub/Sub와 Cloud Run 함수를 사용하여 비용 관리 응답을 자동화하여 응답을 자동화한 예시
이 문서에서는 Cloud Run 함수 트리거를 사용하여 Pub/Sub 주제를 구독하여 프로그래매틱 예산 알림을 리슨하는 방법을 설명합니다. 구독자가 없으면 Pub/Sub이 게시된 메시지를 삭제하여 나중에 이를 검색할 수 없습니다. 이 문서에서는 다음 작업을 완료하는 방법을 알아봅니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-03-06(UTC)"],[[["This guide details how to use Cloud Run functions to listen for and respond to programmatic budget notifications sent via Pub/Sub."],["To begin, you need to create a budget and configure programmatic notifications to ensure the Pub/Sub topic is correctly set up."],["You can create a Cloud Run function by selecting \"Cloud Pub/Sub\" as the trigger type and choosing the budget-configured topic."],["After deploying your Cloud Run function, you can check the function's logs for invocations and test it by publishing a sample message to the Pub/Sub topic."],["Cloud Run functions let you create functions that respond to cloud events without needing to manage a server or runtime environment."]]],[]]