Reference documentation and code samples for the Google Cloud Hypercompute Cluster V1beta Client class NetworkResource.
A resource representing a network that connects the various components of a cluster together.
Generated from protobuf message google.cloud.hypercomputecluster.v1beta.NetworkResource
Namespace
Google \ Cloud \ HypercomputeCluster \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ network |
NetworkReference
Reference to a network in Google Compute Engine. |
↳ config |
NetworkResourceConfig
Immutable. Configuration for this network resource, which describes how it should be created or imported. This field only controls how the network resource is initially created or imported. Subsequent changes to the network resource should be made via the resource's API and will not be reflected in the configuration. |
getNetwork
Reference to a network in Google Compute Engine.
| Returns | |
|---|---|
| Type | Description |
NetworkReference|null |
|
hasNetwork
setNetwork
Reference to a network in Google Compute Engine.
| Parameter | |
|---|---|
| Name | Description |
var |
NetworkReference
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getConfig
Immutable. Configuration for this network resource, which describes how it should be created or imported. This field only controls how the network resource is initially created or imported. Subsequent changes to the network resource should be made via the resource's API and will not be reflected in the configuration.
| Returns | |
|---|---|
| Type | Description |
NetworkResourceConfig|null |
|
hasConfig
clearConfig
setConfig
Immutable. Configuration for this network resource, which describes how it should be created or imported. This field only controls how the network resource is initially created or imported. Subsequent changes to the network resource should be made via the resource's API and will not be reflected in the configuration.
| Parameter | |
|---|---|
| Name | Description |
var |
NetworkResourceConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getReference
| Returns | |
|---|---|
| Type | Description |
string |
|