Class: Google::Apis::NetworkconnectivityV1::LinkedInterconnectAttachments

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LinkedInterconnectAttachments

Returns a new instance of LinkedInterconnectAttachments.



1100
1101
1102
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1100

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)


1087
1088
1089
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1087

def site_to_site_data_transfer
  @site_to_site_data_transfer
end

#urisArray<String>

The URIs of linked interconnect attachment resources Corresponds to the JSON property uris

Returns:

  • (Array<String>)


1093
1094
1095
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1093

def uris
  @uris
end

#vpc_networkString

Output only. The VPC network where these VLAN attachments are located. Corresponds to the JSON property vpcNetwork

Returns:

  • (String)


1098
1099
1100
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1098

def vpc_network
  @vpc_network
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1105
1106
1107
1108
1109
# File 'lib/google/apis/networkconnectivity_v1/classes.rb', line 1105

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)
  @vpc_network = args[:vpc_network] if args.key?(:vpc_network)
end