projects

Creates a new Server in a given project and location.

post/v1/{+parent}/servers

Request

  • Base URL: https://ftp.googleapis.com
  • URL: https://ftp.googleapis.com/v1/{+parent}/servers
  • 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. Value for parent.

Query parameters

requestIdstring

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

serverIdstring

Required. A unique ID for the server. Must start with a lowercase letter, and end with a lowercase letter or number. Can contain lowercase letters, numbers, and hyphens. Maximum length is 30 characters.

Request body

labelsobject

Optional. Labels as key value pairs

state'STATE_UNSPECIFIED' | 'CREATING' | 'STARTING' | 'ACTIVE' | 'STOPPING' | 'STOPPED' | 'DELETING' | 'ERROR' | 'UPDATING'

Output only. The state of the server.

satisfiesPziboolean

Output only. Reserved for future use.

createTimestring google-datetime

Output only. [Output only] Create time stamp

satisfiesPzsboolean

Output only. Reserved for future use.

updateTimestring google-datetime

Output only. [Output only] Update time stamp

accessType'ACCESS_TYPE_UNSPECIFIED' | 'EXTERNAL' | 'INTERNAL'

Required. The access type of the Server.

namestring

Identifier. name of resource

displayNamestring

Optional. Display name of the Server

serviceAgentstring

Output only. Service agent used to access the customer bucket.

Response

Successful response

Changes

No recorded changes to this operation across all 1 revision of this API.