Class: Google::Apis::ComputeAlpha::VpnGatewayVpnGatewayInterface
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::VpnGatewayVpnGatewayInterface
- 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.
-
#ip_address ⇒ String
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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ VpnGatewayVpnGatewayInterface
Returns a new instance of VpnGatewayVpnGatewayInterface
36308 36309 36310 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 36308 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
36301 36302 36303 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 36301 def id @id end |
#ip_address ⇒ String
The external IP address for this VPN gateway interface.
Corresponds to the JSON property ipAddress
36306 36307 36308 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 36306 def ip_address @ip_address end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
36313 36314 36315 36316 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 36313 def update!(**args) @id = args[:id] if args.key?(:id) @ip_address = args[:ip_address] if args.key?(:ip_address) end |