public final class PathRule
extends com.google.api.client.json.GenericJson
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
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
PathRule() |
| Modifier and Type | Method and Description |
|---|---|
PathRule |
clone() |
java.util.List<java.lang.String> |
getPaths()
The list of path patterns to match.
|
java.lang.String |
getService()
The URL of the BackendService resource if this rule is matched.
|
PathRule |
set(java.lang.String fieldName,
java.lang.Object value) |
PathRule |
setPaths(java.util.List<java.lang.String> paths)
The list of path patterns to match.
|
PathRule |
setService(java.lang.String service)
The URL of the BackendService resource if this rule is matched.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.util.List<java.lang.String> getPaths()
null for nonepublic PathRule setPaths(java.util.List<java.lang.String> paths)
paths - paths or null for nonepublic java.lang.String getService()
null for nonepublic PathRule setService(java.lang.String service)
service - service or null for nonepublic PathRule set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic PathRule clone()
clone in class com.google.api.client.json.GenericJson