Gemini for Google Cloud API

The AI-powered assistant for Google Cloud.

Service: cloudaicompanion.googleapis.com

To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

Discovery document

A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:

Service endpoint

A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

  • https://cloudaicompanion.googleapis.com

REST Resource: v1.projects.locations

Methods
get GET /v1/{name=projects/*/locations/*}
Gets information about a location.
list GET /v1/{name=projects/*}/locations
Lists information about the supported locations for this service.

REST Resource: v1.projects.locations.codeRepositoryIndexes

Methods
create POST /v1/{parent=projects/*/locations/*}/codeRepositoryIndexes
Creates a new CodeRepositoryIndex in a given project and location.
delete DELETE /v1/{name=projects/*/locations/*/codeRepositoryIndexes/*}
Deletes a single CodeRepositoryIndex.
get GET /v1/{name=projects/*/locations/*/codeRepositoryIndexes/*}
Gets details of a single CodeRepositoryIndex.
list GET /v1/{parent=projects/*/locations/*}/codeRepositoryIndexes
Lists CodeRepositoryIndexes in a given project and location.
patch PATCH /v1/{codeRepositoryIndex.name=projects/*/locations/*/codeRepositoryIndexes/*}
Updates the parameters of a single CodeRepositoryIndex.

REST Resource: v1.projects.locations.codeRepositoryIndexes.repositoryGroups

Methods
create POST /v1/{parent=projects/*/locations/*/codeRepositoryIndexes/*}/repositoryGroups
Creates a new RepositoryGroup in a given project and location.
delete DELETE /v1/{name=projects/*/locations/*/codeRepositoryIndexes/*/repositoryGroups/*}
Deletes a single RepositoryGroup.
get GET /v1/{name=projects/*/locations/*/codeRepositoryIndexes/*/repositoryGroups/*}
Gets details of a single RepositoryGroup.
getIamPolicy GET /v1/{resource=projects/*/locations/*/codeRepositoryIndexes/*/repositoryGroups/*}:getIamPolicy
Gets the access control policy for a resource.
list GET /v1/{parent=projects/*/locations/*/codeRepositoryIndexes/*}/repositoryGroups
Lists RepositoryGroups in a given project and location.
patch PATCH /v1/{repositoryGroup.name=projects/*/locations/*/codeRepositoryIndexes/*/repositoryGroups/*}
Updates the parameters of a single RepositoryGroup.
setIamPolicy POST /v1/{resource=projects/*/locations/*/codeRepositoryIndexes/*/repositoryGroups/*}:setIamPolicy
Sets the access control policy on the specified resource.
testIamPermissions POST /v1/{resource=projects/*/locations/*/codeRepositoryIndexes/*/repositoryGroups/*}:testIamPermissions
Returns permissions that a caller has on the specified resource.

REST Resource: v1.projects.locations.dataSharingWithGoogleSettings

Methods
create POST /v1/{parent=projects/*/locations/*}/dataSharingWithGoogleSettings
Creates a new DataSharingWithGoogleSetting in a given project and location.
delete DELETE /v1/{name=projects/*/locations/*/dataSharingWithGoogleSettings/*}
Deletes a single DataSharingWithGoogleSetting.
get GET /v1/{name=projects/*/locations/*/dataSharingWithGoogleSettings/*}
Gets details of a single DataSharingWithGoogleSetting.
list GET /v1/{parent=projects/*/locations/*}/dataSharingWithGoogleSettings
Lists DataSharingWithGoogleSettings in a given project and location.
patch PATCH /v1/{dataSharingWithGoogleSetting.name=projects/*/locations/*/dataSharingWithGoogleSettings/*}
Updates the parameters of a single DataSharingWithGoogleSetting.

REST Resource: v1.projects.locations.dataSharingWithGoogleSettings.settingBindings

Methods
create POST /v1/{parent=projects/*/locations/*/dataSharingWithGoogleSettings/*}/settingBindings
Creates a new SettingBinding in a given project and location.
delete DELETE /v1/{name=projects/*/locations/*/dataSharingWithGoogleSettings/*/settingBindings/*}
Deletes a single SettingBinding.
get GET /v1/{name=projects/*/locations/*/dataSharingWithGoogleSettings/*/settingBindings/*}
Gets details of a single SettingBinding.
list GET /v1/{parent=projects/*/locations/*/dataSharingWithGoogleSettings/*}/settingBindings
Lists SettingBindings in a given project and location.
patch PATCH /v1/{settingBinding.name=projects/*/locations/*/dataSharingWithGoogleSettings/*/settingBindings/*}
Updates the parameters of a single SettingBinding.

REST Resource: v1.projects.locations.loggingSettings

Methods
create POST /v1/{parent=projects/*/locations/*}/loggingSettings
Creates a new LoggingSetting in a given project and location.
delete DELETE /v1/{name=projects/*/locations/*/loggingSettings/*}
Deletes a single LoggingSetting.
get GET /v1/{name=projects/*/locations/*/loggingSettings/*}
Gets details of a single LoggingSetting.
list GET /v1/{parent=projects/*/locations/*}/loggingSettings
Lists LoggingSettings in a given project and location.
patch PATCH /v1/{loggingSetting.name=projects/*/locations/*/loggingSettings/*}
Updates the parameters of a single LoggingSetting.

REST Resource: v1.projects.locations.loggingSettings.settingBindings

Methods
create POST /v1/{parent=projects/*/locations/*/loggingSettings/*}/settingBindings
Creates a new SettingBinding in a given project and location.
delete DELETE /v1/{name=projects/*/locations/*/loggingSettings/*/settingBindings/*}
Deletes a single SettingBinding.
get GET /v1/{name=projects/*/locations/*/loggingSettings/*/settingBindings/*}
Gets details of a single SettingBinding.
list GET /v1/{parent=projects/*/locations/*/loggingSettings/*}/settingBindings
Lists SettingBindings in a given project and location.
patch PATCH /v1/{settingBinding.name=projects/*/locations/*/loggingSettings/*/settingBindings/*}
Updates the parameters of a single SettingBinding.

REST Resource: v1.projects.locations.operations

Methods
cancel POST /v1/{name=projects/*/locations/*/operations/*}:cancel
Starts asynchronous cancellation on a long-running operation.
delete DELETE /v1/{name=projects/*/locations/*/operations/*}
Deletes a long-running operation.
get GET /v1/{name=projects/*/locations/*/operations/*}
Gets the latest state of a long-running operation.
list GET /v1/{name=projects/*/locations/*}/operations
Lists operations that match the specified filter in the request.