class TPU extends Service (View source)

Service definition for TPU (v2).

TPU API provides customers with access to Google TPU technology.

For more information about this service, see the API Documentation

Constants

CLOUD_PLATFORM

See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.

.

Properties

$projects_locations
$projects_locations_acceleratorTypes
$projects_locations_nodes
$projects_locations_operations
$projects_locations_queuedResources
$projects_locations_runtimeVersions
$rootUrlTemplate

Methods

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the TPU service.

Details

__construct(Client|array $clientOrConfig = [], string $rootUrl = null)

Constructs the internal representation of the TPU service.

Parameters

Client|array $clientOrConfig

The client used to deliver requests, or a config array to pass to a new Client instance.

string $rootUrl

The root URL used for requests to the service.