Google Cloud Gke Hub V1 Client - Class ListFleetsResponse (1.3.0)

Reference documentation and code samples for the Google Cloud Gke Hub V1 Client class ListFleetsResponse.

Response message for the GkeHub.ListFleetsResponse method.

Generated from protobuf message google.cloud.gkehub.v1.ListFleetsResponse

Namespace

Google \ Cloud \ GkeHub \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ fleets array<Fleet>

The list of matching fleets.

↳ next_page_token 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.

getFleets

The list of matching fleets.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setFleets

The list of matching fleets.

Parameter
Name Description
var array<Fleet>
Returns
Type Description
$this

getNextPageToken

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.

Returns
Type Description
string

setNextPageToken

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.

Parameter
Name Description
var string
Returns
Type Description
$this