Interface ExternalAccessRule.IpRangeOrBuilder (0.48.0)

public static interface ExternalAccessRule.IpRangeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExternalAddress()

public abstract String 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.

string external_address = 3 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The externalAddress.

getExternalAddressBytes()

public abstract ByteString getExternalAddressBytes()

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.

string external_address = 3 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for externalAddress.

getIpAddress()

public abstract String getIpAddress()

A single IP address. For example: 10.0.0.5.

string ip_address = 1;

Returns
Type Description
String

The ipAddress.

getIpAddressBytes()

public abstract ByteString getIpAddressBytes()

A single IP address. For example: 10.0.0.5.

string ip_address = 1;

Returns
Type Description
ByteString

The bytes for ipAddress.

getIpAddressRange()

public abstract String getIpAddressRange()

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

string ip_address_range = 2;

Returns
Type Description
String

The ipAddressRange.

getIpAddressRangeBytes()

public abstract ByteString getIpAddressRangeBytes()

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

string ip_address_range = 2;

Returns
Type Description
ByteString

The bytes for ipAddressRange.

getIpRangeCase()

public abstract ExternalAccessRule.IpRange.IpRangeCase getIpRangeCase()
Returns
Type Description
ExternalAccessRule.IpRange.IpRangeCase

hasExternalAddress()

public abstract boolean hasExternalAddress()

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.

string external_address = 3 [(.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the externalAddress field is set.

hasIpAddress()

public abstract boolean hasIpAddress()

A single IP address. For example: 10.0.0.5.

string ip_address = 1;

Returns
Type Description
boolean

Whether the ipAddress field is set.

hasIpAddressRange()

public abstract boolean hasIpAddressRange()

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

string ip_address_range = 2;

Returns
Type Description
boolean

Whether the ipAddressRange field is set.