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.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.