class AcceleratorTypes extends Resource (View source)

The "acceleratorTypes" collection of methods.

Typical usage is:

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

Methods

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

Retrieves an aggregated list of accelerator types. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

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

Returns the specified accelerator type. (acceleratorTypes.get)

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

Retrieves a list of accelerator types that are available to the specified project. (acceleratorTypes.listAcceleratorTypes)

Details

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

Retrieves an aggregated list of accelerator types. To prevent failure, Google recommends that you set the returnPartialSuccess parameter to true.

(acceleratorTypes.aggregatedList)

Parameters

string $project

Project ID for this request.

array $optParams

Optional parameters.

Return Value

AcceleratorTypeAggregatedList

Exceptions

Exception

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

Returns the specified accelerator type. (acceleratorTypes.get)

Parameters

string $project

Project ID for this request.

string $zone

The name of the zone for this request.

string $acceleratorType

Name of the accelerator type to return.

array $optParams

Optional parameters.

Return Value

AcceleratorType

Exceptions

Exception

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

Retrieves a list of accelerator types that are available to the specified project. (acceleratorTypes.listAcceleratorTypes)

Parameters

string $project

Project ID for this request.

string $zone

The name of the zone for this request.

array $optParams

Optional parameters.

Return Value

AcceleratorTypeList

Exceptions

Exception