Class: Google::Apis::NetworkconnectivityV1::LinkedVpnTunnels

Inherits:
Object
  • Object
show all
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 collection of Cloud VPN tunnel resources. These resources should be redundant HA VPN tunnels that all advertise the same prefixes to Google Cloud. Alternatively, in a passive/active configuration, all tunnels should be capable of advertising the same prefixes.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LinkedVpnTunnels

Returns a new instance of LinkedVpnTunnels.



533
534
535
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 533

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#site_to_site_data_transferBoolean Also known as: site_to_site_data_transfer?

A value that controls whether site-to-site data transfer is enabled for these resources. Data transfer is available only in supported locations. Corresponds to the JSON property siteToSiteDataTransfer

Returns:

  • (Boolean)


525
526
527
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 525

def site_to_site_data_transfer
  @site_to_site_data_transfer
end

#urisArray<String>

The URIs of linked VPN tunnel resources. Corresponds to the JSON property uris

Returns:

  • (Array<String>)


531
532
533
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 531

def uris
  @uris
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



538
539
540
541
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 538

def update!(**args)
  @site_to_site_data_transfer = args[:site_to_site_data_transfer] if args.key?(:site_to_site_data_transfer)
  @uris = args[:uris] if args.key?(:uris)
end