Reference documentation and code samples for the Google Cloud Hypercompute Cluster V1beta Client class ExistingNetworkConfig.
When set in a NetworkResourceConfig, indicates that an existing network should be imported.
Generated from protobuf message google.cloud.hypercomputecluster.v1beta.ExistingNetworkConfig
Namespace
Google \ Cloud \ HypercomputeCluster \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ network |
string
Required. Immutable. Name of the network to import, in the format |
↳ subnetwork |
string
Required. Immutable. Particular subnetwork to use, in the format |
getNetwork
Required. Immutable. Name of the network to import, in the format
projects/{project}/global/networks/{network}.
| Returns | |
|---|---|
| Type | Description |
string |
|
setNetwork
Required. Immutable. Name of the network to import, in the format
projects/{project}/global/networks/{network}.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSubnetwork
Required. Immutable. Particular subnetwork to use, in the format
projects/{project}/regions/{region}/subnetworks/{subnetwork}.
| Returns | |
|---|---|
| Type | Description |
string |
|
setSubnetwork
Required. Immutable. Particular subnetwork to use, in the format
projects/{project}/regions/{region}/subnetworks/{subnetwork}.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|