class OrganizationsLocationsFleets extends Resource (View source)

The "fleets" collection of methods.

Typical usage is:

 $gkehubService = new Google\Service\GKEHub(...);
 $fleets = $gkehubService->organizations_locations_fleets;

Methods

listOrganizationsLocationsFleets(string $parent, array $optParams = [])

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

Details

ListFleetsResponse listOrganizationsLocationsFleets(string $parent, array $optParams = [])

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

Parameters

string $parent

Required. The organization or project to list for Fleets under, in the format organizations/locations or projects/locations.

array $optParams

Optional parameters.

Return Value

ListFleetsResponse

Exceptions

Exception