Reference documentation and code samples for the Compute V1 Client class FutureResourcesSpecAggregateResources.
Generated from protobuf message google.cloud.compute.v1.FutureResourcesSpecAggregateResources
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ accelerator_count |
int|string
Size of the request, in accelerator (chip) count. |
↳ vm_family |
string
The VM family that all instances scheduled against this reservation must belong to. Use for TPU reservations. Check the VmFamily enum for the list of possible values. |
↳ workload_type |
string
Workload type. Use for TPU reservations. Check the WorkloadType enum for the list of possible values. |
getAcceleratorCount
Size of the request, in accelerator (chip) count.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
hasAcceleratorCount
clearAcceleratorCount
setAcceleratorCount
Size of the request, in accelerator (chip) count.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getVmFamily
The VM family that all instances scheduled against this reservation must belong to. Use for TPU reservations.
Check the VmFamily enum for the list of possible values.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasVmFamily
clearVmFamily
setVmFamily
The VM family that all instances scheduled against this reservation must belong to. Use for TPU reservations.
Check the VmFamily enum for the list of possible values.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getWorkloadType
Workload type. Use for TPU reservations.
Check the WorkloadType enum for the list of possible values.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasWorkloadType
clearWorkloadType
setWorkloadType
Workload type. Use for TPU reservations.
Check the WorkloadType enum for the list of possible values.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|