GetCustomDomainResult constructor
- required Map<
String, String> annotations, - required CertificateResponse cert,
- required String certPreference,
- required String createTime,
- required String deleteTime,
- required String etag,
- required String expireTime,
- required String hostState,
- required List<
StatusResponse> issues, - required Map<
String, String> labels, - required String name,
- required String ownershipState,
- required bool reconciling,
- required String redirectTarget,
- required DnsUpdatesResponse requiredDnsUpdates,
- required String updateTime,
Creates a new GetCustomDomainResult.
annotations Annotations you can add to leave both human- and machine-readable metadata about your CustomDomain.
cert The SSL certificate Hosting has for this custom domain's domain name. For new custom domains, this often represents Hosting's intent to create a certificate, rather than an actual cert. Check the state field for more.
certPreference A field that lets you specify which SSL certificate type Hosting creates for your domain name. Spark plan custom domains only have access to the GROUPED cert type, while Blaze plan domains can select any option.
createTime The custom domain's create time.
deleteTime The time the CustomDomain was deleted; null for custom domains that haven't been deleted. Deleted custom domains persist for approximately 30 days, after which time Hosting removes them completely. To restore a deleted custom domain, make an UndeleteCustomDomain request.
etag A string that represents the current state of the CustomDomain and allows you to confirm its initial state in requests that would modify it. Use the tag to ensure consistency when making UpdateCustomDomain, DeleteCustomDomain, and UndeleteCustomDomain requests.
expireTime The minimum time before a soft-deleted CustomDomain is completely removed from Hosting; null for custom domains that haven't been deleted.
hostState The HostState of the domain name this CustomDomain refers to.
issues A set of errors Hosting systems encountered when trying to establish Hosting's ability to serve secure content for your domain name. Resolve these issues to ensure your CustomDomain behaves properly.
labels Labels used for extra metadata and/or filtering.
name The fully-qualified name of the CustomDomain.
ownershipState The OwnershipState of the domain name this CustomDomain refers to.
reconciling A field that, if true, indicates that Hosting's systems are attmepting to make the custom domain's state match your preferred state. This is most frequently true when initially provisioning a CustomDomain after a CreateCustomDomain request or when creating a new SSL certificate to match an updated cert_preference after an UpdateCustomDomain request.
redirectTarget A domain name that this CustomDomain should direct traffic towards. If specified, Hosting will respond to requests against this custom domain with an HTTP 301 code, and route traffic to the specified redirect_target instead.
requiredDnsUpdates A set of updates you should make to the domain name's DNS records to let Hosting serve secure content on its behalf.
updateTime The last time the CustomDomain was updated.
Implementation
const GetCustomDomainResult({
required this.annotations,
required this.cert,
required this.certPreference,
required this.createTime,
required this.deleteTime,
required this.etag,
required this.expireTime,
required this.hostState,
required this.issues,
required this.labels,
required this.name,
required this.ownershipState,
required this.reconciling,
required this.redirectTarget,
required this.requiredDnsUpdates,
required this.updateTime,
});