Reference documentation and code samples for the Google Cloud Notebooks V1 Client class SetInstanceAcceleratorRequest.
Request for setting instance accelerator.
Generated from protobuf message google.cloud.notebooks.v1.SetInstanceAcceleratorRequest
Namespace
Google \ Cloud \ Notebooks \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}
↳ type
int
Required. Type of this accelerator.
↳ core_count
int|string
Required. Count of cores of this accelerator. Note that not all combinations of type
and core_count
are valid. Check GPUs on Compute Engine
to find a valid combination. TPUs are not supported.
getName
Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}
string
setName
Required. Format: projects/{project_id}/locations/{location}/instances/{instance_id}
var
string
$this
getType
Required. Type of this accelerator.
int
setType
Required. Type of this accelerator.
var
int
$this
getCoreCount
Required. Count of cores of this accelerator. Note that not all combinations
of type
and core_count
are valid. Check GPUs on
Compute Engine
to
find a valid combination. TPUs are not supported.
int|string
setCoreCount
Required. Count of cores of this accelerator. Note that not all combinations
of type
and core_count
are valid. Check GPUs on
Compute Engine
to
find a valid combination. TPUs are not supported.
var
int|string
$this