Class: Google::Apis::ComputeBeta::VpnGatewayVpnGatewayInterface
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::VpnGatewayVpnGatewayInterface
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb
Overview
A VPN gateway interface.
Instance Attribute Summary collapse
-
#id ⇒ Fixnum
[Output Only] Numeric identifier for this VPN interface associated with the VPN gateway.
-
#interconnect_attachment ⇒ String
URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface.
-
#ip_address ⇒ String
[Output Only] IP address for this VPN interface associated with the VPN gateway.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VpnGatewayVpnGatewayInterface
constructor
A new instance of VpnGatewayVpnGatewayInterface.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VpnGatewayVpnGatewayInterface
Returns a new instance of VpnGatewayVpnGatewayInterface.
42189 42190 42191 |
# File 'lib/google/apis/compute_beta/classes.rb', line 42189 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ Fixnum
[Output Only] Numeric identifier for this VPN interface associated with the
VPN gateway.
Corresponds to the JSON property id
42165 42166 42167 |
# File 'lib/google/apis/compute_beta/classes.rb', line 42165 def id @id end |
#interconnect_attachment ⇒ String
URL of the VLAN attachment (interconnectAttachment) resource for this VPN
gateway interface. When the value of this field is present, the VPN gateway is
used for IPsec-encrypted Cloud Interconnect; all egress or ingress traffic for
this VPN gateway interface goes through the specified VLAN attachment resource.
Not currently available publicly.
Corresponds to the JSON property interconnectAttachment
42174 42175 42176 |
# File 'lib/google/apis/compute_beta/classes.rb', line 42174 def @interconnect_attachment end |
#ip_address ⇒ String
[Output Only] IP address for this VPN interface associated with the VPN
gateway. The IP address could be either a regional external IP address or a
regional internal IP address. The two IP addresses for a VPN gateway must be
all regional external or regional internal IP addresses. There cannot be a mix
of regional external IP addresses and regional internal IP addresses. For
IPsec-encrypted Cloud Interconnect, the IP addresses for both interfaces could
either be regional internal IP addresses or regional external IP addresses.
For regular (non IPsec-encrypted Cloud Interconnect) HA VPN tunnels, the IP
address must be a regional external IP address.
Corresponds to the JSON property ipAddress
42187 42188 42189 |
# File 'lib/google/apis/compute_beta/classes.rb', line 42187 def ip_address @ip_address end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
42194 42195 42196 42197 42198 |
# File 'lib/google/apis/compute_beta/classes.rb', line 42194 def update!(**args) @id = args[:id] if args.key?(:id) @interconnect_attachment = args[:interconnect_attachment] if args.key?(:interconnect_attachment) @ip_address = args[:ip_address] if args.key?(:ip_address) end |