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

Reference documentation and code samples for the Google Cloud Vmware Engine V1 Client class IpRange.

An IP range provided in any one of the supported formats.

Generated from protobuf message google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange

Namespace

Google \ Cloud \ VmwareEngine \ V1 \ ExternalAccessRule

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ ip_address
string

A single IP address. For example: 10.0.0.5 .

↳ ip_address_range
string

An IP address range in the CIDR format. For example: 10.0.0.0/24 .

↳ external_address
string

The name of an ExternalAddress resource. The external address must have been reserved in the scope of this external access rule's parent network policy. Provide the external address name in the form of projects/{project}/locations/{location}/privateClouds/{private_cloud}/externalAddresses/{external_address} . For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address .

getIpAddress

A single IP address. For example: 10.0.0.5 .

Returns
Type
Description
string

hasIpAddress

setIpAddress

A single IP address. For example: 10.0.0.5 .

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getIpAddressRange

An IP address range in the CIDR format. For example: 10.0.0.0/24 .

Returns
Type
Description
string

hasIpAddressRange

setIpAddressRange

An IP address range in the CIDR format. For example: 10.0.0.0/24 .

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getExternalAddress

The name of an ExternalAddress resource. The external address must have been reserved in the scope of this external access rule's parent network policy. Provide the external address name in the form of projects/{project}/locations/{location}/privateClouds/{private_cloud}/externalAddresses/{external_address} .

For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address .

Returns
Type
Description
string

hasExternalAddress

setExternalAddress

The name of an ExternalAddress resource. The external address must have been reserved in the scope of this external access rule's parent network policy. Provide the external address name in the form of projects/{project}/locations/{location}/privateClouds/{private_cloud}/externalAddresses/{external_address} .

For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address .

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getIpRange

Returns
Type
Description
string
Create a Mobile Website
View Site in Mobile | Classic
Share by: