Gemini Cloud Assist와 상호작용하려면 pen_sparkCloud Assist 쿼리 작성 프롬프트 필드를 사용하세요. 프롬프트 필드에 프롬프트를 입력하거나 사전 정의된 프롬프트를 선택할 수 있습니다. 다음 표에는 사용할 수 있는 프롬프트의 예시가 나와 있습니다.
프롬프트
생성된 SQL 쿼리
영역 간 트래픽 표시
소스와 대상이 서로 다른 영역에 있는 흐름을 선택합니다.
SSH 트래픽이 있는 리소스 표시
SSH 트래픽이 있는 흐름을 선택합니다.
트래픽이 가장 많은 상위 10개 VM 표시
전송된 바이트 수가 가장 많은 VM 10개를 선택합니다.
10.10.0.10에서 송수신된 트래픽 표시
10.10.0.10이 소스 또는 대상 IP 주소인 흐름을 선택합니다.
example-instance에서 인터넷으로의 트래픽 표시
example-instance라는 소스 VM 인스턴스에서 인터넷으로의 흐름을 선택합니다.
지난 3일 이내에 게이트웨이에서 발생한 트래픽 표시
Cloud Interconnect 및 Cloud VPN 터널의 VLAN 연결이 소스인 지난 3일 이내의 흐름을 선택합니다.
[[["이해하기 쉬움","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-09-04(UTC)"],[],[],null,["# Write queries with Gemini assistance\n\n| **Preview\n| --- [Gemini Cloud Assist](/gemini/docs/cloud-assist/overview)**\n|\n|\n| This feature is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| Pre-GA features are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\n\nThis document describes how you can use natural language prompts to generate\nSQL queries for VPC Flow Logs. To generate SQL queries for\nVPC Flow Logs, you interact\nwith [Gemini Cloud Assist](/gemini/docs/cloud-assist/overview)\nin Flow Analyzer.\n\nLearn [how and when Gemini\nfor Google Cloud uses your data](/gemini/docs/discover/data-governance).\n\nBefore you begin\n----------------\n\n- [Set up Gemini Cloud Assist](/gemini/docs/cloud-assist/set-up-gemini)\n in a Google Cloud project that contains a Cloud Logging bucket with flow\n logs.\n\n- Make sure that the log bucket is\n [upgraded to use Log Analytics](/logging/docs/buckets#upgrade-bucket)\n and you have the\n [required roles and permissions](/network-intelligence-center/docs/flow-analyzer/analyze-traffic-flows#required_roles_and_permissions)\n to query the flow logs.\n\nGenerate a SQL query\n--------------------\n\n| As an early-stage technology, Gemini for Google Cloud\n| products can generate output that seems plausible but is factually incorrect. We recommend that you\n| validate all output from Gemini for Google Cloud products before you use it.\n| For more information, see\n| [Gemini for Google Cloud and responsible AI](/gemini/docs/discover/responsible-ai).\n\nTo interact with Gemini Cloud Assist, use the\npen_spark**Compose a Cloud Assist Query**\nprompt field. In the prompt field, you can enter a prompt or select a\npredefined prompt. The following table provides examples of prompts that\nyou can use.\n\nTo generate and run a SQL query, do the following:\n\n1. In the Google Cloud console, go to the **Flow Analyzer** page.\n\n [Go to Flow Analyzer](https://console.cloud.google.com/net-intelligence/flow-analyzer)\n2. Click pen_spark**Compose a Cloud\n Assist Query**.\n\n3. Describe the log data that you want to view or\n select a predefined prompt.\n\n4. Click **Generate SQL**.\n\n5. Review the response and run the query:\n\n - To run the query in Flow Analyzer, click the **Explore in Flow Analyzer** tab and then click **Open in Flow Analyzer**.\n - To run the query in Log Analytics, click the **Run SQL in Log Analytics** tab and then click **Run SQL in Log Analytics**.\n\nAfter you run the query, you can optionally modify the populated\nvalues as needed.\n\nWhat's next\n-----------\n\n- Read [Gemini for Google Cloud overview](/gemini/docs/overview).\n- Learn [how Gemini for Google Cloud uses your data](/gemini/docs/discover/data-governance)."]]