GetCertificateAuthorityResult class
Result data returned by getCertificateAuthority.
Constructors
-
GetCertificateAuthorityResult({required AccessUrlsResponse accessUrls, required List<
CertificateDescriptionResponse> caCertificateDescriptions, required CertificateConfigResponse config, required String createTime, required String deleteTime, required String expireTime, required String gcsBucket, required KeyVersionSpecResponse keySpec, required Map<String, String> labels, required String lifetime, required String name, required List<String> pemCaCertificates, required String state, required SubordinateConfigResponse subordinateConfig, required String tier, required String type, required String updateTime}) -
Creates a new GetCertificateAuthorityResult.
accessUrlsURLs for accessing content published by this CA, such as the CA certificate and CRLs.caCertificateDescriptionsA structured description of this CertificateAuthority's CA certificate and its issuers. Ordered as self-to-root.configImmutable. The config used to create a self-signed X.509 certificate or CSR.createTimeThe time at which this CertificateAuthority was created.deleteTimeThe time at which this CertificateAuthority was soft deleted, if it is in the DELETED state.expireTimeThe time at which this CertificateAuthority will be permanently purged, if it is in the DELETED state.gcsBucketImmutable. The name of a Cloud Storage bucket where this CertificateAuthority will publish content, such as the CA certificate and CRLs. This must be a bucket name, without any prefixes (such asgs://) or suffixes (such as.googleapis.com). For example, to use a bucket namedmy-bucket, you would simply specifymy-bucket. If not specified, a managed bucket will be created.keySpecImmutable. Used when issuing certificates for this CertificateAuthority. If this CertificateAuthority is a self-signed CertificateAuthority, this key is also used to sign the self-signed CA certificate. Otherwise, it is used to sign a CSR.labelsOptional. Labels with user-defined metadata.lifetimeImmutable. The desired lifetime of the CA certificate. Used to create the "not_before_time" and "not_after_time" fields inside an X.509 certificate.nameThe resource name for this CertificateAuthority in the formatprojects/*/locations/*/caPools/*/certificateAuthorities/*.pemCaCertificatesThis CertificateAuthority's certificate chain, including the current CertificateAuthority's certificate. Ordered such that the root issuer is the final element (consistent with RFC 5246). For a self-signed CA, this will only list the current CertificateAuthority's certificate.stateThe State for this CertificateAuthority.subordinateConfigOptional. If this is a subordinate CertificateAuthority, this field will be set with the subordinate configuration, which describes its issuers. This may be updated, but this CertificateAuthority must continue to validate.tierThe CaPool.Tier of the CaPool that includes this CertificateAuthority.typeImmutable. The Type of this CertificateAuthority.updateTimeThe time at which this CertificateAuthority was last updated.const -
GetCertificateAuthorityResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- accessUrls → AccessUrlsResponse
-
URLs for accessing content published by this CA, such as the CA certificate and CRLs.
final
-
caCertificateDescriptions
→ List<
CertificateDescriptionResponse> -
A structured description of this CertificateAuthority's CA certificate and its issuers. Ordered as self-to-root.
final
- config → CertificateConfigResponse
-
Immutable. The config used to create a self-signed X.509 certificate or CSR.
final
- createTime → String
-
The time at which this CertificateAuthority was created.
final
- deleteTime → String
-
The time at which this CertificateAuthority was soft deleted, if it is in the DELETED state.
final
- expireTime → String
-
The time at which this CertificateAuthority will be permanently purged, if it is in the DELETED state.
final
- gcsBucket → String
-
Immutable. The name of a Cloud Storage bucket where this CertificateAuthority will publish content, such as the CA certificate and CRLs. This must be a bucket name, without any prefixes (such as
gs://) or suffixes (such as.googleapis.com). For example, to use a bucket namedmy-bucket, you would simply specifymy-bucket. If not specified, a managed bucket will be created.final - hashCode → int
-
The hash code for this object.
no setterinherited
- keySpec → KeyVersionSpecResponse
-
Immutable. Used when issuing certificates for this CertificateAuthority. If this CertificateAuthority is a self-signed CertificateAuthority, this key is also used to sign the self-signed CA certificate. Otherwise, it is used to sign a CSR.
final
-
labels
→ Map<
String, String> -
Optional. Labels with user-defined metadata.
final
- lifetime → String
-
Immutable. The desired lifetime of the CA certificate. Used to create the "not_before_time" and "not_after_time" fields inside an X.509 certificate.
final
- name → String
-
The resource name for this CertificateAuthority in the format
projects/*/locations/*/caPools/*/certificateAuthorities/*.final -
pemCaCertificates
→ List<
String> -
This CertificateAuthority's certificate chain, including the current CertificateAuthority's certificate. Ordered such that the root issuer is the final element (consistent with RFC 5246). For a self-signed CA, this will only list the current CertificateAuthority's certificate.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → String
-
The State for this CertificateAuthority.
final
- subordinateConfig → SubordinateConfigResponse
-
Optional. If this is a subordinate CertificateAuthority, this field will be set with the subordinate configuration, which describes its issuers. This may be updated, but this CertificateAuthority must continue to validate.
final
- tier → String
-
The CaPool.Tier of the CaPool that includes this CertificateAuthority.
final
- type → String
-
Immutable. The Type of this CertificateAuthority.
final
- updateTime → String
-
The time at which this CertificateAuthority was last 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