Class: Google::Apis::ComputeAlpha::InterconnectAttachmentConfigurationConstraints
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::InterconnectAttachmentConfigurationConstraints
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#bgp_md5 ⇒ String
[Output Only] Whether the attachment's BGP session requires/allows/disallows BGP MD5 authentication.
-
#bgp_peer_asn_ranges ⇒ Array<Google::Apis::ComputeAlpha::InterconnectAttachmentConfigurationConstraintsBgpPeerAsnRange>
[Output Only] List of ASN ranges that the remote location is known to support.
-
#network_connectivity_center ⇒ String
[Output Only] Network Connectivity Center constraints, which can take one of the following values: NCC_UNCONSTRAINED, NCC_SPOKE_REQUIRED Corresponds to the JSON property
networkConnectivityCenter
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InterconnectAttachmentConfigurationConstraints
constructor
A new instance of InterconnectAttachmentConfigurationConstraints.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InterconnectAttachmentConfigurationConstraints
Returns a new instance of InterconnectAttachmentConfigurationConstraints.
20576 20577 20578 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 20576 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bgp_md5 ⇒ String
[Output Only] Whether the attachment's BGP session requires/allows/disallows
BGP MD5 authentication. This can take one of the following values:
MD5_OPTIONAL, MD5_REQUIRED, MD5_UNSUPPORTED. For example, a Cross-Cloud
Interconnect connection to a remote cloud provider that requires BGP MD5
authentication has the interconnectRemoteLocation
attachment_configuration_constraints.bgp_md5 field set to MD5_REQUIRED, and
that property is propagated to the attachment. Similarly, if BGP MD5 is
MD5_UNSUPPORTED, an error is returned if MD5 is requested.
Corresponds to the JSON property bgpMd5
20558 20559 20560 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 20558 def bgp_md5 @bgp_md5 end |
#bgp_peer_asn_ranges ⇒ Array<Google::Apis::ComputeAlpha::InterconnectAttachmentConfigurationConstraintsBgpPeerAsnRange>
[Output Only] List of ASN ranges that the remote location is known to support.
Formatted as an array of inclusive ranges min: min-value, max: max-value
.
For example, [min: 123, max: 123
, min: 64512, max: 65534
] allows the peer
ASN to be 123 or anything in the range 64512-65534. This field is only
advisory. Although the API accepts other ranges, these are the ranges that we
recommend.
Corresponds to the JSON property bgpPeerAsnRanges
20568 20569 20570 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 20568 def bgp_peer_asn_ranges @bgp_peer_asn_ranges end |
#network_connectivity_center ⇒ String
[Output Only] Network Connectivity Center constraints, which can take one of
the following values: NCC_UNCONSTRAINED, NCC_SPOKE_REQUIRED
Corresponds to the JSON property networkConnectivityCenter
20574 20575 20576 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 20574 def network_connectivity_center @network_connectivity_center end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20581 20582 20583 20584 20585 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 20581 def update!(**args) @bgp_md5 = args[:bgp_md5] if args.key?(:bgp_md5) @bgp_peer_asn_ranges = args[:bgp_peer_asn_ranges] if args.key?(:bgp_peer_asn_ranges) @network_connectivity_center = args[:network_connectivity_center] if args.key?(:network_connectivity_center) end |