class Google::Apis::NetworkmanagementV1::VpnTunnelInfo
For display only. Metadata associated with a Compute Engine VPN tunnel.
Attributes
Name of a VPN tunnel. Corresponds to the JSON property `displayName` @return [String]
URI of a Compute Engine network where the VPN tunnel is configured. Corresponds to the JSON property `networkUri` @return [String]
Name of a Google
Cloud region where this VPN tunnel is configured. Corresponds to the JSON property `region` @return [String]
URI of a VPN gateway at remote end of the tunnel. Corresponds to the JSON property `remoteGateway` @return [String]
Remote VPN gateway's IP address. Corresponds to the JSON property `remoteGatewayIp` @return [String]
Type of the routing policy. Corresponds to the JSON property `routingType` @return [String]
URI of the VPN gateway at local end of the tunnel. Corresponds to the JSON property `sourceGateway` @return [String]
Local VPN gateway's IP address. Corresponds to the JSON property `sourceGatewayIp` @return [String]
URI of a VPN tunnel. Corresponds to the JSON property `uri` @return [String]
Public Class Methods
# File lib/google/apis/networkmanagement_v1/classes.rb, line 1826 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/networkmanagement_v1/classes.rb, line 1831 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @network_uri = args[:network_uri] if args.key?(:network_uri) @region = args[:region] if args.key?(:region) @remote_gateway = args[:remote_gateway] if args.key?(:remote_gateway) @remote_gateway_ip = args[:remote_gateway_ip] if args.key?(:remote_gateway_ip) @routing_type = args[:routing_type] if args.key?(:routing_type) @source_gateway = args[:source_gateway] if args.key?(:source_gateway) @source_gateway_ip = args[:source_gateway_ip] if args.key?(:source_gateway_ip) @uri = args[:uri] if args.key?(:uri) end