Google Cloud Vmware Engine V1 Client - Class VpcNetwork (0.4.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
NameDescription
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
TypeDescription
int

setType

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

Parameter
NameDescription
var int
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this