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

#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.