Reference documentation and code samples for the Google Cloud Hypercompute Cluster V1beta Client class NetworkResourceConfig.
Describes how a network resource should be initialized. Each network resource can either be imported from an existing Google Cloud resource or initialized when the cluster is created.
Generated from protobuf message google.cloud.hypercomputecluster.v1beta.NetworkResourceConfig
Namespace
Google \ Cloud \ HypercomputeCluster \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ new_network |
NewNetworkConfig
Optional. Immutable. If set, indicates that a new network should be created. |
↳ existing_network |
ExistingNetworkConfig
Optional. Immutable. If set, indicates that an existing network should be imported. |
getNewNetwork
Optional. Immutable. If set, indicates that a new network should be created.
| Returns | |
|---|---|
| Type | Description |
NewNetworkConfig|null |
|
hasNewNetwork
setNewNetwork
Optional. Immutable. If set, indicates that a new network should be created.
| Parameter | |
|---|---|
| Name | Description |
var |
NewNetworkConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getExistingNetwork
Optional. Immutable. If set, indicates that an existing network should be imported.
| Returns | |
|---|---|
| Type | Description |
ExistingNetworkConfig|null |
|
hasExistingNetwork
setExistingNetwork
Optional. Immutable. If set, indicates that an existing network should be imported.
| Parameter | |
|---|---|
| Name | Description |
var |
ExistingNetworkConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getConfig
| Returns | |
|---|---|
| Type | Description |
string |
|