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
列出指定專案和位置中的 RepositoryGroups。
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
列出指定專案和位置中的 CodeToolsSettings。
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
列出指定專案和位置中的 SettingBindings。
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
列出指定專案和位置中的 DataSharingWithGoogleSettings。
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
列出指定專案和位置中的 SettingBindings。
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
列出指定專案和位置中的 GeminiGcpEnablementSettings。
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
列出指定專案和位置中的 SettingBindings。
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
列出指定專案和位置中的 LoggingSettings。
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
列出指定專案和位置中的 SettingBindings。
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
列出符合要求中指定篩選器的作業。