class ProjectsLocationsRuntimeVersions extends Resource (View source)

The "runtimeVersions" collection of methods.

Typical usage is:

 $tpuService = new Google\Service\TPU(...);
 $runtimeVersions = $tpuService->projects_locations_runtimeVersions;

Methods

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

Gets a runtime version. (runtimeVersions.get)

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

Lists runtime versions supported by this API.

Details

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

Gets a runtime version. (runtimeVersions.get)

Parameters

string $name

Required. The resource name.

array $optParams

Optional parameters.

Return Value

RuntimeVersion

Exceptions

Exception

ListRuntimeVersionsResponse listProjectsLocationsRuntimeVersions(string $parent, array $optParams = [])

Lists runtime versions supported by this API.

(runtimeVersions.listProjectsLocationsRuntimeVersions)

Parameters

string $parent

Required. The parent resource name.

array $optParams

Optional parameters.

Return Value

ListRuntimeVersionsResponse

Exceptions

Exception