Package-level declarations

Types

Link copied to clipboard
data class AllowedKeyTypeArgs(val ellipticCurve: Output<EcKeyTypeArgs>? = null, val rsa: Output<RsaKeyTypeArgs>? = null) : ConvertibleToJava<AllowedKeyTypeArgs>

Describes a "type" of key that may be used in a Certificate issued from a CaPool. Note that a single AllowedKeyType may refer to either a fully-qualified key algorithm, such as RSA 4096, or a family of key algorithms, such as any RSA key.

Link copied to clipboard
Link copied to clipboard
data class AuditConfigArgs(val auditLogConfigs: Output<List<AuditLogConfigArgs>>? = null, val service: Output<String>? = null) : ConvertibleToJava<AuditConfigArgs>

Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both allServices and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": "user:jose@example.com" }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": "user:aliya@example.com" } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.

Link copied to clipboard
Link copied to clipboard
data class AuditLogConfigArgs(val exemptedMembers: Output<List<String>>? = null, val logType: Output<AuditLogConfigLogType>? = null) : ConvertibleToJava<AuditLogConfigArgs>

Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": "user:jose@example.com" }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.

Link copied to clipboard
Link copied to clipboard
data class BindingArgs(val condition: Output<ExprArgs>? = null, val members: Output<List<String>>? = null, val role: Output<String>? = null) : ConvertibleToJava<BindingArgs>

Associates members, or principals, with a role.

Link copied to clipboard
Link copied to clipboard
data class CaOptionsArgs(val isCa: Output<Boolean>? = null, val maxIssuerPathLength: Output<Int>? = null) : ConvertibleToJava<CaOptionsArgs>

Describes values that are relevant in a CA certificate.

Link copied to clipboard
Link copied to clipboard
data class CertificateConfigArgs(val publicKey: Output<PublicKeyArgs>? = null, val subjectConfig: Output<SubjectConfigArgs>, val x509Config: Output<X509ParametersArgs>) : ConvertibleToJava<CertificateConfigArgs>

A CertificateConfig describes an X.509 certificate or CSR that is to be created, as an alternative to using ASN.1.

Link copied to clipboard
data class CertificateExtensionConstraintsArgs(val additionalExtensions: Output<List<ObjectIdArgs>>? = null, val knownExtensions: Output<List<CertificateExtensionConstraintsKnownExtensionsItem>>? = null) : ConvertibleToJava<CertificateExtensionConstraintsArgs>

Describes a set of X.509 extensions that may be part of some certificate issuance controls.

Link copied to clipboard
data class CertificateIdentityConstraintsArgs(val allowSubjectAltNamesPassthrough: Output<Boolean>, val allowSubjectPassthrough: Output<Boolean>, val celExpression: Output<ExprArgs>? = null) : ConvertibleToJava<CertificateIdentityConstraintsArgs>

Describes constraints on a Certificate's Subject and SubjectAltNames.

Link copied to clipboard
data class EcKeyTypeArgs(val signatureAlgorithm: Output<EcKeyTypeSignatureAlgorithm>? = null) : ConvertibleToJava<EcKeyTypeArgs>

Describes an Elliptic Curve key that may be used in a Certificate issued from a CaPool.

Link copied to clipboard
Link copied to clipboard
data class ExprArgs(val description: Output<String>? = null, val expression: Output<String>? = null, val location: Output<String>? = null, val title: Output<String>? = null) : ConvertibleToJava<ExprArgs>

Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.

Link copied to clipboard

Builder for ExprArgs.

Link copied to clipboard
data class ExtendedKeyUsageOptionsArgs(val clientAuth: Output<Boolean>? = null, val codeSigning: Output<Boolean>? = null, val emailProtection: Output<Boolean>? = null, val ocspSigning: Output<Boolean>? = null, val serverAuth: Output<Boolean>? = null, val timeStamping: Output<Boolean>? = null) : ConvertibleToJava<ExtendedKeyUsageOptionsArgs>

KeyUsage.ExtendedKeyUsageOptions has fields that correspond to certain common OIDs that could be specified as an extended key usage value.

