indexingState property

String? indexingState
getter/setter pair

Whether or not the page blocks indexing through a noindex rule. Possible string values are:

  • "AMP_INDEXING_STATE_UNSPECIFIED" : Unknown indexing status.
  • "AMP_INDEXING_ALLOWED" : Indexing allowed.
  • "BLOCKED_DUE_TO_NOINDEX" : Indexing not allowed, 'noindex' detected.
  • "BLOCKED_DUE_TO_EXPIRED_UNAVAILABLE_AFTER" : Indexing not allowed, 'unavailable_after' date expired.

Implementation

core.String? indexingState;