# Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::PublicDelegatedPrefixPublicDelegatedSubPrefix (v3.7.0)

3.7.0 (latest) 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.22.0 2.21.1 2.20.0 2.19.1 2.18.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.2 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.10.0 1.9.0 1.8.0 1.7.1 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0 0.5.0 Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::PublicDelegatedPrefixPublicDelegatedSubPrefix.

Represents a sub PublicDelegatedPrefix.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #allocatable_prefix_length

    def allocatable_prefix_length() -> ::Integer

**Returns**

- (::Integer) --- The allocatable prefix length supported by this PublicDelegatedSubPrefix.

### #allocatable_prefix_length=

    def allocatable_prefix_length=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The allocatable prefix length supported by this PublicDelegatedSubPrefix.
**Returns**

- (::Integer) --- The allocatable prefix length supported by this PublicDelegatedSubPrefix.

### #delegatee_project

    def delegatee_project() -> ::String

**Returns**

- (::String) --- Name of the project scoping this PublicDelegatedSubPrefix.

### #delegatee_project=

    def delegatee_project=(value) -> ::String

**Parameter**

- **value** (::String) --- Name of the project scoping this PublicDelegatedSubPrefix.
**Returns**

- (::String) --- Name of the project scoping this PublicDelegatedSubPrefix.

### #description

    def description() -> ::String

**Returns**

- (::String) --- An optional description of this resource. Provide this property when you create the resource.

### #description=

    def description=(value) -> ::String

**Parameter**

- **value** (::String) --- An optional description of this resource. Provide this property when you create the resource.
**Returns**

- (::String) --- An optional description of this resource. Provide this property when you create the resource.

### #enable_enhanced_ipv4_allocation

    def enable_enhanced_ipv4_allocation() -> ::Boolean

**Returns**

- (::Boolean) --- Output only. \[Output Only\] Whether this PDP supports enhanced IPv4 allocations. Applicable for IPv4 PDPs only.

### #enable_enhanced_ipv4_allocation=

    def enable_enhanced_ipv4_allocation=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Output only. \[Output Only\] Whether this PDP supports enhanced IPv4 allocations. Applicable for IPv4 PDPs only.
**Returns**

- (::Boolean) --- Output only. \[Output Only\] Whether this PDP supports enhanced IPv4 allocations. Applicable for IPv4 PDPs only.

### #ip_cidr_range

    def ip_cidr_range() -> ::String

**Returns**

- (::String) --- The IP address range, in CIDR format, represented by this sub public delegated prefix.

### #ip_cidr_range=

    def ip_cidr_range=(value) -> ::String

**Parameter**

- **value** (::String) --- The IP address range, in CIDR format, represented by this sub public delegated prefix.
**Returns**

- (::String) --- The IP address range, in CIDR format, represented by this sub public delegated prefix.

### #ipv6_access_type

    def ipv6_access_type() -> ::String

**Returns**

- (::String) --- Output only. \[Output Only\] The internet access type for IPv6 Public Delegated Sub Prefixes. Inherited from parent prefix. Check the Ipv6AccessType enum for the list of possible values.

### #ipv6_access_type=

    def ipv6_access_type=(value) -> ::String

**Parameter**

- **value** (::String) --- Output only. \[Output Only\] The internet access type for IPv6 Public Delegated Sub Prefixes. Inherited from parent prefix. Check the Ipv6AccessType enum for the list of possible values.
**Returns**

- (::String) --- Output only. \[Output Only\] The internet access type for IPv6 Public Delegated Sub Prefixes. Inherited from parent prefix. Check the Ipv6AccessType enum for the list of possible values.

### #is_address

    def is_address() -> ::Boolean

**Returns**

- (::Boolean) --- Whether the sub prefix is delegated to create Address resources in the delegatee project.

### #is_address=

    def is_address=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Whether the sub prefix is delegated to create Address resources in the delegatee project.
**Returns**

- (::Boolean) --- Whether the sub prefix is delegated to create Address resources in the delegatee project.

### #mode

    def mode() -> ::String

**Returns**

- (::String) --- The PublicDelegatedSubPrefix mode for IPv6 only. Check the Mode enum for the list of possible values.

### #mode=

    def mode=(value) -> ::String

**Parameter**

- **value** (::String) --- The PublicDelegatedSubPrefix mode for IPv6 only. Check the Mode enum for the list of possible values.
**Returns**

- (::String) --- The PublicDelegatedSubPrefix mode for IPv6 only. Check the Mode enum for the list of possible values.

### #name

    def name() -> ::String

**Returns**

- (::String) --- The name of the sub public delegated prefix.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- The name of the sub public delegated prefix.
**Returns**

- (::String) --- The name of the sub public delegated prefix.

### #region

    def region() -> ::String

**Returns**

- (::String) --- Output only. \[Output Only\] The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global.

### #region=

    def region=(value) -> ::String

**Parameter**

- **value** (::String) --- Output only. \[Output Only\] The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global.
**Returns**

- (::String) --- Output only. \[Output Only\] The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global.

### #status

    def status() -> ::String

**Returns**

- (::String) --- Output only. \[Output Only\] The status of the sub public delegated prefix. Check the Status enum for the list of possible values.

### #status=

    def status=(value) -> ::String

**Parameter**

- **value** (::String) --- Output only. \[Output Only\] The status of the sub public delegated prefix. Check the Status enum for the list of possible values.
**Returns**

- (::String) --- Output only. \[Output Only\] The status of the sub public delegated prefix. Check the Status enum for the list of possible values.