Method: projects.locations.fleets.create

Creates a fleet.

HTTP request

POST https://gkehub.googleapis.com/v1/{parent=projects/*/locations/*}/fleets

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent (project and location) where the Fleet will be created. Specified in the format projects/*/locations/*.

Authorization requires the following IAM permission on the specified resource parent:

  • gkehub.fleet.create

Request body

The request body contains an instance of Fleet.

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.