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

#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] 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] The CIDR range of the subnet from which the IPv4 internal IP was allocated from.
Returns
  • (::String) — [Output Only] The CIDR range of the subnet from which the IPv4 internal IP was allocated from.