Class: Google::Apis::ComputeAlpha::VpnGatewayVpnGatewayInterface
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::VpnGatewayVpnGatewayInterface
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb
Overview
A VPN gateway interface.
Instance Attribute Summary collapse
-
#id ⇒ Fixnum
The numeric ID of this VPN gateway interface.
-
#interconnect_attachment ⇒ String
URL of the interconnect attachment resource.
-
#ip_address ⇒ String
[Output Only] The external IP address for this VPN gateway interface.
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.
42197 42198 42199 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 42197 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ Fixnum
The numeric ID of this VPN gateway interface.
Corresponds to the JSON property id
42182 42183 42184 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 42182 def id @id end |
#interconnect_attachment ⇒ String
URL of the interconnect attachment resource. When the value of this field is
present, the VPN Gateway will be used for IPsec over Interconnect; all Egress
or Ingress traffic for this VPN Gateway interface will go through the
specified interconnect attachment resource.
Corresponds to the JSON property interconnectAttachment
42190 42191 42192 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 42190 def @interconnect_attachment end |
#ip_address ⇒ String
[Output Only] The external IP address for this VPN gateway interface.
Corresponds to the JSON property ipAddress
42195 42196 42197 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 42195 def ip_address @ip_address end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
42202 42203 42204 42205 42206 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 42202 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 |