Reference documentation and code samples for the Google Cloud Vmware Engine V1 Client class VpcNetwork.
Represents a VMware Engine VPC network that is managed by a VMware Engine network resource.
Generated from protobuf message google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork
Namespace
Google \ Cloud \ VmwareEngine \ V1 \ VmwareEngineNetworkMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ type |
int
Output only. Type of VPC network (INTRANET, INTERNET, or GOOGLE_CLOUD) |
↳ network |
string
Output only. The relative resource name of the service VPC network this VMware Engine network is attached to. For example: |
getType
Output only. Type of VPC network (INTRANET, INTERNET, or GOOGLE_CLOUD)
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Type. |
setType
Output only. Type of VPC network (INTRANET, INTERNET, or GOOGLE_CLOUD)
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Type. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNetwork
Output only. The relative resource name of the service VPC network this
VMware Engine network is attached to. For example:
projects/123123/global/networks/my-network
| Returns | |
|---|---|
| Type | Description |
string |
|
setNetwork
Output only. The relative resource name of the service VPC network this
VMware Engine network is attached to. For example:
projects/123123/global/networks/my-network
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|