Class: Google::Apis::NetworkconnectivityV1::LinkedRouterApplianceInstances

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 router appliance instances. If you configure multiple router appliance instances to receive data from the same set of sites outside of Google Cloud, we recommend that you associate those instances with the same spoke.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LinkedRouterApplianceInstances

Returns a new instance of LinkedRouterApplianceInstances.



993
994
995
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 993

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

Instance Attribute Details

#instancesArray<Google::Apis::NetworkconnectivityV1::RouterApplianceInstance>

The list of router appliance instances. Corresponds to the JSON property instances



976
977
978
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 976

def instances
  @instances
end

#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)


984
985
986
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 984

def site_to_site_data_transfer
  @site_to_site_data_transfer
end

#vpc_networkString

Output only. The VPC network where these router appliance instances are located. Corresponds to the JSON property vpcNetwork

Returns:

  • (String)


991
992
993
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 991

def vpc_network
  @vpc_network
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



998
999
1000
1001
1002
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 998

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