public final class UrlRestriction
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 Real-time Bidding 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
UrlRestriction() |
| Modifier and Type | Method and Description |
|---|---|
UrlRestriction |
clone() |
Date |
getEndDate()
End date (if specified) of the URL restriction.
|
String |
getRestrictionType()
The restriction type for the specified URL.
|
Date |
getStartDate()
Start date (if specified) of the URL restriction.
|
String |
getUrl()
Required.
|
UrlRestriction |
set(String fieldName,
Object value) |
UrlRestriction |
setEndDate(Date endDate)
End date (if specified) of the URL restriction.
|
UrlRestriction |
setRestrictionType(String restrictionType)
The restriction type for the specified URL.
|
UrlRestriction |
setStartDate(Date startDate)
Start date (if specified) of the URL restriction.
|
UrlRestriction |
setUrl(String url)
Required.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Date getEndDate()
null for nonepublic UrlRestriction setEndDate(Date endDate)
endDate - endDate or null for nonepublic String getRestrictionType()
null for nonepublic UrlRestriction setRestrictionType(String restrictionType)
restrictionType - restrictionType or null for nonepublic Date getStartDate()
null for nonepublic UrlRestriction setStartDate(Date startDate)
startDate - startDate or null for nonepublic String getUrl()
null for nonepublic UrlRestriction setUrl(String url)
url - url or null for nonepublic UrlRestriction set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic UrlRestriction clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.