public final class IndexStatusInspectionResult
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 |
---|
IndexStatusInspectionResult() |
Modifier and Type | Method and Description |
---|---|
IndexStatusInspectionResult |
clone() |
String |
getCoverageState()
Could Google find and index the page.
|
String |
getCrawledAs()
Primary crawler that was used by Google to crawl your site.
|
String |
getGoogleCanonical()
The URL of the page that Google selected as canonical.
|
String |
getIndexingState()
Whether or not the page blocks indexing through a noindex rule.
|
String |
getLastCrawlTime()
Last time this URL was crawled by Google using the [primary
crawler](https://support.google.com/webmasters/answer/7440203#primary_crawler).
|
String |
getPageFetchState()
Whether or not Google could retrieve the page from your server.
|
List<String> |
getReferringUrls()
URLs that link to the inspected URL, directly and indirectly.
|
String |
getRobotsTxtState()
Whether or not the page is blocked to Google by a robots.txt rule.
|
List<String> |
getSitemap()
Any sitemaps that this URL was listed in, as known by Google.
|
String |
getUserCanonical()
The URL that your page or site [declares as
canonical](https://developers.google.com/search/docs/advanced/crawling/consolidate-duplicate-
urls?#define-canonical).
|
String |
getVerdict()
High level verdict about whether the URL *is* indexed (indexed status), or *can be* indexed
(live inspection).
|
IndexStatusInspectionResult |
set(String fieldName,
Object value) |
IndexStatusInspectionResult |
setCoverageState(String coverageState)
Could Google find and index the page.
|
IndexStatusInspectionResult |
setCrawledAs(String crawledAs)
Primary crawler that was used by Google to crawl your site.
|
IndexStatusInspectionResult |
setGoogleCanonical(String googleCanonical)
The URL of the page that Google selected as canonical.
|
IndexStatusInspectionResult |
setIndexingState(String indexingState)
Whether or not the page blocks indexing through a noindex rule.
|
IndexStatusInspectionResult |
setLastCrawlTime(String lastCrawlTime)
Last time this URL was crawled by Google using the [primary
crawler](https://support.google.com/webmasters/answer/7440203#primary_crawler).
|
IndexStatusInspectionResult |
setPageFetchState(String pageFetchState)
Whether or not Google could retrieve the page from your server.
|
IndexStatusInspectionResult |
setReferringUrls(List<String> referringUrls)
URLs that link to the inspected URL, directly and indirectly.
|
IndexStatusInspectionResult |
setRobotsTxtState(String robotsTxtState)
Whether or not the page is blocked to Google by a robots.txt rule.
|
IndexStatusInspectionResult |
setSitemap(List<String> sitemap)
Any sitemaps that this URL was listed in, as known by Google.
|
IndexStatusInspectionResult |
setUserCanonical(String userCanonical)
The URL that your page or site [declares as
canonical](https://developers.google.com/search/docs/advanced/crawling/consolidate-duplicate-
urls?#define-canonical).
|
IndexStatusInspectionResult |
setVerdict(String verdict)
High level verdict about whether the URL *is* indexed (indexed status), or *can be* indexed
(live inspection).
|
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 getCoverageState()
null
for nonepublic IndexStatusInspectionResult setCoverageState(String coverageState)
coverageState
- coverageState or null
for nonepublic String getCrawledAs()
null
for nonepublic IndexStatusInspectionResult setCrawledAs(String crawledAs)
crawledAs
- crawledAs or null
for nonepublic String getGoogleCanonical()
null
for nonepublic IndexStatusInspectionResult setGoogleCanonical(String googleCanonical)
googleCanonical
- googleCanonical or null
for nonepublic String getIndexingState()
null
for nonepublic IndexStatusInspectionResult setIndexingState(String indexingState)
indexingState
- indexingState or null
for nonepublic String getLastCrawlTime()
null
for nonepublic IndexStatusInspectionResult setLastCrawlTime(String lastCrawlTime)
lastCrawlTime
- lastCrawlTime or null
for nonepublic String getPageFetchState()
null
for nonepublic IndexStatusInspectionResult setPageFetchState(String pageFetchState)
pageFetchState
- pageFetchState or null
for nonepublic List<String> getReferringUrls()
null
for nonepublic IndexStatusInspectionResult setReferringUrls(List<String> referringUrls)
referringUrls
- referringUrls or null
for nonepublic String getRobotsTxtState()
null
for nonepublic IndexStatusInspectionResult setRobotsTxtState(String robotsTxtState)
robotsTxtState
- robotsTxtState or null
for nonepublic List<String> getSitemap()
null
for nonepublic IndexStatusInspectionResult setSitemap(List<String> sitemap)
sitemap
- sitemap or null
for nonepublic String getUserCanonical()
null
for nonepublic IndexStatusInspectionResult setUserCanonical(String userCanonical)
userCanonical
- userCanonical or null
for nonepublic String getVerdict()
null
for nonepublic IndexStatusInspectionResult setVerdict(String verdict)
verdict
- verdict or null
for nonepublic IndexStatusInspectionResult set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public IndexStatusInspectionResult clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2023 Google. All rights reserved.