Class: Google::Apis::NetworkconnectivityV1::LinkedRouterApplianceInstances
- Inherits:
-
Object
- Object
- Google::Apis::NetworkconnectivityV1::LinkedRouterApplianceInstances
- 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 have multiple router appliance instances connected to the same site, they should all be attached to the same spoke.
Instance Attribute Summary collapse
-
#instances ⇒ Array<Google::Apis::NetworkconnectivityV1::RouterApplianceInstance>
The list of router appliance instances.
-
#site_to_site_data_transfer ⇒ Boolean
(also: #site_to_site_data_transfer?)
A value that controls whether site-to-site data transfer is enabled for these resources.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LinkedRouterApplianceInstances
constructor
A new instance of LinkedRouterApplianceInstances.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LinkedRouterApplianceInstances
Returns a new instance of LinkedRouterApplianceInstances.
499 500 501 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 499 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instances ⇒ Array<Google::Apis::NetworkconnectivityV1::RouterApplianceInstance>
The list of router appliance instances.
Corresponds to the JSON property instances
489 490 491 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 489 def instances @instances end |
#site_to_site_data_transfer ⇒ Boolean Also known as: site_to_site_data_transfer?
A value that controls whether site-to-site data transfer is enabled for these
resources. This field is set to false by default, but you must set it to true.
Note that data transfer is available only in supported locations.
Corresponds to the JSON property siteToSiteDataTransfer
496 497 498 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 496 def site_to_site_data_transfer @site_to_site_data_transfer end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
504 505 506 507 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 504 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) end |