target.apidocs.com.google.api.services.compute.model.RoutePolicyPolicyTerm.html Maven / Gradle / Ivy
The newest version!
RoutePolicyPolicyTerm (Compute Engine API v1-rev20250320-2.0.0)
com.google.api.services.compute.model
Class RoutePolicyPolicyTerm
- 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.RoutePolicyPolicyTerm
-
public final class RoutePolicyPolicyTerm
extends com.google.api.client.json.GenericJson
Model definition for RoutePolicyPolicyTerm.
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
RoutePolicyPolicyTerm()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
RoutePolicyPolicyTerm
clone()
List<Expr>
getActions()
CEL expressions to evaluate to modify a route when this term matches.
Expr
getMatch()
CEL expression evaluated against a route to determine if this term applies.
Integer
getPriority()
The evaluation priority for this term, which must be between 0 (inclusive) and 2^31
(exclusive), and unique within the list.
RoutePolicyPolicyTerm
set(String fieldName,
Object value)
RoutePolicyPolicyTerm
setActions(List<Expr> actions)
CEL expressions to evaluate to modify a route when this term matches.
RoutePolicyPolicyTerm
setMatch(Expr match)
CEL expression evaluated against a route to determine if this term applies.
RoutePolicyPolicyTerm
setPriority(Integer priority)
The evaluation priority for this term, which must be between 0 (inclusive) and 2^31
(exclusive), and unique within the list.
-
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
-
getActions
public List<Expr> getActions()
CEL expressions to evaluate to modify a route when this term matches.
- Returns:
- value or
null for none
-
setActions
public RoutePolicyPolicyTerm setActions(List<Expr> actions)
CEL expressions to evaluate to modify a route when this term matches.
- Parameters:
actions - actions or null for none
-
getMatch
public Expr getMatch()
CEL expression evaluated against a route to determine if this term applies. When not set, the
term applies to all routes.
- Returns:
- value or
null for none
-
setMatch
public RoutePolicyPolicyTerm setMatch(Expr match)
CEL expression evaluated against a route to determine if this term applies. When not set, the
term applies to all routes.
- Parameters:
match - match or null for none
-
getPriority
public Integer getPriority()
The evaluation priority for this term, which must be between 0 (inclusive) and 2^31
(exclusive), and unique within the list.
- Returns:
- value or
null for none
-
setPriority
public RoutePolicyPolicyTerm setPriority(Integer priority)
The evaluation priority for this term, which must be between 0 (inclusive) and 2^31
(exclusive), and unique within the list.
- Parameters:
priority - priority or null for none
-
set
public RoutePolicyPolicyTerm set(String fieldName,
Object value)
- Overrides:
set in class com.google.api.client.json.GenericJson
-
clone
public RoutePolicyPolicyTerm 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