REST Resource: projects.locations.fleets

Resource: Fleet

Fleet contains the Fleet-wide metadata and configuration.

JSON representation
{
  "name": string,
  "displayName": string,
  "createTime": string,
  "updateTime": string,
  "deleteTime": string,
  "uid": string,
  "state": {
    object (FleetLifecycleState)
  },
  "labels": {
    string: string,
    ...
  }
}
Fields
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".

displayName

string

Optional. A user-assigned display name of the Fleet. When present, it must be between 4 to 30 characters. Allowed characters are: lowercase and uppercase letters, numbers, hyphen, single-quote, double-quote, space, and exclamation point.

Example: Production Fleet

createTime

string (Timestamp format)

Output only. When the Fleet was created.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

updateTime

string (Timestamp format)

Output only. When the Fleet was last updated.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

deleteTime

string (Timestamp format)

Output only. When the Fleet was deleted.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

uid

string

Output only. Google-generated UUID for this resource. This is unique across all Fleet resources. If a Fleet resource is deleted and another resource with the same name is created, it gets a different uid.

state

object (FleetLifecycleState)

Output only. State of the namespace resource.

labels

map (key: string, value: string)

Optional. Labels for this Fleet.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

FleetLifecycleState

FleetLifecycleState describes the state of a Fleet resource.

JSON representation
{
  "code": enum (FleetLifecycleState.Code)
}
Fields
code

enum (FleetLifecycleState.Code)

Output only. The current state of the Fleet resource.

FleetLifecycleState.Code

Code describes the state of a Fleet resource.

Enums
CODE_UNSPECIFIED The code is not set.
CREATING The fleet is being created.
READY The fleet active.
DELETING The fleet is being deleted.
UPDATING The fleet is being updated.

Methods

create

Creates a fleet.

delete

Removes a Fleet.

get

Returns the details of a fleet.

list

Returns all fleets within an organization or a project that the caller has access to.

patch

Updates a fleet.