Class: Google::Apis::NetworkconnectivityV1::NextHopVpnTunnel
- Inherits:
-
Object
- Object
- Google::Apis::NetworkconnectivityV1::NextHopVpnTunnel
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/networkconnectivity_v1/classes.rb,
lib/google/apis/networkconnectivity_v1/representations.rb,
lib/google/apis/networkconnectivity_v1/representations.rb
Overview
A route next hop that leads to a VPN tunnel resource.
Instance Attribute Summary collapse
-
#site_to_site_data_transfer ⇒ Boolean
(also: #site_to_site_data_transfer?)
Indicates whether site-to-site data transfer is allowed for this VPN tunnel resource.
-
#uri ⇒ String
The URI of the VPN tunnel resource.
-
#vpc_network ⇒ String
The VPC network where this VPN tunnel is located.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NextHopVpnTunnel
constructor
A new instance of NextHopVpnTunnel.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NextHopVpnTunnel
Returns a new instance of NextHopVpnTunnel.
1877 1878 1879 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1877 def initialize(**args) update!(**args) end |
Instance Attribute Details
#site_to_site_data_transfer ⇒ Boolean Also known as: site_to_site_data_transfer?
Indicates whether site-to-site data transfer is allowed for this VPN tunnel
resource. Data transfer is available only in supported locations.
Corresponds to the JSON property siteToSiteDataTransfer
1864 1865 1866 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1864 def site_to_site_data_transfer @site_to_site_data_transfer end |
#uri ⇒ String
The URI of the VPN tunnel resource.
Corresponds to the JSON property uri
1870 1871 1872 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1870 def uri @uri end |
#vpc_network ⇒ String
The VPC network where this VPN tunnel is located.
Corresponds to the JSON property vpcNetwork
1875 1876 1877 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1875 def vpc_network @vpc_network end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1882 1883 1884 1885 1886 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1882 def update!(**args) @site_to_site_data_transfer = args[:site_to_site_data_transfer] if args.key?(:site_to_site_data_transfer) @uri = args[:uri] if args.key?(:uri) @vpc_network = args[:vpc_network] if args.key?(:vpc_network) end |