All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.certificateauthority.kotlin.outputs.CertificateCertificateDescriptionPublicKey.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.certificateauthority.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property format The format of the public key. Currently, only PEM format is supported.
 * Possible values are: `KEY_TYPE_UNSPECIFIED`, `PEM`.
 * @property key Required. A public key. When this is specified in a request, the padding and encoding can be any of the options described by the respective 'KeyType' value. When this is generated by the service, it will always be an RFC 5280 SubjectPublicKeyInfo structure containing an algorithm identifier and a key. A base64-encoded string.
 */
public data class CertificateCertificateDescriptionPublicKey(
    public val format: String? = null,
    public val key: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.certificateauthority.outputs.CertificateCertificateDescriptionPublicKey): CertificateCertificateDescriptionPublicKey = CertificateCertificateDescriptionPublicKey(
            format = javaType.format().map({ args0 -> args0 }).orElse(null),
            key = javaType.key().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy