Reference documentation and code samples for the Google Cloud Hypercompute Cluster V1beta Client class ComputeResource.
A resource defining how virtual machines and accelerators should be provisioned for the cluster.
Generated from protobuf message google.cloud.hypercomputecluster.v1beta.ComputeResource
Namespace
Google \ Cloud \ HypercomputeCluster \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ config |
ComputeResourceConfig
Required. Immutable. Configuration for this compute resource, which describes how it should be created at runtime. |
getConfig
Required. Immutable. Configuration for this compute resource, which describes how it should be created at runtime.
| Returns | |
|---|---|
| Type | Description |
ComputeResourceConfig|null |
|
hasConfig
clearConfig
setConfig
Required. Immutable. Configuration for this compute resource, which describes how it should be created at runtime.
| Parameter | |
|---|---|
| Name | Description |
var |
ComputeResourceConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|