CertificateTemplateArgs

data class CertificateTemplateArgs(val certificateTemplateId: Output<String>? = null, val description: Output<String>? = null, val identityConstraints: Output<CertificateIdentityConstraintsArgs>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val passthroughExtensions: Output<CertificateExtensionConstraintsArgs>? = null, val predefinedValues: Output<X509ParametersArgs>? = null, val project: Output<String>? = null, val requestId: Output<String>? = null) : ConvertibleToJava<CertificateTemplateArgs>

Create a new CertificateTemplate in a given Project and Location. Auto-naming is currently not supported for this resource.

Constructors

Link copied to clipboard
fun CertificateTemplateArgs(certificateTemplateId: Output<String>? = null, description: Output<String>? = null, identityConstraints: Output<CertificateIdentityConstraintsArgs>? = null, labels: Output<Map<String, String>>? = null, location: Output<String>? = null, passthroughExtensions: Output<CertificateExtensionConstraintsArgs>? = null, predefinedValues: Output<X509ParametersArgs>? = null, project: Output<String>? = null, requestId: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): CertificateTemplateArgs

Properties

Link copied to clipboard
val certificateTemplateId: Output<String>? = null

Required. It must be unique within a location and match the regular expression [a-zA-Z0-9_-]{1,63}

Link copied to clipboard
val description: Output<String>? = null

Optional. A human-readable description of scenarios this template is intended for.

Link copied to clipboard

Optional. Describes constraints on identities that may be appear in Certificates issued using this template. If this is omitted, then this template will not add restrictions on a certificate's identity.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

Optional. Labels with user-defined metadata.

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard

Optional. Describes the set of X.509 extensions that may appear in a Certificate issued using this CertificateTemplate. If a certificate request sets extensions that don't appear in the passthrough_extensions, those extensions will be dropped. If the issuing CaPool's IssuancePolicy defines baseline_values that don't appear here, the certificate issuance request will fail. If this is omitted, then this template will not add restrictions on a certificate's X.509 extensions. These constraints do not apply to X.509 extensions set in this CertificateTemplate's predefined_values.

Link copied to clipboard

Optional. A set of X.509 values that will be applied to all issued certificates that use this template. If the certificate request includes conflicting values for the same properties, they will be overwritten by the values defined here. If the issuing CaPool's IssuancePolicy defines conflicting baseline_values for the same properties, the certificate issuance request will fail.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val requestId: Output<String>? = null

Optional. An ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).