UrlTypeHint
Different types of url hints.
Enums |
URL_TYPE_HINT_UNSPECIFIED |
Unspecified |
AMP_CONTENT |
URL that points directly to AMP content, or to a canonical URL which refers to AMP content via <link rel="amphtml">. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["The URL type hint `URL_TYPE_HINT_UNSPECIFIED` is a generic option when no specific information is available."],["The URL type hint `AMP_CONTENT` is used to indicate that a URL is related to Accelerated Mobile Pages (AMP) content, either directly or through a canonical URL."]]],["The provided content outlines URL type hints, specifically two enumerated values. `URL_TYPE_HINT_UNSPECIFIED` indicates an unspecified URL type. `AMP_CONTENT` designates a URL that directly links to AMP content or to a canonical URL referencing AMP content through the `\u003clink rel=\"amphtml\"\u003e` tag. These hints are likely used for classifying or understanding the nature of a given URL.\n"]]