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
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.
39786 39787 39788 |
# File 'lib/google/apis/compute_beta/classes.rb', line 39786 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
39770 39771 39772 |
# File 'lib/google/apis/compute_beta/classes.rb', line 39770 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-encrypted Cloud Interconnect;
all Egress or Ingress traffic for this VPN Gateway interface will go through
the specified interconnect attachment resource.
Not currently available in all Interconnect locations.
Corresponds to the JSON property interconnectAttachment
39779 39780 39781 |
# File 'lib/google/apis/compute_beta/classes.rb', line 39779 def @interconnect_attachment end |
#ip_address ⇒ String
[Output Only] The external IP address for this VPN gateway interface.
Corresponds to the JSON property ipAddress
39784 39785 39786 |
# File 'lib/google/apis/compute_beta/classes.rb', line 39784 def ip_address @ip_address end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
39791 39792 39793 39794 39795 |
# File 'lib/google/apis/compute_beta/classes.rb', line 39791 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 |