# Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::NetworkAttachmentConnectedEndpoint (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::NetworkAttachmentConnectedEndpoint.

\[Output Only\] A connection connected to this network attachment.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #ip_address

    def ip_address() -> ::String

**Returns**

- (::String) --- The IPv4 address assigned to the producer instance network interface. This value will be a range in case of Serverless.

### #ip_address=

    def ip_address=(value) -> ::String

**Parameter**

- **value** (::String) --- The IPv4 address assigned to the producer instance network interface. This value will be a range in case of Serverless.
**Returns**

- (::String) --- The IPv4 address assigned to the producer instance network interface. This value will be a range in case of Serverless.

### #ipv6_address

    def ipv6_address() -> ::String

**Returns**

- (::String) --- The IPv6 address assigned to the producer instance network interface. This is only assigned when the stack types of both the instance network interface and the consumer subnet are IPv4_IPv6.

### #ipv6_address=

    def ipv6_address=(value) -> ::String

**Parameter**

- **value** (::String) --- The IPv6 address assigned to the producer instance network interface. This is only assigned when the stack types of both the instance network interface and the consumer subnet are IPv4_IPv6.
**Returns**

- (::String) --- The IPv6 address assigned to the producer instance network interface. This is only assigned when the stack types of both the instance network interface and the consumer subnet are IPv4_IPv6.

### #project_id_or_num

    def project_id_or_num() -> ::String

**Returns**

- (::String) --- The project id or number of the interface to which the IP was assigned.

### #project_id_or_num=

    def project_id_or_num=(value) -> ::String

**Parameter**

- **value** (::String) --- The project id or number of the interface to which the IP was assigned.
**Returns**

- (::String) --- The project id or number of the interface to which the IP was assigned.

### #secondary_ip_cidr_ranges

    def secondary_ip_cidr_ranges() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- Alias IP ranges from the same subnetwork.

### #secondary_ip_cidr_ranges=

    def secondary_ip_cidr_ranges=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- Alias IP ranges from the same subnetwork.
**Returns**

- (::Array\<::String\>) --- Alias IP ranges from the same subnetwork.

### #service_class_id

    def service_class_id() -> ::String

**Returns**

- (::String) --- The service class id of the producer service to which the IP was assigned.

### #service_class_id=

    def service_class_id=(value) -> ::String

**Parameter**

- **value** (::String) --- The service class id of the producer service to which the IP was assigned.
**Returns**

- (::String) --- The service class id of the producer service to which the IP was assigned.

### #status

    def status() -> ::String

**Returns**

- (::String) --- The status of a connected endpoint to this network attachment. Check the Status enum for the list of possible values.

### #status=

    def status=(value) -> ::String

**Parameter**

- **value** (::String) --- The status of a connected endpoint to this network attachment. Check the Status enum for the list of possible values.
**Returns**

- (::String) --- The status of a connected endpoint to this network attachment. Check the Status enum for the list of possible values.

### #subnetwork

    def subnetwork() -> ::String

**Returns**

- (::String) --- The subnetwork used to assign the IP to the producer instance network interface.

### #subnetwork=

    def subnetwork=(value) -> ::String

**Parameter**

- **value** (::String) --- The subnetwork used to assign the IP to the producer instance network interface.
**Returns**

- (::String) --- The subnetwork used to assign the IP to the producer instance network interface.

### #subnetwork_cidr_range

    def subnetwork_cidr_range() -> ::String

**Returns**

- (::String) --- Output only. \[Output Only\] The CIDR range of the subnet from which the IPv4 internal IP was allocated from.

### #subnetwork_cidr_range=

    def subnetwork_cidr_range=(value) -> ::String

**Parameter**

- **value** (::String) --- Output only. \[Output Only\] The CIDR range of the subnet from which the IPv4 internal IP was allocated from.
**Returns**

- (::String) --- Output only. \[Output Only\] The CIDR range of the subnet from which the IPv4 internal IP was allocated from.