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.
[[["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-04 UTC."],[],[],null,["# Google Cloud Vmware Engine V1 Client - Class IpRange (1.1.4)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.4 (latest)](/php/docs/reference/cloud-vmware-engine/latest/V1.ExternalAccessRule.IpRange)\n- [1.1.3](/php/docs/reference/cloud-vmware-engine/1.1.3/V1.ExternalAccessRule.IpRange)\n- [1.0.0](/php/docs/reference/cloud-vmware-engine/1.0.0/V1.ExternalAccessRule.IpRange)\n- [0.5.6](/php/docs/reference/cloud-vmware-engine/0.5.6/V1.ExternalAccessRule.IpRange)\n- [0.4.0](/php/docs/reference/cloud-vmware-engine/0.4.0/V1.ExternalAccessRule.IpRange)\n- [0.3.3](/php/docs/reference/cloud-vmware-engine/0.3.3/V1.ExternalAccessRule.IpRange)\n- [0.2.1](/php/docs/reference/cloud-vmware-engine/0.2.1/V1.ExternalAccessRule.IpRange)\n- [0.1.4](/php/docs/reference/cloud-vmware-engine/0.1.4/V1.ExternalAccessRule.IpRange) \nReference documentation and code samples for the Google Cloud Vmware Engine V1 Client class IpRange.\n\nAn IP range provided in any one of the supported formats.\n\nGenerated from protobuf message `google.cloud.vmwareengine.v1.ExternalAccessRule.IpRange`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ VmwareEngine \\\\ V1 \\\\ ExternalAccessRule\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getIpAddress\n\nA single IP address. For example: `10.0.0.5`.\n\n### hasIpAddress\n\n### setIpAddress\n\nA single IP address. For example: `10.0.0.5`.\n\n### getIpAddressRange\n\nAn IP address range in the CIDR format. For example: `10.0.0.0/24`.\n\n### hasIpAddressRange\n\n### setIpAddressRange\n\nAn IP address range in the CIDR format. For example: `10.0.0.0/24`.\n\n### getExternalAddress\n\nThe name of an `ExternalAddress` resource. The external address must\nhave been reserved in the scope of this external access rule's parent\nnetwork policy. Provide the external address name in the form of\n`projects/{project}/locations/{location}/privateClouds/{private_cloud}/externalAddresses/{external_address}`.\n\nFor example:\n`projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address`.\n\n### hasExternalAddress\n\n### setExternalAddress\n\nThe name of an `ExternalAddress` resource. The external address must\nhave been reserved in the scope of this external access rule's parent\nnetwork policy. Provide the external address name in the form of\n`projects/{project}/locations/{location}/privateClouds/{private_cloud}/externalAddresses/{external_address}`.\n\nFor example:\n`projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address`.\n\n### getIpRange"]]