Optional. Optionale Anfrage-ID zur Identifizierung von Anfragen. Geben Sie eine eindeutige Anfrage-ID an, damit der Server die Anfrage ignoriert, falls sie bereits abgeschlossen wurde, falls Sie Ihre Anfrage wiederholen müssen. Der Server gewährleistet dies für mindestens 60 Minuten nach der ersten Anfrage.
Die Anfrage-ID muss eine gültige UUID sein, mit der Ausnahme, dass null UUID nicht unterstützt wird (00000000-0000-0000-0000-000000000000).
force
boolean
Optional. Wenn dieser Wert auf „wahr“ gesetzt ist, werden auch alle RepositoryGroups aus diesem CodeRepositoryIndex gelöscht. Andernfalls funktioniert die Anfrage nur, wenn der CodeRepositoryIndex keine RepositoryGroups hat.
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von Operation.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-07-30 (UTC)."],[[["\u003cp\u003eThis endpoint facilitates the deletion of a single CodeRepositoryIndex resource via an HTTP DELETE request to a specific URL, which follows gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eThe deletion request requires a \u003ccode\u003ename\u003c/code\u003e path parameter to identify the specific CodeRepositoryIndex, and it can optionally include \u003ccode\u003erequestId\u003c/code\u003e and \u003ccode\u003eforce\u003c/code\u003e query parameters for idempotency and cascading deletion.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty, and a successful deletion operation returns an instance of an Operation in the response body.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this operation requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope and the \u003ccode\u003ecloudaicompanion.codeRepositoryIndexes.delete\u003c/code\u003e IAM permission on the target resource.\u003c/p\u003e\n"],["\u003cp\u003eYou can specify a \u003ccode\u003eforce\u003c/code\u003e query parameter to delete any related RepositoryGroups in addition to the CodeRepositoryIndex.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.codeRepositoryIndexes.delete\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [IAM Permissions](#body.aspect_1)\n\nDeletes a single CodeRepositoryIndex.\n\n### HTTP request\n\n`DELETE https://cloudaicompanion.googleapis.com/v1/{name=projects/*/locations/*/codeRepositoryIndexes/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [Operation](/gemini/docs/api/reference/rest/v1/projects.locations.operations#Operation).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp).\n\n### IAM Permissions\n\nRequires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource:\n\n- `cloudaicompanion.codeRepositoryIndexes.delete`\n\nFor more information, see the [IAM documentation](https://cloud.google.com/iam/docs)."]]