View Source GoogleApi.ContentWarehouse.V1.Model.IndexingEmbeddedContentFetchUrlResponseMetadata (google_api_content_warehouse v0.4.0)

Capsulate all metadata annotated from fetch server. This message will typically go through: - EmbeddedContentFetcher, or - EmbeddedLinkGetter-> DenormalizedContent -> ContentStore. And finally deposit in referenced_resources and link_info.

Attributes

  • adsResourceType (type: String.t, default: nil) -
  • crawlStatus (type: integer(), default: nil) - The field always exists, and has four options: UNKNOWN, CONTENT, ROBOTED and ERROR, which are defined in indexing.converter.CrawlStatus.
  • criticalResourceType (type: String.t, default: nil) -
  • fetchWithSmartphoneUa (type: boolean(), default: nil) - True if the response is fetched with SMARTPHONE user agent.
  • isAdsResource (type: boolean(), default: nil) -
  • isCriticalResource (type: boolean(), default: nil) -
  • isTrivialResource (type: boolean(), default: nil) -
  • numTrawlerFetches (type: integer(), default: nil) - Number of trawler fetches while fetching this URL. In most cases, this number will be 0 or 1.
  • rewriteMethod (type: String.t, default: nil) - Used for logging purposes only here.
  • robotsInfo (type: GoogleApi.ContentWarehouse.V1.Model.IndexingConverterRobotsInfo.t, default: nil) - Note that this robots_info should only be used for noindex_reason and will only be present for TARGET_MAIN_FRAME / TARGET_SUBFRAME fetches.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.IndexingEmbeddedContentFetchUrlResponseMetadata{
    adsResourceType: String.t() | nil,
    crawlStatus: integer() | nil,
    criticalResourceType: String.t() | nil,
    fetchWithSmartphoneUa: boolean() | nil,
    isAdsResource: boolean() | nil,
    isCriticalResource: boolean() | nil,
    isTrivialResource: boolean() | nil,
    numTrawlerFetches: integer() | nil,
    rewriteMethod: String.t() | nil,
    robotsInfo:
      GoogleApi.ContentWarehouse.V1.Model.IndexingConverterRobotsInfo.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.