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 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
-
#include_import_ranges ⇒ Array<String>
Optional.
-
#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.
-
#vpc_network ⇒ String
Output only.
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.
1255 1256 1257 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1255 def initialize(**args) update!(**args) end |
Instance Attribute Details
#include_import_ranges ⇒ Array<String>
Optional. IP ranges allowed to be included during import from hub (does not
control transit connectivity). The only allowed value for now is "
ALL_IPV4_RANGES".
Corresponds to the JSON property includeImportRanges
1233 1234 1235 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1233 def include_import_ranges @include_import_ranges end |
#instances ⇒ Array<Google::Apis::NetworkconnectivityV1::RouterApplianceInstance>
The list of router appliance instances.
Corresponds to the JSON property instances
1238 1239 1240 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1238 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. Data transfer is available only in supported locations.
Corresponds to the JSON property siteToSiteDataTransfer
1246 1247 1248 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1246 def site_to_site_data_transfer @site_to_site_data_transfer end |
#vpc_network ⇒ String
Output only. The VPC network where these router appliance instances are
located.
Corresponds to the JSON property vpcNetwork
1253 1254 1255 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1253 def vpc_network @vpc_network end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1260 1261 1262 1263 1264 1265 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1260 def update!(**args) @include_import_ranges = args[:include_import_ranges] if args.key?(:include_import_ranges) @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 |