Gemini for Google Cloud API

适用于 Google Cloud 的 AI 赋能助理。

服务:cloudaicompanion.googleapis.com

如要调用此服务,我们建议您使用 Google 提供的客户端库。如果您的应用需要使用您自己的库来调用此服务,则在发出 API 请求时应使用以下信息。

发现文档

发现文档是用于说明和使用 REST API 的机器可读规范。它用于构建客户端库、IDE 插件以及与 Google API 交互的其他工具。一项服务可能会提供多个发现文档。此服务提供了以下发现文档:

服务端点

服务端点是指定 API 服务的网络地址的基本网址。一项服务可能有多个服务端点。此服务具有以下服务端点,下面的所有 URI 都与此服务端点相关:

  • https://cloudaicompanion.googleapis.com

REST 资源:v1.projects.locations

方法
get GET /v1/{name=projects/*/locations/*}
获取位置相关信息。
list GET /v1/{name=projects/*}/locations
列出有关此服务所支持位置的信息。

REST 资源:v1.projects.locations.codeRepositoryIndexes

方法
create POST /v1/{parent=projects/*/locations/*}/codeRepositoryIndexes
在给定的项目和位置中创建一个新 CodeRepositoryIndex。
delete DELETE /v1/{name=projects/*/locations/*/codeRepositoryIndexes/*}
删除单个 CodeRepositoryIndex。
get GET /v1/{name=projects/*/locations/*/codeRepositoryIndexes/*}
获取单个 CodeRepositoryIndex 的详细信息。
list GET /v1/{parent=projects/*/locations/*}/codeRepositoryIndexes
列出给定项目和位置中的 CodeRepositoryIndexes。
patch PATCH /v1/{codeRepositoryIndex.name=projects/*/locations/*/codeRepositoryIndexes/*}
更新单个 CodeRepositoryIndex 的参数。

REST 资源:v1.projects.locations.codeRepositoryIndexes.repositoryGroups

方法
create POST /v1/{parent=projects/*/locations/*/codeRepositoryIndexes/*}/repositoryGroups
在给定的项目和位置中创建一个新 RepositoryGroup。
delete DELETE /v1/{name=projects/*/locations/*/codeRepositoryIndexes/*/repositoryGroups/*}
删除单个 RepositoryGroup。
get GET /v1/{name=projects/*/locations/*/codeRepositoryIndexes/*/repositoryGroups/*}
获取单个 RepositoryGroup 的详细信息。
getIamPolicy GET /v1/{resource=projects/*/locations/*/codeRepositoryIndexes/*/repositoryGroups/*}:getIamPolicy
获取资源的访问权限控制政策。
list GET /v1/{parent=projects/*/locations/*/codeRepositoryIndexes/*}/repositoryGroups
列出给定项目和位置中的 RepositoryGroup。
patch PATCH /v1/{repositoryGroup.name=projects/*/locations/*/codeRepositoryIndexes/*/repositoryGroups/*}
更新单个 RepositoryGroup 的参数。
setIamPolicy POST /v1/{resource=projects/*/locations/*/codeRepositoryIndexes/*/repositoryGroups/*}:setIamPolicy
设置对指定资源的访问权限控制政策。
testIamPermissions POST /v1/{resource=projects/*/locations/*/codeRepositoryIndexes/*/repositoryGroups/*}:testIamPermissions
返回调用者对指定资源拥有的权限。

REST 资源:v1.projects.locations.codeToolsSettings

方法
create POST /v1/{parent=projects/*/locations/*}/codeToolsSettings
在给定的项目和位置中创建新 CodeToolsSetting。
delete DELETE /v1/{name=projects/*/locations/*/codeToolsSettings/*}
删除单个 CodeToolsSetting。
get GET /v1/{name=projects/*/locations/*/codeToolsSettings/*}
获取单个 CodeToolsSetting 的详细信息。
list GET /v1/{parent=projects/*/locations/*}/codeToolsSettings
列出给定项目和位置中的 CodeToolsSetting。
patch PATCH /v1/{codeToolsSetting.name=projects/*/locations/*/codeToolsSettings/*}
更新单个 CodeToolsSetting 的参数。

REST 资源:v1.projects.locations.codeToolsSettings.settingBindings

方法
create POST /v1/{parent=projects/*/locations/*/codeToolsSettings/*}/settingBindings
在给定的项目和位置中创建新 SettingBinding。
delete DELETE /v1/{name=projects/*/locations/*/codeToolsSettings/*/settingBindings/*}
删除单个 SettingBinding。
get GET /v1/{name=projects/*/locations/*/codeToolsSettings/*/settingBindings/*}
获取单个 SettingBinding 的详细信息。
list GET /v1/{parent=projects/*/locations/*/codeToolsSettings/*}/settingBindings
列出给定项目和位置中的 SettingBinding。
patch PATCH /v1/{settingBinding.name=projects/*/locations/*/codeToolsSettings/*/settingBindings/*}
更新单个 SettingBinding 的参数。

REST 资源:v1.projects.locations.dataSharingWithGoogleSettings

方法
create POST /v1/{parent=projects/*/locations/*}/dataSharingWithGoogleSettings
在给定的项目和位置中创建新 DataSharingWithGoogleSetting。
delete DELETE /v1/{name=projects/*/locations/*/dataSharingWithGoogleSettings/*}
删除单个 DataSharingWithGoogleSetting。
get GET /v1/{name=projects/*/locations/*/dataSharingWithGoogleSettings/*}
获取单个 DataSharingWithGoogleSetting 的详细信息。
list GET /v1/{parent=projects/*/locations/*}/dataSharingWithGoogleSettings
列出给定项目和位置中的 DataSharingWithGoogleSetting。
patch PATCH /v1/{dataSharingWithGoogleSetting.name=projects/*/locations/*/dataSharingWithGoogleSettings/*}
更新单个 DataSharingWithGoogleSetting 的参数。

REST 资源:v1.projects.locations.dataSharingWithGoogleSettings.settingBindings

方法
create POST /v1/{parent=projects/*/locations/*/dataSharingWithGoogleSettings/*}/settingBindings
在给定的项目和位置中创建新 SettingBinding。
delete DELETE /v1/{name=projects/*/locations/*/dataSharingWithGoogleSettings/*/settingBindings/*}
删除单个 SettingBinding。
get GET /v1/{name=projects/*/locations/*/dataSharingWithGoogleSettings/*/settingBindings/*}
获取单个 SettingBinding 的详细信息。
list GET /v1/{parent=projects/*/locations/*/dataSharingWithGoogleSettings/*}/settingBindings
列出给定项目和位置中的 SettingBinding。
patch PATCH /v1/{settingBinding.name=projects/*/locations/*/dataSharingWithGoogleSettings/*/settingBindings/*}
更新单个 SettingBinding 的参数。

REST 资源:v1.projects.locations.geminiGcpEnablementSettings

方法
create POST /v1/{parent=projects/*/locations/*}/geminiGcpEnablementSettings
在给定的项目和位置中创建新 GeminiGcpEnablementSetting。
delete DELETE /v1/{name=projects/*/locations/*/geminiGcpEnablementSettings/*}
删除单个 GeminiGcpEnablementSetting。
get GET /v1/{name=projects/*/locations/*/geminiGcpEnablementSettings/*}
获取单个 GeminiGcpEnablementSetting 的详细信息。
list GET /v1/{parent=projects/*/locations/*}/geminiGcpEnablementSettings
列出给定项目和位置中的 GeminiGcpEnablementSetting。
patch PATCH /v1/{geminiGcpEnablementSetting.name=projects/*/locations/*/geminiGcpEnablementSettings/*}
更新单个 GeminiGcpEnablementSetting 的参数。

REST 资源:v1.projects.locations.geminiGcpEnablementSettings.settingBindings

方法
create POST /v1/{parent=projects/*/locations/*/geminiGcpEnablementSettings/*}/settingBindings
在给定的项目和位置中创建新 SettingBinding。
delete DELETE /v1/{name=projects/*/locations/*/geminiGcpEnablementSettings/*/settingBindings/*}
删除单个 SettingBinding。
get GET /v1/{name=projects/*/locations/*/geminiGcpEnablementSettings/*/settingBindings/*}
获取单个 SettingBinding 的详细信息。
list GET /v1/{parent=projects/*/locations/*/geminiGcpEnablementSettings/*}/settingBindings
列出给定项目和位置中的 SettingBinding。
patch PATCH /v1/{settingBinding.name=projects/*/locations/*/geminiGcpEnablementSettings/*/settingBindings/*}
更新单个 SettingBinding 的参数。

REST 资源:v1.projects.locations.loggingSettings

方法
create POST /v1/{parent=projects/*/locations/*}/loggingSettings
在给定的项目和位置中创建新 LoggingSetting。
delete DELETE /v1/{name=projects/*/locations/*/loggingSettings/*}
删除单个 LoggingSetting。
get GET /v1/{name=projects/*/locations/*/loggingSettings/*}
获取单个 LoggingSetting 的详细信息。
list GET /v1/{parent=projects/*/locations/*}/loggingSettings
列出给定项目和位置中的 LoggingSetting。
patch PATCH /v1/{loggingSetting.name=projects/*/locations/*/loggingSettings/*}
更新单个 LoggingSetting 的参数。

REST 资源:v1.projects.locations.loggingSettings.settingBindings

方法
create POST /v1/{parent=projects/*/locations/*/loggingSettings/*}/settingBindings
在给定的项目和位置中创建新 SettingBinding。
delete DELETE /v1/{name=projects/*/locations/*/loggingSettings/*/settingBindings/*}
删除单个 SettingBinding。
get GET /v1/{name=projects/*/locations/*/loggingSettings/*/settingBindings/*}
获取单个 SettingBinding 的详细信息。
list GET /v1/{parent=projects/*/locations/*/loggingSettings/*}/settingBindings
列出给定项目和位置中的 SettingBinding。
patch PATCH /v1/{settingBinding.name=projects/*/locations/*/loggingSettings/*/settingBindings/*}
更新单个 SettingBinding 的参数。

REST 资源:v1.projects.locations.operations

方法
cancel POST /v1/{name=projects/*/locations/*/operations/*}:cancel
对长时间运行的操作启动异步取消。
delete DELETE /v1/{name=projects/*/locations/*/operations/*}
删除长时间运行的操作。
get GET /v1/{name=projects/*/locations/*/operations/*}
获取长时间运行的操作的最新状态。
list GET /v1/{name=projects/*/locations/*}/operations
列出与请求中指定的过滤条件匹配的操作。