Method: projects.locations.fleets.patch

Updates a fleet.

HTTP request

PATCH https://gkehub.googleapis.com/v1/{fleet.name=projects/*/locations/*/fleets/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
fleet.name

string

Output only. The full, unique resource name of this fleet in the format of projects/{project}/locations/{location}/fleets/{fleet}.

Each Google Cloud project can have at most one fleet resource, named "default".

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. The fields to be updated;

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of Fleet.

Response body

If successful, the response body contains an instance of Operation.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.