Reference documentation and code samples for the Migration Center V1 API class Google::Cloud::MigrationCenter::V1::NetworkConnection.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#local_ip_address
def local_ip_address() -> ::String
Returns
- (::String) — Local IP address.
#local_ip_address=
def local_ip_address=(value) -> ::String
Parameter
- value (::String) — Local IP address.
Returns
- (::String) — Local IP address.
#local_port
def local_port() -> ::Integer
Returns
- (::Integer) — Local port.
#local_port=
def local_port=(value) -> ::Integer
Parameter
- value (::Integer) — Local port.
Returns
- (::Integer) — Local port.
#pid
def pid() -> ::Integer
Returns
- (::Integer) — Process ID.
#pid=
def pid=(value) -> ::Integer
Parameter
- value (::Integer) — Process ID.
Returns
- (::Integer) — Process ID.
#process_name
def process_name() -> ::String
Returns
- (::String) — Process or service name.
#process_name=
def process_name=(value) -> ::String
Parameter
- value (::String) — Process or service name.
Returns
- (::String) — Process or service name.
#protocol
def protocol() -> ::String
Returns
- (::String) — Connection protocol (e.g. TCP/UDP).
#protocol=
def protocol=(value) -> ::String
Parameter
- value (::String) — Connection protocol (e.g. TCP/UDP).
Returns
- (::String) — Connection protocol (e.g. TCP/UDP).
#remote_ip_address
def remote_ip_address() -> ::String
Returns
- (::String) — Remote IP address.
#remote_ip_address=
def remote_ip_address=(value) -> ::String
Parameter
- value (::String) — Remote IP address.
Returns
- (::String) — Remote IP address.
#remote_port
def remote_port() -> ::Integer
Returns
- (::Integer) — Remote port.
#remote_port=
def remote_port=(value) -> ::Integer
Parameter
- value (::Integer) — Remote port.
Returns
- (::Integer) — Remote port.
#state
def state() -> ::Google::Cloud::MigrationCenter::V1::NetworkConnection::State
Returns
- (::Google::Cloud::MigrationCenter::V1::NetworkConnection::State) — Network connection state.
#state=
def state=(value) -> ::Google::Cloud::MigrationCenter::V1::NetworkConnection::State
Parameter
- value (::Google::Cloud::MigrationCenter::V1::NetworkConnection::State) — Network connection state.
Returns
- (::Google::Cloud::MigrationCenter::V1::NetworkConnection::State) — Network connection state.