Obbligatorio. Il nome della risorsa della località dell'istanza nel formato: projects/{projectId}/locations/{locationId} dove locationId si riferisce a una regione Google Cloud
Parametri di query
Parametri
instanceId
string
Obbligatorio. Il nome logico dell'istanza Memcached nel progetto utente con le seguenti limitazioni:
Deve contenere solo lettere minuscole, numeri e trattini.
Deve iniziare con una lettera.
Deve avere una lunghezza compresa tra 1 e 40 caratteri.
Deve terminare con un numero o una lettera.
Deve essere univoco all'interno del progetto / della località dell'utente.
Se uno dei requisiti sopra indicati non viene soddisfatto, l'API genera un errore di argomento non valido.
Corpo della richiesta
Il corpo della richiesta contiene un'istanza di Instance.
Corpo della risposta
In caso di esito positivo, il corpo della risposta contiene un'istanza appena creata di Operation.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-07-30 UTC."],[],[],null,["# Method: projects.locations.instances.create\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- [Examples](#examples)\n- [Try it!](#try-it)\n\nCreates a new Instance in a given location.\n\n### HTTP request\n\n`POST https://memcache.googleapis.com/v1/{parent=projects/*/locations/*}/instances`\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 contains an instance of [Instance](/memorystore/docs/memcached/reference/rest/v1/projects.locations.instances#Instance).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [Operation](/memorystore/docs/memcached/reference/rest/Shared.Types/ListOperationsResponse#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)."]]