- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Examples
- Try it!
Creates a new Instance in a given location.
HTTP request
POST https://memcache.googleapis.com/v1beta2/{parent=projects/*/locations/*}/instances
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The resource name of the instance location using the form: |
Query parameters
Parameters | |
---|---|
instanceId |
Required. The logical name of the Memcached instance in the user project with the following restrictions:
If any of the above are not met, the API raises an invalid argument error. |
Request body
The request body contains an instance of Instance
.
Response body
If successful, the response body contains a newly created instance of Operation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.