class Google::Apis::NetworkmanagementV1beta1::VpnTunnelInfo

For display only. Metadata associated with a Compute Engine VPN tunnel.

Attributes

display_name[RW]

Name of a VPN tunnel. Corresponds to the JSON property `displayName` @return [String]

network_uri[RW]

URI of a Compute Engine network where the VPN tunnel is configured. Corresponds to the JSON property `networkUri` @return [String]

region[RW]

Name of a Google Cloud region where this VPN tunnel is configured. Corresponds to the JSON property `region` @return [String]

remote_gateway[RW]

URI of a VPN gateway at remote end of the tunnel. Corresponds to the JSON property `remoteGateway` @return [String]

remote_gateway_ip[RW]

Remote VPN gateway's IP address. Corresponds to the JSON property `remoteGatewayIp` @return [String]

routing_type[RW]

Type of the routing policy. Corresponds to the JSON property `routingType` @return [String]

source_gateway[RW]

URI of the VPN gateway at local end of the tunnel. Corresponds to the JSON property `sourceGateway` @return [String]

source_gateway_ip[RW]

Local VPN gateway's IP address. Corresponds to the JSON property `sourceGatewayIp` @return [String]

uri[RW]

URI of a VPN tunnel. Corresponds to the JSON property `uri` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/networkmanagement_v1beta1/classes.rb, line 1946
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/networkmanagement_v1beta1/classes.rb, line 1951
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