GetCustomDomainResult class
Result data returned by getCustomDomain.
Constructors
-
GetCustomDomainResult({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.
annotationsAnnotations you can add to leave both human- and machine-readable metadata about yourCustomDomain.certThe 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 thestatefield for more.certPreferenceA field that lets you specify which SSL certificate type Hosting creates for your domain name. Spark plan custom domains only have access to theGROUPEDcert type, while Blaze plan domains can select any option.createTimeThe custom domain's create time.deleteTimeThe time theCustomDomainwas 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 anUndeleteCustomDomainrequest.etagA string that represents the current state of theCustomDomainand allows you to confirm its initial state in requests that would modify it. Use the tag to ensure consistency when makingUpdateCustomDomain,DeleteCustomDomain, andUndeleteCustomDomainrequests.expireTimeThe minimum time before a soft-deletedCustomDomainis completely removed from Hosting; null for custom domains that haven't been deleted.hostStateTheHostStateof the domain name thisCustomDomainrefers to.issuesA 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 yourCustomDomainbehaves properly.labelsLabels used for extra metadata and/or filtering.nameThe fully-qualified name of theCustomDomain.ownershipStateTheOwnershipStateof the domain name thisCustomDomainrefers to.reconcilingA 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 frequentlytruewhen initially provisioning aCustomDomainafter aCreateCustomDomainrequest or when creating a new SSL certificate to match an updatedcert_preferenceafter anUpdateCustomDomainrequest.redirectTargetA domain name that thisCustomDomainshould direct traffic towards. If specified, Hosting will respond to requests against this custom domain with an HTTP 301 code, and route traffic to the specifiedredirect_targetinstead.requiredDnsUpdatesA set of updates you should make to the domain name's DNS records to let Hosting serve secure content on its behalf.updateTimeThe last time theCustomDomainwas updated.const -
GetCustomDomainResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
annotations
→ Map<
String, String> -
Annotations you can add to leave both human- and machine-readable metadata about your
CustomDomain.final - cert → CertificateResponse
-
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
statefield for more.final - certPreference → String
-
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
GROUPEDcert type, while Blaze plan domains can select any option.final - createTime → String
-
The custom domain's create time.
final
- deleteTime → String
-
The time the
CustomDomainwas 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 anUndeleteCustomDomainrequest.final - etag → String
-
A string that represents the current state of the
CustomDomainand allows you to confirm its initial state in requests that would modify it. Use the tag to ensure consistency when makingUpdateCustomDomain,DeleteCustomDomain, andUndeleteCustomDomainrequests.final - expireTime → String
-
The minimum time before a soft-deleted
CustomDomainis completely removed from Hosting; null for custom domains that haven't been deleted.final - hashCode → int
-
The hash code for this object.
no setterinherited
- hostState → String
-
The
HostStateof the domain name thisCustomDomainrefers to.final -
issues
→ List<
StatusResponse> -
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
CustomDomainbehaves properly.final -
labels
→ Map<
String, String> -
Labels used for extra metadata and/or filtering.
final
- name → String
-
The fully-qualified name of the
CustomDomain.final - ownershipState → String
-
The
OwnershipStateof the domain name thisCustomDomainrefers to.final - reconciling → bool
-
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
truewhen initially provisioning aCustomDomainafter aCreateCustomDomainrequest or when creating a new SSL certificate to match an updatedcert_preferenceafter anUpdateCustomDomainrequest.final - redirectTarget → String
-
A domain name that this
CustomDomainshould direct traffic towards. If specified, Hosting will respond to requests against this custom domain with an HTTP 301 code, and route traffic to the specifiedredirect_targetinstead.final - requiredDnsUpdates → DnsUpdatesResponse
-
A set of updates you should make to the domain name's DNS records to let Hosting serve secure content on its behalf.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updateTime → String
-
The last time the
CustomDomainwas updated.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited