target.apidocs.com.google.api.services.compute.model.InterconnectMacsec.html Maven / Gradle / Ivy
The newest version!
InterconnectMacsec (Compute Engine API v1-rev20250320-2.0.0)
com.google.api.services.compute.model
Class InterconnectMacsec
- 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.InterconnectMacsec
-
public final class InterconnectMacsec
extends com.google.api.client.json.GenericJson
Configuration information for enabling Media Access Control security (MACsec) on this Cloud
Interconnect connection between Google and your on-premises router.
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
InterconnectMacsec()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
InterconnectMacsec
clone()
Boolean
getFailOpen()
If set to true, the Interconnect connection is configured with a should-secure MACsec security
policy, that allows the Google router to fallback to cleartext traffic if the MKA session
cannot be established.
List<InterconnectMacsecPreSharedKey>
getPreSharedKeys()
Required.
InterconnectMacsec
set(String fieldName,
Object value)
InterconnectMacsec
setFailOpen(Boolean failOpen)
If set to true, the Interconnect connection is configured with a should-secure MACsec security
policy, that allows the Google router to fallback to cleartext traffic if the MKA session
cannot be established.
InterconnectMacsec
setPreSharedKeys(List<InterconnectMacsecPreSharedKey> preSharedKeys)
Required.
-
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
-
-
Method Detail
-
getFailOpen
public Boolean getFailOpen()
If set to true, the Interconnect connection is configured with a should-secure MACsec security
policy, that allows the Google router to fallback to cleartext traffic if the MKA session
cannot be established. By default, the Interconnect connection is configured with a must-secure
security policy that drops all traffic if the MKA session cannot be established with your
router.
- Returns:
- value or
null for none
-
setFailOpen
public InterconnectMacsec setFailOpen(Boolean failOpen)
If set to true, the Interconnect connection is configured with a should-secure MACsec security
policy, that allows the Google router to fallback to cleartext traffic if the MKA session
cannot be established. By default, the Interconnect connection is configured with a must-secure
security policy that drops all traffic if the MKA session cannot be established with your
router.
- Parameters:
failOpen - failOpen or null for none
-
getPreSharedKeys
public List<InterconnectMacsecPreSharedKey> getPreSharedKeys()
Required. A keychain placeholder describing a set of named key objects along with their start
times. A MACsec CKN/CAK is generated for each key in the key chain. Google router automatically
picks the key with the most recent startTime when establishing or re-establishing a MACsec
secure link.
- Returns:
- value or
null for none
-
setPreSharedKeys
public InterconnectMacsec setPreSharedKeys(List<InterconnectMacsecPreSharedKey> preSharedKeys)
Required. A keychain placeholder describing a set of named key objects along with their start
times. A MACsec CKN/CAK is generated for each key in the key chain. Google router automatically
picks the key with the most recent startTime when establishing or re-establishing a MACsec
secure link.
- Parameters:
preSharedKeys - preSharedKeys or null for none
-
set
public InterconnectMacsec set(String fieldName,
Object value)
- Overrides:
set in class com.google.api.client.json.GenericJson
-
clone
public InterconnectMacsec 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