class Google::Apis::NetworkmanagementV1::VpnGatewayInfo

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

Attributes

display_name[RW]

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

ip_address[RW]

IP address of the VPN gateway. Corresponds to the JSON property `ipAddress` @return [String]

network_uri[RW]

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

region[RW]

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

uri[RW]

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

vpn_tunnel_uri[RW]

A VPN tunnel that is associated with this VPN gateway. There may be multiple VPN tunnels configured on a VPN gateway, and only the one relevant to the test is displayed. Corresponds to the JSON property `vpnTunnelUri` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/networkmanagement_v1/classes.rb, line 1762
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_v1/classes.rb, line 1767
def update!(**args)
  @display_name = args[:display_name] if args.key?(:display_name)
  @ip_address = args[:ip_address] if args.key?(:ip_address)
  @network_uri = args[:network_uri] if args.key?(:network_uri)
  @region = args[:region] if args.key?(:region)
  @uri = args[:uri] if args.key?(:uri)
  @vpn_tunnel_uri = args[:vpn_tunnel_uri] if args.key?(:vpn_tunnel_uri)
end