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 \ VmwareEngineNetwork
Methods
__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: projects/123123/global/networks/my-network
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
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Cloud Vmware Engine V1 Client - Class VpcNetwork (1.1.4)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.4 (latest)](/php/docs/reference/cloud-vmware-engine/latest/V1.VmwareEngineNetwork.VpcNetwork)\n- [1.1.3](/php/docs/reference/cloud-vmware-engine/1.1.3/V1.VmwareEngineNetwork.VpcNetwork)\n- [1.0.0](/php/docs/reference/cloud-vmware-engine/1.0.0/V1.VmwareEngineNetwork.VpcNetwork)\n- [0.5.6](/php/docs/reference/cloud-vmware-engine/0.5.6/V1.VmwareEngineNetwork.VpcNetwork)\n- [0.4.0](/php/docs/reference/cloud-vmware-engine/0.4.0/V1.VmwareEngineNetwork.VpcNetwork)\n- [0.3.3](/php/docs/reference/cloud-vmware-engine/0.3.3/V1.VmwareEngineNetwork.VpcNetwork)\n- [0.2.1](/php/docs/reference/cloud-vmware-engine/0.2.1/V1.VmwareEngineNetwork.VpcNetwork)\n- [0.1.4](/php/docs/reference/cloud-vmware-engine/0.1.4/V1.VmwareEngineNetwork.VpcNetwork) \nReference documentation and code samples for the Google Cloud Vmware Engine V1 Client class VpcNetwork.\n\nRepresents a VMware Engine VPC network that is managed by a\nVMware Engine network resource.\n\nGenerated from protobuf message `google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ VmwareEngine \\\\ V1 \\\\ VmwareEngineNetwork\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getType\n\nOutput only. Type of VPC network (INTRANET, INTERNET, or\nGOOGLE_CLOUD)\n\n### setType\n\nOutput only. Type of VPC network (INTRANET, INTERNET, or\nGOOGLE_CLOUD)\n\n### getNetwork\n\nOutput only. The relative resource name of the service VPC network this\nVMware Engine network is attached to. For example:\n`projects/123123/global/networks/my-network`\n\n### setNetwork\n\nOutput only. The relative resource name of the service VPC network this\nVMware Engine network is attached to. For example:\n`projects/123123/global/networks/my-network`"]]