UrlHint
Stay organized with collections
Save and categorize content based on your preferences.
Different types of url hints.
Enums |
HINT_UNSPECIFIED |
Unspecified |
AMP |
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."],[[["\u003cp\u003eThere are different types of URL hints that can be used to specify the type of content being linked to.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eHINT_UNSPECIFIED\u003c/code\u003e is the default value and does not provide any specific information about the URL.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAMP\u003c/code\u003e hint indicates that the URL points to AMP content or to a canonical URL that refers to AMP content via a specific link relation.\u003c/p\u003e\n"]]],["The provided content defines different URL hint types, specifically focusing on two: `HINT_UNSPECIFIED`, which represents an unspecified URL type, and `AMP`, indicating a URL pointing directly to Accelerated Mobile Pages (AMP) content or a canonical URL linked to AMP content via `\u003clink rel=\"amphtml\"\u003e`. These hints categorize URLs based on their relationship to AMP.\n"],null,["# UrlHint\n\nDifferent types of url hints.\n\n| Enums ||\n|--------------------|------------------------------------------------------------------------------------------------------------------------|\n| `HINT_UNSPECIFIED` | Unspecified |\n| `AMP` | URL that points directly to AMP content, or to a canonical URL which refers to AMP content via `\u003clink rel=\"amphtml\"\u003e`. |"]]