target.apidocs.com.google.api.services.compute.model.InterconnectRemoteLocationConstraints.html Maven / Gradle / Ivy
The newest version!
InterconnectRemoteLocationConstraints (Compute Engine API v1-rev20250320-2.0.0)
com.google.api.services.compute.model
Class InterconnectRemoteLocationConstraints
- 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.InterconnectRemoteLocationConstraints
-
public final class InterconnectRemoteLocationConstraints
extends com.google.api.client.json.GenericJson
Model definition for InterconnectRemoteLocationConstraints.
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
InterconnectRemoteLocationConstraints()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
InterconnectRemoteLocationConstraints
clone()
String
getPortPairRemoteLocation()
[Output Only] Port pair remote location constraints, which can take one of the following
values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION.
String
getPortPairVlan()
[Output Only] Port pair VLAN constraints, which can take one of the following values:
PORT_PAIR_UNCONSTRAINED_VLAN, PORT_PAIR_MATCHING_VLAN
InterconnectRemoteLocationConstraintsSubnetLengthRange
getSubnetLengthRange()
[Output Only] [min-length, max-length] The minimum and maximum value (inclusive) for the IPv4
subnet length.
InterconnectRemoteLocationConstraints
set(String fieldName,
Object value)
InterconnectRemoteLocationConstraints
setPortPairRemoteLocation(String portPairRemoteLocation)
[Output Only] Port pair remote location constraints, which can take one of the following
values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION.
InterconnectRemoteLocationConstraints
setPortPairVlan(String portPairVlan)
[Output Only] Port pair VLAN constraints, which can take one of the following values:
PORT_PAIR_UNCONSTRAINED_VLAN, PORT_PAIR_MATCHING_VLAN
InterconnectRemoteLocationConstraints
setSubnetLengthRange(InterconnectRemoteLocationConstraintsSubnetLengthRange subnetLengthRange)
[Output Only] [min-length, max-length] The minimum and maximum value (inclusive) for the IPv4
subnet length.
-
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
-
InterconnectRemoteLocationConstraints
public InterconnectRemoteLocationConstraints()
-
Method Detail
-
getPortPairRemoteLocation
public String getPortPairRemoteLocation()
[Output Only] Port pair remote location constraints, which can take one of the following
values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. Google
Cloud API refers only to individual ports, but the UI uses this field when ordering a pair of
ports, to prevent users from accidentally ordering something that is incompatible with their
cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports,
and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the
UI requires that both ports use the same remote location.
- Returns:
- value or
null for none
-
setPortPairRemoteLocation
public InterconnectRemoteLocationConstraints setPortPairRemoteLocation(String portPairRemoteLocation)
[Output Only] Port pair remote location constraints, which can take one of the following
values: PORT_PAIR_UNCONSTRAINED_REMOTE_LOCATION, PORT_PAIR_MATCHING_REMOTE_LOCATION. Google
Cloud API refers only to individual ports, but the UI uses this field when ordering a pair of
ports, to prevent users from accidentally ordering something that is incompatible with their
cloud provider. Specifically, when ordering a redundant pair of Cross-Cloud Interconnect ports,
and one of them uses a remote location with portPairMatchingRemoteLocation set to matching, the
UI requires that both ports use the same remote location.
- Parameters:
portPairRemoteLocation - portPairRemoteLocation or null for none
-
getPortPairVlan
public String getPortPairVlan()
[Output Only] Port pair VLAN constraints, which can take one of the following values:
PORT_PAIR_UNCONSTRAINED_VLAN, PORT_PAIR_MATCHING_VLAN
- Returns:
- value or
null for none
-
setPortPairVlan
public InterconnectRemoteLocationConstraints setPortPairVlan(String portPairVlan)
[Output Only] Port pair VLAN constraints, which can take one of the following values:
PORT_PAIR_UNCONSTRAINED_VLAN, PORT_PAIR_MATCHING_VLAN
- Parameters:
portPairVlan - portPairVlan or null for none
-
getSubnetLengthRange
public InterconnectRemoteLocationConstraintsSubnetLengthRange getSubnetLengthRange()
[Output Only] [min-length, max-length] The minimum and maximum value (inclusive) for the IPv4
subnet length. For example, an interconnectRemoteLocation for Azure has {min: 30, max: 30}
because Azure requires /30 subnets. This range specifies the values supported by both cloud
providers. Interconnect currently supports /29 and /30 IPv4 subnet lengths. If a remote cloud
has no constraint on IPv4 subnet length, the range would thus be {min: 29, max: 30}.
- Returns:
- value or
null for none
-
setSubnetLengthRange
public InterconnectRemoteLocationConstraints setSubnetLengthRange(InterconnectRemoteLocationConstraintsSubnetLengthRange subnetLengthRange)
[Output Only] [min-length, max-length] The minimum and maximum value (inclusive) for the IPv4
subnet length. For example, an interconnectRemoteLocation for Azure has {min: 30, max: 30}
because Azure requires /30 subnets. This range specifies the values supported by both cloud
providers. Interconnect currently supports /29 and /30 IPv4 subnet lengths. If a remote cloud
has no constraint on IPv4 subnet length, the range would thus be {min: 29, max: 30}.
- Parameters:
subnetLengthRange - subnetLengthRange or null for none
-
set
public InterconnectRemoteLocationConstraints set(String fieldName,
Object value)
- Overrides:
set in class com.google.api.client.json.GenericJson
-
clone
public InterconnectRemoteLocationConstraints 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