data class GetCaPoolCertificateAuthorityCertificateRevocationListIamPolicyPlainArgs(val caPoolId: String, val certificateAuthorityId: String, val certificateRevocationListId: String, val location: String, val optionsRequestedPolicyVersion: Int? = null, val project: String? = null) : ConvertibleToJava<GetCaPoolCertificateAuthorityCertificateRevocationListIamPolicyPlainArgs>
Link copied to clipboard
data class GetCaPoolIamPolicyPlainArgs(val caPoolId: String, val location: String, val optionsRequestedPolicyVersion: Int? = null, val project: String? = null) : ConvertibleToJava<GetCaPoolIamPolicyPlainArgs>
Link copied to clipboard
data class GetCaPoolPlainArgs(val caPoolId: String, val location: String, val project: String? = null) : ConvertibleToJava<GetCaPoolPlainArgs>
Link copied to clipboard
Link copied to clipboard
data class GetCertificateAuthorityPlainArgs(val caPoolId: String, val certificateAuthorityId: String, val location: String, val project: String? = null) : ConvertibleToJava<GetCertificateAuthorityPlainArgs>
Link copied to clipboard
data class GetCertificatePlainArgs(val caPoolId: String, val certificateId: String, val location: String, val project: String? = null) : ConvertibleToJava<GetCertificatePlainArgs>
Link copied to clipboard
data class GetCertificateTemplateIamPolicyPlainArgs(val certificateTemplateId: String, val location: String, val optionsRequestedPolicyVersion: Int? = null, val project: String? = null) : ConvertibleToJava<GetCertificateTemplateIamPolicyPlainArgs>
Link copied to clipboard
data class GetCertificateTemplatePlainArgs(val certificateTemplateId: String, val location: String, val project: String? = null) : ConvertibleToJava<GetCertificateTemplatePlainArgs>
Link copied to clipboard
data class IssuanceModesArgs(val allowConfigBasedIssuance: Output<Boolean>? = null, val allowCsrBasedIssuance: Output<Boolean>? = null) : ConvertibleToJava<IssuanceModesArgs>

IssuanceModes specifies the allowed ways in which Certificates may be requested from this CaPool.

Link copied to clipboard
Link copied to clipboard
data class IssuancePolicyArgs(val allowedIssuanceModes: Output<IssuanceModesArgs>? = null, val allowedKeyTypes: Output<List<AllowedKeyTypeArgs>>? = null, val baselineValues: Output<X509ParametersArgs>? = null, val identityConstraints: Output<CertificateIdentityConstraintsArgs>? = null, val maximumLifetime: Output<String>? = null, val passthroughExtensions: Output<CertificateExtensionConstraintsArgs>? = null) : ConvertibleToJava<IssuancePolicyArgs>

Defines controls over all certificate issuance within a CaPool.

Link copied to clipboard
Link copied to clipboard
data class KeyUsageArgs(val baseKeyUsage: Output<KeyUsageOptionsArgs>? = null, val extendedKeyUsage: Output<ExtendedKeyUsageOptionsArgs>? = null, val unknownExtendedKeyUsages: Output<List<ObjectIdArgs>>? = null) : ConvertibleToJava<KeyUsageArgs>

A KeyUsage describes key usage values that may appear in an X.509 certificate.

Link copied to clipboard
Link copied to clipboard
data class KeyUsageOptionsArgs(val certSign: Output<Boolean>? = null, val contentCommitment: Output<Boolean>? = null, val crlSign: Output<Boolean>? = null, val dataEncipherment: Output<Boolean>? = null, val decipherOnly: Output<Boolean>? = null, val digitalSignature: Output<Boolean>? = null, val encipherOnly: Output<Boolean>? = null, val keyAgreement: Output<Boolean>? = null, val keyEncipherment: Output<Boolean>? = null) : ConvertibleToJava<KeyUsageOptionsArgs>

KeyUsage.KeyUsageOptions corresponds to the key usage values described in https://tools.ietf.org/html/rfc5280#section-4.2.1.3.

Link copied to clipboard
data class KeyVersionSpecArgs(val algorithm: Output<KeyVersionSpecAlgorithm>? = null, val cloudKmsKeyVersion: Output<String>? = null) : ConvertibleToJava<KeyVersionSpecArgs>

A Cloud KMS key configuration that a CertificateAuthority will use.

Link copied to clipboard
Link copied to clipboard
data class NameConstraintsArgs(val critical: Output<Boolean>? = null, val excludedDnsNames: Output<List<String>>? = null, val excludedEmailAddresses: Output<List<String>>? = null, val excludedIpRanges: Output<List<String>>? = null, val excludedUris: Output<List<String>>? = null, val permittedDnsNames: Output<List<String>>? = null, val permittedEmailAddresses: Output<List<String>>? = null, val permittedIpRanges: Output<List<String>>? = null, val permittedUris: Output<List<String>>? = null) : ConvertibleToJava<NameConstraintsArgs>

