Class: Google::Apis::ComputeV1::VpnGatewayVpnGatewayInterface
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::VpnGatewayVpnGatewayInterface
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/compute_v1/classes.rb,
generated/google/apis/compute_v1/representations.rb,
generated/google/apis/compute_v1/representations.rb
Overview
A VPN gateway interface.
Instance Attribute Summary collapse
-
#id ⇒ Fixnum
The numeric ID of this VPN gateway interface.
-
#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.
34254 34255 34256 |
# File 'generated/google/apis/compute_v1/classes.rb', line 34254 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
34247 34248 34249 |
# File 'generated/google/apis/compute_v1/classes.rb', line 34247 def id @id end |
#ip_address ⇒ String
[Output Only] The external IP address for this VPN gateway interface.
Corresponds to the JSON property ipAddress
34252 34253 34254 |
# File 'generated/google/apis/compute_v1/classes.rb', line 34252 def ip_address @ip_address end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
34259 34260 34261 34262 |
# File 'generated/google/apis/compute_v1/classes.rb', line 34259 def update!(**args) @id = args[:id] if args.key?(:id) @ip_address = args[:ip_address] if args.key?(:ip_address) end |