class StoragePoolTypes extends Resource (View source)

The "storagePoolTypes" collection of methods.

Typical usage is:

 $computeService = new Google\Service\Compute(...);
 $storagePoolTypes = $computeService->storagePoolTypes;

Methods

aggregatedList(string $project, array $optParams = [])

Retrieves an aggregated list of storage pool types. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true. (storagePoolTypes.aggregatedList)

get(string $project, string $zone, string $storagePoolType, array $optParams = [])

Returns the specified storage pool type. (storagePoolTypes.get)

listStoragePoolTypes(string $project, string $zone, array $optParams = [])

Retrieves a list of storage pool types available to the specified project.

Details

StoragePoolTypeAggregatedList aggregatedList(string $project, array $optParams = [])

Retrieves an aggregated list of storage pool types. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true. (storagePoolTypes.aggregatedList)

Parameters

string $project

Project ID for this request.

array $optParams

Optional parameters.

Return Value

StoragePoolTypeAggregatedList

Exceptions

Exception

StoragePoolType get(string $project, string $zone, string $storagePoolType, array $optParams = [])

Returns the specified storage pool type. (storagePoolTypes.get)

Parameters

string $project

Project ID for this request.

string $zone

The name of the zone for this request.

string $storagePoolType

Name of the storage pool type to return.

array $optParams

Optional parameters.

Return Value

StoragePoolType

Exceptions

Exception

StoragePoolTypeList listStoragePoolTypes(string $project, string $zone, array $optParams = [])

Retrieves a list of storage pool types available to the specified project.

(storagePoolTypes.listStoragePoolTypes)

Parameters

string $project

Project ID for this request.

string $zone

The name of the zone for this request.

array $optParams

Optional parameters.

Return Value

StoragePoolTypeList

Exceptions

Exception