hostState property

String? hostState
getter/setter pair

Tracks whether a custom domain is detected as appropriately directing traffic to App Hosting.

Output only. Possible string values are:

  • "HOST_STATE_UNSPECIFIED" : Your custom domain's host state is unspecified. The message is invalid if this is unspecified.
  • "HOST_UNHOSTED" : Your custom domain isn't associated with any IP addresses.
  • "HOST_UNREACHABLE" : Your custom domain can't be reached. App Hosting services' DNS queries to find your domain's IP addresses resulted in errors. See your CustomDomainStatus's issues field for more details.
  • "HOST_NON_FAH" : Your domain has only IP addresses that don't ultimately resolve to App Hosting.
  • "HOST_CONFLICT" : Your domain has IP addresses that resolve to both App Hosting and to other services. To ensure consistent results, remove A and AAAA records related to non-App-Hosting services.
  • "HOST_WRONG_SHARD" : Your domain has IP addresses that resolve to an incorrect instance of the App Hosting Data Plane. App Hosting has multiple data plane instances to ensure high availability. The SSL certificate that App Hosting creates for your domain is only available on its assigned instance. If your domain's IP addresses resolve to an incorrect instance, App Hosting won't be able to serve secure content on it.
  • "HOST_ACTIVE" : All requests against your domain are served by App Hosting, via your domain's assigned shard. If the custom domain's OwnershipState is also OWNERSHIP_ACTIVE, App Hosting serves its backend's content on requests for the domain.

Implementation

core.String? hostState;