ownershipState property

String? ownershipState
getter/setter pair

Tracks whether the backend is permitted to serve content on the domain, based off the domain's DNS records.

Output only. Possible string values are:

  • "OWNERSHIP_STATE_UNSPECIFIED" : Your custom domain's ownership state is unspecified. This should never happen.
  • "OWNERSHIP_MISSING" : Your custom domain's domain has no App-Hosting-related ownership records; no backend is authorized to serve on the domain in this Origin shard.
  • "OWNERSHIP_UNREACHABLE" : Your custom domain can't be reached. App Hosting services' DNS queries to find your domain's ownership records resulted in errors. See your CustomDomainStatus's issues field for more details.
  • "OWNERSHIP_MISMATCH" : Your custom domain is owned by another App Hosting custom domain. Remove the conflicting records and replace them with records for your current custom domain.
  • "OWNERSHIP_CONFLICT" : Your custom domain has conflicting TXT records that indicate ownership by both your current custom domain one or more others. Remove the extraneous ownership records to grant the current custom domain ownership.
  • "OWNERSHIP_PENDING" : Your custom domain's DNS records are configured correctly. App Hosting will transfer ownership of your domain to this custom domain within 24 hours.
  • "OWNERSHIP_ACTIVE" : Your custom domain owns its domain.

Implementation

core.String? ownershipState;