class Google::Apis::NetworkmanagementV1beta1::EndpointInfo
For display only. The specification of the endpoints for the test. EndpointInfo
is derived from source and destination Endpoint
and validated by the backend data plane model.
Attributes
Destination IP address. Corresponds to the JSON property `destinationIp` @return [String]
URI of the network where this packet is sent to. Corresponds to the JSON property `destinationNetworkUri` @return [String]
Destination port. Only valid when protocol is TCP or UDP. Corresponds to the JSON property `destinationPort` @return [Fixnum]
IP protocol in string format, for example: “TCP”, “UDP”, “ICMP”. Corresponds to the JSON property `protocol` @return [String]
Source IP address. Corresponds to the JSON property `sourceIp` @return [String]
URI of the network where this packet originates from. Corresponds to the JSON property `sourceNetworkUri` @return [String]
Source port. Only valid when protocol is TCP or UDP. Corresponds to the JSON property `sourcePort` @return [Fixnum]
Public Class Methods
# File lib/google/apis/networkmanagement_v1beta1/classes.rb, line 524 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/networkmanagement_v1beta1/classes.rb, line 529 def update!(**args) @destination_ip = args[:destination_ip] if args.key?(:destination_ip) @destination_network_uri = args[:destination_network_uri] if args.key?(:destination_network_uri) @destination_port = args[:destination_port] if args.key?(:destination_port) @protocol = args[:protocol] if args.key?(:protocol) @source_ip = args[:source_ip] if args.key?(:source_ip) @source_network_uri = args[:source_network_uri] if args.key?(:source_network_uri) @source_port = args[:source_port] if args.key?(:source_port) end