Google Cloud Vmware Engine V1 Client - Class VpcNetwork (1.0.0)

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

setType

Output only. Type of VPC network (INTRANET, INTERNET, or GOOGLE_CLOUD)

Parameter
Name Description
var int
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