Google Cloud VMware Engine V1 API - Class Google::Cloud::VmwareEngine::V1::ExternalAccessRule::IpRange (v0.11.0)

Reference documentation and code samples for the Google Cloud VMware Engine V1 API class Google::Cloud::VmwareEngine::V1::ExternalAccessRule::IpRange.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#external_address

def external_address() -> ::String
Returns
  • (::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.

    Note: The following fields are mutually exclusive: external_address, ip_address, ip_address_range. If a field in that set is populated, all other fields in the set will automatically be cleared.

#external_address=

def external_address=(value) -> ::String
Parameter
  • value (::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.

    Note: The following fields are mutually exclusive: external_address, ip_address, ip_address_range. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::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.

    Note: The following fields are mutually exclusive: external_address, ip_address, ip_address_range. If a field in that set is populated, all other fields in the set will automatically be cleared.

#ip_address

def ip_address() -> ::String
Returns
  • (::String) — A single IP address. For example: 10.0.0.5.

    Note: The following fields are mutually exclusive: ip_address, ip_address_range, external_address. If a field in that set is populated, all other fields in the set will automatically be cleared.

#ip_address=

def ip_address=(value) -> ::String
Parameter
  • value (::String) — A single IP address. For example: 10.0.0.5.

    Note: The following fields are mutually exclusive: ip_address, ip_address_range, external_address. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — A single IP address. For example: 10.0.0.5.

    Note: The following fields are mutually exclusive: ip_address, ip_address_range, external_address. If a field in that set is populated, all other fields in the set will automatically be cleared.

#ip_address_range

def ip_address_range() -> ::String
Returns
  • (::String) — An IP address range in the CIDR format. For example: 10.0.0.0/24.

    Note: The following fields are mutually exclusive: ip_address_range, ip_address, external_address. If a field in that set is populated, all other fields in the set will automatically be cleared.

#ip_address_range=

def ip_address_range=(value) -> ::String
Parameter
  • value (::String) — An IP address range in the CIDR format. For example: 10.0.0.0/24.

    Note: The following fields are mutually exclusive: ip_address_range, ip_address, external_address. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — An IP address range in the CIDR format. For example: 10.0.0.0/24.

    Note: The following fields are mutually exclusive: ip_address_range, ip_address, external_address. If a field in that set is populated, all other fields in the set will automatically be cleared.