target.apidocs.com.google.api.services.compute.model.InterconnectAttachmentConfigurationConstraints.html Maven / Gradle / Ivy
InterconnectAttachmentConfigurationConstraints (Compute Engine API v1-rev20250107-2.0.0)
com.google.api.services.compute.model
Class InterconnectAttachmentConfigurationConstraints
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.compute.model.InterconnectAttachmentConfigurationConstraints
-
public final class InterconnectAttachmentConfigurationConstraints
extends com.google.api.client.json.GenericJson
Model definition for InterconnectAttachmentConfigurationConstraints.
This is the Java data model class that specifies how to parse/serialize into the JSON that is
transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
InterconnectAttachmentConfigurationConstraints()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
InterconnectAttachmentConfigurationConstraints
clone()
String
getBgpMd5()
[Output Only] Whether the attachment's BGP session requires/allows/disallows BGP MD5
authentication.
List<InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange>
getBgpPeerAsnRanges()
[Output Only] List of ASN ranges that the remote location is known to support.
InterconnectAttachmentConfigurationConstraints
set(String fieldName,
Object value)
InterconnectAttachmentConfigurationConstraints
setBgpMd5(String bgpMd5)
[Output Only] Whether the attachment's BGP session requires/allows/disallows BGP MD5
authentication.
InterconnectAttachmentConfigurationConstraints
setBgpPeerAsnRanges(List<InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange> bgpPeerAsnRanges)
[Output Only] List of ASN ranges that the remote location is known to support.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Constructor Detail
-
InterconnectAttachmentConfigurationConstraints
public InterconnectAttachmentConfigurationConstraints()
-
Method Detail
-
getBgpMd5
public String getBgpMd5()
[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.
- Returns:
- value or
null for none
-
setBgpMd5
public InterconnectAttachmentConfigurationConstraints setBgpMd5(String bgpMd5)
[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.
- Parameters:
bgpMd5 - bgpMd5 or null for none
-
getBgpPeerAsnRanges
public List<InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange> getBgpPeerAsnRanges()
[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.
- Returns:
- value or
null for none
-
setBgpPeerAsnRanges
public InterconnectAttachmentConfigurationConstraints setBgpPeerAsnRanges(List<InterconnectAttachmentConfigurationConstraintsBgpPeerASNRange> bgpPeerAsnRanges)
[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.
- Parameters:
bgpPeerAsnRanges - bgpPeerAsnRanges or null for none
-
set
public InterconnectAttachmentConfigurationConstraints set(String fieldName,
Object value)
- Overrides:
set in class com.google.api.client.json.GenericJson
-
clone
public InterconnectAttachmentConfigurationConstraints clone()
- Overrides:
clone in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy