class ProjectsLocationsAcceleratorTypes extends Resource (View source)

The "acceleratorTypes" collection of methods.

Typical usage is:

 $tpuService = new Google\Service\TPU(...);
 $acceleratorTypes = $tpuService->projects_locations_acceleratorTypes;

Methods

get(string $name, array $optParams = [])

Gets AcceleratorType. (acceleratorTypes.get)

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

Lists accelerator types supported by this API.

Details

AcceleratorType get(string $name, array $optParams = [])

Gets AcceleratorType. (acceleratorTypes.get)

Parameters

string $name

Required. The resource name.

array $optParams

Optional parameters.

Return Value

AcceleratorType

Exceptions

Exception

ListAcceleratorTypesResponse listProjectsLocationsAcceleratorTypes(string $parent, array $optParams = [])

Lists accelerator types supported by this API.

(acceleratorTypes.listProjectsLocationsAcceleratorTypes)

Parameters

string $parent

Required. The parent resource name.

array $optParams

Optional parameters.

Return Value

ListAcceleratorTypesResponse

Exceptions

Exception