You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pre>Returns all fleets within an organization or a project that the caller has access to.
95
+
96
+
Args:
97
+
parent: string, Required. The organization or project to list for Fleets under, in the format `organizations/*/locations/*` or `projects/*/locations/*`. (required)
98
+
pageSize: integer, Optional. The maximum number of fleets to return. The service may return fewer than this value. If unspecified, at most 200 fleets will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
99
+
pageToken: string, Optional. A page token, received from a previous `ListFleets` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListFleets` must match the call that provided the page token.
100
+
x__xgafv: string, V1 error format.
101
+
Allowed values
102
+
1 - v1 error format
103
+
2 - v2 error format
104
+
105
+
Returns:
106
+
An object of the form:
107
+
108
+
{ # Response message for the `GkeHub.ListFleetsResponse` method.
109
+
"fleets": [ # The list of matching fleets.
110
+
{ # Fleet contains the Fleet-wide metadata and configuration.
111
+
"createTime": "A String", # Output only. When the Fleet was created.
112
+
"deleteTime": "A String", # Output only. When the Fleet was deleted.
113
+
"displayName": "A 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`
114
+
"name": "A 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".
115
+
"state": { # FleetLifecycleState describes the state of a Fleet resource. # Output only. State of the namespace resource.
116
+
"code": "A String", # Output only. The current state of the Fleet resource.
117
+
},
118
+
"uid": "A 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.
119
+
"updateTime": "A String", # Output only. When the Fleet was last updated.
120
+
},
121
+
],
122
+
"nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. The token is only valid for 1h.
0 commit comments