# Certificate Authority v1 API - Class CaPool.Types.PublishingOptions (3.12.0)

3.12.0 (latest) 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.3.0 2.2.0 2.1.0 2.0.0 1.0.0

    public sealed class CaPool.Types.PublishingOptions : IMessage<CaPool.Types.PublishingOptions>, IEquatable<CaPool.Types.PublishingOptions>, IDeepCloneable<CaPool.Types.PublishingOptions>, IBufferMessage, IMessage

Reference documentation and code samples for the Certificate Authority v1 API class CaPool.Types.PublishingOptions.

Options relating to the publication of each
\[CertificateAuthority\]\[google.cloud.security.privateca.v1.CertificateAuthority\]'s
CA certificate and CRLs and their inclusion as extensions in issued
\[Certificates\]\[google.cloud.security.privateca.v1.Certificate\]. The options
set here apply to certificates issued by any
\[CertificateAuthority\]\[google.cloud.security.privateca.v1.CertificateAuthority\]
in the \[CaPool\]\[google.cloud.security.privateca.v1.CaPool\].

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> CaPool.Types.PublishingOptions

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CaPool](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CaPool)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CaPool.Types)[PublishingOptions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CaPool.Types.PublishingOptions), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CaPool](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CaPool)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CaPool.Types)[PublishingOptions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CaPool.Types.PublishingOptions), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CaPool](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CaPool)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CaPool.Types)[PublishingOptions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CaPool.Types.PublishingOptions), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Security.PrivateCA.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1)

## Assembly

Google.Cloud.Security.PrivateCA.V1.dll

## Constructors

### PublishingOptions()

    public PublishingOptions()

### PublishingOptions(PublishingOptions)

    public PublishingOptions(CaPool.Types.PublishingOptions other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CaPoolhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CaPool.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CaPool.Types.PublishingOptions` |

## Properties

### EncodingFormat

    public CaPool.Types.PublishingOptions.Types.EncodingFormat EncodingFormat { get; set; }

Optional. Specifies the encoding format of each
\[CertificateAuthority\]\[google.cloud.security.privateca.v1.CertificateAuthority\]
resource's CA certificate and CRLs. If this is omitted, CA certificates
and CRLs will be published in PEM.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CaPoolhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CaPool.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CaPool.Types.PublishingOptionshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CaPool.Types.PublishingOptions.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Security.PrivateCA.V1/latest/Google.Cloud.Security.PrivateCA.V1.CaPool.Types.PublishingOptions.Types.EncodingFormat` |   |

### PublishCaCert

    public bool PublishCaCert { get; set; }

Optional. When true, publishes each
\[CertificateAuthority\]\[google.cloud.security.privateca.v1.CertificateAuthority\]'s
CA certificate and includes its URL in the "Authority Information Access"
X.509 extension in all issued
\[Certificates\]\[google.cloud.security.privateca.v1.Certificate\]. If this
is false, the CA certificate will not be published and the corresponding
X.509 extension will not be written in issued certificates.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### PublishCrl

    public bool PublishCrl { get; set; }

Optional. When true, publishes each
\[CertificateAuthority\]\[google.cloud.security.privateca.v1.CertificateAuthority\]'s
CRL and includes its URL in the "CRL Distribution Points" X.509 extension
in all issued
\[Certificates\]\[google.cloud.security.privateca.v1.Certificate\]. If this
is false, CRLs will not be published and the corresponding X.509
extension will not be written in issued certificates. CRLs will expire 7
days from their creation. However, we will rebuild daily. CRLs are also
rebuilt shortly after a certificate is revoked.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |