Class: Google::Apis::NetworkmanagementV1beta1::VpnGatewayInfo
- Inherits:
-
Object
- Object
- Google::Apis::NetworkmanagementV1beta1::VpnGatewayInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/networkmanagement_v1beta1/classes.rb,
generated/google/apis/networkmanagement_v1beta1/representations.rb,
generated/google/apis/networkmanagement_v1beta1/representations.rb
Overview
For display only. Metadata associated with a Compute Engine VPN gateway.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Name of a VPN gateway.
-
#ip_address ⇒ String
IP address of the VPN gateway.
-
#network_uri ⇒ String
URI of a Compute Engine network where the VPN gateway is configured.
-
#region ⇒ String
Name of a GCP region where this VPN gateway is configured.
-
#uri ⇒ String
URI of a VPN gateway.
-
#vpn_tunnel_uri ⇒ String
A VPN tunnel that is associated with this VPN gateway.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VpnGatewayInfo
constructor
A new instance of VpnGatewayInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ VpnGatewayInfo
Returns a new instance of VpnGatewayInfo.
1773 1774 1775 |
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 1773 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Name of a VPN gateway.
Corresponds to the JSON property displayName
1744 1745 1746 |
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 1744 def display_name @display_name end |
#ip_address ⇒ String
IP address of the VPN gateway.
Corresponds to the JSON property ipAddress
1749 1750 1751 |
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 1749 def ip_address @ip_address end |
#network_uri ⇒ String
URI of a Compute Engine network where the VPN gateway is configured.
Corresponds to the JSON property networkUri
1754 1755 1756 |
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 1754 def network_uri @network_uri end |
#region ⇒ String
Name of a GCP region where this VPN gateway is configured.
Corresponds to the JSON property region
1759 1760 1761 |
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 1759 def region @region end |
#uri ⇒ String
URI of a VPN gateway.
Corresponds to the JSON property uri
1764 1765 1766 |
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 1764 def uri @uri end |
#vpn_tunnel_uri ⇒ String
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
1771 1772 1773 |
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 1771 def vpn_tunnel_uri @vpn_tunnel_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1778 1779 1780 1781 1782 1783 1784 1785 |
# File 'generated/google/apis/networkmanagement_v1beta1/classes.rb', line 1778 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 |