projects

Creates a new Datastore resource in a given project and location.

post/v1/{+parent}/datastores

Request

  • Base URL: https://vmwareengine.googleapis.com
  • URL: https://vmwareengine.googleapis.com/v1/{+parent}/datastores
  • Auth: OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/cloud-platform) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/cloud-platform)

Path parameters

parentstring required

Required. The resource name of the location to create the new datastore in. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1

Query parameters

datastoreIdstring

Required. The user-provided identifier of the datastore to be created. This identifier must be unique among each Datastore within the parent and becomes the final token in the name URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with RFC 1034 (section 3.5)

requestIdstring

Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

Request body

clustersstring[]

Output only. Clusters to which the datastore is attached.

createTimestring google-datetime

Output only. Creation time of this resource.

descriptionstring

Optional. User-provided description for this datastore

etagstring

Optional. Checksum that may be sent on update and delete requests to ensure that the user-provided value is up to date before the server processes a request. The server computes checksums based on the value of other fields in the request.

namestring

Output only. Identifier. The resource name of this datastore. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1/datastores/datastore

state'STATE_UNSPECIFIED' | 'CREATING' | 'ACTIVE' | 'UPDATING' | 'DELETING'

Output only. The state of the Datastore.

uidstring

Output only. System-generated unique identifier for the resource.

updateTimestring google-datetime

Output only. Last update time of this resource.

Response

Successful response

Changes

    • breaking

      removed the request body

    • breaking

      removed the media type */* for the response with the status