Describes the X.509 name constraints extension, per https://tools.ietf.org/html/rfc5280#section-4.2.1.10

Link copied to clipboard
data class ObjectIdArgs(val objectIdPath: Output<List<Int>>) : ConvertibleToJava<ObjectIdArgs>

An ObjectId specifies an object identifier (OID). These provide context and describe types in ASN.1 messages.

Link copied to clipboard
Link copied to clipboard
data class PublicKeyArgs(val format: Output<PublicKeyFormat>, val key: Output<String>) : ConvertibleToJava<PublicKeyArgs>

A PublicKey describes a public key.

Link copied to clipboard
Link copied to clipboard
data class PublishingOptionsArgs(val encodingFormat: Output<PublishingOptionsEncodingFormat>? = null, val publishCaCert: Output<Boolean>? = null, val publishCrl: Output<Boolean>? = null) : ConvertibleToJava<PublishingOptionsArgs>

Options relating to the publication of each CertificateAuthority's CA certificate and CRLs and their inclusion as extensions in issued Certificates. The options set here apply to certificates issued by any CertificateAuthority in the CaPool.

Link copied to clipboard
data class RsaKeyTypeArgs(val maxModulusSize: Output<String>? = null, val minModulusSize: Output<String>? = null) : ConvertibleToJava<RsaKeyTypeArgs>

Describes an RSA key that may be used in a Certificate issued from a CaPool.

Link copied to clipboard
Link copied to clipboard
data class SubjectAltNamesArgs(val customSans: Output<List<X509ExtensionArgs>>? = null, val dnsNames: Output<List<String>>? = null, val emailAddresses: Output<List<String>>? = null, val ipAddresses: Output<List<String>>? = null, val uris: Output<List<String>>? = null) : ConvertibleToJava<SubjectAltNamesArgs>

SubjectAltNames corresponds to a more modern way of listing what the asserted identity is in a certificate (i.e., compared to the "common name" in the distinguished name).

Link copied to clipboard
data class SubjectArgs(val commonName: Output<String>? = null, val countryCode: Output<String>? = null, val locality: Output<String>? = null, val organization: Output<String>? = null, val organizationalUnit: Output<String>? = null, val postalCode: Output<String>? = null, val province: Output<String>? = null, val streetAddress: Output<String>? = null) : ConvertibleToJava<SubjectArgs>

Subject describes parts of a distinguished name that, in turn, describes the subject of the certificate.

Link copied to clipboard
Link copied to clipboard
data class SubjectConfigArgs(val subject: Output<SubjectArgs>, val subjectAltName: Output<SubjectAltNamesArgs>? = null) : ConvertibleToJava<SubjectConfigArgs>

These values are used to create the distinguished name and subject alternative name fields in an X.509 certificate.

Link copied to clipboard
Link copied to clipboard
data class SubordinateConfigArgs(val certificateAuthority: Output<String>, val pemIssuerChain: Output<SubordinateConfigChainArgs>) : ConvertibleToJava<SubordinateConfigArgs>

Describes a subordinate CA's issuers. This is either a resource name to a known issuing CertificateAuthority, or a PEM issuer certificate chain.

Link copied to clipboard
data class SubordinateConfigChainArgs(val pemCertificates: Output<List<String>>) : ConvertibleToJava<SubordinateConfigChainArgs>

This message describes a subordinate CA's issuer certificate chain. This wrapper exists for compatibility reasons.

Link copied to clipboard
data class X509ExtensionArgs(val critical: Output<Boolean>? = null, val objectId: Output<ObjectIdArgs>, val value: Output<String>) : ConvertibleToJava<X509ExtensionArgs>

An X509Extension specifies an X.509 extension, which may be used in different parts of X.509 objects like certificates, CSRs, and CRLs.

Link copied to clipboard
Link copied to clipboard
data class X509ParametersArgs(val additionalExtensions: Output<List<X509ExtensionArgs>>? = null, val aiaOcspServers: Output<List<String>>? = null, val caOptions: Output<CaOptionsArgs>? = null, val keyUsage: Output<KeyUsageArgs>? = null, val nameConstraints: Output<NameConstraintsArgs>? = null, val policyIds: Output<List<ObjectIdArgs>>? = null) : ConvertibleToJava<X509ParametersArgs>

An X509Parameters is used to describe certain fields of an X.509 certificate, such as the key usage fields, fields specific to CA certificates, certificate policy extensions and custom extensions.

Link copied to clipboard