Class: Google::Apis::NetworkconnectivityV1::LinkedInterconnectAttachments
- Inherits:
-
Object
- Object
- Google::Apis::NetworkconnectivityV1::LinkedInterconnectAttachments
- 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 VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes.
Instance Attribute Summary collapse
-
#include_import_ranges ⇒ Array<String>
Optional.
-
#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.
-
#uris ⇒ Array<String>
The URIs of linked interconnect attachment resources Corresponds to the JSON property
uris
. -
#vpc_network ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LinkedInterconnectAttachments
constructor
A new instance of LinkedInterconnectAttachments.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LinkedInterconnectAttachments
Returns a new instance of LinkedInterconnectAttachments.
1193 1194 1195 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1193 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
1172 1173 1174 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1172 def include_import_ranges @include_import_ranges 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
1180 1181 1182 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1180 def site_to_site_data_transfer @site_to_site_data_transfer end |
#uris ⇒ Array<String>
The URIs of linked interconnect attachment resources
Corresponds to the JSON property uris
1186 1187 1188 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1186 def uris @uris end |
#vpc_network ⇒ String
Output only. The VPC network where these VLAN attachments are located.
Corresponds to the JSON property vpcNetwork
1191 1192 1193 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1191 def vpc_network @vpc_network end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1198 1199 1200 1201 1202 1203 |
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1198 def update!(**args) @include_import_ranges = args[:include_import_ranges] if args.key?(:include_import_ranges) @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) @vpc_network = args[:vpc_network] if args.key?(:vpc_network) end |