public final class AmpInspectionResult
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 Google Search Console 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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
AmpInspectionResult() |
Modifier and Type | Method and Description |
---|---|
AmpInspectionResult |
clone() |
String |
getAmpIndexStatusVerdict()
Index status of the AMP URL.
|
String |
getAmpUrl()
URL of the AMP that was inspected.
|
String |
getIndexingState()
Whether or not the page blocks indexing through a noindex rule.
|
List<AmpIssue> |
getIssues()
A list of zero or more AMP issues found for the inspected URL.
|
String |
getLastCrawlTime()
Last time this AMP version was crawled by Google.
|
String |
getPageFetchState()
Whether or not Google could fetch the AMP.
|
String |
getRobotsTxtState()
Whether or not the page is blocked to Google by a robots.txt rule.
|
String |
getVerdict()
The status of the most severe error on the page.
|
AmpInspectionResult |
set(String fieldName,
Object value) |
AmpInspectionResult |
setAmpIndexStatusVerdict(String ampIndexStatusVerdict)
Index status of the AMP URL.
|
AmpInspectionResult |
setAmpUrl(String ampUrl)
URL of the AMP that was inspected.
|
AmpInspectionResult |
setIndexingState(String indexingState)
Whether or not the page blocks indexing through a noindex rule.
|
AmpInspectionResult |
setIssues(List<AmpIssue> issues)
A list of zero or more AMP issues found for the inspected URL.
|
AmpInspectionResult |
setLastCrawlTime(String lastCrawlTime)
Last time this AMP version was crawled by Google.
|
AmpInspectionResult |
setPageFetchState(String pageFetchState)
Whether or not Google could fetch the AMP.
|
AmpInspectionResult |
setRobotsTxtState(String robotsTxtState)
Whether or not the page is blocked to Google by a robots.txt rule.
|
AmpInspectionResult |
setVerdict(String verdict)
The status of the most severe error on the page.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getAmpIndexStatusVerdict()
null
for nonepublic AmpInspectionResult setAmpIndexStatusVerdict(String ampIndexStatusVerdict)
ampIndexStatusVerdict
- ampIndexStatusVerdict or null
for nonepublic String getAmpUrl()
null
for nonepublic AmpInspectionResult setAmpUrl(String ampUrl)
ampUrl
- ampUrl or null
for nonepublic String getIndexingState()
null
for nonepublic AmpInspectionResult setIndexingState(String indexingState)
indexingState
- indexingState or null
for nonepublic List<AmpIssue> getIssues()
null
for nonepublic AmpInspectionResult setIssues(List<AmpIssue> issues)
issues
- issues or null
for nonepublic String getLastCrawlTime()
null
for nonepublic AmpInspectionResult setLastCrawlTime(String lastCrawlTime)
lastCrawlTime
- lastCrawlTime or null
for nonepublic String getPageFetchState()
null
for nonepublic AmpInspectionResult setPageFetchState(String pageFetchState)
pageFetchState
- pageFetchState or null
for nonepublic String getRobotsTxtState()
null
for nonepublic AmpInspectionResult setRobotsTxtState(String robotsTxtState)
robotsTxtState
- robotsTxtState or null
for nonepublic String getVerdict()
null
for nonepublic AmpInspectionResult setVerdict(String verdict)
verdict
- verdict or null
for nonepublic AmpInspectionResult set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public AmpInspectionResult clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2023 Google. All rights reserved.