이 알림에서는 Gemini Code Assist 도구가 사용자 데이터를 사용하고 사용자를 대신하여 API를 호출하는 방법을 설명합니다.
Gemini Code Assist 도구를 사용하면 Gemini Code Assist 도구에서 프롬프트를 수집하고 프롬프트에서 가져온 데이터가 포함된 API를 서드 파티 서비스에 호출합니다. 이 문서에서는 각 도구에서 실행할 수 있는 API 호출과 서드 파티 서비스와 공유되는 데이터를 간략하게 설명합니다.
서드 파티 서비스와 공유되는 데이터
Gemini Code Assist 도구는 @TOOL_NAME 구문을 통해 전송된 모든 데이터를 서드 파티 서비스와 공유할 수 있습니다. Gemini Code Assist 도구는 데이터를 도구 간에 공유하지 않습니다. Gemini Code Assist 도구는 @TOOL_NAME 구문을 사용하여 프롬프트를 작성하는 경우를 제외하고 Gemini Code Assist 채팅 기록을 서드 파티 서비스와 공유하지 않습니다.
Gemini Code Assist 도구에서 사용하는 REST API 호출
다음 섹션에는 Gemini Code Assist 채팅에서 프롬프트를 작성할 때 각 서드 파티 도구에서 대신 호출할 수 있는 REST API 호출이 나와 있습니다.
GitHub
Gemini Code Assist 채팅에서 프롬프트를 작성하면 GitHub 도구에서 사용자를 대신하여 다음 REST API 호출을 사용할 수 있습니다.
issues-and-pull-requests.create-issue: 이 REST API 호출은 GitHub 저장소에 GitHub 저장소, 소유자, 문제 제목을 기준으로 문제를 만듭니다.
issues-and-pull-requests.list-comments: 이 REST API 호출은 GitHub 저장소, 소유자, 문제 번호를 기준으로 pull 요청이나 문제와 연결된 댓글을 가져옵니다.
search.code: 모든 GitHub에서 코드를 검색합니다.
search.commits: 모든 GitHub에서 전역적으로 커밋을 검색하거나 특정 저장소나 조직 내에서 커밋을 검색할 수 있습니다.
search.issues-and-pull-requests: 이 REST API 호출을 사용하면 특정 문제와 pull 요청을 검색하여 액세스 권한이 있는 모든 저장소에서 상태(예: 개방 또는 폐쇄) 및 키워드를 기반으로 관련된 모든 정보를 검색할 수 있습니다.
API 권한:
repo: 공개 및 비공개 저장소에 대한 전체 액세스 권한을 부여합니다. 이 범위에는 repo:status, repo_deployment, public_repo, repo:invite, security_events, administration, read:org, write:org, read:public_key, write:public_key, read:gpg_key, write:gpg_key, gist, workflow, codespace가 포함됩니다.
GitLab
Gemini Code Assist 채팅에서 프롬프트를 작성하면 GitLab 도구에서 사용자를 대신하여 다음 REST API 호출을 사용할 수 있습니다.
ListProjects: 현재 사용자의 프로젝트 목록을 검색합니다.
ListIssues: 지정된 프로젝트의 문제 목록을 검색합니다.
CreateIssue: 지정된 프로젝트에 새 문제를 만듭니다.
ListMergeRequests: 지정된 프로젝트의 병합 요청 목록을 검색합니다.
ListMergeRequestPipelines: 지정된 병합 요청의 파이프라인 목록을 가져옵니다.
API 권한:
read_api: 인증된 사용자 API에 대한 읽기 전용 액세스 권한을 부여합니다.
read_repository: 저장소에 대한 읽기 전용 액세스 권한을 부여합니다.
read_user: 인증된 사용자 프로필 정보에 대한 읽기 전용 액세스 권한을 부여합니다.
api: 인증된 사용자 API에 대한 전체 읽기/쓰기 액세스 권한을 부여합니다.
Google Docs
Gemini Code Assist 채팅에서 프롬프트를 작성하면 Google Docs 도구에서 사용자를 대신하여 다음 REST API 호출을 사용할 수 있습니다.
ListFiles: 지정된 쿼리나 필터를 기반으로 사용자의 Google Drive에 있는 파일 목록을 검색합니다.
Export: Google Docs 콘텐츠를 검사하기 위해 콘텐츠를 내보냅니다. 사용자가 지정된 파일에 포함될 수 있는 정보를 요청하면 콘텐츠는 호출해야 하는 REST API입니다.
API 권한:
drive.readonly: 소유한 모든 파일과 액세스할 수 있는 파일을 포함하여 Google Drive 파일에 대한 읽기 전용 액세스를 허용합니다.
Sentry
Gemini Code Assist 채팅에서 프롬프트를 작성하면 Sentry 도구에서 사용자를 대신하여 다음 REST API 호출을 사용할 수 있습니다.
organizations: 현재 organization_id_or_slug를 반환합니다.
getIssue: 개별 문제에 대한 세부정보를 반환합니다. 그러면 문제의 기본 통계(제목, 마지막 조회, 최초 조회), 전반적인 일부 수치(댓글 수, 사용자 신고), 요약된 이벤트 데이터가 반환됩니다.
transactions: 문제의 영향을 받는 트랜잭션 목록을 반환합니다.
issues: 지정된 조직과 프로젝트에 할당된 문제 및 오류 목록을 반환합니다.
API 권한:
event:read: 이벤트를 읽을 수 있습니다.
projects.read: 프로젝트 관련 정보를 읽을 수 있습니다.
org.read: 조직 관련 정보를 읽을 수 있습니다.
Atlassian Rovo
Gemini Code Assist 채팅에서 프롬프트를 작성하면 Atlassian Rovo 도구에서 사용자를 대신하여 다음 REST API 호출을 사용할 수 있습니다.
completions: OpenAI 형식(채팅 메시지 목록)으로 요청을 Atlassian Rovo에 보냅니다.
API 권한:
rovo: 사용자 계정에서 Atlassian Rovo에 액세스할 수 있는 권한을 부여합니다.
MongoDB
Gemini Code Assist 채팅에서 프롬프트를 작성하면 MongoDB 도구에서 사용자를 대신하여 다음 REST API 호출을 사용할 수 있습니다.
createConversation: 이 챗봇은 데이터베이스나 MongoDB에 대한 질문에 답변하고 코드 예시를 제공하며 주제를 설명할 수 있습니다. 이 작업은 대화를 초기화합니다.
addMessage: 이 챗봇은 데이터베이스나 MongoDB에 대한 질문에 답변하고 코드 예시를 제공하며 주제를 설명할 수 있습니다. 이 작업은 새 메시지를 대화에 추가합니다.
API 권한:
사용자가 인증하지 않습니다. 일반 MongoDB 문서 챗봇에 액세스합니다.
New Relic
Gemini Code Assist 채팅에서 프롬프트를 작성하면 New Relic 도구에서 사용자를 대신하여 다음 REST API 호출을 사용할 수 있습니다.
completions: 사용자 프롬프트를 New Relic AI에 전송하고 응답을 수신하는 엔드포인트
API 권한:
사용자 계정의 New Relic AI 엔드포인트에 대한 액세스 권한
Redis
Gemini Code Assist 채팅에서 프롬프트를 작성하면 Redis 도구에서 사용자를 대신하여 다음 REST API 호출을 사용할 수 있습니다.
chat: 사용자 프롬프트를 Redis AI에 전송하고 응답을 수신하는 엔드포인트
API 권한:
사용자가 인증하지 않습니다. 일반 Redis 챗봇에 액세스합니다.
Neo4j
Gemini Code Assist 채팅에서 프롬프트를 작성하면 Neo4j 도구에서 사용자를 대신하여 다음 REST API 호출을 사용할 수 있습니다.
invoke: 사용자 프롬프트를 Neo4j AI 챗봇에 전송하고 응답을 수신하는 엔드포인트
API 권한:
사용자가 인증하지 않습니다. 일반 Neo4j 문서 챗봇에 액세스합니다.
Snyk
Gemini Code Assist 채팅에서 프롬프트를 작성하면 Snyk 도구에서 사용자를 대신하여 다음 작업을 수행할 수 있습니다.
[[["이해하기 쉬움","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-07-29(UTC)"],[],[],null,["# Gemini Code Assist tools permissions\n\n| **Preview**\n|\n|\n| This product or 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 products and 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 notice describes how Gemini Code Assist tools use your data and\nmake API calls on your behalf.\n\nWhen you use Gemini Code Assist tools, Gemini Code Assist\ntools collect your prompts and make API calls that include data taken from your\nprompt to third-party services. This document outlines what API calls each tool\ncan make and what data is shared with the third party service.\n\nData shared with third-party services\n-------------------------------------\n\nGemini Code Assist tools can share any data sent to them using the\n`@TOOL_NAME` syntax with their third-party service. Gemini Code Assist\ntools don't share data between tools. Gemini Code Assist tools don't\nshare your Gemini Code Assist chat history with third-party services\nexcept when you prompt them using the `@TOOL_NAME` syntax.\n\nREST API calls used by Gemini Code Assist tools\n-----------------------------------------------\n\nThe following sections list the REST API calls each third-party tool can make\non your behalf when you prompt them from the Gemini Code Assist chat.\n\n### GitHub\n\nThe GitHub tool can use the following REST API calls on your behalf when you\nprompt it from the Gemini Code Assist chat:\n\n- `issues-and-pull-requests.create-issue`: This REST API call creates an issue in a GitHub repository given a GitHub repository, owner, and an issue title.\n- `issues-and-pull-requests.list-comments`: This REST API call gets the comments associated with a pull request or an issue. given a GitHub repository, owner, and an issue number.\n- `search.code`: Searches for code across all of GitHub.\n- `search.commits`: You can search for commits globally across all of GitHub, or search for commits within a particular repository or organization.\"\n- `search.issues-and-pull-requests`: This REST API call lets you search for specific issues and pull requests to retrieve all information related to them across all repositories you have permission to access based on their state (e.g. open or closed) and keywords.\n\nAPI permissions:\n\n- `repo`: Grants full access to public and private repositories. This scope includes `repo:status`, `repo_deployment`, `public_repo`, `repo:invite`, `security_events`, `administration`, `read:org`, `write:org`, `read:public_key`, `write:public_key`, `read:gpg_key`, `write:gpg_key`, `gist`, `workflow`, and `codespace`.\n\n### GitLab\n\nThe GitLab tool can use the following REST API calls on your behalf when you\nprompt it from the Gemini Code Assist chat:\n\n- `ListProjects`: Retrieves a list of projects for the current user.\n- `ListIssues`: Retrieves a list of issues for a specified project.\n- `CreateIssue`: Creates a new issue in a specified project.\n- `ListMergeRequests`: Retrieves a list of merge requests for a specified project.\n- `ListMergeRequestPipelines`: Retrieves a list of pipelines for a specified merge request.\n\nAPI permissions:\n\n- `read_api`: Grants read-only access to the authenticated user's API.\n- `read_repository`: Grants read-only access to the repository.\n- `read_user`: Grants read-only access to the authenticated user's profile information.\n- `api`: Grants complete read/write access to the authenticated user's API.\n\n### Google Docs\n\nThe Google Docs tool can use the following REST API calls on your behalf when\nyou prompt it from the Gemini Code Assist chat:\n\n- `ListFiles`: Retrieve a list of files in the user's Google Drive based on a given query or filters.\n- `Export`: Export the contents of a Google Doc in order to inspect its contents. If the user is asking for any information that may be contained within a given file, this is the REST API that should be called.\n\nAPI permissions:\n\n- `drive.readonly`: Allows read-only access to your Google Drive files, including all files you own and files have access to.\n\n### Sentry\n\nThe Sentry tool can use the following REST API calls on your behalf when you\nprompt it from the Gemini Code Assist chat:\n\n- `organizations`: Return the current `organization_id_or_slug`.\n- `getIssue`: Return details on an individual issue. This returns the basic stats for the issue (title, last seen, first seen), some overall numbers (number of comments, user reports) as well as the summarized event data.\n- `transactions`: Return a list of transactions affected by an issue\n- `issues`: Return a list of issues and errors assigned for the given organization and project.\n\nAPI permissions:\n\n- `event:read`: Allows reading events.\n- `projects.read`: Allows reading project-related information.\n- `org.read`: Allows reading organization-related information.\n\n### Atlassian Rovo\n\nThe Atlassian Rovo tool can use the following REST API calls on your behalf when\nyou prompt it from the Gemini Code Assist chat:\n\n- `completions`: Send a request to Atlassian Rovo in OpenAI format (a list of chat messages)\n\nAPI permissions:\n\n- `rovo`: Grants access to Atlassian Rovo in the user's account.\n\n### MongoDB\n\nThe MongoDB tool tool can use the following REST API calls on your behalf when\nyou prompt it from the Gemini Code Assist chat:\n\n- `createConversation`: This chatbot can answer any question about databases or MongoDB, provide examples of code, explain topics, etc. This operation initializes the conversation.\n- `addMessage`: This chatbot can answer any question about databases or MongoDB, provide examples of code, explain topics, etc. This operation adds a new message to the conversation.\n\nAPI permissions:\n\n- Not user-authenticated. Accesses the general MongoDB docs chatbot.\n\n### New Relic\n\nThe New Relic tool can use the following REST API calls on your behalf when you\nprompt it from the Gemini Code Assist chat:\n\n- `completions`: Endpoint to send user prompts to New Relic AI and receive responses\n\nAPI permissions:\n\n- Access to New Relic's AI endpoint for the user's account.\n\n### Redis\n\nThe Redis tool can use the following REST API calls on your behalf when you\nprompt it from the Gemini Code Assist chat:\n\n- `chat`: Endpoint to send user prompts to Redis AI and receive responses\n\nAPI permissions:\n\n- Not user-authenticated. Accesses the general Redis chatbot.\n\n### Neo4j\n\nThe Neo4j tool can use the following REST API calls on your behalf when you prompt\nit from the Gemini Code Assist chat:\n\n- `invoke`: Endpoint to send user prompts to Neo4j AI Chatbot and receive responses\n\nAPI permissions:\n\n- Not user-authenticated. Accesses the general Neo4j docs chatbot.\n\n### Snyk\n\nThe Snyk tool can perform the following operations on your behalf when you\nprompt it from the Gemini Code Assist chat:\n\n- `/scan`: Fetches vulnerability logs from Snyk Extension\n- `/scan new`: Fetches latest vulnerability logs\n\nWhat's next\n-----------\n\n- Read [Security, privacy, and compliance for Gemini Code Assist Standard and Enterprise](/gemini/docs/codeassist/security-privacy-compliance).\n- Learn [how Gemini uses your data](/gemini/docs/discover/data-governance)."]]